From 232a1c7d716e46178e9ace893027f7c048668c1e Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Thu, 23 Nov 2023 19:35:23 +0800 Subject: [PATCH 01/16] add back all files according to 9d7e55e9f Signed-off-by: Yee Hing Tong --- .github/workflows/checks.yml | 3 + Dockerfile.flyteartifacts | 42 + Dockerfile.sandbox-lite | 1 + charts/flyte-sandbox/README.md | 8 + .../templates/artifacts/deployment.yaml | 36 + .../templates/artifacts/service.yaml | 14 + .../templates/proxy/configmap.yaml | 18 + charts/flyte-sandbox/values.yaml | 8 + cmd/single/config.go | 5 + cmd/single/start.go | 48 + docker/sandbox-bundled/Makefile | 15 +- flyte-single-binary-local.yaml | 38 +- flyteadmin/flyteadmin_config.yaml | 8 + flyteadmin/pkg/artifacts/config.go | 8 + flyteartifacts/Makefile | 6 + flyteartifacts/artifact_config.yaml | 8 + flyteartifacts/cmd/main.go | 33 + flyteartifacts/cmd/shared/migrate.go | 19 + flyteartifacts/cmd/shared/root.go | 91 ++ flyteartifacts/cmd/shared/serve.go | 211 ++++ flyteartifacts/cmd/shared/types.go | 11 + flyteartifacts/go.mod | 125 ++ flyteartifacts/go.sum | 1055 +++++++++++++++++ .../pkg/blob/artifact_blob_store.go | 51 + flyteartifacts/pkg/configuration/config.go | 61 + .../pkg/configuration/processor_config.go | 32 + .../pkg/configuration/shared/config.go | 62 + flyteartifacts/pkg/db/gorm_models.go | 85 ++ flyteartifacts/pkg/db/gorm_transformers.go | 252 ++++ flyteartifacts/pkg/db/metrics.go | 34 + flyteartifacts/pkg/db/migrations.go | 117 ++ flyteartifacts/pkg/db/querying_test.go | 350 ++++++ flyteartifacts/pkg/db/storage.go | 561 +++++++++ flyteartifacts/pkg/db/storage_test.go | 149 +++ flyteartifacts/pkg/lib/constants.go | 4 + flyteartifacts/pkg/lib/string_converter.go | 58 + .../pkg/lib/string_converter_test.go | 24 + flyteartifacts/pkg/lib/url_parse.go | 71 ++ flyteartifacts/pkg/lib/url_parse_test.go | 63 + flyteartifacts/pkg/models/service_models.go | 36 + flyteartifacts/pkg/models/transformers.go | 173 +++ flyteartifacts/pkg/server/interfaces.go | 40 + flyteartifacts/pkg/server/metrics.go | 66 ++ .../pkg/server/processor/channel_processor.go | 117 ++ .../pkg/server/processor/events_handler.go | 327 +++++ .../server/processor/events_handler_test.go | 17 + .../pkg/server/processor/http_processor.go | 9 + .../pkg/server/processor/interfaces.go | 22 + .../pkg/server/processor/processor.go | 55 + .../pkg/server/processor/sqs_processor.go | 111 ++ flyteartifacts/pkg/server/server.go | 159 +++ flyteartifacts/pkg/server/service.go | 164 +++ flyteartifacts/pkg/server/trigger_engine.go | 445 +++++++ .../pkg/server/trigger_engine_test.go | 13 + flyteartifacts/sandbox.yaml | 15 + 55 files changed, 5548 insertions(+), 6 deletions(-) create mode 100644 Dockerfile.flyteartifacts create mode 100644 charts/flyte-sandbox/templates/artifacts/deployment.yaml create mode 100644 charts/flyte-sandbox/templates/artifacts/service.yaml create mode 100644 flyteadmin/pkg/artifacts/config.go create mode 100644 flyteartifacts/Makefile create mode 100644 flyteartifacts/artifact_config.yaml create mode 100644 flyteartifacts/cmd/main.go create mode 100644 flyteartifacts/cmd/shared/migrate.go create mode 100644 flyteartifacts/cmd/shared/root.go create mode 100644 flyteartifacts/cmd/shared/serve.go create mode 100644 flyteartifacts/cmd/shared/types.go create mode 100644 flyteartifacts/go.mod create mode 100644 flyteartifacts/go.sum create mode 100644 flyteartifacts/pkg/blob/artifact_blob_store.go create mode 100644 flyteartifacts/pkg/configuration/config.go create mode 100644 flyteartifacts/pkg/configuration/processor_config.go create mode 100644 flyteartifacts/pkg/configuration/shared/config.go create mode 100644 flyteartifacts/pkg/db/gorm_models.go create mode 100644 flyteartifacts/pkg/db/gorm_transformers.go create mode 100644 flyteartifacts/pkg/db/metrics.go create mode 100644 flyteartifacts/pkg/db/migrations.go create mode 100644 flyteartifacts/pkg/db/querying_test.go create mode 100644 flyteartifacts/pkg/db/storage.go create mode 100644 flyteartifacts/pkg/db/storage_test.go create mode 100644 flyteartifacts/pkg/lib/constants.go create mode 100644 flyteartifacts/pkg/lib/string_converter.go create mode 100644 flyteartifacts/pkg/lib/string_converter_test.go create mode 100644 flyteartifacts/pkg/lib/url_parse.go create mode 100644 flyteartifacts/pkg/lib/url_parse_test.go create mode 100644 flyteartifacts/pkg/models/service_models.go create mode 100644 flyteartifacts/pkg/models/transformers.go create mode 100644 flyteartifacts/pkg/server/interfaces.go create mode 100644 flyteartifacts/pkg/server/metrics.go create mode 100644 flyteartifacts/pkg/server/processor/channel_processor.go create mode 100644 flyteartifacts/pkg/server/processor/events_handler.go create mode 100644 flyteartifacts/pkg/server/processor/events_handler_test.go create mode 100644 flyteartifacts/pkg/server/processor/http_processor.go create mode 100644 flyteartifacts/pkg/server/processor/interfaces.go create mode 100644 flyteartifacts/pkg/server/processor/processor.go create mode 100644 flyteartifacts/pkg/server/processor/sqs_processor.go create mode 100644 flyteartifacts/pkg/server/server.go create mode 100644 flyteartifacts/pkg/server/service.go create mode 100644 flyteartifacts/pkg/server/trigger_engine.go create mode 100644 flyteartifacts/pkg/server/trigger_engine_test.go create mode 100644 flyteartifacts/sandbox.yaml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 41ce00d103..ca1ca18d50 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -32,6 +32,7 @@ jobs: component: - datacatalog - flyteadmin + - flyteartifacts # TODO(monorepo): Enable lint flytecopilot # - flytecopilot - flyteidl @@ -69,6 +70,7 @@ jobs: component: - datacatalog - flyteadmin + - flyteartifacts - flytecopilot - flytepropeller name: Docker Build Images @@ -112,6 +114,7 @@ jobs: component: - datacatalog - flyteadmin + - flyteartifacts - flytecopilot - flytepropeller uses: ./.github/workflows/go_generate.yml diff --git a/Dockerfile.flyteartifacts b/Dockerfile.flyteartifacts new file mode 100644 index 0000000000..51303aad69 --- /dev/null +++ b/Dockerfile.flyteartifacts @@ -0,0 +1,42 @@ +FROM --platform=${BUILDPLATFORM} golang:1.19-alpine3.16 as builder + +ARG TARGETARCH +ENV GOARCH "${TARGETARCH}" +ENV GOOS linux + +RUN apk add git openssh-client make curl + +# Create the artifacts directory +RUN mkdir /artifacts + +WORKDIR /go/src/github.com/flyteorg/flyte/flyteartifacts/ + +COPY datacatalog ../datacatalog +COPY flyteadmin ../flyteadmin +COPY flyteartifacts . +COPY flytecopilot ../flytecopilot +COPY flyteidl ../flyteidl +COPY flyteplugins ../flyteplugins +COPY flytepropeller ../flytepropeller +COPY flytestdlib ../flytestdlib + +# This 'linux_compile' target should compile binaries to the /artifacts directory +# The main entrypoint should be compiled to /artifacts/flyteadmin +RUN make linux_compile + +# update the PATH to include the /artifacts directory +ENV PATH="/artifacts:${PATH}" + +# This will eventually move to centurylink/ca-certs:latest for minimum possible image size +FROM alpine:3.16 +LABEL org.opencontainers.image.source https://github.com/flyteorg/flyte/ + +COPY --from=builder /artifacts /bin + +# Ensure the latest CA certs are present to authenticate SSL connections. +RUN apk --update add ca-certificates + +RUN addgroup -S flyte && adduser -S flyte -G flyte +USER flyte + +CMD ["artifacts"] diff --git a/Dockerfile.sandbox-lite b/Dockerfile.sandbox-lite index 095c83b6e1..e5cc60eaaf 100644 --- a/Dockerfile.sandbox-lite +++ b/Dockerfile.sandbox-lite @@ -18,6 +18,7 @@ WORKDIR /app/flyte COPY datacatalog datacatalog COPY flyteadmin flyteadmin +COPY flyteartifacts flyteartifacts COPY flytecopilot flytecopilot COPY flyteidl flyteidl COPY flyteplugins flyteplugins diff --git a/charts/flyte-sandbox/README.md b/charts/flyte-sandbox/README.md index 6e584f51c2..18362fca2e 100644 --- a/charts/flyte-sandbox/README.md +++ b/charts/flyte-sandbox/README.md @@ -11,6 +11,7 @@ A Helm chart for the Flyte local sandbox | file://../flyte-binary | flyte-binary | v0.1.10 | | https://charts.bitnami.com/bitnami | minio | 12.1.1 | | https://charts.bitnami.com/bitnami | postgresql | 12.1.9 | +| https://charts.bitnami.com/bitnami | redis | 18.0.1 | | https://helm.twun.io/ | docker-registry | 2.2.2 | | https://kubernetes.github.io/dashboard/ | kubernetes-dashboard | 6.0.0 | @@ -100,6 +101,13 @@ A Helm chart for the Flyte local sandbox | postgresql.volumePermissions.enabled | bool | `true` | | | postgresql.volumePermissions.image.pullPolicy | string | `"Never"` | | | postgresql.volumePermissions.image.tag | string | `"sandbox"` | | +| redis.auth.enabled | bool | `false` | | +| redis.enabled | bool | `true` | | +| redis.image.pullPolicy | string | `"Never"` | | +| redis.image.tag | string | `"sandbox"` | | +| redis.master.service.nodePorts.redis | int | `30004` | | +| redis.master.service.type | string | `"NodePort"` | | +| redis.replica.replicaCount | int | `0` | | | sandbox.buildkit.enabled | bool | `true` | | | sandbox.buildkit.image.pullPolicy | string | `"Never"` | | | sandbox.buildkit.image.repository | string | `"moby/buildkit"` | | diff --git a/charts/flyte-sandbox/templates/artifacts/deployment.yaml b/charts/flyte-sandbox/templates/artifacts/deployment.yaml new file mode 100644 index 0000000000..99219beec2 --- /dev/null +++ b/charts/flyte-sandbox/templates/artifacts/deployment.yaml @@ -0,0 +1,36 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: artifact-service + name: artifact-service +spec: + replicas: 1 + selector: + matchLabels: + app: artifact-service + template: + metadata: + labels: + app: artifact-service + spec: + containers: + - name: main + image: ghcr.io/unionai/artifacts:sandbox + env: + - name: DATABASE_URL + value: postgresql://postgres:postgres@flyte-sandbox-postgresql.flyte:5432/postgres + - name: REDIS_HOST + value: flyte-sandbox-redis-headless.flyte.svc.cluster.local + - name: REDIS_PORT + value: "6379" + ports: + - name: grpc + containerPort: 50051 + livenessProbe: + initialDelaySeconds: 30 + tcpSocket: + port: grpc + readinessProbe: + tcpSocket: + port: grpc diff --git a/charts/flyte-sandbox/templates/artifacts/service.yaml b/charts/flyte-sandbox/templates/artifacts/service.yaml new file mode 100644 index 0000000000..16d97b8c9f --- /dev/null +++ b/charts/flyte-sandbox/templates/artifacts/service.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Service +metadata: + name: artifact-service + labels: + app: artifact-service +spec: + ports: + - name: grpc + port: 50051 + targetPort: 50051 + selector: + app: artifact-service + type: ClusterIP diff --git a/charts/flyte-sandbox/templates/proxy/configmap.yaml b/charts/flyte-sandbox/templates/proxy/configmap.yaml index 362597aa9e..3fecffdb9a 100644 --- a/charts/flyte-sandbox/templates/proxy/configmap.yaml +++ b/charts/flyte-sandbox/templates/proxy/configmap.yaml @@ -108,6 +108,10 @@ data: prefix: "/flyteidl.service.SignalService" route: cluster: flyte_grpc + - match: + prefix: "/flyteidl.artifact.ArtifactRegistry" + route: + cluster: artifact {{- end }} {{- if index .Values "kubernetes-dashboard" "enabled" }} - match: @@ -203,5 +207,19 @@ data: address: {{ .Release.Name }}-minio port_value: 9001 {{- end }} + - name: artifact + connect_timeout: 0.25s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + http2_protocol_options: {} + load_assignment: + cluster_name: artifact + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: artifact-service + port_value: 50051 {{- end }} diff --git a/charts/flyte-sandbox/values.yaml b/charts/flyte-sandbox/values.yaml index 9743bcab33..353d44012e 100644 --- a/charts/flyte-sandbox/values.yaml +++ b/charts/flyte-sandbox/values.yaml @@ -47,6 +47,14 @@ flyte-binary: ephemeralStorage: 0 gpu: 0 memory: 0 + cloudEvents: + enable: true + cloudEventVersion: v2 + type: sandbox + artifacts: + host: localhost + port: 50051 + insecure: true storage: signedURL: stowConfigOverride: diff --git a/cmd/single/config.go b/cmd/single/config.go index adbabe7ae5..9388ec62ce 100644 --- a/cmd/single/config.go +++ b/cmd/single/config.go @@ -13,6 +13,7 @@ type Config struct { Propeller Propeller `json:"propeller" pflag:",Configuration to disable propeller or any of its components."` Admin Admin `json:"admin" pflag:",Configuration to disable FlyteAdmin or any of its components"` DataCatalog DataCatalog `json:"dataCatalog" pflag:",Configuration to disable DataCatalog or any of its components"` + Artifact Artifacts `json:"artifact" pflag:",Configuration to disable Artifact or any of its components"` } type Propeller struct { @@ -20,6 +21,10 @@ type Propeller struct { DisableWebhook bool `json:"disableWebhook" pflag:",Disables webhook only"` } +type Artifacts struct { + Disabled bool `json:"disabled" pflag:",Disables flyteartifacts in the single binary mode"` +} + type Admin struct { Disabled bool `json:"disabled" pflag:",Disables flyteadmin in the single binary mode"` DisableScheduler bool `json:"disableScheduler" pflag:",Disables Native scheduler in the single binary mode"` diff --git a/cmd/single/start.go b/cmd/single/start.go index 8a499dbe92..ef9dd2bc20 100644 --- a/cmd/single/start.go +++ b/cmd/single/start.go @@ -2,6 +2,10 @@ package single import ( "context" + sharedCmd "github.com/flyteorg/flyte/flyteartifacts/cmd/shared" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" + artifactsServer "github.com/flyteorg/flyte/flyteartifacts/pkg/server" + "github.com/flyteorg/flyte/flytestdlib/database" "net/http" metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server" ctrlWebhook "sigs.k8s.io/controller-runtime/pkg/webhook" @@ -61,6 +65,40 @@ func startClusterResourceController(ctx context.Context) error { return nil } +func startArtifact(ctx context.Context, cfg Artifacts) error { + if cfg.Disabled { + logger.Infof(ctx, "Artifacts server is disabled. Skipping...") + return nil + } + // Roughly copies main/NewMigrateCmd + logger.Infof(ctx, "Artifacts: running database migrations if any...") + migs := artifactsServer.GetMigrations(ctx) + initializationSql := "create extension if not exists hstore;" + dbConfig := artifactsServer.GetDbConfig() + err := database.Migrate(context.Background(), dbConfig, migs, initializationSql) + if err != nil { + logger.Errorf(ctx, "Failed to run Artifacts database migrations. Error: %v", err) + return err + } + + g, childCtx := errgroup.WithContext(ctx) + + // Rough copy of NewServeCmd + g.Go(func() error { + cfg := configuration.GetApplicationConfig() + serverCfg := &cfg.ArtifactServerConfig + err := sharedCmd.ServeGateway(childCtx, "artifacts", serverCfg, artifactsServer.GrpcRegistrationHook, + artifactsServer.HttpRegistrationHook) + if err != nil { + logger.Errorf(childCtx, "Failed to start Artifacts server. Error: %v", err) + return err + } + return nil + }) + + return g.Wait() +} + func startAdmin(ctx context.Context, cfg Admin) error { logger.Infof(ctx, "Running Database Migrations...") if err := adminServer.Migrate(ctx); err != nil { @@ -202,6 +240,16 @@ var startCmd = &cobra.Command{ }) } + if !cfg.Artifact.Disabled { + g.Go(func() error { + err := startArtifact(childCtx, cfg.Artifact) + if err != nil { + logger.Panicf(childCtx, "Failed to start Artifacts server, err: %v", err) + } + return nil + }) + } + if !cfg.Propeller.Disabled { g.Go(func() error { err := startPropeller(childCtx, cfg.Propeller) diff --git a/docker/sandbox-bundled/Makefile b/docker/sandbox-bundled/Makefile index 9ae4197673..ed92a733c4 100644 --- a/docker/sandbox-bundled/Makefile +++ b/docker/sandbox-bundled/Makefile @@ -1,7 +1,7 @@ define FLYTE_BINARY_BUILD mkdir -p images/tar/$(1) -docker buildx build \ +docker buildx build --ssh default \ --build-arg FLYTECONSOLE_VERSION=$(FLYTECONSOLE_VERSION) \ --platform linux/$(1) \ --tag flyte-binary:sandbox \ @@ -40,9 +40,20 @@ build: flyte manifests --driver docker-container --driver-opt image=moby/buildkit:master \ --buildkitd-flags '--allow-insecure-entitlement security.insecure' \ --platform linux/arm64,linux/amd64 - docker buildx build --builder flyte-sandbox --allow security.insecure --load \ + docker buildx build --ssh default --builder flyte-sandbox --allow security.insecure --load \ --tag flyte-sandbox:latest . +# This is here because we want to be able to push locally, not depend on GH actions +.PHONY: build_push +build_push: flyte manifests + [ -n "$(shell docker buildx ls | awk '/^flyte-sandbox / {print $$1}')" ] || \ + docker buildx create --name flyte-sandbox \ + --driver docker-container --driver-opt image=moby/buildkit:master \ + --buildkitd-flags '--allow-insecure-entitlement security.insecure' \ + --platform linux/arm64,linux/amd64 + docker buildx build --ssh default --builder flyte-sandbox --allow security.insecure --push \ + --tag ghcr.io/flyteorg/flyte-sandbox:a_v0.1.1 . + # Port map # 6443 - k8s API server # 30000 - Docker Registry diff --git a/flyte-single-binary-local.yaml b/flyte-single-binary-local.yaml index eaad8c12e2..deac2fe3c0 100644 --- a/flyte-single-binary-local.yaml +++ b/flyte-single-binary-local.yaml @@ -1,5 +1,7 @@ # This is a sample configuration file for running single-binary Flyte locally against # a sandbox. +# gatepr: revert the local dir to reflect home. +# paths were changed to personal to ensure settings didn't get lost. admin: # This endpoint is used by flytepropeller to talk to admin # and artifacts to talk to admin, @@ -17,7 +19,7 @@ catalog-cache: cluster_resources: standaloneDeployment: false - templatePath: $HOME/.flyte/sandbox/cluster-resource-templates + templatePath: /Users/ytong/.flyte/sandbox/cluster-resource-templates logger: show-source: true @@ -25,14 +27,14 @@ logger: propeller: create-flyteworkflow-crd: true - kube-config: $HOME/.flyte/sandbox/kubeconfig + kube-config: /Users/ytong/.flyte/sandbox/kubeconfig rawoutput-prefix: s3://my-s3-bucket/data server: - kube-config: $HOME/.flyte/sandbox/kubeconfig + kube-config: /Users/ytong/.flyte/sandbox/kubeconfig webhook: - certDir: $HOME/.flyte/webhook-certs + certDir: /Users/ytong/.flyte/webhook-certs localCert: true secretName: flyte-sandbox-webhook-secret serviceName: flyte-sandbox-local @@ -75,6 +77,34 @@ database: port: 30001 dbname: flyte options: "sslmode=disable" + # Point to cloned repo instead. + # +# postgres: +# username: postgres +# password: xxx +# host: 127.0.0.1 +# port: 54328 +# dbname: app +# options: "sslmode=disable" +cloudEvents: + enable: true + cloudEventVersion: v2 + type: sandbox +# For artifact service itself +artifactsServer: + artifactBlobStoreConfig: + type: stow + stow: + kind: s3 + config: + disable_ssl: true + v2_signing: true + endpoint: http://localhost:30002 + auth_type: accesskey + access_key_id: minio + secret_key: miniostorage +artifactsProcessor: + cloudProvider: Sandbox storage: type: stow stow: diff --git a/flyteadmin/flyteadmin_config.yaml b/flyteadmin/flyteadmin_config.yaml index e3d19f7326..6840b406cd 100644 --- a/flyteadmin/flyteadmin_config.yaml +++ b/flyteadmin/flyteadmin_config.yaml @@ -60,6 +60,10 @@ flyteadmin: - "metadata" - "admin" useOffloadedWorkflowClosure: false +artifacts: + host: localhost + port: 50051 + insecure: true database: postgres: port: 30001 @@ -112,6 +116,10 @@ externalEvents: eventsPublisher: topicName: "bar" eventTypes: all +cloudEvents: + enable: true + cloudEventVersion: v2 + type: sandbox Logger: show-source: true level: 5 diff --git a/flyteadmin/pkg/artifacts/config.go b/flyteadmin/pkg/artifacts/config.go new file mode 100644 index 0000000000..c639666ffe --- /dev/null +++ b/flyteadmin/pkg/artifacts/config.go @@ -0,0 +1,8 @@ +package artifacts + +// gatepr: add proper config bits for this +type Config struct { + Host string `json:"host"` + Port int `json:"port"` + Insecure bool `json:"insecure"` +} diff --git a/flyteartifacts/Makefile b/flyteartifacts/Makefile new file mode 100644 index 0000000000..7b5ada6444 --- /dev/null +++ b/flyteartifacts/Makefile @@ -0,0 +1,6 @@ +#TODO delete this comment +.PHONY: linux_compile +linux_compile: export CGO_ENABLED ?= 0 +linux_compile: export GOOS ?= linux +linux_compile: + go build -o /artifacts/flyteadmin -ldflags=$(LD_FLAGS) ./cmd/ diff --git a/flyteartifacts/artifact_config.yaml b/flyteartifacts/artifact_config.yaml new file mode 100644 index 0000000000..c0584c8091 --- /dev/null +++ b/flyteartifacts/artifact_config.yaml @@ -0,0 +1,8 @@ +# This is an (incomplete) configure file for the artifact service, here just as an example. +#artifactsServer: +# database: +# postgres: +# dbname: your pg db +#logger: +# level: 5 +# show-source: true diff --git a/flyteartifacts/cmd/main.go b/flyteartifacts/cmd/main.go new file mode 100644 index 0000000000..afbc88eef6 --- /dev/null +++ b/flyteartifacts/cmd/main.go @@ -0,0 +1,33 @@ +package main + +import ( + "context" + sharedCmd "github.com/flyteorg/flyte/flyteartifacts/cmd/shared" + "github.com/flyteorg/flyte/flyteartifacts/pkg/server" + "github.com/flyteorg/flyte/flytestdlib/contextutils" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils/labeled" + "github.com/flyteorg/flyte/flytestdlib/storage" + + _ "net/http/pprof" // Required to serve application. +) + +func main() { + ctx := context.Background() + logger.Infof(ctx, "Beginning Flyte Artifacts Service") + rootCmd := sharedCmd.NewRootCmd("artifacts", server.GrpcRegistrationHook, server.HttpRegistrationHook) + migs := server.GetMigrations(ctx) + initializationSql := "create extension if not exists hstore;" + dbConfig := server.GetDbConfig() + rootCmd.AddCommand(sharedCmd.NewMigrateCmd(migs, dbConfig, initializationSql)) + err := rootCmd.ExecuteContext(ctx) + if err != nil { + panic(err) + } +} + +func init() { + // Set Keys + labeled.SetMetricKeys(contextutils.AppNameKey, contextutils.ProjectKey, + contextutils.DomainKey, storage.FailureTypeLabel) +} diff --git a/flyteartifacts/cmd/shared/migrate.go b/flyteartifacts/cmd/shared/migrate.go new file mode 100644 index 0000000000..843f6e881f --- /dev/null +++ b/flyteartifacts/cmd/shared/migrate.go @@ -0,0 +1,19 @@ +package shared + +import ( + "context" + "github.com/flyteorg/flyte/flytestdlib/database" + "github.com/go-gormigrate/gormigrate/v2" + "github.com/spf13/cobra" +) + +// NewMigrateCmd represents the migrate command +func NewMigrateCmd(migs []*gormigrate.Migration, databaseConfig *database.DbConfig, initializationSql string) *cobra.Command { + return &cobra.Command{ + Use: "migrate", + Short: "This command will run all the migrations for the database", + RunE: func(cmd *cobra.Command, args []string) error { + return database.Migrate(context.Background(), databaseConfig, migs, initializationSql) + }, + } +} diff --git a/flyteartifacts/cmd/shared/root.go b/flyteartifacts/cmd/shared/root.go new file mode 100644 index 0000000000..8bc0390c30 --- /dev/null +++ b/flyteartifacts/cmd/shared/root.go @@ -0,0 +1,91 @@ +package shared + +import ( + "context" + "flag" + "fmt" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" + "github.com/flyteorg/flyte/flytestdlib/config" + "github.com/flyteorg/flyte/flytestdlib/config/viper" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/profutils" + "github.com/spf13/cobra" + "github.com/spf13/pflag" + "os" +) + +var ( + cfgFile string + configAccessor = viper.NewAccessor(config.Options{}) +) + +// NewRootCmd represents the base command when called without any subcommands +func NewRootCmd(rootUse string, grpcHook GrpcRegistrationHook, httpHook HttpRegistrationHook) *cobra.Command { + rootCmd := &cobra.Command{ + Use: rootUse, + Short: "Short description", + Long: "Long description to be filled in later", + PersistentPreRunE: func(cmd *cobra.Command, args []string) error { + err := initConfig(cmd, args) + if err != nil { + return err + } + + go func() { + ctx := context.Background() + metricsCfg := configuration.GetApplicationConfig().ArtifactServerConfig.Metrics + err := profutils.StartProfilingServerWithDefaultHandlers(ctx, + metricsCfg.Port.Port, nil) + if err != nil { + logger.Panicf(ctx, "Failed to Start profiling and metrics server. Error: %v", err) + } + }() + + return nil + }, + } + + initSubCommands(rootCmd, grpcHook, httpHook) + return rootCmd +} + +func initConfig(cmd *cobra.Command, _ []string) error { + configAccessor = viper.NewAccessor(config.Options{ + SearchPaths: []string{cfgFile, ".", "/etc/flyte/config", "$GOPATH/src/github.com/flyteorg/flyte/flyteartifacts"}, + StrictMode: false, + }) + + fmt.Println("Using config file: ", configAccessor.ConfigFilesUsed()) + + // persistent flags were initially bound to the root command so we must bind to the same command to avoid + // overriding those initial ones. We need to traverse up to the root command and initialize pflags for that. + rootCmd := cmd + for rootCmd.Parent() != nil { + rootCmd = rootCmd.Parent() + } + + configAccessor.InitializePflags(rootCmd.PersistentFlags()) + + return configAccessor.UpdateConfig(context.TODO()) +} + +func initSubCommands(rootCmd *cobra.Command, grpcHook GrpcRegistrationHook, httpHook HttpRegistrationHook) { + // allows ` --logtostderr` to work + pflag.CommandLine.AddGoFlagSet(flag.CommandLine) + + // Add persistent flags - persistent flags persist through all sub-commands + rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "artifact_config.yaml", "config file (default is ./artifact_config.yaml)") + + rootCmd.AddCommand(viper.GetConfigCommand()) + cfg := configuration.GetApplicationConfig() + rootCmd.AddCommand(NewServeCmd(rootCmd.Use, cfg.ArtifactServerConfig, grpcHook, httpHook)) + + // Allow viper to read the value of the flags + configAccessor.InitializePflags(rootCmd.PersistentFlags()) + + err := flag.CommandLine.Parse([]string{}) + if err != nil { + fmt.Println(err) + os.Exit(-1) + } +} diff --git a/flyteartifacts/cmd/shared/serve.go b/flyteartifacts/cmd/shared/serve.go new file mode 100644 index 0000000000..9a3a3e8411 --- /dev/null +++ b/flyteartifacts/cmd/shared/serve.go @@ -0,0 +1,211 @@ +package shared + +import ( + "context" + "google.golang.org/grpc/reflection" + "net" + "net/http" + + sharedCfg "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration/shared" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils" + grpcMiddleware "github.com/grpc-ecosystem/go-grpc-middleware" + grpcPrometheus "github.com/grpc-ecosystem/go-grpc-prometheus" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/pkg/errors" + "github.com/spf13/cobra" + "google.golang.org/grpc" + "google.golang.org/grpc/credentials" + "google.golang.org/grpc/health" + "google.golang.org/grpc/health/grpc_health_v1" +) + +func NewServeCmd(commandName string, serverCfg sharedCfg.ServerConfiguration, grpcHook GrpcRegistrationHook, httpHook HttpRegistrationHook) *cobra.Command { + // serveCmd represents the serve command + return &cobra.Command{ + Use: "serve", + Short: "Launches the server", + RunE: func(cmd *cobra.Command, args []string) error { + ctx := context.Background() + return ServeGateway(ctx, commandName, &serverCfg, grpcHook, httpHook) + }, + } +} + +// Creates a new gRPC Server with all the configuration +func newGRPCServer(ctx context.Context, serviceName string, serverCfg *sharedCfg.ServerConfiguration, + grpcHook GrpcRegistrationHook, opts ...grpc.ServerOption) (*grpc.Server, error) { + + scope := promutils.NewScope(serverCfg.Metrics.MetricsScope) + scope = scope.NewSubScope(serviceName) + + var grpcUnaryInterceptors = make([]grpc.UnaryServerInterceptor, 0) + var streamServerInterceptors = make([]grpc.StreamServerInterceptor, 0) + + serverOpts := []grpc.ServerOption{ + grpc.StreamInterceptor(grpcPrometheus.StreamServerInterceptor), + grpc.UnaryInterceptor(grpcMiddleware.ChainUnaryServer( + grpcUnaryInterceptors..., + )), + grpc.ChainStreamInterceptor( + streamServerInterceptors..., + ), + } + + serverOpts = append(serverOpts, opts...) + + grpcServer := grpc.NewServer(serverOpts...) + grpcPrometheus.Register(grpcServer) + if grpcHook != nil { + err := grpcHook(ctx, grpcServer, scope) + if err != nil { + return nil, err + } + } + + healthServer := health.NewServer() + healthServer.SetServingStatus(serviceName, grpc_health_v1.HealthCheckResponse_SERVING) + grpc_health_v1.RegisterHealthServer(grpcServer, healthServer) + if serverCfg.GrpcServerReflection { + reflection.Register(grpcServer) + } + + return grpcServer, nil +} + +// ServeGateway launches the grpc and http servers. +func ServeGateway(ctx context.Context, serviceName string, serverCfg *sharedCfg.ServerConfiguration, grpcHook GrpcRegistrationHook, httpHook HttpRegistrationHook) error { + + if grpcHook != nil { + if err := launchGrpcServer(ctx, serviceName, serverCfg, grpcHook); err != nil { + return err + } + } + + if httpHook != nil { + if err := launchHttpServer(ctx, serverCfg, httpHook); err != nil { + return err + } + } + + for { + <-ctx.Done() + return nil + } +} + +// launchGrpcServer launches grpc server with server config and also registers the grpc hook for the service. +func launchGrpcServer(ctx context.Context, serviceName string, serverCfg *sharedCfg.ServerConfiguration, grpcHook GrpcRegistrationHook) error { + var grpcServer *grpc.Server + if serverCfg.Security.Secure { + tlsCreds, err := credentials.NewServerTLSFromFile(serverCfg.Security.Ssl.CertificateFile, serverCfg.Security.Ssl.KeyFile) + if err != nil { + return err + } + + grpcServer, err = newGRPCServer(ctx, serviceName, serverCfg, grpcHook, grpc.Creds(tlsCreds)) + if err != nil { + return errors.Wrap(err, "failed to create secure GRPC server") + } + } else { + var err error + grpcServer, err = newGRPCServer(ctx, serviceName, serverCfg, grpcHook) + if err != nil { + return errors.Wrap(err, "failed to create GRPC server") + } + } + + return listenAndServe(ctx, grpcServer, serverCfg.GetGrpcHostAddress()) +} + +// listenAndServe on the grpcHost address and serve connections using the grpcServer +func listenAndServe(ctx context.Context, grpcServer *grpc.Server, grpcHost string) error { + conn, err := net.Listen("tcp", grpcHost) + if err != nil { + panic(err) + } + + go func() { + if err := grpcServer.Serve(conn); err != nil { + logger.Fatalf(ctx, "Failed to create GRPC Server, Err: ", err) + } + + logger.Infof(ctx, "Serving GRPC Gateway server on: %v", grpcHost) + }() + return nil +} + +// launchHttpServer launches an http server for converting REST calls to grpc internally +func launchHttpServer(ctx context.Context, cfg *sharedCfg.ServerConfiguration, httpHook HttpRegistrationHook) error { + logger.Infof(ctx, "Starting HTTP/1 Gateway server on %s", cfg.GetHttpHostAddress()) + + httpServer, serverMux, err := newHTTPServer(cfg.Security) + if err != nil { + return err + } + + if err = registerHttpHook(ctx, serverMux, cfg.GetGrpcHostAddress(), uint32(cfg.GrpcMaxResponseStatusBytes), httpHook, promutils.NewScope(cfg.Metrics.MetricsScope)); err != nil { + return err + } + + handler := getHTTPHandler(httpServer, cfg.Security) + + go func() { + err = http.ListenAndServe(cfg.GetHttpHostAddress(), handler) + if err != nil { + logger.Fatalf(ctx, "Failed to Start HTTP Server, Err: %v", err) + } + + logger.Infof(ctx, "Serving HTTP/1 on: %v", cfg.GetHttpHostAddress()) + }() + return nil +} + +// getHTTPHandler gets the http handler for the configured security options +func getHTTPHandler(httpServer *http.ServeMux, _ sharedCfg.ServerSecurityOptions) http.Handler { + // not really used yet (reserved for admin) + var handler http.Handler + handler = httpServer + return handler +} + +// registerHttpHook registers the http hook for a service which multiplexes to the grpc endpoint for that service. +func registerHttpHook(ctx context.Context, gwmux *runtime.ServeMux, grpcHost string, maxResponseStatusBytes uint32, httpHook HttpRegistrationHook, scope promutils.Scope) error { + if httpHook == nil { + return nil + } + grpcOptions := []grpc.DialOption{ + grpc.WithInsecure(), + grpc.WithMaxHeaderListSize(maxResponseStatusBytes), + } + + return httpHook(ctx, gwmux, grpcHost, grpcOptions, scope) +} + +func healthCheckFunc(w http.ResponseWriter, _ *http.Request) { + w.WriteHeader(http.StatusOK) +} + +// newHTTPServer creates a new http sever +func newHTTPServer(_ sharedCfg.ServerSecurityOptions) (*http.ServeMux, *runtime.ServeMux, error) { + // Register the server that will serve HTTP/REST Traffic + mux := http.NewServeMux() + + // Register healthcheck + mux.HandleFunc("/healthcheck", healthCheckFunc) + + var gwmuxOptions = make([]runtime.ServeMuxOption, 0) + // This option means that http requests are served with protobufs, instead of json. We always want this. + gwmuxOptions = append(gwmuxOptions, runtime.WithMarshalerOption("application/octet-stream", &runtime.ProtoMarshaller{})) + + // Create the grpc-gateway server with the options specified + gwmux := runtime.NewServeMux(gwmuxOptions...) + + mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + ctx := r.Context() + logger.Debugf(ctx, "Running identity interceptor for http endpoint [%s]", r.URL.String()) + + gwmux.ServeHTTP(w, r.WithContext(ctx)) + }) + return mux, gwmux, nil +} diff --git a/flyteartifacts/cmd/shared/types.go b/flyteartifacts/cmd/shared/types.go new file mode 100644 index 0000000000..be1878a6d3 --- /dev/null +++ b/flyteartifacts/cmd/shared/types.go @@ -0,0 +1,11 @@ +package shared + +import ( + "context" + "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "google.golang.org/grpc" +) + +type GrpcRegistrationHook func(ctx context.Context, server *grpc.Server, scope promutils.Scope) error +type HttpRegistrationHook func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption, scope promutils.Scope) error diff --git a/flyteartifacts/go.mod b/flyteartifacts/go.mod new file mode 100644 index 0000000000..1fe874539f --- /dev/null +++ b/flyteartifacts/go.mod @@ -0,0 +1,125 @@ +module github.com/flyteorg/flyte/flyteartifacts + +go 1.19 + +require ( + github.com/DATA-DOG/go-sqlmock v1.5.0 + github.com/NYTimes/gizmo v1.3.6 + github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.14.0 + github.com/cloudevents/sdk-go/v2 v2.14.0 + github.com/flyteorg/flyte/flyteidl v0.0.0-00010101000000-000000000000 + github.com/flyteorg/flyte/flytestdlib v1.9.5 + github.com/go-gormigrate/gormigrate/v2 v2.1.1 + github.com/golang/protobuf v1.5.3 + github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 + github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 + github.com/grpc-ecosystem/grpc-gateway v1.16.0 + github.com/jackc/pgx/v5 v5.4.3 + github.com/pkg/errors v0.9.1 + github.com/prometheus/client_golang v1.12.1 + github.com/spf13/cobra v1.4.0 + github.com/spf13/pflag v1.0.5 + github.com/stretchr/testify v1.8.4 + google.golang.org/grpc v1.56.1 + google.golang.org/protobuf v1.30.0 + gorm.io/driver/postgres v1.5.3 + gorm.io/gorm v1.25.5 +) + +require ( + cloud.google.com/go v0.110.0 // indirect + cloud.google.com/go/compute v1.19.1 // indirect + cloud.google.com/go/compute/metadata v0.2.3 // indirect + cloud.google.com/go/iam v0.13.0 // indirect + cloud.google.com/go/storage v1.28.1 // indirect + github.com/Azure/azure-sdk-for-go v63.4.0+incompatible // indirect + github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.1 // indirect + github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.2 // indirect + github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.0 // indirect + github.com/Azure/go-autorest v14.2.0+incompatible // indirect + github.com/Azure/go-autorest/autorest v0.11.27 // indirect + github.com/Azure/go-autorest/autorest/adal v0.9.18 // indirect + github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect + github.com/Azure/go-autorest/logger v0.2.1 // indirect + github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/aws/aws-sdk-go v1.44.2 // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/bradfitz/gomemcache v0.0.0-20180710155616-bc664df96737 // indirect + github.com/cespare/xxhash v1.1.0 // indirect + github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/coocood/freecache v1.1.1 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/fatih/color v1.13.0 // indirect + github.com/flyteorg/stow v0.3.7 // indirect + github.com/fsnotify/fsnotify v1.5.1 // indirect + github.com/ghodss/yaml v1.0.0 // indirect + github.com/go-logr/logr v1.2.3 // indirect + github.com/gofrs/uuid v4.2.0+incompatible // indirect + github.com/golang-jwt/jwt/v4 v4.4.1 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/google/go-cmp v0.5.9 // indirect + github.com/google/uuid v1.3.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect + github.com/googleapis/gax-go/v2 v2.7.1 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/jackc/chunkreader/v2 v2.0.1 // indirect + github.com/jackc/pgconn v1.14.1 // indirect + github.com/jackc/pgio v1.0.0 // indirect + github.com/jackc/pgpassfile v1.0.0 // indirect + github.com/jackc/pgproto3/v2 v2.3.2 // indirect + github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect + github.com/jinzhu/inflection v1.0.0 // indirect + github.com/jinzhu/now v1.1.5 // indirect + github.com/jmespath/go-jmespath v0.4.0 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/kelseyhightower/envconfig v1.4.0 // indirect + github.com/magiconair/properties v1.8.6 // indirect + github.com/mattn/go-colorable v0.1.12 // indirect + github.com/mattn/go-isatty v0.0.14 // indirect + github.com/mattn/go-sqlite3 v2.0.3+incompatible // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect + github.com/mitchellh/mapstructure v1.5.0 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/ncw/swift v1.0.53 // indirect + github.com/pelletier/go-toml v1.9.4 // indirect + github.com/pelletier/go-toml/v2 v2.0.0-beta.8 // indirect + github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/prometheus/client_model v0.2.0 // indirect + github.com/prometheus/common v0.32.1 // indirect + github.com/prometheus/procfs v0.7.3 // indirect + github.com/sirupsen/logrus v1.8.1 // indirect + github.com/spf13/afero v1.9.2 // indirect + github.com/spf13/cast v1.4.1 // indirect + github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/spf13/viper v1.11.0 // indirect + github.com/stretchr/objx v0.5.0 // indirect + github.com/subosito/gotenv v1.2.0 // indirect + go.opencensus.io v0.24.0 // indirect + golang.org/x/crypto v0.13.0 // indirect + golang.org/x/net v0.15.0 // indirect + golang.org/x/oauth2 v0.7.0 // indirect + golang.org/x/sys v0.12.0 // indirect + golang.org/x/text v0.13.0 // indirect + golang.org/x/time v0.3.0 // indirect + golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect + google.golang.org/api v0.114.0 // indirect + google.golang.org/appengine v1.6.7 // indirect + google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect + gopkg.in/ini.v1 v1.66.4 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + gorm.io/driver/sqlite v1.5.4 // indirect + k8s.io/apimachinery v0.24.1 // indirect + k8s.io/client-go v0.24.1 // indirect + k8s.io/klog/v2 v2.90.1 // indirect + k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect +) + +replace ( + github.com/flyteorg/flyte/flyteidl => ../flyteidl + github.com/flyteorg/flyte/flytestdlib => ../flytestdlib + github.com/robfig/cron/v3 => github.com/unionai/cron/v3 v3.0.2-0.20220915080349-5790c370e63a +) diff --git a/flyteartifacts/go.sum b/flyteartifacts/go.sum new file mode 100644 index 0000000000..830d361481 --- /dev/null +++ b/flyteartifacts/go.sum @@ -0,0 +1,1055 @@ +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.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +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.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.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= +cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= +cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= +cloud.google.com/go v0.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/logging v1.0.0/go.mod h1:V1cc3ogwobYzQq5f2R7DS/GvRIrI4FKj01Gs5glwAls= +cloud.google.com/go/longrunning v0.4.1 h1:v+yFJOfKC3yZdY6ZUI933pIYdhyhV8S3NpWrXWmg7jM= +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.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= +cloud.google.com/go/storage v1.28.1 h1:F5QDG5ChchaAVQhINh24U99OWHURqrW8OmQcGKXcbgI= +cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= +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 v63.4.0+incompatible h1:fle3M5Q7vr8auaiPffKyUQmLbvYeqpw30bKU6PrWJFo= +github.com/Azure/azure-sdk-for-go v63.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.1 h1:3CVsSo4mp8NDWO11tHzN/mdo2zP0CtaSK5IcwBjfqRA= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.1/go.mod h1:w5pDIZuawUmY3Bj4tVx3Xb8KS96ToB0j315w9rqpAg0= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 h1:NVS/4LOQfkBpk+B1VopIzv1ptmYeEskA8w/3K/w7vjo= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.2 h1:Px2KVERcYEg2Lv25AqC2hVr0xUWaq94wuEObLIkYzmA= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.2/go.mod h1:CdSJQNNzZhCkwDaV27XV1w48ZBPtxe7mlrZAsPNxD5g= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.0 h1:0nJeKDmB7a1a8RDMjTltahlPsaNlWjq/LpkZleSwINk= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.0/go.mod h1:mbwxKc/fW+IkF0GG591MuXw0KuEQBDkeRoZ9vmVJPxg= +github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= +github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= +github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= +github.com/Azure/go-autorest/autorest v0.11.27 h1:F3R3q42aWytozkV8ihzcgMO4OA4cuqr3bNlsEuF6//A= +github.com/Azure/go-autorest/autorest v0.11.27/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= +github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= +github.com/Azure/go-autorest/autorest/adal v0.9.18 h1:kLnPsRjzZZUF3K5REu/Kc+qMQrvuza2bwSnNdhmzLfQ= +github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= +github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= +github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= +github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= +github.com/Azure/go-autorest/autorest/mocks v0.4.2 h1:PGN4EDXnuQbojHbU0UWoNvmu9AGVwYHG9/fkDYhtAfw= +github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= +github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= +github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= +github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= +github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= +github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= +github.com/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/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= +github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= +github.com/DataDog/datadog-go v3.4.1+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= +github.com/DataDog/opencensus-go-exporter-datadog v0.0.0-20191210083620-6965a1cfed68/go.mod h1:gMGUEe16aZh0QN941HgDjwrdjU4iTthPoz2/AtDRADE= +github.com/NYTimes/gizmo v1.3.6 h1:K+GRagPdAxojsT1TlTQlMkTeOmgfLxSdvuOhdki7GG0= +github.com/NYTimes/gizmo v1.3.6/go.mod h1:8S8QVnITA40p/1jGsUMcPI8R9SSKkoKu+8WF13s9Uhw= +github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= +github.com/NYTimes/logrotate v1.0.0/go.mod h1:GxNz1cSw1c6t99PXoZlw+nm90H6cyQyrH66pjVv7x88= +github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= +github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/Shopify/sarama v1.26.4/go.mod h1:NbSGBSSndYaIhRcBtY9V0U7AyH+x71bG668AuWys/yU= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go v1.31.3/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= +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/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bradfitz/gomemcache v0.0.0-20180710155616-bc664df96737 h1:rRISKWyXfVxvoa702s91Zl5oREZTrR3yv+tXrrX7G/g= +github.com/bradfitz/gomemcache v0.0.0-20180710155616-bc664df96737/go.mod h1:PmM6Mmwb0LSuEubjR8N7PtNe1KxZLtOUHtbeikc5h60= +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.1.2/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/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/cloudevents/sdk-go/binding/format/protobuf/v2 v2.14.0 h1:dEopBSOSjB5fM9r76ufM44AVj9Dnz2IOM0Xs6FVxZRM= +github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.14.0/go.mod h1:qDSbb0fgIfFNjZrNTPtS5MOMScAGyQtn1KlSvoOdqYw= +github.com/cloudevents/sdk-go/v2 v2.14.0 h1:Nrob4FwVgi5L4tV9lhjzZcjYqFVyJzsA56CwPaPfv6s= +github.com/cloudevents/sdk-go/v2 v2.14.0/go.mod h1:xDmKfzNjM8gBvjaF8ijFjM1VYOVUEeUfapHMUX1T5To= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= +github.com/coocood/freecache v1.1.1 h1:uukNF7QKCZEdZ9gAV7WQzvh0SbjwdMF6m3x3rxEkaPc= +github.com/coocood/freecache v1.1.1/go.mod h1:OKrEjkGVoxZhyWAJoeFi5BMLUJm2Tit0kpGkIr7NGYY= +github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dnaeon/go-vcr v1.1.0 h1:ReYa/UBrRyQdant9B4fNHGoCNKw6qh6P0fsdGmZpR7c= +github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= +github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= +github.com/eapache/go-resiliency v1.2.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= +github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= +github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= +github.com/flyteorg/stow v0.3.7 h1:Cx7j8/Ux6+toD5hp5fy++927V+yAcAttDeQAlUD/864= +github.com/flyteorg/stow v0.3.7/go.mod h1:5dfBitPM004dwaZdoVylVjxFT4GWAgI0ghAndhNUzCo= +github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= +github.com/frankban/quicktest v1.7.2/go.mod h1:jaStnuzAqU1AJdCO0l53JDCJrVDKcS03DbaAcR7Ks/o= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= +github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= +github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= +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-gormigrate/gormigrate/v2 v2.1.1 h1:eGS0WTFRV30r103lU8JNXY27KbviRnqqIDobW3EV3iY= +github.com/go-gormigrate/gormigrate/v2 v2.1.1/go.mod h1:L7nJ620PFDKei9QOhJzqA8kRCk+E3UbV2f5gv+1ndLc= +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 v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= +github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= +github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= +github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +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.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= +github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.4.1 h1:pC5DB52sCeK48Wlb9oPcdhnjkz1TKt1D/P7WKJ0kUcQ= +github.com/golang-jwt/jwt/v4 v4.4.1/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-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/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= +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.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= +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/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= +github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= +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.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/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/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= +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-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/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.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/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/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/handlers v1.4.2/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= +github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/grpc-ecosystem/go-grpc-middleware v1.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/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= +github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +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/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= +github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/chunkreader/v2 v2.0.1 h1:i+RDz65UE+mmpjTfyz0MoVTnzeYxroil2G82ki7MGG8= +github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= +github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= +github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= +github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= +github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= +github.com/jackc/pgconn v1.14.1 h1:smbxIaZA08n6YuxEX1sDyjV/qkbtUtkH20qLkR9MUR4= +github.com/jackc/pgconn v1.14.1/go.mod h1:9mBNlny0UvkgJdCDvdVHYSjI+8tD2rnKK69Wz8ti++E= +github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE= +github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= +github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= +github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65 h1:DadwsjnMwFjfWc9y5Wi/+Zz7xoE5ALHsRQlOctkOiHc= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak= +github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg= +github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.3.2 h1:7eY55bdBeCz1F2fTzSz69QC+pG46jYq9/jtSPiJ5nn0= +github.com/jackc/pgproto3/v2 v2.3.2/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= +github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= +github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= +github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= +github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= +github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= +github.com/jackc/pgx/v5 v5.4.3 h1:cxFyXhxlvAifxnkKKdlxv8XqUf59tDlYjnV5YYfsJJY= +github.com/jackc/pgx/v5 v5.4.3/go.mod h1:Ig06C2Vu0t5qXC60W8sqIthScaEnFvojjj9dSljmHRA= +github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= +github.com/jinzhu/copier v0.3.5 h1:GlvfUwHk62RokgqVNvYsku0TATCF7bAHVwEXoBh3iJg= +github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= +github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= +github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= +github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= +github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= +github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= +github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= +github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12 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/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dvMUtDTo2cv8= +github.com/kelseyhightower/envconfig v1.4.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg= +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/klauspost/compress v1.9.8/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= +github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= +github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= +github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-sqlite3 v2.0.3+incompatible h1:gXHsfypPkaMZrKbD5209QV9jbUTJKjyR5WD3HYQSd+U= +github.com/mattn/go-sqlite3 v2.0.3+incompatible/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= +github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= +github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= +github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= +github.com/ncw/swift v1.0.53 h1:luHjjTNtekIEvHg5KdAFIBaH7bWfNkefwFnpDffSIks= +github.com/ncw/swift v1.0.53/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d/go.mod h1:YUTz3bUH2ZwIWBy3CJBeOBEugqcmXREj14T+iG/4k4U= +github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= +github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= +github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/pelletier/go-toml v1.9.4 h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM= +github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/pelletier/go-toml/v2 v2.0.0-beta.8 h1:dy81yyLYJDwMTifq24Oi/IslOslRrDSb3jwDggjz3Z0= +github.com/pelletier/go-toml/v2 v2.0.0-beta.8/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= +github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= +github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= +github.com/pierrec/lz4 v2.4.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= +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.4/go.mod h1:oCXIBxdI62A4cR6aTRJCgetEjecSIYzOEaeAn4iYEpM= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk= +github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= +github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= +github.com/prometheus/common v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4= +github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= +github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +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/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= +github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= +github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= +github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw= +github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= +github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= +github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q= +github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= +github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= +github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.11.0 h1:7OX/1FS6n7jHD1zGrZTM7WtY13ZELRyosK4k93oPr44= +github.com/spf13/viper v1.11.0/go.mod h1:djo0X/bA5+tYVoCn+C7cAYJGcVn/qYLFTG8gdUsX7Zk= +github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +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.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +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/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s= +github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/tinylib/msgp v1.1.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= +github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c/go.mod h1:lB8K/P019DLNhemzwFU4jHLhdvlE6uDZjXFejJXr49I= +github.com/xdg/stringprep v1.0.0/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= +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.1/go.mod h1:Ap50jQcDJrx6rB6VgeeFPtuPIf3wMRvRfrfYDO6+BmA= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= +go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= +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.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= +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/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +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 h1:CSUJ2mjFszzEWt4CdKISEuChVIXGBn3lAPwkRGyVrc4= +go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +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-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200204104054-c9f3fb736b72/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +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-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= +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/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/lint v0.0.0-20201208152925-83fdc39ff7b5/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/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-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-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +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-20200520004742-59133d7f0dd7/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-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-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.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-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.7.0 h1:qe6s0zUXlPX80/dITx3440hWZ7GwMwgDDyrSGTPJG/g= +golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= +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/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/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-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/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-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-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-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-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-20210603081109-ebe580a85c40/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-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-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/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-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/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +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/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.0.0-20220210224613-90d013bbcef8/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= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +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-20190425163242-31fd60d6bfdc/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-20190823170909-c4a336ef6a2f/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-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-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= +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-20200505023115-26f46d2f7ef8/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-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +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.10.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.25.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.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.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= +google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= +google.golang.org/api v0.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.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/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-20190708153700-3bdd9d9f5532/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= +google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +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-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= +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-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= +google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +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.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +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.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.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +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= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +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/DataDog/dd-trace-go.v1 v1.22.0/go.mod h1:DVp8HmDh8PuTu2Z0fVVlBsyWaC++fzwVCaGWylTe3tg= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= +gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4= +gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/jcmturner/aescts.v1 v1.0.1/go.mod h1:nsR8qBOg+OucoIW+WMhB3GspUQXq9XorLnQb9XtvcOo= +gopkg.in/jcmturner/dnsutils.v1 v1.0.1/go.mod h1:m3v+5svpVOhtFAP/wSz+yzh4Mc0Fg7eRhxkJMWSIz9Q= +gopkg.in/jcmturner/goidentity.v3 v3.0.0/go.mod h1:oG2kH0IvSYNIu80dVAyu/yoefjq1mNfM5bm88whjWx4= +gopkg.in/jcmturner/gokrb5.v7 v7.5.0/go.mod h1:l8VISx+WGYp+Fp7KRbsiUuXTTOnxIc3Tuvyavf11/WM= +gopkg.in/jcmturner/rpc.v1 v1.1.0/go.mod h1:YIdkC4XfD6GXbzje11McwsDuOlZQSb9W4vfLvuNnlv8= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +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.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +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-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.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gorm.io/driver/postgres v1.5.3 h1:qKGY5CPHOuj47K/VxbCXJfFvIUeqMSXXadqdCY+MbBU= +gorm.io/driver/postgres v1.5.3/go.mod h1:F+LtvlFhZT7UBiA81mC9W6Su3D4WUhSboc/36QZU0gk= +gorm.io/driver/sqlite v1.5.4 h1:IqXwXi8M/ZlPzH/947tn5uik3aYQslP9BVveoax0nV0= +gorm.io/driver/sqlite v1.5.4/go.mod h1:qxAuCol+2r6PannQDpOP1FP6ag3mKi4esLnB/jHed+4= +gorm.io/gorm v1.25.5 h1:zR9lOiiYf09VNh5Q1gphfyia1JpiClIWG9hQaxB/mls= +gorm.io/gorm v1.25.5/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= +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.24.1/go.mod h1:JhoOvNiLXKTPQ60zh2g0ewpA+bnEYf5q44Flhquh4vQ= +k8s.io/apimachinery v0.24.1 h1:ShD4aDxTQKN5zNf8K1RQ2u98ELLdIW7jEnlO9uAMX/I= +k8s.io/apimachinery v0.24.1/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= +k8s.io/client-go v0.24.1 h1:w1hNdI9PFrzu3OlovVeTnf4oHDt+FJLd9Ndluvnb42E= +k8s.io/client-go v0.24.1/go.mod h1:f1kIDqcEYmwXS/vTbbhopMUbhKp2JhOeVTfxgaCIlF8= +k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= +k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.90.1 h1:m4bYOKall2MmOiRaR1J+We67Do7vm9KiQVlT96lnHUw= +k8s.io/klog/v2 v2.90.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= +k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20230209194617-a36077c30491 h1:r0BAOLElQnnFhE/ApUsg3iHdVYYPBjNSSOMowRZxxsY= +k8s.io/utils v0.0.0-20230209194617-a36077c30491/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/json v0.0.0-20211208200746-9f7c6b3444d2 h1:kDi4JBNAsJWfz1aEXhO8Jg87JJaPNLh5tIzYHgStQ9Y= +sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= +sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= +sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= diff --git a/flyteartifacts/pkg/blob/artifact_blob_store.go b/flyteartifacts/pkg/blob/artifact_blob_store.go new file mode 100644 index 0000000000..36a9c30518 --- /dev/null +++ b/flyteartifacts/pkg/blob/artifact_blob_store.go @@ -0,0 +1,51 @@ +package blob + +import ( + "context" + "fmt" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/flyteorg/flyte/flytestdlib/storage" + "github.com/golang/protobuf/ptypes/any" +) + +type ArtifactBlobStore struct { + store *storage.DataStore +} + +// OffloadArtifactCard stores the artifact card in the blob store +func (a *ArtifactBlobStore) OffloadArtifactCard(ctx context.Context, name, version string, card *any.Any) (storage.DataReference, error) { + uri, err := a.store.ConstructReference(ctx, a.store.GetBaseContainerFQN(ctx), name, version) + if err != nil { + return "", fmt.Errorf("failed to construct data reference for [%s/%s] with err: %v", name, version, err) + } + err = a.store.WriteProtobuf(ctx, uri, storage.Options{}, card) + if err != nil { + return "", fmt.Errorf("failed to write protobuf to %s with err: %v", uri, err) + } + return uri, nil +} + +func (a *ArtifactBlobStore) RetrieveArtifactCard(ctx context.Context, uri storage.DataReference) (*any.Any, error) { + card := &any.Any{} + err := a.store.ReadProtobuf(ctx, uri, card) + if err != nil { + return nil, fmt.Errorf("failed to read protobuf from %s with err: %v", uri, err) + } + return nil, nil +} + +func NewArtifactBlobStore(ctx context.Context, scope promutils.Scope) ArtifactBlobStore { + storageCfg := configuration.GetApplicationConfig().ArtifactBlobStoreConfig + logger.Infof(ctx, "Initializing storage client with config [%+v]", storageCfg) + + dataStorageClient, err := storage.NewDataStore(&storageCfg, scope) + if err != nil { + logger.Error(ctx, "Failed to initialize storage config") + panic(err) + } + return ArtifactBlobStore{ + store: dataStorageClient, + } +} diff --git a/flyteartifacts/pkg/configuration/config.go b/flyteartifacts/pkg/configuration/config.go new file mode 100644 index 0000000000..7848789db1 --- /dev/null +++ b/flyteartifacts/pkg/configuration/config.go @@ -0,0 +1,61 @@ +package configuration + +import ( + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration/shared" + "github.com/flyteorg/flyte/flytestdlib/config" + stdLibDb "github.com/flyteorg/flyte/flytestdlib/database" + stdLibStorage "github.com/flyteorg/flyte/flytestdlib/storage" + + "time" +) + +const artifactsServer = "artifactsServer" + +type ApplicationConfiguration struct { + ArtifactDatabaseConfig stdLibDb.DbConfig `json:"artifactDatabaseConfig" pflag:",Database configuration"` + ArtifactBlobStoreConfig stdLibStorage.Config `json:"artifactBlobStoreConfig" pflag:",Blob store configuration"` + ArtifactServerConfig shared.ServerConfiguration `json:"artifactServerConfig" pflag:",Artifact server configuration"` +} + +var defaultApplicationConfiguration = ApplicationConfiguration{ + ArtifactDatabaseConfig: stdLibDb.DbConfig{ + EnableForeignKeyConstraintWhenMigrating: true, + MaxIdleConnections: 10, + MaxOpenConnections: 100, + ConnMaxLifeTime: config.Duration{Duration: time.Hour}, + Postgres: stdLibDb.PostgresConfig{ + // These values are suitable for local sandbox development + Host: "localhost", + Port: 30001, + DbName: "artifacts", + User: "postgres", + Password: "postgres", + ExtraOptions: "sslmode=disable", + }, + }, + ArtifactBlobStoreConfig: stdLibStorage.Config{ + InitContainer: "flyte-artifacts", + }, + ArtifactServerConfig: shared.ServerConfiguration{ + Metrics: shared.Metrics{ + MetricsScope: "service:", + Port: config.Port{Port: 10254}, + ProfilerEnabled: false, + }, + Port: config.Port{Port: 50051}, + HttpPort: config.Port{Port: 50050}, + GrpcMaxResponseStatusBytes: 320000, + GrpcServerReflection: false, + Security: shared.ServerSecurityOptions{ + Secure: false, + UseAuth: false, + }, + MaxConcurrentStreams: 100, + }, +} + +var ApplicationConfig = config.MustRegisterSection(artifactsServer, &defaultApplicationConfiguration) + +func GetApplicationConfig() *ApplicationConfiguration { + return ApplicationConfig.GetConfig().(*ApplicationConfiguration) +} diff --git a/flyteartifacts/pkg/configuration/processor_config.go b/flyteartifacts/pkg/configuration/processor_config.go new file mode 100644 index 0000000000..e5645336fe --- /dev/null +++ b/flyteartifacts/pkg/configuration/processor_config.go @@ -0,0 +1,32 @@ +package configuration + +import ( + "github.com/flyteorg/flyte/flytestdlib/config" +) + +const artifactsProcessor = "artifactsProcessor" + +// QueueSubscriberConfig is a generic config object for reading from things like SQS +type QueueSubscriberConfig struct { + // The name of the queue onto which workflow notifications will enqueue. + QueueName string `json:"queueName"` + // The account id (according to whichever cloud provider scheme is used) that has permission to read from the above + // queue. + AccountID string `json:"accountId"` +} + +type EventProcessorConfiguration struct { + CloudProvider config.CloudDeployment `json:"cloudProvider" pflag:",Your deployment environment."` + + Region string `json:"region" pflag:",The region if applicable for the cloud provider."` + + Subscriber QueueSubscriberConfig `json:"subscriber" pflag:",The configuration for the subscriber."` +} + +var defaultEventProcessorConfiguration = EventProcessorConfiguration{} + +var EventsProcessorConfig = config.MustRegisterSection(artifactsProcessor, &defaultEventProcessorConfiguration) + +func GetEventsProcessorConfig() *EventProcessorConfiguration { + return EventsProcessorConfig.GetConfig().(*EventProcessorConfiguration) +} diff --git a/flyteartifacts/pkg/configuration/shared/config.go b/flyteartifacts/pkg/configuration/shared/config.go new file mode 100644 index 0000000000..35c9d4ecfb --- /dev/null +++ b/flyteartifacts/pkg/configuration/shared/config.go @@ -0,0 +1,62 @@ +package shared + +import ( + "fmt" + "github.com/flyteorg/flyte/flytestdlib/config" +) + +const sharedServer = "sharedServer" + +type Metrics struct { + MetricsScope string `json:"metricsScope" pflag:",MetricsScope"` + Port config.Port `json:"port" pflag:",Profile port to start listen for pprof and metric handlers on."` + ProfilerEnabled bool `json:"profilerEnabled" pflag:",Enable Profiler on server"` +} + +type SslOptions struct { + CertificateAuthorityFile string `json:"certificateAuthorityFile"` + CertificateFile string `json:"certificateFile"` + KeyFile string `json:"keyFile"` +} + +type ServerSecurityOptions struct { + Secure bool `json:"secure"` + Ssl SslOptions `json:"ssl"` + UseAuth bool `json:"useAuth"` + AllowLocalhostAccess bool `json:"allowLocalhostAccess" pflag:",Whether to permit localhost unauthenticated access to the server"` +} + +type ServerConfiguration struct { + Metrics Metrics `json:"metrics" pflag:",Metrics configuration"` + Port config.Port `json:"port" pflag:",On which grpc port to serve"` + HttpPort config.Port `json:"httpPort" pflag:",On which http port to serve"` + GrpcMaxResponseStatusBytes int32 `json:"grpcMaxResponseStatusBytes" pflag:", specifies the maximum (uncompressed) size of header list that the client is prepared to accept on grpc calls"` + GrpcServerReflection bool `json:"grpcServerReflection" pflag:",Enable GRPC Server Reflection"` + Security ServerSecurityOptions `json:"security"` + MaxConcurrentStreams int `json:"maxConcurrentStreams" pflag:",Limit on the number of concurrent streams to each ServerTransport."` +} + +var sharedServerConfiguration = ServerConfiguration{ + Metrics: Metrics{ + MetricsScope: "service:", + Port: config.Port{Port: 10254}, + ProfilerEnabled: false, + }, + Port: config.Port{Port: 8089}, + HttpPort: config.Port{Port: 8088}, + GrpcMaxResponseStatusBytes: 320000, + GrpcServerReflection: false, + Security: ServerSecurityOptions{ + Secure: false, + UseAuth: false, + }, + MaxConcurrentStreams: 100, +} + +func (s ServerConfiguration) GetGrpcHostAddress() string { + return fmt.Sprintf("0.0.0.0:%s", s.Port.String()) +} + +func (s ServerConfiguration) GetHttpHostAddress() string { + return fmt.Sprintf("0.0.0.0:%s", s.HttpPort.String()) +} diff --git a/flyteartifacts/pkg/db/gorm_models.go b/flyteartifacts/pkg/db/gorm_models.go new file mode 100644 index 0000000000..bc033f186b --- /dev/null +++ b/flyteartifacts/pkg/db/gorm_models.go @@ -0,0 +1,85 @@ +package db + +import ( + "github.com/jackc/pgx/v5/pgtype" + "gorm.io/gorm" +) + +type ArtifactKey struct { + gorm.Model + Project string `gorm:"uniqueIndex:idx_pdn;index:idx_proj;type:varchar(64)"` + Domain string `gorm:"uniqueIndex:idx_pdn;index:idx_dom;type:varchar(64)"` + Name string `gorm:"uniqueIndex:idx_pdn;index:idx_name;type:varchar(255)"` +} + +// WorkflowExecution - The Project/Domain is assumed to always be the same as the Artifact. +// The +type WorkflowExecution struct { + gorm.Model + ExecutionProject string `gorm:"uniqueIndex:idx_we_pdn;index:idx_we_proj;type:varchar(64)"` + ExecutionDomain string `gorm:"uniqueIndex:idx_we_pdn;index:idx_we_dom;type:varchar(64)"` + ExecutionName string `gorm:"uniqueIndex:idx_we_pdn;index:idx_we_name;type:varchar(255)"` + InputArtifacts []Artifact `gorm:"many2many:execution_inputs;"` +} + +type Artifact struct { + gorm.Model + ArtifactKeyID uint `gorm:"not null;uniqueIndex:idx_artifact_version"` + ArtifactKey ArtifactKey `gorm:"foreignKey:ArtifactKeyID;references:ID"` + Version string `gorm:"not null;type:varchar(255);uniqueIndex:idx_artifact_version"` + Partitions pgtype.Hstore `gorm:"type:hstore;index:idx_artifact_partitions"` + + LiteralType []byte `gorm:"not null"` + LiteralValue []byte `gorm:"not null"` + + Description string `gorm:"type:varchar(255)"` + MetadataType string `gorm:"type:varchar(64)"` + OffloadedUserMetadata string `gorm:"type:varchar(255)"` + + WorkflowExecutionID uint `gorm:"index:idx_artifact_wf_exec_id"` + WorkflowExecution WorkflowExecution `gorm:"foreignKey:WorkflowExecutionID;references:ID"` + NodeID string `gorm:"type:varchar(128)"` + + WorkflowProject string `gorm:"type:varchar(64)"` + WorkflowDomain string `gorm:"type:varchar(64)"` + WorkflowName string `gorm:"type:varchar(255)"` + WorkflowVersion string `gorm:"type:varchar(255)"` + TaskProject string `gorm:"type:varchar(64)"` + TaskDomain string `gorm:"type:varchar(64)"` + TaskName string `gorm:"type:varchar(255)"` + TaskVersion string `gorm:"type:varchar(255)"` + // See Admin migration for note. + // Here nullable in the case of workflow output. + RetryAttempt *uint32 + + Principal string `gorm:"type:varchar(256)"` +} + +type TriggerKey struct { + gorm.Model + Project string `gorm:"uniqueIndex:idx_t_pdn;index:idx_t_proj;type:varchar(64)"` + Domain string `gorm:"uniqueIndex:idx_t_pdn;index:idx_t_dom;type:varchar(64)"` + Name string `gorm:"uniqueIndex:idx_t_pdn;index:idx_t_name;type:varchar(255)"` + RunsOn []ArtifactKey `gorm:"many2many:active_trigger_artifact_keys;"` +} + +type LaunchPlanID struct { + Name string `gorm:"not null;index:idx_lp_id;type:varchar(255)"` + Version string `gorm:"not null;type:varchar(255);index:idx_launch_plan_version"` +} + +type Trigger struct { + gorm.Model + TriggerKeyID uint `gorm:"uniqueIndex:idx_trigger_pdnv"` + TriggerKey TriggerKey `gorm:"foreignKey:TriggerKeyID;references:ID"` + Version string `gorm:"not null;type:varchar(255);index:idx_trigger_version;uniqueIndex:idx_trigger_pdnv"` + + // Unlike the one in the TriggerKey table, these are the list of artifact keys as specified by the user + // for this specific version. Currently just the key but can add additional fields in the future. + RunsOn []ArtifactKey `gorm:"many2many:trigger_ids_artifact_keys;"` + + Active bool `gorm:"index:idx_active"` + LaunchPlanID LaunchPlanID `gorm:"embedded"` + LaunchPlanSpec []byte `gorm:"not null"` + LaunchPlanClosure []byte `gorm:"not null"` +} diff --git a/flyteartifacts/pkg/db/gorm_transformers.go b/flyteartifacts/pkg/db/gorm_transformers.go new file mode 100644 index 0000000000..9569896f78 --- /dev/null +++ b/flyteartifacts/pkg/db/gorm_transformers.go @@ -0,0 +1,252 @@ +package db + +import ( + "context" + "fmt" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/golang/protobuf/proto" + "github.com/golang/protobuf/ptypes" + "github.com/jackc/pgx/v5/pgtype" +) + +func PartitionsIdlToHstore(idlPartitions *core.Partitions) pgtype.Hstore { + ctx := context.Background() + if idlPartitions == nil || idlPartitions.GetValue() == nil { + return nil + } + var hstore = make(pgtype.Hstore) + + for k, v := range idlPartitions.GetValue() { + if len(v.GetStaticValue()) == 0 { + logger.Warningf(ctx, "Partition key [%s] missing static value, [%+v]", k, v.GetValue()) + continue + } + sv := v.GetStaticValue() + hstore[k] = &sv + } + return hstore +} + +func HstoreToIdlPartitions(hs pgtype.Hstore) *core.Partitions { + if hs == nil || len(hs) == 0 { + return nil + } + m := make(map[string]*core.LabelValue, len(hs)) + for k, v := range hs { + m[k] = &core.LabelValue{ + Value: &core.LabelValue_StaticValue{ + StaticValue: *v, + }, + } + } + return &core.Partitions{ + Value: m, + } +} + +func ServiceToGormModel(serviceModel models.Artifact) (Artifact, error) { + partitions := PartitionsIdlToHstore(serviceModel.Artifact.GetArtifactId().GetPartitions()) + + ga := Artifact{ + ArtifactKey: ArtifactKey{ + Project: serviceModel.Artifact.ArtifactId.ArtifactKey.Project, + Domain: serviceModel.Artifact.ArtifactId.ArtifactKey.Domain, + Name: serviceModel.Artifact.ArtifactId.ArtifactKey.Name, + }, + Version: serviceModel.Artifact.ArtifactId.Version, + Partitions: partitions, + + LiteralType: serviceModel.LiteralTypeBytes, + LiteralValue: serviceModel.LiteralValueBytes, + Description: serviceModel.Artifact.Spec.ShortDescription, + MetadataType: serviceModel.Artifact.Spec.MetadataType, + OffloadedUserMetadata: serviceModel.OffloadedMetadata, + } + + if serviceModel.Artifact.GetSource().GetWorkflowExecution() != nil { + // artifact and execution project/domains are always the same. + // Note the service model will not have workflow execution if it was an upload + wfExec := WorkflowExecution{ + ExecutionProject: serviceModel.Artifact.ArtifactId.ArtifactKey.Project, + ExecutionDomain: serviceModel.Artifact.ArtifactId.ArtifactKey.Domain, + ExecutionName: serviceModel.Source.WorkflowExecution.Name, + } + ga.WorkflowExecution = wfExec + ga.NodeID = serviceModel.Source.NodeId + } + if serviceModel.GetSource() != nil { + ga.Principal = serviceModel.GetSource().GetPrincipal() + } + + if serviceModel.GetSource().GetTaskId() != nil { + // If task id is there, so should the retry attempt + retry := serviceModel.GetSource().GetRetryAttempt() + ga.RetryAttempt = &retry + ga.TaskProject = serviceModel.GetSource().GetTaskId().Project + ga.TaskDomain = serviceModel.GetSource().GetTaskId().Domain + ga.TaskName = serviceModel.GetSource().GetTaskId().Name + ga.TaskVersion = serviceModel.GetSource().GetTaskId().Version + } + + return ga, nil +} + +func GormToServiceModel(ga Artifact) (models.Artifact, error) { + lt := &core.LiteralType{} + lit := &core.Literal{} + if err := proto.Unmarshal(ga.LiteralType, lt); err != nil { + return models.Artifact{}, err + } + if err := proto.Unmarshal(ga.LiteralValue, lit); err != nil { + return models.Artifact{}, err + } + + a := artifact.Artifact{ + ArtifactId: &core.ArtifactID{ + ArtifactKey: &core.ArtifactKey{ + Project: ga.ArtifactKey.Project, + Domain: ga.ArtifactKey.Domain, + Name: ga.ArtifactKey.Name, + }, + Version: ga.Version, + }, + Spec: &artifact.ArtifactSpec{ + Value: lit, + Type: lt, + ShortDescription: ga.Description, + UserMetadata: nil, + MetadataType: ga.MetadataType, + }, + Tags: nil, + } + p := HstoreToIdlPartitions(ga.Partitions) + if p != nil { + a.ArtifactId.Dimensions = &core.ArtifactID_Partitions{Partitions: p} + } + aSrc := artifact.ArtifactSource{ + NodeId: ga.NodeID, + Principal: ga.Principal, + } + if ga.RetryAttempt != nil { + aSrc.RetryAttempt = *ga.RetryAttempt + } + if ga.WorkflowExecutionID != 0 { + execID := &core.WorkflowExecutionIdentifier{ + Project: ga.ArtifactKey.Project, + Domain: ga.ArtifactKey.Domain, + Name: ga.WorkflowExecution.ExecutionName, + } + aSrc.WorkflowExecution = execID + } + if ga.TaskProject != "" { + aSrc.TaskId = &core.Identifier{ + ResourceType: core.ResourceType_TASK, + Project: ga.TaskProject, + Domain: ga.TaskDomain, + Name: ga.TaskName, + Version: ga.TaskVersion, + } + } + a.Source = &aSrc + + return models.Artifact{ + Artifact: a, + OffloadedMetadata: "", + LiteralTypeBytes: ga.LiteralType, + LiteralValueBytes: ga.LiteralValue, + }, nil +} + +func ServiceToGormTrigger(serviceTrigger models.Trigger) Trigger { + + t := Trigger{ + TriggerKey: TriggerKey{ + Project: serviceTrigger.Project, + Domain: serviceTrigger.Domain, + Name: serviceTrigger.Name, + }, + Version: serviceTrigger.Version, + Active: serviceTrigger.Active, + LaunchPlanID: LaunchPlanID{ + Name: serviceTrigger.LaunchPlan.Id.Name, + Version: serviceTrigger.LaunchPlan.Id.Version, + }, + LaunchPlanSpec: serviceTrigger.SpecBytes, + LaunchPlanClosure: serviceTrigger.ClosureBytes, + } + + var runsOn = make([]ArtifactKey, len(serviceTrigger.RunsOn)) + for i, a := range serviceTrigger.RunsOn { + runsOn[i] = ArtifactKey{ + Project: a.ArtifactKey.Project, + Domain: a.ArtifactKey.Domain, + Name: a.ArtifactKey.Name, + } + } + t.RunsOn = runsOn + + return t +} + +func GormToServiceTrigger(gormTrigger Trigger) (models.Trigger, error) { + spec := &admin.LaunchPlanSpec{} + closure := &admin.LaunchPlanClosure{} + if err := proto.Unmarshal(gormTrigger.LaunchPlanSpec, spec); err != nil { + return models.Trigger{}, err + } + if err := proto.Unmarshal(gormTrigger.LaunchPlanClosure, closure); err != nil { + return models.Trigger{}, err + } + lpID := core.Identifier{ + ResourceType: core.ResourceType_LAUNCH_PLAN, + Project: gormTrigger.TriggerKey.Project, + Domain: gormTrigger.TriggerKey.Domain, + Name: gormTrigger.LaunchPlanID.Name, + Version: gormTrigger.Version, // gormTrigger.LaunchPlanID.Version, + } + t := models.Trigger{ + Project: gormTrigger.TriggerKey.Project, + Domain: gormTrigger.TriggerKey.Domain, + Name: gormTrigger.TriggerKey.Name, + Version: gormTrigger.Version, + Active: gormTrigger.Active, + LaunchPlanID: lpID, + LaunchPlan: &admin.LaunchPlan{ + Id: &lpID, + Spec: spec, + Closure: closure, + }, + SpecBytes: gormTrigger.LaunchPlanSpec, + ClosureBytes: gormTrigger.LaunchPlanClosure, + } + + // TODO: This is a copy/paste of the code in transformers.go. Refactor. + // Basically the DB model only has artifact keys, not whole artifact IDs including partitions + // so pull the artifact IDs again from the spec. + lc := spec.GetEntityMetadata().GetLaunchConditions() + + var err error + idlTrigger := core.Trigger{} + err = ptypes.UnmarshalAny(lc, &idlTrigger) + if err != nil { + logger.Errorf(context.TODO(), "Failed to unmarshal launch conditions to idl, metadata: [%+v]", spec.GetEntityMetadata()) + return models.Trigger{}, err + } + if len(idlTrigger.Triggers) == 0 { + return models.Trigger{}, fmt.Errorf("invalid request to CreateTrigger, launch conditions cannot be empty") + } + var runsOnArtifactIDs = make([]core.ArtifactID, len(idlTrigger.Triggers)) + for i, t := range idlTrigger.Triggers { + runsOnArtifactIDs[i] = *t + runsOnArtifactIDs[i].ArtifactKey.Project = lpID.Project + runsOnArtifactIDs[i].ArtifactKey.Domain = lpID.Domain + } + + t.RunsOn = runsOnArtifactIDs + + return t, nil +} diff --git a/flyteartifacts/pkg/db/metrics.go b/flyteartifacts/pkg/db/metrics.go new file mode 100644 index 0000000000..b275548cd4 --- /dev/null +++ b/flyteartifacts/pkg/db/metrics.go @@ -0,0 +1,34 @@ +package db + +import ( + "time" + + "github.com/flyteorg/flyte/flytestdlib/promutils" +) + +// Common metrics emitted by gormimpl repos. +type gormMetrics struct { + Scope promutils.Scope + CreateDuration promutils.StopWatch + GetDuration promutils.StopWatch + UpdateDuration promutils.StopWatch + SearchDuration promutils.StopWatch + + CreateTriggerDuration promutils.StopWatch +} + +func newMetrics(scope promutils.Scope) gormMetrics { + return gormMetrics{ + Scope: scope, + CreateDuration: scope.MustNewStopWatch( + "create", "time taken to create a new entry", time.Millisecond), + GetDuration: scope.MustNewStopWatch( + "get", "time taken to get an entry", time.Millisecond), + UpdateDuration: scope.MustNewStopWatch( + "update", "time taken to update an entry", time.Millisecond), + SearchDuration: scope.MustNewStopWatch( + "search", "time taken for searching", time.Millisecond), + CreateTriggerDuration: scope.MustNewStopWatch( + "createT", "time taken to create a new trigger", time.Millisecond), + } +} diff --git a/flyteartifacts/pkg/db/migrations.go b/flyteartifacts/pkg/db/migrations.go new file mode 100644 index 0000000000..719d17a8d9 --- /dev/null +++ b/flyteartifacts/pkg/db/migrations.go @@ -0,0 +1,117 @@ +package db + +import ( + "github.com/go-gormigrate/gormigrate/v2" + "github.com/jackc/pgx/v5/pgtype" + "gorm.io/gorm" +) + +var Migrations = []*gormigrate.Migration{ + { + ID: "2023-10-12-inits", + Migrate: func(tx *gorm.DB) error { + type ArtifactKey struct { + gorm.Model + Project string `gorm:"uniqueIndex:idx_pdn;index:idx_proj;type:varchar(64)"` + Domain string `gorm:"uniqueIndex:idx_pdn;index:idx_dom;type:varchar(64)"` + Name string `gorm:"uniqueIndex:idx_pdn;index:idx_name;type:varchar(255)"` + } + type WorkflowExecution struct { + gorm.Model + ExecutionProject string `gorm:"uniqueIndex:idx_we_pdn;index:idx_we_proj;type:varchar(64)"` + ExecutionDomain string `gorm:"uniqueIndex:idx_we_pdn;index:idx_we_dom;type:varchar(64)"` + ExecutionName string `gorm:"uniqueIndex:idx_we_pdn;index:idx_we_name;type:varchar(255)"` + InputArtifacts []Artifact `gorm:"many2many:execution_inputs;"` + } + + type Artifact struct { + gorm.Model + ArtifactKeyID uint `gorm:"not null;uniqueIndex:idx_artifact_version"` + ArtifactKey ArtifactKey `gorm:"foreignKey:ArtifactKeyID;references:ID"` + Version string `gorm:"not null;type:varchar(255);uniqueIndex:idx_artifact_version"` + Partitions pgtype.Hstore `gorm:"type:hstore;index:idx_artifact_partitions"` + + LiteralType []byte `gorm:"not null"` + LiteralValue []byte `gorm:"not null"` + + Description string `gorm:"type:varchar(255)"` + MetadataType string `gorm:"type:varchar(64)"` + OffloadedUserMetadata string `gorm:"type:varchar(255)"` + + WorkflowExecutionID uint `gorm:"index:idx_artifact_wf_exec_id"` + WorkflowExecution WorkflowExecution `gorm:"foreignKey:WorkflowExecutionID;references:ID"` + NodeID string `gorm:"type:varchar(128)"` + + WorkflowProject string `gorm:"type:varchar(64)"` + WorkflowDomain string `gorm:"type:varchar(64)"` + WorkflowName string `gorm:"type:varchar(255)"` + WorkflowVersion string `gorm:"type:varchar(255)"` + TaskProject string `gorm:"type:varchar(64)"` + TaskDomain string `gorm:"type:varchar(64)"` + TaskName string `gorm:"type:varchar(255)"` + TaskVersion string `gorm:"type:varchar(255)"` + // See Admin migration for note. + // Here nullable in the case of workflow output. + RetryAttempt *uint32 + + Principal string `gorm:"type:varchar(256)"` + } + err := tx.AutoMigrate( + &ArtifactKey{}, &Artifact{}, &WorkflowExecution{}, + ) + if err != nil { + return err + } + + tx.Exec("CREATE INDEX idx_gin_artifact_partitions ON artifacts USING GIN (partitions)") + tx.Exec("CREATE INDEX idx_created_at ON artifacts (created_at desc)") + return tx.Error + }, + Rollback: func(tx *gorm.DB) error { + return tx.Migrator().DropTable( + "artifacts", "artifact_keys", + ) + }, + }, + { + ID: "2023-10-22-trigger", + Migrate: func(tx *gorm.DB) error { + type TriggerKey struct { + gorm.Model + Project string `gorm:"uniqueIndex:idx_t_pdn;index:idx_t_proj;type:varchar(64)"` + Domain string `gorm:"uniqueIndex:idx_t_pdn;index:idx_t_dom;type:varchar(64)"` + Name string `gorm:"uniqueIndex:idx_t_pdn;index:idx_t_name;type:varchar(255)"` + RunsOn []ArtifactKey `gorm:"many2many:active_trigger_artifact_keys;"` + } + + type LaunchPlanID struct { + Name string `gorm:"not null;index:idx_lp_id;type:varchar(255)"` + Version string `gorm:"not null;type:varchar(255);index:idx_launch_plan_version"` + } + + type Trigger struct { + gorm.Model + TriggerKeyID uint `gorm:"uniqueIndex:idx_trigger_pdnv"` + TriggerKey TriggerKey `gorm:"foreignKey:TriggerKeyID;references:ID"` + Version string `gorm:"not null;type:varchar(255);index:idx_trigger_version;uniqueIndex:idx_trigger_pdnv"` + + // Unlike the one in the TriggerKey table, these are the list of artifact keys as specified by the user + // for this specific version. Currently just the key but can add additional fields in the future. + RunsOn []ArtifactKey `gorm:"many2many:trigger_ids_artifact_keys;"` + + Active bool `gorm:"index:idx_t_active"` + LaunchPlanID LaunchPlanID `gorm:"embedded"` + LaunchPlanSpec []byte `gorm:"not null"` + LaunchPlanClosure []byte `gorm:"not null"` + } + return tx.AutoMigrate( + &TriggerKey{}, &Trigger{}, + ) + }, + Rollback: func(tx *gorm.DB) error { + return tx.Migrator().DropTable( + "triggers", "trigger_keys", + ) + }, + }, +} diff --git a/flyteartifacts/pkg/db/querying_test.go b/flyteartifacts/pkg/db/querying_test.go new file mode 100644 index 0000000000..fd9ff014e4 --- /dev/null +++ b/flyteartifacts/pkg/db/querying_test.go @@ -0,0 +1,350 @@ +package db + +import ( + "context" + "database/sql" + "fmt" + "github.com/DATA-DOG/go-sqlmock" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/database" + "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/stretchr/testify/assert" + "testing" + + "gorm.io/driver/postgres" + "gorm.io/gorm" +) + +func getMockRds(t *testing.T) (*sql.DB, sqlmock.Sqlmock, RDSStorage) { + dbCfg := database.DbConfig{} + + mockDb, mock, err := sqlmock.New() + assert.NoError(t, err) + dialector := postgres.New(postgres.Config{ + Conn: mockDb, + DriverName: "postgres", + }) + db, _ := gorm.Open(dialector, &gorm.Config{}) + + scope := promutils.NewTestScope() + rds := RDSStorage{ + config: dbCfg, + db: db, + metrics: newMetrics(scope), + } + return mockDb, mock, rds +} + +func TestQuery1(t *testing.T) { + ctx := context.Background() + + mockDb, mock, rds := getMockRds(t) + defer func(mockDb *sql.DB) { + err := mockDb.Close() + assert.NoError(t, err) + }(mockDb) + + //rows := sqlmock.NewRows([]string{"Code", "Price"}).AddRow("D43", 100) + //mock.ExpectQuery(`SELECT`).WillReturnRows(rows) + + query := core.ArtifactQuery{ + Identifier: &core.ArtifactQuery_ArtifactId{ + ArtifactId: &core.ArtifactID{ + ArtifactKey: &core.ArtifactKey{ + Project: "pp", + Domain: "dd", + Name: "nn", + }, + Version: "abc", + Dimensions: nil, + }, + }, + } + _, err := rds.GetArtifact(ctx, query) + assert.NoError(t, err) + + //mock.ExpectQuery("SELECT") + mock.ExpectClose() +} + +func TestQuery2_Create(t *testing.T) { + ctx := context.Background() + + mockDb, mock, rds := getMockRds(t) + defer func(mockDb *sql.DB) { + err := mockDb.Close() + assert.NoError(t, err) + }(mockDb) + + a := artifact.Artifact{ + ArtifactId: &core.ArtifactID{ + ArtifactKey: &core.ArtifactKey{ + Project: "pp", + Domain: "dd", + Name: "nn", + }, + Version: "abc", + Dimensions: nil, + }, + Spec: &artifact.ArtifactSpec{ + Value: nil, + Type: nil, + }, + Source: &artifact.ArtifactSource{ + WorkflowExecution: &core.WorkflowExecutionIdentifier{ + Project: "pp", + Domain: "dd", + Name: "artifact_name", + }, + NodeId: "node1", + Principal: "foo", + }, + } + + mock.ExpectBegin() + _, err := rds.CreateArtifact(ctx, models.Artifact{ + Artifact: a, + LiteralTypeBytes: []byte("hello"), + LiteralValueBytes: []byte("world"), + }) + assert.NoError(t, err) + + //mock.ExpectQuery("SELECT") + mock.ExpectClose() +} + +func TestQuery3_Find(t *testing.T) { + ctx := context.Background() + + mockDb, mock, rds := getMockRds(t) + defer func(mockDb *sql.DB) { + err := mockDb.Close() + assert.NoError(t, err) + }(mockDb) + + p := models.PartitionsToIdl(map[string]string{"region": "LAX"}) + + s := artifact.SearchArtifactsRequest{ + ArtifactKey: &core.ArtifactKey{ + Domain: "development", + }, + Partitions: p, + Principal: "", + Version: "", + Options: nil, + } + + res, ct, err := rds.SearchArtifacts(ctx, s) + assert.NoError(t, err) + + fmt.Println(res, ct) + + s = artifact.SearchArtifactsRequest{ + ArtifactKey: &core.ArtifactKey{ + Domain: "development", + }, + Partitions: p, + Principal: "", + Version: "", + Options: &artifact.SearchOptions{ + StrictPartitions: true, + }, + } + + res, ct, err = rds.SearchArtifacts(ctx, s) + assert.NoError(t, err) + + s = artifact.SearchArtifactsRequest{ + ArtifactKey: &core.ArtifactKey{ + Domain: "development", + }, + Principal: "abc", + Version: "vxyz", + Options: &artifact.SearchOptions{ + StrictPartitions: true, + }, + } + + res, ct, err = rds.SearchArtifacts(ctx, s) + assert.NoError(t, err) + + fmt.Println(res, ct) + + mock.ExpectClose() +} + +func TestQuery4_Find(t *testing.T) { + ctx := context.Background() + + mockDb, mock, rds := getMockRds(t) + defer func(mockDb *sql.DB) { + err := mockDb.Close() + assert.NoError(t, err) + }(mockDb) + + s := artifact.SearchArtifactsRequest{ + ArtifactKey: &core.ArtifactKey{ + Domain: "development", + }, + Principal: "", + Version: "", + Options: nil, + } + + res, ct, err := rds.SearchArtifacts(ctx, s) + assert.NoError(t, err) + + fmt.Println(res, ct) + + mock.ExpectClose() +} + +func TestQuery5_Find(t *testing.T) { + ctx := context.Background() + + mockDb, mock, rds := getMockRds(t) + defer func(mockDb *sql.DB) { + err := mockDb.Close() + assert.NoError(t, err) + }(mockDb) + + s := artifact.SearchArtifactsRequest{ + ArtifactKey: &core.ArtifactKey{ + Domain: "development", + }, + Principal: "", + Version: "", + Token: "1", + Options: &artifact.SearchOptions{ + LatestByKey: true, + }, + } + + res, ct, err := rds.SearchArtifacts(ctx, s) + assert.NoError(t, err) + + fmt.Println(res, ct) + + mock.ExpectClose() +} + +func TestLineage1_Input(t *testing.T) { + ctx := context.Background() + + mockDb, mock, rds := getMockRds(t) + defer func(mockDb *sql.DB) { + err := mockDb.Close() + assert.NoError(t, err) + }(mockDb) + + r := artifact.FindByWorkflowExecRequest{ + ExecId: &core.WorkflowExecutionIdentifier{ + Project: "pr", + Domain: "do", + Name: "nnn", + }, + Direction: 0, + } + + res, err := rds.FindByWorkflowExec(ctx, &r) + assert.NoError(t, err) + + fmt.Println(res) + + mock.ExpectClose() +} + +func TestLineage2_Output(t *testing.T) { + ctx := context.Background() + + mockDb, mock, rds := getMockRds(t) + defer func(mockDb *sql.DB) { + err := mockDb.Close() + assert.NoError(t, err) + }(mockDb) + + r := artifact.FindByWorkflowExecRequest{ + ExecId: &core.WorkflowExecutionIdentifier{ + Project: "pr", + Domain: "do", + Name: "nnn", + }, + Direction: 1, + } + + res, err := rds.FindByWorkflowExec(ctx, &r) + assert.NoError(t, err) + + fmt.Println(res) + + mock.ExpectClose() +} + +func TestLineage3_Set(t *testing.T) { + ctx := context.Background() + + mockDb, mock, rds := getMockRds(t) + defer func(mockDb *sql.DB) { + err := mockDb.Close() + assert.NoError(t, err) + }(mockDb) + + ak := core.ArtifactKey{ + Project: "pr", + Domain: "do", + Name: "nnn", + } + ids := []*core.ArtifactID{ + { + ArtifactKey: &ak, + Version: "v1", + }, + { + ArtifactKey: &ak, + Version: "v2", + }, + } + + r := artifact.ExecutionInputsRequest{ + ExecutionId: &core.WorkflowExecutionIdentifier{ + Project: "pr", + Domain: "do", + Name: "nnn", + }, + Inputs: ids, + } + mock.ExpectBegin() + err := rds.SetExecutionInputs(ctx, &r) + assert.NoError(t, err) + mock.ExpectClose() +} + +func TestLineagedd3_Set(t *testing.T) { + mockDb, mock, rds := getMockRds(t) + defer func(mockDb *sql.DB) { + err := mockDb.Close() + assert.NoError(t, err) + }(mockDb) + defer func(mockDb *sql.DB) { + err := mockDb.Close() + assert.NoError(t, err) + }(mockDb) + + type Language struct { + gorm.Model + Name string //`gorm:"uniqueIndex:idx_lang_name"` + } + type User struct { + gorm.Model + Name string + Languages []Language `gorm:"many2many:user_languages;"` + } + var userLanguages []Language + var dbUser User + err := rds.db.Model(&dbUser).Where("name = ?", "chinese").Association("Languages").Find(&userLanguages) + + assert.NoError(t, err) + mock.ExpectClose() +} diff --git a/flyteartifacts/pkg/db/storage.go b/flyteartifacts/pkg/db/storage.go new file mode 100644 index 0000000000..177e9741cb --- /dev/null +++ b/flyteartifacts/pkg/db/storage.go @@ -0,0 +1,561 @@ +package db + +import ( + "context" + "errors" + "fmt" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" + "github.com/flyteorg/flyte/flyteartifacts/pkg/lib" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/database" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "gorm.io/gorm" + "strconv" +) + +// RDSStorage should implement StorageInterface +type RDSStorage struct { + config database.DbConfig + db *gorm.DB + metrics gormMetrics +} + +// CreateArtifact helps implement StorageInterface +func (r *RDSStorage) CreateArtifact(ctx context.Context, serviceModel models.Artifact) (models.Artifact, error) { + timer := r.metrics.CreateDuration.Start() + logger.Debugf(ctx, "Attempt create artifact [%s:%s]", + serviceModel.Artifact.ArtifactId.ArtifactKey.Name, serviceModel.Artifact.ArtifactId.Version) + gormModel, err := ServiceToGormModel(serviceModel) + if err != nil { + logger.Errorf(ctx, "Failed to convert service model to gorm model: %+v", err) + return models.Artifact{}, err + } + + // Check to see if the artifact key already exists. + // do the create in a transaction + err = r.db.WithContext(ctx).Transaction(func(tx *gorm.DB) error { + var extantKey ArtifactKey + ak := ArtifactKey{ + Project: serviceModel.Artifact.ArtifactId.ArtifactKey.Project, + Domain: serviceModel.Artifact.ArtifactId.ArtifactKey.Domain, + Name: serviceModel.Artifact.ArtifactId.ArtifactKey.Name, + } + tx.FirstOrCreate(&extantKey, ak) + if err := tx.Error; err != nil { + logger.Errorf(ctx, "Failed to firstorcreate key: %+v", err) + return err + } + gormModel.ArtifactKeyID = extantKey.ID + gormModel.ArtifactKey = ArtifactKey{} // zero out the artifact key + + if serviceModel.GetSource().GetWorkflowExecution() != nil { + var extantWfExec WorkflowExecution + we := WorkflowExecution{ + ExecutionProject: serviceModel.Artifact.ArtifactId.ArtifactKey.Project, + ExecutionDomain: serviceModel.Artifact.ArtifactId.ArtifactKey.Domain, + ExecutionName: serviceModel.Source.WorkflowExecution.Name, + } + tx.FirstOrCreate(&extantWfExec, we) + if err := tx.Error; err != nil { + logger.Errorf(ctx, "Failed to firstorcreate wf exec: %+v", err) + return err + } + gormModel.WorkflowExecutionID = extantWfExec.ID + gormModel.WorkflowExecution = WorkflowExecution{} // zero out the workflow execution + } + + tx.Create(&gormModel) + if tx.Error != nil { + logger.Errorf(ctx, "Failed to create artifact %+v", tx.Error) + return tx.Error + } + getSaved := tx.Preload("ArtifactKey").Preload("WorkflowExecution").First(&gormModel, "id = ?", gormModel.ID) + if getSaved.Error != nil { + logger.Errorf(ctx, "Failed to find artifact that was just saved: %+v", getSaved.Error) + return getSaved.Error + } + return nil + }) + if err != nil { + logger.Errorf(ctx, "Failed transaction upsert on key [%v]: %+v", serviceModel.ArtifactId, err) + return models.Artifact{}, err + } + timer.Stop() + svcModel, err := GormToServiceModel(gormModel) + if err != nil { + // metric + logger.Errorf(ctx, "Failed to convert gorm model to service model: %+v", err) + return models.Artifact{}, err + } + + return svcModel, nil +} + +func (r *RDSStorage) handleUriGet(ctx context.Context, uri string) (models.Artifact, error) { + artifactID, tag, err := lib.ParseFlyteURL(uri) + if err != nil { + logger.Errorf(ctx, "Failed to parse uri [%s]: %+v", uri, err) + return models.Artifact{}, err + } + if tag != "" { + return models.Artifact{}, fmt.Errorf("tag not implemented yet") + } + logger.Debugf(ctx, "Extracted artifact id [%v] from uri [%s], using id handler", artifactID, uri) + return r.handleArtifactIdGet(ctx, artifactID) +} + +func (r *RDSStorage) handleArtifactIdGet(ctx context.Context, artifactID core.ArtifactID) (models.Artifact, error) { + var gotArtifact Artifact + ak := ArtifactKey{ + Project: artifactID.ArtifactKey.Project, + Domain: artifactID.ArtifactKey.Domain, + Name: artifactID.ArtifactKey.Name, + } + db := r.db.Model(&Artifact{}).InnerJoins("ArtifactKey", r.db.Where(&ak)).Joins("WorkflowExecution") + if artifactID.Version != "" { + db = db.Where("version = ?", artifactID.Version) + } + + // @eduardo - not actually sure if this is doing a strict match. + if artifactID.GetPartitions() != nil && len(artifactID.GetPartitions().GetValue()) > 0 { + partitionMap := PartitionsIdlToHstore(artifactID.GetPartitions()) + db = db.Where("partitions = ?", partitionMap) + } else { + // Be strict about partitions. If not specified, that means, we're looking + // for null + db = db.Where("partitions is null") + } + db.Order("created_at desc").Limit(1) + db = db.First(&gotArtifact) + if err := db.Error; err != nil { + if errors.Is(err, gorm.ErrRecordNotFound) { + logger.Infof(ctx, "Artifact not found: %+v", artifactID) + // todo: return grpc errors at the service layer not here. + return models.Artifact{}, status.Errorf(codes.NotFound, "artifact [%v] not found", artifactID) + } + logger.Errorf(ctx, "Failed to query for artifact: %+v", err) + return models.Artifact{}, err + } + logger.Debugf(ctx, "Found and returning artifact key %v", gotArtifact) + m, err := GormToServiceModel(gotArtifact) + if err != nil { + logger.Errorf(ctx, "Failed to convert gorm model to service model: %+v", err) + return models.Artifact{}, err + } + return m, nil +} + +func (r *RDSStorage) GetArtifact(ctx context.Context, query core.ArtifactQuery) (models.Artifact, error) { + timer := r.metrics.GetDuration.Start() + + var resp models.Artifact + var err error + if query.GetUri() != "" { + logger.Debugf(ctx, "found uri in query: %+v", query.GetUri()) + resp, err = r.handleUriGet(ctx, query.GetUri()) + } else if query.GetArtifactId() != nil { + logger.Debugf(ctx, "found artifact_id in query: %+v", *query.GetArtifactId()) + resp, err = r.handleArtifactIdGet(ctx, *query.GetArtifactId()) + } else if query.GetArtifactTag() != nil { + return models.Artifact{}, fmt.Errorf("artifact tag not implemented yet") + } else { + return models.Artifact{}, fmt.Errorf("query must contain either uri, artifact_id, or artifact_tag") + } + timer.Stop() + return resp, err +} + +func (r *RDSStorage) CreateTrigger(ctx context.Context, trigger models.Trigger) (models.Trigger, error) { + + timer := r.metrics.CreateTriggerDuration.Start() + logger.Debugf(ctx, "Attempt create trigger [%s:%s]", trigger.Name, trigger.Version) + dbTrigger := ServiceToGormTrigger(trigger) + // TODO: Add a check to ensure that the artifact IDs that the trigger is triggering on are unique if more than one. + + // The first transaction just saves artifact keys, in case there are no artifacts + // yet in the database that the trigger depends on. + err := r.db.WithContext(ctx).Transaction(func(tx *gorm.DB) error { + for _, ak := range dbTrigger.RunsOn { + var extantKey ArtifactKey + tx.FirstOrCreate(&extantKey, ak) + if err := tx.Error; err != nil { + logger.Errorf(ctx, "Failed to firstorcreate key: %+v", err) + return err + } + } + return nil + }) + + if err != nil { + logger.Errorf(ctx, "Failed to pre-save artifact keys [%s]: %+v", trigger.Name, err) + return models.Trigger{}, err + } + + // Check to see if the trigger key already exists. Create if not + err = r.db.WithContext(ctx).Transaction(func(tx *gorm.DB) error { + var extantKey TriggerKey + + tx.FirstOrCreate(&extantKey, dbTrigger.TriggerKey) + if err := tx.Error; err != nil { + logger.Errorf(ctx, "Failed to firstorcreate key: %+v", err) + return err + } + + // Look for all earlier versions of the trigger and mark them inactive + setFalse := tx.Model(&Trigger{}).Where("trigger_key_id = ?", extantKey.ID).Update("active", false) + if tx.Error != nil { + logger.Errorf(ctx, "transaction error marking earlier versions inactive for %s: %+v", dbTrigger.TriggerKey.Name, tx.Error) + return tx.Error + } + if setFalse.Error != nil { + logger.Errorf(ctx, "Failed to mark earlier versions inactive for %s: %+v", dbTrigger.TriggerKey.Name, setFalse.Error) + return setFalse.Error + } + + var artifactKeys []ArtifactKey + + db := r.db.Model(&ArtifactKey{}).Where(&dbTrigger.RunsOn).Find(&artifactKeys) + if db.Error != nil { + logger.Errorf(ctx, "Error %v", db.Error) + return db.Error + } + if len(artifactKeys) != len(dbTrigger.RunsOn) { + logger.Errorf(ctx, "Could not find all artifact keys for trigger: %+v, only found %v", dbTrigger.RunsOn, artifactKeys) + return fmt.Errorf("could not find all artifact keys for trigger") + } + dbTrigger.RunsOn = artifactKeys + + dbTrigger.TriggerKeyID = extantKey.ID + dbTrigger.TriggerKey = TriggerKey{} // zero out the artifact key + // This create should update the join table between individual triggers and artifact keys + tt := tx.Save(&dbTrigger) + if tx.Error != nil || tt.Error != nil { + if tx.Error != nil { + logger.Errorf(ctx, "Transaction error: %v", tx.Error) + return tx.Error + } + logger.Errorf(ctx, "Save query failed with: %v", tt.Error) + return tt.Error + } + var savedTrigger Trigger + tt = tx.Preload("TriggerKey").Preload("RunsOn").First(&savedTrigger, "id = ?", dbTrigger.ID) + if tx.Error != nil || tt.Error != nil { + if tx.Error != nil { + logger.Errorf(ctx, "Transaction error: %v", tx.Error) + return tx.Error + } + logger.Errorf(ctx, "Failed to find trigger that was just saved: %+v", tx.Error) + return tt.Error + } + + // Next update the active_trigger_artifact_keys join table that keeps track of active key relationships + // That is, if you have a trigger_on=[artifactA, artifactB], this table links the trigger's name to those + // artifact names. If you register a new version of the trigger that is just trigger_on=[artifactC], then + // this table should just hold the reference to artifactC. + err := tx.Model(&savedTrigger.TriggerKey).Association("RunsOn").Replace(savedTrigger.RunsOn) + if err != nil { + logger.Errorf(ctx, "Failed to update active_trigger_artifact_keys: %+v", err) + return err + } + + return nil + }) + if err != nil { + if database.IsPgErrorWithCode(err, database.PgDuplicatedKey) { + logger.Infof(ctx, "Duplicate key detected, the current transaction will be cancelled: %s %s", trigger.Name, trigger.Version) + // TODO: Replace with the retrieved Trigger object maybe + // TODO: Add an error handling layer that translates from pg errors to a general service error. + return models.Trigger{}, err + } else { + logger.Errorf(ctx, "Failed transaction upsert on key [%s]: %+v", trigger.Name, err) + return models.Trigger{}, err + } + } + timer.Stop() + + return models.Trigger{}, nil +} + +func (r *RDSStorage) GetLatestTrigger(ctx context.Context, project, domain, name string) (models.Trigger, error) { + var gotTrigger Trigger + tk := TriggerKey{ + Project: project, + Domain: domain, + Name: name, + } + db := r.db.Model(&Trigger{}).InnerJoins("TriggerKey", r.db.Where(&tk)) + db = db.Where("active = true").Order("created_at desc").Limit(1).First(&gotTrigger) + if err := db.Error; err != nil { + if errors.Is(err, gorm.ErrRecordNotFound) { + logger.Infof(ctx, "Trigger not found: %+v", tk) + return models.Trigger{}, fmt.Errorf("could not find a latest trigger") + } + logger.Errorf(ctx, "Failed to query for triggers: %+v", err) + return models.Trigger{}, err + } + logger.Debugf(ctx, "Found and returning trigger obj %v", gotTrigger) + + m, err := GormToServiceTrigger(gotTrigger) + if err != nil { + logger.Errorf(ctx, "Failed to convert gorm model to service model: %+v", err) + return models.Trigger{}, err + } + return m, nil +} + +// GetTriggersByArtifactKey - Given an artifact key, presumably of a newly created artifact, find active triggers that +// trigger on that key (and potentially others). +func (r *RDSStorage) GetTriggersByArtifactKey(ctx context.Context, key core.ArtifactKey) ([]models.Trigger, error) { + // First find the trigger keys relevant to the artifact key + // then find the most recent, active, version of each trigger key. + + var triggerKey []TriggerKey + db := r.db.Preload("RunsOn"). + Joins("inner join active_trigger_artifact_keys ug on ug.trigger_key_id = trigger_keys.id "). + Joins("inner join artifact_keys g on g.id= ug.artifact_key_id "). + Where("g.project = ? and g.domain = ? and g.name = ?", key.Project, key.Domain, key.Name). + Find(&triggerKey) + + err := db.Error + if err != nil { + logger.Errorf(ctx, "Failed to find triggers for artifact key %v: %+v", key, err) + return nil, err + } + logger.Debugf(ctx, "Found trigger keys: %+v for artifact key %v", triggerKey, key) + if triggerKey == nil || len(triggerKey) == 0 { + logger.Infof(ctx, "No triggers found for artifact key %v", key) + return nil, nil + } + + ts := make([]Trigger, len(triggerKey)) + + var triggerCondition = r.db.Where(&triggerKey[0]) + if len(triggerKey) > 1 { + for _, tk := range triggerKey[1:] { + triggerCondition = triggerCondition.Or(&tk) + } + } + + db = r.db.Preload("RunsOn").Model(&Trigger{}).InnerJoins("TriggerKey", triggerCondition).Where("active = true").Find(&ts) + if err := db.Error; err != nil { + logger.Errorf(ctx, "Failed to query for triggers: %+v", err) + return nil, err + } + logger.Debugf(ctx, "Found (%d) triggers %v", len(ts), ts) + + modelTriggers := make([]models.Trigger, len(ts)) + for i, t := range ts { + st, err := GormToServiceTrigger(t) + if err != nil { + logger.Errorf(ctx, "Failed to convert gorm model to service model: %+v", err) + return nil, err + } + modelTriggers[i] = st + } + + return modelTriggers, nil +} + +func (r *RDSStorage) SearchArtifacts(ctx context.Context, request artifact.SearchArtifactsRequest) ([]models.Artifact, string, error) { + + var offset = 0 + var err error + if request.GetToken() != "" { + offset, err = strconv.Atoi(request.GetToken()) + if err != nil { + logger.Errorf(ctx, "Failed to convert offset to int: %+v", err) + return nil, "", err + } + } + + var db *gorm.DB + if request.GetOptions() != nil && request.GetOptions().LatestByKey { + db = r.db.Select(`distinct on ("ArtifactKey"."project", "ArtifactKey"."domain", "ArtifactKey"."name") "artifacts".*`).Model(&Artifact{}) + } else { + db = r.db.Model(&Artifact{}) + } + + if request.GetArtifactKey() != nil { + gormAk := ArtifactKey{ + Project: request.GetArtifactKey().Project, + Domain: request.GetArtifactKey().Domain, + Name: request.GetArtifactKey().Name, + } + db = db.InnerJoins("ArtifactKey", r.db.Where(&gormAk)) + } + + if request.GetOptions() != nil && request.GetOptions().StrictPartitions { + // strict means if partitions is not specified, then partitions is set to empty + if request.GetPartitions() != nil && len(request.GetPartitions().GetValue()) > 0 { + partitionMap := PartitionsIdlToHstore(request.GetPartitions()) + db = db.Where("partitions = ?", partitionMap) + } else { + db = db.Where("partitions is null or partitions = ''") + } + } else { + // make this not-strict, and make the handleArtifactIdGet one strict. + // this should be what the @> comparison does. + if request.GetPartitions() != nil && len(request.GetPartitions().GetValue()) > 0 { + partitionMap := PartitionsIdlToHstore(request.GetPartitions()) + db = db.Where("partitions @> ?", partitionMap) + } + } + + if request.Principal != "" { + db = db.Where("principal = ?", request.Principal) + } + + if request.Version != "" { + db = db.Where("version = ?", request.Version) + } + + var limit = 10 + if request.Limit != 0 { + limit = int(request.Limit) + } + if request.GetOptions() != nil && request.GetOptions().LatestByKey { + db.Order(`"ArtifactKey"."project", "ArtifactKey"."domain", "ArtifactKey"."name", created_at desc`) + } else { + db.Order("created_at desc") + } + + var results []Artifact + db.Limit(limit).Offset(offset).Find(&results) + + if len(results) == 0 { + logger.Debugf(ctx, "No artifacts found for query: %+v", request) + return nil, "", nil + } + var res = make([]models.Artifact, len(results)) + for i, ga := range results { + a, err := GormToServiceModel(ga) + if err != nil { + logger.Errorf(ctx, "Failed to convert %v: %+v", ga, err) + return nil, "", err + } + res[i] = a + } + + return res, fmt.Sprintf("%d", offset+len(res)), nil +} + +func (r *RDSStorage) SetExecutionInputs(ctx context.Context, req *artifact.ExecutionInputsRequest) error { + err := r.db.WithContext(ctx).Transaction(func(tx *gorm.DB) error { + + var newInputs = make([]Artifact, len(req.GetInputs())) + for i, a := range req.GetInputs() { + if a.Version == "" { + return fmt.Errorf("version must be specified for artifact %v", a.ArtifactKey) + } + ak := ArtifactKey{ + Project: a.ArtifactKey.Project, + Domain: a.ArtifactKey.Domain, + Name: a.ArtifactKey.Name, + } + var dbArtifact Artifact + r.db.Model(&Artifact{}).InnerJoins("ArtifactKey", r.db.Where(&ak)).Where("version = ?", a.Version).First(&dbArtifact) + newInputs[i] = dbArtifact + } + we := WorkflowExecution{ + ExecutionProject: req.ExecutionId.Project, + ExecutionDomain: req.ExecutionId.Domain, + ExecutionName: req.ExecutionId.Name, + } + var dbWe WorkflowExecution + // Create the execution if it doesn't exist. When we hit this part, we're keeping track of what artifacts + // an execution used as inputs. We need to create because the execution itself might otherwise never exist + // in the artifact db if it doesn't itself produce artifacts. + tx.FirstOrCreate(&dbWe, we) + if err := tx.Error; err != nil { + logger.Errorf(ctx, "Failed to firstorcreate workflow exec %v: %+v", we, err) + return err + } + + err := tx.Model(&dbWe).Association("InputArtifacts").Append(&newInputs) + + if err != nil { + logger.Errorf(ctx, "Failed to update input artifacts: %+v", err) + return err + } + + return nil + }) + + return err +} + +func (r *RDSStorage) findWorkflowInputs(ctx context.Context, we WorkflowExecution) ([]Artifact, error) { + var usedAsInputs []Artifact + var dbWe WorkflowExecution + err := r.db.Preload("InputArtifacts").Where(we).First(&dbWe).Error + if err != nil { + logger.Errorf(ctx, "The requested workflow execution %v does not exist: %+v", we, err) + return nil, err + } + err = r.db.Model(&dbWe).Association("InputArtifacts").Find(&usedAsInputs) + if err != nil { + logger.Errorf(ctx, "Failed to find artifacts used as inputs for workflow execution %v: %+v", we, err) + return nil, err + } + return usedAsInputs, nil +} + +func (r *RDSStorage) FindByWorkflowExec(ctx context.Context, request *artifact.FindByWorkflowExecRequest) ([]models.Artifact, error) { + we := WorkflowExecution{ + ExecutionProject: request.ExecId.Project, + ExecutionDomain: request.ExecId.Domain, + ExecutionName: request.ExecId.Name, + } + var artifacts []Artifact + var err error + if request.Direction == artifact.FindByWorkflowExecRequest_INPUTS { + // What are the artifacts that this workflow execution used as inputs? + artifacts, err = r.findWorkflowInputs(ctx, we) + } else { + // What artifacts were produced as outputs by this workflow execution? + db := r.db.Model(&Artifact{}).InnerJoins("WorkflowExecution", r.db.Where(&we)) + db.Order("created_at desc").Find(&artifacts) + err = db.Error + } + + if err != nil { + logger.Errorf(ctx, "Failed to find artifacts for workflow execution: %+v", err) + return nil, err + } + + if len(artifacts) == 0 { + logger.Debugf(ctx, "No artifacts found for workflow execution: %+v", request) + return nil, nil + } + var res = make([]models.Artifact, len(artifacts)) + for i, ga := range artifacts { + a, err := GormToServiceModel(ga) + if err != nil { + logger.Errorf(ctx, "Failed to convert %v: %+v", ga, err) + return nil, err + } + res[i] = a + } + + return res, nil +} + +func NewStorage(ctx context.Context, scope promutils.Scope) *RDSStorage { + dbCfg := configuration.ApplicationConfig.GetConfig().(*configuration.ApplicationConfiguration).ArtifactDatabaseConfig + logConfig := logger.GetConfig() + + db, err := database.GetDB(ctx, &dbCfg, logConfig) + if err != nil { + logger.Fatal(ctx, err) + } + return &RDSStorage{ + config: dbCfg, + db: db, + metrics: newMetrics(scope), + } +} diff --git a/flyteartifacts/pkg/db/storage_test.go b/flyteartifacts/pkg/db/storage_test.go new file mode 100644 index 0000000000..ef99d160b1 --- /dev/null +++ b/flyteartifacts/pkg/db/storage_test.go @@ -0,0 +1,149 @@ +//go:build local_integration + +// Eduardo - add this build tag to run this test + +package db + +import ( + "context" + "fmt" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "os" + "testing" + + "github.com/flyteorg/flyte/flytestdlib/config" + "github.com/flyteorg/flyte/flytestdlib/config/viper" + "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/stretchr/testify/assert" + + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" +) + +func TestBasicWrite(t *testing.T) { + ctx := context.Background() + sandboxCfgFile := os.ExpandEnv("$GOPATH/src/github.com/flyteorg/flyte/flyteartifacts/sandbox.yaml") + configAccessor := viper.NewAccessor(config.Options{ + SearchPaths: []string{sandboxCfgFile}, + StrictMode: false, + }) + err := configAccessor.UpdateConfig(ctx) + + fmt.Println("Local integration testing using: ", configAccessor.ConfigFilesUsed()) + scope := promutils.NewTestScope() + rds := NewStorage(ctx, scope) + + lt := &core.LiteralType{ + Type: &core.LiteralType_Simple{Simple: core.SimpleType_INTEGER}, + } + lit := &core.Literal{ + Value: &core.Literal_Scalar{ + Scalar: &core.Scalar{ + Value: &core.Scalar_Primitive{ + Primitive: &core.Primitive{ + Value: &core.Primitive_Integer{Integer: 15}, + }, + }, + }, + }, + } + + ak := &core.ArtifactKey{ + Project: "demotst", + Domain: "unit", + Name: "artfname 10", + } + source := &artifact.ArtifactSource{ + WorkflowExecution: &core.WorkflowExecutionIdentifier{ + Project: "demotst", + Domain: "unit", + Name: "exectest1", + }, + Principal: "userone", + NodeId: "testnodeid", + TaskId: &core.Identifier{ + ResourceType: core.ResourceType_TASK, + Project: "demotst", + Domain: "unit", + Name: "testtaskname 2", + Version: "testtaskversion", + }, + } + spec := &artifact.ArtifactSpec{ + Value: lit, + Type: lt, + ShortDescription: "", + UserMetadata: nil, + MetadataType: "", + } + partitions := map[string]string{ + "area": "51", + "ds": "2023-05-01", + } + + // Create one + am, err := models.CreateArtifactModelFromRequest(ctx, ak, spec, "abc123/1/n0/1", partitions, "tag", source) + assert.NoError(t, err) + + newModel, err := rds.CreateArtifact(ctx, am) + assert.NoError(t, err) + fmt.Println(newModel) + + // Create another + am, err = models.CreateArtifactModelFromRequest(ctx, ak, spec, "abc123/1/n0/2", partitions, "tag", source) + assert.NoError(t, err) + + newModel, err = rds.CreateArtifact(ctx, am) + assert.NoError(t, err) + fmt.Println(newModel) +} + +func TestBasicRead(t *testing.T) { + ctx := context.Background() + sandboxCfgFile := os.ExpandEnv("$GOPATH/src/github.com/flyteorg/flyte/flyteartifacts/sandbox.yaml") + configAccessor := viper.NewAccessor(config.Options{ + SearchPaths: []string{sandboxCfgFile}, + StrictMode: false, + }) + err := configAccessor.UpdateConfig(ctx) + fmt.Println("Local integration testing using: ", configAccessor.ConfigFilesUsed()) + + scope := promutils.NewTestScope() + rds := NewStorage(ctx, scope) + ak := &core.ArtifactKey{ + Project: "demotst", + Domain: "unit", + Name: "artfname 10", + } + partitions := map[string]string{ + "area": "51", + "ds": "2023-05-01", + } + query := core.ArtifactQuery{ + Identifier: &core.ArtifactQuery_ArtifactId{ + ArtifactId: &core.ArtifactID{ + ArtifactKey: ak, + Version: "abc123/1/n0/1", + }, + }, + } + _, err = rds.GetArtifact(context.Background(), query) + assert.Error(t, err) + + pidl := models.PartitionsToIdl(partitions) + query = core.ArtifactQuery{ + Identifier: &core.ArtifactQuery_ArtifactId{ + ArtifactId: &core.ArtifactID{ + ArtifactKey: ak, + Version: "abc123/1/n0/1", + Dimensions: &core.ArtifactID_Partitions{ + Partitions: pidl, + }, + }, + }, + } + ga, err := rds.GetArtifact(context.Background(), query) + assert.NoError(t, err) + + fmt.Println(ga) +} diff --git a/flyteartifacts/pkg/lib/constants.go b/flyteartifacts/pkg/lib/constants.go new file mode 100644 index 0000000000..845b570525 --- /dev/null +++ b/flyteartifacts/pkg/lib/constants.go @@ -0,0 +1,4 @@ +package lib + +// ArtifactKey - This is used to tag Literals as a tracking bit. +const ArtifactKey = "_ua" diff --git a/flyteartifacts/pkg/lib/string_converter.go b/flyteartifacts/pkg/lib/string_converter.go new file mode 100644 index 0000000000..b85e56ee2a --- /dev/null +++ b/flyteartifacts/pkg/lib/string_converter.go @@ -0,0 +1,58 @@ +package lib + +import ( + "fmt" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "strings" + "time" +) + +const DateFormat string = "2006-01-02" + +func RenderLiteral(lit *core.Literal) (string, error) { + if lit == nil { + return "", fmt.Errorf("can't RenderLiteral, input is nil") + } + + switch lit.Value.(type) { + case *core.Literal_Scalar: + scalar := lit.GetScalar() + if scalar.GetPrimitive() == nil { + return "", fmt.Errorf("rendering only works for primitives, got [%v]", scalar) + } + // todo: figure out how to expose more formatting + // todo: maybe add a metric to each one of these, or this whole block. + switch scalar.GetPrimitive().GetValue().(type) { + case *core.Primitive_StringValue: + return scalar.GetPrimitive().GetStringValue(), nil + case *core.Primitive_Integer: + return fmt.Sprintf("%d", scalar.GetPrimitive().GetInteger()), nil + case *core.Primitive_FloatValue: + return fmt.Sprintf("%v", scalar.GetPrimitive().GetFloatValue()), nil + case *core.Primitive_Boolean: + if scalar.GetPrimitive().GetBoolean() { + return "true", nil + } + return "false", nil + case *core.Primitive_Datetime: + // just date for now, not sure if we should support time... + dt := scalar.GetPrimitive().GetDatetime().AsTime() + txt := dt.Format(DateFormat) + return txt, nil + case *core.Primitive_Duration: + dur := scalar.GetPrimitive().GetDuration().AsDuration() + // Found somewhere as iso8601 representation of duration, but there's still lots of + // possibilities for formatting. + txt := "PT" + strings.ToUpper(dur.Truncate(time.Millisecond).String()) + return txt, nil + default: + return "", fmt.Errorf("unknown primitive type [%v]", scalar.GetPrimitive()) + } + case *core.Literal_Collection: + return "", fmt.Errorf("can't RenderLiteral for collections") + case *core.Literal_Map: + return "", fmt.Errorf("can't RenderLiteral for maps") + } + + return "", fmt.Errorf("unknown literal type [%v]", lit) +} diff --git a/flyteartifacts/pkg/lib/string_converter_test.go b/flyteartifacts/pkg/lib/string_converter_test.go new file mode 100644 index 0000000000..ec50b1f46d --- /dev/null +++ b/flyteartifacts/pkg/lib/string_converter_test.go @@ -0,0 +1,24 @@ +package lib + +import ( + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/golang/protobuf/ptypes/timestamp" + "github.com/stretchr/testify/assert" + "testing" + "time" +) + +func TestRenderDate(t *testing.T) { + dt := time.Date(2020, 12, 8, 0, 0, 0, 0, time.UTC) + pt := timestamp.Timestamp{ + Seconds: dt.Unix(), + Nanos: 0, + } + lit := core.Literal{ + Value: &core.Literal_Scalar{Scalar: &core.Scalar{Value: &core.Scalar_Primitive{Primitive: &core.Primitive{Value: &core.Primitive_Datetime{Datetime: &pt}}}}}, + } + + txt, err := RenderLiteral(&lit) + assert.NoError(t, err) + assert.Equal(t, "2020-12-08", txt) +} diff --git a/flyteartifacts/pkg/lib/url_parse.go b/flyteartifacts/pkg/lib/url_parse.go new file mode 100644 index 0000000000..41bb5df16a --- /dev/null +++ b/flyteartifacts/pkg/lib/url_parse.go @@ -0,0 +1,71 @@ +package lib + +import ( + "errors" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "net/url" + "regexp" + "strings" +) + +var flyteURLNameRe = regexp.MustCompile(`(?P[\w/-]+)(?:(:(?P\w+))?)(?:(@(?P\w+))?)`) + +func ParseFlyteURL(urlStr string) (core.ArtifactID, string, error) { + if len(urlStr) == 0 { + return core.ArtifactID{}, "", errors.New("URL cannot be empty") + } + + parsed, err := url.Parse(urlStr) + if err != nil { + return core.ArtifactID{}, "", err + } + queryValues, err := url.ParseQuery(parsed.RawQuery) + if err != nil { + return core.ArtifactID{}, "", err + } + projectDomainName := strings.Split(strings.Trim(parsed.Path, "/"), "/") + if len(projectDomainName) < 3 { + return core.ArtifactID{}, "", errors.New("invalid URL format") + } + project, domain, name := projectDomainName[0], projectDomainName[1], strings.Join(projectDomainName[2:], "/") + version := "" + tag := "" + queryDict := make(map[string]string) + + if match := flyteURLNameRe.FindStringSubmatch(name); match != nil { + name = match[1] + if match[3] != "" { + tag = match[3] + } + if match[5] != "" { + version = match[5] + } + + if tag != "" && (version != "" || len(queryValues) > 0) { + return core.ArtifactID{}, "", errors.New("cannot specify tag with version or querydict") + } + } + + for key, values := range queryValues { + if len(values) > 0 { + queryDict[key] = values[0] + } + } + + a := core.ArtifactID{ + ArtifactKey: &core.ArtifactKey{ + Project: project, + Domain: domain, + Name: name, + }, + Version: version, + } + + p := models.PartitionsToIdl(queryDict) + a.Dimensions = &core.ArtifactID_Partitions{ + Partitions: p, + } + + return a, tag, nil +} diff --git a/flyteartifacts/pkg/lib/url_parse_test.go b/flyteartifacts/pkg/lib/url_parse_test.go new file mode 100644 index 0000000000..3739b4c2a6 --- /dev/null +++ b/flyteartifacts/pkg/lib/url_parse_test.go @@ -0,0 +1,63 @@ +package lib + +import ( + "context" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + "github.com/stretchr/testify/assert" + "testing" +) + +func TestURLParseWithTag(t *testing.T) { + artifactID, tag, err := ParseFlyteURL("flyte://av0.1/project/domain/name:tag") + assert.NoError(t, err) + + assert.Equal(t, "project", artifactID.ArtifactKey.Project) + assert.Equal(t, "domain", artifactID.ArtifactKey.Domain) + assert.Equal(t, "name", artifactID.ArtifactKey.Name) + assert.Equal(t, "", artifactID.Version) + assert.Equal(t, "tag", tag) + assert.Nil(t, artifactID.GetPartitions()) +} + +func TestURLParseWithVersionAndPartitions(t *testing.T) { + artifactID, tag, err := ParseFlyteURL("flyte://av0.1/project/domain/name@version?foo=bar&ham=spam") + expPartitions := map[string]string{"foo": "bar", "ham": "spam"} + assert.NoError(t, err) + + assert.Equal(t, "project", artifactID.ArtifactKey.Project) + assert.Equal(t, "domain", artifactID.ArtifactKey.Domain) + assert.Equal(t, "name", artifactID.ArtifactKey.Name) + assert.Equal(t, "version", artifactID.Version) + assert.Equal(t, "", tag) + p := artifactID.GetPartitions() + mapP := models.PartitionsFromIdl(context.TODO(), p) + assert.Equal(t, expPartitions, mapP) +} + +func TestURLParseFailsWithBothTagAndPartitions(t *testing.T) { + _, _, err := ParseFlyteURL("flyte://av0.1/project/domain/name:tag?foo=bar&ham=spam") + assert.Error(t, err) +} + +func TestURLParseWithBothTagAndVersion(t *testing.T) { + _, _, err := ParseFlyteURL("flyte://av0.1/project/domain/name:tag@version") + assert.Error(t, err) +} + +func TestURLParseNameWithSlashes(t *testing.T) { + artifactID, tag, err := ParseFlyteURL("flyte://av0.1/project/domain/name/with/slashes") + assert.NoError(t, err) + assert.Equal(t, "project", artifactID.ArtifactKey.Project) + assert.Equal(t, "domain", artifactID.ArtifactKey.Domain) + assert.Equal(t, "name/with/slashes", artifactID.ArtifactKey.Name) + assert.Equal(t, "", tag) + + artifactID, tag, err = ParseFlyteURL("flyte://av0.1/project/domain/name/with/slashes?ds=2020-01-01") + assert.Equal(t, "name/with/slashes", artifactID.ArtifactKey.Name) + assert.Equal(t, "project", artifactID.ArtifactKey.Project) + assert.Equal(t, "domain", artifactID.ArtifactKey.Domain) + + expPartitions := map[string]string{"ds": "2020-01-01"} + + assert.Equal(t, expPartitions, models.PartitionsFromIdl(context.TODO(), artifactID.GetPartitions())) +} diff --git a/flyteartifacts/pkg/models/service_models.go b/flyteartifacts/pkg/models/service_models.go new file mode 100644 index 0000000000..ce811b5f8e --- /dev/null +++ b/flyteartifacts/pkg/models/service_models.go @@ -0,0 +1,36 @@ +package models + +import ( + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" +) + +// Artifact is a wrapper object for easier handling of additional fields +type Artifact struct { + artifact.Artifact + OffloadedMetadata string + LiteralTypeBytes []byte + LiteralValueBytes []byte +} + +// Trigger - A trigger is nothing more than a launch plan, so wrap that. +type Trigger struct { + // The launch plan below doesn't have an ID field for the trigger directly (it's nested), so add one here. + Project string + Domain string + Name string + Version string + + LaunchPlanID core.Identifier + + // The trigger as defined in the user code becomes a launch plan as it is the most similar. + *admin.LaunchPlan + + RunsOn []core.ArtifactID + + // Additional meta fields relevant to the trigger. + Active bool + SpecBytes []byte + ClosureBytes []byte +} diff --git a/flyteartifacts/pkg/models/transformers.go b/flyteartifacts/pkg/models/transformers.go new file mode 100644 index 0000000000..64cd433cb5 --- /dev/null +++ b/flyteartifacts/pkg/models/transformers.go @@ -0,0 +1,173 @@ +package models + +import ( + "context" + "fmt" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/golang/protobuf/proto" + "github.com/golang/protobuf/ptypes" +) + +func CreateArtifactModelFromRequest(ctx context.Context, key *core.ArtifactKey, spec *artifact.ArtifactSpec, version string, partitions map[string]string, tag string, source *artifact.ArtifactSource) (Artifact, error) { + if key == nil || spec == nil { + return Artifact{}, fmt.Errorf("key and spec cannot be nil") + } + if len(version) == 0 { + return Artifact{}, fmt.Errorf("version cannot be empty") + } + if spec.Type == nil || spec.Value == nil { + return Artifact{}, fmt.Errorf("spec type and value cannot be nil") + } + + ex := source.GetWorkflowExecution() + if ex == nil { + return Artifact{}, fmt.Errorf("spec execution cannot be nil") + } + if ex.Project != key.Project || ex.Domain != key.Domain { + return Artifact{}, fmt.Errorf("spec execution must match key") + } + + a := artifact.Artifact{ + ArtifactId: &core.ArtifactID{ + ArtifactKey: &core.ArtifactKey{ + Project: key.Project, + Domain: key.Domain, + Name: key.Name, + }, + Version: version, + }, + Spec: spec, + Tags: []string{tag}, + Source: source, + } + + if partitions != nil { + cp := PartitionsToIdl(partitions) + a.ArtifactId.Dimensions = &core.ArtifactID_Partitions{ + Partitions: cp, + } + } + + ltBytes, err := proto.Marshal(spec.Type) + if err != nil { + logger.Errorf(ctx, "Failed to marshal type for artifact: %+v@%s, err: %v", key, version, err) + return Artifact{}, err + } + litBytes, err := proto.Marshal(spec.Value) + if err != nil { + logger.Errorf(ctx, "Failed to marshal literal value for artifact: %+v@%s, err: %v", key, version, err) + return Artifact{}, err + } + + return Artifact{ + Artifact: a, + LiteralTypeBytes: ltBytes, + LiteralValueBytes: litBytes, + }, nil +} + +func PartitionsToIdl(partitions map[string]string) *core.Partitions { + if partitions == nil || len(partitions) == 0 { + return nil + } + + cp := core.Partitions{ + Value: make(map[string]*core.LabelValue), + } + + for k, v := range partitions { + cp.Value[k] = &core.LabelValue{ + Value: &core.LabelValue_StaticValue{ + StaticValue: v, + }, + } + } + + return &cp +} + +func PartitionsFromIdl(ctx context.Context, partitions *core.Partitions) map[string]string { + if partitions == nil { + return nil + } + + p := make(map[string]string, len(partitions.Value)) + for k, v := range partitions.Value { + if len(v.GetStaticValue()) == 0 { + logger.Warningf(ctx, "Partition key [%s] missing static value, [%+v]", k, v.GetValue()) + continue + } + p[k] = v.GetStaticValue() + } + + return p +} + +func CreateTriggerModelFromRequest(ctx context.Context, request *artifact.CreateTriggerRequest) (Trigger, error) { + if request.GetTriggerLaunchPlan().GetSpec() == nil || request.GetTriggerLaunchPlan().GetId() == nil || request.GetTriggerLaunchPlan().GetClosure() == nil { + logger.Errorf(ctx, "Something nil in CreateTrigger, [%+v]", request) + return Trigger{}, fmt.Errorf("invalid request to CreateTrigger, something is nil") + } + + spec := request.GetTriggerLaunchPlan().GetSpec() + if spec.GetEntityMetadata().GetLaunchConditions() == nil { + logger.Errorf(ctx, "Launch conditions cannot be nil in CreateTrigger, [%+v]", request) + return Trigger{}, fmt.Errorf("invalid request to CreateTrigger, launch conditions cannot be nil") + } + + lpID := request.GetTriggerLaunchPlan().GetId() + + lc := spec.GetEntityMetadata().GetLaunchConditions() + + var err error + idlTrigger := core.Trigger{} + err = ptypes.UnmarshalAny(lc, &idlTrigger) + if err != nil { + logger.Errorf(ctx, "Failed to unmarshal launch conditions to idl, metadata: [%+v]", spec.GetEntityMetadata()) + return Trigger{}, err + } + if len(idlTrigger.Triggers) == 0 { + return Trigger{}, fmt.Errorf("invalid request to CreateTrigger, launch conditions cannot be empty") + } + // Create a list of the Artifact IDs referenced by the trigger definition. + // Keep in mind: these are not real IDs, they just contain partial information like the name. + // Always set the referenced artifacts to the project/domain of the launch plan + var runsOnArtifactIDs = make([]core.ArtifactID, len(idlTrigger.Triggers)) + for i, t := range idlTrigger.Triggers { + runsOnArtifactIDs[i] = *t + runsOnArtifactIDs[i].ArtifactKey.Project = lpID.Project + runsOnArtifactIDs[i].ArtifactKey.Domain = lpID.Domain + } + + specBytes, err := proto.Marshal(request.GetTriggerLaunchPlan().GetSpec()) + if err != nil { + logger.Errorf(ctx, "Failed to marshal lp spec for CreateTrigger err: %v", err) + return Trigger{}, err + } + closureBytes, err := proto.Marshal(request.GetTriggerLaunchPlan().GetClosure()) + if err != nil { + logger.Errorf(ctx, "Failed to marshal lp closure for CreateTrigger err: %v", err) + return Trigger{}, err + } + + // Always set the project/domain of the trigger equal to the underlying launch plan + t := Trigger{ + Project: lpID.Project, + Domain: lpID.Domain, + Name: idlTrigger.TriggerId.Name, + // Use LP id for the version because the trigger doesn't come with its own + // version for now... too difficult to update the version of the trigger + // inside the launch conditions object during registration. + Version: lpID.Version, + LaunchPlanID: *lpID, + LaunchPlan: request.GetTriggerLaunchPlan(), + RunsOn: runsOnArtifactIDs, + Active: true, + SpecBytes: specBytes, + ClosureBytes: closureBytes, + } + + return t, nil +} diff --git a/flyteartifacts/pkg/server/interfaces.go b/flyteartifacts/pkg/server/interfaces.go new file mode 100644 index 0000000000..275b2d8343 --- /dev/null +++ b/flyteartifacts/pkg/server/interfaces.go @@ -0,0 +1,40 @@ +package server + +import ( + "context" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + stdLibStorage "github.com/flyteorg/flyte/flytestdlib/storage" + "github.com/golang/protobuf/ptypes/any" +) + +type StorageInterface interface { + CreateArtifact(context.Context, models.Artifact) (models.Artifact, error) + + GetArtifact(context.Context, core.ArtifactQuery) (models.Artifact, error) + + CreateTrigger(context.Context, models.Trigger) (models.Trigger, error) + + GetLatestTrigger(ctx context.Context, project, domain, name string) (models.Trigger, error) + + GetTriggersByArtifactKey(ctx context.Context, key core.ArtifactKey) ([]models.Trigger, error) + + // DeleteTrigger(context.Context, models.Trigger) error + + SearchArtifacts(context.Context, artifact.SearchArtifactsRequest) ([]models.Artifact, string, error) + + SetExecutionInputs(ctx context.Context, req *artifact.ExecutionInputsRequest) error + + FindByWorkflowExec(ctx context.Context, request *artifact.FindByWorkflowExecRequest) ([]models.Artifact, error) +} + +type BlobStoreInterface interface { + OffloadArtifactCard(ctx context.Context, name string, version string, userMetadata *any.Any) (stdLibStorage.DataReference, error) + + RetrieveArtifactCard(context.Context, stdLibStorage.DataReference) (*any.Any, error) +} + +type TriggerHandlerInterface interface { + EvaluateNewArtifact(context.Context, *artifact.Artifact) ([]core.WorkflowExecutionIdentifier, error) +} diff --git a/flyteartifacts/pkg/server/metrics.go b/flyteartifacts/pkg/server/metrics.go new file mode 100644 index 0000000000..3ae7d5f8ba --- /dev/null +++ b/flyteartifacts/pkg/server/metrics.go @@ -0,0 +1,66 @@ +package server + +import ( + "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/prometheus/client_golang/prometheus" + "time" +) + +type RequestMetrics struct { + scope promutils.Scope + requestDuration promutils.StopWatch + errCount prometheus.Counter + successCount prometheus.Counter +} + +func NewRequestMetrics(scope promutils.Scope, method string) RequestMetrics { + methodScope := scope.NewSubScope(method) + + return RequestMetrics{ + scope: methodScope, + requestDuration: methodScope.MustNewStopWatch("duration", + "recorded response time duration for endpoint", time.Millisecond), + errCount: methodScope.MustNewCounter("errors", "count of errors returned by endpoint"), + successCount: methodScope.MustNewCounter("success", "count of successful responses returned by endpoint"), + } +} + +type endpointMetrics struct { + scope promutils.Scope + + create RequestMetrics + list RequestMetrics + registerConsumer RequestMetrics + registerProducer RequestMetrics + createTrigger RequestMetrics + deleteTrigger RequestMetrics + addTag RequestMetrics + search RequestMetrics +} + +type ServiceMetrics struct { + Scope promutils.Scope + PanicCounter prometheus.Counter + + executionEndpointMetrics endpointMetrics +} + +func InitMetrics(scope promutils.Scope) ServiceMetrics { + return ServiceMetrics{ + Scope: scope, + PanicCounter: scope.MustNewCounter("handler_panic", + "panics encountered while handling requests to the artifact service"), + + executionEndpointMetrics: endpointMetrics{ + scope: scope, + create: NewRequestMetrics(scope, "create_artifact"), + list: NewRequestMetrics(scope, "list_artifacts"), + registerConsumer: NewRequestMetrics(scope, "register_consumer"), + registerProducer: NewRequestMetrics(scope, "register_producer"), + createTrigger: NewRequestMetrics(scope, "create_trigger"), + deleteTrigger: NewRequestMetrics(scope, "delete_trigger"), + addTag: NewRequestMetrics(scope, "add_tag"), + search: NewRequestMetrics(scope, "search"), + }, + } +} diff --git a/flyteartifacts/pkg/server/processor/channel_processor.go b/flyteartifacts/pkg/server/processor/channel_processor.go new file mode 100644 index 0000000000..741c5801f9 --- /dev/null +++ b/flyteartifacts/pkg/server/processor/channel_processor.go @@ -0,0 +1,117 @@ +package processor + +import ( + "bytes" + "context" + pbcloudevents "github.com/cloudevents/sdk-go/binding/format/protobuf/v2" + "github.com/cloudevents/sdk-go/v2/event" + flyteEvents "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/sandboxutils" + "github.com/golang/protobuf/jsonpb" + "github.com/golang/protobuf/proto" + "time" +) + +type SandboxCloudEventsReceiver struct { + subChan <-chan sandboxutils.SandboxMessage + Handler EventsHandlerInterface +} + +func (p *SandboxCloudEventsReceiver) StartProcessing(ctx context.Context) { + for { + logger.Warningf(context.Background(), "Starting SandBox notifications processor") + err := p.run(ctx) + if err != nil { + logger.Errorf(context.Background(), "error with running processor err: [%v], sleeping and restarting", err) + time.Sleep(1000 * 1000 * 1000 * 1) + // metric + continue + } + break + } + logger.Warning(context.Background(), "Sandbox cloud event processor has stopped because context cancelled") +} + +func (p *SandboxCloudEventsReceiver) handleMessage(ctx context.Context, sandboxMsg sandboxutils.SandboxMessage) error { + ce := &event.Event{} + err := pbcloudevents.Protobuf.Unmarshal(sandboxMsg.Raw, ce) + if err != nil { + logger.Errorf(context.Background(), "error with unmarshalling message [%v]", err) + return err + } + logger.Debugf(ctx, "Cloud event received message [%+v]", ce) + // ce data should be a jsonpb Marshaled proto message, one of + // - event.CloudEventTaskExecution + // - event.CloudEventNodeExecution + // - event.CloudEventWorkflowExecution + // - event.CloudEventExecutionStart + ceData := bytes.NewReader(ce.Data()) + unmarshaler := jsonpb.Unmarshaler{} + + // Use the type to determine which proto message to unmarshal to. + var flyteEvent proto.Message + if ce.Type() == "com.flyte.resource.cloudevents.TaskExecution" { + flyteEvent = &flyteEvents.CloudEventTaskExecution{} + err = unmarshaler.Unmarshal(ceData, flyteEvent) + } else if ce.Type() == "com.flyte.resource.cloudevents.WorkflowExecution" { + flyteEvent = &flyteEvents.CloudEventWorkflowExecution{} + err = unmarshaler.Unmarshal(ceData, flyteEvent) + } else if ce.Type() == "com.flyte.resource.cloudevents.NodeExecution" { + flyteEvent = &flyteEvents.CloudEventNodeExecution{} + err = unmarshaler.Unmarshal(ceData, flyteEvent) + } else if ce.Type() == "com.flyte.resource.cloudevents.ExecutionStart" { + flyteEvent = &flyteEvents.CloudEventExecutionStart{} + err = unmarshaler.Unmarshal(ceData, flyteEvent) + } else { + logger.Warningf(ctx, "Ignoring cloud event type [%s]", ce.Type()) + return nil + } + if err != nil { + logger.Errorf(ctx, "error unmarshalling message on topic [%s] [%v]", sandboxMsg.Topic, err) + return err + } + + err = p.Handler.HandleEvent(ctx, ce, flyteEvent) + if err != nil { + logger.Errorf(context.Background(), "error handling event on topic [%s] [%v]", sandboxMsg.Topic, err) + return err + } + return nil +} + +func (p *SandboxCloudEventsReceiver) run(ctx context.Context) error { + for { + select { + case <-ctx.Done(): + logger.Warning(context.Background(), "Context cancelled, stopping processing.") + return nil + + case sandboxMsg := <-p.subChan: + // metric + logger.Debugf(ctx, "received message [%v]", sandboxMsg) + if sandboxMsg.Raw != nil { + err := p.handleMessage(ctx, sandboxMsg) + if err != nil { + // Assuming that handle message will return a fair number of errors + // add metric + logger.Infof(ctx, "error processing sandbox cloud event [%v] with err [%v]", sandboxMsg, err) + } + } else { + logger.Infof(ctx, "sandbox receiver ignoring message [%v]", sandboxMsg) + } + } + } +} + +func (p *SandboxCloudEventsReceiver) StopProcessing() error { + logger.Warning(context.Background(), "StopProcessing called on SandboxCloudEventsReceiver") + return nil +} + +func NewSandboxCloudEventProcessor(eventsHandler EventsHandlerInterface) *SandboxCloudEventsReceiver { + return &SandboxCloudEventsReceiver{ + Handler: eventsHandler, + subChan: sandboxutils.MsgChan, + } +} diff --git a/flyteartifacts/pkg/server/processor/events_handler.go b/flyteartifacts/pkg/server/processor/events_handler.go new file mode 100644 index 0000000000..dd47658f7c --- /dev/null +++ b/flyteartifacts/pkg/server/processor/events_handler.go @@ -0,0 +1,327 @@ +package processor + +import ( + "context" + "fmt" + event2 "github.com/cloudevents/sdk-go/v2/event" + "github.com/flyteorg/flyte/flyteartifacts/pkg/lib" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "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/logger" + "github.com/golang/protobuf/proto" +) + +// ServiceCallHandler will take events and call the grpc endpoints directly. The service should most likely be local. +type ServiceCallHandler struct { + service artifact.ArtifactRegistryServer + created chan<- artifact.Artifact +} + +func (s *ServiceCallHandler) HandleEvent(ctx context.Context, cloudEvent *event2.Event, msg proto.Message) error { + source := cloudEvent.Source() + + switch msgType := msg.(type) { + case *event.CloudEventExecutionStart: + logger.Debugf(ctx, "Handling CloudEventExecutionStart [%v]", msgType.ExecutionId) + return s.HandleEventExecStart(ctx, msgType) + case *event.CloudEventWorkflowExecution: + logger.Debugf(ctx, "Handling CloudEventWorkflowExecution [%v]", msgType.RawEvent.ExecutionId) + return s.HandleEventWorkflowExec(ctx, source, msgType) + case *event.CloudEventTaskExecution: + logger.Debugf(ctx, "Handling CloudEventTaskExecution [%v]", msgType.RawEvent.ParentNodeExecutionId) + return s.HandleEventTaskExec(ctx, source, msgType) + case *event.CloudEventNodeExecution: + logger.Debugf(ctx, "Handling CloudEventNodeExecution [%v]", msgType.RawEvent.Id) + return s.HandleEventNodeExec(ctx, source, msgType) + default: + return fmt.Errorf("HandleEvent found unknown message type [%T]", msgType) + } +} + +func (s *ServiceCallHandler) HandleEventExecStart(ctx context.Context, evt *event.CloudEventExecutionStart) error { + + if len(evt.ArtifactIds) > 0 { + // metric + req := &artifact.ExecutionInputsRequest{ + ExecutionId: evt.ExecutionId, + Inputs: evt.ArtifactIds, + } + _, err := s.service.SetExecutionInputs(ctx, req) + if err != nil { + logger.Errorf(ctx, "failed to set execution inputs for [%v] with error: %v", evt.ExecutionId, err) + return err + } + } + + return nil +} + +// HandleEventWorkflowExec and the task one below are very similar. Can be combined in the future. +func (s *ServiceCallHandler) HandleEventWorkflowExec(ctx context.Context, source string, evt *event.CloudEventWorkflowExecution) error { + + if evt.RawEvent.Phase != core.WorkflowExecution_SUCCEEDED { + logger.Debug(ctx, "Skipping non-successful workflow execution event") + return nil + } + + execID := evt.RawEvent.ExecutionId + if evt.GetOutputData().GetLiterals() == nil || len(evt.OutputData.Literals) == 0 { + logger.Debugf(ctx, "No output data to process for workflow event from [%v]", execID) + } + + for varName, variable := range evt.OutputInterface.Outputs.Variables { + if variable.GetArtifactPartialId() != nil { + logger.Debugf(ctx, "Processing workflow output for %s, artifact name %s, from %v", varName, variable.GetArtifactPartialId().ArtifactKey.Name, execID) + + output := evt.OutputData.Literals[varName] + + // Add a tracking tag to the Literal before saving. + version := fmt.Sprintf("%s/%s", source, varName) + trackingTag := fmt.Sprintf("%s/%s/%s", execID.Project, execID.Domain, version) + if output.Metadata == nil { + output.Metadata = make(map[string]string, 1) + } + output.Metadata[lib.ArtifactKey] = trackingTag + + aSrc := &artifact.ArtifactSource{ + WorkflowExecution: execID, + NodeId: "end-node", + Principal: evt.Principal, + } + + spec := artifact.ArtifactSpec{ + Value: output, + Type: evt.OutputInterface.Outputs.Variables[varName].Type, + } + + partitions, tag, err := getPartitionsAndTag( + ctx, + *variable.GetArtifactPartialId(), + variable, + evt.InputData, + ) + if err != nil { + logger.Errorf(ctx, "failed processing [%s] variable [%v] with error: %v", varName, variable, err) + return err + } + ak := core.ArtifactKey{ + Project: execID.Project, + Domain: execID.Domain, + Name: variable.GetArtifactPartialId().ArtifactKey.Name, + } + + req := artifact.CreateArtifactRequest{ + ArtifactKey: &ak, + Version: version, + Spec: &spec, + Partitions: partitions, + Tag: tag, + Source: aSrc, + } + + resp, err := s.service.CreateArtifact(ctx, &req) + if err != nil { + logger.Errorf(ctx, "failed to create artifact for [%s] with error: %v", varName, err) + return err + } + // metric + select { + case s.created <- *resp.Artifact: + logger.Debugf(ctx, "Sent %v from handle workflow", resp.Artifact.ArtifactId) + default: + // metric + logger.Debugf(ctx, "Channel is full. didn't send %v", resp.Artifact.ArtifactId) + } + logger.Debugf(ctx, "Created wf artifact id [%+v] for key %s", resp.Artifact.ArtifactId, varName) + } + } + + return nil +} + +func getPartitionsAndTag(ctx context.Context, partialID core.ArtifactID, variable *core.Variable, inputData *core.LiteralMap) (map[string]string, string, error) { + if variable == nil || inputData == nil { + return nil, "", fmt.Errorf("variable or input data is nil") + } + + var partitions map[string]string + // todo: consider updating idl to make CreateArtifactRequest just take a full Partitions + // object rather than a mapstrstr @eapolinario @enghabu + if partialID.GetPartitions().GetValue() != nil && len(partialID.GetPartitions().GetValue()) > 0 { + partitions = make(map[string]string, len(partialID.GetPartitions().GetValue())) + for k, lv := range partialID.GetPartitions().GetValue() { + if lv.GetStaticValue() != "" { + partitions[k] = lv.GetStaticValue() + } else if lv.GetInputBinding() != nil { + if lit, ok := inputData.Literals[lv.GetInputBinding().GetVar()]; ok { + // todo: figure out formatting. Maybe we can add formatting directives to the input binding + // @enghabu @eapolinario + renderedStr, err := lib.RenderLiteral(lit) + if err != nil { + logger.Errorf(ctx, "failed to render literal for input [%s] partition [%s] with error: %v", lv.GetInputBinding().GetVar(), k, err) + return nil, "", err + } + partitions[k] = renderedStr + } else { + return nil, "", fmt.Errorf("input binding [%s] not found in input data", lv.GetInputBinding().GetVar()) + } + } else { + return nil, "", fmt.Errorf("unknown binding found in context of a materialized artifact") + } + } + } + + var tag = "" + var err error + if lv := variable.GetArtifactTag().GetValue(); lv != nil { + if lv.GetStaticValue() != "" { + tag = lv.GetStaticValue() + } else if lv.GetInputBinding() != nil { + tag, err = lib.RenderLiteral(inputData.Literals[lv.GetInputBinding().GetVar()]) + if err != nil { + logger.Errorf(ctx, "failed to render input [%s] for tag with error: %v", lv.GetInputBinding().GetVar(), err) + return nil, "", err + } + } else { + return nil, "", fmt.Errorf("triggered binding found in context of a materialized artifact when rendering tag") + } + } + + return partitions, tag, nil +} + +func (s *ServiceCallHandler) HandleEventTaskExec(ctx context.Context, _ string, evt *event.CloudEventTaskExecution) error { + + if evt.RawEvent.Phase != core.TaskExecution_SUCCEEDED { + logger.Debug(ctx, "Skipping non-successful task execution event") + return nil + } + // metric + + return nil +} + +func (s *ServiceCallHandler) HandleEventNodeExec(ctx context.Context, source string, evt *event.CloudEventNodeExecution) error { + if evt.RawEvent.Phase != core.NodeExecution_SUCCEEDED { + logger.Debug(ctx, "Skipping non-successful task execution event") + return nil + } + if evt.RawEvent.Id.NodeId == "end-node" { + logger.Debug(ctx, "Skipping end node for %s", evt.RawEvent.Id.ExecutionId.Name) + return nil + } + // metric + + execID := evt.RawEvent.Id.ExecutionId + if evt.GetOutputData().GetLiterals() == nil || len(evt.OutputData.Literals) == 0 { + logger.Debugf(ctx, "No output data to process for task event from [%s] node %s", execID, evt.RawEvent.Id.NodeId) + } + + if evt.OutputInterface == nil { + if evt.GetOutputData() != nil { + // metric this as error + logger.Errorf(ctx, "No output interface to process for task event from [%s] node %s, but output data is not nil", execID, evt.RawEvent.Id.NodeId) + } + logger.Debugf(ctx, "No output interface to process for task event from [%s] node %s", execID, evt.RawEvent.Id.NodeId) + return nil + } + + if evt.RawEvent.GetTaskNodeMetadata() != nil { + if evt.RawEvent.GetTaskNodeMetadata().CacheStatus == core.CatalogCacheStatus_CACHE_HIT { + logger.Debugf(ctx, "Skipping cache hit for %s", evt.RawEvent.Id) + return nil + } + } + var taskExecID *core.TaskExecutionIdentifier + if taskExecID = evt.GetTaskExecId(); taskExecID == nil { + logger.Debugf(ctx, "No task execution id to process for task event from [%s] node %s", execID, evt.RawEvent.Id.NodeId) + } + + // See note on the cloudevent_publisher side, we'll have to call one of the get data endpoints to get the actual data + // rather than reading them here. But read here for now. + + // Iterate through the output interface. For any outputs that have an artifact ID specified, grab the + // output Literal and construct a Create request and call the service. + for varName, variable := range evt.OutputInterface.Outputs.Variables { + if variable.GetArtifactPartialId() != nil { + logger.Debugf(ctx, "Processing output for %s, artifact name %s, from %v", varName, variable.GetArtifactPartialId().ArtifactKey.Name, execID) + + output := evt.OutputData.Literals[varName] + + // Add a tracking tag to the Literal before saving. + version := fmt.Sprintf("%s/%d/%s", source, taskExecID.RetryAttempt, varName) + trackingTag := fmt.Sprintf("%s/%s/%s", execID.Project, execID.Domain, version) + if output.Metadata == nil { + output.Metadata = make(map[string]string, 1) + } + output.Metadata[lib.ArtifactKey] = trackingTag + + aSrc := &artifact.ArtifactSource{ + WorkflowExecution: execID, + NodeId: evt.RawEvent.Id.NodeId, + Principal: evt.Principal, + } + + if taskExecID != nil { + aSrc.RetryAttempt = taskExecID.RetryAttempt + aSrc.TaskId = taskExecID.TaskId + } + + spec := artifact.ArtifactSpec{ + Value: output, + Type: evt.OutputInterface.Outputs.Variables[varName].Type, + } + + partitions, tag, err := getPartitionsAndTag( + ctx, + *variable.GetArtifactPartialId(), + variable, + evt.InputData, + ) + if err != nil { + logger.Errorf(ctx, "failed processing [%s] variable [%v] with error: %v", varName, variable, err) + return err + } + ak := core.ArtifactKey{ + Project: execID.Project, + Domain: execID.Domain, + Name: variable.GetArtifactPartialId().ArtifactKey.Name, + } + + req := artifact.CreateArtifactRequest{ + ArtifactKey: &ak, + Version: version, + Spec: &spec, + Partitions: partitions, + Tag: tag, + Source: aSrc, + } + + resp, err := s.service.CreateArtifact(ctx, &req) + if err != nil { + logger.Errorf(ctx, "failed to create artifact for [%s] with error: %v", varName, err) + return err + } + // metric + select { + case s.created <- *resp.Artifact: + logger.Debugf(ctx, "Sent %v from handle task", resp.Artifact.ArtifactId) + default: + // metric + logger.Debugf(ctx, "Channel is full. task handler didn't send %v", resp.Artifact.ArtifactId) + } + + logger.Debugf(ctx, "Created artifact id [%+v] for key %s", resp.Artifact.ArtifactId, varName) + } + } + return nil +} + +func NewServiceCallHandler(ctx context.Context, svc artifact.ArtifactRegistryServer, created chan<- artifact.Artifact) EventsHandlerInterface { + logger.Infof(ctx, "Creating new service call handler") + return &ServiceCallHandler{ + service: svc, + created: created, + } +} diff --git a/flyteartifacts/pkg/server/processor/events_handler_test.go b/flyteartifacts/pkg/server/processor/events_handler_test.go new file mode 100644 index 0000000000..61d668215b --- /dev/null +++ b/flyteartifacts/pkg/server/processor/events_handler_test.go @@ -0,0 +1,17 @@ +package processor + +import ( + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/stretchr/testify/assert" + "testing" +) + +func TestMetaDataWrite(t *testing.T) { + lit := core.Literal{ + Value: &core.Literal_Scalar{Scalar: &core.Scalar{Value: &core.Scalar_Primitive{Primitive: &core.Primitive{Value: &core.Primitive_StringValue{StringValue: "test"}}}}}, + } + lit.Metadata = make(map[string]string) + + lit.Metadata["test"] = "test" + assert.Equal(t, "test", lit.Metadata["test"]) +} diff --git a/flyteartifacts/pkg/server/processor/http_processor.go b/flyteartifacts/pkg/server/processor/http_processor.go new file mode 100644 index 0000000000..89e216d339 --- /dev/null +++ b/flyteartifacts/pkg/server/processor/http_processor.go @@ -0,0 +1,9 @@ +package processor + +import "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + +// HTTPCloudEventProcessor could potentially run another local http service to handle traffic instead of a go channel +// todo: either implement or remote this file. +type HTTPCloudEventProcessor struct { + service *artifact.UnimplementedArtifactRegistryServer +} diff --git a/flyteartifacts/pkg/server/processor/interfaces.go b/flyteartifacts/pkg/server/processor/interfaces.go new file mode 100644 index 0000000000..ff61126adb --- /dev/null +++ b/flyteartifacts/pkg/server/processor/interfaces.go @@ -0,0 +1,22 @@ +package processor + +import ( + "context" + "github.com/cloudevents/sdk-go/v2/event" + "github.com/golang/protobuf/proto" +) + +type EventsHandlerInterface interface { + // HandleEvent The cloudEvent here is the original deserialized event and the proto msg is message + // that's been unmarshalled already from the cloudEvent.Data() field. + HandleEvent(ctx context.Context, cloudEvent *event.Event, msg proto.Message) error +} + +// EventsProcessorInterface is a copy of the notifications processor in admin except that start takes a context +type EventsProcessorInterface interface { + // StartProcessing whatever it is that needs to be processed. + StartProcessing(ctx context.Context) + + // StopProcessing is called when the server is shutting down. + StopProcessing() error +} diff --git a/flyteartifacts/pkg/server/processor/processor.go b/flyteartifacts/pkg/server/processor/processor.go new file mode 100644 index 0000000000..64aec5c149 --- /dev/null +++ b/flyteartifacts/pkg/server/processor/processor.go @@ -0,0 +1,55 @@ +package processor + +import ( + "context" + "github.com/NYTimes/gizmo/pubsub" + gizmoAWS "github.com/NYTimes/gizmo/pubsub/aws" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + configCommon "github.com/flyteorg/flyte/flytestdlib/config" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils" +) + +func NewBackgroundProcessor(ctx context.Context, processorConfiguration configuration.EventProcessorConfiguration, service artifact.ArtifactRegistryServer, created chan<- artifact.Artifact, scope promutils.Scope) EventsProcessorInterface { + + // TODO: Add retry logic + var sub pubsub.Subscriber + switch processorConfiguration.CloudProvider { + case configCommon.CloudDeploymentAWS: + // TODO: When we start using this, the created channel will also need to be added to the pubsubprocessor + sqsConfig := gizmoAWS.SQSConfig{ + QueueName: processorConfiguration.Subscriber.QueueName, + QueueOwnerAccountID: processorConfiguration.Subscriber.AccountID, + // The AWS configuration type uses SNS to SQS for notifications. + // Gizmo by default will decode the SQS message using Base64 decoding. + // However, the message body of SQS is the SNS message format which isn't Base64 encoded. + // gatepr: Understand this when we do sqs testing + // TODO: + //ConsumeBase64: &enable64decoding, + } + sqsConfig.Region = processorConfiguration.Region + var err error + // gatepr: wrap this in retry + sub, err = gizmoAWS.NewSubscriber(sqsConfig) + if err != nil { + logger.Warnf(context.TODO(), "Failed to initialize new gizmo aws subscriber with config [%+v] and err: %v", sqsConfig, err) + } + + if err != nil { + panic(err) + } + return NewPubSubProcessor(sub, scope) + case configCommon.CloudDeploymentGCP: + panic("Artifacts not implemented for GCP") + case configCommon.CloudDeploymentSandbox: + handler := NewServiceCallHandler(ctx, service, created) + return NewSandboxCloudEventProcessor(handler) + case configCommon.CloudDeploymentLocal: + fallthrough + default: + logger.Infof(context.Background(), + "Not using a background events processor, cfg is [%s]", processorConfiguration) + return nil + } +} diff --git a/flyteartifacts/pkg/server/processor/sqs_processor.go b/flyteartifacts/pkg/server/processor/sqs_processor.go new file mode 100644 index 0000000000..ec82a65436 --- /dev/null +++ b/flyteartifacts/pkg/server/processor/sqs_processor.go @@ -0,0 +1,111 @@ +package processor + +import ( + "context" + "encoding/base64" + "encoding/json" + "github.com/NYTimes/gizmo/pubsub" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils" + "time" +) + +type PubSubProcessor struct { + sub pubsub.Subscriber +} + +func (p *PubSubProcessor) StartProcessing(ctx context.Context) { + for { + logger.Warningf(context.Background(), "Starting notifications processor") + err := p.run() + logger.Errorf(context.Background(), "error with running processor err: [%v] ", err) + time.Sleep(1000 * 1000 * 1000 * 5) + } +} + +// todo: i think we can easily add context +func (p *PubSubProcessor) run() error { + var err error + for msg := range p.sub.Start() { + // gatepr: add metrics + // Currently this is safe because Gizmo takes a string and casts it to a byte array. + stringMsg := string(msg.Message()) + + var snsJSONFormat map[string]interface{} + + // Typically, SNS populates SQS. This results in the message body of SQS having the SNS message format. + // The message format is documented here: https://docs.aws.amazon.com/sns/latest/dg/sns-message-and-json-formats.html + // The notification published is stored in the message field after unmarshalling the SQS message. + if err := json.Unmarshal(msg.Message(), &snsJSONFormat); err != nil { + //p.systemMetrics.MessageDecodingError.Inc() + logger.Errorf(context.Background(), "failed to unmarshall JSON message [%s] from processor with err: %v", stringMsg, err) + p.markMessageDone(msg) + continue + } + + var value interface{} + var ok bool + var valueString string + + if value, ok = snsJSONFormat["Message"]; !ok { + logger.Errorf(context.Background(), "failed to retrieve message from unmarshalled JSON object [%s]", stringMsg) + // p.systemMetrics.MessageDataError.Inc() + p.markMessageDone(msg) + continue + } + + if valueString, ok = value.(string); !ok { + // p.systemMetrics.MessageDataError.Inc() + logger.Errorf(context.Background(), "failed to retrieve notification message (in string format) from unmarshalled JSON object for message [%s]", stringMsg) + p.markMessageDone(msg) + continue + } + + // The Publish method for SNS Encodes the notification using Base64 then stringifies it before + // setting that as the message body for SNS. Do the inverse to retrieve the notification. + incomingMessageBytes, err := base64.StdEncoding.DecodeString(valueString) + if err != nil { + logger.Errorf(context.Background(), "failed to Base64 decode from message string [%s] from message [%s] with err: %v", valueString, stringMsg, err) + //p.systemMetrics.MessageDecodingError.Inc() + p.markMessageDone(msg) + continue + } + logger.Infof(context.Background(), "incoming message bytes [%v]", incomingMessageBytes) + // handle message + p.markMessageDone(msg) + } + + // According to https://github.com/NYTimes/gizmo/blob/f2b3deec03175b11cdfb6642245a49722751357f/pubsub/pubsub.go#L36-L39, + // the channel backing the subscriber will just close if there is an error. The call to Err() is needed to identify + // there was an error in the channel or there are no more messages left (resulting in no errors when calling Err()). + if err = p.sub.Err(); err != nil { + //p.systemMetrics.ChannelClosedError.Inc() + logger.Warningf(context.Background(), "The stream for the subscriber channel closed with err: %v", err) + } + + // If there are no errors, nil will be returned. + return err +} + +func (p *PubSubProcessor) markMessageDone(message pubsub.SubscriberMessage) { + if err := message.Done(); err != nil { + //p.systemMetrics.MessageDoneError.Inc() + logger.Errorf(context.Background(), "failed to mark message as Done() in processor with err: %v", err) + } +} + +func (p *PubSubProcessor) StopProcessing() error { + // Note: If the underlying channel is already closed, then Stop() will return an error. + err := p.sub.Stop() + if err != nil { + //p.systemMetrics.StopError.Inc() + logger.Errorf(context.Background(), "Failed to stop the subscriber channel gracefully with err: %v", err) + } + return err +} + +func NewPubSubProcessor(sub pubsub.Subscriber, _ promutils.Scope) *PubSubProcessor { + return &PubSubProcessor{ + sub: sub, + } +} diff --git a/flyteartifacts/pkg/server/server.go b/flyteartifacts/pkg/server/server.go new file mode 100644 index 0000000000..6ae88c312c --- /dev/null +++ b/flyteartifacts/pkg/server/server.go @@ -0,0 +1,159 @@ +package server + +import ( + "context" + "fmt" + "github.com/flyteorg/flyte/flyteartifacts/pkg/blob" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" + "github.com/flyteorg/flyte/flyteartifacts/pkg/db" + "github.com/flyteorg/flyte/flyteartifacts/pkg/server/processor" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "github.com/flyteorg/flyte/flytestdlib/database" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/go-gormigrate/gormigrate/v2" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/pkg/errors" + "google.golang.org/grpc" + _ "net/http/pprof" // Required to serve application. +) + +type ArtifactService struct { + artifact.UnimplementedArtifactRegistryServer + Metrics ServiceMetrics + Service CoreService + EventConsumer processor.EventsProcessorInterface + TriggerEngine TriggerHandlerInterface + eventsToTrigger chan artifact.Artifact +} + +func (a *ArtifactService) CreateArtifact(ctx context.Context, req *artifact.CreateArtifactRequest) (*artifact.CreateArtifactResponse, error) { + resp, err := a.Service.CreateArtifact(ctx, req) + if err != nil { + return resp, err + } + + // gatepr add go func + execIDs, err := a.TriggerEngine.EvaluateNewArtifact(ctx, resp.Artifact) + if err != nil { + logger.Warnf(ctx, "Failed to evaluate triggers for artifact: %v, err: %v", resp.Artifact, err) + } else { + logger.Infof(ctx, "Triggered %v executions", len(execIDs)) + } + return resp, err +} + +func (a *ArtifactService) GetArtifact(ctx context.Context, req *artifact.GetArtifactRequest) (*artifact.GetArtifactResponse, error) { + return a.Service.GetArtifact(ctx, req) +} + +func (a *ArtifactService) SearchArtifacts(ctx context.Context, req *artifact.SearchArtifactsRequest) (*artifact.SearchArtifactsResponse, error) { + return a.Service.SearchArtifacts(ctx, req) +} + +func (a *ArtifactService) CreateTrigger(ctx context.Context, req *artifact.CreateTriggerRequest) (*artifact.CreateTriggerResponse, error) { + return a.Service.CreateTrigger(ctx, req) +} + +func (a *ArtifactService) DeleteTrigger(ctx context.Context, req *artifact.DeleteTriggerRequest) (*artifact.DeleteTriggerResponse, error) { + return a.Service.DeleteTrigger(ctx, req) +} + +func (a *ArtifactService) AddTag(ctx context.Context, req *artifact.AddTagRequest) (*artifact.AddTagResponse, error) { + return a.Service.AddTag(ctx, req) +} + +func (a *ArtifactService) RegisterProducer(ctx context.Context, req *artifact.RegisterProducerRequest) (*artifact.RegisterResponse, error) { + return a.Service.RegisterProducer(ctx, req) +} + +func (a *ArtifactService) RegisterConsumer(ctx context.Context, req *artifact.RegisterConsumerRequest) (*artifact.RegisterResponse, error) { + return a.Service.RegisterConsumer(ctx, req) +} + +func (a *ArtifactService) SetExecutionInputs(ctx context.Context, req *artifact.ExecutionInputsRequest) (*artifact.ExecutionInputsResponse, error) { + return a.Service.SetExecutionInputs(ctx, req) +} + +func (a *ArtifactService) FindByWorkflowExec(ctx context.Context, req *artifact.FindByWorkflowExecRequest) (*artifact.SearchArtifactsResponse, error) { + return a.Service.FindByWorkflowExec(ctx, req) +} +func (a *ArtifactService) runProcessor(ctx context.Context) { + for { + select { + case art := <-a.eventsToTrigger: + logger.Infof(ctx, "Received artifact: %v", art) + execIDs, err := a.TriggerEngine.EvaluateNewArtifact(ctx, &art) + if err != nil { + logger.Warnf(ctx, "Failed to evaluate triggers for artifact: %v, err: %v", art, err) + } else { + logger.Infof(ctx, "Triggered %v executions", len(execIDs)) + } + case <-ctx.Done(): + logger.Infof(ctx, "Stopping artifact processor") + return + } + } +} + +func NewArtifactService(ctx context.Context, scope promutils.Scope) *ArtifactService { + cfg := configuration.GetApplicationConfig() + fmt.Println(cfg) + eventsCfg := configuration.GetEventsProcessorConfig() + + // channel that the event processor should use to pass created artifacts to, which this artifact server will + // then call the trigger engine with. + createdArtifacts := make(chan artifact.Artifact, 1000) + + storage := db.NewStorage(ctx, scope.NewSubScope("storage:rds")) + blobStore := blob.NewArtifactBlobStore(ctx, scope.NewSubScope("storage:s3")) + coreService := NewCoreService(storage, &blobStore, scope.NewSubScope("server")) + triggerHandler, err := NewTriggerEngine(ctx, storage, &coreService, scope.NewSubScope("triggers")) + if err != nil { + logger.Errorf(ctx, "Failed to create Admin client, stopping server. Error: %v", err) + panic(err) + } + eventsReceiverAndHandler := processor.NewBackgroundProcessor(ctx, *eventsCfg, &coreService, createdArtifacts, scope.NewSubScope("events")) + if eventsReceiverAndHandler != nil { + go func() { + logger.Info(ctx, "Starting Artifact service background processing...") + eventsReceiverAndHandler.StartProcessing(ctx) + }() + } + + as := &ArtifactService{ + Metrics: InitMetrics(scope), + Service: coreService, + EventConsumer: eventsReceiverAndHandler, + TriggerEngine: &triggerHandler, + eventsToTrigger: createdArtifacts, + } + + go as.runProcessor(ctx) + + return as +} + +func HttpRegistrationHook(ctx context.Context, gwmux *runtime.ServeMux, grpcAddress string, grpcConnectionOpts []grpc.DialOption, _ promutils.Scope) error { + err := artifact.RegisterArtifactRegistryHandlerFromEndpoint(ctx, gwmux, grpcAddress, grpcConnectionOpts) + if err != nil { + return errors.Wrap(err, "error registering execution service") + } + return nil +} + +func GrpcRegistrationHook(ctx context.Context, server *grpc.Server, scope promutils.Scope) error { + serviceImpl := NewArtifactService(ctx, scope) + artifact.RegisterArtifactRegistryServer(server, serviceImpl) + + return nil +} + +// GetMigrations should be hidden behind the storage interface in the future. +func GetMigrations(_ context.Context) []*gormigrate.Migration { + return db.Migrations +} +func GetDbConfig() *database.DbConfig { + cfg := configuration.ApplicationConfig.GetConfig().(*configuration.ApplicationConfiguration) + return &cfg.ArtifactDatabaseConfig +} diff --git a/flyteartifacts/pkg/server/service.go b/flyteartifacts/pkg/server/service.go new file mode 100644 index 0000000000..e28124a415 --- /dev/null +++ b/flyteartifacts/pkg/server/service.go @@ -0,0 +1,164 @@ +package server + +import ( + "context" + "fmt" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/flyteorg/flyte/flytestdlib/storage" +) + +type CoreService struct { + Storage StorageInterface + BlobStore BlobStoreInterface + // SearchHandler SearchHandlerInterface +} + +func (c *CoreService) CreateArtifact(ctx context.Context, request *artifact.CreateArtifactRequest) (*artifact.CreateArtifactResponse, error) { + + // todo: gatepr _ua tracking bit to be installed + if request == nil { + return nil, nil + } + + artifactObj, err := models.CreateArtifactModelFromRequest(ctx, request.ArtifactKey, request.Spec, request.Version, request.Partitions, request.Tag, request.Source) + if err != nil { + logger.Errorf(ctx, "Failed to validate Create request: %v", err) + return nil, err + } + + // Offload the metadata object before storing and add the offload location instead. + if artifactObj.Spec.UserMetadata != nil { + offloadLocation, err := c.BlobStore.OffloadArtifactCard(ctx, + artifactObj.ArtifactId.ArtifactKey.Name, artifactObj.ArtifactId.Version, artifactObj.Spec.UserMetadata) + if err != nil { + logger.Errorf(ctx, "Failed to offload metadata: %v", err) + return nil, err + } + artifactObj.OffloadedMetadata = offloadLocation.String() + } + + created, err := c.Storage.CreateArtifact(ctx, artifactObj) + if err != nil { + logger.Errorf(ctx, "Failed to create artifact: %v", err) + return nil, err + } + + return &artifact.CreateArtifactResponse{Artifact: &created.Artifact}, nil +} + +func (c *CoreService) GetArtifact(ctx context.Context, request *artifact.GetArtifactRequest) (*artifact.GetArtifactResponse, error) { + if request == nil || request.Query == nil { + return nil, fmt.Errorf("request cannot be nil") + } + + getResult, err := c.Storage.GetArtifact(ctx, *request.Query) + if err != nil { + logger.Errorf(ctx, "Failed to get artifact: %v", err) + return nil, err + } + if request.Details && len(getResult.OffloadedMetadata) > 0 { + card, err := c.BlobStore.RetrieveArtifactCard(ctx, storage.DataReference(getResult.OffloadedMetadata)) + if err != nil { + logger.Errorf(ctx, "Failed to retrieve artifact card: %v", err) + return nil, err + } + getResult.Artifact.GetSpec().UserMetadata = card + } + + return &artifact.GetArtifactResponse{Artifact: &getResult.Artifact}, nil +} + +func (c *CoreService) CreateTrigger(ctx context.Context, request *artifact.CreateTriggerRequest) (*artifact.CreateTriggerResponse, error) { + // Create the new trigger object. + // Mark all older versions of the trigger as inactive. + + // trigger handler create trigger(storage layer) + serviceTrigger, err := models.CreateTriggerModelFromRequest(ctx, request) + if err != nil { + logger.Errorf(ctx, "Failed to create a valid Trigger from create request: %v with err %v", request, err) + return nil, err + } + + createdTrigger, err := c.Storage.CreateTrigger(ctx, serviceTrigger) + if err != nil { + logger.Errorf(ctx, "Failed to create trigger: %v", err) + } + logger.Infof(ctx, "Created trigger: %+v", createdTrigger) + + return &artifact.CreateTriggerResponse{}, nil +} + +func (c *CoreService) DeleteTrigger(ctx context.Context, request *artifact.DeleteTriggerRequest) (*artifact.DeleteTriggerResponse, error) { + // Todo: gatepr - This needs to be implemented before merging. + return &artifact.DeleteTriggerResponse{}, nil +} + +func (c *CoreService) AddTag(ctx context.Context, request *artifact.AddTagRequest) (*artifact.AddTagResponse, error) { + // Holding off on implementing for a while. + return &artifact.AddTagResponse{}, nil +} + +func (c *CoreService) RegisterProducer(ctx context.Context, request *artifact.RegisterProducerRequest) (*artifact.RegisterResponse, error) { + // These are lineage endpoints slated for future work + return &artifact.RegisterResponse{}, nil +} + +func (c *CoreService) RegisterConsumer(ctx context.Context, request *artifact.RegisterConsumerRequest) (*artifact.RegisterResponse, error) { + // These are lineage endpoints slated for future work + return &artifact.RegisterResponse{}, nil +} + +func (c *CoreService) SearchArtifacts(ctx context.Context, request *artifact.SearchArtifactsRequest) (*artifact.SearchArtifactsResponse, error) { + logger.Infof(ctx, "SearchArtifactsRequest: %+v", request) + found, continuationToken, err := c.Storage.SearchArtifacts(ctx, *request) + if err != nil { + logger.Errorf(ctx, "Failed search [%+v]: %v", request, err) + return nil, err + } + if len(found) == 0 { + return &artifact.SearchArtifactsResponse{}, fmt.Errorf("no artifacts found") + } + var as []*artifact.Artifact + for _, m := range found { + as = append(as, &m.Artifact) + } + return &artifact.SearchArtifactsResponse{ + Artifacts: as, + Token: continuationToken, + }, nil +} + +func (c *CoreService) SetExecutionInputs(ctx context.Context, req *artifact.ExecutionInputsRequest) (*artifact.ExecutionInputsResponse, error) { + err := c.Storage.SetExecutionInputs(ctx, req) + + return &artifact.ExecutionInputsResponse{}, err +} + +func (c *CoreService) FindByWorkflowExec(ctx context.Context, request *artifact.FindByWorkflowExecRequest) (*artifact.SearchArtifactsResponse, error) { + logger.Infof(ctx, "FindByWorkflowExecRequest: %+v", request) + + res, err := c.Storage.FindByWorkflowExec(ctx, request) + if err != nil { + logger.Errorf(ctx, "Failed to find artifacts by workflow execution: %v", err) + return nil, err + } + var as []*artifact.Artifact + for _, m := range res { + as = append(as, &m.Artifact) + } + resp := artifact.SearchArtifactsResponse{ + Artifacts: as, + } + + return &resp, nil +} + +func NewCoreService(storage StorageInterface, blobStore BlobStoreInterface, _ promutils.Scope) CoreService { + return CoreService{ + Storage: storage, + BlobStore: blobStore, + } +} diff --git a/flyteartifacts/pkg/server/trigger_engine.go b/flyteartifacts/pkg/server/trigger_engine.go new file mode 100644 index 0000000000..68da0645b0 --- /dev/null +++ b/flyteartifacts/pkg/server/trigger_engine.go @@ -0,0 +1,445 @@ +package server + +import ( + "context" + "fmt" + "github.com/flyteorg/flyte/flyteartifacts/pkg/lib" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + admin2 "github.com/flyteorg/flyte/flyteidl/clients/go/admin" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/types/known/timestamppb" + "math/rand" + "regexp" + "strconv" + "time" + "unicode/utf8" +) + +type TriggerEngine struct { + service artifact.ArtifactRegistryServer + adminClient service.AdminServiceClient + store StorageInterface + + // needs to be used + scope promutils.Scope +} + +// Evaluate the trigger and launch the workflow if it's true +func (e *TriggerEngine) evaluateAndHandleTrigger(ctx context.Context, trigger models.Trigger, incoming *artifact.Artifact) error { + incomingKey := core.ArtifactKey{ + Project: incoming.GetArtifactId().GetArtifactKey().GetProject(), + Domain: incoming.GetArtifactId().GetArtifactKey().GetDomain(), + Name: incoming.GetArtifactId().GetArtifactKey().GetName(), + } + + var triggeringArtifacts = make([]artifact.Artifact, 0) + + incomingPartitions := map[string]*core.LabelValue{} + + if incoming.GetArtifactId().GetPartitions().GetValue() != nil && len(incoming.GetArtifactId().GetPartitions().GetValue()) > 0 { + for k, p := range incoming.GetArtifactId().GetPartitions().GetValue() { + if len(p.GetStaticValue()) == 0 { + logger.Warningf(ctx, "Trigger %s has non-static partition [%+v]", trigger.Name, incoming.GetArtifactId().GetPartitions().GetValue()) + return fmt.Errorf("trigger %s has non-static partition %s [%+v]", trigger.Name, k, p) + } + incomingPartitions[k] = p + } + } + + // Note the order of this is important. It needs to be the same order as the trigger.RunsOn + // This is because binding data references an index in this array. + for _, triggeringArtifactID := range trigger.RunsOn { + // First check partitions. + // They must either both have no partitions, or both have the same partitions. + var thisIDPartitions = make(map[string]string) + if triggeringArtifactID.GetPartitions().GetValue() != nil { + for k, _ := range triggeringArtifactID.GetPartitions().GetValue() { + thisIDPartitions[k] = "placeholder" + } + } + if len(thisIDPartitions) != len(incomingPartitions) { + return fmt.Errorf("trigger %s has different number of partitions [%v] [%+v]", trigger.Name, incoming.GetArtifactId(), triggeringArtifactID) + } + + // If the lengths match, they must still also have the same keys. + // Build a query map of partitions for this triggering artifact while at it. + queryPartitions := map[string]*core.LabelValue{} + if len(thisIDPartitions) > 0 { + for k, _ := range thisIDPartitions { + if incomingValue, ok := incomingPartitions[k]; !ok { + return fmt.Errorf("trigger %s has different partitions [%v] [%+v]", trigger.Name, incoming.GetArtifactId(), triggeringArtifactID) + } else { + queryPartitions[k] = incomingValue + } + } + } + + // See if it's the same one as incoming. + if triggeringArtifactID.GetArtifactKey().Project == incomingKey.Project && + triggeringArtifactID.GetArtifactKey().Domain == incomingKey.Domain && + triggeringArtifactID.GetArtifactKey().Name == incomingKey.Name { + triggeringArtifacts = append(triggeringArtifacts, *incoming) + continue + } + + // Otherwise, assume it's a different one + // Construct a query and fetch it + var lookupID = core.ArtifactID{ + ArtifactKey: triggeringArtifactID.ArtifactKey, + } + if len(queryPartitions) > 0 { + lookupID.Dimensions = &core.ArtifactID_Partitions{ + Partitions: &core.Partitions{Value: queryPartitions}, + } + } + query := core.ArtifactQuery{ + Identifier: &core.ArtifactQuery_ArtifactId{ + ArtifactId: &lookupID, + }, + } + + resp, err := e.service.GetArtifact(ctx, &artifact.GetArtifactRequest{ + Query: &query, + }) + if err != nil { + return fmt.Errorf("failed to get artifact [%+v]: %w", lookupID, err) + } + + triggeringArtifacts = append(triggeringArtifacts, *resp.Artifact) + + } + + err := e.createExecution( + ctx, + triggeringArtifacts, + trigger.LaunchPlan.Id, + trigger.LaunchPlan.Spec.DefaultInputs, + ) + + return err +} + +func (e *TriggerEngine) generateRandomString(length int) string { + rand.Seed(time.Now().UnixNano()) + charset := "abcdefghijklmnopqrstuvwxyz" + var result string + for i := 0; i < length; i++ { + randomIndex := rand.Intn(len(charset)) + result += string(charset[randomIndex]) + } + + return result +} + +func (e *TriggerEngine) getSpec(_ context.Context, launchPlanID *core.Identifier) admin.ExecutionSpec { + + var spec = admin.ExecutionSpec{ + LaunchPlan: launchPlanID, + Metadata: nil, + NotificationOverrides: nil, + Labels: nil, + Annotations: nil, + SecurityContext: nil, + } + return spec +} + +func (e *TriggerEngine) createExecution(ctx context.Context, triggeringArtifacts []artifact.Artifact, launchPlanID *core.Identifier, defaultInputs *core.ParameterMap) error { + + resolvedInputs, err := e.resolveInputs(ctx, triggeringArtifacts, defaultInputs, launchPlanID) + if err != nil { + return fmt.Errorf("failed to resolve inputs: %w", err) + } + + spec := e.getSpec(ctx, launchPlanID) + + resp, err := e.adminClient.CreateExecution(ctx, &admin.ExecutionCreateRequest{ + Project: launchPlanID.Project, + Domain: launchPlanID.Domain, + Name: e.generateRandomString(12), + Spec: &spec, + Inputs: &core.LiteralMap{Literals: resolvedInputs}, + }) + if err != nil { + return fmt.Errorf("failed to create execution: %w", err) + } + + logger.Infof(ctx, "Created execution %v", resp) + return nil +} + +func (e *TriggerEngine) resolveInputs(ctx context.Context, triggeringArtifacts []artifact.Artifact, defaultInputs *core.ParameterMap, launchPlanID *core.Identifier) (map[string]*core.Literal, error) { + // Process inputs that have defaults separately as these may be used to fill in other inputs + var defaults = map[string]*core.Literal{} + for k, v := range defaultInputs.Parameters { + if v.GetDefault() != nil { + defaults[k] = v.GetDefault() + } + } + + var inputs = map[string]*core.Literal{} + for k, v := range defaultInputs.Parameters { + if v.GetDefault() != nil { + continue + } + if v == nil { + return nil, fmt.Errorf("parameter [%s] is nil", k) + } + + convertedLiteral, err := e.convertParameterToLiteral(ctx, triggeringArtifacts, *v, defaults, launchPlanID) + if err != nil { + logger.Errorf(ctx, "Error converting parameter [%s] [%v] to literal: %v", k, v, err) + return nil, err + } + inputs[k] = &convertedLiteral + } + + for k, v := range inputs { + defaults[k] = v + } + return defaults, nil +} + +func (e *TriggerEngine) convertParameterToLiteral(ctx context.Context, triggeringArtifacts []artifact.Artifact, + value core.Parameter, otherInputs map[string]*core.Literal, launchPlanID *core.Identifier) (core.Literal, error) { + + if value.GetArtifactQuery() != nil { + return e.convertArtifactQueryToLiteral(ctx, triggeringArtifacts, *value.GetArtifactQuery(), otherInputs, value, launchPlanID) + + } else if value.GetArtifactId() != nil { + return core.Literal{}, fmt.Errorf("artifact id not supported yet") + } + return core.Literal{}, fmt.Errorf("trying to convert non artifact Parameter to Literal") + +} + +var DurationRegex = regexp.MustCompile(`P(?P\d+Y)?(?P\d+M)?(?P\d+D)?T?(?P\d+H)?(?P\d+M)?(?P\d+S)?`) + +func ParseDuration(str string) time.Duration { + matches := DurationRegex.FindStringSubmatch(str) + + years := ParseInt64(matches[1]) + months := ParseInt64(matches[2]) + days := ParseInt64(matches[3]) + hours := ParseInt64(matches[4]) + minutes := ParseInt64(matches[5]) + seconds := ParseInt64(matches[6]) + + hour := int64(time.Hour) + minute := int64(time.Minute) + second := int64(time.Second) + return time.Duration(years*24*365*hour + months*30*24*hour + days*24*hour + hours*hour + minutes*minute + seconds*second) +} + +func ParseInt64(value string) int64 { + if len(value) == 0 { + return 0 + } + parsed, err := strconv.Atoi(value[:len(value)-1]) + if err != nil { + return 0 + } + return int64(parsed) +} + +func (e *TriggerEngine) parseStringAsDateAndApplyTransform(ctx context.Context, dateFormat string, dateStr string, transform string) (time.Time, error) { + t, err := time.Parse(dateFormat, dateStr) + if err != nil { + return time.Time{}, fmt.Errorf("failed to parse date [%s] as date : %w", dateStr, err) + } + + if transform != "" { + firstRune, runeSize := utf8.DecodeRuneInString(transform) + op := string(firstRune) + transformStr := transform[runeSize:] + + if op == "-" { + td := ParseDuration(transformStr) + t = t.Add(-td) + logger.Infof(ctx, "Applying transform [%s] new date is [%s] from %s", transform, t, transformStr) + } else { + logger.Warningf(ctx, "Ignoring transform [%s]", transformStr) + } + } + return t, nil +} + +func (e *TriggerEngine) convertArtifactQueryToLiteral(ctx context.Context, triggeringArtifacts []artifact.Artifact, + aq core.ArtifactQuery, otherInputs map[string]*core.Literal, p core.Parameter, launchPlanID *core.Identifier) (core.Literal, error) { + + // if it's a binding and it has a partition key + // this is the only time we need to transform the type. + // and it's only ever going to be a datetime + if bnd := aq.GetBinding(); bnd != nil { + a := triggeringArtifacts[bnd.GetIndex()] + if bnd.GetPartitionKey() != "" { + if partitions := a.GetArtifactId().GetPartitions().GetValue(); partitions != nil { + + if sv, ok := partitions[bnd.GetPartitionKey()]; ok { + dateStr := sv.GetStaticValue() + + t, err := e.parseStringAsDateAndApplyTransform(ctx, lib.DateFormat, dateStr, bnd.GetTransform()) + if err != nil { + return core.Literal{}, fmt.Errorf("failed to parse [%s] transform %s] for [%+v]: %w", dateStr, bnd.GetTransform(), a.GetArtifactId(), err) + } + + // convert time to timestamp + ts := timestamppb.New(t) + + return core.Literal{ + Value: &core.Literal_Scalar{ + Scalar: &core.Scalar{ + Value: &core.Scalar_Primitive{ + Primitive: &core.Primitive{ + Value: &core.Primitive_Datetime{ + Datetime: ts, + }, + }, + }, + }, + }, + }, nil + } + } + return core.Literal{}, fmt.Errorf("partition key [%s] not found in artifact [%+v]", bnd.GetPartitionKey(), a.GetArtifactId()) + } + + // this means it's bound to the whole triggering artifact, not a partition. Just pull out the literal and use it + idlLit := triggeringArtifacts[bnd.GetIndex()].GetSpec().GetValue() + return *idlLit, nil + + // this is a real query - will need to first iterate through the partitions to see if we need to fill in any + } else if queryID := aq.GetArtifactId(); queryID != nil { + searchPartitions := map[string]string{} + if len(queryID.GetPartitions().GetValue()) > 0 { + for partitionKey, lv := range queryID.GetPartitions().GetValue() { + if lv.GetStaticValue() != "" { + searchPartitions[partitionKey] = lv.GetStaticValue() + + } else if lv.GetInputBinding() != nil { + inputVar := lv.GetInputBinding().GetVar() + if val, ok := otherInputs[inputVar]; ok { + strVal, err := lib.RenderLiteral(val) + if err != nil { + return core.Literal{}, fmt.Errorf("failed to render input [%s] for partition [%s] with error: %w", inputVar, partitionKey, err) + } + searchPartitions[partitionKey] = strVal + } else { + return core.Literal{}, fmt.Errorf("input binding [%s] not found in input data", inputVar) + } + + // This is like AnArtifact.query(time_partition=Upstream.time_partition - timedelta(days=1)) or + // AnArtifact.query(region=Upstream.region) + } else if triggerBinding := lv.GetTriggeredBinding(); triggerBinding != nil { + a := triggeringArtifacts[triggerBinding.GetIndex()] + aP := a.GetArtifactId().GetPartitions().GetValue() + var searchValue = aP[triggerBinding.GetPartitionKey()].GetStaticValue() + + if triggerBinding.GetTransform() != "" { + logger.Infof(ctx, "Transform detected [%s] value [%s] with transform [%s], assuming datetime", + triggerBinding.GetPartitionKey(), searchValue, triggerBinding.GetTransform()) + t, err := e.parseStringAsDateAndApplyTransform(ctx, lib.DateFormat, searchValue, triggerBinding.GetTransform()) + if err != nil { + return core.Literal{}, fmt.Errorf("failed to parse [%s] transform %s] for [%+v]: %w", searchValue, triggerBinding.GetTransform(), a.GetArtifactId(), err) + } + logger.Debugf(ctx, "Transformed [%s] to [%s]", aP[triggerBinding.GetPartitionKey()].GetStaticValue(), searchValue) + searchValue = t.Format(lib.DateFormat) + } + searchPartitions[partitionKey] = searchValue + } + } + } + + artifactID := core.ArtifactID{ + ArtifactKey: &core.ArtifactKey{ + Project: launchPlanID.Project, + Domain: launchPlanID.Domain, + Name: queryID.ArtifactKey.Name, + }, + } + if len(searchPartitions) > 0 { + artifactID.Dimensions = &core.ArtifactID_Partitions{ + Partitions: models.PartitionsToIdl(searchPartitions), + } + } + + resp, err := e.service.GetArtifact(ctx, &artifact.GetArtifactRequest{ + Query: &core.ArtifactQuery{ + Identifier: &core.ArtifactQuery_ArtifactId{ + ArtifactId: &artifactID, + }, + }, + }) + if err != nil { + st, ok := status.FromError(err) + if ok && st.Code() == codes.NotFound { + if len(p.GetVar().GetType().GetUnionType().GetVariants()) > 0 { + for _, v := range p.GetVar().GetType().GetUnionType().GetVariants() { + if v.GetSimple() == core.SimpleType_NONE { + return core.Literal{ + Value: &core.Literal_Scalar{ + Scalar: &core.Scalar{ + Value: &core.Scalar_NoneType{ + NoneType: &core.Void{}, + }, + }, + }, + }, nil + } + } + } + } + } + + return *resp.Artifact.Spec.Value, nil + } + + return core.Literal{}, fmt.Errorf("query was neither binding nor artifact id [%v]", aq) +} + +func (e *TriggerEngine) EvaluateNewArtifact(ctx context.Context, artifact *artifact.Artifact) ([]core.WorkflowExecutionIdentifier, error) { + + if artifact.GetArtifactId().GetArtifactKey() == nil { + // metric + return nil, fmt.Errorf("artifact or its key cannot be nil") + } + + triggers, err := e.store.GetTriggersByArtifactKey(ctx, *artifact.ArtifactId.ArtifactKey) + if err != nil { + logger.Errorf(ctx, "Failed to get triggers for artifact [%+v]: %v", artifact.ArtifactId.ArtifactKey, err) + return nil, err + } + + for _, trigger := range triggers { + err := e.evaluateAndHandleTrigger(ctx, trigger, artifact) + if err != nil { + logger.Errorf(ctx, "Failed to evaluate trigger [%s]: %v", trigger.Name, err) + return nil, err + } + } + + // todo: capture return IDs + return nil, nil +} + +func NewTriggerEngine(ctx context.Context, storage StorageInterface, service artifact.ArtifactRegistryServer, scope promutils.Scope) (TriggerEngine, error) { + cfg := admin2.GetConfig(ctx) + clients, err := admin2.NewClientsetBuilder().WithConfig(cfg).Build(ctx) + if err != nil { + return TriggerEngine{}, fmt.Errorf("failed to initialize clientset. Error: %w", err) + } + + return TriggerEngine{ + service: service, + adminClient: clients.AdminClient(), + store: storage, + scope: scope, + }, nil +} diff --git a/flyteartifacts/pkg/server/trigger_engine_test.go b/flyteartifacts/pkg/server/trigger_engine_test.go new file mode 100644 index 0000000000..3c61d6cc46 --- /dev/null +++ b/flyteartifacts/pkg/server/trigger_engine_test.go @@ -0,0 +1,13 @@ +package server + +import ( + "github.com/stretchr/testify/assert" + "testing" + "time" +) + +func TestA(t *testing.T) { + dur := ParseDuration("P1D") + assert.Equal(t, time.Hour*24, dur) + +} diff --git a/flyteartifacts/sandbox.yaml b/flyteartifacts/sandbox.yaml new file mode 100644 index 0000000000..a8268af6bd --- /dev/null +++ b/flyteartifacts/sandbox.yaml @@ -0,0 +1,15 @@ +artifactsServer: + artifactBlobStoreConfig: + type: stow + stow: + kind: s3 + config: + disable_ssl: true + v2_signing: true + endpoint: http://localhost:30002 + auth_type: accesskey + access_key_id: minio + secret_key: miniostorage +logger: + level: 5 + show-source: true From 3897e8675e65bbcfcf20ba07973b8e00d7ed63da Mon Sep 17 00:00:00 2001 From: Joe Eschen <126913098+squiishyy@users.noreply.github.com> Date: Thu, 7 Dec 2023 16:26:48 -0800 Subject: [PATCH 02/16] change artifacts http mappings in protos (#4554) Signed-off-by: squiishyy --- .../pb-cpp/flyteidl/artifact/artifacts.pb.cc | 227 +++++++---------- .../pb-cpp/flyteidl/artifact/artifacts.pb.h | 21 -- .../pb-go/flyteidl/artifact/artifacts.pb.go | 228 +++++++++-------- .../flyteidl/artifact/artifacts.pb.gw.go | 14 +- .../artifact/artifacts.pb.validate.go | 2 - .../flyteidl/artifact/artifacts.swagger.json | 48 ++-- .../pb-java/flyteidl/artifact/Artifacts.java | 231 ++++++------------ .../flyteidl/artifact/artifacts_pb2.py | 70 +++--- .../flyteidl/artifact/artifacts_pb2.pyi | 6 +- flyteidl/gen/pb_rust/flyteidl.artifact.rs | 3 - .../protos/flyteidl/artifact/artifacts.proto | 10 +- 11 files changed, 345 insertions(+), 515 deletions(-) diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc index ffc2e4816e..25418fec62 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc @@ -653,7 +653,6 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fartifact_2fartifacts_2ep ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::FindByWorkflowExecRequest, exec_id_), PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::FindByWorkflowExecRequest, direction_), - PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::FindByWorkflowExecRequest, fetch_specs_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -746,19 +745,19 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 75, -1, sizeof(::flyteidl::artifact::SearchArtifactsRequest)}, { 87, -1, sizeof(::flyteidl::artifact::SearchArtifactsResponse)}, { 94, -1, sizeof(::flyteidl::artifact::FindByWorkflowExecRequest)}, - { 102, -1, sizeof(::flyteidl::artifact::AddTagRequest)}, - { 110, -1, sizeof(::flyteidl::artifact::AddTagResponse)}, - { 115, -1, sizeof(::flyteidl::artifact::CreateTriggerRequest)}, - { 121, -1, sizeof(::flyteidl::artifact::CreateTriggerResponse)}, - { 126, -1, sizeof(::flyteidl::artifact::DeleteTriggerRequest)}, - { 132, -1, sizeof(::flyteidl::artifact::DeleteTriggerResponse)}, - { 137, -1, sizeof(::flyteidl::artifact::ArtifactProducer)}, - { 144, -1, sizeof(::flyteidl::artifact::RegisterProducerRequest)}, - { 150, -1, sizeof(::flyteidl::artifact::ArtifactConsumer)}, - { 157, -1, sizeof(::flyteidl::artifact::RegisterConsumerRequest)}, - { 163, -1, sizeof(::flyteidl::artifact::RegisterResponse)}, - { 168, -1, sizeof(::flyteidl::artifact::ExecutionInputsRequest)}, - { 175, -1, sizeof(::flyteidl::artifact::ExecutionInputsResponse)}, + { 101, -1, sizeof(::flyteidl::artifact::AddTagRequest)}, + { 109, -1, sizeof(::flyteidl::artifact::AddTagResponse)}, + { 114, -1, sizeof(::flyteidl::artifact::CreateTriggerRequest)}, + { 120, -1, sizeof(::flyteidl::artifact::CreateTriggerResponse)}, + { 125, -1, sizeof(::flyteidl::artifact::DeleteTriggerRequest)}, + { 131, -1, sizeof(::flyteidl::artifact::DeleteTriggerResponse)}, + { 136, -1, sizeof(::flyteidl::artifact::ArtifactProducer)}, + { 143, -1, sizeof(::flyteidl::artifact::RegisterProducerRequest)}, + { 149, -1, sizeof(::flyteidl::artifact::ArtifactConsumer)}, + { 156, -1, sizeof(::flyteidl::artifact::RegisterConsumerRequest)}, + { 162, -1, sizeof(::flyteidl::artifact::RegisterResponse)}, + { 167, -1, sizeof(::flyteidl::artifact::ExecutionInputsRequest)}, + { 174, -1, sizeof(::flyteidl::artifact::ExecutionInputsResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -842,86 +841,88 @@ const char descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto[] = "rchOptions\022\r\n\005token\030\006 \001(\t\022\r\n\005limit\030\007 \001(\005" "\"X\n\027SearchArtifactsResponse\022.\n\tartifacts" "\030\001 \003(\0132\033.flyteidl.artifact.Artifact\022\r\n\005t" - "oken\030\002 \001(\t\"\336\001\n\031FindByWorkflowExecRequest" + "oken\030\002 \001(\t\"\311\001\n\031FindByWorkflowExecRequest" "\022;\n\007exec_id\030\001 \001(\0132*.flyteidl.core.Workfl" "owExecutionIdentifier\022I\n\tdirection\030\002 \001(\016" "26.flyteidl.artifact.FindByWorkflowExecR" - "equest.Direction\022\023\n\013fetch_specs\030\003 \001(\010\"$\n" - "\tDirection\022\n\n\006INPUTS\020\000\022\013\n\007OUTPUTS\020\001\"a\n\rA" - "ddTagRequest\022.\n\013artifact_id\030\001 \001(\0132\031.flyt" - "eidl.core.ArtifactID\022\r\n\005value\030\002 \001(\t\022\021\n\to" - "verwrite\030\003 \001(\010\"\020\n\016AddTagResponse\"O\n\024Crea" - "teTriggerRequest\0227\n\023trigger_launch_plan\030" - "\001 \001(\0132\032.flyteidl.admin.LaunchPlan\"\027\n\025Cre" - "ateTriggerResponse\"E\n\024DeleteTriggerReque" - "st\022-\n\ntrigger_id\030\001 \001(\0132\031.flyteidl.core.I" - "dentifier\"\027\n\025DeleteTriggerResponse\"m\n\020Ar" - "tifactProducer\022,\n\tentity_id\030\001 \001(\0132\031.flyt" - "eidl.core.Identifier\022+\n\007outputs\030\002 \001(\0132\032." - "flyteidl.core.VariableMap\"Q\n\027RegisterPro" - "ducerRequest\0226\n\tproducers\030\001 \003(\0132#.flytei" - "dl.artifact.ArtifactProducer\"m\n\020Artifact" - "Consumer\022,\n\tentity_id\030\001 \001(\0132\031.flyteidl.c" - "ore.Identifier\022+\n\006inputs\030\002 \001(\0132\033.flyteid" - "l.core.ParameterMap\"Q\n\027RegisterConsumerR" - "equest\0226\n\tconsumers\030\001 \003(\0132#.flyteidl.art" - "ifact.ArtifactConsumer\"\022\n\020RegisterRespon" - "se\"\205\001\n\026ExecutionInputsRequest\022@\n\014executi" - "on_id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" - "utionIdentifier\022)\n\006inputs\030\002 \003(\0132\031.flytei" - "dl.core.ArtifactID\"\031\n\027ExecutionInputsRes" - "ponse2\365\r\n\020ArtifactRegistry\022g\n\016CreateArti" - "fact\022(.flyteidl.artifact.CreateArtifactR" - "equest\032).flyteidl.artifact.CreateArtifac" - "tResponse\"\000\022\315\004\n\013GetArtifact\022%.flyteidl.a" - "rtifact.GetArtifactRequest\032&.flyteidl.ar" - "tifact.GetArtifactResponse\"\356\003\202\323\344\223\002\347\003\022\022/d" - "ata/v1/artifactsZ\252\001\022\247\001/data/v1/artifact/" - "id/{query.artifact_id.artifact_key.proje" - "ct}/{query.artifact_id.artifact_key.doma" - "in}/{query.artifact_id.artifact_key.name" - "}/{query.artifact_id.version}Z\216\001\022\213\001/data" - "/v1/artifact/id/{query.artifact_id.artif" - "act_key.project}/{query.artifact_id.arti" - "fact_key.domain}/{query.artifact_id.arti" - "fact_key.name}Z\222\001\022\217\001/data/v1/artifact/ta" - "g/{query.artifact_tag.artifact_key.proje" - "ct}/{query.artifact_tag.artifact_key.dom" - "ain}/{query.artifact_tag.artifact_key.na" - "me}\022\204\002\n\017SearchArtifacts\022).flyteidl.artif" - "act.SearchArtifactsRequest\032*.flyteidl.ar" - "tifact.SearchArtifactsResponse\"\231\001\202\323\344\223\002\222\001" - "\022Q/data/v1/query/s/{artifact_key.project" - "}/{artifact_key.domain}/{artifact_key.na" - "me}Z=\022;/data/v1/query/{artifact_key.proj" - "ect}/{artifact_key.domain}\022d\n\rCreateTrig" - "ger\022\'.flyteidl.artifact.CreateTriggerReq" - "uest\032(.flyteidl.artifact.CreateTriggerRe" - "sponse\"\000\022d\n\rDeleteTrigger\022\'.flyteidl.art" - "ifact.DeleteTriggerRequest\032(.flyteidl.ar" - "tifact.DeleteTriggerResponse\"\000\022O\n\006AddTag" - "\022 .flyteidl.artifact.AddTagRequest\032!.fly" - "teidl.artifact.AddTagResponse\"\000\022e\n\020Regis" - "terProducer\022*.flyteidl.artifact.Register" - "ProducerRequest\032#.flyteidl.artifact.Regi" - "sterResponse\"\000\022e\n\020RegisterConsumer\022*.fly" - "teidl.artifact.RegisterConsumerRequest\032#" - ".flyteidl.artifact.RegisterResponse\"\000\022m\n" - "\022SetExecutionInputs\022).flyteidl.artifact." - "ExecutionInputsRequest\032*.flyteidl.artifa" - "ct.ExecutionInputsResponse\"\000\022\306\001\n\022FindByW" - "orkflowExec\022,.flyteidl.artifact.FindByWo" - "rkflowExecRequest\032*.flyteidl.artifact.Se" - "archArtifactsResponse\"V\202\323\344\223\002P\022N/data/v1/" - "query/e/{exec_id.project}/{exec_id.domai" - "n}/{exec_id.name}/{direction}B@Z>github." - "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" - "yteidl/artifactb\006proto3" + "equest.Direction\"$\n\tDirection\022\n\n\006INPUTS\020" + "\000\022\013\n\007OUTPUTS\020\001\"a\n\rAddTagRequest\022.\n\013artif" + "act_id\030\001 \001(\0132\031.flyteidl.core.ArtifactID\022" + "\r\n\005value\030\002 \001(\t\022\021\n\toverwrite\030\003 \001(\010\"\020\n\016Add" + "TagResponse\"O\n\024CreateTriggerRequest\0227\n\023t" + "rigger_launch_plan\030\001 \001(\0132\032.flyteidl.admi" + "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"E\n" + "\024DeleteTriggerRequest\022-\n\ntrigger_id\030\001 \001(" + "\0132\031.flyteidl.core.Identifier\"\027\n\025DeleteTr" + "iggerResponse\"m\n\020ArtifactProducer\022,\n\tent" + "ity_id\030\001 \001(\0132\031.flyteidl.core.Identifier\022" + "+\n\007outputs\030\002 \001(\0132\032.flyteidl.core.Variabl" + "eMap\"Q\n\027RegisterProducerRequest\0226\n\tprodu" + "cers\030\001 \003(\0132#.flyteidl.artifact.ArtifactP" + "roducer\"m\n\020ArtifactConsumer\022,\n\tentity_id" + "\030\001 \001(\0132\031.flyteidl.core.Identifier\022+\n\006inp" + "uts\030\002 \001(\0132\033.flyteidl.core.ParameterMap\"Q" + "\n\027RegisterConsumerRequest\0226\n\tconsumers\030\001" + " \003(\0132#.flyteidl.artifact.ArtifactConsume" + "r\"\022\n\020RegisterResponse\"\205\001\n\026ExecutionInput" + "sRequest\022@\n\014execution_id\030\001 \001(\0132*.flyteid" + "l.core.WorkflowExecutionIdentifier\022)\n\006in" + "puts\030\002 \003(\0132\031.flyteidl.core.ArtifactID\"\031\n" + "\027ExecutionInputsResponse2\326\016\n\020ArtifactReg" + "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" + "act.CreateArtifactRequest\032).flyteidl.art" + "ifact.CreateArtifactResponse\"\000\022\204\005\n\013GetAr" + "tifact\022%.flyteidl.artifact.GetArtifactRe" + "quest\032&.flyteidl.artifact.GetArtifactRes" + "ponse\"\245\004\202\323\344\223\002\236\004\022 /artifacts/api/v1/data/" + "artifactsZ\270\001\022\265\001/artifacts/api/v1/data/ar" + "tifact/id/{query.artifact_id.artifact_ke" + "y.project}/{query.artifact_id.artifact_k" + "ey.domain}/{query.artifact_id.artifact_k" + "ey.name}/{query.artifact_id.version}Z\234\001\022" + "\231\001/artifacts/api/v1/data/artifact/id/{qu" + "ery.artifact_id.artifact_key.project}/{q" + "uery.artifact_id.artifact_key.domain}/{q" + "uery.artifact_id.artifact_key.name}Z\237\001\022\234" + "\001/artifacts/api/v1/api/artifact/tag/{que" + "ry.artifact_tag.artifact_key.project}/{q" + "uery.artifact_tag.artifact_key.domain}/{" + "query.artifact_tag.artifact_key.name}\022\240\002" + "\n\017SearchArtifacts\022).flyteidl.artifact.Se" + "archArtifactsRequest\032*.flyteidl.artifact" + ".SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/art" + "ifacts/api/v1/data/query/s/{artifact_key" + ".project}/{artifact_key.domain}/{artifac" + "t_key.name}ZK\022I/artifacts/api/v1/data/qu" + "ery/{artifact_key.project}/{artifact_key" + ".domain}\022d\n\rCreateTrigger\022\'.flyteidl.art" + "ifact.CreateTriggerRequest\032(.flyteidl.ar" + "tifact.CreateTriggerResponse\"\000\022d\n\rDelete" + "Trigger\022\'.flyteidl.artifact.DeleteTrigge" + "rRequest\032(.flyteidl.artifact.DeleteTrigg" + "erResponse\"\000\022O\n\006AddTag\022 .flyteidl.artifa" + "ct.AddTagRequest\032!.flyteidl.artifact.Add" + "TagResponse\"\000\022e\n\020RegisterProducer\022*.flyt" + "eidl.artifact.RegisterProducerRequest\032#." + "flyteidl.artifact.RegisterResponse\"\000\022e\n\020" + "RegisterConsumer\022*.flyteidl.artifact.Reg" + "isterConsumerRequest\032#.flyteidl.artifact" + ".RegisterResponse\"\000\022m\n\022SetExecutionInput" + "s\022).flyteidl.artifact.ExecutionInputsReq" + "uest\032*.flyteidl.artifact.ExecutionInputs" + "Response\"\000\022\324\001\n\022FindByWorkflowExec\022,.flyt" + "eidl.artifact.FindByWorkflowExecRequest\032" + "*.flyteidl.artifact.SearchArtifactsRespo" + "nse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/quer" + "y/e/{exec_id.project}/{exec_id.domain}/{" + "exec_id.name}/{direction}B@Z>github.com/" + "flyteorg/flyte/flyteidl/gen/pb-go/flytei" + "dl/artifactb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fartifact_2fartifacts_2eproto = { false, InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto, descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto, - "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4823, + "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4899, }; void AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto() { @@ -5691,7 +5692,6 @@ void FindByWorkflowExecRequest::clear_exec_id() { #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int FindByWorkflowExecRequest::kExecIdFieldNumber; const int FindByWorkflowExecRequest::kDirectionFieldNumber; -const int FindByWorkflowExecRequest::kFetchSpecsFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 FindByWorkflowExecRequest::FindByWorkflowExecRequest() @@ -5708,9 +5708,7 @@ FindByWorkflowExecRequest::FindByWorkflowExecRequest(const FindByWorkflowExecReq } else { exec_id_ = nullptr; } - ::memcpy(&direction_, &from.direction_, - static_cast(reinterpret_cast(&fetch_specs_) - - reinterpret_cast(&direction_)) + sizeof(fetch_specs_)); + direction_ = from.direction_; // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.FindByWorkflowExecRequest) } @@ -5718,8 +5716,8 @@ void FindByWorkflowExecRequest::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_FindByWorkflowExecRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); ::memset(&exec_id_, 0, static_cast( - reinterpret_cast(&fetch_specs_) - - reinterpret_cast(&exec_id_)) + sizeof(fetch_specs_)); + reinterpret_cast(&direction_) - + reinterpret_cast(&exec_id_)) + sizeof(direction_)); } FindByWorkflowExecRequest::~FindByWorkflowExecRequest() { @@ -5750,9 +5748,7 @@ void FindByWorkflowExecRequest::Clear() { delete exec_id_; } exec_id_ = nullptr; - ::memset(&direction_, 0, static_cast( - reinterpret_cast(&fetch_specs_) - - reinterpret_cast(&direction_)) + sizeof(fetch_specs_)); + direction_ = 0; _internal_metadata_.Clear(); } @@ -5790,13 +5786,6 @@ const char* FindByWorkflowExecRequest::_InternalParse(const char* begin, const c GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); break; } - // bool fetch_specs = 3; - case 3: { - if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; - msg->set_fetch_specs(::google::protobuf::internal::ReadVarint(&ptr)); - GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - break; - } default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -5852,19 +5841,6 @@ bool FindByWorkflowExecRequest::MergePartialFromCodedStream( break; } - // bool fetch_specs = 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, &fetch_specs_))); - } else { - goto handle_unusual; - } - break; - } - default: { handle_unusual: if (tag == 0) { @@ -5904,11 +5880,6 @@ void FindByWorkflowExecRequest::SerializeWithCachedSizes( 2, this->direction(), output); } - // bool fetch_specs = 3; - if (this->fetch_specs() != 0) { - ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->fetch_specs(), output); - } - if (_internal_metadata_.have_unknown_fields()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -5935,11 +5906,6 @@ ::google::protobuf::uint8* FindByWorkflowExecRequest::InternalSerializeWithCache 2, this->direction(), target); } - // bool fetch_specs = 3; - if (this->fetch_specs() != 0) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->fetch_specs(), target); - } - if (_internal_metadata_.have_unknown_fields()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -5974,11 +5940,6 @@ size_t FindByWorkflowExecRequest::ByteSizeLong() const { ::google::protobuf::internal::WireFormatLite::EnumSize(this->direction()); } - // bool fetch_specs = 3; - if (this->fetch_specs() != 0) { - total_size += 1 + 1; - } - int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -6012,9 +5973,6 @@ void FindByWorkflowExecRequest::MergeFrom(const FindByWorkflowExecRequest& from) if (from.direction() != 0) { set_direction(from.direction()); } - if (from.fetch_specs() != 0) { - set_fetch_specs(from.fetch_specs()); - } } void FindByWorkflowExecRequest::CopyFrom(const ::google::protobuf::Message& from) { @@ -6044,7 +6002,6 @@ void FindByWorkflowExecRequest::InternalSwap(FindByWorkflowExecRequest* other) { _internal_metadata_.Swap(&other->_internal_metadata_); swap(exec_id_, other->exec_id_); swap(direction_, other->direction_); - swap(fetch_specs_, other->fetch_specs_); } ::google::protobuf::Metadata FindByWorkflowExecRequest::GetMetadata() const { diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h index b06022dc5c..bbdb47cfa8 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h @@ -1812,12 +1812,6 @@ class FindByWorkflowExecRequest final : ::flyteidl::artifact::FindByWorkflowExecRequest_Direction direction() const; void set_direction(::flyteidl::artifact::FindByWorkflowExecRequest_Direction value); - // bool fetch_specs = 3; - void clear_fetch_specs(); - static const int kFetchSpecsFieldNumber = 3; - bool fetch_specs() const; - void set_fetch_specs(bool value); - // @@protoc_insertion_point(class_scope:flyteidl.artifact.FindByWorkflowExecRequest) private: class HasBitSetters; @@ -1825,7 +1819,6 @@ class FindByWorkflowExecRequest final : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::flyteidl::core::WorkflowExecutionIdentifier* exec_id_; int direction_; - bool fetch_specs_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; }; @@ -4971,20 +4964,6 @@ inline void FindByWorkflowExecRequest::set_direction(::flyteidl::artifact::FindB // @@protoc_insertion_point(field_set:flyteidl.artifact.FindByWorkflowExecRequest.direction) } -// bool fetch_specs = 3; -inline void FindByWorkflowExecRequest::clear_fetch_specs() { - fetch_specs_ = false; -} -inline bool FindByWorkflowExecRequest::fetch_specs() const { - // @@protoc_insertion_point(field_get:flyteidl.artifact.FindByWorkflowExecRequest.fetch_specs) - return fetch_specs_; -} -inline void FindByWorkflowExecRequest::set_fetch_specs(bool value) { - - fetch_specs_ = value; - // @@protoc_insertion_point(field_set:flyteidl.artifact.FindByWorkflowExecRequest.fetch_specs) -} - // ------------------------------------------------------------------- // AddTagRequest diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go index eebe9c5ae7..3b0a0c4f5d 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go @@ -658,13 +658,11 @@ func (m *SearchArtifactsResponse) GetToken() string { } type FindByWorkflowExecRequest struct { - ExecId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` - Direction FindByWorkflowExecRequest_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=flyteidl.artifact.FindByWorkflowExecRequest_Direction" json:"direction,omitempty"` - // If set to true, actually fetch the artifact body. By default only the IDs are returned. - FetchSpecs bool `protobuf:"varint,3,opt,name=fetch_specs,json=fetchSpecs,proto3" json:"fetch_specs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExecId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` + Direction FindByWorkflowExecRequest_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=flyteidl.artifact.FindByWorkflowExecRequest_Direction" json:"direction,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *FindByWorkflowExecRequest) Reset() { *m = FindByWorkflowExecRequest{} } @@ -706,13 +704,6 @@ func (m *FindByWorkflowExecRequest) GetDirection() FindByWorkflowExecRequest_Dir return FindByWorkflowExecRequest_INPUTS } -func (m *FindByWorkflowExecRequest) GetFetchSpecs() bool { - if m != nil { - return m.FetchSpecs - } - return false -} - // Aliases identify a particular version of an artifact. They are different than tags in that they // have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind, // at most one version can have any given value at any point. @@ -1260,111 +1251,110 @@ func init() { func init() { proto.RegisterFile("flyteidl/artifact/artifacts.proto", fileDescriptor_804518da5936dedb) } var fileDescriptor_804518da5936dedb = []byte{ - // 1649 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6f, 0x1b, 0x45, - 0x1b, 0xcf, 0xc6, 0x89, 0x1d, 0x3f, 0x8e, 0xd3, 0x64, 0x9a, 0x37, 0x71, 0xdc, 0xbe, 0x6f, 0xd3, - 0xed, 0xfb, 0x91, 0xf6, 0x2d, 0x5e, 0x35, 0x45, 0xa5, 0x29, 0x2a, 0x22, 0x6d, 0x0a, 0x32, 0xfd, - 0x4a, 0x37, 0x69, 0x81, 0x08, 0xc9, 0x8c, 0x77, 0x27, 0xce, 0x36, 0xeb, 0xdd, 0xed, 0xec, 0x38, - 0x61, 0x55, 0x55, 0x45, 0x88, 0x5b, 0x25, 0x90, 0xca, 0x09, 0xfe, 0x01, 0x24, 0x8e, 0xfc, 0x11, - 0x1c, 0x90, 0x38, 0xf1, 0x2f, 0x20, 0x71, 0xe3, 0xc6, 0x01, 0x21, 0x24, 0x34, 0xb3, 0x3b, 0xbb, - 0x6b, 0x7b, 0xed, 0x24, 0x2d, 0x07, 0x6e, 0x3b, 0xcf, 0xfc, 0x9e, 0xcf, 0x79, 0xbe, 0x6c, 0x38, - 0xbd, 0x6d, 0x07, 0x8c, 0x58, 0xa6, 0xad, 0x61, 0xca, 0xac, 0x6d, 0x6c, 0xb0, 0xf8, 0xc3, 0xaf, - 0x79, 0xd4, 0x65, 0x2e, 0x9a, 0x91, 0x90, 0x9a, 0xbc, 0xa9, 0x2e, 0xb4, 0x5c, 0xb7, 0x65, 0x13, - 0x4d, 0x00, 0x9a, 0x9d, 0x6d, 0x0d, 0x3b, 0x41, 0x88, 0xae, 0x9e, 0x8c, 0xae, 0xb0, 0x67, 0x69, - 0xd8, 0x71, 0x5c, 0x86, 0x99, 0xe5, 0x3a, 0x91, 0xac, 0xea, 0x62, 0xa2, 0xce, 0x6c, 0x5b, 0x8e, - 0x66, 0xe3, 0x8e, 0x63, 0xec, 0x34, 0x3c, 0x1b, 0x3b, 0x92, 0x3f, 0x46, 0x18, 0x2e, 0x25, 0x9a, - 0x6d, 0x31, 0x42, 0xb1, 0x2d, 0xf9, 0x17, 0xba, 0x6f, 0x59, 0xe0, 0x11, 0x79, 0xf5, 0xaf, 0xee, - 0x2b, 0xcb, 0x24, 0x0e, 0xb3, 0xb6, 0x2d, 0x42, 0xa3, 0xfb, 0x53, 0xdd, 0xf7, 0xd2, 0x97, 0x86, - 0x65, 0x46, 0x80, 0x7f, 0xf6, 0x08, 0x70, 0x18, 0xa1, 0xdb, 0xd8, 0x20, 0x7d, 0xa6, 0x93, 0x3d, - 0xe2, 0x30, 0xcd, 0xb0, 0xdd, 0x8e, 0x29, 0x3e, 0x23, 0x0b, 0xd4, 0xef, 0x15, 0x98, 0x58, 0x8d, - 0xc4, 0xa2, 0x2b, 0x50, 0x4a, 0xa9, 0xa8, 0x28, 0x8b, 0xca, 0x52, 0x69, 0x79, 0xa1, 0x16, 0xc7, - 0x92, 0xeb, 0xa8, 0x49, 0x74, 0x7d, 0x4d, 0x07, 0x89, 0xae, 0x9b, 0xe8, 0x22, 0x8c, 0xf9, 0x1e, - 0x31, 0x2a, 0xa3, 0x82, 0xe9, 0x54, 0xad, 0xef, 0x01, 0x62, 0xc6, 0x0d, 0x8f, 0x18, 0xba, 0x00, - 0x23, 0x04, 0x63, 0x0c, 0xb7, 0xfc, 0x4a, 0x6e, 0x31, 0xb7, 0x54, 0xd4, 0xc5, 0x37, 0x5a, 0x81, - 0xbc, 0xef, 0x76, 0xa8, 0x41, 0x2a, 0x63, 0x42, 0xd4, 0xe9, 0x61, 0xa2, 0x04, 0x50, 0x8f, 0x18, - 0xd4, 0x67, 0x39, 0xf8, 0xc7, 0x75, 0x4a, 0x30, 0x23, 0x12, 0xa0, 0x93, 0x47, 0x1d, 0xe2, 0x33, - 0x74, 0x15, 0x26, 0x63, 0xcf, 0x76, 0x49, 0x10, 0xb9, 0x56, 0x1d, 0xe0, 0xda, 0x4d, 0x12, 0xe8, - 0x71, 0x24, 0x6e, 0x92, 0x00, 0x55, 0xa0, 0xb0, 0x47, 0xa8, 0x6f, 0xb9, 0x4e, 0x25, 0xb7, 0xa8, - 0x2c, 0x15, 0x75, 0x79, 0x7c, 0x31, 0xb7, 0xdf, 0x03, 0xf0, 0xf8, 0xbd, 0xc8, 0xb2, 0xca, 0xd8, - 0x62, 0x6e, 0xa9, 0xb4, 0x7c, 0x39, 0x83, 0x35, 0xd3, 0x97, 0xda, 0x7a, 0xcc, 0x7a, 0xc3, 0x61, - 0x34, 0xd0, 0x53, 0xb2, 0xd0, 0x34, 0xe4, 0x18, 0x6e, 0x55, 0xc6, 0x85, 0x91, 0xfc, 0x33, 0x15, - 0xce, 0xfc, 0x11, 0xc3, 0x59, 0xbd, 0x0a, 0xc7, 0x7a, 0x74, 0x71, 0xf9, 0x32, 0x7c, 0x45, 0x9d, - 0x7f, 0xa2, 0x59, 0x18, 0xdf, 0xc3, 0x76, 0x87, 0x88, 0x08, 0x14, 0xf5, 0xf0, 0x70, 0x65, 0xf4, - 0xb2, 0xa2, 0xfe, 0xae, 0xc0, 0x54, 0xb7, 0x64, 0xf4, 0x3e, 0xa0, 0x7d, 0x97, 0xee, 0x6e, 0xdb, - 0xee, 0x7e, 0x83, 0x7c, 0x44, 0x8c, 0x0e, 0x17, 0x1d, 0x3d, 0xc6, 0xb9, 0x9e, 0xc7, 0x78, 0x37, - 0x02, 0xde, 0x90, 0xb8, 0x7a, 0x5c, 0x1d, 0xfa, 0xcc, 0x7e, 0xef, 0x25, 0x9a, 0x87, 0x82, 0xe3, - 0x9a, 0x84, 0xe7, 0x6d, 0x68, 0x49, 0x9e, 0x1f, 0xeb, 0x26, 0x5a, 0x86, 0x02, 0xc3, 0xfe, 0x2e, - 0xbf, 0xc8, 0x65, 0x26, 0x74, 0x4a, 0x6e, 0x9e, 0x23, 0xeb, 0x26, 0x3a, 0x03, 0x65, 0x4a, 0x18, - 0x0d, 0x1a, 0x98, 0x31, 0xd2, 0xf6, 0x98, 0x48, 0xc5, 0xb2, 0x3e, 0x29, 0x88, 0xab, 0x21, 0x0d, - 0x9d, 0x84, 0xa2, 0x47, 0x2d, 0xc7, 0xb0, 0x3c, 0x6c, 0x47, 0x11, 0x4f, 0x08, 0xea, 0x6f, 0x0a, - 0x4c, 0xa6, 0x9f, 0x1e, 0x9d, 0x97, 0x81, 0x0a, 0xdd, 0x9d, 0xeb, 0xb1, 0xe2, 0x56, 0xd8, 0x34, - 0xa2, 0x00, 0xa2, 0x1a, 0x8c, 0xf1, 0x46, 0x11, 0xe5, 0x55, 0x35, 0x1b, 0xbc, 0x19, 0x78, 0x44, - 0x17, 0x38, 0xf4, 0x7f, 0x98, 0xf1, 0x77, 0x5c, 0xca, 0x1a, 0x26, 0xf1, 0x0d, 0x6a, 0x79, 0x2c, - 0xc9, 0xd5, 0x69, 0x71, 0xb1, 0x96, 0xd0, 0xd1, 0x0a, 0x94, 0x3b, 0x3e, 0xa1, 0x8d, 0x36, 0x61, - 0xd8, 0xc4, 0x0c, 0x47, 0x95, 0x36, 0x5b, 0x0b, 0xfb, 0x60, 0x4d, 0xb6, 0xc8, 0xda, 0xaa, 0x13, - 0xe8, 0x93, 0x1c, 0x7a, 0x3b, 0x42, 0xf2, 0xc8, 0x48, 0xae, 0x86, 0x30, 0x30, 0x74, 0x7c, 0x52, - 0x12, 0xb9, 0x49, 0xea, 0x3d, 0x98, 0xeb, 0x4d, 0x5d, 0xdf, 0x73, 0x1d, 0x9f, 0xa0, 0xd7, 0x60, - 0x42, 0x66, 0x5d, 0x14, 0x87, 0x13, 0x43, 0xf2, 0x51, 0x8f, 0xc1, 0x6a, 0x13, 0xd0, 0xdb, 0x84, - 0xf5, 0x96, 0xf5, 0x32, 0x8c, 0x3f, 0xea, 0x10, 0x2a, 0xeb, 0xf9, 0xe4, 0x80, 0x7a, 0xbe, 0xc7, - 0x31, 0x7a, 0x08, 0xe5, 0xb5, 0x6c, 0x12, 0x86, 0x2d, 0xdb, 0x17, 0xc1, 0x9d, 0xd0, 0xe5, 0x51, - 0xbd, 0x03, 0xc7, 0xbb, 0x74, 0xbc, 0xac, 0xcd, 0x1f, 0x42, 0x79, 0x83, 0x60, 0x6a, 0xec, 0xdc, - 0xf5, 0xc2, 0xea, 0xe4, 0x8f, 0xc4, 0xa8, 0x65, 0xb0, 0x46, 0xaa, 0xfc, 0x15, 0x61, 0xc4, 0x74, - 0x78, 0x91, 0xd4, 0x1b, 0x52, 0xa1, 0x6c, 0x63, 0x46, 0x7c, 0xd6, 0x68, 0x06, 0xa2, 0x67, 0x85, - 0xd6, 0x96, 0x42, 0xe2, 0xb5, 0xe0, 0x26, 0x09, 0xd4, 0x6f, 0x47, 0x61, 0x2e, 0x54, 0x21, 0xd5, - 0xfb, 0x7f, 0x51, 0xc7, 0x5b, 0xe9, 0x6a, 0x51, 0xa3, 0x99, 0x85, 0x93, 0x18, 0xdb, 0xd5, 0x83, - 0xba, 0xea, 0x22, 0xd7, 0x53, 0x17, 0xe9, 0x56, 0x3a, 0xd6, 0xdd, 0x4a, 0xaf, 0x40, 0xc1, 0x0d, - 0x03, 0x25, 0x92, 0xaa, 0xb4, 0xbc, 0x98, 0x11, 0xe6, 0xae, 0x80, 0xea, 0x92, 0x81, 0x77, 0x21, - 0xe6, 0xee, 0x12, 0x47, 0x34, 0xb9, 0xa2, 0x1e, 0x1e, 0x38, 0xd5, 0xb6, 0xda, 0x16, 0xab, 0x14, - 0x16, 0x95, 0xa5, 0x71, 0x3d, 0x3c, 0xa8, 0x0f, 0x61, 0xbe, 0x2f, 0x66, 0xd1, 0x53, 0xaf, 0x40, - 0x31, 0xde, 0x24, 0x2a, 0x8a, 0xe8, 0xcb, 0x43, 0xdf, 0x3a, 0x41, 0x27, 0x16, 0x8c, 0xa6, 0x2c, - 0x50, 0xff, 0x50, 0x60, 0xe1, 0x2d, 0xcb, 0x31, 0xaf, 0x05, 0xe9, 0x76, 0x26, 0xdf, 0xe8, 0x3a, - 0x14, 0x78, 0x17, 0x4c, 0x66, 0xed, 0x51, 0x7a, 0x60, 0x9e, 0xb3, 0xd6, 0x4d, 0xb4, 0x09, 0x45, - 0xd3, 0xa2, 0xc4, 0x10, 0x15, 0xcf, 0x95, 0x4f, 0x2d, 0x5f, 0xca, 0xb0, 0x79, 0xa0, 0x15, 0xb5, - 0x35, 0xc9, 0xad, 0x27, 0x82, 0xd0, 0x29, 0x28, 0x6d, 0x13, 0x66, 0xec, 0x34, 0xf8, 0xc0, 0xf2, - 0xc5, 0x33, 0x4e, 0xe8, 0x20, 0x48, 0xbc, 0x9b, 0xf9, 0xea, 0xbf, 0xa1, 0x18, 0x33, 0x22, 0x80, - 0x7c, 0xfd, 0xce, 0xfa, 0xfd, 0xcd, 0x8d, 0xe9, 0x11, 0x54, 0x82, 0xc2, 0xdd, 0xfb, 0x9b, 0xe2, - 0xa0, 0xa8, 0x4f, 0xa1, 0xbc, 0x6a, 0x9a, 0x9b, 0xb8, 0x25, 0x5d, 0x7e, 0x99, 0x15, 0x23, 0x73, - 0xd4, 0xf0, 0x74, 0x73, 0xf7, 0x08, 0xdd, 0xa7, 0x16, 0x23, 0x91, 0x9d, 0x09, 0x41, 0x9d, 0x86, - 0x29, 0x69, 0x40, 0xf8, 0xc6, 0x6a, 0x13, 0x66, 0xc3, 0xe6, 0xb4, 0x49, 0xad, 0x56, 0x8b, 0x50, - 0x69, 0xd9, 0x3b, 0x70, 0x9c, 0x85, 0x94, 0x46, 0x6a, 0xc3, 0xeb, 0xaf, 0x1b, 0xb1, 0x04, 0xd6, - 0x6e, 0x09, 0xc8, 0xba, 0x8d, 0x1d, 0x7d, 0x26, 0x62, 0x4b, 0x48, 0xea, 0xbc, 0xdc, 0x43, 0x62, - 0x1d, 0x91, 0xf2, 0x75, 0x98, 0x5d, 0x23, 0x36, 0xe9, 0x53, 0x7e, 0x19, 0x40, 0x2a, 0x1f, 0x18, - 0x95, 0xd4, 0xdb, 0x17, 0x23, 0x70, 0xdd, 0xe4, 0xaa, 0x7a, 0x24, 0x46, 0xaa, 0x3e, 0x56, 0x60, - 0x5a, 0x06, 0x72, 0x9d, 0xba, 0x66, 0xc7, 0x20, 0x14, 0x5d, 0x82, 0x22, 0x17, 0xc2, 0x82, 0x43, - 0xa9, 0x99, 0x08, 0xb1, 0x75, 0x13, 0xbd, 0x0a, 0x05, 0xb7, 0xc3, 0xbc, 0x0e, 0xf3, 0x07, 0x4c, - 0xa4, 0x07, 0x98, 0x5a, 0xb8, 0x69, 0x93, 0xdb, 0xd8, 0xd3, 0x25, 0x54, 0xfd, 0x00, 0xe6, 0x75, - 0xd2, 0xb2, 0x7c, 0x46, 0xa8, 0xb4, 0x40, 0x3a, 0xbc, 0xca, 0x9b, 0x44, 0x48, 0x92, 0x95, 0x76, - 0x66, 0x48, 0xa5, 0xc5, 0xec, 0x09, 0x97, 0xfa, 0x34, 0xf1, 0xef, 0xba, 0xeb, 0xf8, 0x9d, 0xf6, - 0x4b, 0xf8, 0x77, 0x11, 0xf2, 0x96, 0x93, 0x72, 0xef, 0x44, 0x7f, 0xab, 0xc3, 0x6d, 0xc2, 0x08, - 0xe5, 0xfe, 0x45, 0xd0, 0xb4, 0x7b, 0xd2, 0x80, 0x94, 0x7b, 0x46, 0x44, 0x3a, 0x8c, 0x7b, 0x31, - 0x7b, 0xc2, 0xa5, 0x22, 0x98, 0x96, 0xd2, 0xe3, 0x37, 0xfd, 0x4a, 0x81, 0xb9, 0xa4, 0x17, 0x08, - 0x2b, 0xa4, 0xc6, 0xdb, 0x30, 0x19, 0x6f, 0x54, 0x2f, 0xd6, 0x50, 0x4a, 0x24, 0x21, 0xa2, 0x0b, - 0xa9, 0x80, 0xe4, 0x86, 0x97, 0xa8, 0x0c, 0xc7, 0x02, 0xcc, 0xf7, 0xd9, 0x16, 0xda, 0xbd, 0xfc, - 0x6b, 0x39, 0x79, 0xab, 0xd0, 0x29, 0x1a, 0xa0, 0x16, 0x4c, 0x75, 0x6f, 0x09, 0x68, 0xe9, 0xb0, - 0x3b, 0x70, 0xf5, 0xec, 0x21, 0x90, 0x51, 0xcc, 0x46, 0xd0, 0x0f, 0x63, 0x50, 0x4a, 0x0d, 0x76, - 0xf4, 0x9f, 0x0c, 0xe6, 0xfe, 0xe5, 0xa2, 0xfa, 0xdf, 0x83, 0x60, 0x91, 0x82, 0x5f, 0x72, 0x9f, - 0xfc, 0xf8, 0xd3, 0x17, 0xa3, 0x3f, 0xe7, 0x10, 0xd2, 0xf8, 0x0a, 0xa4, 0xed, 0x5d, 0x48, 0x7e, - 0x8f, 0x6e, 0x7d, 0xa3, 0xa0, 0xaf, 0x95, 0x3e, 0xba, 0x66, 0x99, 0xda, 0x63, 0xb1, 0x8f, 0xd4, - 0xd2, 0x3f, 0xea, 0xd2, 0x13, 0x9b, 0x6f, 0x61, 0x0f, 0x89, 0xc1, 0x9e, 0x1c, 0x08, 0x34, 0xdd, - 0x36, 0xb6, 0x9c, 0x83, 0x71, 0x0e, 0x6e, 0x93, 0x4c, 0x54, 0x34, 0x81, 0x9f, 0x6c, 0x7d, 0xa6, - 0xa0, 0x67, 0x7f, 0x27, 0x63, 0xb7, 0x9e, 0x2b, 0xe8, 0xf3, 0x0c, 0x83, 0x18, 0x6e, 0xf5, 0x09, - 0x60, 0xb8, 0x75, 0x48, 0x93, 0xfa, 0x90, 0x83, 0x6c, 0xea, 0x03, 0x0a, 0xa3, 0xd0, 0xa7, 0xa3, - 0x70, 0xac, 0x67, 0x83, 0x40, 0x67, 0x07, 0xee, 0x2a, 0xbd, 0x9b, 0x59, 0xf5, 0xdc, 0x61, 0xa0, - 0x51, 0x6e, 0x7d, 0xa9, 0x88, 0xdc, 0x7a, 0xae, 0xa0, 0x7b, 0x71, 0x14, 0x84, 0x91, 0x9a, 0xaf, - 0x3d, 0x1e, 0xe0, 0x6d, 0xb6, 0x6b, 0x19, 0xc1, 0xbd, 0x8a, 0x5e, 0xef, 0x11, 0x7a, 0x14, 0x91, - 0xc8, 0x84, 0x72, 0xd7, 0x90, 0x43, 0xff, 0x1b, 0x58, 0x94, 0xdd, 0xd3, 0xae, 0xba, 0x74, 0x30, - 0x30, 0x2e, 0x5e, 0x13, 0xca, 0x5d, 0xf3, 0x2d, 0x53, 0x4b, 0xd6, 0x4c, 0xcd, 0xd4, 0x92, 0x3d, - 0x2a, 0x47, 0xd0, 0x5d, 0xc8, 0x87, 0x6b, 0x02, 0xca, 0x5a, 0x3a, 0xbb, 0x56, 0x98, 0xea, 0xe9, - 0x21, 0x88, 0x58, 0x20, 0x49, 0xba, 0x77, 0x3c, 0x7c, 0xb3, 0x1e, 0x7e, 0xc0, 0x7c, 0xac, 0x9e, - 0x19, 0x82, 0xcd, 0x56, 0x13, 0xcf, 0xc0, 0x61, 0x6a, 0x7a, 0xe6, 0xd4, 0x61, 0xd5, 0xb4, 0x01, - 0x6d, 0x10, 0xd6, 0xd3, 0xdd, 0x33, 0x73, 0x3e, 0x7b, 0x3a, 0x65, 0xe6, 0xfc, 0x80, 0x61, 0xa1, - 0x8e, 0xa0, 0xef, 0x14, 0x40, 0xfd, 0xfb, 0x2a, 0x3a, 0x7f, 0x94, 0xb5, 0xf6, 0x48, 0x65, 0xf6, - 0x40, 0x54, 0xd9, 0x3a, 0xba, 0xd3, 0x53, 0x0f, 0x44, 0x7b, 0x1c, 0x2d, 0xe8, 0xa9, 0x62, 0x90, - 0x94, 0xb8, 0xb4, 0x24, 0x21, 0xea, 0xaf, 0xf1, 0x12, 0xfd, 0xe4, 0xda, 0x9b, 0x5b, 0x6f, 0xb4, - 0x2c, 0xb6, 0xd3, 0x69, 0xd6, 0x0c, 0xb7, 0xad, 0x09, 0x7b, 0x5c, 0xda, 0x0a, 0x3f, 0xb4, 0xf8, - 0xbf, 0xb9, 0x16, 0x71, 0x34, 0xaf, 0xf9, 0x4a, 0xcb, 0xd5, 0xfa, 0xfe, 0xd8, 0x6c, 0xe6, 0xc5, - 0x6f, 0xf1, 0x8b, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0x2e, 0xc7, 0x43, 0x9d, 0xf4, 0x14, 0x00, - 0x00, + // 1639 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0xdb, 0x46, + 0x1a, 0x37, 0x2d, 0x59, 0xb2, 0x3e, 0x59, 0x8e, 0x3d, 0xf1, 0xda, 0xb2, 0x92, 0xdd, 0x28, 0xcc, + 0x3e, 0x9c, 0x6c, 0x56, 0x44, 0x9c, 0x45, 0x36, 0x0e, 0x90, 0x45, 0x9d, 0x38, 0x2d, 0x54, 0xe7, + 0xe1, 0xd0, 0x4e, 0x1f, 0x46, 0x50, 0x75, 0x44, 0x8e, 0x65, 0xc6, 0x14, 0xc9, 0x0c, 0x47, 0x76, + 0x89, 0x20, 0x48, 0x51, 0xf4, 0xd6, 0x63, 0x4f, 0x2d, 0x82, 0xb6, 0x97, 0x5e, 0x7b, 0x28, 0x10, + 0xa0, 0x7f, 0x43, 0xaf, 0x2d, 0x7a, 0xea, 0xb1, 0xff, 0x44, 0xd1, 0x4b, 0xc1, 0x21, 0x87, 0x0f, + 0x89, 0x92, 0xed, 0xa4, 0x87, 0xde, 0x38, 0xdf, 0xfc, 0xbe, 0xe7, 0x7c, 0x2f, 0x09, 0xce, 0xee, + 0x98, 0x1e, 0x23, 0x86, 0x6e, 0x2a, 0x98, 0x32, 0x63, 0x07, 0x6b, 0x2c, 0xfa, 0x70, 0x1b, 0x0e, + 0xb5, 0x99, 0x8d, 0x66, 0x05, 0xa4, 0x21, 0x6e, 0x6a, 0x8b, 0x1d, 0xdb, 0xee, 0x98, 0x44, 0xe1, + 0x80, 0x76, 0x6f, 0x47, 0xc1, 0x96, 0x17, 0xa0, 0x6b, 0xa7, 0xc3, 0x2b, 0xec, 0x18, 0x0a, 0xb6, + 0x2c, 0x9b, 0x61, 0x66, 0xd8, 0x56, 0x28, 0xab, 0x56, 0x8f, 0xd5, 0xe9, 0x5d, 0xc3, 0x52, 0x4c, + 0xdc, 0xb3, 0xb4, 0xdd, 0x96, 0x63, 0x62, 0x4b, 0xf0, 0x47, 0x08, 0xcd, 0xa6, 0x44, 0x31, 0x0d, + 0x46, 0x28, 0x36, 0x05, 0xff, 0x62, 0xfa, 0x96, 0x79, 0x0e, 0x11, 0x57, 0x7f, 0x4b, 0x5f, 0x19, + 0x3a, 0xb1, 0x98, 0xb1, 0x63, 0x10, 0x1a, 0xde, 0x9f, 0x49, 0xdf, 0x0b, 0x5f, 0x5a, 0x86, 0x1e, + 0x02, 0xfe, 0xda, 0x27, 0xc0, 0x62, 0x84, 0xee, 0x60, 0x8d, 0x0c, 0x98, 0x4e, 0xf6, 0x89, 0xc5, + 0x14, 0xcd, 0xb4, 0x7b, 0x3a, 0xff, 0x0c, 0x2d, 0x90, 0xbf, 0x97, 0x60, 0x72, 0x35, 0x14, 0x8b, + 0xae, 0x41, 0x39, 0xa1, 0xa2, 0x2a, 0xd5, 0xa5, 0xa5, 0xf2, 0xf2, 0x62, 0x23, 0x8a, 0xa5, 0xaf, + 0xa3, 0x21, 0xd0, 0xcd, 0x35, 0x15, 0x04, 0xba, 0xa9, 0xa3, 0xcb, 0x90, 0x77, 0x1d, 0xa2, 0x55, + 0xc7, 0x39, 0xd3, 0x99, 0xc6, 0xc0, 0x03, 0x44, 0x8c, 0x9b, 0x0e, 0xd1, 0x54, 0x0e, 0x46, 0x08, + 0xf2, 0x0c, 0x77, 0xdc, 0x6a, 0xae, 0x9e, 0x5b, 0x2a, 0xa9, 0xfc, 0x1b, 0xad, 0x40, 0xc1, 0xb5, + 0x7b, 0x54, 0x23, 0xd5, 0x3c, 0x17, 0x75, 0x76, 0x94, 0x28, 0x0e, 0x54, 0x43, 0x06, 0xf9, 0x93, + 0x1c, 0xfc, 0xe5, 0x26, 0x25, 0x98, 0x11, 0x01, 0x50, 0xc9, 0xe3, 0x1e, 0x71, 0x19, 0xba, 0x0e, + 0x53, 0x91, 0x67, 0x7b, 0xc4, 0x0b, 0x5d, 0xab, 0x0d, 0x71, 0x6d, 0x9d, 0x78, 0x6a, 0x14, 0x89, + 0x75, 0xe2, 0xa1, 0x2a, 0x14, 0xf7, 0x09, 0x75, 0x0d, 0xdb, 0xaa, 0xe6, 0xea, 0xd2, 0x52, 0x49, + 0x15, 0xc7, 0x97, 0x73, 0xfb, 0x1d, 0x00, 0xc7, 0xbf, 0xe7, 0x59, 0x56, 0xcd, 0xd7, 0x73, 0x4b, + 0xe5, 0xe5, 0xab, 0x19, 0xac, 0x99, 0xbe, 0x34, 0x36, 0x22, 0xd6, 0x5b, 0x16, 0xa3, 0x9e, 0x9a, + 0x90, 0x85, 0x66, 0x20, 0xc7, 0x70, 0xa7, 0x3a, 0xc1, 0x8d, 0xf4, 0x3f, 0x13, 0xe1, 0x2c, 0x1c, + 0x33, 0x9c, 0xb5, 0xeb, 0x70, 0xa2, 0x4f, 0x97, 0x2f, 0x5f, 0x84, 0xaf, 0xa4, 0xfa, 0x9f, 0x68, + 0x0e, 0x26, 0xf6, 0xb1, 0xd9, 0x23, 0x3c, 0x02, 0x25, 0x35, 0x38, 0x5c, 0x1b, 0xbf, 0x2a, 0xc9, + 0xbf, 0x49, 0x30, 0x9d, 0x96, 0x8c, 0xde, 0x05, 0x74, 0x60, 0xd3, 0xbd, 0x1d, 0xd3, 0x3e, 0x68, + 0x91, 0x0f, 0x88, 0xd6, 0xf3, 0x45, 0x87, 0x8f, 0x71, 0xa1, 0xef, 0x31, 0xde, 0x0e, 0x81, 0xb7, + 0x04, 0xae, 0x19, 0x55, 0x87, 0x3a, 0x7b, 0xd0, 0x7f, 0x89, 0x16, 0xa0, 0x68, 0xd9, 0x3a, 0xf1, + 0xf3, 0x36, 0xb0, 0xa4, 0xe0, 0x1f, 0x9b, 0x3a, 0x5a, 0x86, 0x22, 0xc3, 0xee, 0x9e, 0x7f, 0x91, + 0xcb, 0x4c, 0xe8, 0x84, 0xdc, 0x82, 0x8f, 0x6c, 0xea, 0xe8, 0x1c, 0x54, 0x28, 0x61, 0xd4, 0x6b, + 0x61, 0xc6, 0x48, 0xd7, 0x61, 0x3c, 0x15, 0x2b, 0xea, 0x14, 0x27, 0xae, 0x06, 0x34, 0x74, 0x1a, + 0x4a, 0x0e, 0x35, 0x2c, 0xcd, 0x70, 0xb0, 0x19, 0x46, 0x3c, 0x26, 0xc8, 0xbf, 0x4a, 0x30, 0x95, + 0x7c, 0x7a, 0x74, 0x51, 0x04, 0x2a, 0x70, 0x77, 0xbe, 0xcf, 0x8a, 0xdb, 0x41, 0xd3, 0x08, 0x03, + 0x88, 0x1a, 0x90, 0xf7, 0x1b, 0x45, 0x98, 0x57, 0xb5, 0x6c, 0xf0, 0x96, 0xe7, 0x10, 0x95, 0xe3, + 0xd0, 0xbf, 0x61, 0xd6, 0xdd, 0xb5, 0x29, 0x6b, 0xe9, 0xc4, 0xd5, 0xa8, 0xe1, 0xb0, 0x38, 0x57, + 0x67, 0xf8, 0xc5, 0x5a, 0x4c, 0x47, 0x2b, 0x50, 0xe9, 0xb9, 0x84, 0xb6, 0xba, 0x84, 0x61, 0x1d, + 0x33, 0x1c, 0x56, 0xda, 0x5c, 0x23, 0xe8, 0x83, 0x0d, 0xd1, 0x22, 0x1b, 0xab, 0x96, 0xa7, 0x4e, + 0xf9, 0xd0, 0x3b, 0x21, 0xd2, 0x8f, 0x8c, 0xe0, 0x6a, 0x71, 0x03, 0x03, 0xc7, 0xa7, 0x04, 0xd1, + 0x37, 0x49, 0xbe, 0x0f, 0xf3, 0xfd, 0xa9, 0xeb, 0x3a, 0xb6, 0xe5, 0x12, 0xf4, 0x3f, 0x98, 0x14, + 0x59, 0x17, 0xc6, 0xe1, 0xd4, 0x88, 0x7c, 0x54, 0x23, 0xb0, 0xdc, 0x06, 0xf4, 0x06, 0x61, 0xfd, + 0x65, 0xbd, 0x0c, 0x13, 0x8f, 0x7b, 0x84, 0x8a, 0x7a, 0x3e, 0x3d, 0xa4, 0x9e, 0xef, 0xfb, 0x18, + 0x35, 0x80, 0xfa, 0xb5, 0xac, 0x13, 0x86, 0x0d, 0xd3, 0xe5, 0xc1, 0x9d, 0x54, 0xc5, 0x51, 0xbe, + 0x0b, 0x27, 0x53, 0x3a, 0x5e, 0xd5, 0xe6, 0xf7, 0xa1, 0xb2, 0x49, 0x30, 0xd5, 0x76, 0xef, 0x39, + 0x41, 0x75, 0xfa, 0x8f, 0xc4, 0xa8, 0xa1, 0xb1, 0x56, 0xa2, 0xfc, 0x25, 0x6e, 0xc4, 0x4c, 0x70, + 0x11, 0xd7, 0x1b, 0x92, 0xa1, 0x62, 0x62, 0x46, 0x5c, 0xd6, 0x6a, 0x7b, 0xbc, 0x67, 0x05, 0xd6, + 0x96, 0x03, 0xe2, 0x0d, 0x6f, 0x9d, 0x78, 0xf2, 0xb7, 0xe3, 0x30, 0x1f, 0xa8, 0x10, 0xea, 0xdd, + 0x3f, 0xa8, 0xe3, 0xad, 0xa4, 0x5a, 0xd4, 0x78, 0x66, 0xe1, 0xc4, 0xc6, 0xa6, 0x7a, 0x50, 0xaa, + 0x2e, 0x72, 0x7d, 0x75, 0x91, 0x6c, 0xa5, 0xf9, 0x74, 0x2b, 0xbd, 0x06, 0x45, 0x3b, 0x08, 0x14, + 0x4f, 0xaa, 0xf2, 0x72, 0x3d, 0x23, 0xcc, 0xa9, 0x80, 0xaa, 0x82, 0xc1, 0xef, 0x42, 0xcc, 0xde, + 0x23, 0x16, 0x6f, 0x72, 0x25, 0x35, 0x38, 0xf8, 0x54, 0xd3, 0xe8, 0x1a, 0xac, 0x5a, 0xac, 0x4b, + 0x4b, 0x13, 0x6a, 0x70, 0x90, 0x1f, 0xc1, 0xc2, 0x40, 0xcc, 0xc2, 0xa7, 0x5e, 0x81, 0x52, 0xb4, + 0x49, 0x54, 0x25, 0xde, 0x97, 0x47, 0xbe, 0x75, 0x8c, 0x8e, 0x2d, 0x18, 0x4f, 0x58, 0x20, 0xff, + 0x2c, 0xc1, 0xe2, 0xeb, 0x86, 0xa5, 0xdf, 0xf0, 0x92, 0xed, 0x4c, 0xbc, 0xd1, 0x4d, 0x28, 0xfa, + 0x5d, 0x30, 0x9e, 0xb5, 0xc7, 0xe9, 0x81, 0x05, 0x9f, 0xb5, 0xa9, 0xa3, 0x2d, 0x28, 0xe9, 0x06, + 0x25, 0x1a, 0xaf, 0x78, 0x5f, 0xf9, 0xf4, 0xf2, 0x95, 0x0c, 0x9b, 0x87, 0x5a, 0xd1, 0x58, 0x13, + 0xdc, 0x6a, 0x2c, 0x48, 0xfe, 0x3b, 0x94, 0x22, 0x3a, 0x02, 0x28, 0x34, 0xef, 0x6e, 0x3c, 0xd8, + 0xda, 0x9c, 0x19, 0x43, 0x65, 0x28, 0xde, 0x7b, 0xb0, 0xc5, 0x0f, 0x92, 0xfc, 0x0c, 0x2a, 0xab, + 0xba, 0xbe, 0x85, 0x3b, 0xc2, 0xa3, 0x57, 0xd9, 0x20, 0x32, 0x27, 0x89, 0x9f, 0x4d, 0xf6, 0x3e, + 0xa1, 0x07, 0xd4, 0x60, 0x84, 0x67, 0xd3, 0xa4, 0x1a, 0x13, 0xe4, 0x19, 0x98, 0x16, 0x06, 0x04, + 0x4f, 0x28, 0xb7, 0x61, 0x2e, 0xe8, 0x3d, 0x5b, 0xd4, 0xe8, 0x74, 0x08, 0x15, 0x96, 0xbd, 0x09, + 0x27, 0x59, 0x40, 0x69, 0x25, 0x16, 0xb8, 0xc1, 0xb2, 0xe0, 0x3b, 0x5e, 0xe3, 0x36, 0x87, 0x6c, + 0x98, 0xd8, 0x52, 0x67, 0x43, 0xb6, 0x98, 0x24, 0x2f, 0x88, 0x35, 0x23, 0xd2, 0x11, 0x2a, 0xdf, + 0x80, 0xb9, 0x35, 0x62, 0x92, 0x01, 0xe5, 0x57, 0x01, 0x84, 0xf2, 0xa1, 0x51, 0x49, 0x3c, 0x6d, + 0x29, 0x04, 0x37, 0x75, 0x5f, 0x55, 0x9f, 0xc4, 0x50, 0xd5, 0x87, 0x12, 0xcc, 0x88, 0x40, 0x6e, + 0x50, 0x5b, 0xef, 0x69, 0x84, 0xa2, 0x2b, 0x50, 0xf2, 0x85, 0x30, 0xef, 0x48, 0x6a, 0x26, 0x03, + 0x6c, 0x53, 0x47, 0xff, 0x85, 0xa2, 0xdd, 0x63, 0x4e, 0x8f, 0xb9, 0x43, 0x06, 0xce, 0x5b, 0x98, + 0x1a, 0xb8, 0x6d, 0x92, 0x3b, 0xd8, 0x51, 0x05, 0x54, 0x7e, 0x08, 0x0b, 0x2a, 0xe9, 0x18, 0x2e, + 0x23, 0x54, 0x58, 0x20, 0x1c, 0x5e, 0xf5, 0x7b, 0x40, 0x40, 0x12, 0x85, 0x74, 0x6e, 0x44, 0x21, + 0x45, 0xec, 0x31, 0x97, 0xfc, 0x2c, 0xf6, 0xef, 0xa6, 0x6d, 0xb9, 0xbd, 0xee, 0x2b, 0xf8, 0x77, + 0x19, 0x0a, 0x86, 0x95, 0x70, 0xef, 0xd4, 0x60, 0x27, 0xc3, 0x5d, 0xc2, 0x08, 0xf5, 0xfd, 0x0b, + 0xa1, 0x49, 0xf7, 0x84, 0x01, 0x09, 0xf7, 0xb4, 0x90, 0x74, 0x14, 0xf7, 0x22, 0xf6, 0x98, 0x4b, + 0x46, 0x30, 0x23, 0xa4, 0x47, 0x6f, 0xfa, 0xb9, 0x04, 0xf3, 0x71, 0xa9, 0x73, 0x2b, 0x84, 0xc6, + 0x3b, 0x30, 0x15, 0x2d, 0x4c, 0x2f, 0xd7, 0x2f, 0xca, 0x24, 0x26, 0xa2, 0x4b, 0x89, 0x80, 0xe4, + 0x46, 0x97, 0xa8, 0x08, 0xc7, 0x22, 0x2c, 0x0c, 0xd8, 0x16, 0xd8, 0xbd, 0xfc, 0xd3, 0x74, 0xfc, + 0x56, 0x81, 0x53, 0xd4, 0x43, 0x1d, 0x98, 0x4e, 0x2f, 0x01, 0x68, 0xe9, 0xa8, 0x2b, 0x6e, 0xed, + 0xfc, 0x11, 0x90, 0x61, 0xcc, 0xc6, 0xd0, 0xc7, 0x13, 0x50, 0x4e, 0xcc, 0x6d, 0xf4, 0x8f, 0x0c, + 0xe6, 0xc1, 0xdd, 0xa1, 0xf6, 0xcf, 0xc3, 0x60, 0xa1, 0x82, 0xaf, 0xf3, 0x1f, 0xfd, 0xf0, 0xcb, + 0xa7, 0xe3, 0x5f, 0xe4, 0x51, 0x3d, 0xfe, 0x99, 0xc9, 0x7f, 0x2a, 0xee, 0x5f, 0x52, 0xfc, 0x95, + 0x27, 0xa6, 0x6e, 0x7f, 0x27, 0xa1, 0x17, 0xd2, 0x21, 0x28, 0xc5, 0xd0, 0x95, 0x27, 0x7c, 0x15, + 0x69, 0x24, 0x7f, 0xcf, 0x25, 0x87, 0xb5, 0xbf, 0x80, 0x3d, 0x22, 0x1a, 0x7b, 0x7a, 0x28, 0x50, + 0xb7, 0xbb, 0xd8, 0xb0, 0x0e, 0xc7, 0x59, 0xb8, 0x4b, 0x32, 0x51, 0xe1, 0xf0, 0x7d, 0xba, 0xfd, + 0x5c, 0x42, 0x9f, 0xfd, 0x79, 0x4d, 0xdf, 0xfe, 0x52, 0x42, 0xcf, 0x33, 0xcc, 0xe3, 0xbf, 0xd8, + 0x85, 0x75, 0x0c, 0x77, 0x06, 0xa4, 0x31, 0xdc, 0x39, 0xa2, 0x7d, 0x03, 0xc8, 0x61, 0x06, 0x0e, + 0x00, 0xb9, 0x85, 0xe8, 0xab, 0x71, 0x38, 0xd1, 0xb7, 0x57, 0xa0, 0xf3, 0x43, 0x37, 0x98, 0xfe, + 0x7d, 0xad, 0x76, 0xe1, 0x28, 0xd0, 0x30, 0x25, 0x5f, 0x48, 0x3c, 0x25, 0xbf, 0x91, 0x50, 0x6b, + 0xc8, 0x8b, 0x71, 0x93, 0x15, 0x57, 0x79, 0x32, 0xc4, 0xf7, 0x6c, 0x47, 0x33, 0xe2, 0xbe, 0x8e, + 0x9a, 0x23, 0x55, 0x1c, 0x47, 0x01, 0xd2, 0xa1, 0x92, 0x9a, 0x9b, 0xe8, 0x5f, 0x43, 0xeb, 0x3c, + 0x3d, 0x40, 0x6b, 0x4b, 0x87, 0x03, 0xa3, 0x7e, 0xa0, 0x43, 0x25, 0x35, 0x32, 0x33, 0xb5, 0x64, + 0x8d, 0xe9, 0x4c, 0x2d, 0xd9, 0xd3, 0x77, 0x0c, 0xdd, 0x83, 0x42, 0xb0, 0x79, 0xa0, 0xac, 0x35, + 0x35, 0xb5, 0x15, 0xd5, 0xce, 0x8e, 0x40, 0x44, 0x02, 0x49, 0x3c, 0x10, 0xa2, 0x79, 0x9e, 0x95, + 0x14, 0x43, 0x46, 0x6e, 0xed, 0xdc, 0x08, 0x6c, 0xb6, 0x9a, 0x68, 0xac, 0x8e, 0x52, 0xd3, 0x37, + 0xfa, 0x8e, 0xaa, 0xa6, 0x0b, 0x68, 0x93, 0xb0, 0xbe, 0x81, 0x91, 0x59, 0x0f, 0xd9, 0x03, 0x2f, + 0xb3, 0x1e, 0x86, 0xcc, 0x1f, 0x79, 0x0c, 0xfd, 0x28, 0x01, 0x1a, 0xdc, 0x70, 0xd1, 0xc5, 0xe3, + 0x2c, 0xc2, 0xc7, 0x2a, 0x41, 0x9d, 0x57, 0xe0, 0x7b, 0xe8, 0xe1, 0xc8, 0xea, 0x20, 0xca, 0x93, + 0x70, 0xc1, 0x4f, 0x94, 0x86, 0xa0, 0x44, 0x65, 0x27, 0x08, 0x61, 0x93, 0x8e, 0x96, 0xf0, 0xa7, + 0x37, 0x5e, 0xdb, 0xfe, 0x7f, 0xc7, 0x60, 0xbb, 0xbd, 0x76, 0x43, 0xb3, 0xbb, 0x0a, 0xb7, 0xce, + 0xa6, 0x9d, 0xe0, 0x43, 0x89, 0xfe, 0xdb, 0xeb, 0x10, 0x4b, 0x71, 0xda, 0xff, 0xe9, 0xd8, 0xca, + 0xc0, 0x1f, 0xa3, 0xed, 0x02, 0xff, 0x2d, 0x7f, 0xf9, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, + 0x2d, 0xa0, 0x3a, 0x34, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go index 5a95a5447a..5389c4b7a9 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go @@ -604,19 +604,19 @@ func RegisterArtifactRegistryHandlerClient(ctx context.Context, mux *runtime.Ser } var ( - pattern_ArtifactRegistry_GetArtifact_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"data", "v1", "artifacts"}, "")) + pattern_ArtifactRegistry_GetArtifact_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 0}, []string{"artifacts", "api", "v1", "data"}, "")) - pattern_ArtifactRegistry_GetArtifact_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{"data", "v1", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name", "query.artifact_id.version"}, "")) + pattern_ArtifactRegistry_GetArtifact_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 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{"artifacts", "api", "v1", "data", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name", "query.artifact_id.version"}, "")) - pattern_ArtifactRegistry_GetArtifact_2 = 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{"data", "v1", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name"}, "")) + pattern_ArtifactRegistry_GetArtifact_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name"}, "")) - pattern_ArtifactRegistry_GetArtifact_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{"data", "v1", "artifact", "tag", "query.artifact_tag.artifact_key.project", "query.artifact_tag.artifact_key.domain", "query.artifact_tag.artifact_key.name"}, "")) + pattern_ArtifactRegistry_GetArtifact_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 1, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7}, []string{"artifacts", "api", "v1", "artifact", "tag", "query.artifact_tag.artifact_key.project", "query.artifact_tag.artifact_key.domain", "query.artifact_tag.artifact_key.name"}, "")) - pattern_ArtifactRegistry_SearchArtifacts_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{"data", "v1", "query", "s", "artifact_key.project", "artifact_key.domain", "artifact_key.name"}, "")) + pattern_ArtifactRegistry_SearchArtifacts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "query", "s", "artifact_key.project", "artifact_key.domain", "artifact_key.name"}, "")) - pattern_ArtifactRegistry_SearchArtifacts_1 = 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{"data", "v1", "query", "artifact_key.project", "artifact_key.domain"}, "")) + pattern_ArtifactRegistry_SearchArtifacts_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}, []string{"artifacts", "api", "v1", "data", "query", "artifact_key.project", "artifact_key.domain"}, "")) - pattern_ArtifactRegistry_FindByWorkflowExec_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{"data", "v1", "query", "e", "exec_id.project", "exec_id.domain", "exec_id.name", "direction"}, "")) + pattern_ArtifactRegistry_FindByWorkflowExec_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 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{"artifacts", "api", "v1", "data", "query", "e", "exec_id.project", "exec_id.domain", "exec_id.name", "direction"}, "")) ) var ( diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go index 524cb6e597..e934e168e6 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go @@ -934,8 +934,6 @@ func (m *FindByWorkflowExecRequest) Validate() error { // no validation rules for Direction - // no validation rules for FetchSpecs - return nil } diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json index 21d18e0b4c..53aa89e114 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json @@ -15,9 +15,9 @@ "application/json" ], "paths": { - "/data/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}": { + "/artifacts/api/v1/api/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}": { "get": { - "operationId": "GetArtifact3", + "operationId": "GetArtifact4", "responses": { "200": { "description": "A successful response.", @@ -28,20 +28,20 @@ }, "parameters": [ { - "name": "query.artifact_id.artifact_key.project", + "name": "query.artifact_tag.artifact_key.project", "description": "Project and domain and suffix needs to be unique across a given artifact store.", "in": "path", "required": true, "type": "string" }, { - "name": "query.artifact_id.artifact_key.domain", + "name": "query.artifact_tag.artifact_key.domain", "in": "path", "required": true, "type": "string" }, { - "name": "query.artifact_id.artifact_key.name", + "name": "query.artifact_tag.artifact_key.name", "in": "path", "required": true, "type": "string" @@ -124,9 +124,9 @@ ] } }, - "/data/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}": { + "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}": { "get": { - "operationId": "GetArtifact2", + "operationId": "GetArtifact3", "responses": { "200": { "description": "A successful response.", @@ -157,8 +157,8 @@ }, { "name": "query.artifact_id.version", - "in": "path", - "required": true, + "in": "query", + "required": false, "type": "string" }, { @@ -233,9 +233,9 @@ ] } }, - "/data/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}": { + "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}": { "get": { - "operationId": "GetArtifact4", + "operationId": "GetArtifact2", "responses": { "200": { "description": "A successful response.", @@ -246,28 +246,28 @@ }, "parameters": [ { - "name": "query.artifact_tag.artifact_key.project", + "name": "query.artifact_id.artifact_key.project", "description": "Project and domain and suffix needs to be unique across a given artifact store.", "in": "path", "required": true, "type": "string" }, { - "name": "query.artifact_tag.artifact_key.domain", + "name": "query.artifact_id.artifact_key.domain", "in": "path", "required": true, "type": "string" }, { - "name": "query.artifact_tag.artifact_key.name", + "name": "query.artifact_id.artifact_key.name", "in": "path", "required": true, "type": "string" }, { "name": "query.artifact_id.version", - "in": "query", - "required": false, + "in": "path", + "required": true, "type": "string" }, { @@ -342,7 +342,7 @@ ] } }, - "/data/v1/artifacts": { + "/artifacts/api/v1/data/artifacts": { "get": { "operationId": "GetArtifact", "responses": { @@ -470,7 +470,7 @@ ] } }, - "/data/v1/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}": { + "/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}": { "get": { "operationId": "FindByWorkflowExec", "responses": { @@ -512,14 +512,6 @@ "INPUTS", "OUTPUTS" ] - }, - { - "name": "fetch_specs", - "description": "If set to true, actually fetch the artifact body. By default only the IDs are returned.", - "in": "query", - "required": false, - "type": "boolean", - "format": "boolean" } ], "tags": [ @@ -527,7 +519,7 @@ ] } }, - "/data/v1/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}": { + "/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}": { "get": { "operationId": "SearchArtifacts", "responses": { @@ -605,7 +597,7 @@ ] } }, - "/data/v1/query/{artifact_key.project}/{artifact_key.domain}": { + "/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}": { "get": { "operationId": "SearchArtifacts2", "responses": { diff --git a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java index da8ee240db..6baa747e58 100644 --- a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java +++ b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java @@ -10545,15 +10545,6 @@ public interface FindByWorkflowExecRequestOrBuilder extends * .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; */ flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction getDirection(); - - /** - *
-     * If set to true, actually fetch the artifact body. By default only the IDs are returned.
-     * 
- * - * bool fetch_specs = 3; - */ - boolean getFetchSpecs(); } /** * Protobuf type {@code flyteidl.artifact.FindByWorkflowExecRequest} @@ -10614,11 +10605,6 @@ private FindByWorkflowExecRequest( direction_ = rawValue; break; } - case 24: { - - fetchSpecs_ = input.readBool(); - break; - } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -10787,19 +10773,6 @@ public flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction getDirect return result == null ? flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction.UNRECOGNIZED : result; } - public static final int FETCH_SPECS_FIELD_NUMBER = 3; - private boolean fetchSpecs_; - /** - *
-     * If set to true, actually fetch the artifact body. By default only the IDs are returned.
-     * 
- * - * bool fetch_specs = 3; - */ - public boolean getFetchSpecs() { - return fetchSpecs_; - } - private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -10820,9 +10793,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (direction_ != flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction.INPUTS.getNumber()) { output.writeEnum(2, direction_); } - if (fetchSpecs_ != false) { - output.writeBool(3, fetchSpecs_); - } unknownFields.writeTo(output); } @@ -10840,10 +10810,6 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, direction_); } - if (fetchSpecs_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, fetchSpecs_); - } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -10865,8 +10831,6 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getExecId())) return false; } if (direction_ != other.direction_) return false; - if (getFetchSpecs() - != other.getFetchSpecs()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10884,9 +10848,6 @@ public int hashCode() { } hash = (37 * hash) + DIRECTION_FIELD_NUMBER; hash = (53 * hash) + direction_; - hash = (37 * hash) + FETCH_SPECS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFetchSpecs()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -11028,8 +10989,6 @@ public Builder clear() { } direction_ = 0; - fetchSpecs_ = false; - return this; } @@ -11062,7 +11021,6 @@ public flyteidl.artifact.Artifacts.FindByWorkflowExecRequest buildPartial() { result.execId_ = execIdBuilder_.build(); } result.direction_ = direction_; - result.fetchSpecs_ = fetchSpecs_; onBuilt(); return result; } @@ -11117,9 +11075,6 @@ public Builder mergeFrom(flyteidl.artifact.Artifacts.FindByWorkflowExecRequest o if (other.direction_ != 0) { setDirectionValue(other.getDirectionValue()); } - if (other.getFetchSpecs() != false) { - setFetchSpecs(other.getFetchSpecs()); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -11310,44 +11265,6 @@ public Builder clearDirection() { onChanged(); return this; } - - private boolean fetchSpecs_ ; - /** - *
-       * If set to true, actually fetch the artifact body. By default only the IDs are returned.
-       * 
- * - * bool fetch_specs = 3; - */ - public boolean getFetchSpecs() { - return fetchSpecs_; - } - /** - *
-       * If set to true, actually fetch the artifact body. By default only the IDs are returned.
-       * 
- * - * bool fetch_specs = 3; - */ - public Builder setFetchSpecs(boolean value) { - - fetchSpecs_ = value; - onChanged(); - return this; - } - /** - *
-       * If set to true, actually fetch the artifact body. By default only the IDs are returned.
-       * 
- * - * bool fetch_specs = 3; - */ - public Builder clearFetchSpecs() { - - fetchSpecs_ = false; - onChanged(); - return this; - } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -20073,81 +19990,83 @@ public flyteidl.artifact.Artifacts.ExecutionInputsResponse getDefaultInstanceFor "rchOptions\022\r\n\005token\030\006 \001(\t\022\r\n\005limit\030\007 \001(\005" + "\"X\n\027SearchArtifactsResponse\022.\n\tartifacts" + "\030\001 \003(\0132\033.flyteidl.artifact.Artifact\022\r\n\005t" + - "oken\030\002 \001(\t\"\336\001\n\031FindByWorkflowExecRequest" + + "oken\030\002 \001(\t\"\311\001\n\031FindByWorkflowExecRequest" + "\022;\n\007exec_id\030\001 \001(\0132*.flyteidl.core.Workfl" + "owExecutionIdentifier\022I\n\tdirection\030\002 \001(\016" + "26.flyteidl.artifact.FindByWorkflowExecR" + - "equest.Direction\022\023\n\013fetch_specs\030\003 \001(\010\"$\n" + - "\tDirection\022\n\n\006INPUTS\020\000\022\013\n\007OUTPUTS\020\001\"a\n\rA" + - "ddTagRequest\022.\n\013artifact_id\030\001 \001(\0132\031.flyt" + - "eidl.core.ArtifactID\022\r\n\005value\030\002 \001(\t\022\021\n\to" + - "verwrite\030\003 \001(\010\"\020\n\016AddTagResponse\"O\n\024Crea" + - "teTriggerRequest\0227\n\023trigger_launch_plan\030" + - "\001 \001(\0132\032.flyteidl.admin.LaunchPlan\"\027\n\025Cre" + - "ateTriggerResponse\"E\n\024DeleteTriggerReque" + - "st\022-\n\ntrigger_id\030\001 \001(\0132\031.flyteidl.core.I" + - "dentifier\"\027\n\025DeleteTriggerResponse\"m\n\020Ar" + - "tifactProducer\022,\n\tentity_id\030\001 \001(\0132\031.flyt" + - "eidl.core.Identifier\022+\n\007outputs\030\002 \001(\0132\032." + - "flyteidl.core.VariableMap\"Q\n\027RegisterPro" + - "ducerRequest\0226\n\tproducers\030\001 \003(\0132#.flytei" + - "dl.artifact.ArtifactProducer\"m\n\020Artifact" + - "Consumer\022,\n\tentity_id\030\001 \001(\0132\031.flyteidl.c" + - "ore.Identifier\022+\n\006inputs\030\002 \001(\0132\033.flyteid" + - "l.core.ParameterMap\"Q\n\027RegisterConsumerR" + - "equest\0226\n\tconsumers\030\001 \003(\0132#.flyteidl.art" + - "ifact.ArtifactConsumer\"\022\n\020RegisterRespon" + - "se\"\205\001\n\026ExecutionInputsRequest\022@\n\014executi" + - "on_id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" + - "utionIdentifier\022)\n\006inputs\030\002 \003(\0132\031.flytei" + - "dl.core.ArtifactID\"\031\n\027ExecutionInputsRes" + - "ponse2\365\r\n\020ArtifactRegistry\022g\n\016CreateArti" + - "fact\022(.flyteidl.artifact.CreateArtifactR" + - "equest\032).flyteidl.artifact.CreateArtifac" + - "tResponse\"\000\022\315\004\n\013GetArtifact\022%.flyteidl.a" + - "rtifact.GetArtifactRequest\032&.flyteidl.ar" + - "tifact.GetArtifactResponse\"\356\003\202\323\344\223\002\347\003\022\022/d" + - "ata/v1/artifactsZ\252\001\022\247\001/data/v1/artifact/" + - "id/{query.artifact_id.artifact_key.proje" + - "ct}/{query.artifact_id.artifact_key.doma" + - "in}/{query.artifact_id.artifact_key.name" + - "}/{query.artifact_id.version}Z\216\001\022\213\001/data" + - "/v1/artifact/id/{query.artifact_id.artif" + - "act_key.project}/{query.artifact_id.arti" + - "fact_key.domain}/{query.artifact_id.arti" + - "fact_key.name}Z\222\001\022\217\001/data/v1/artifact/ta" + - "g/{query.artifact_tag.artifact_key.proje" + - "ct}/{query.artifact_tag.artifact_key.dom" + - "ain}/{query.artifact_tag.artifact_key.na" + - "me}\022\204\002\n\017SearchArtifacts\022).flyteidl.artif" + - "act.SearchArtifactsRequest\032*.flyteidl.ar" + - "tifact.SearchArtifactsResponse\"\231\001\202\323\344\223\002\222\001" + - "\022Q/data/v1/query/s/{artifact_key.project" + - "}/{artifact_key.domain}/{artifact_key.na" + - "me}Z=\022;/data/v1/query/{artifact_key.proj" + - "ect}/{artifact_key.domain}\022d\n\rCreateTrig" + - "ger\022\'.flyteidl.artifact.CreateTriggerReq" + - "uest\032(.flyteidl.artifact.CreateTriggerRe" + - "sponse\"\000\022d\n\rDeleteTrigger\022\'.flyteidl.art" + - "ifact.DeleteTriggerRequest\032(.flyteidl.ar" + - "tifact.DeleteTriggerResponse\"\000\022O\n\006AddTag" + - "\022 .flyteidl.artifact.AddTagRequest\032!.fly" + - "teidl.artifact.AddTagResponse\"\000\022e\n\020Regis" + - "terProducer\022*.flyteidl.artifact.Register" + - "ProducerRequest\032#.flyteidl.artifact.Regi" + - "sterResponse\"\000\022e\n\020RegisterConsumer\022*.fly" + - "teidl.artifact.RegisterConsumerRequest\032#" + - ".flyteidl.artifact.RegisterResponse\"\000\022m\n" + - "\022SetExecutionInputs\022).flyteidl.artifact." + - "ExecutionInputsRequest\032*.flyteidl.artifa" + - "ct.ExecutionInputsResponse\"\000\022\306\001\n\022FindByW" + - "orkflowExec\022,.flyteidl.artifact.FindByWo" + - "rkflowExecRequest\032*.flyteidl.artifact.Se" + - "archArtifactsResponse\"V\202\323\344\223\002P\022N/data/v1/" + - "query/e/{exec_id.project}/{exec_id.domai" + - "n}/{exec_id.name}/{direction}B@Z>github." + - "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" + - "yteidl/artifactb\006proto3" + "equest.Direction\"$\n\tDirection\022\n\n\006INPUTS\020" + + "\000\022\013\n\007OUTPUTS\020\001\"a\n\rAddTagRequest\022.\n\013artif" + + "act_id\030\001 \001(\0132\031.flyteidl.core.ArtifactID\022" + + "\r\n\005value\030\002 \001(\t\022\021\n\toverwrite\030\003 \001(\010\"\020\n\016Add" + + "TagResponse\"O\n\024CreateTriggerRequest\0227\n\023t" + + "rigger_launch_plan\030\001 \001(\0132\032.flyteidl.admi" + + "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"E\n" + + "\024DeleteTriggerRequest\022-\n\ntrigger_id\030\001 \001(" + + "\0132\031.flyteidl.core.Identifier\"\027\n\025DeleteTr" + + "iggerResponse\"m\n\020ArtifactProducer\022,\n\tent" + + "ity_id\030\001 \001(\0132\031.flyteidl.core.Identifier\022" + + "+\n\007outputs\030\002 \001(\0132\032.flyteidl.core.Variabl" + + "eMap\"Q\n\027RegisterProducerRequest\0226\n\tprodu" + + "cers\030\001 \003(\0132#.flyteidl.artifact.ArtifactP" + + "roducer\"m\n\020ArtifactConsumer\022,\n\tentity_id" + + "\030\001 \001(\0132\031.flyteidl.core.Identifier\022+\n\006inp" + + "uts\030\002 \001(\0132\033.flyteidl.core.ParameterMap\"Q" + + "\n\027RegisterConsumerRequest\0226\n\tconsumers\030\001" + + " \003(\0132#.flyteidl.artifact.ArtifactConsume" + + "r\"\022\n\020RegisterResponse\"\205\001\n\026ExecutionInput" + + "sRequest\022@\n\014execution_id\030\001 \001(\0132*.flyteid" + + "l.core.WorkflowExecutionIdentifier\022)\n\006in" + + "puts\030\002 \003(\0132\031.flyteidl.core.ArtifactID\"\031\n" + + "\027ExecutionInputsResponse2\326\016\n\020ArtifactReg" + + "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" + + "act.CreateArtifactRequest\032).flyteidl.art" + + "ifact.CreateArtifactResponse\"\000\022\204\005\n\013GetAr" + + "tifact\022%.flyteidl.artifact.GetArtifactRe" + + "quest\032&.flyteidl.artifact.GetArtifactRes" + + "ponse\"\245\004\202\323\344\223\002\236\004\022 /artifacts/api/v1/data/" + + "artifactsZ\270\001\022\265\001/artifacts/api/v1/data/ar" + + "tifact/id/{query.artifact_id.artifact_ke" + + "y.project}/{query.artifact_id.artifact_k" + + "ey.domain}/{query.artifact_id.artifact_k" + + "ey.name}/{query.artifact_id.version}Z\234\001\022" + + "\231\001/artifacts/api/v1/data/artifact/id/{qu" + + "ery.artifact_id.artifact_key.project}/{q" + + "uery.artifact_id.artifact_key.domain}/{q" + + "uery.artifact_id.artifact_key.name}Z\237\001\022\234" + + "\001/artifacts/api/v1/api/artifact/tag/{que" + + "ry.artifact_tag.artifact_key.project}/{q" + + "uery.artifact_tag.artifact_key.domain}/{" + + "query.artifact_tag.artifact_key.name}\022\240\002" + + "\n\017SearchArtifacts\022).flyteidl.artifact.Se" + + "archArtifactsRequest\032*.flyteidl.artifact" + + ".SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/art" + + "ifacts/api/v1/data/query/s/{artifact_key" + + ".project}/{artifact_key.domain}/{artifac" + + "t_key.name}ZK\022I/artifacts/api/v1/data/qu" + + "ery/{artifact_key.project}/{artifact_key" + + ".domain}\022d\n\rCreateTrigger\022\'.flyteidl.art" + + "ifact.CreateTriggerRequest\032(.flyteidl.ar" + + "tifact.CreateTriggerResponse\"\000\022d\n\rDelete" + + "Trigger\022\'.flyteidl.artifact.DeleteTrigge" + + "rRequest\032(.flyteidl.artifact.DeleteTrigg" + + "erResponse\"\000\022O\n\006AddTag\022 .flyteidl.artifa" + + "ct.AddTagRequest\032!.flyteidl.artifact.Add" + + "TagResponse\"\000\022e\n\020RegisterProducer\022*.flyt" + + "eidl.artifact.RegisterProducerRequest\032#." + + "flyteidl.artifact.RegisterResponse\"\000\022e\n\020" + + "RegisterConsumer\022*.flyteidl.artifact.Reg" + + "isterConsumerRequest\032#.flyteidl.artifact" + + ".RegisterResponse\"\000\022m\n\022SetExecutionInput" + + "s\022).flyteidl.artifact.ExecutionInputsReq" + + "uest\032*.flyteidl.artifact.ExecutionInputs" + + "Response\"\000\022\324\001\n\022FindByWorkflowExec\022,.flyt" + + "eidl.artifact.FindByWorkflowExecRequest\032" + + "*.flyteidl.artifact.SearchArtifactsRespo" + + "nse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/quer" + + "y/e/{exec_id.project}/{exec_id.domain}/{" + + "exec_id.name}/{direction}B@Z>github.com/" + + "flyteorg/flyte/flyteidl/gen/pb-go/flytei" + + "dl/artifactb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -20241,7 +20160,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_artifact_FindByWorkflowExecRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_artifact_FindByWorkflowExecRequest_descriptor, - new java.lang.String[] { "ExecId", "Direction", "FetchSpecs", }); + new java.lang.String[] { "ExecId", "Direction", }); internal_static_flyteidl_artifact_AddTagRequest_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_flyteidl_artifact_AddTagRequest_fieldAccessorTable = new diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py index fcb8ea1dfd..cb68fccb14 100644 --- a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py @@ -22,7 +22,7 @@ from flyteidl.event import cloudevents_pb2 as flyteidl_dot_event_dot_cloudevents__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xfd\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\x12\x1f\n\x0b\x66\x65tch_specs\x18\x03 \x01(\x08R\nfetchSpecs\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"P\n\x14\x44\x65leteTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x17\n\x15\x44\x65leteTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse2\xf5\r\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\xcd\x04\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\xee\x03\x82\xd3\xe4\x93\x02\xe7\x03Z\xaa\x01\x12\xa7\x01/data/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\x8e\x01\x12\x8b\x01/data/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\x92\x01\x12\x8f\x01/data/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\x12\x12/data/v1/artifacts\x12\x84\x02\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"\x99\x01\x82\xd3\xe4\x93\x02\x92\x01Z=\x12;/data/v1/query/{artifact_key.project}/{artifact_key.domain}\x12Q/data/v1/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x64\n\rDeleteTrigger\x12\'.flyteidl.artifact.DeleteTriggerRequest\x1a(.flyteidl.artifact.DeleteTriggerResponse\"\x00\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xc6\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"V\x82\xd3\xe4\x93\x02P\x12N/data/v1/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xdc\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"P\n\x14\x44\x65leteTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x17\n\x15\x44\x65leteTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse2\xd6\x0e\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\x84\x05\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\xa5\x04\x82\xd3\xe4\x93\x02\x9e\x04Z\xb8\x01\x12\xb5\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\x9c\x01\x12\x99\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\x9f\x01\x12\x9c\x01/artifacts/api/v1/api/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\x12 /artifacts/api/v1/data/artifacts\x12\xa0\x02\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"\xb5\x01\x82\xd3\xe4\x93\x02\xae\x01ZK\x12I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\x12_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x64\n\rDeleteTrigger\x12\'.flyteidl.artifact.DeleteTriggerRequest\x1a(.flyteidl.artifact.DeleteTriggerResponse\"\x00\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xd4\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"d\x82\xd3\xe4\x93\x02^\x12\\/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -34,11 +34,11 @@ _CREATEARTIFACTREQUEST_PARTITIONSENTRY._options = None _CREATEARTIFACTREQUEST_PARTITIONSENTRY._serialized_options = b'8\001' _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._options = None - _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002\347\003Z\252\001\022\247\001/data/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\216\001\022\213\001/data/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\222\001\022\217\001/data/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\022\022/data/v1/artifacts' + _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002\236\004Z\270\001\022\265\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\234\001\022\231\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\237\001\022\234\001/artifacts/api/v1/api/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\022 /artifacts/api/v1/data/artifacts' _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._options = None - _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._serialized_options = b'\202\323\344\223\002\222\001Z=\022;/data/v1/query/{artifact_key.project}/{artifact_key.domain}\022Q/data/v1/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}' + _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._serialized_options = b'\202\323\344\223\002\256\001ZK\022I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\022_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}' _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._options = None - _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._serialized_options = b'\202\323\344\223\002P\022N/data/v1/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}' + _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._serialized_options = b'\202\323\344\223\002^\022\\/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}' _globals['_ARTIFACT']._serialized_start=335 _globals['_ARTIFACT']._serialized_end=537 _globals['_CREATEARTIFACTREQUEST']._serialized_start=540 @@ -62,35 +62,35 @@ _globals['_SEARCHARTIFACTSRESPONSE']._serialized_start=2113 _globals['_SEARCHARTIFACTSRESPONSE']._serialized_end=2219 _globals['_FINDBYWORKFLOWEXECREQUEST']._serialized_start=2222 - _globals['_FINDBYWORKFLOWEXECREQUEST']._serialized_end=2475 - _globals['_FINDBYWORKFLOWEXECREQUEST_DIRECTION']._serialized_start=2439 - _globals['_FINDBYWORKFLOWEXECREQUEST_DIRECTION']._serialized_end=2475 - _globals['_ADDTAGREQUEST']._serialized_start=2477 - _globals['_ADDTAGREQUEST']._serialized_end=2604 - _globals['_ADDTAGRESPONSE']._serialized_start=2606 - _globals['_ADDTAGRESPONSE']._serialized_end=2622 - _globals['_CREATETRIGGERREQUEST']._serialized_start=2624 - _globals['_CREATETRIGGERREQUEST']._serialized_end=2722 - _globals['_CREATETRIGGERRESPONSE']._serialized_start=2724 - _globals['_CREATETRIGGERRESPONSE']._serialized_end=2747 - _globals['_DELETETRIGGERREQUEST']._serialized_start=2749 - _globals['_DELETETRIGGERREQUEST']._serialized_end=2829 - _globals['_DELETETRIGGERRESPONSE']._serialized_start=2831 - _globals['_DELETETRIGGERRESPONSE']._serialized_end=2854 - _globals['_ARTIFACTPRODUCER']._serialized_start=2857 - _globals['_ARTIFACTPRODUCER']._serialized_end=2985 - _globals['_REGISTERPRODUCERREQUEST']._serialized_start=2987 - _globals['_REGISTERPRODUCERREQUEST']._serialized_end=3079 - _globals['_ARTIFACTCONSUMER']._serialized_start=3081 - _globals['_ARTIFACTCONSUMER']._serialized_end=3208 - _globals['_REGISTERCONSUMERREQUEST']._serialized_start=3210 - _globals['_REGISTERCONSUMERREQUEST']._serialized_end=3302 - _globals['_REGISTERRESPONSE']._serialized_start=3304 - _globals['_REGISTERRESPONSE']._serialized_end=3322 - _globals['_EXECUTIONINPUTSREQUEST']._serialized_start=3325 - _globals['_EXECUTIONINPUTSREQUEST']._serialized_end=3479 - _globals['_EXECUTIONINPUTSRESPONSE']._serialized_start=3481 - _globals['_EXECUTIONINPUTSRESPONSE']._serialized_end=3506 - _globals['_ARTIFACTREGISTRY']._serialized_start=3509 - _globals['_ARTIFACTREGISTRY']._serialized_end=5290 + _globals['_FINDBYWORKFLOWEXECREQUEST']._serialized_end=2442 + _globals['_FINDBYWORKFLOWEXECREQUEST_DIRECTION']._serialized_start=2406 + _globals['_FINDBYWORKFLOWEXECREQUEST_DIRECTION']._serialized_end=2442 + _globals['_ADDTAGREQUEST']._serialized_start=2444 + _globals['_ADDTAGREQUEST']._serialized_end=2571 + _globals['_ADDTAGRESPONSE']._serialized_start=2573 + _globals['_ADDTAGRESPONSE']._serialized_end=2589 + _globals['_CREATETRIGGERREQUEST']._serialized_start=2591 + _globals['_CREATETRIGGERREQUEST']._serialized_end=2689 + _globals['_CREATETRIGGERRESPONSE']._serialized_start=2691 + _globals['_CREATETRIGGERRESPONSE']._serialized_end=2714 + _globals['_DELETETRIGGERREQUEST']._serialized_start=2716 + _globals['_DELETETRIGGERREQUEST']._serialized_end=2796 + _globals['_DELETETRIGGERRESPONSE']._serialized_start=2798 + _globals['_DELETETRIGGERRESPONSE']._serialized_end=2821 + _globals['_ARTIFACTPRODUCER']._serialized_start=2824 + _globals['_ARTIFACTPRODUCER']._serialized_end=2952 + _globals['_REGISTERPRODUCERREQUEST']._serialized_start=2954 + _globals['_REGISTERPRODUCERREQUEST']._serialized_end=3046 + _globals['_ARTIFACTCONSUMER']._serialized_start=3048 + _globals['_ARTIFACTCONSUMER']._serialized_end=3175 + _globals['_REGISTERCONSUMERREQUEST']._serialized_start=3177 + _globals['_REGISTERCONSUMERREQUEST']._serialized_end=3269 + _globals['_REGISTERRESPONSE']._serialized_start=3271 + _globals['_REGISTERRESPONSE']._serialized_end=3289 + _globals['_EXECUTIONINPUTSREQUEST']._serialized_start=3292 + _globals['_EXECUTIONINPUTSREQUEST']._serialized_end=3446 + _globals['_EXECUTIONINPUTSRESPONSE']._serialized_start=3448 + _globals['_EXECUTIONINPUTSRESPONSE']._serialized_end=3473 + _globals['_ARTIFACTREGISTRY']._serialized_start=3476 + _globals['_ARTIFACTREGISTRY']._serialized_end=5354 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi index 1fb636bf0e..91c389b456 100644 --- a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi @@ -133,7 +133,7 @@ class SearchArtifactsResponse(_message.Message): def __init__(self, artifacts: _Optional[_Iterable[_Union[Artifact, _Mapping]]] = ..., token: _Optional[str] = ...) -> None: ... class FindByWorkflowExecRequest(_message.Message): - __slots__ = ["exec_id", "direction", "fetch_specs"] + __slots__ = ["exec_id", "direction"] class Direction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = [] INPUTS: _ClassVar[FindByWorkflowExecRequest.Direction] @@ -142,11 +142,9 @@ class FindByWorkflowExecRequest(_message.Message): OUTPUTS: FindByWorkflowExecRequest.Direction EXEC_ID_FIELD_NUMBER: _ClassVar[int] DIRECTION_FIELD_NUMBER: _ClassVar[int] - FETCH_SPECS_FIELD_NUMBER: _ClassVar[int] exec_id: _identifier_pb2.WorkflowExecutionIdentifier direction: FindByWorkflowExecRequest.Direction - fetch_specs: bool - def __init__(self, exec_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., direction: _Optional[_Union[FindByWorkflowExecRequest.Direction, str]] = ..., fetch_specs: bool = ...) -> None: ... + def __init__(self, exec_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., direction: _Optional[_Union[FindByWorkflowExecRequest.Direction, str]] = ...) -> None: ... class AddTagRequest(_message.Message): __slots__ = ["artifact_id", "value", "overwrite"] diff --git a/flyteidl/gen/pb_rust/flyteidl.artifact.rs b/flyteidl/gen/pb_rust/flyteidl.artifact.rs index c99b50979f..e3bc2c72fa 100644 --- a/flyteidl/gen/pb_rust/flyteidl.artifact.rs +++ b/flyteidl/gen/pb_rust/flyteidl.artifact.rs @@ -129,9 +129,6 @@ pub struct FindByWorkflowExecRequest { pub exec_id: ::core::option::Option, #[prost(enumeration="find_by_workflow_exec_request::Direction", tag="2")] pub direction: i32, - /// If set to true, actually fetch the artifact body. By default only the IDs are returned. - #[prost(bool, tag="3")] - pub fetch_specs: bool, } /// Nested message and enum types in `FindByWorkflowExecRequest`. pub mod find_by_workflow_exec_request { diff --git a/flyteidl/protos/flyteidl/artifact/artifacts.proto b/flyteidl/protos/flyteidl/artifact/artifacts.proto index 89f6e6d2e9..c769d87212 100644 --- a/flyteidl/protos/flyteidl/artifact/artifacts.proto +++ b/flyteidl/protos/flyteidl/artifact/artifacts.proto @@ -190,10 +190,10 @@ service ArtifactRegistry { rpc GetArtifact (GetArtifactRequest) returns (GetArtifactResponse) { option (google.api.http) = { - get: "/data/v1/artifacts" - additional_bindings {get: "/data/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}"} - additional_bindings {get: "/data/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}"} - additional_bindings {get: "/data/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}"} + get: "/artifacts/api/v1/data/artifacts" + additional_bindings {get: "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}"} + additional_bindings {get: "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}"} + additional_bindings {get: "/artifacts/api/v1/api/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}"} }; } @@ -218,7 +218,7 @@ service ArtifactRegistry { rpc FindByWorkflowExec (FindByWorkflowExecRequest) returns (SearchArtifactsResponse) { option (google.api.http) = { - get: "/data/v1/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}" + get: "/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}" }; } From e713888c27c5504018b522f7f79cae7da3b82466 Mon Sep 17 00:00:00 2001 From: Joe Eschen <126913098+squiishyy@users.noreply.github.com> Date: Fri, 8 Dec 2023 10:55:46 -0800 Subject: [PATCH 03/16] change artifacts http mappings again (#4562) Signed-off-by: squiishyy --- .../pb-cpp/flyteidl/artifact/artifacts.pb.cc | 78 +++---- .../pb-go/flyteidl/artifact/artifacts.pb.go | 200 +++++++++--------- .../flyteidl/artifact/artifacts.pb.gw.go | 2 +- .../flyteidl/artifact/artifacts.swagger.json | 32 +-- .../pb-java/flyteidl/artifact/Artifacts.java | 76 +++---- .../flyteidl/artifact/artifacts_pb2.py | 6 +- .../protos/flyteidl/artifact/artifacts.proto | 6 +- 7 files changed, 200 insertions(+), 200 deletions(-) diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc index 25418fec62..230d0b093a 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc @@ -868,13 +868,13 @@ const char descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto[] = "sRequest\022@\n\014execution_id\030\001 \001(\0132*.flyteid" "l.core.WorkflowExecutionIdentifier\022)\n\006in" "puts\030\002 \003(\0132\031.flyteidl.core.ArtifactID\"\031\n" - "\027ExecutionInputsResponse2\326\016\n\020ArtifactReg" + "\027ExecutionInputsResponse2\327\016\n\020ArtifactReg" "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" "act.CreateArtifactRequest\032).flyteidl.art" - "ifact.CreateArtifactResponse\"\000\022\204\005\n\013GetAr" + "ifact.CreateArtifactResponse\"\000\022\205\005\n\013GetAr" "tifact\022%.flyteidl.artifact.GetArtifactRe" "quest\032&.flyteidl.artifact.GetArtifactRes" - "ponse\"\245\004\202\323\344\223\002\236\004\022 /artifacts/api/v1/data/" + "ponse\"\246\004\202\323\344\223\002\237\004\022 /artifacts/api/v1/data/" "artifactsZ\270\001\022\265\001/artifacts/api/v1/data/ar" "tifact/id/{query.artifact_id.artifact_ke" "y.project}/{query.artifact_id.artifact_k" @@ -883,46 +883,46 @@ const char descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto[] = "\231\001/artifacts/api/v1/data/artifact/id/{qu" "ery.artifact_id.artifact_key.project}/{q" "uery.artifact_id.artifact_key.domain}/{q" - "uery.artifact_id.artifact_key.name}Z\237\001\022\234" - "\001/artifacts/api/v1/api/artifact/tag/{que" - "ry.artifact_tag.artifact_key.project}/{q" - "uery.artifact_tag.artifact_key.domain}/{" - "query.artifact_tag.artifact_key.name}\022\240\002" - "\n\017SearchArtifacts\022).flyteidl.artifact.Se" - "archArtifactsRequest\032*.flyteidl.artifact" - ".SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/art" - "ifacts/api/v1/data/query/s/{artifact_key" - ".project}/{artifact_key.domain}/{artifac" - "t_key.name}ZK\022I/artifacts/api/v1/data/qu" - "ery/{artifact_key.project}/{artifact_key" - ".domain}\022d\n\rCreateTrigger\022\'.flyteidl.art" - "ifact.CreateTriggerRequest\032(.flyteidl.ar" - "tifact.CreateTriggerResponse\"\000\022d\n\rDelete" - "Trigger\022\'.flyteidl.artifact.DeleteTrigge" - "rRequest\032(.flyteidl.artifact.DeleteTrigg" - "erResponse\"\000\022O\n\006AddTag\022 .flyteidl.artifa" - "ct.AddTagRequest\032!.flyteidl.artifact.Add" - "TagResponse\"\000\022e\n\020RegisterProducer\022*.flyt" - "eidl.artifact.RegisterProducerRequest\032#." - "flyteidl.artifact.RegisterResponse\"\000\022e\n\020" - "RegisterConsumer\022*.flyteidl.artifact.Reg" - "isterConsumerRequest\032#.flyteidl.artifact" - ".RegisterResponse\"\000\022m\n\022SetExecutionInput" - "s\022).flyteidl.artifact.ExecutionInputsReq" - "uest\032*.flyteidl.artifact.ExecutionInputs" - "Response\"\000\022\324\001\n\022FindByWorkflowExec\022,.flyt" - "eidl.artifact.FindByWorkflowExecRequest\032" - "*.flyteidl.artifact.SearchArtifactsRespo" - "nse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/quer" - "y/e/{exec_id.project}/{exec_id.domain}/{" - "exec_id.name}/{direction}B@Z>github.com/" - "flyteorg/flyte/flyteidl/gen/pb-go/flytei" - "dl/artifactb\006proto3" + "uery.artifact_id.artifact_key.name}Z\240\001\022\235" + "\001/artifacts/api/v1/data/artifact/tag/{qu" + "ery.artifact_tag.artifact_key.project}/{" + "query.artifact_tag.artifact_key.domain}/" + "{query.artifact_tag.artifact_key.name}\022\240" + "\002\n\017SearchArtifacts\022).flyteidl.artifact.S" + "earchArtifactsRequest\032*.flyteidl.artifac" + "t.SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/ar" + "tifacts/api/v1/data/query/s/{artifact_ke" + "y.project}/{artifact_key.domain}/{artifa" + "ct_key.name}ZK\022I/artifacts/api/v1/data/q" + "uery/{artifact_key.project}/{artifact_ke" + "y.domain}\022d\n\rCreateTrigger\022\'.flyteidl.ar" + "tifact.CreateTriggerRequest\032(.flyteidl.a" + "rtifact.CreateTriggerResponse\"\000\022d\n\rDelet" + "eTrigger\022\'.flyteidl.artifact.DeleteTrigg" + "erRequest\032(.flyteidl.artifact.DeleteTrig" + "gerResponse\"\000\022O\n\006AddTag\022 .flyteidl.artif" + "act.AddTagRequest\032!.flyteidl.artifact.Ad" + "dTagResponse\"\000\022e\n\020RegisterProducer\022*.fly" + "teidl.artifact.RegisterProducerRequest\032#" + ".flyteidl.artifact.RegisterResponse\"\000\022e\n" + "\020RegisterConsumer\022*.flyteidl.artifact.Re" + "gisterConsumerRequest\032#.flyteidl.artifac" + "t.RegisterResponse\"\000\022m\n\022SetExecutionInpu" + "ts\022).flyteidl.artifact.ExecutionInputsRe" + "quest\032*.flyteidl.artifact.ExecutionInput" + "sResponse\"\000\022\324\001\n\022FindByWorkflowExec\022,.fly" + "teidl.artifact.FindByWorkflowExecRequest" + "\032*.flyteidl.artifact.SearchArtifactsResp" + "onse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/que" + "ry/e/{exec_id.project}/{exec_id.domain}/" + "{exec_id.name}/{direction}B@Z>github.com" + "/flyteorg/flyte/flyteidl/gen/pb-go/flyte" + "idl/artifactb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fartifact_2fartifacts_2eproto = { false, InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto, descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto, - "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4899, + "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4900, }; void AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto() { diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go index 3b0a0c4f5d..1145a30d04 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go @@ -1251,110 +1251,110 @@ func init() { func init() { proto.RegisterFile("flyteidl/artifact/artifacts.proto", fileDescriptor_804518da5936dedb) } var fileDescriptor_804518da5936dedb = []byte{ - // 1639 bytes of a gzipped FileDescriptorProto + // 1635 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0xdb, 0x46, 0x1a, 0x37, 0x2d, 0x59, 0xb2, 0x3e, 0x59, 0x8e, 0x3d, 0xf1, 0xda, 0xb2, 0x92, 0xdd, 0x28, 0xcc, 0x3e, 0x9c, 0x6c, 0x56, 0x44, 0x9c, 0x45, 0x36, 0x0e, 0x90, 0x45, 0x9d, 0x38, 0x2d, 0x54, 0xe7, 0xe1, 0xd0, 0x4e, 0x1f, 0x46, 0x50, 0x75, 0x44, 0x8e, 0x65, 0xc6, 0x14, 0xc9, 0x0c, 0x47, 0x76, - 0x89, 0x20, 0x48, 0x51, 0xf4, 0xd6, 0x63, 0x4f, 0x2d, 0x82, 0xb6, 0x97, 0x5e, 0x7b, 0x28, 0x10, - 0xa0, 0x7f, 0x43, 0xaf, 0x2d, 0x7a, 0xea, 0xb1, 0xff, 0x44, 0xd1, 0x4b, 0xc1, 0x21, 0x87, 0x0f, - 0x89, 0x92, 0xed, 0xa4, 0x87, 0xde, 0x38, 0xdf, 0xfc, 0xbe, 0xe7, 0x7c, 0x2f, 0x09, 0xce, 0xee, - 0x98, 0x1e, 0x23, 0x86, 0x6e, 0x2a, 0x98, 0x32, 0x63, 0x07, 0x6b, 0x2c, 0xfa, 0x70, 0x1b, 0x0e, - 0xb5, 0x99, 0x8d, 0x66, 0x05, 0xa4, 0x21, 0x6e, 0x6a, 0x8b, 0x1d, 0xdb, 0xee, 0x98, 0x44, 0xe1, - 0x80, 0x76, 0x6f, 0x47, 0xc1, 0x96, 0x17, 0xa0, 0x6b, 0xa7, 0xc3, 0x2b, 0xec, 0x18, 0x0a, 0xb6, - 0x2c, 0x9b, 0x61, 0x66, 0xd8, 0x56, 0x28, 0xab, 0x56, 0x8f, 0xd5, 0xe9, 0x5d, 0xc3, 0x52, 0x4c, - 0xdc, 0xb3, 0xb4, 0xdd, 0x96, 0x63, 0x62, 0x4b, 0xf0, 0x47, 0x08, 0xcd, 0xa6, 0x44, 0x31, 0x0d, - 0x46, 0x28, 0x36, 0x05, 0xff, 0x62, 0xfa, 0x96, 0x79, 0x0e, 0x11, 0x57, 0x7f, 0x4b, 0x5f, 0x19, - 0x3a, 0xb1, 0x98, 0xb1, 0x63, 0x10, 0x1a, 0xde, 0x9f, 0x49, 0xdf, 0x0b, 0x5f, 0x5a, 0x86, 0x1e, - 0x02, 0xfe, 0xda, 0x27, 0xc0, 0x62, 0x84, 0xee, 0x60, 0x8d, 0x0c, 0x98, 0x4e, 0xf6, 0x89, 0xc5, - 0x14, 0xcd, 0xb4, 0x7b, 0x3a, 0xff, 0x0c, 0x2d, 0x90, 0xbf, 0x97, 0x60, 0x72, 0x35, 0x14, 0x8b, - 0xae, 0x41, 0x39, 0xa1, 0xa2, 0x2a, 0xd5, 0xa5, 0xa5, 0xf2, 0xf2, 0x62, 0x23, 0x8a, 0xa5, 0xaf, - 0xa3, 0x21, 0xd0, 0xcd, 0x35, 0x15, 0x04, 0xba, 0xa9, 0xa3, 0xcb, 0x90, 0x77, 0x1d, 0xa2, 0x55, - 0xc7, 0x39, 0xd3, 0x99, 0xc6, 0xc0, 0x03, 0x44, 0x8c, 0x9b, 0x0e, 0xd1, 0x54, 0x0e, 0x46, 0x08, - 0xf2, 0x0c, 0x77, 0xdc, 0x6a, 0xae, 0x9e, 0x5b, 0x2a, 0xa9, 0xfc, 0x1b, 0xad, 0x40, 0xc1, 0xb5, - 0x7b, 0x54, 0x23, 0xd5, 0x3c, 0x17, 0x75, 0x76, 0x94, 0x28, 0x0e, 0x54, 0x43, 0x06, 0xf9, 0x93, - 0x1c, 0xfc, 0xe5, 0x26, 0x25, 0x98, 0x11, 0x01, 0x50, 0xc9, 0xe3, 0x1e, 0x71, 0x19, 0xba, 0x0e, - 0x53, 0x91, 0x67, 0x7b, 0xc4, 0x0b, 0x5d, 0xab, 0x0d, 0x71, 0x6d, 0x9d, 0x78, 0x6a, 0x14, 0x89, - 0x75, 0xe2, 0xa1, 0x2a, 0x14, 0xf7, 0x09, 0x75, 0x0d, 0xdb, 0xaa, 0xe6, 0xea, 0xd2, 0x52, 0x49, - 0x15, 0xc7, 0x97, 0x73, 0xfb, 0x1d, 0x00, 0xc7, 0xbf, 0xe7, 0x59, 0x56, 0xcd, 0xd7, 0x73, 0x4b, - 0xe5, 0xe5, 0xab, 0x19, 0xac, 0x99, 0xbe, 0x34, 0x36, 0x22, 0xd6, 0x5b, 0x16, 0xa3, 0x9e, 0x9a, - 0x90, 0x85, 0x66, 0x20, 0xc7, 0x70, 0xa7, 0x3a, 0xc1, 0x8d, 0xf4, 0x3f, 0x13, 0xe1, 0x2c, 0x1c, - 0x33, 0x9c, 0xb5, 0xeb, 0x70, 0xa2, 0x4f, 0x97, 0x2f, 0x5f, 0x84, 0xaf, 0xa4, 0xfa, 0x9f, 0x68, - 0x0e, 0x26, 0xf6, 0xb1, 0xd9, 0x23, 0x3c, 0x02, 0x25, 0x35, 0x38, 0x5c, 0x1b, 0xbf, 0x2a, 0xc9, - 0xbf, 0x49, 0x30, 0x9d, 0x96, 0x8c, 0xde, 0x05, 0x74, 0x60, 0xd3, 0xbd, 0x1d, 0xd3, 0x3e, 0x68, - 0x91, 0x0f, 0x88, 0xd6, 0xf3, 0x45, 0x87, 0x8f, 0x71, 0xa1, 0xef, 0x31, 0xde, 0x0e, 0x81, 0xb7, - 0x04, 0xae, 0x19, 0x55, 0x87, 0x3a, 0x7b, 0xd0, 0x7f, 0x89, 0x16, 0xa0, 0x68, 0xd9, 0x3a, 0xf1, - 0xf3, 0x36, 0xb0, 0xa4, 0xe0, 0x1f, 0x9b, 0x3a, 0x5a, 0x86, 0x22, 0xc3, 0xee, 0x9e, 0x7f, 0x91, - 0xcb, 0x4c, 0xe8, 0x84, 0xdc, 0x82, 0x8f, 0x6c, 0xea, 0xe8, 0x1c, 0x54, 0x28, 0x61, 0xd4, 0x6b, - 0x61, 0xc6, 0x48, 0xd7, 0x61, 0x3c, 0x15, 0x2b, 0xea, 0x14, 0x27, 0xae, 0x06, 0x34, 0x74, 0x1a, - 0x4a, 0x0e, 0x35, 0x2c, 0xcd, 0x70, 0xb0, 0x19, 0x46, 0x3c, 0x26, 0xc8, 0xbf, 0x4a, 0x30, 0x95, - 0x7c, 0x7a, 0x74, 0x51, 0x04, 0x2a, 0x70, 0x77, 0xbe, 0xcf, 0x8a, 0xdb, 0x41, 0xd3, 0x08, 0x03, - 0x88, 0x1a, 0x90, 0xf7, 0x1b, 0x45, 0x98, 0x57, 0xb5, 0x6c, 0xf0, 0x96, 0xe7, 0x10, 0x95, 0xe3, - 0xd0, 0xbf, 0x61, 0xd6, 0xdd, 0xb5, 0x29, 0x6b, 0xe9, 0xc4, 0xd5, 0xa8, 0xe1, 0xb0, 0x38, 0x57, - 0x67, 0xf8, 0xc5, 0x5a, 0x4c, 0x47, 0x2b, 0x50, 0xe9, 0xb9, 0x84, 0xb6, 0xba, 0x84, 0x61, 0x1d, - 0x33, 0x1c, 0x56, 0xda, 0x5c, 0x23, 0xe8, 0x83, 0x0d, 0xd1, 0x22, 0x1b, 0xab, 0x96, 0xa7, 0x4e, - 0xf9, 0xd0, 0x3b, 0x21, 0xd2, 0x8f, 0x8c, 0xe0, 0x6a, 0x71, 0x03, 0x03, 0xc7, 0xa7, 0x04, 0xd1, - 0x37, 0x49, 0xbe, 0x0f, 0xf3, 0xfd, 0xa9, 0xeb, 0x3a, 0xb6, 0xe5, 0x12, 0xf4, 0x3f, 0x98, 0x14, - 0x59, 0x17, 0xc6, 0xe1, 0xd4, 0x88, 0x7c, 0x54, 0x23, 0xb0, 0xdc, 0x06, 0xf4, 0x06, 0x61, 0xfd, - 0x65, 0xbd, 0x0c, 0x13, 0x8f, 0x7b, 0x84, 0x8a, 0x7a, 0x3e, 0x3d, 0xa4, 0x9e, 0xef, 0xfb, 0x18, - 0x35, 0x80, 0xfa, 0xb5, 0xac, 0x13, 0x86, 0x0d, 0xd3, 0xe5, 0xc1, 0x9d, 0x54, 0xc5, 0x51, 0xbe, - 0x0b, 0x27, 0x53, 0x3a, 0x5e, 0xd5, 0xe6, 0xf7, 0xa1, 0xb2, 0x49, 0x30, 0xd5, 0x76, 0xef, 0x39, - 0x41, 0x75, 0xfa, 0x8f, 0xc4, 0xa8, 0xa1, 0xb1, 0x56, 0xa2, 0xfc, 0x25, 0x6e, 0xc4, 0x4c, 0x70, - 0x11, 0xd7, 0x1b, 0x92, 0xa1, 0x62, 0x62, 0x46, 0x5c, 0xd6, 0x6a, 0x7b, 0xbc, 0x67, 0x05, 0xd6, - 0x96, 0x03, 0xe2, 0x0d, 0x6f, 0x9d, 0x78, 0xf2, 0xb7, 0xe3, 0x30, 0x1f, 0xa8, 0x10, 0xea, 0xdd, - 0x3f, 0xa8, 0xe3, 0xad, 0xa4, 0x5a, 0xd4, 0x78, 0x66, 0xe1, 0xc4, 0xc6, 0xa6, 0x7a, 0x50, 0xaa, - 0x2e, 0x72, 0x7d, 0x75, 0x91, 0x6c, 0xa5, 0xf9, 0x74, 0x2b, 0xbd, 0x06, 0x45, 0x3b, 0x08, 0x14, - 0x4f, 0xaa, 0xf2, 0x72, 0x3d, 0x23, 0xcc, 0xa9, 0x80, 0xaa, 0x82, 0xc1, 0xef, 0x42, 0xcc, 0xde, - 0x23, 0x16, 0x6f, 0x72, 0x25, 0x35, 0x38, 0xf8, 0x54, 0xd3, 0xe8, 0x1a, 0xac, 0x5a, 0xac, 0x4b, - 0x4b, 0x13, 0x6a, 0x70, 0x90, 0x1f, 0xc1, 0xc2, 0x40, 0xcc, 0xc2, 0xa7, 0x5e, 0x81, 0x52, 0xb4, - 0x49, 0x54, 0x25, 0xde, 0x97, 0x47, 0xbe, 0x75, 0x8c, 0x8e, 0x2d, 0x18, 0x4f, 0x58, 0x20, 0xff, - 0x2c, 0xc1, 0xe2, 0xeb, 0x86, 0xa5, 0xdf, 0xf0, 0x92, 0xed, 0x4c, 0xbc, 0xd1, 0x4d, 0x28, 0xfa, - 0x5d, 0x30, 0x9e, 0xb5, 0xc7, 0xe9, 0x81, 0x05, 0x9f, 0xb5, 0xa9, 0xa3, 0x2d, 0x28, 0xe9, 0x06, - 0x25, 0x1a, 0xaf, 0x78, 0x5f, 0xf9, 0xf4, 0xf2, 0x95, 0x0c, 0x9b, 0x87, 0x5a, 0xd1, 0x58, 0x13, - 0xdc, 0x6a, 0x2c, 0x48, 0xfe, 0x3b, 0x94, 0x22, 0x3a, 0x02, 0x28, 0x34, 0xef, 0x6e, 0x3c, 0xd8, - 0xda, 0x9c, 0x19, 0x43, 0x65, 0x28, 0xde, 0x7b, 0xb0, 0xc5, 0x0f, 0x92, 0xfc, 0x0c, 0x2a, 0xab, - 0xba, 0xbe, 0x85, 0x3b, 0xc2, 0xa3, 0x57, 0xd9, 0x20, 0x32, 0x27, 0x89, 0x9f, 0x4d, 0xf6, 0x3e, - 0xa1, 0x07, 0xd4, 0x60, 0x84, 0x67, 0xd3, 0xa4, 0x1a, 0x13, 0xe4, 0x19, 0x98, 0x16, 0x06, 0x04, - 0x4f, 0x28, 0xb7, 0x61, 0x2e, 0xe8, 0x3d, 0x5b, 0xd4, 0xe8, 0x74, 0x08, 0x15, 0x96, 0xbd, 0x09, - 0x27, 0x59, 0x40, 0x69, 0x25, 0x16, 0xb8, 0xc1, 0xb2, 0xe0, 0x3b, 0x5e, 0xe3, 0x36, 0x87, 0x6c, - 0x98, 0xd8, 0x52, 0x67, 0x43, 0xb6, 0x98, 0x24, 0x2f, 0x88, 0x35, 0x23, 0xd2, 0x11, 0x2a, 0xdf, - 0x80, 0xb9, 0x35, 0x62, 0x92, 0x01, 0xe5, 0x57, 0x01, 0x84, 0xf2, 0xa1, 0x51, 0x49, 0x3c, 0x6d, - 0x29, 0x04, 0x37, 0x75, 0x5f, 0x55, 0x9f, 0xc4, 0x50, 0xd5, 0x87, 0x12, 0xcc, 0x88, 0x40, 0x6e, - 0x50, 0x5b, 0xef, 0x69, 0x84, 0xa2, 0x2b, 0x50, 0xf2, 0x85, 0x30, 0xef, 0x48, 0x6a, 0x26, 0x03, - 0x6c, 0x53, 0x47, 0xff, 0x85, 0xa2, 0xdd, 0x63, 0x4e, 0x8f, 0xb9, 0x43, 0x06, 0xce, 0x5b, 0x98, - 0x1a, 0xb8, 0x6d, 0x92, 0x3b, 0xd8, 0x51, 0x05, 0x54, 0x7e, 0x08, 0x0b, 0x2a, 0xe9, 0x18, 0x2e, - 0x23, 0x54, 0x58, 0x20, 0x1c, 0x5e, 0xf5, 0x7b, 0x40, 0x40, 0x12, 0x85, 0x74, 0x6e, 0x44, 0x21, - 0x45, 0xec, 0x31, 0x97, 0xfc, 0x2c, 0xf6, 0xef, 0xa6, 0x6d, 0xb9, 0xbd, 0xee, 0x2b, 0xf8, 0x77, - 0x19, 0x0a, 0x86, 0x95, 0x70, 0xef, 0xd4, 0x60, 0x27, 0xc3, 0x5d, 0xc2, 0x08, 0xf5, 0xfd, 0x0b, - 0xa1, 0x49, 0xf7, 0x84, 0x01, 0x09, 0xf7, 0xb4, 0x90, 0x74, 0x14, 0xf7, 0x22, 0xf6, 0x98, 0x4b, - 0x46, 0x30, 0x23, 0xa4, 0x47, 0x6f, 0xfa, 0xb9, 0x04, 0xf3, 0x71, 0xa9, 0x73, 0x2b, 0x84, 0xc6, - 0x3b, 0x30, 0x15, 0x2d, 0x4c, 0x2f, 0xd7, 0x2f, 0xca, 0x24, 0x26, 0xa2, 0x4b, 0x89, 0x80, 0xe4, - 0x46, 0x97, 0xa8, 0x08, 0xc7, 0x22, 0x2c, 0x0c, 0xd8, 0x16, 0xd8, 0xbd, 0xfc, 0xd3, 0x74, 0xfc, - 0x56, 0x81, 0x53, 0xd4, 0x43, 0x1d, 0x98, 0x4e, 0x2f, 0x01, 0x68, 0xe9, 0xa8, 0x2b, 0x6e, 0xed, - 0xfc, 0x11, 0x90, 0x61, 0xcc, 0xc6, 0xd0, 0xc7, 0x13, 0x50, 0x4e, 0xcc, 0x6d, 0xf4, 0x8f, 0x0c, - 0xe6, 0xc1, 0xdd, 0xa1, 0xf6, 0xcf, 0xc3, 0x60, 0xa1, 0x82, 0xaf, 0xf3, 0x1f, 0xfd, 0xf0, 0xcb, - 0xa7, 0xe3, 0x5f, 0xe4, 0x51, 0x3d, 0xfe, 0x99, 0xc9, 0x7f, 0x2a, 0xee, 0x5f, 0x52, 0xfc, 0x95, - 0x27, 0xa6, 0x6e, 0x7f, 0x27, 0xa1, 0x17, 0xd2, 0x21, 0x28, 0xc5, 0xd0, 0x95, 0x27, 0x7c, 0x15, - 0x69, 0x24, 0x7f, 0xcf, 0x25, 0x87, 0xb5, 0xbf, 0x80, 0x3d, 0x22, 0x1a, 0x7b, 0x7a, 0x28, 0x50, - 0xb7, 0xbb, 0xd8, 0xb0, 0x0e, 0xc7, 0x59, 0xb8, 0x4b, 0x32, 0x51, 0xe1, 0xf0, 0x7d, 0xba, 0xfd, - 0x5c, 0x42, 0x9f, 0xfd, 0x79, 0x4d, 0xdf, 0xfe, 0x52, 0x42, 0xcf, 0x33, 0xcc, 0xe3, 0xbf, 0xd8, - 0x85, 0x75, 0x0c, 0x77, 0x06, 0xa4, 0x31, 0xdc, 0x39, 0xa2, 0x7d, 0x03, 0xc8, 0x61, 0x06, 0x0e, - 0x00, 0xb9, 0x85, 0xe8, 0xab, 0x71, 0x38, 0xd1, 0xb7, 0x57, 0xa0, 0xf3, 0x43, 0x37, 0x98, 0xfe, - 0x7d, 0xad, 0x76, 0xe1, 0x28, 0xd0, 0x30, 0x25, 0x5f, 0x48, 0x3c, 0x25, 0xbf, 0x91, 0x50, 0x6b, - 0xc8, 0x8b, 0x71, 0x93, 0x15, 0x57, 0x79, 0x32, 0xc4, 0xf7, 0x6c, 0x47, 0x33, 0xe2, 0xbe, 0x8e, - 0x9a, 0x23, 0x55, 0x1c, 0x47, 0x01, 0xd2, 0xa1, 0x92, 0x9a, 0x9b, 0xe8, 0x5f, 0x43, 0xeb, 0x3c, - 0x3d, 0x40, 0x6b, 0x4b, 0x87, 0x03, 0xa3, 0x7e, 0xa0, 0x43, 0x25, 0x35, 0x32, 0x33, 0xb5, 0x64, - 0x8d, 0xe9, 0x4c, 0x2d, 0xd9, 0xd3, 0x77, 0x0c, 0xdd, 0x83, 0x42, 0xb0, 0x79, 0xa0, 0xac, 0x35, - 0x35, 0xb5, 0x15, 0xd5, 0xce, 0x8e, 0x40, 0x44, 0x02, 0x49, 0x3c, 0x10, 0xa2, 0x79, 0x9e, 0x95, - 0x14, 0x43, 0x46, 0x6e, 0xed, 0xdc, 0x08, 0x6c, 0xb6, 0x9a, 0x68, 0xac, 0x8e, 0x52, 0xd3, 0x37, - 0xfa, 0x8e, 0xaa, 0xa6, 0x0b, 0x68, 0x93, 0xb0, 0xbe, 0x81, 0x91, 0x59, 0x0f, 0xd9, 0x03, 0x2f, - 0xb3, 0x1e, 0x86, 0xcc, 0x1f, 0x79, 0x0c, 0xfd, 0x28, 0x01, 0x1a, 0xdc, 0x70, 0xd1, 0xc5, 0xe3, - 0x2c, 0xc2, 0xc7, 0x2a, 0x41, 0x9d, 0x57, 0xe0, 0x7b, 0xe8, 0xe1, 0xc8, 0xea, 0x20, 0xca, 0x93, - 0x70, 0xc1, 0x4f, 0x94, 0x86, 0xa0, 0x44, 0x65, 0x27, 0x08, 0x61, 0x93, 0x8e, 0x96, 0xf0, 0xa7, - 0x37, 0x5e, 0xdb, 0xfe, 0x7f, 0xc7, 0x60, 0xbb, 0xbd, 0x76, 0x43, 0xb3, 0xbb, 0x0a, 0xb7, 0xce, - 0xa6, 0x9d, 0xe0, 0x43, 0x89, 0xfe, 0xdb, 0xeb, 0x10, 0x4b, 0x71, 0xda, 0xff, 0xe9, 0xd8, 0xca, - 0xc0, 0x1f, 0xa3, 0xed, 0x02, 0xff, 0x2d, 0x7f, 0xf9, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, - 0x2d, 0xa0, 0x3a, 0x34, 0x15, 0x00, 0x00, + 0x89, 0x20, 0x48, 0x51, 0xa0, 0xa7, 0x1e, 0x7b, 0x6a, 0xd1, 0xa2, 0x39, 0xf5, 0xd8, 0x43, 0x81, + 0x00, 0xfd, 0x1b, 0x7a, 0x6d, 0x81, 0x5e, 0x7a, 0xec, 0x3f, 0x51, 0xf4, 0x52, 0x70, 0xc8, 0xe1, + 0x43, 0xa2, 0x64, 0x3b, 0xe9, 0xa1, 0x37, 0xce, 0x37, 0xbf, 0xef, 0x39, 0xdf, 0x4b, 0x82, 0xb3, + 0x3b, 0xa6, 0xc7, 0x88, 0xa1, 0x9b, 0x0a, 0xa6, 0xcc, 0xd8, 0xc1, 0x1a, 0x8b, 0x3e, 0xdc, 0x86, + 0x43, 0x6d, 0x66, 0xa3, 0x59, 0x01, 0x69, 0x88, 0x9b, 0xda, 0x62, 0xc7, 0xb6, 0x3b, 0x26, 0x51, + 0x38, 0xa0, 0xdd, 0xdb, 0x51, 0xb0, 0xe5, 0x05, 0xe8, 0xda, 0xe9, 0xf0, 0x0a, 0x3b, 0x86, 0x82, + 0x2d, 0xcb, 0x66, 0x98, 0x19, 0xb6, 0x15, 0xca, 0xaa, 0xd5, 0x63, 0x75, 0x7a, 0xd7, 0xb0, 0x14, + 0x13, 0xf7, 0x2c, 0x6d, 0xb7, 0xe5, 0x98, 0xd8, 0x12, 0xfc, 0x11, 0x42, 0xb3, 0x29, 0x51, 0x4c, + 0x83, 0x11, 0x8a, 0x4d, 0xc1, 0xbf, 0x98, 0xbe, 0x65, 0x9e, 0x43, 0xc4, 0xd5, 0xdf, 0xd2, 0x57, + 0x86, 0x4e, 0x2c, 0x66, 0xec, 0x18, 0x84, 0x86, 0xf7, 0x67, 0xd2, 0xf7, 0xc2, 0x97, 0x96, 0xa1, + 0x87, 0x80, 0xbf, 0xf6, 0x09, 0xb0, 0x18, 0xa1, 0x3b, 0x58, 0x23, 0x03, 0xa6, 0x93, 0x7d, 0x62, + 0x31, 0x45, 0x33, 0xed, 0x9e, 0xce, 0x3f, 0x43, 0x0b, 0xe4, 0xef, 0x25, 0x98, 0x5c, 0x0d, 0xc5, + 0xa2, 0x6b, 0x50, 0x4e, 0xa8, 0xa8, 0x4a, 0x75, 0x69, 0xa9, 0xbc, 0xbc, 0xd8, 0x88, 0x62, 0xe9, + 0xeb, 0x68, 0x08, 0x74, 0x73, 0x4d, 0x05, 0x81, 0x6e, 0xea, 0xe8, 0x32, 0xe4, 0x5d, 0x87, 0x68, + 0xd5, 0x71, 0xce, 0x74, 0xa6, 0x31, 0xf0, 0x00, 0x11, 0xe3, 0xa6, 0x43, 0x34, 0x95, 0x83, 0x11, + 0x82, 0x3c, 0xc3, 0x1d, 0xb7, 0x9a, 0xab, 0xe7, 0x96, 0x4a, 0x2a, 0xff, 0x46, 0x2b, 0x50, 0x70, + 0xed, 0x1e, 0xd5, 0x48, 0x35, 0xcf, 0x45, 0x9d, 0x1d, 0x25, 0x8a, 0x03, 0xd5, 0x90, 0x41, 0xfe, + 0x24, 0x07, 0x7f, 0xb9, 0x49, 0x09, 0x66, 0x44, 0x00, 0x54, 0xf2, 0xb8, 0x47, 0x5c, 0x86, 0xae, + 0xc3, 0x54, 0xe4, 0xd9, 0x1e, 0xf1, 0x42, 0xd7, 0x6a, 0x43, 0x5c, 0x5b, 0x27, 0x9e, 0x1a, 0x45, + 0x62, 0x9d, 0x78, 0xa8, 0x0a, 0xc5, 0x7d, 0x42, 0x5d, 0xc3, 0xb6, 0xaa, 0xb9, 0xba, 0xb4, 0x54, + 0x52, 0xc5, 0xf1, 0xe5, 0xdc, 0x7e, 0x07, 0xc0, 0xf1, 0xef, 0x79, 0x96, 0x55, 0xf3, 0xf5, 0xdc, + 0x52, 0x79, 0xf9, 0x6a, 0x06, 0x6b, 0xa6, 0x2f, 0x8d, 0x8d, 0x88, 0xf5, 0x96, 0xc5, 0xa8, 0xa7, + 0x26, 0x64, 0xa1, 0x19, 0xc8, 0x31, 0xdc, 0xa9, 0x4e, 0x70, 0x23, 0xfd, 0xcf, 0x44, 0x38, 0x0b, + 0xc7, 0x0c, 0x67, 0xed, 0x3a, 0x9c, 0xe8, 0xd3, 0xe5, 0xcb, 0x17, 0xe1, 0x2b, 0xa9, 0xfe, 0x27, + 0x9a, 0x83, 0x89, 0x7d, 0x6c, 0xf6, 0x08, 0x8f, 0x40, 0x49, 0x0d, 0x0e, 0xd7, 0xc6, 0xaf, 0x4a, + 0xf2, 0x6f, 0x12, 0x4c, 0xa7, 0x25, 0xa3, 0x77, 0x01, 0x1d, 0xd8, 0x74, 0x6f, 0xc7, 0xb4, 0x0f, + 0x5a, 0xe4, 0x03, 0xa2, 0xf5, 0x7c, 0xd1, 0xe1, 0x63, 0x5c, 0xe8, 0x7b, 0x8c, 0xb7, 0x43, 0xe0, + 0x2d, 0x81, 0x6b, 0x46, 0xd5, 0xa1, 0xce, 0x1e, 0xf4, 0x5f, 0xa2, 0x05, 0x28, 0x5a, 0xb6, 0x4e, + 0xfc, 0xbc, 0x0d, 0x2c, 0x29, 0xf8, 0xc7, 0xa6, 0x8e, 0x96, 0xa1, 0xc8, 0xb0, 0xbb, 0xe7, 0x5f, + 0xe4, 0x32, 0x13, 0x3a, 0x21, 0xb7, 0xe0, 0x23, 0x9b, 0x3a, 0x3a, 0x07, 0x15, 0x4a, 0x18, 0xf5, + 0x5a, 0x98, 0x31, 0xd2, 0x75, 0x18, 0x4f, 0xc5, 0x8a, 0x3a, 0xc5, 0x89, 0xab, 0x01, 0x0d, 0x9d, + 0x86, 0x92, 0x43, 0x0d, 0x4b, 0x33, 0x1c, 0x6c, 0x86, 0x11, 0x8f, 0x09, 0xf2, 0xaf, 0x12, 0x4c, + 0x25, 0x9f, 0x1e, 0x5d, 0x14, 0x81, 0x0a, 0xdc, 0x9d, 0xef, 0xb3, 0xe2, 0x76, 0xd0, 0x34, 0xc2, + 0x00, 0xa2, 0x06, 0xe4, 0xfd, 0x46, 0x11, 0xe6, 0x55, 0x2d, 0x1b, 0xbc, 0xe5, 0x39, 0x44, 0xe5, + 0x38, 0xf4, 0x6f, 0x98, 0x75, 0x77, 0x6d, 0xca, 0x5a, 0x3a, 0x71, 0x35, 0x6a, 0x38, 0x2c, 0xce, + 0xd5, 0x19, 0x7e, 0xb1, 0x16, 0xd3, 0xd1, 0x0a, 0x54, 0x7a, 0x2e, 0xa1, 0xad, 0x2e, 0x61, 0x58, + 0xc7, 0x0c, 0x87, 0x95, 0x36, 0xd7, 0x08, 0xfa, 0x60, 0x43, 0xb4, 0xc8, 0xc6, 0xaa, 0xe5, 0xa9, + 0x53, 0x3e, 0xf4, 0x4e, 0x88, 0xf4, 0x23, 0x23, 0xb8, 0x5a, 0xdc, 0xc0, 0xc0, 0xf1, 0x29, 0x41, + 0xf4, 0x4d, 0x92, 0xef, 0xc3, 0x7c, 0x7f, 0xea, 0xba, 0x8e, 0x6d, 0xb9, 0x04, 0xfd, 0x0f, 0x26, + 0x45, 0xd6, 0x85, 0x71, 0x38, 0x35, 0x22, 0x1f, 0xd5, 0x08, 0x2c, 0xb7, 0x01, 0xbd, 0x41, 0x58, + 0x7f, 0x59, 0x2f, 0xc3, 0xc4, 0xe3, 0x1e, 0xa1, 0xa2, 0x9e, 0x4f, 0x0f, 0xa9, 0xe7, 0xfb, 0x3e, + 0x46, 0x0d, 0xa0, 0x7e, 0x2d, 0xeb, 0x84, 0x61, 0xc3, 0x74, 0x79, 0x70, 0x27, 0x55, 0x71, 0x94, + 0xef, 0xc2, 0xc9, 0x94, 0x8e, 0x57, 0xb5, 0xf9, 0x7d, 0xa8, 0x6c, 0x12, 0x4c, 0xb5, 0xdd, 0x7b, + 0x4e, 0x50, 0x9d, 0xfe, 0x23, 0x31, 0x6a, 0x68, 0xac, 0x95, 0x28, 0x7f, 0x89, 0x1b, 0x31, 0x13, + 0x5c, 0xc4, 0xf5, 0x86, 0x64, 0xa8, 0x98, 0x98, 0x11, 0x97, 0xb5, 0xda, 0x1e, 0xef, 0x59, 0x81, + 0xb5, 0xe5, 0x80, 0x78, 0xc3, 0x5b, 0x27, 0x9e, 0xfc, 0xed, 0x38, 0xcc, 0x07, 0x2a, 0x84, 0x7a, + 0xf7, 0x0f, 0xea, 0x78, 0x2b, 0xa9, 0x16, 0x35, 0x9e, 0x59, 0x38, 0xb1, 0xb1, 0xa9, 0x1e, 0x94, + 0xaa, 0x8b, 0x5c, 0x5f, 0x5d, 0x24, 0x5b, 0x69, 0x3e, 0xdd, 0x4a, 0xaf, 0x41, 0xd1, 0x0e, 0x02, + 0xc5, 0x93, 0xaa, 0xbc, 0x5c, 0xcf, 0x08, 0x73, 0x2a, 0xa0, 0xaa, 0x60, 0xf0, 0xbb, 0x10, 0xb3, + 0xf7, 0x88, 0xc5, 0x9b, 0x5c, 0x49, 0x0d, 0x0e, 0x3e, 0xd5, 0x34, 0xba, 0x06, 0xab, 0x16, 0xeb, + 0xd2, 0xd2, 0x84, 0x1a, 0x1c, 0xe4, 0x47, 0xb0, 0x30, 0x10, 0xb3, 0xf0, 0xa9, 0x57, 0xa0, 0x14, + 0x6d, 0x12, 0x55, 0x89, 0xf7, 0xe5, 0x91, 0x6f, 0x1d, 0xa3, 0x63, 0x0b, 0xc6, 0x13, 0x16, 0xc8, + 0x3f, 0x4b, 0xb0, 0xf8, 0xba, 0x61, 0xe9, 0x37, 0xbc, 0x64, 0x3b, 0x13, 0x6f, 0x74, 0x13, 0x8a, + 0x7e, 0x17, 0x8c, 0x67, 0xed, 0x71, 0x7a, 0x60, 0xc1, 0x67, 0x6d, 0xea, 0x68, 0x0b, 0x4a, 0xba, + 0x41, 0x89, 0xc6, 0x2b, 0xde, 0x57, 0x3e, 0xbd, 0x7c, 0x25, 0xc3, 0xe6, 0xa1, 0x56, 0x34, 0xd6, + 0x04, 0xb7, 0x1a, 0x0b, 0x92, 0xff, 0x0e, 0xa5, 0x88, 0x8e, 0x00, 0x0a, 0xcd, 0xbb, 0x1b, 0x0f, + 0xb6, 0x36, 0x67, 0xc6, 0x50, 0x19, 0x8a, 0xf7, 0x1e, 0x6c, 0xf1, 0x83, 0x24, 0x3f, 0x83, 0xca, + 0xaa, 0xae, 0x6f, 0xe1, 0x8e, 0xf0, 0xe8, 0x55, 0x36, 0x88, 0xcc, 0x49, 0xe2, 0x67, 0x93, 0xbd, + 0x4f, 0xe8, 0x01, 0x35, 0x18, 0xe1, 0xd9, 0x34, 0xa9, 0xc6, 0x04, 0x79, 0x06, 0xa6, 0x85, 0x01, + 0xc1, 0x13, 0xca, 0x6d, 0x98, 0x0b, 0x7a, 0xcf, 0x16, 0x35, 0x3a, 0x1d, 0x42, 0x85, 0x65, 0x6f, + 0xc2, 0x49, 0x16, 0x50, 0x5a, 0x89, 0x05, 0x6e, 0xb0, 0x2c, 0xf8, 0x8e, 0xd7, 0xb8, 0xcd, 0x21, + 0x1b, 0x26, 0xb6, 0xd4, 0xd9, 0x90, 0x2d, 0x26, 0xc9, 0x0b, 0x62, 0xcd, 0x88, 0x74, 0x84, 0xca, + 0x37, 0x60, 0x6e, 0x8d, 0x98, 0x64, 0x40, 0xf9, 0x55, 0x00, 0xa1, 0x7c, 0x68, 0x54, 0x12, 0x4f, + 0x5b, 0x0a, 0xc1, 0x4d, 0xdd, 0x57, 0xd5, 0x27, 0x31, 0x54, 0xf5, 0xa1, 0x04, 0x33, 0x22, 0x90, + 0x1b, 0xd4, 0xd6, 0x7b, 0x1a, 0xa1, 0xe8, 0x0a, 0x94, 0x7c, 0x21, 0xcc, 0x3b, 0x92, 0x9a, 0xc9, + 0x00, 0xdb, 0xd4, 0xd1, 0x7f, 0xa1, 0x68, 0xf7, 0x98, 0xd3, 0x63, 0xee, 0x90, 0x81, 0xf3, 0x16, + 0xa6, 0x06, 0x6e, 0x9b, 0xe4, 0x0e, 0x76, 0x54, 0x01, 0x95, 0x1f, 0xc2, 0x82, 0x4a, 0x3a, 0x86, + 0xcb, 0x08, 0x15, 0x16, 0x08, 0x87, 0x57, 0xfd, 0x1e, 0x10, 0x90, 0x44, 0x21, 0x9d, 0x1b, 0x51, + 0x48, 0x11, 0x7b, 0xcc, 0x25, 0x3f, 0x8b, 0xfd, 0xbb, 0x69, 0x5b, 0x6e, 0xaf, 0xfb, 0x0a, 0xfe, + 0x5d, 0x86, 0x82, 0x61, 0x25, 0xdc, 0x3b, 0x35, 0xd8, 0xc9, 0x70, 0x97, 0x30, 0x42, 0x7d, 0xff, + 0x42, 0x68, 0xd2, 0x3d, 0x61, 0x40, 0xc2, 0x3d, 0x2d, 0x24, 0x1d, 0xc5, 0xbd, 0x88, 0x3d, 0xe6, + 0x92, 0x11, 0xcc, 0x08, 0xe9, 0xd1, 0x9b, 0x7e, 0x2e, 0xc1, 0x7c, 0x5c, 0xea, 0xdc, 0x0a, 0xa1, + 0xf1, 0x0e, 0x4c, 0x45, 0x0b, 0xd3, 0xcb, 0xf5, 0x8b, 0x32, 0x89, 0x89, 0xe8, 0x52, 0x22, 0x20, + 0xb9, 0xd1, 0x25, 0x2a, 0xc2, 0xb1, 0x08, 0x0b, 0x03, 0xb6, 0x05, 0x76, 0x2f, 0xff, 0x34, 0x1d, + 0xbf, 0x55, 0xe0, 0x14, 0xf5, 0x50, 0x07, 0xa6, 0xd3, 0x4b, 0x00, 0x5a, 0x3a, 0xea, 0x8a, 0x5b, + 0x3b, 0x7f, 0x04, 0x64, 0x18, 0xb3, 0x31, 0xf4, 0xf1, 0x04, 0x94, 0x13, 0x73, 0x1b, 0xfd, 0x23, + 0x83, 0x79, 0x70, 0x77, 0xa8, 0xfd, 0xf3, 0x30, 0x58, 0xa8, 0xe0, 0xeb, 0xfc, 0x47, 0x3f, 0xfc, + 0xf2, 0xe9, 0xf8, 0x57, 0x79, 0x54, 0x8f, 0x7f, 0x66, 0xf2, 0x9f, 0x8a, 0xfb, 0x97, 0x14, 0x7f, + 0xe5, 0x89, 0xa9, 0xdb, 0xdf, 0x49, 0xe8, 0x85, 0x74, 0x08, 0x4a, 0x31, 0x74, 0xe5, 0x09, 0x5f, + 0x45, 0x1a, 0xc9, 0xdf, 0x73, 0xc9, 0x61, 0xed, 0x2f, 0x60, 0x8f, 0x88, 0xc6, 0x9e, 0x1e, 0x0a, + 0xd4, 0xed, 0x2e, 0x36, 0xac, 0xc3, 0x71, 0x16, 0xee, 0x92, 0x4c, 0x54, 0x38, 0x7c, 0x9f, 0x6e, + 0x7f, 0x21, 0xa1, 0xcf, 0xfe, 0xbc, 0xa6, 0x6f, 0x3f, 0x97, 0xd0, 0x97, 0x87, 0x9a, 0xc7, 0x70, + 0x67, 0x40, 0x1c, 0xc3, 0x9d, 0x23, 0x1a, 0x38, 0x80, 0x1c, 0x66, 0xe1, 0x00, 0x90, 0x9b, 0x88, + 0x9e, 0x8f, 0xc3, 0x89, 0xbe, 0xc5, 0x02, 0x9d, 0x1f, 0xba, 0xc2, 0xf4, 0x2f, 0x6c, 0xb5, 0x0b, + 0x47, 0x81, 0x86, 0x39, 0xf9, 0x42, 0xe2, 0x39, 0xf9, 0x8d, 0x84, 0x5a, 0x43, 0x62, 0xc2, 0x4d, + 0x56, 0x5c, 0xe5, 0xc9, 0x10, 0xdf, 0xb3, 0x1d, 0xcd, 0x08, 0xfc, 0x3a, 0x6a, 0x8e, 0x54, 0x71, + 0x1c, 0x05, 0x48, 0x87, 0x4a, 0x6a, 0x70, 0xa2, 0x7f, 0x0d, 0x2d, 0xf4, 0xf4, 0x04, 0xad, 0x2d, + 0x1d, 0x0e, 0x8c, 0x1a, 0x82, 0x0e, 0x95, 0xd4, 0xcc, 0xcc, 0xd4, 0x92, 0x35, 0xa7, 0x33, 0xb5, + 0x64, 0x8f, 0xdf, 0x31, 0x74, 0x0f, 0x0a, 0xc1, 0xea, 0x81, 0xb2, 0xf6, 0xd4, 0xd4, 0x5a, 0x54, + 0x3b, 0x3b, 0x02, 0x11, 0x09, 0x24, 0xf1, 0x44, 0x88, 0x06, 0x7a, 0x56, 0x52, 0x0c, 0x99, 0xb9, + 0xb5, 0x73, 0x23, 0xb0, 0xd9, 0x6a, 0xa2, 0xb9, 0x3a, 0x4a, 0x4d, 0xdf, 0xec, 0x3b, 0xaa, 0x9a, + 0x2e, 0xa0, 0x4d, 0xc2, 0xfa, 0x26, 0x46, 0x66, 0x3d, 0x64, 0x4f, 0xbc, 0xcc, 0x7a, 0x18, 0x32, + 0x80, 0xe4, 0x31, 0xf4, 0xa3, 0x04, 0x68, 0x70, 0xc5, 0x45, 0x17, 0x8f, 0xb3, 0x09, 0x1f, 0xab, + 0x04, 0x75, 0x5e, 0x81, 0xef, 0xa1, 0x87, 0x23, 0xab, 0x83, 0x28, 0x4f, 0xc2, 0x0d, 0x3f, 0x51, + 0x1a, 0x82, 0x12, 0x95, 0x9d, 0x20, 0x84, 0x5d, 0x3a, 0xda, 0xc2, 0x9f, 0xde, 0x78, 0x6d, 0xfb, + 0xff, 0x1d, 0x83, 0xed, 0xf6, 0xda, 0x0d, 0xcd, 0xee, 0x2a, 0xdc, 0x3a, 0x9b, 0x76, 0x82, 0x0f, + 0x25, 0xfa, 0x73, 0xaf, 0x43, 0x2c, 0xc5, 0x69, 0xff, 0xa7, 0x63, 0x2b, 0x03, 0xff, 0x8c, 0xb6, + 0x0b, 0xfc, 0xc7, 0xfc, 0xe5, 0xdf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x8a, 0xd7, 0x3b, 0x35, + 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go index 5389c4b7a9..b6e603f774 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go @@ -610,7 +610,7 @@ var ( pattern_ArtifactRegistry_GetArtifact_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name"}, "")) - pattern_ArtifactRegistry_GetArtifact_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 1, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7}, []string{"artifacts", "api", "v1", "artifact", "tag", "query.artifact_tag.artifact_key.project", "query.artifact_tag.artifact_key.domain", "query.artifact_tag.artifact_key.name"}, "")) + pattern_ArtifactRegistry_GetArtifact_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "artifact", "tag", "query.artifact_tag.artifact_key.project", "query.artifact_tag.artifact_key.domain", "query.artifact_tag.artifact_key.name"}, "")) pattern_ArtifactRegistry_SearchArtifacts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "query", "s", "artifact_key.project", "artifact_key.domain", "artifact_key.name"}, "")) diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json index 53aa89e114..8617ff5fee 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json @@ -15,9 +15,9 @@ "application/json" ], "paths": { - "/artifacts/api/v1/api/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}": { + "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}": { "get": { - "operationId": "GetArtifact4", + "operationId": "GetArtifact3", "responses": { "200": { "description": "A successful response.", @@ -28,20 +28,20 @@ }, "parameters": [ { - "name": "query.artifact_tag.artifact_key.project", + "name": "query.artifact_id.artifact_key.project", "description": "Project and domain and suffix needs to be unique across a given artifact store.", "in": "path", "required": true, "type": "string" }, { - "name": "query.artifact_tag.artifact_key.domain", + "name": "query.artifact_id.artifact_key.domain", "in": "path", "required": true, "type": "string" }, { - "name": "query.artifact_tag.artifact_key.name", + "name": "query.artifact_id.artifact_key.name", "in": "path", "required": true, "type": "string" @@ -124,9 +124,9 @@ ] } }, - "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}": { + "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}": { "get": { - "operationId": "GetArtifact3", + "operationId": "GetArtifact2", "responses": { "200": { "description": "A successful response.", @@ -157,8 +157,8 @@ }, { "name": "query.artifact_id.version", - "in": "query", - "required": false, + "in": "path", + "required": true, "type": "string" }, { @@ -233,9 +233,9 @@ ] } }, - "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}": { + "/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}": { "get": { - "operationId": "GetArtifact2", + "operationId": "GetArtifact4", "responses": { "200": { "description": "A successful response.", @@ -246,28 +246,28 @@ }, "parameters": [ { - "name": "query.artifact_id.artifact_key.project", + "name": "query.artifact_tag.artifact_key.project", "description": "Project and domain and suffix needs to be unique across a given artifact store.", "in": "path", "required": true, "type": "string" }, { - "name": "query.artifact_id.artifact_key.domain", + "name": "query.artifact_tag.artifact_key.domain", "in": "path", "required": true, "type": "string" }, { - "name": "query.artifact_id.artifact_key.name", + "name": "query.artifact_tag.artifact_key.name", "in": "path", "required": true, "type": "string" }, { "name": "query.artifact_id.version", - "in": "path", - "required": true, + "in": "query", + "required": false, "type": "string" }, { diff --git a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java index 6baa747e58..9d3cbf73cb 100644 --- a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java +++ b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java @@ -20017,13 +20017,13 @@ public flyteidl.artifact.Artifacts.ExecutionInputsResponse getDefaultInstanceFor "sRequest\022@\n\014execution_id\030\001 \001(\0132*.flyteid" + "l.core.WorkflowExecutionIdentifier\022)\n\006in" + "puts\030\002 \003(\0132\031.flyteidl.core.ArtifactID\"\031\n" + - "\027ExecutionInputsResponse2\326\016\n\020ArtifactReg" + + "\027ExecutionInputsResponse2\327\016\n\020ArtifactReg" + "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" + "act.CreateArtifactRequest\032).flyteidl.art" + - "ifact.CreateArtifactResponse\"\000\022\204\005\n\013GetAr" + + "ifact.CreateArtifactResponse\"\000\022\205\005\n\013GetAr" + "tifact\022%.flyteidl.artifact.GetArtifactRe" + "quest\032&.flyteidl.artifact.GetArtifactRes" + - "ponse\"\245\004\202\323\344\223\002\236\004\022 /artifacts/api/v1/data/" + + "ponse\"\246\004\202\323\344\223\002\237\004\022 /artifacts/api/v1/data/" + "artifactsZ\270\001\022\265\001/artifacts/api/v1/data/ar" + "tifact/id/{query.artifact_id.artifact_ke" + "y.project}/{query.artifact_id.artifact_k" + @@ -20032,41 +20032,41 @@ public flyteidl.artifact.Artifacts.ExecutionInputsResponse getDefaultInstanceFor "\231\001/artifacts/api/v1/data/artifact/id/{qu" + "ery.artifact_id.artifact_key.project}/{q" + "uery.artifact_id.artifact_key.domain}/{q" + - "uery.artifact_id.artifact_key.name}Z\237\001\022\234" + - "\001/artifacts/api/v1/api/artifact/tag/{que" + - "ry.artifact_tag.artifact_key.project}/{q" + - "uery.artifact_tag.artifact_key.domain}/{" + - "query.artifact_tag.artifact_key.name}\022\240\002" + - "\n\017SearchArtifacts\022).flyteidl.artifact.Se" + - "archArtifactsRequest\032*.flyteidl.artifact" + - ".SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/art" + - "ifacts/api/v1/data/query/s/{artifact_key" + - ".project}/{artifact_key.domain}/{artifac" + - "t_key.name}ZK\022I/artifacts/api/v1/data/qu" + - "ery/{artifact_key.project}/{artifact_key" + - ".domain}\022d\n\rCreateTrigger\022\'.flyteidl.art" + - "ifact.CreateTriggerRequest\032(.flyteidl.ar" + - "tifact.CreateTriggerResponse\"\000\022d\n\rDelete" + - "Trigger\022\'.flyteidl.artifact.DeleteTrigge" + - "rRequest\032(.flyteidl.artifact.DeleteTrigg" + - "erResponse\"\000\022O\n\006AddTag\022 .flyteidl.artifa" + - "ct.AddTagRequest\032!.flyteidl.artifact.Add" + - "TagResponse\"\000\022e\n\020RegisterProducer\022*.flyt" + - "eidl.artifact.RegisterProducerRequest\032#." + - "flyteidl.artifact.RegisterResponse\"\000\022e\n\020" + - "RegisterConsumer\022*.flyteidl.artifact.Reg" + - "isterConsumerRequest\032#.flyteidl.artifact" + - ".RegisterResponse\"\000\022m\n\022SetExecutionInput" + - "s\022).flyteidl.artifact.ExecutionInputsReq" + - "uest\032*.flyteidl.artifact.ExecutionInputs" + - "Response\"\000\022\324\001\n\022FindByWorkflowExec\022,.flyt" + - "eidl.artifact.FindByWorkflowExecRequest\032" + - "*.flyteidl.artifact.SearchArtifactsRespo" + - "nse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/quer" + - "y/e/{exec_id.project}/{exec_id.domain}/{" + - "exec_id.name}/{direction}B@Z>github.com/" + - "flyteorg/flyte/flyteidl/gen/pb-go/flytei" + - "dl/artifactb\006proto3" + "uery.artifact_id.artifact_key.name}Z\240\001\022\235" + + "\001/artifacts/api/v1/data/artifact/tag/{qu" + + "ery.artifact_tag.artifact_key.project}/{" + + "query.artifact_tag.artifact_key.domain}/" + + "{query.artifact_tag.artifact_key.name}\022\240" + + "\002\n\017SearchArtifacts\022).flyteidl.artifact.S" + + "earchArtifactsRequest\032*.flyteidl.artifac" + + "t.SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/ar" + + "tifacts/api/v1/data/query/s/{artifact_ke" + + "y.project}/{artifact_key.domain}/{artifa" + + "ct_key.name}ZK\022I/artifacts/api/v1/data/q" + + "uery/{artifact_key.project}/{artifact_ke" + + "y.domain}\022d\n\rCreateTrigger\022\'.flyteidl.ar" + + "tifact.CreateTriggerRequest\032(.flyteidl.a" + + "rtifact.CreateTriggerResponse\"\000\022d\n\rDelet" + + "eTrigger\022\'.flyteidl.artifact.DeleteTrigg" + + "erRequest\032(.flyteidl.artifact.DeleteTrig" + + "gerResponse\"\000\022O\n\006AddTag\022 .flyteidl.artif" + + "act.AddTagRequest\032!.flyteidl.artifact.Ad" + + "dTagResponse\"\000\022e\n\020RegisterProducer\022*.fly" + + "teidl.artifact.RegisterProducerRequest\032#" + + ".flyteidl.artifact.RegisterResponse\"\000\022e\n" + + "\020RegisterConsumer\022*.flyteidl.artifact.Re" + + "gisterConsumerRequest\032#.flyteidl.artifac" + + "t.RegisterResponse\"\000\022m\n\022SetExecutionInpu" + + "ts\022).flyteidl.artifact.ExecutionInputsRe" + + "quest\032*.flyteidl.artifact.ExecutionInput" + + "sResponse\"\000\022\324\001\n\022FindByWorkflowExec\022,.fly" + + "teidl.artifact.FindByWorkflowExecRequest" + + "\032*.flyteidl.artifact.SearchArtifactsResp" + + "onse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/que" + + "ry/e/{exec_id.project}/{exec_id.domain}/" + + "{exec_id.name}/{direction}B@Z>github.com" + + "/flyteorg/flyte/flyteidl/gen/pb-go/flyte" + + "idl/artifactb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py index cb68fccb14..84e5a5344a 100644 --- a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py @@ -22,7 +22,7 @@ from flyteidl.event import cloudevents_pb2 as flyteidl_dot_event_dot_cloudevents__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xdc\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"P\n\x14\x44\x65leteTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x17\n\x15\x44\x65leteTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse2\xd6\x0e\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\x84\x05\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\xa5\x04\x82\xd3\xe4\x93\x02\x9e\x04Z\xb8\x01\x12\xb5\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\x9c\x01\x12\x99\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\x9f\x01\x12\x9c\x01/artifacts/api/v1/api/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\x12 /artifacts/api/v1/data/artifacts\x12\xa0\x02\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"\xb5\x01\x82\xd3\xe4\x93\x02\xae\x01ZK\x12I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\x12_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x64\n\rDeleteTrigger\x12\'.flyteidl.artifact.DeleteTriggerRequest\x1a(.flyteidl.artifact.DeleteTriggerResponse\"\x00\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xd4\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"d\x82\xd3\xe4\x93\x02^\x12\\/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xdc\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"P\n\x14\x44\x65leteTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x17\n\x15\x44\x65leteTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse2\xd7\x0e\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\x85\x05\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\xa6\x04\x82\xd3\xe4\x93\x02\x9f\x04Z\xb8\x01\x12\xb5\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\x9c\x01\x12\x99\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\xa0\x01\x12\x9d\x01/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\x12 /artifacts/api/v1/data/artifacts\x12\xa0\x02\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"\xb5\x01\x82\xd3\xe4\x93\x02\xae\x01ZK\x12I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\x12_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x64\n\rDeleteTrigger\x12\'.flyteidl.artifact.DeleteTriggerRequest\x1a(.flyteidl.artifact.DeleteTriggerResponse\"\x00\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xd4\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"d\x82\xd3\xe4\x93\x02^\x12\\/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -34,7 +34,7 @@ _CREATEARTIFACTREQUEST_PARTITIONSENTRY._options = None _CREATEARTIFACTREQUEST_PARTITIONSENTRY._serialized_options = b'8\001' _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._options = None - _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002\236\004Z\270\001\022\265\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\234\001\022\231\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\237\001\022\234\001/artifacts/api/v1/api/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\022 /artifacts/api/v1/data/artifacts' + _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002\237\004Z\270\001\022\265\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\234\001\022\231\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\240\001\022\235\001/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\022 /artifacts/api/v1/data/artifacts' _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._options = None _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._serialized_options = b'\202\323\344\223\002\256\001ZK\022I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\022_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}' _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._options = None @@ -92,5 +92,5 @@ _globals['_EXECUTIONINPUTSRESPONSE']._serialized_start=3448 _globals['_EXECUTIONINPUTSRESPONSE']._serialized_end=3473 _globals['_ARTIFACTREGISTRY']._serialized_start=3476 - _globals['_ARTIFACTREGISTRY']._serialized_end=5354 + _globals['_ARTIFACTREGISTRY']._serialized_end=5355 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/protos/flyteidl/artifact/artifacts.proto b/flyteidl/protos/flyteidl/artifact/artifacts.proto index c769d87212..6ba07258b0 100644 --- a/flyteidl/protos/flyteidl/artifact/artifacts.proto +++ b/flyteidl/protos/flyteidl/artifact/artifacts.proto @@ -193,14 +193,14 @@ service ArtifactRegistry { get: "/artifacts/api/v1/data/artifacts" additional_bindings {get: "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}"} additional_bindings {get: "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}"} - additional_bindings {get: "/artifacts/api/v1/api/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}"} + additional_bindings {get: "/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}"} }; } rpc SearchArtifacts (SearchArtifactsRequest) returns (SearchArtifactsResponse) { option (google.api.http) = { - get: "/data/v1/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}" - additional_bindings {get: "/data/v1/query/{artifact_key.project}/{artifact_key.domain}"} + get: "/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}" + additional_bindings {get: "/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}"} }; } From 0e35cabb69080757256bf48b4560b9b82964202b Mon Sep 17 00:00:00 2001 From: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> Date: Tue, 26 Dec 2023 08:10:15 -0600 Subject: [PATCH 04/16] Add Ray Autoscaler to the Flyte-Ray plugin (#4363) * add enable_in_tree_autoscaling Signed-off-by: Yicheng-Lu-llll * remove print Signed-off-by: Yicheng-Lu-llll * allow MinReplicas to be zero Signed-off-by: Yicheng-Lu-llll * fix ci test Signed-off-by: Yicheng-Lu-llll * fix ci test Signed-off-by: Yicheng-Lu-llll * add ttl Signed-off-by: Yicheng-Lu-llll * nit Signed-off-by: Yicheng-Lu-llll * change JobDeploymentStatusFailedToGetJobStatus -> PhaseInfoRunning Signed-off-by: Yicheng-Lu-llll * rebasing Signed-off-by: Yicheng-Lu-llll * rebasing Signed-off-by: Yicheng-Lu-llll * enforce minreplica < replica < maxreplica Signed-off-by: Yicheng-Lu-llll * add test for ShutdownAfterJobFinishes and TTLSecondsAfterFinished Signed-off-by: Yicheng-Lu-llll * fix ray test error Signed-off-by: Yicheng-Lu-llll --------- Signed-off-by: Yicheng-Lu-llll Co-authored-by: Kevin Su --- .../gen/pb-cpp/flyteidl/plugins/ray.pb.cc | 191 ++++++++++-- flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.h | 63 ++++ flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go | 103 ++++--- .../pb-go/flyteidl/plugins/ray.pb.validate.go | 6 + .../gen/pb-java/flyteidl/plugins/Ray.java | 290 ++++++++++++++++-- .../gen/pb_python/flyteidl/plugins/ray_pb2.py | 26 +- .../pb_python/flyteidl/plugins/ray_pb2.pyi | 14 +- flyteidl/gen/pb_rust/flyteidl.plugins.rs | 9 + flyteidl/protos/flyteidl/plugins/ray.proto | 6 + flyteplugins/go/tasks/plugins/k8s/ray/ray.go | 36 ++- .../go/tasks/plugins/k8s/ray/ray_test.go | 56 ++-- 11 files changed, 668 insertions(+), 132 deletions(-) diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.cc index fc5ea74702..7579e59cc0 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.cc @@ -157,6 +157,8 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fray_2eproto::o ~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_ @@ -164,6 +166,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fray_2eproto::o ~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_ @@ -201,11 +204,11 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fplugins_2fray_2eproto::o }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::plugins::RayJob)}, - { 7, -1, sizeof(::flyteidl::plugins::RayCluster)}, - { 14, 21, sizeof(::flyteidl::plugins::HeadGroupSpec_RayStartParamsEntry_DoNotUse)}, - { 23, -1, sizeof(::flyteidl::plugins::HeadGroupSpec)}, - { 29, 36, sizeof(::flyteidl::plugins::WorkerGroupSpec_RayStartParamsEntry_DoNotUse)}, - { 38, -1, sizeof(::flyteidl::plugins::WorkerGroupSpec)}, + { 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[] = { @@ -225,29 +228,31 @@ ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_fl const char descriptor_table_protodef_flyteidl_2fplugins_2fray_2eproto[] = "\n\032flyteidl/plugins/ray.proto\022\020flyteidl.p" - "lugins\"P\n\006RayJob\0221\n\013ray_cluster\030\001 \001(\0132\034." - "flyteidl.plugins.RayCluster\022\023\n\013runtime_e" - "nv\030\002 \001(\t\"\204\001\n\nRayCluster\0228\n\017head_group_sp" - "ec\030\001 \001(\0132\037.flyteidl.plugins.HeadGroupSpe" - "c\022<\n\021worker_group_spec\030\002 \003(\0132!.flyteidl." - "plugins.WorkerGroupSpec\"\225\001\n\rHeadGroupSpe" - "c\022M\n\020ray_start_params\030\001 \003(\01323.flyteidl.p" - "lugins.HeadGroupSpec.RayStartParamsEntry" - "\0325\n\023RayStartParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - "value\030\002 \001(\t:\0028\001\"\353\001\n\017WorkerGroupSpec\022\022\n\ng" - "roup_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.plugi" - "ns.WorkerGroupSpec.RayStartParamsEntry\0325" - "\n\023RayStartParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - "lue\030\002 \001(\t:\0028\001B\?Z=github.com/flyteorg/fly" - "te/flyteidl/gen/pb-go/flyteidl/pluginsb\006" - "proto3" + "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, 726, + "flyteidl/plugins/ray.proto", &assign_descriptors_table_flyteidl_2fplugins_2fray_2eproto, 828, }; void AddDescriptors_flyteidl_2fplugins_2fray_2eproto() { @@ -280,6 +285,8 @@ RayJob::HasBitSetters::ray_cluster(const RayJob* msg) { #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() @@ -300,6 +307,9 @@ RayJob::RayJob(const RayJob& from) } 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) } @@ -307,7 +317,9 @@ void RayJob::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_RayJob_flyteidl_2fplugins_2fray_2eproto.base); runtime_env_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - ray_cluster_ = nullptr; + ::memset(&ray_cluster_, 0, static_cast( + reinterpret_cast(&ttl_seconds_after_finished_) - + reinterpret_cast(&ray_cluster_)) + sizeof(ttl_seconds_after_finished_)); } RayJob::~RayJob() { @@ -340,6 +352,9 @@ void RayJob::Clear() { 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(); } @@ -385,6 +400,20 @@ const char* RayJob::_InternalParse(const char* begin, const char* end, void* obj 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) { @@ -445,6 +474,32 @@ bool RayJob::MergePartialFromCodedStream( 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) { @@ -488,6 +543,16 @@ void RayJob::SerializeWithCachedSizes( 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); @@ -519,6 +584,16 @@ ::google::protobuf::uint8* RayJob::InternalSerializeWithCachedSizesToArray( 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); @@ -554,6 +629,18 @@ size_t RayJob::ByteSizeLong() const { *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; @@ -588,6 +675,12 @@ void RayJob::MergeFrom(const RayJob& from) { 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) { @@ -618,6 +711,8 @@ void RayJob::InternalSwap(RayJob* other) { 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 { @@ -644,6 +739,7 @@ RayCluster::HasBitSetters::head_group_spec(const RayCluster* msg) { #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() @@ -661,13 +757,16 @@ RayCluster::RayCluster(const RayCluster& from) } 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); - head_group_spec_ = nullptr; + ::memset(&head_group_spec_, 0, static_cast( + reinterpret_cast(&enable_autoscaling_) - + reinterpret_cast(&head_group_spec_)) + sizeof(enable_autoscaling_)); } RayCluster::~RayCluster() { @@ -699,6 +798,7 @@ void RayCluster::Clear() { delete head_group_spec_; } head_group_spec_ = nullptr; + enable_autoscaling_ = false; _internal_metadata_.Clear(); } @@ -744,6 +844,13 @@ const char* RayCluster::_InternalParse(const char* begin, const char* end, void* } 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) { @@ -796,6 +903,19 @@ bool RayCluster::MergePartialFromCodedStream( 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) { @@ -838,6 +958,11 @@ void RayCluster::SerializeWithCachedSizes( 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); @@ -866,6 +991,11 @@ ::google::protobuf::uint8* RayCluster::InternalSerializeWithCachedSizesToArray( 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); @@ -905,6 +1035,11 @@ size_t RayCluster::ByteSizeLong() const { *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; @@ -936,6 +1071,9 @@ void RayCluster::MergeFrom(const RayCluster& from) { 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) { @@ -965,6 +1103,7 @@ void RayCluster::InternalSwap(RayCluster* other) { _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 { diff --git a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.h b/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.h index 5de7bb122c..6d49906b97 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/plugins/ray.pb.h @@ -206,6 +206,18 @@ class RayJob final : ::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; @@ -213,6 +225,8 @@ class RayJob final : ::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; }; @@ -334,6 +348,12 @@ class RayCluster final : ::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; @@ -341,6 +361,7 @@ class RayCluster final : ::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; }; @@ -785,6 +806,34 @@ inline void RayJob::set_allocated_runtime_env(::std::string* 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 @@ -870,6 +919,20 @@ RayCluster::worker_group_spec() const { 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) +} + // ------------------------------------------------------------------- // ------------------------------------------------------------------- diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go b/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go index f19e755f85..b092b143cc 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go @@ -26,10 +26,14 @@ type RayJob struct { RayCluster *RayCluster `protobuf:"bytes,1,opt,name=ray_cluster,json=rayCluster,proto3" json:"ray_cluster,omitempty"` // runtime_env is base64 encoded. // Ray runtime environments: https://docs.ray.io/en/latest/ray-core/handling-dependencies.html#runtime-environments - RuntimeEnv string `protobuf:"bytes,2,opt,name=runtime_env,json=runtimeEnv,proto3" json:"runtime_env,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RuntimeEnv string `protobuf:"bytes,2,opt,name=runtime_env,json=runtimeEnv,proto3" json:"runtime_env,omitempty"` + // 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:"-"` } func (m *RayJob) Reset() { *m = RayJob{} } @@ -71,15 +75,31 @@ func (m *RayJob) GetRuntimeEnv() string { return "" } +func (m *RayJob) GetShutdownAfterJobFinishes() bool { + if m != nil { + return m.ShutdownAfterJobFinishes + } + return false +} + +func (m *RayJob) GetTtlSecondsAfterFinished() int32 { + if m != nil { + return m.TtlSecondsAfterFinished + } + return 0 +} + // Define Ray cluster defines the desired state of RayCluster type RayCluster struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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:"-"` } func (m *RayCluster) Reset() { *m = RayCluster{} } @@ -121,6 +141,13 @@ func (m *RayCluster) GetWorkerGroupSpec() []*WorkerGroupSpec { return nil } +func (m *RayCluster) GetEnableAutoscaling() bool { + if m != nil { + return m.EnableAutoscaling + } + return false +} + // HeadGroupSpec are the spec for the head pod type HeadGroupSpec struct { // Optional. RayStartParams are the params of the start command: address, object-store-memory. @@ -253,31 +280,37 @@ func init() { func init() { proto.RegisterFile("flyteidl/plugins/ray.proto", fileDescriptor_b980f6d58c7489d7) } var fileDescriptor_b980f6d58c7489d7 = []byte{ - // 413 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x93, 0xcd, 0xca, 0xd3, 0x40, - 0x14, 0x86, 0x49, 0x6a, 0x3f, 0xec, 0x89, 0x9f, 0xad, 0xa3, 0x8b, 0x52, 0x94, 0xb6, 0x59, 0x75, - 0x63, 0x02, 0x2d, 0x82, 0x08, 0x45, 0x54, 0x4a, 0x45, 0x50, 0x64, 0xba, 0x10, 0x04, 0x09, 0x93, - 0x74, 0x4c, 0x42, 0x93, 0x99, 0x61, 0x32, 0x69, 0x9b, 0xfb, 0xf1, 0x06, 0xdc, 0x78, 0x7d, 0x92, - 0x49, 0x4c, 0x7f, 0xa1, 0x3b, 0x77, 0xe7, 0xe7, 0x3d, 0xef, 0x99, 0x3c, 0xe1, 0xc0, 0xe0, 0x67, - 0x52, 0x28, 0x1a, 0xaf, 0x13, 0x57, 0x24, 0x79, 0x18, 0xb3, 0xcc, 0x95, 0xa4, 0x70, 0x84, 0xe4, - 0x8a, 0xa3, 0xde, 0xbf, 0x9e, 0x53, 0xf7, 0xec, 0x08, 0xee, 0x30, 0x29, 0x3e, 0x71, 0x1f, 0xcd, - 0xc1, 0x92, 0xa4, 0xf0, 0x82, 0x24, 0xcf, 0x14, 0x95, 0x7d, 0x63, 0x64, 0x4c, 0xac, 0xe9, 0x73, - 0xe7, 0x7c, 0xc2, 0xc1, 0xa4, 0xf8, 0x50, 0x69, 0x30, 0xc8, 0x26, 0x46, 0x43, 0xb0, 0x64, 0xce, - 0x54, 0x9c, 0x52, 0x8f, 0xb2, 0x6d, 0xdf, 0x1c, 0x19, 0x93, 0x0e, 0x86, 0xba, 0xb4, 0x60, 0x5b, - 0xfb, 0x97, 0x01, 0x70, 0x98, 0x45, 0x4b, 0xe8, 0x46, 0x94, 0xac, 0xbd, 0x50, 0xf2, 0x5c, 0x78, - 0x99, 0xa0, 0x41, 0xbd, 0x72, 0x78, 0xb9, 0xf2, 0x23, 0x25, 0xeb, 0x65, 0xa9, 0x5b, 0x09, 0x1a, - 0xe0, 0xfb, 0xe8, 0x38, 0x45, 0x9f, 0xe1, 0xc9, 0x8e, 0xcb, 0x0d, 0x95, 0xc7, 0x56, 0xe6, 0xa8, - 0x35, 0xb1, 0xa6, 0xe3, 0x4b, 0xab, 0x6f, 0x5a, 0x7a, 0x30, 0xeb, 0xee, 0x4e, 0x0b, 0xf6, 0x6f, - 0x03, 0xee, 0x4f, 0xf6, 0xa1, 0x1f, 0xd0, 0x2b, 0xc1, 0x64, 0x8a, 0x48, 0xe5, 0x09, 0x22, 0x49, - 0x9a, 0xf5, 0x0d, 0xed, 0x3f, 0xbb, 0xf1, 0xd4, 0x92, 0xd5, 0xaa, 0x1c, 0xfb, 0xaa, 0xa7, 0x16, - 0x4c, 0xc9, 0x02, 0x3f, 0x96, 0x27, 0xc5, 0xc1, 0x3b, 0x78, 0x7a, 0x45, 0x86, 0x7a, 0xd0, 0xda, - 0xd0, 0x42, 0x33, 0xe9, 0xe0, 0x32, 0x44, 0xcf, 0xa0, 0xbd, 0x25, 0x49, 0x4e, 0x6b, 0xb6, 0x55, - 0xf2, 0xc6, 0x7c, 0x6d, 0xd8, 0x7f, 0x4c, 0xe8, 0x9e, 0x7d, 0x18, 0x7a, 0x01, 0x50, 0xf1, 0x60, - 0x24, 0xa5, 0xb5, 0x4d, 0x47, 0x57, 0xbe, 0x90, 0x94, 0xa2, 0x01, 0x3c, 0x94, 0x54, 0x24, 0x71, - 0x40, 0x32, 0xed, 0xd7, 0xc6, 0x4d, 0x8e, 0xc6, 0xf0, 0x28, 0x8d, 0x99, 0xd7, 0xf4, 0x5b, 0xba, - 0x6f, 0xa5, 0x31, 0xc3, 0xc7, 0x12, 0xb2, 0x3f, 0x48, 0x1e, 0xd4, 0x12, 0xb2, 0x6f, 0x24, 0xde, - 0x15, 0x6c, 0x6d, 0x8d, 0xed, 0xd5, 0xcd, 0xdf, 0xf2, 0x9f, 0xc0, 0xbd, 0x7f, 0xfb, 0x7d, 0x1e, - 0xc6, 0x2a, 0xca, 0x7d, 0x27, 0xe0, 0xa9, 0xab, 0x5f, 0xc5, 0x65, 0x58, 0x05, 0x6e, 0x73, 0x47, - 0x21, 0x65, 0xae, 0xf0, 0x5f, 0x86, 0xdc, 0x3d, 0x3f, 0x2d, 0xff, 0x4e, 0xdf, 0xd5, 0xec, 0x6f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x14, 0x29, 0x8c, 0x75, 0x03, 0x00, 0x00, + // 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, } diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.validate.go index e85e27a8ac..b079e610f5 100644 --- a/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.validate.go @@ -55,6 +55,10 @@ func (m *RayJob) Validate() error { // no validation rules for RuntimeEnv + // no validation rules for ShutdownAfterJobFinishes + + // no validation rules for TtlSecondsAfterFinished + return nil } @@ -144,6 +148,8 @@ func (m *RayCluster) Validate() error { } + // no validation rules for EnableAutoscaling + return nil } diff --git a/flyteidl/gen/pb-java/flyteidl/plugins/Ray.java b/flyteidl/gen/pb-java/flyteidl/plugins/Ray.java index f035e962e8..5dd419f827 100644 --- a/flyteidl/gen/pb-java/flyteidl/plugins/Ray.java +++ b/flyteidl/gen/pb-java/flyteidl/plugins/Ray.java @@ -62,6 +62,24 @@ public interface RayJobOrBuilder extends */ 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(); } /** *
@@ -126,6 +144,16 @@ private RayJob(
               runtimeEnv_ = s;
               break;
             }
+            case 24: {
+
+              shutdownAfterJobFinishes_ = input.readBool();
+              break;
+            }
+            case 32: {
+
+              ttlSecondsAfterFinished_ = input.readInt32();
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -235,6 +263,32 @@ public java.lang.String getRuntimeEnv() {
       }
     }
 
+    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() { @@ -255,6 +309,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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); } @@ -271,6 +331,14 @@ public int getSerializedSize() { 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; @@ -293,6 +361,10 @@ public boolean equals(final java.lang.Object obj) { } 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; } @@ -310,6 +382,11 @@ public int 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; @@ -455,6 +532,10 @@ public Builder clear() { } runtimeEnv_ = ""; + shutdownAfterJobFinishes_ = false; + + ttlSecondsAfterFinished_ = 0; + return this; } @@ -487,6 +568,8 @@ public flyteidl.plugins.Ray.RayJob buildPartial() { result.rayCluster_ = rayClusterBuilder_.build(); } result.runtimeEnv_ = runtimeEnv_; + result.shutdownAfterJobFinishes_ = shutdownAfterJobFinishes_; + result.ttlSecondsAfterFinished_ = ttlSecondsAfterFinished_; onBuilt(); return result; } @@ -542,6 +625,12 @@ public Builder mergeFrom(flyteidl.plugins.Ray.RayJob other) { 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; @@ -817,6 +906,82 @@ public Builder setRuntimeEnvBytes( 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) { @@ -942,6 +1107,15 @@ public interface RayClusterOrBuilder extends */ flyteidl.plugins.Ray.WorkerGroupSpecOrBuilder getWorkerGroupSpecOrBuilder( int index); + + /** + *
+     * Whether to enable autoscaling.
+     * 
+ * + * bool enable_autoscaling = 3; + */ + boolean getEnableAutoscaling(); } /** *
@@ -1009,6 +1183,11 @@ private RayCluster(
                   input.readMessage(flyteidl.plugins.Ray.WorkerGroupSpec.parser(), extensionRegistry));
               break;
             }
+            case 24: {
+
+              enableAutoscaling_ = input.readBool();
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -1133,6 +1312,19 @@ public flyteidl.plugins.Ray.WorkerGroupSpecOrBuilder getWorkerGroupSpecOrBuilder
       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() { @@ -1153,6 +1345,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < workerGroupSpec_.size(); i++) { output.writeMessage(2, workerGroupSpec_.get(i)); } + if (enableAutoscaling_ != false) { + output.writeBool(3, enableAutoscaling_); + } unknownFields.writeTo(output); } @@ -1170,6 +1365,10 @@ public int getSerializedSize() { 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; @@ -1192,6 +1391,8 @@ public boolean equals(final java.lang.Object obj) { } if (!getWorkerGroupSpecList() .equals(other.getWorkerGroupSpecList())) return false; + if (getEnableAutoscaling() + != other.getEnableAutoscaling()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1211,6 +1412,9 @@ public int hashCode() { 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; @@ -1361,6 +1565,8 @@ public Builder clear() { } else { workerGroupSpecBuilder_.clear(); } + enableAutoscaling_ = false; + return this; } @@ -1403,6 +1609,7 @@ public flyteidl.plugins.Ray.RayCluster buildPartial() { } else { result.workerGroupSpec_ = workerGroupSpecBuilder_.build(); } + result.enableAutoscaling_ = enableAutoscaling_; result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -1481,6 +1688,9 @@ public Builder mergeFrom(flyteidl.plugins.Ray.RayCluster other) { } } } + if (other.getEnableAutoscaling() != false) { + setEnableAutoscaling(other.getEnableAutoscaling()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1975,6 +2185,44 @@ public flyteidl.plugins.Ray.WorkerGroupSpec.Builder addWorkerGroupSpecBuilder( } 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) { @@ -4108,24 +4356,26 @@ public flyteidl.plugins.Ray.WorkerGroupSpec getDefaultInstanceForType() { static { java.lang.String[] descriptorData = { "\n\032flyteidl/plugins/ray.proto\022\020flyteidl.p" + - "lugins\"P\n\006RayJob\0221\n\013ray_cluster\030\001 \001(\0132\034." + - "flyteidl.plugins.RayCluster\022\023\n\013runtime_e" + - "nv\030\002 \001(\t\"\204\001\n\nRayCluster\0228\n\017head_group_sp" + - "ec\030\001 \001(\0132\037.flyteidl.plugins.HeadGroupSpe" + - "c\022<\n\021worker_group_spec\030\002 \003(\0132!.flyteidl." + - "plugins.WorkerGroupSpec\"\225\001\n\rHeadGroupSpe" + - "c\022M\n\020ray_start_params\030\001 \003(\01323.flyteidl.p" + - "lugins.HeadGroupSpec.RayStartParamsEntry" + - "\0325\n\023RayStartParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + - "value\030\002 \001(\t:\0028\001\"\353\001\n\017WorkerGroupSpec\022\022\n\ng" + - "roup_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.plugi" + - "ns.WorkerGroupSpec.RayStartParamsEntry\0325" + - "\n\023RayStartParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001B?Z=github.com/flyteorg/fly" + - "te/flyteidl/gen/pb-go/flyteidl/pluginsb\006" + - "proto3" + "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() { @@ -4144,13 +4394,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_plugins_RayJob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_plugins_RayJob_descriptor, - new java.lang.String[] { "RayCluster", "RuntimeEnv", }); + 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", }); + new java.lang.String[] { "HeadGroupSpec", "WorkerGroupSpec", "EnableAutoscaling", }); internal_static_flyteidl_plugins_HeadGroupSpec_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_flyteidl_plugins_HeadGroupSpec_fieldAccessorTable = new diff --git a/flyteidl/gen/pb_python/flyteidl/plugins/ray_pb2.py b/flyteidl/gen/pb_python/flyteidl/plugins/ray_pb2.py index 08c33c782c..1c5de3b666 100644 --- a/flyteidl/gen/pb_python/flyteidl/plugins/ray_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/plugins/ray_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x66lyteidl/plugins/ray.proto\x12\x10\x66lyteidl.plugins\"h\n\x06RayJob\x12=\n\x0bray_cluster\x18\x01 \x01(\x0b\x32\x1c.flyteidl.plugins.RayClusterR\nrayCluster\x12\x1f\n\x0bruntime_env\x18\x02 \x01(\tR\nruntimeEnv\"\xa4\x01\n\nRayCluster\x12G\n\x0fhead_group_spec\x18\x01 \x01(\x0b\x32\x1f.flyteidl.plugins.HeadGroupSpecR\rheadGroupSpec\x12M\n\x11worker_group_spec\x18\x02 \x03(\x0b\x32!.flyteidl.plugins.WorkerGroupSpecR\x0fworkerGroupSpec\"\xb1\x01\n\rHeadGroupSpec\x12]\n\x10ray_start_params\x18\x01 \x03(\x0b\x32\x33.flyteidl.plugins.HeadGroupSpec.RayStartParamsEntryR\x0erayStartParams\x1a\x41\n\x13RayStartParamsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xb6\x02\n\x0fWorkerGroupSpec\x12\x1d\n\ngroup_name\x18\x01 \x01(\tR\tgroupName\x12\x1a\n\x08replicas\x18\x02 \x01(\x05R\x08replicas\x12!\n\x0cmin_replicas\x18\x03 \x01(\x05R\x0bminReplicas\x12!\n\x0cmax_replicas\x18\x04 \x01(\x05R\x0bmaxReplicas\x12_\n\x10ray_start_params\x18\x05 \x03(\x0b\x32\x35.flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntryR\x0erayStartParams\x1a\x41\n\x13RayStartParamsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\xc0\x01\n\x14\x63om.flyteidl.pluginsB\x08RayProtoP\x01Z=github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/plugins\xa2\x02\x03\x46PX\xaa\x02\x10\x46lyteidl.Plugins\xca\x02\x10\x46lyteidl\\Plugins\xe2\x02\x1c\x46lyteidl\\Plugins\\GPBMetadata\xea\x02\x11\x46lyteidl::Pluginsb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x66lyteidl/plugins/ray.proto\x12\x10\x66lyteidl.plugins\"\xe4\x01\n\x06RayJob\x12=\n\x0bray_cluster\x18\x01 \x01(\x0b\x32\x1c.flyteidl.plugins.RayClusterR\nrayCluster\x12\x1f\n\x0bruntime_env\x18\x02 \x01(\tR\nruntimeEnv\x12=\n\x1bshutdown_after_job_finishes\x18\x03 \x01(\x08R\x18shutdownAfterJobFinishes\x12;\n\x1attl_seconds_after_finished\x18\x04 \x01(\x05R\x17ttlSecondsAfterFinished\"\xd3\x01\n\nRayCluster\x12G\n\x0fhead_group_spec\x18\x01 \x01(\x0b\x32\x1f.flyteidl.plugins.HeadGroupSpecR\rheadGroupSpec\x12M\n\x11worker_group_spec\x18\x02 \x03(\x0b\x32!.flyteidl.plugins.WorkerGroupSpecR\x0fworkerGroupSpec\x12-\n\x12\x65nable_autoscaling\x18\x03 \x01(\x08R\x11\x65nableAutoscaling\"\xb1\x01\n\rHeadGroupSpec\x12]\n\x10ray_start_params\x18\x01 \x03(\x0b\x32\x33.flyteidl.plugins.HeadGroupSpec.RayStartParamsEntryR\x0erayStartParams\x1a\x41\n\x13RayStartParamsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xb6\x02\n\x0fWorkerGroupSpec\x12\x1d\n\ngroup_name\x18\x01 \x01(\tR\tgroupName\x12\x1a\n\x08replicas\x18\x02 \x01(\x05R\x08replicas\x12!\n\x0cmin_replicas\x18\x03 \x01(\x05R\x0bminReplicas\x12!\n\x0cmax_replicas\x18\x04 \x01(\x05R\x0bmaxReplicas\x12_\n\x10ray_start_params\x18\x05 \x03(\x0b\x32\x35.flyteidl.plugins.WorkerGroupSpec.RayStartParamsEntryR\x0erayStartParams\x1a\x41\n\x13RayStartParamsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\xc0\x01\n\x14\x63om.flyteidl.pluginsB\x08RayProtoP\x01Z=github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/plugins\xa2\x02\x03\x46PX\xaa\x02\x10\x46lyteidl.Plugins\xca\x02\x10\x46lyteidl\\Plugins\xe2\x02\x1c\x46lyteidl\\Plugins\\GPBMetadata\xea\x02\x11\x46lyteidl::Pluginsb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,16 +26,16 @@ _HEADGROUPSPEC_RAYSTARTPARAMSENTRY._serialized_options = b'8\001' _WORKERGROUPSPEC_RAYSTARTPARAMSENTRY._options = None _WORKERGROUPSPEC_RAYSTARTPARAMSENTRY._serialized_options = b'8\001' - _globals['_RAYJOB']._serialized_start=48 - _globals['_RAYJOB']._serialized_end=152 - _globals['_RAYCLUSTER']._serialized_start=155 - _globals['_RAYCLUSTER']._serialized_end=319 - _globals['_HEADGROUPSPEC']._serialized_start=322 - _globals['_HEADGROUPSPEC']._serialized_end=499 - _globals['_HEADGROUPSPEC_RAYSTARTPARAMSENTRY']._serialized_start=434 - _globals['_HEADGROUPSPEC_RAYSTARTPARAMSENTRY']._serialized_end=499 - _globals['_WORKERGROUPSPEC']._serialized_start=502 - _globals['_WORKERGROUPSPEC']._serialized_end=812 - _globals['_WORKERGROUPSPEC_RAYSTARTPARAMSENTRY']._serialized_start=434 - _globals['_WORKERGROUPSPEC_RAYSTARTPARAMSENTRY']._serialized_end=499 + _globals['_RAYJOB']._serialized_start=49 + _globals['_RAYJOB']._serialized_end=277 + _globals['_RAYCLUSTER']._serialized_start=280 + _globals['_RAYCLUSTER']._serialized_end=491 + _globals['_HEADGROUPSPEC']._serialized_start=494 + _globals['_HEADGROUPSPEC']._serialized_end=671 + _globals['_HEADGROUPSPEC_RAYSTARTPARAMSENTRY']._serialized_start=606 + _globals['_HEADGROUPSPEC_RAYSTARTPARAMSENTRY']._serialized_end=671 + _globals['_WORKERGROUPSPEC']._serialized_start=674 + _globals['_WORKERGROUPSPEC']._serialized_end=984 + _globals['_WORKERGROUPSPEC_RAYSTARTPARAMSENTRY']._serialized_start=606 + _globals['_WORKERGROUPSPEC_RAYSTARTPARAMSENTRY']._serialized_end=671 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/plugins/ray_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/plugins/ray_pb2.pyi index 16b67e478a..15c78912bd 100644 --- a/flyteidl/gen/pb_python/flyteidl/plugins/ray_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/plugins/ray_pb2.pyi @@ -6,20 +6,26 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class RayJob(_message.Message): - __slots__ = ["ray_cluster", "runtime_env"] + __slots__ = ["ray_cluster", "runtime_env", "shutdown_after_job_finishes", "ttl_seconds_after_finished"] RAY_CLUSTER_FIELD_NUMBER: _ClassVar[int] RUNTIME_ENV_FIELD_NUMBER: _ClassVar[int] + SHUTDOWN_AFTER_JOB_FINISHES_FIELD_NUMBER: _ClassVar[int] + TTL_SECONDS_AFTER_FINISHED_FIELD_NUMBER: _ClassVar[int] ray_cluster: RayCluster runtime_env: str - def __init__(self, ray_cluster: _Optional[_Union[RayCluster, _Mapping]] = ..., runtime_env: _Optional[str] = ...) -> None: ... + shutdown_after_job_finishes: bool + ttl_seconds_after_finished: int + def __init__(self, ray_cluster: _Optional[_Union[RayCluster, _Mapping]] = ..., runtime_env: _Optional[str] = ..., shutdown_after_job_finishes: bool = ..., ttl_seconds_after_finished: _Optional[int] = ...) -> None: ... class RayCluster(_message.Message): - __slots__ = ["head_group_spec", "worker_group_spec"] + __slots__ = ["head_group_spec", "worker_group_spec", "enable_autoscaling"] HEAD_GROUP_SPEC_FIELD_NUMBER: _ClassVar[int] WORKER_GROUP_SPEC_FIELD_NUMBER: _ClassVar[int] + ENABLE_AUTOSCALING_FIELD_NUMBER: _ClassVar[int] head_group_spec: HeadGroupSpec worker_group_spec: _containers.RepeatedCompositeFieldContainer[WorkerGroupSpec] - def __init__(self, head_group_spec: _Optional[_Union[HeadGroupSpec, _Mapping]] = ..., worker_group_spec: _Optional[_Iterable[_Union[WorkerGroupSpec, _Mapping]]] = ...) -> None: ... + enable_autoscaling: bool + def __init__(self, head_group_spec: _Optional[_Union[HeadGroupSpec, _Mapping]] = ..., worker_group_spec: _Optional[_Iterable[_Union[WorkerGroupSpec, _Mapping]]] = ..., enable_autoscaling: bool = ...) -> None: ... class HeadGroupSpec(_message.Message): __slots__ = ["ray_start_params"] diff --git a/flyteidl/gen/pb_rust/flyteidl.plugins.rs b/flyteidl/gen/pb_rust/flyteidl.plugins.rs index 11e4ad05af..bfed40f1a8 100644 --- a/flyteidl/gen/pb_rust/flyteidl.plugins.rs +++ b/flyteidl/gen/pb_rust/flyteidl.plugins.rs @@ -175,6 +175,12 @@ pub struct RayJob { /// Ray runtime environments: #[prost(string, tag="2")] pub runtime_env: ::prost::alloc::string::String, + /// shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes. + #[prost(bool, tag="3")] + pub shutdown_after_job_finishes: bool, + /// ttl_seconds_after_finished specifies the number of seconds after which the RayCluster will be deleted after the RayJob finishes. + #[prost(int32, tag="4")] + pub ttl_seconds_after_finished: i32, } /// Define Ray cluster defines the desired state of RayCluster #[allow(clippy::derive_partial_eq_without_eq)] @@ -186,6 +192,9 @@ pub struct RayCluster { /// WorkerGroupSpecs are the specs for the worker pods #[prost(message, repeated, tag="2")] pub worker_group_spec: ::prost::alloc::vec::Vec, + /// Whether to enable autoscaling. + #[prost(bool, tag="3")] + pub enable_autoscaling: bool, } /// HeadGroupSpec are the spec for the head pod #[allow(clippy::derive_partial_eq_without_eq)] diff --git a/flyteidl/protos/flyteidl/plugins/ray.proto b/flyteidl/protos/flyteidl/plugins/ray.proto index 1f80a4b4f3..1afcee8d93 100644 --- a/flyteidl/protos/flyteidl/plugins/ray.proto +++ b/flyteidl/protos/flyteidl/plugins/ray.proto @@ -11,6 +11,10 @@ message RayJob { // 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; + // shutdown_after_job_finishes specifies whether the RayCluster should be deleted after the RayJob finishes. + bool shutdown_after_job_finishes = 3; + // 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; } // Define Ray cluster defines the desired state of RayCluster @@ -19,6 +23,8 @@ message RayCluster { HeadGroupSpec head_group_spec = 1; // WorkerGroupSpecs are the specs for the worker pods repeated WorkerGroupSpec worker_group_spec = 2; + // Whether to enable autoscaling. + bool enable_autoscaling = 3; } // HeadGroupSpec are the spec for the head pod diff --git a/flyteplugins/go/tasks/plugins/k8s/ray/ray.go b/flyteplugins/go/tasks/plugins/k8s/ray/ray.go index 50a9c76094..f6abb58c93 100644 --- a/flyteplugins/go/tasks/plugins/k8s/ray/ray.go +++ b/flyteplugins/go/tasks/plugins/k8s/ray/ray.go @@ -46,8 +46,7 @@ var logTemplateRegexes = struct { tasklog.MustCreateRegex("rayJobID"), } -type rayJobResourceHandler struct { -} +type rayJobResourceHandler struct{} func (rayJobResourceHandler) GetProperties() k8s.PluginProperties { return k8s.PluginProperties{} @@ -128,7 +127,8 @@ func (rayJobResourceHandler) BuildResource(ctx context.Context, taskCtx pluginsC EnableIngress: &enableIngress, RayStartParams: headNodeRayStartParams, }, - WorkerGroupSpecs: []rayv1alpha1.WorkerGroupSpec{}, + WorkerGroupSpecs: []rayv1alpha1.WorkerGroupSpec{}, + EnableInTreeAutoscaling: &rayJob.RayCluster.EnableAutoscaling, } for _, spec := range rayJob.RayCluster.WorkerGroupSpec { @@ -140,16 +140,6 @@ func (rayJobResourceHandler) BuildResource(ctx context.Context, taskCtx pluginsC taskCtx, ) - minReplicas := spec.Replicas - maxReplicas := spec.Replicas - if spec.MinReplicas != 0 { - minReplicas = spec.MinReplicas - } - - if spec.MaxReplicas != 0 { - maxReplicas = spec.MaxReplicas - } - workerNodeRayStartParams := make(map[string]string) if spec.RayStartParams != nil { workerNodeRayStartParams = spec.RayStartParams @@ -165,6 +155,15 @@ func (rayJobResourceHandler) BuildResource(ctx context.Context, taskCtx pluginsC workerNodeRayStartParams[DisableUsageStatsStartParameter] = "true" } + minReplicas := spec.MinReplicas + if minReplicas > spec.Replicas { + minReplicas = spec.Replicas + } + maxReplicas := spec.MaxReplicas + if maxReplicas < spec.Replicas { + maxReplicas = spec.Replicas + } + workerNodeSpec := rayv1alpha1.WorkerGroupSpec{ GroupName: spec.GroupName, MinReplicas: &minReplicas, @@ -184,11 +183,18 @@ func (rayJobResourceHandler) BuildResource(ctx context.Context, taskCtx pluginsC rayClusterSpec.WorkerGroupSpecs[index].Template.Spec.ServiceAccountName = serviceAccountName } + shutdownAfterJobFinishes := cfg.ShutdownAfterJobFinishes + ttlSecondsAfterFinished := &cfg.TTLSecondsAfterFinished + if rayJob.ShutdownAfterJobFinishes { + shutdownAfterJobFinishes = true + ttlSecondsAfterFinished = &rayJob.TtlSecondsAfterFinished + } + jobSpec := rayv1alpha1.RayJobSpec{ RayClusterSpec: rayClusterSpec, Entrypoint: strings.Join(primaryContainer.Args, " "), - ShutdownAfterJobFinishes: cfg.ShutdownAfterJobFinishes, - TTLSecondsAfterFinished: &cfg.TTLSecondsAfterFinished, + ShutdownAfterJobFinishes: shutdownAfterJobFinishes, + TTLSecondsAfterFinished: ttlSecondsAfterFinished, RuntimeEnv: rayJob.RuntimeEnv, } diff --git a/flyteplugins/go/tasks/plugins/k8s/ray/ray_test.go b/flyteplugins/go/tasks/plugins/k8s/ray/ray_test.go index 64700957c9..b171ae9aa8 100644 --- a/flyteplugins/go/tasks/plugins/k8s/ray/ray_test.go +++ b/flyteplugins/go/tasks/plugins/k8s/ray/ray_test.go @@ -28,8 +28,10 @@ import ( "github.com/flyteorg/flyte/flyteplugins/go/tasks/pluginmachinery/utils" ) -const testImage = "image://" -const serviceAccount = "ray_sa" +const ( + testImage = "image://" + serviceAccount = "ray_sa" +) var ( dummyEnvVars = []*core.KeyValuePair{ @@ -79,9 +81,12 @@ func transformPodSpecToTaskTemplateTarget(podSpec *corev1.PodSpec) *core.TaskTem func dummyRayCustomObj() *plugins.RayJob { return &plugins.RayJob{ RayCluster: &plugins.RayCluster{ - HeadGroupSpec: &plugins.HeadGroupSpec{RayStartParams: map[string]string{"num-cpus": "1"}}, - WorkerGroupSpec: []*plugins.WorkerGroupSpec{{GroupName: workerGroupName, Replicas: 3}}, + HeadGroupSpec: &plugins.HeadGroupSpec{RayStartParams: map[string]string{"num-cpus": "1"}}, + WorkerGroupSpec: []*plugins.WorkerGroupSpec{{GroupName: workerGroupName, Replicas: 3, MinReplicas: 3, MaxReplicas: 3}}, + EnableAutoscaling: true, }, + ShutdownAfterJobFinishes: true, + TtlSecondsAfterFinished: 120, } } @@ -176,21 +181,26 @@ func TestBuildResourceRay(t *testing.T) { ray, ok := RayResource.(*rayv1alpha1.RayJob) assert.True(t, ok) + assert.Equal(t, *ray.Spec.RayClusterSpec.EnableInTreeAutoscaling, true) + assert.Equal(t, ray.Spec.ShutdownAfterJobFinishes, true) + assert.Equal(t, *ray.Spec.TTLSecondsAfterFinished, int32(120)) + headReplica := int32(1) - assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.Replicas, &headReplica) + assert.Equal(t, *ray.Spec.RayClusterSpec.HeadGroupSpec.Replicas, headReplica) assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.ServiceAccountName, serviceAccount) assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.RayStartParams, map[string]string{ "dashboard-host": "0.0.0.0", "disable-usage-stats": "true", "include-dashboard": "true", - "node-ip-address": "$MY_POD_IP", "num-cpus": "1"}) + "node-ip-address": "$MY_POD_IP", "num-cpus": "1", + }) assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.Template.Annotations, map[string]string{"annotation-1": "val1"}) assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.Template.Labels, map[string]string{"label-1": "val1"}) assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.Tolerations, toleration) workerReplica := int32(3) - assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].Replicas, &workerReplica) - assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].MinReplicas, &workerReplica) - assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].MaxReplicas, &workerReplica) + assert.Equal(t, *ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].Replicas, workerReplica) + assert.Equal(t, *ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].MinReplicas, workerReplica) + assert.Equal(t, *ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].MaxReplicas, workerReplica) assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].GroupName, workerGroupName) assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].Template.Spec.ServiceAccountName, serviceAccount) assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].RayStartParams, map[string]string{"disable-usage-stats": "true", "node-ip-address": "$MY_POD_IP"}) @@ -230,7 +240,7 @@ func TestBuildResourceRayExtendedResources(t *testing.T) { []corev1.NodeSelectorTerm{ { MatchExpressions: []corev1.NodeSelectorRequirement{ - corev1.NodeSelectorRequirement{ + { Key: "gpu-node-label", Operator: corev1.NodeSelectorOpIn, Values: []string{"nvidia-tesla-t4"}, @@ -270,12 +280,12 @@ func TestBuildResourceRayExtendedResources(t *testing.T) { []corev1.NodeSelectorTerm{ { MatchExpressions: []corev1.NodeSelectorRequirement{ - corev1.NodeSelectorRequirement{ + { Key: "gpu-node-label", Operator: corev1.NodeSelectorOpIn, Values: []string{"nvidia-tesla-a100"}, }, - corev1.NodeSelectorRequirement{ + { Key: "gpu-partition-size", Operator: corev1.NodeSelectorOpIn, Values: []string{"1g.5gb"}, @@ -345,9 +355,12 @@ func TestDefaultStartParameters(t *testing.T) { rayJobResourceHandler := rayJobResourceHandler{} rayJob := &plugins.RayJob{ RayCluster: &plugins.RayCluster{ - HeadGroupSpec: &plugins.HeadGroupSpec{}, - WorkerGroupSpec: []*plugins.WorkerGroupSpec{{GroupName: workerGroupName, Replicas: 3}}, + HeadGroupSpec: &plugins.HeadGroupSpec{}, + WorkerGroupSpec: []*plugins.WorkerGroupSpec{{GroupName: workerGroupName, Replicas: 3, MinReplicas: 3, MaxReplicas: 3}}, + EnableAutoscaling: true, }, + ShutdownAfterJobFinishes: true, + TtlSecondsAfterFinished: 120, } taskTemplate := dummyRayTaskTemplate("ray-id", rayJob) @@ -367,21 +380,26 @@ func TestDefaultStartParameters(t *testing.T) { ray, ok := RayResource.(*rayv1alpha1.RayJob) assert.True(t, ok) + assert.Equal(t, *ray.Spec.RayClusterSpec.EnableInTreeAutoscaling, true) + assert.Equal(t, ray.Spec.ShutdownAfterJobFinishes, true) + assert.Equal(t, *ray.Spec.TTLSecondsAfterFinished, int32(120)) + headReplica := int32(1) - assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.Replicas, &headReplica) + assert.Equal(t, *ray.Spec.RayClusterSpec.HeadGroupSpec.Replicas, headReplica) assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.ServiceAccountName, serviceAccount) assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.RayStartParams, map[string]string{ "dashboard-host": "0.0.0.0", "disable-usage-stats": "true", "include-dashboard": "true", - "node-ip-address": "$MY_POD_IP"}) + "node-ip-address": "$MY_POD_IP", + }) assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.Template.Annotations, map[string]string{"annotation-1": "val1"}) assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.Template.Labels, map[string]string{"label-1": "val1"}) assert.Equal(t, ray.Spec.RayClusterSpec.HeadGroupSpec.Template.Spec.Tolerations, toleration) workerReplica := int32(3) - assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].Replicas, &workerReplica) - assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].MinReplicas, &workerReplica) - assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].MaxReplicas, &workerReplica) + assert.Equal(t, *ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].Replicas, workerReplica) + assert.Equal(t, *ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].MinReplicas, workerReplica) + assert.Equal(t, *ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].MaxReplicas, workerReplica) assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].GroupName, workerGroupName) assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].Template.Spec.ServiceAccountName, serviceAccount) assert.Equal(t, ray.Spec.RayClusterSpec.WorkerGroupSpecs[0].RayStartParams, map[string]string{"disable-usage-stats": "true", "node-ip-address": "$MY_POD_IP"}) From 4a7c3c0040b1995a43939407b99ca3e87b1eb752 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Wed, 27 Dec 2023 08:48:03 +0800 Subject: [PATCH 05/16] Artifact protos and related changes (#4474) * use-personal * tidy * update port to 30004 Signed-off-by: Yee Hing Tong * Artifacts bundle (#7) * Remove private repos (#4078) Signed-off-by: Yee Hing Tong * nit from monorepo merge Signed-off-by: Yee Hing Tong * Artifacts bring in idl (#4204) Signed-off-by: Yee Hing Tong * Artifacts bring admin monorepo (#4203) Main pr to bring in the boilerplate code for artifact service into the main pr. Signed-off-by: Yee Hing Tong Signed-off-by: Kevin Su Signed-off-by: Eduardo Apolinario * Artf/triggers (#4394) This PR adds the trigger concept. Other changes: * Forgot to make the index on artifactkey unique. * Fix to create artifact, it wasn't pulling back out the artifact key. * Updated the Artifact service to handle the passing of artifacts created by the events processor to the trigger handling components. Currently, and this is potentially a design flaw, the events processor has no way of contacting the trigger component directly. Signed-off-by: Yee Hing Tong * make trigger key index unique (#4410) Signed-off-by: Yee Hing Tong * revert data proxy changes (#4411) Signed-off-by: Yee Hing Tong * artf/ fix issue with trigger (#4412) Signed-off-by: Yee Hing Tong * sandbox lite dockerfile (#4413) Signed-off-by: Yee Hing Tong * More pgconn handling fixes (#4420) Signed-off-by: Yee Hing Tong * Artf/switch event (#4428) Most of the changes here are generated proto changes. Actual code changes are: IDL * Remove the supplemental fields in the CloudEventTaskExecution object and move them to CloudEventNodeExecution object. * Remove some fields that the artifact service ended up not using (parent_node_execution and scheduled_at) in the cloudevent publisher, change the code filling in of the aforementioned supplemental information to happen for node execution events instead of task execution events. * Remove the deleted fields. On the event handling side, move the logic to the handling of the node event instead of the task event. Signed-off-by: Yee Hing Tong * Artf/lints (#4429) * lint fixes * rename sandbox_utils without underscore Signed-off-by: Yee Hing Tong * look for other places where pgconn is cast and add handling (#4430) Add additional handling of pgconn * Change datacatalog logic to use flytestdlib function instead. * Change flytestdlib constants to capitalize * Add handling of the other type to Admin code directly Signed-off-by: Yee Hing Tong * add artifacts branch to buf push (#4448) Signed-off-by: squiishyy * add dummy comment (#4451) Signed-off-by: squiishyy * add dummy comment again (#4453) Signed-off-by: squiishyy * artf/updates to source (#4443) Signed-off-by: Yee Hing Tong * add a feature gate (#4472) Signed-off-by: Yee Hing Tong * fix bug in execution_manager with lpExpectedInputs, remove the standalone artifact client and move into idl clientset, update local config file, remove a deprecated function (#4473) Signed-off-by: Yee Hing Tong * initial deletion of artifact code Signed-off-by: Yee Hing Tong * running make manifests in docker/sandbox-bundled to update generated files Signed-off-by: Yee Hing Tong * now compiles (#4481) Signed-off-by: Yee Hing Tong * add a debug line Signed-off-by: Yee Hing Tong * more debugging Signed-off-by: Yee Hing Tong * clean up go mod and switch the order of the input extraction to check for uri first Signed-off-by: Yee Hing Tong * change artifacts http mappings in protos Signed-off-by: squiishyy * testing removal of go mod pin Signed-off-by: Yee Hing Tong * update go mod some more Signed-off-by: Yee Hing Tong * copilot go mod Signed-off-by: Yee Hing Tong * change artifacts http mappings again (#4562) Signed-off-by: squiishyy * panic and revert gorm log level change Signed-off-by: Yee Hing Tong * revert local to 5 Signed-off-by: Yee Hing Tong * make helm Signed-off-by: Yee Hing Tong * Reclaim space prior to running functional tests in single-binary Signed-off-by: Eduardo Apolinario * Pin flytectl version to 0.8.0 Signed-off-by: Eduardo Apolinario * Revert "Pin flytectl version to 0.8.0" This reverts commit cfa4745af8a7b9b576eb29fafdbf448d811dde93. Signed-off-by: Eduardo Apolinario * Use flytagent v1.10.2 Signed-off-by: Eduardo Apolinario * Debug single-binary Signed-off-by: Eduardo Apolinario * Use an infinite loop instead of watch (term env var is not set) Signed-off-by: Eduardo Apolinario * Get logs from single-binary pod Signed-off-by: Eduardo Apolinario * Debug single-binary pod: use a different way of choosing the pod Signed-off-by: Eduardo Apolinario * Fix flytectl version Signed-off-by: Eduardo Apolinario * Use port 5432 to connect to postgres Signed-off-by: Eduardo Apolinario * Revert "Use port 5432 to connect to postgres" This reverts commit 8ded67be1e1d082f69bc898fb46fa6ac1a8e5b7f. Signed-off-by: Eduardo Apolinario * Revert "Fix flytectl version" This reverts commit 3968d4018ff9b70ed85b9184c96693bcecc07391. Signed-off-by: Eduardo Apolinario * fix database error Signed-off-by: Yee Hing Tong * revert .github/workflows/single-binary.yml by pulling from master Signed-off-by: Yee Hing Tong * Review feedback Signed-off-by: Eduardo Apolinario --------- Signed-off-by: Yee Hing Tong Signed-off-by: Kevin Su Signed-off-by: Eduardo Apolinario Signed-off-by: squiishyy Co-authored-by: Joe Eschen <126913098+squiishyy@users.noreply.github.com> Co-authored-by: squiishyy Co-authored-by: Eduardo Apolinario Co-authored-by: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> --- .github/workflows/flyteidl-buf-publish.yml | 1 + charts/flyte-sandbox/Chart.lock | 2 +- charts/flyte-sandbox/README.md | 2 +- charts/flyte-sandbox/values.yaml | 2 +- charts/flyteagent/README.md | 2 +- charts/flyteagent/values.yaml | 2 +- datacatalog/go.mod | 20 +- datacatalog/go.sum | 81 +- .../pkg/repositories/errors/postgres.go | 6 + datacatalog/pkg/repositories/handle.go | 2 +- datacatalog/pkg/repositories/initialize.go | 23 +- .../agent/flyte_agent_helm_generated.yaml | 2 +- .../manifests/complete-agent.yaml | 10 +- .../sandbox-bundled/manifests/complete.yaml | 8 +- docker/sandbox-bundled/manifests/dev.yaml | 4 +- flyte-single-binary-local.yaml | 19 +- flyteadmin/cmd/entrypoints/root.go | 2 +- flyteadmin/cmd/scheduler/entrypoints/root.go | 2 +- flyteadmin/go.mod | 20 +- flyteadmin/go.sum | 96 +- flyteadmin/pkg/artifacts/registry.go | 101 + flyteadmin/pkg/artifacts/registry_test.go | 29 + flyteadmin/pkg/async/cloudevent/factory.go | 56 +- .../pkg/async/cloudevent/factory_test.go | 50 +- .../implementations/cloudevent_publisher.go | 430 +- flyteadmin/pkg/common/flyte_url.go | 17 + .../manager/impl/exec_manager_other_test.go | 65 + .../pkg/manager/impl/execution_manager.go | 355 +- .../manager/impl/execution_manager_test.go | 150 +- .../pkg/manager/impl/launch_plan_manager.go | 49 +- .../manager/impl/launch_plan_manager_test.go | 65 +- .../manager/impl/node_execution_manager.go | 3 +- .../manager/impl/task_execution_manager.go | 6 +- flyteadmin/pkg/manager/impl/task_manager.go | 40 +- .../pkg/manager/impl/task_manager_test.go | 23 +- .../impl/validation/launch_plan_validator.go | 10 +- .../pkg/manager/impl/validation/validation.go | 20 +- .../pkg/manager/impl/workflow_manager.go | 50 +- .../pkg/manager/impl/workflow_manager_test.go | 31 +- flyteadmin/pkg/repositories/database.go | 19 +- flyteadmin/pkg/repositories/database_test.go | 92 - .../pkg/repositories/errors/postgres.go | 25 +- .../pkg/repositories/errors/postgres_test.go | 20 + .../gormimpl/project_repo_test.go | 2 +- flyteadmin/pkg/rpc/adminservice/base.go | 24 +- .../interfaces/application_configuration.go | 19 + .../interfaces/cloudeventversion_enumer.go | 84 + flytecopilot/go.sum | 4 +- flyteidl/clients/go/admin/client.go | 17 +- .../go/admin/mocks/isGetDataRequest_Query.go | 15 + .../gen/pb-cpp/flyteidl/admin/agent.pb.cc | 2 +- .../gen/pb-cpp/flyteidl/admin/execution.pb.cc | 329 +- .../gen/pb-cpp/flyteidl/admin/execution.pb.h | 41 + .../pb-cpp/flyteidl/admin/launch_plan.pb.cc | 214 +- .../pb-cpp/flyteidl/admin/launch_plan.pb.h | 56 + .../flyteidl/admin/node_execution.pb.cc | 2 +- .../gen/pb-cpp/flyteidl/admin/signal.pb.cc | 2 +- .../flyteidl/admin/task_execution.pb.cc | 2 +- .../flyteidl/artifact/artifacts.grpc.pb.cc | 463 + .../flyteidl/artifact/artifacts.grpc.pb.h | 1704 ++ .../pb-cpp/flyteidl/artifact/artifacts.pb.cc | 9792 ++++++++ .../pb-cpp/flyteidl/artifact/artifacts.pb.h | 5605 +++++ .../flyteidl/core/artifact_id.grpc.pb.cc | 24 + .../flyteidl/core/artifact_id.grpc.pb.h | 47 + .../pb-cpp/flyteidl/core/artifact_id.pb.cc | 4252 ++++ .../gen/pb-cpp/flyteidl/core/artifact_id.pb.h | 2573 ++ .../gen/pb-cpp/flyteidl/core/condition.pb.cc | 2 +- .../gen/pb-cpp/flyteidl/core/interface.pb.cc | 408 +- .../gen/pb-cpp/flyteidl/core/interface.pb.h | 205 + .../gen/pb-cpp/flyteidl/core/literals.pb.cc | 335 +- .../gen/pb-cpp/flyteidl/core/literals.pb.h | 88 +- .../flyteidl/datacatalog/datacatalog.pb.cc | 2 +- .../flyteidl/event/cloudevents.grpc.pb.cc | 24 + .../flyteidl/event/cloudevents.grpc.pb.h | 47 + .../pb-cpp/flyteidl/event/cloudevents.pb.cc | 2812 +++ .../pb-cpp/flyteidl/event/cloudevents.pb.h | 1841 ++ .../gen/pb-cpp/flyteidl/event/event.pb.cc | 2 +- .../pb-cpp/flyteidl/service/dataproxy.pb.cc | 2 +- .../service/external_plugin_service.pb.cc | 2 +- .../gen/pb-go/flyteidl/admin/execution.pb.go | 250 +- .../flyteidl/admin/execution.pb.validate.go | 15 + .../pb-go/flyteidl/admin/launch_plan.pb.go | 166 +- .../flyteidl/admin/launch_plan.pb.validate.go | 10 + .../pb-go/flyteidl/artifact/artifacts.pb.go | 1762 ++ .../flyteidl/artifact/artifacts.pb.gw.go | 636 + .../artifact/artifacts.pb.validate.go | 1984 ++ .../flyteidl/artifact/artifacts.swagger.json | 2117 ++ .../gen/pb-go/flyteidl/core/artifact_id.pb.go | 665 + .../flyteidl/core/artifact_id.pb.validate.go | 798 + .../flyteidl/core/artifact_id.swagger.json | 19 + .../gen/pb-go/flyteidl/core/interface.pb.go | 119 +- .../flyteidl/core/interface.pb.validate.go | 44 + .../gen/pb-go/flyteidl/core/literals.pb.go | 156 +- .../flyteidl/core/literals.pb.validate.go | 2 + .../pb-go/flyteidl/event/cloudevents.pb.go | 402 + .../flyteidl/event/cloudevents.pb.validate.go | 517 + .../flyteidl/event/cloudevents.swagger.json | 19 + .../pb-go/flyteidl/service/admin.swagger.json | 156 + .../pb-go/flyteidl/service/agent.swagger.json | 104 + .../flyteidl/service/dataproxy.swagger.json | 7 + .../external_plugin_service.swagger.json | 104 + .../flyteidl/service/flyteadmin/README.md | 9 + .../service/flyteadmin/api/swagger.yaml | 6245 ++++- .../model_admin_execution_metadata.go | 2 + .../model_admin_launch_plan_metadata.go | 1 + .../model_core_artifact_binding_data.go | 16 + .../flyteadmin/model_core_artifact_id.go | 16 + .../flyteadmin/model_core_artifact_key.go | 17 + .../flyteadmin/model_core_artifact_query.go | 18 + .../flyteadmin/model_core_artifact_tag.go | 15 + .../model_core_input_binding_data.go | 14 + .../flyteadmin/model_core_label_value.go | 16 + .../service/flyteadmin/model_core_literal.go | 2 + .../flyteadmin/model_core_parameter.go | 3 + .../flyteadmin/model_core_partitions.go | 14 + .../service/flyteadmin/model_core_variable.go | 3 + .../service/flyteadmin/model_protobuf_any.go | 18 + .../gen/pb-go/flyteidl/service/openapi.go | 4 +- .../flyteidl/service/signal.swagger.json | 7 + .../flyteidl/admin/ExecutionOuterClass.java | 738 +- .../flyteidl/admin/LaunchPlanOuterClass.java | 368 +- .../pb-java/flyteidl/artifact/Artifacts.java | 20259 ++++++++++++++++ .../gen/pb-java/flyteidl/core/ArtifactId.java | 8575 +++++++ .../gen/pb-java/flyteidl/core/Interface.java | 1020 +- .../gen/pb-java/flyteidl/core/Literals.java | 446 +- .../pb-java/flyteidl/event/Cloudevents.java | 7563 ++++++ flyteidl/gen/pb-js/flyteidl.d.ts | 1161 +- flyteidl/gen/pb-js/flyteidl.js | 12167 ++++++---- .../pb_python/flyteidl/admin/execution_pb2.py | 103 +- .../flyteidl/admin/execution_pb2.pyi | 7 +- .../flyteidl/admin/launch_plan_pb2.py | 55 +- .../flyteidl/admin/launch_plan_pb2.pyi | 7 +- .../pb_python/flyteidl/artifact/__init__.py | 0 .../flyteidl/artifact/artifacts_pb2.py | 96 + .../flyteidl/artifact/artifacts_pb2.pyi | 225 + .../flyteidl/artifact/artifacts_pb2_grpc.py | 363 + .../flyteidl/core/artifact_id_pb2.py | 48 + .../flyteidl/core/artifact_id_pb2.pyi | 94 + .../flyteidl/core/artifact_id_pb2_grpc.py | 4 + .../pb_python/flyteidl/core/interface_pb2.py | 31 +- .../pb_python/flyteidl/core/interface_pb2.pyi | 17 +- .../pb_python/flyteidl/core/literals_pb2.py | 52 +- .../pb_python/flyteidl/core/literals_pb2.pyi | 13 +- .../flyteidl/event/cloudevents_pb2.py | 39 + .../flyteidl/event/cloudevents_pb2.pyi | 74 + .../flyteidl/event/cloudevents_pb2_grpc.py | 4 + .../flyteidl/service/flyteadmin/README.md | 9 + .../service/flyteadmin/flyteadmin/__init__.py | 9 + .../flyteadmin/flyteadmin/models/__init__.py | 9 + .../models/admin_execution_metadata.py | 35 +- .../models/admin_launch_plan_metadata.py | 33 +- .../models/core_artifact_binding_data.py | 167 + .../flyteadmin/models/core_artifact_id.py | 170 + .../flyteadmin/models/core_artifact_key.py | 169 + .../flyteadmin/models/core_artifact_query.py | 199 + .../flyteadmin/models/core_artifact_tag.py | 144 + .../models/core_input_binding_data.py | 115 + .../flyteadmin/models/core_label_value.py | 170 + .../flyteadmin/models/core_literal.py | 34 +- .../flyteadmin/models/core_parameter.py | 62 +- .../flyteadmin/models/core_partitions.py | 117 + .../flyteadmin/models/core_variable.py | 62 +- .../flyteadmin/models/protobuf_any.py | 147 + .../test/test_core_artifact_binding_data.py | 40 + .../flyteadmin/test/test_core_artifact_id.py | 40 + .../flyteadmin/test/test_core_artifact_key.py | 40 + .../test/test_core_artifact_query.py | 40 + .../flyteadmin/test/test_core_artifact_tag.py | 40 + .../test/test_core_input_binding_data.py | 40 + .../flyteadmin/test/test_core_label_value.py | 40 + .../flyteadmin/test/test_core_partitions.py | 40 + .../flyteadmin/test/test_protobuf_any.py | 40 + flyteidl/gen/pb_rust/flyteidl.admin.rs | 7 + flyteidl/gen/pb_rust/flyteidl.artifact.rs | 248 + flyteidl/gen/pb_rust/flyteidl.core.rs | 149 +- flyteidl/gen/pb_rust/flyteidl.event.rs | 82 + flyteidl/generate_protos.sh | 3 +- flyteidl/go.sum | 4 +- .../protos/flyteidl/admin/execution.proto | 6 + .../protos/flyteidl/admin/launch_plan.proto | 5 + .../protos/flyteidl/artifact/artifacts.proto | 224 + .../protos/flyteidl/core/artifact_id.proto | 87 + flyteidl/protos/flyteidl/core/interface.proto | 13 + flyteidl/protos/flyteidl/core/literals.proto | 3 + .../protos/flyteidl/event/cloudevents.proto | 82 + flyteidl/protos/flyteidl/event/event.proto | 1 + flyteplugins/go.sum | 4 +- flytepropeller/go.sum | 4 +- flytestdlib/config/clouddeployment_enumer.go | 87 + flytestdlib/config/constants.go | 12 + flytestdlib/database/config.go | 14 +- flytestdlib/database/db.go | 145 + flytestdlib/database/gorm.go | 5 +- flytestdlib/database/postgres.go | 114 + flytestdlib/database/postgres_test.go | 156 + flytestdlib/go.mod | 16 +- flytestdlib/go.sum | 122 +- flytestdlib/sandboxutils/processor.go | 71 + go.mod | 25 +- go.sum | 112 +- rsts/deployment/configuration/cloud_event.rst | 33 +- 201 files changed, 99214 insertions(+), 7687 deletions(-) create mode 100644 flyteadmin/pkg/artifacts/registry.go create mode 100644 flyteadmin/pkg/artifacts/registry_test.go create mode 100644 flyteadmin/pkg/manager/impl/exec_manager_other_test.go create mode 100644 flyteadmin/pkg/runtime/interfaces/cloudeventversion_enumer.go create mode 100644 flyteidl/clients/go/admin/mocks/isGetDataRequest_Query.go create mode 100644 flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc create mode 100644 flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h create mode 100644 flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc create mode 100644 flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h create mode 100644 flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.cc create mode 100644 flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.h create mode 100644 flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.cc create mode 100644 flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.h create mode 100644 flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.cc create mode 100644 flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.h create mode 100644 flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc create mode 100644 flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h create mode 100644 flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go create mode 100644 flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go create mode 100644 flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go create mode 100644 flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json create mode 100644 flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.go create mode 100644 flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go create mode 100644 flyteidl/gen/pb-go/flyteidl/core/artifact_id.swagger.json create mode 100644 flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go create mode 100644 flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go create mode 100644 flyteidl/gen/pb-go/flyteidl/event/cloudevents.swagger.json create mode 100644 flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_binding_data.go create mode 100644 flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_id.go create mode 100644 flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_key.go create mode 100644 flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_query.go create mode 100644 flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_tag.go create mode 100644 flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_input_binding_data.go create mode 100644 flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_label_value.go create mode 100644 flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_partitions.go create mode 100644 flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_any.go create mode 100644 flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java create mode 100644 flyteidl/gen/pb-java/flyteidl/core/ArtifactId.java create mode 100644 flyteidl/gen/pb-java/flyteidl/event/Cloudevents.java create mode 100644 flyteidl/gen/pb_python/flyteidl/artifact/__init__.py create mode 100644 flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py create mode 100644 flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi create mode 100644 flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py create mode 100644 flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.py create mode 100644 flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.pyi create mode 100644 flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2_grpc.py create mode 100644 flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py create mode 100644 flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi create mode 100644 flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2_grpc.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_binding_data.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_id.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_key.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_query.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_tag.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_input_binding_data.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_label_value.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_partitions.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_any.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_binding_data.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_id.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_key.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_query.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_tag.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_input_binding_data.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_label_value.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_partitions.py create mode 100644 flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_any.py create mode 100644 flyteidl/gen/pb_rust/flyteidl.artifact.rs create mode 100644 flyteidl/protos/flyteidl/artifact/artifacts.proto create mode 100644 flyteidl/protos/flyteidl/core/artifact_id.proto create mode 100644 flyteidl/protos/flyteidl/event/cloudevents.proto create mode 100644 flytestdlib/config/clouddeployment_enumer.go create mode 100644 flytestdlib/config/constants.go create mode 100644 flytestdlib/database/db.go create mode 100644 flytestdlib/database/postgres.go create mode 100644 flytestdlib/database/postgres_test.go create mode 100644 flytestdlib/sandboxutils/processor.go diff --git a/.github/workflows/flyteidl-buf-publish.yml b/.github/workflows/flyteidl-buf-publish.yml index 5eef90fe7d..cbb530421c 100644 --- a/.github/workflows/flyteidl-buf-publish.yml +++ b/.github/workflows/flyteidl-buf-publish.yml @@ -3,6 +3,7 @@ name: Publish flyteidl Buf Package on: push: branches: + - artifacts-shell - artifacts - master paths: diff --git a/charts/flyte-sandbox/Chart.lock b/charts/flyte-sandbox/Chart.lock index 7d720bb84f..3b64136d9d 100644 --- a/charts/flyte-sandbox/Chart.lock +++ b/charts/flyte-sandbox/Chart.lock @@ -15,4 +15,4 @@ dependencies: repository: https://charts.bitnami.com/bitnami version: 12.1.9 digest: sha256:e7155e540bbdb98f690eb12e2bd301a19d8b36833336f6991410cb44d8d9bb5e -generated: "2023-03-31T09:25:07.80904-07:00" +generated: "2023-10-28T10:05:34.269916+08:00" diff --git a/charts/flyte-sandbox/README.md b/charts/flyte-sandbox/README.md index 6e584f51c2..bb61e490f5 100644 --- a/charts/flyte-sandbox/README.md +++ b/charts/flyte-sandbox/README.md @@ -40,7 +40,7 @@ A Helm chart for the Flyte local sandbox | flyte-binary.configuration.inline.task_resources.limits.gpu | int | `0` | | | flyte-binary.configuration.inline.task_resources.limits.memory | int | `0` | | | flyte-binary.configuration.inlineConfigMap | string | `"{{ include \"flyte-sandbox.configuration.inlineConfigMap\" . }}"` | | -| flyte-binary.configuration.logging.level | int | `6` | | +| flyte-binary.configuration.logging.level | int | `5` | | | flyte-binary.configuration.logging.plugins.kubernetes.enabled | bool | `true` | | | flyte-binary.configuration.logging.plugins.kubernetes.templateUri | string | `"http://localhost:30080/kubernetes-dashboard/#/log/{{.namespace }}/{{ .podName }}/pod?namespace={{ .namespace }}"` | | | flyte-binary.configuration.storage.metadataContainer | string | `"my-s3-bucket"` | | diff --git a/charts/flyte-sandbox/values.yaml b/charts/flyte-sandbox/values.yaml index 0848ed7097..9743bcab33 100644 --- a/charts/flyte-sandbox/values.yaml +++ b/charts/flyte-sandbox/values.yaml @@ -29,7 +29,7 @@ flyte-binary: accessKey: minio secretKey: miniostorage logging: - level: 6 + level: 5 plugins: kubernetes: enabled: true diff --git a/charts/flyteagent/README.md b/charts/flyteagent/README.md index c1f77a5b5a..80107d8e2b 100644 --- a/charts/flyteagent/README.md +++ b/charts/flyteagent/README.md @@ -20,7 +20,7 @@ A Helm chart for Flyte agent | fullnameOverride | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy | | image.repository | string | `"ghcr.io/flyteorg/flyteagent"` | Docker image for flyteagent deployment | -| image.tag | string | `"1.10.1"` | Docker image tag | +| image.tag | string | `"1.10.2"` | Docker image tag | | nameOverride | string | `""` | | | nodeSelector | object | `{}` | nodeSelector for flyteagent deployment | | podAnnotations | object | `{}` | Annotations for flyteagent pods | diff --git a/charts/flyteagent/values.yaml b/charts/flyteagent/values.yaml index f7174d1a42..d1d7ac5cbf 100755 --- a/charts/flyteagent/values.yaml +++ b/charts/flyteagent/values.yaml @@ -23,7 +23,7 @@ image: # -- Docker image for flyteagent deployment repository: ghcr.io/flyteorg/flyteagent # -- Docker image tag - tag: 1.10.1 # FLYTEAGENT_TAG + tag: 1.10.2 # FLYTEAGENT_TAG # -- Docker image pull policy pullPolicy: IfNotPresent ports: diff --git a/datacatalog/go.mod b/datacatalog/go.mod index f759066f4e..387fcb0b24 100644 --- a/datacatalog/go.mod +++ b/datacatalog/go.mod @@ -9,7 +9,7 @@ require ( github.com/gofrs/uuid v4.2.0+incompatible github.com/golang/glog v1.1.0 github.com/golang/protobuf v1.5.3 - github.com/jackc/pgconn v1.10.1 + github.com/jackc/pgconn v1.14.1 github.com/mitchellh/mapstructure v1.5.0 github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 @@ -17,9 +17,9 @@ require ( go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.35.0 go.opentelemetry.io/otel v1.19.0 google.golang.org/grpc v1.56.1 - gorm.io/driver/postgres v1.2.3 - gorm.io/driver/sqlite v1.5.0 - gorm.io/gorm v1.25.1 + gorm.io/driver/postgres v1.5.3 + gorm.io/driver/sqlite v1.5.4 + gorm.io/gorm v1.25.4 gorm.io/plugin/opentelemetry v0.1.4 ) @@ -46,6 +46,7 @@ require ( github.com/flyteorg/stow v0.3.8 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect github.com/ghodss/yaml v1.0.0 // indirect + github.com/go-gormigrate/gormigrate/v2 v2.1.1 // indirect github.com/go-logr/logr v1.2.4 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-openapi/jsonpointer v0.19.6 // indirect @@ -65,10 +66,9 @@ require ( github.com/jackc/chunkreader/v2 v2.0.1 // indirect github.com/jackc/pgio v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect - github.com/jackc/pgproto3/v2 v2.2.0 // indirect - github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect - github.com/jackc/pgtype v1.9.0 // indirect - github.com/jackc/pgx/v4 v4.14.0 // indirect + github.com/jackc/pgproto3/v2 v2.3.2 // indirect + github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect + github.com/jackc/pgx/v5 v5.4.3 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect @@ -79,7 +79,7 @@ require ( github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.12 // indirect github.com/mattn/go-isatty v0.0.14 // indirect - github.com/mattn/go-sqlite3 v1.14.15 // indirect + github.com/mattn/go-sqlite3 v1.14.17 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect @@ -145,8 +145,6 @@ replace ( github.com/flyteorg/flyte/flyteplugins => ../flyteplugins github.com/flyteorg/flyte/flytepropeller => ../flytepropeller github.com/flyteorg/flyte/flytestdlib => ../flytestdlib - gorm.io/driver/sqlite => gorm.io/driver/sqlite v1.1.1 - gorm.io/gorm => gorm.io/gorm v1.22.4 k8s.io/api => k8s.io/api v0.28.2 k8s.io/apimachinery => k8s.io/apimachinery v0.28.2 k8s.io/client-go => k8s.io/client-go v0.28.2 diff --git a/datacatalog/go.sum b/datacatalog/go.sum index 5c61d4eadd..32cd7cf0b1 100644 --- a/datacatalog/go.sum +++ b/datacatalog/go.sum @@ -62,14 +62,10 @@ github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0 h1:hVeq+yCyUi+ 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/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= -github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc= github.com/Selvatico/go-mocket v1.0.7 h1:sXuFMnMfVL9b/Os8rGXPgbOFbr4HJm8aHsulD/uMTUk= github.com/Selvatico/go-mocket v1.0.7/go.mod h1:4gO2v+uQmsL+jzQgLANy3tyEFzaEzHlymVbZ3GP2Oes= -github.com/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= 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/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= @@ -90,7 +86,6 @@ github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnht github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= 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 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/coocood/freecache v1.1.1 h1:uukNF7QKCZEdZ9gAV7WQzvh0SbjwdMF6m3x3rxEkaPc= github.com/coocood/freecache v1.1.1/go.mod h1:OKrEjkGVoxZhyWAJoeFi5BMLUJm2Tit0kpGkIr7NGYY= @@ -127,8 +122,8 @@ github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeME 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-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= +github.com/go-gormigrate/gormigrate/v2 v2.1.1 h1:eGS0WTFRV30r103lU8JNXY27KbviRnqqIDobW3EV3iY= +github.com/go-gormigrate/gormigrate/v2 v2.1.1/go.mod h1:L7nJ620PFDKei9QOhJzqA8kRCk+E3UbV2f5gv+1ndLc= 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= @@ -146,7 +141,6 @@ 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/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= 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= @@ -253,9 +247,8 @@ github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= -github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI= -github.com/jackc/pgconn v1.10.1 h1:DzdIHIjG1AxGwoEEqS+mGsURyjt4enSmqzACXvVzOT8= -github.com/jackc/pgconn v1.10.1/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI= +github.com/jackc/pgconn v1.14.1 h1:smbxIaZA08n6YuxEX1sDyjV/qkbtUtkH20qLkR9MUR4= +github.com/jackc/pgconn v1.14.1/go.mod h1:9mBNlny0UvkgJdCDvdVHYSjI+8tD2rnKK69Wz8ti++E= github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE= github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= @@ -271,30 +264,24 @@ github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvW github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= -github.com/jackc/pgproto3/v2 v2.2.0 h1:r7JypeP2D3onoQTCxWdTpCtJ4D+qpKr0TxvoyMhZ5ns= -github.com/jackc/pgproto3/v2 v2.2.0/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= -github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b h1:C8S2+VttkHFdOOCXJe+YGfa4vHYwlt4Zx+IVXQ97jYg= +github.com/jackc/pgproto3/v2 v2.3.2 h1:7eY55bdBeCz1F2fTzSz69QC+pG46jYq9/jtSPiJ5nn0= +github.com/jackc/pgproto3/v2 v2.3.2/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= -github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM= -github.com/jackc/pgtype v1.9.0 h1:/SH1RxEtltvJgsDqp3TbiTFApD3mey3iygpuEGeuBXk= -github.com/jackc/pgtype v1.9.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= -github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= -github.com/jackc/pgx/v4 v4.14.0 h1:TgdrmgnM7VY72EuSQzBbBd4JA1RLqJolrw9nQVZABVc= -github.com/jackc/pgx/v4 v4.14.0/go.mod h1:jT3ibf/A0ZVCp89rtCIN0zCJxcE74ypROmHEZYsG/j8= +github.com/jackc/pgx/v5 v5.4.3 h1:cxFyXhxlvAifxnkKKdlxv8XqUf59tDlYjnV5YYfsJJY= +github.com/jackc/pgx/v5 v5.4.3/go.mod h1:Ig06C2Vu0t5qXC60W8sqIthScaEnFvojjj9dSljmHRA= github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= -github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= -github.com/jackc/puddle v1.2.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= -github.com/jinzhu/now v1.1.3/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= @@ -326,14 +313,11 @@ github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+ github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.10.2 h1:AqzbZs4ZoCBp+GtejcpCpcxM3zlSMx29dXbUSeVtJb8= -github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= @@ -342,9 +326,8 @@ github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-sqlite3 v1.14.0/go.mod h1:JIl7NbARA7phWnGvh0LKTyg7S9BA+6gx71ShQilpsus= -github.com/mattn/go-sqlite3 v1.14.15 h1:vfoHhTN1af61xCRSWzFIWzx2YskyMTwHLrExkBOjvxI= -github.com/mattn/go-sqlite3 v1.14.15/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= +github.com/mattn/go-sqlite3 v1.14.17 h1:mCRHCLDUBXgpKAqIKsaAaAsrAlbkeomtRFKXh2L6YIM= +github.com/mattn/go-sqlite3 v1.14.17/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= @@ -384,16 +367,14 @@ 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/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +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/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= -github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ= -github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.9.2 h1:oxx1eChJGI6Uks2ZC4W1zpLlVgqB8ner4EuQwV4Ik1Y= @@ -434,6 +415,7 @@ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= @@ -459,17 +441,11 @@ go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1 go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= 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.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= -go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= 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/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= 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.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= 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= @@ -485,6 +461,7 @@ 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.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= 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= @@ -522,7 +499,7 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -557,6 +534,8 @@ 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-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.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= @@ -580,6 +559,7 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ 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/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -625,13 +605,17 @@ golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBc 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-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= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/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.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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.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= @@ -642,6 +626,7 @@ 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.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.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/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -666,8 +651,6 @@ golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-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= @@ -675,7 +658,6 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -703,6 +685,7 @@ golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM= golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -835,12 +818,12 @@ 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.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gorm.io/driver/postgres v1.2.3 h1:f4t0TmNMy9gh3TU2PX+EppoA6YsgFnyq8Ojtddb42To= -gorm.io/driver/postgres v1.2.3/go.mod h1:pJV6RgYQPG47aM1f0QeOzFH9HxQc8JcmAgjRCgS0wjs= -gorm.io/driver/sqlite v1.1.1 h1:qtWqNAEUyi7gYSUAJXeiAMz0lUOdakZF5ia9Fqnp5G4= -gorm.io/driver/sqlite v1.1.1/go.mod h1:hm2olEcl8Tmsc6eZyxYSeznnsDaMqamBvEXLNtBg4cI= -gorm.io/gorm v1.22.4 h1:8aPcyEJhY0MAt8aY6Dc524Pn+pO29K+ydu+e/cXSpQM= -gorm.io/gorm v1.22.4/go.mod h1:1aeVC+pe9ZmvKZban/gW4QPra7PRoTEssyc922qCAkk= +gorm.io/driver/postgres v1.5.3 h1:qKGY5CPHOuj47K/VxbCXJfFvIUeqMSXXadqdCY+MbBU= +gorm.io/driver/postgres v1.5.3/go.mod h1:F+LtvlFhZT7UBiA81mC9W6Su3D4WUhSboc/36QZU0gk= +gorm.io/driver/sqlite v1.5.4 h1:IqXwXi8M/ZlPzH/947tn5uik3aYQslP9BVveoax0nV0= +gorm.io/driver/sqlite v1.5.4/go.mod h1:qxAuCol+2r6PannQDpOP1FP6ag3mKi4esLnB/jHed+4= +gorm.io/gorm v1.25.4 h1:iyNd8fNAe8W9dvtlgeRI5zSVZPsq3OpcTu37cYcpCmw= +gorm.io/gorm v1.25.4/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k= gorm.io/plugin/opentelemetry v0.1.4 h1:7p0ocWELjSSRI7NCKPW2mVe6h43YPini99sNJcbsTuc= gorm.io/plugin/opentelemetry v0.1.4/go.mod h1:tndJHOdvPT0pyGhOb8E2209eXJCUxhC5UpKw7bGVWeI= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/datacatalog/pkg/repositories/errors/postgres.go b/datacatalog/pkg/repositories/errors/postgres.go index 861903938b..2d018d56a6 100644 --- a/datacatalog/pkg/repositories/errors/postgres.go +++ b/datacatalog/pkg/repositories/errors/postgres.go @@ -3,6 +3,7 @@ package errors import ( "errors" "fmt" + "github.com/flyteorg/flyte/flytestdlib/database" "reflect" "github.com/jackc/pgconn" @@ -39,6 +40,11 @@ func (p *postgresErrorTransformer) fromGormError(err error) error { } func (p *postgresErrorTransformer) ToDataCatalogError(err error) error { + // First try the stdlib error handling + if database.IsPgErrorWithCode(err, uniqueConstraintViolationCode) { + return catalogErrors.NewDataCatalogErrorf(codes.AlreadyExists, uniqueConstraintViolation, err.Error()) + } + if unwrappedErr := errors.Unwrap(err); unwrappedErr != nil { err = unwrappedErr } diff --git a/datacatalog/pkg/repositories/handle.go b/datacatalog/pkg/repositories/handle.go index e552fb9d01..08b6996536 100644 --- a/datacatalog/pkg/repositories/handle.go +++ b/datacatalog/pkg/repositories/handle.go @@ -61,7 +61,7 @@ func (h *DBHandle) CreateDB(dbName string) error { result = h.db.Exec(createDBStatement) if result.Error != nil { - if !isPgErrorWithCode(result.Error, pqDbAlreadyExistsCode) { + if !database.IsPgErrorWithCode(result.Error, database.PqDbAlreadyExistsCode) && !database.IsPgErrorWithCode(result.Error, database.PgDuplicatedKey) { return result.Error } logger.Infof(context.TODO(), "Not creating database %s, already exists", dbName) diff --git a/datacatalog/pkg/repositories/initialize.go b/datacatalog/pkg/repositories/initialize.go index e020f5dc04..150801345f 100644 --- a/datacatalog/pkg/repositories/initialize.go +++ b/datacatalog/pkg/repositories/initialize.go @@ -2,11 +2,9 @@ package repositories import ( "context" - "errors" + "github.com/flyteorg/flyte/flytestdlib/database" "reflect" - "github.com/jackc/pgconn" - errors2 "github.com/flyteorg/flyte/datacatalog/pkg/repositories/errors" "github.com/flyteorg/flyte/datacatalog/pkg/runtime" "github.com/flyteorg/flyte/flytestdlib/logger" @@ -18,8 +16,6 @@ var migrateScope = migrationsScope.NewSubScope("migrate") // all postgres servers come by default with a db name named postgres const defaultDB = "postgres" -const pqInvalidDBCode = "3D000" -const pqDbAlreadyExistsCode = "42P04" // Migrate This command will run all the migrations for the database func Migrate(ctx context.Context) error { @@ -31,14 +27,14 @@ func Migrate(ctx context.Context) error { if err != nil { // if db does not exist, try creating it - cErr, ok := err.(errors2.ConnectError) + _, ok := err.(errors2.ConnectError) if !ok { logger.Errorf(ctx, "Failed to cast error of type: %v, err: %v", reflect.TypeOf(err), err) panic(err) } - pqError := cErr.Unwrap().(*pgconn.PgError) - if pqError.Code == pqInvalidDBCode { + + if database.IsPgErrorWithCode(err, database.PqInvalidDBCode) { logger.Warningf(ctx, "Database [%v] does not exist, trying to create it now", dbName) dbConfigValues.Postgres.DbName = defaultDB @@ -78,14 +74,3 @@ func Migrate(ctx context.Context) error { logger.Infof(ctx, "Ran DB migration successfully.") return nil } - -func isPgErrorWithCode(err error, code string) bool { - pgErr := &pgconn.PgError{} - if !errors.As(err, &pgErr) { - // err chain does not contain a pgconn.PgError - return false - } - - // pgconn.PgError found in chain and set to code specified - return pgErr.Code == code -} diff --git a/deployment/agent/flyte_agent_helm_generated.yaml b/deployment/agent/flyte_agent_helm_generated.yaml index b45447d589..a74aad0d9c 100644 --- a/deployment/agent/flyte_agent_helm_generated.yaml +++ b/deployment/agent/flyte_agent_helm_generated.yaml @@ -75,7 +75,7 @@ spec: - command: - pyflyte - serve - image: "ghcr.io/flyteorg/flyteagent:1.10.1" + image: "ghcr.io/flyteorg/flyteagent:1.10.2" imagePullPolicy: "IfNotPresent" name: flyteagent volumeMounts: diff --git a/docker/sandbox-bundled/manifests/complete-agent.yaml b/docker/sandbox-bundled/manifests/complete-agent.yaml index c2843ad5d3..caf6ecd0a4 100644 --- a/docker/sandbox-bundled/manifests/complete-agent.yaml +++ b/docker/sandbox-bundled/manifests/complete-agent.yaml @@ -427,7 +427,7 @@ data: templatePath: /etc/flyte/cluster-resource-templates logger: show-source: true - level: 6 + level: 5 propeller: create-flyteworkflow-crd: true webhook: @@ -816,7 +816,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: cHNOS0lPZmw0andDczdaaA== + haSharedSecret: SlF2M0tXNXdGTUpHZzdvNg== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1246,7 +1246,7 @@ spec: metadata: annotations: checksum/cluster-resource-templates: 6fd9b172465e3089fcc59f738b92b8dc4d8939360c19de8ee65f68b0e7422035 - checksum/configuration: 6755bdc74789d7e2a80161a9f811e41ea3c0cf12bab5cb0820c7c8539b4b88fe + checksum/configuration: 9cb50a36963e1d23a3b500b148de3407c1fcc1b65da0f7da8b038cfd35c97fca checksum/configuration-secret: 09216ffaa3d29e14f88b1f30af580d02a2a5e014de4d750b7f275cc07ed4e914 labels: app.kubernetes.io/component: flyte-binary @@ -1411,7 +1411,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: ce47bbc1f3ca2d8673128f8efd226bd9c7ac4f32a6ded68e54e2ebb3a843065b + checksum/secret: b76914839daf95717da7a8ef31769c3b97f6c3c46a09776e5d0f8cc3fe9b1e9a labels: app: docker-registry release: flyte-sandbox @@ -1753,7 +1753,7 @@ spec: value: minio - name: FLYTE_AWS_SECRET_ACCESS_KEY value: miniostorage - image: ghcr.io/flyteorg/flyteagent:1.10.1 + image: ghcr.io/flyteorg/flyteagent:1.10.2 imagePullPolicy: IfNotPresent name: flyteagent ports: diff --git a/docker/sandbox-bundled/manifests/complete.yaml b/docker/sandbox-bundled/manifests/complete.yaml index c2d507b0f2..15db5aa597 100644 --- a/docker/sandbox-bundled/manifests/complete.yaml +++ b/docker/sandbox-bundled/manifests/complete.yaml @@ -416,7 +416,7 @@ data: templatePath: /etc/flyte/cluster-resource-templates logger: show-source: true - level: 6 + level: 5 propeller: create-flyteworkflow-crd: true webhook: @@ -796,7 +796,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: RjR3Qnc0dWtGbHE3S3pnbA== + haSharedSecret: QU5jN3V6ZjA4Y0tFbzZ0dw== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1194,7 +1194,7 @@ spec: metadata: annotations: checksum/cluster-resource-templates: 6fd9b172465e3089fcc59f738b92b8dc4d8939360c19de8ee65f68b0e7422035 - checksum/configuration: e2233c2adb914be363ec4fae808ed60ffb230367503f73643f011e728b853b49 + checksum/configuration: 52331d07774723e1045269ebc8e4cdf95e1bdd85ab104699149cae45f1eb0327 checksum/configuration-secret: 09216ffaa3d29e14f88b1f30af580d02a2a5e014de4d750b7f275cc07ed4e914 labels: app.kubernetes.io/component: flyte-binary @@ -1359,7 +1359,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: d027248867ca693de77339af17e89c22e7ad604b7abe616e40ca947ad0626a83 + checksum/secret: 436cdf2d6630635a2652233c83f71c617facb2fda8edabb639ab7dfa0f15e46f labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/dev.yaml b/docker/sandbox-bundled/manifests/dev.yaml index 5061057ee9..8b171faf49 100644 --- a/docker/sandbox-bundled/manifests/dev.yaml +++ b/docker/sandbox-bundled/manifests/dev.yaml @@ -499,7 +499,7 @@ metadata: --- apiVersion: v1 data: - haSharedSecret: RWxBOE5BV0lIeEJ2d1c3ZA== + haSharedSecret: MGNlbmFPenJydE1hNlB0Sw== proxyPassword: "" proxyUsername: "" kind: Secret @@ -933,7 +933,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: a2181c7387731100215f7ae94400f7330557b063f01f807d5aa2f333f266126e + checksum/secret: 05cc4dc3bf13796e3a35e79da36baf286c81f80b207628f1f64197c80a04130c labels: app: docker-registry release: flyte-sandbox diff --git a/flyte-single-binary-local.yaml b/flyte-single-binary-local.yaml index 87bacdd5fc..ca63458b03 100644 --- a/flyte-single-binary-local.yaml +++ b/flyte-single-binary-local.yaml @@ -1,8 +1,14 @@ # This is a sample configuration file for running single-binary Flyte locally against # a sandbox. admin: - endpoint: localhost:8089 + # This endpoint is used by flytepropeller to talk to admin + # and artifacts to talk to admin, + # and _also_, admin to talk to artifacts + endpoint: localhost:30080 insecure: true +flyteadmin: + featureGates: + enableArtifacts: true catalog-cache: endpoint: localhost:8081 @@ -11,11 +17,11 @@ catalog-cache: cluster_resources: standaloneDeployment: false - templatePath: $HOME/.flyte/cluster-resource-templates + templatePath: $HOME/.flyte/sandbox/cluster-resource-templates logger: show-source: true - level: 6 + level: 5 propeller: create-flyteworkflow-crd: true @@ -50,9 +56,9 @@ plugins: stackdriver-enabled: false k8s: default-env-vars: - - FLYTE_AWS_ENDPOINT: http://flyte-sandbox-minio.flyte:9000 - - FLYTE_AWS_ACCESS_KEY_ID: minio - - FLYTE_AWS_SECRET_ACCESS_KEY: miniostorage + - FLYTE_AWS_ENDPOINT: http://flyte-sandbox-minio.flyte:9000 + - FLYTE_AWS_ACCESS_KEY_ID: minio + - FLYTE_AWS_SECRET_ACCESS_KEY: miniostorage k8s-array: logs: config: @@ -69,7 +75,6 @@ database: port: 30001 dbname: flyte options: "sslmode=disable" - storage: type: stow stow: diff --git a/flyteadmin/cmd/entrypoints/root.go b/flyteadmin/cmd/entrypoints/root.go index 5f493d0bbc..de7179384d 100644 --- a/flyteadmin/cmd/entrypoints/root.go +++ b/flyteadmin/cmd/entrypoints/root.go @@ -75,7 +75,7 @@ func init() { func initConfig(flags *pflag.FlagSet) error { configAccessor = viper.NewAccessor(config.Options{ - SearchPaths: []string{cfgFile, ".", "/etc/flyte/config", "$GOPATH/src/github.com/flyteorg/flyteadmin"}, + SearchPaths: []string{cfgFile, ".", "/etc/flyte/config", "$GOPATH/src/github.com/flyteorg/flyte/flyteadmin"}, StrictMode: false, }) diff --git a/flyteadmin/cmd/scheduler/entrypoints/root.go b/flyteadmin/cmd/scheduler/entrypoints/root.go index dd50b03b19..a301410dfd 100644 --- a/flyteadmin/cmd/scheduler/entrypoints/root.go +++ b/flyteadmin/cmd/scheduler/entrypoints/root.go @@ -64,7 +64,7 @@ func init() { func initConfig(flags *pflag.FlagSet) error { configAccessor = viper.NewAccessor(config.Options{ - SearchPaths: []string{cfgFile, ".", "/etc/flyte/config", "$GOPATH/src/github.com/flyteorg/flyteadmin"}, + SearchPaths: []string{cfgFile, ".", "/etc/flyte/config", "$GOPATH/src/github.com/flyteorg/flyte/flyteadmin"}, StrictMode: false, }) diff --git a/flyteadmin/go.mod b/flyteadmin/go.mod index 33274fbd71..2389a5bcd7 100644 --- a/flyteadmin/go.mod +++ b/flyteadmin/go.mod @@ -19,7 +19,7 @@ require ( github.com/flyteorg/flyte/flytestdlib v0.0.0-00010101000000-000000000000 github.com/flyteorg/stow v0.3.8 github.com/ghodss/yaml v1.0.0 - github.com/go-gormigrate/gormigrate/v2 v2.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 @@ -32,7 +32,8 @@ require ( github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69 - github.com/jackc/pgconn v1.13.0 + github.com/jackc/pgconn v1.14.1 + github.com/jackc/pgx/v5 v5.4.3 github.com/lestrrat-go/jwx v1.1.6 github.com/magiconair/properties v1.8.6 github.com/mitchellh/mapstructure v1.5.0 @@ -55,9 +56,9 @@ require ( google.golang.org/grpc v1.56.1 google.golang.org/protobuf v1.31.0 gorm.io/driver/mysql v1.4.4 - gorm.io/driver/postgres v1.4.5 - gorm.io/driver/sqlite v1.5.0 - gorm.io/gorm v1.25.1 + gorm.io/driver/postgres v1.5.3 + gorm.io/driver/sqlite v1.5.4 + gorm.io/gorm v1.25.4 gorm.io/plugin/opentelemetry v0.1.4 k8s.io/api v0.28.3 k8s.io/apimachinery v0.28.3 @@ -120,10 +121,8 @@ require ( github.com/jackc/chunkreader/v2 v2.0.1 // indirect github.com/jackc/pgio v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect - github.com/jackc/pgproto3/v2 v2.3.1 // indirect - github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect - github.com/jackc/pgtype v1.12.0 // indirect - github.com/jackc/pgx/v4 v4.17.2 // indirect + github.com/jackc/pgproto3/v2 v2.3.2 // indirect + github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect github.com/jcmturner/gofork v1.0.0 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect @@ -137,7 +136,6 @@ require ( github.com/lestrrat-go/httpcc v1.0.0 // indirect github.com/lestrrat-go/iter v1.0.1 // indirect github.com/lestrrat-go/option v1.0.0 // indirect - github.com/lib/pq v1.10.4 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.12 // indirect github.com/mattn/go-isatty v0.0.16 // indirect @@ -226,8 +224,6 @@ replace ( github.com/flyteorg/flyte/flytepropeller => ../flytepropeller github.com/flyteorg/flyte/flytestdlib => ../flytestdlib github.com/robfig/cron/v3 => github.com/unionai/cron/v3 v3.0.2-0.20220915080349-5790c370e63a - gorm.io/driver/sqlite => gorm.io/driver/sqlite v1.1.1 - gorm.io/gorm => gorm.io/gorm v1.24.1-0.20221019064659-5dd2bb482755 k8s.io/api => k8s.io/api v0.28.2 k8s.io/apimachinery => k8s.io/apimachinery v0.28.2 k8s.io/client-go => k8s.io/client-go v0.28.2 diff --git a/flyteadmin/go.sum b/flyteadmin/go.sum index d044afa0a6..0a35d9e7f7 100644 --- a/flyteadmin/go.sum +++ b/flyteadmin/go.sum @@ -74,11 +74,8 @@ github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q github.com/DataDog/datadog-go v3.4.1+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/datadog-go v4.0.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/opencensus-go-exporter-datadog v0.0.0-20191210083620-6965a1cfed68/go.mod h1:gMGUEe16aZh0QN941HgDjwrdjU4iTthPoz2/AtDRADE= -github.com/Masterminds/semver v1.4.2 h1:WBLTQ37jOCzSLtXNdoo8bNM8876KhNqOKvrlGITgsTc= github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/semver/v3 v3.0.3/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= -github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= github.com/NYTimes/gizmo v1.3.6 h1:K+GRagPdAxojsT1TlTQlMkTeOmgfLxSdvuOhdki7GG0= @@ -87,7 +84,6 @@ github.com/NYTimes/logrotate v1.0.0/go.mod h1:GxNz1cSw1c6t99PXoZlw+nm90H6cyQyrH6 github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc= github.com/PuerkitoBio/purell v1.1.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= @@ -103,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/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= 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= @@ -161,7 +156,6 @@ github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWH 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 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/cockroach-go v0.0.0-20181001143604-e0a95dfd547c/go.mod h1:XGLbWH/ujMcbPbhZq52Nv6UrCghb1yGn//133kEsvDk= github.com/cockroachdb/cockroach-go v0.0.0-20190925194419-606b3d062051/go.mod h1:XGLbWH/ujMcbPbhZq52Nv6UrCghb1yGn//133kEsvDk= @@ -196,8 +190,6 @@ github.com/decred/dcrd/chaincfg/chainhash v1.0.2/go.mod h1:BpbrGgrPTr3YJYRN3Bm+D github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= github.com/decred/dcrd/dcrec/secp256k1/v3 v3.0.0 h1:sgNeV1VRMDzs6rzyPpxyM0jp317hnwiq58Filgag2xw= github.com/decred/dcrd/dcrec/secp256k1/v3 v3.0.0/go.mod h1:J70FGZSbzsjecRTiTzER+3f1KZLNaXkuv+yeFTKoxM8= -github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc h1:VRRKCwnzqk8QCaRC4os14xoKDdbHqqlJtJA0oc1ZAjg= -github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= github.com/dgraph-io/ristretto v0.0.1/go.mod h1:T40EBc7CJke8TkpiYfGGKAeFjSaxuFXhuXRyumBd6RE= github.com/dgraph-io/ristretto v0.0.2/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= github.com/dgraph-io/ristretto v0.0.3 h1:jh22xisGBjrEVnRZ1DVTpBVQm0Xndu8sMl0CWDzSIBI= @@ -273,16 +265,14 @@ github.com/go-bindata/go-bindata v3.1.1+incompatible/go.mod h1:xK8Dsgwmeed+BBsSy 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-gormigrate/gormigrate/v2 v2.0.0 h1:e2A3Uznk4viUC4UuemuVgsNnvYZyOA8B3awlYk3UioU= -github.com/go-gormigrate/gormigrate/v2 v2.0.0/go.mod h1:YuVJ+D/dNt4HWrThTBnjgZuRbt7AuwINeg4q52ZE3Jw= +github.com/go-gormigrate/gormigrate/v2 v2.1.1 h1:eGS0WTFRV30r103lU8JNXY27KbviRnqqIDobW3EV3iY= +github.com/go-gormigrate/gormigrate/v2 v2.1.1/go.mod h1:L7nJ620PFDKei9QOhJzqA8kRCk+E3UbV2f5gv+1ndLc= github.com/go-jose/go-jose/v3 v3.0.0 h1:s6rrhirfEP/CGIoc6p+PZAeogN2SxKav6Wp7+dyMWVo= 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= @@ -615,8 +605,6 @@ github.com/goccy/go-json v0.4.8 h1:TfwOxfSp8hXH+ivoOk36RyDNmXATUETRdaNWDaZglf8= github.com/goccy/go-json v0.4.8/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/gofrs/uuid v3.1.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= -github.com/gofrs/uuid v4.0.0+incompatible h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw= -github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid/v3 v3.1.2/go.mod h1:xPwMqoocQ1L5G6pXX5BcE7N5jlzn2o19oqAKxwZW/kI= github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= @@ -628,8 +616,6 @@ github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOW github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= 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-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY= -github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= 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= @@ -791,16 +777,12 @@ github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9 github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= github.com/jackc/pgconn v1.3.2/go.mod h1:LvCquS3HbBKwgl7KbX9KyqEIumJAbm1UMcTvGaIf3bM= -github.com/jackc/pgconn v1.4.0/go.mod h1:Y2O3ZDF0q4mMacyWV3AstPJpeHXWGEetiFttmq5lahk= github.com/jackc/pgconn v1.5.0/go.mod h1:QeD3lBfpTFe8WUnPZWN5KY/mB8FGMIYRdd8P8Jr0fAI= -github.com/jackc/pgconn v1.5.1-0.20200601181101-fa742c524853/go.mod h1:QeD3lBfpTFe8WUnPZWN5KY/mB8FGMIYRdd8P8Jr0fAI= github.com/jackc/pgconn v1.6.0/go.mod h1:yeseQo4xhQbgyJs2c87RAXOH2i624N0Fh1KSPJya7qo= -github.com/jackc/pgconn v1.6.4/go.mod h1:w2pne1C2tZgP+TvjqLpOigGzNqjBgQW9dUw/4Chex78= github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= -github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI= -github.com/jackc/pgconn v1.13.0 h1:3L1XMNV2Zvca/8BYhzcRFS70Lr0WlDg16Di6SFGAbys= -github.com/jackc/pgconn v1.13.0/go.mod h1:AnowpAqO4CMIIJNZl2VJp+KrkAZciAkhEl0W0JIobpI= +github.com/jackc/pgconn v1.14.1 h1:smbxIaZA08n6YuxEX1sDyjV/qkbtUtkH20qLkR9MUR4= +github.com/jackc/pgconn v1.14.1/go.mod h1:9mBNlny0UvkgJdCDvdVHYSjI+8tD2rnKK69Wz8ti++E= github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE= github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= @@ -818,42 +800,29 @@ github.com/jackc/pgproto3/v2 v2.0.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwX github.com/jackc/pgproto3/v2 v2.0.2/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= -github.com/jackc/pgproto3/v2 v2.3.1 h1:nwj7qwf0S+Q7ISFfBndqeLwSwxs+4DPsbRFjECT1Y4Y= -github.com/jackc/pgproto3/v2 v2.3.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.3.2 h1:7eY55bdBeCz1F2fTzSz69QC+pG46jYq9/jtSPiJ5nn0= +github.com/jackc/pgproto3/v2 v2.3.2/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgservicefile v0.0.0-20200307190119-3430c5407db8/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= -github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b h1:C8S2+VttkHFdOOCXJe+YGfa4vHYwlt4Zx+IVXQ97jYg= github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= github.com/jackc/pgtype v1.2.0/go.mod h1:5m2OfMh1wTK7x+Fk952IDmI4nw3nPrvtQdM0ZT4WpC0= github.com/jackc/pgtype v1.3.0/go.mod h1:b0JqxHvPmljG+HQ5IsvQ0yqeSi4nGcDTVjFoiLDb0Ik= -github.com/jackc/pgtype v1.3.1-0.20200510190516-8cd94a14c75a/go.mod h1:vaogEUkALtxZMCH411K+tKzNpwzCKU+AnPzBKZ+I+Po= -github.com/jackc/pgtype v1.3.1-0.20200606141011-f6355165a91c/go.mod h1:cvk9Bgu/VzJ9/lxTO5R5sf80p0DiucVtN7ZxvaC4GmQ= -github.com/jackc/pgtype v1.4.2/go.mod h1:JCULISAZBFGrHaOXIIFiyfzW5VY0GRitRr8NeJsrdig= -github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM= -github.com/jackc/pgtype v1.12.0 h1:Dlq8Qvcch7kiehm8wPGIW0W3KsCCHJnRacKW0UM8n5w= -github.com/jackc/pgtype v1.12.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= github.com/jackc/pgx v3.2.0+incompatible/go.mod h1:0ZGrqGqkRlliWnWB4zKnWtjbSWbGkVEFm4TeybAXq+I= github.com/jackc/pgx v3.6.2+incompatible/go.mod h1:0ZGrqGqkRlliWnWB4zKnWtjbSWbGkVEFm4TeybAXq+I= github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= github.com/jackc/pgx/v4 v4.4.1/go.mod h1:6iSW+JznC0YT+SgBn7rNxoEBsBgSmnC5FwyCekOGUiE= -github.com/jackc/pgx/v4 v4.5.0/go.mod h1:EpAKPLdnTorwmPUUsqrPxy5fphV18j9q3wrfRXgo+kA= github.com/jackc/pgx/v4 v4.6.0/go.mod h1:vPh43ZzxijXUVJ+t/EmXBtFmbFVO72cuneCT9oAlxAg= -github.com/jackc/pgx/v4 v4.6.1-0.20200510190926-94ba730bb1e9/go.mod h1:t3/cdRQl6fOLDxqtlyhe9UWgfIi9R8+8v8GKV5TRA/o= -github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904/go.mod h1:ZDaNWkt9sW1JMiNn0kdYBaLelIhw7Pg4qd+Vk6tw7Hg= -github.com/jackc/pgx/v4 v4.8.1/go.mod h1:4HOLxrl8wToZJReD04/yB20GDwf4KBYETvlHciCnwW0= -github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= -github.com/jackc/pgx/v4 v4.17.2 h1:0Ut0rpeKwvIVbMQ1KbMBU4h6wxehBI535LK6Flheh8E= -github.com/jackc/pgx/v4 v4.17.2/go.mod h1:lcxIZN44yMIrWI78a5CpucdD14hX0SBDbNRvjDBItsw= +github.com/jackc/pgx/v5 v5.4.3 h1:cxFyXhxlvAifxnkKKdlxv8XqUf59tDlYjnV5YYfsJJY= +github.com/jackc/pgx/v5 v5.4.3/go.mod h1:Ig06C2Vu0t5qXC60W8sqIthScaEnFvojjj9dSljmHRA= github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= -github.com/jackc/puddle v1.1.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= -github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= -github.com/jackc/puddle v1.3.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jandelgado/gcov2lcov v1.0.4-0.20210120124023-b83752c6dc08/go.mod h1:NnSxK6TMlg1oGDBfGelGbjgorT5/L3cchlbtgFYZSss= github.com/jcmturner/gofork v0.0.0-20190328161633-dc7c13fece03/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= github.com/jcmturner/gofork v1.0.0 h1:J7uCkflzTEhUZ64xqKnkDxq3kzc96ajM1Gli5ktUem8= @@ -876,7 +845,6 @@ github.com/jmoiron/sqlx v0.0.0-20180614180643-0dae4fefe7c0/go.mod h1:IiEW3SEiiEr github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901/go.mod h1:Z86h9688Y0wesXCyonoVr47MasHilkuLMqGhRZ4Hpak= github.com/joho/godotenv v1.2.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= -github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= @@ -952,9 +920,6 @@ github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.3.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.10.4 h1:SO9z7FRPzA03QhHKJrH5BXA6HU1rS4V2nIVrrNC1iYk= -github.com/lib/pq v1.10.4/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/luna-duclos/instrumentedsql v0.0.0-20181127104832-b7d587d28109/go.mod h1:PWUIzhtavmOR965zfawVsHXbEuU1G29BPZ/CB3C7jXk= github.com/luna-duclos/instrumentedsql v1.1.2/go.mod h1:4LGbEqDnopzNAiyxPPDXhLspyunZxgPTMJBKtC6U0BQ= github.com/luna-duclos/instrumentedsql v1.1.3/go.mod h1:9J1njvFds+zN7y85EDhN9XNQLANWwZt2ULeIC8yMNYs= @@ -1013,7 +978,6 @@ github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/ github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-sqlite3 v1.10.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/go-sqlite3 v1.14.0/go.mod h1:JIl7NbARA7phWnGvh0LKTyg7S9BA+6gx71ShQilpsus= github.com/mattn/go-sqlite3 v2.0.3+incompatible h1:gXHsfypPkaMZrKbD5209QV9jbUTJKjyR5WD3HYQSd+U= github.com/mattn/go-sqlite3 v2.0.3+incompatible/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= @@ -1185,8 +1149,8 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.3.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.4.0/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.5.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +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/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= @@ -1214,9 +1178,6 @@ github.com/serenize/snaker v0.0.0-20171204205717-a683aaf2d516/go.mod h1:Yow6lPLS github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= -github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= -github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ= -github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b/go.mod h1:ZpfEhSmds4ytuByIcDnOLkTHGUI6KNqRNPDLHDk+mUU= @@ -1384,20 +1345,14 @@ go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmY 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.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.5.1/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= -go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= 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.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= 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/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= 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.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= 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= @@ -1418,7 +1373,6 @@ golang.org/x/crypto v0.0.0-20190102171810-8d7daa0c54b3/go.mod h1:6SG95UA2DQfeDnf golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190320223903-b7391e95e576/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190404164418-38d8ce5564a5/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= @@ -1447,7 +1401,7 @@ golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5y 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.0.0-20220722155217-630584e8d5aa/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/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1494,7 +1448,6 @@ golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180816102801-aaf60122140d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1553,6 +1506,7 @@ golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96b 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/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -1668,11 +1622,13 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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/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/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1684,6 +1640,7 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 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/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1749,7 +1706,6 @@ 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-20191029190741-b9c20aec41a5/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= @@ -1758,7 +1714,6 @@ golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191224055732-dd894d0a8a40/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117220505-0cba7a3a9ee9/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -1996,18 +1951,15 @@ gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C 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= -gorm.io/driver/mysql v1.0.1/go.mod h1:KtqSthtg55lFp3S5kUXqlGaelnWpKitn4k1xZTnoiPw= gorm.io/driver/mysql v1.4.4 h1:MX0K9Qvy0Na4o7qSC/YI7XxqUw5KDw01umqgID+svdQ= gorm.io/driver/mysql v1.4.4/go.mod h1:BCg8cKI+R0j/rZRQxeKis/forqRwRSYOR8OM3Wo6hOM= -gorm.io/driver/postgres v1.0.0/go.mod h1:wtMFcOzmuA5QigNsgEIb7O5lhvH1tHAF1RbWmLWV4to= -gorm.io/driver/postgres v1.4.5 h1:mTeXTTtHAgnS9PgmhN2YeUbazYpLhUI1doLnw42XUZc= -gorm.io/driver/postgres v1.4.5/go.mod h1:GKNQYSJ14qvWkvPwXljMGehpKrhlDNsqYRr5HnYGncg= -gorm.io/driver/sqlite v1.1.1 h1:qtWqNAEUyi7gYSUAJXeiAMz0lUOdakZF5ia9Fqnp5G4= -gorm.io/driver/sqlite v1.1.1/go.mod h1:hm2olEcl8Tmsc6eZyxYSeznnsDaMqamBvEXLNtBg4cI= -gorm.io/driver/sqlserver v1.0.2 h1:FzxAlw0/7hntMzSiNfotpYCo9Lz8dqWQGdmCGqIiFGo= -gorm.io/driver/sqlserver v1.0.2/go.mod h1:gb0Y9QePGgqjzrVyTQUZeh9zkd5v0iz71cM1B4ZycEY= -gorm.io/gorm v1.24.1-0.20221019064659-5dd2bb482755 h1:7AdrbfcvKnzejfqP5g37fdSZOXH/JvaPIzBIHTOqXKk= -gorm.io/gorm v1.24.1-0.20221019064659-5dd2bb482755/go.mod h1:DVrVomtaYTbqs7gB/x2uVvqnXzv0nqjB396B8cG4dBA= +gorm.io/driver/postgres v1.5.3 h1:qKGY5CPHOuj47K/VxbCXJfFvIUeqMSXXadqdCY+MbBU= +gorm.io/driver/postgres v1.5.3/go.mod h1:F+LtvlFhZT7UBiA81mC9W6Su3D4WUhSboc/36QZU0gk= +gorm.io/driver/sqlite v1.5.4 h1:IqXwXi8M/ZlPzH/947tn5uik3aYQslP9BVveoax0nV0= +gorm.io/driver/sqlite v1.5.4/go.mod h1:qxAuCol+2r6PannQDpOP1FP6ag3mKi4esLnB/jHed+4= +gorm.io/gorm v1.23.8/go.mod h1:l2lP/RyAtc1ynaTjFksBde/O8v9oOGIApu2/xRitmZk= +gorm.io/gorm v1.25.4 h1:iyNd8fNAe8W9dvtlgeRI5zSVZPsq3OpcTu37cYcpCmw= +gorm.io/gorm v1.25.4/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k= gorm.io/plugin/opentelemetry v0.1.4 h1:7p0ocWELjSSRI7NCKPW2mVe6h43YPini99sNJcbsTuc= gorm.io/plugin/opentelemetry v0.1.4/go.mod h1:tndJHOdvPT0pyGhOb8E2209eXJCUxhC5UpKw7bGVWeI= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= diff --git a/flyteadmin/pkg/artifacts/registry.go b/flyteadmin/pkg/artifacts/registry.go new file mode 100644 index 0000000000..cdc0717ac6 --- /dev/null +++ b/flyteadmin/pkg/artifacts/registry.go @@ -0,0 +1,101 @@ +package artifacts + +import ( + "context" + "fmt" + + "google.golang.org/grpc" + + admin2 "github.com/flyteorg/flyte/flyteidl/clients/go/admin" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/logger" +) + +// ArtifactRegistry contains a client to talk to an Artifact service and has helper methods +type ArtifactRegistry struct { + client artifact.ArtifactRegistryClient +} + +func (a *ArtifactRegistry) RegisterArtifactProducer(ctx context.Context, id *core.Identifier, ti core.TypedInterface) { + if a == nil || a.client == nil { + logger.Debugf(ctx, "Artifact client not configured, skipping registration for task [%+v]", id) + return + } + + ap := &artifact.ArtifactProducer{ + EntityId: id, + Outputs: ti.Outputs, + } + _, err := a.client.RegisterProducer(ctx, &artifact.RegisterProducerRequest{ + Producers: []*artifact.ArtifactProducer{ap}, + }) + if err != nil { + logger.Errorf(ctx, "Failed to register artifact producer for task [%+v] with err: %v", id, err) + } + logger.Debugf(ctx, "Registered artifact producer [%+v]", id) +} + +func (a *ArtifactRegistry) RegisterArtifactConsumer(ctx context.Context, id *core.Identifier, pm core.ParameterMap) { + if a == nil || a.client == nil { + logger.Debugf(ctx, "Artifact client not configured, skipping registration for consumer [%+v]", id) + return + } + ac := &artifact.ArtifactConsumer{ + EntityId: id, + Inputs: &pm, + } + _, err := a.client.RegisterConsumer(ctx, &artifact.RegisterConsumerRequest{ + Consumers: []*artifact.ArtifactConsumer{ac}, + }) + if err != nil { + logger.Errorf(ctx, "Failed to register artifact consumer for entity [%+v] with err: %v", id, err) + } + logger.Debugf(ctx, "Registered artifact consumer [%+v]", id) +} + +func (a *ArtifactRegistry) RegisterTrigger(ctx context.Context, plan *admin.LaunchPlan) error { + if a == nil || a.client == nil { + logger.Debugf(ctx, "Artifact client not configured, skipping trigger [%+v]", plan) + return fmt.Errorf("artifact client not configured") + } + _, err := a.client.CreateTrigger(ctx, &artifact.CreateTriggerRequest{ + TriggerLaunchPlan: plan, + }) + if err != nil { + logger.Errorf(ctx, "Failed to register trigger for [%+v] with err: %v", plan.Id, err) + return err + } + logger.Debugf(ctx, "Registered trigger for [%+v]", plan.Id) + return nil +} + +func (a *ArtifactRegistry) GetClient() artifact.ArtifactRegistryClient { + if a == nil { + return nil + } + return a.client +} + +// NewArtifactRegistry todo: update this to return error, and proper cfg handling. +// if nil, should either call the default config or return an error +func NewArtifactRegistry(ctx context.Context, connCfg *admin2.Config, _ ...grpc.DialOption) *ArtifactRegistry { + + if connCfg == nil { + return &ArtifactRegistry{ + client: nil, + } + } + var cfg = connCfg + clients, err := admin2.NewClientsetBuilder().WithConfig(cfg).Build(ctx) + if err != nil { + logger.Errorf(ctx, "Failed to create Artifact client") + // too many calls to this function to update, just panic for now. + panic(err) + } + + return &ArtifactRegistry{ + client: clients.ArtifactServiceClient(), + } +} diff --git a/flyteadmin/pkg/artifacts/registry_test.go b/flyteadmin/pkg/artifacts/registry_test.go new file mode 100644 index 0000000000..2a0e337255 --- /dev/null +++ b/flyteadmin/pkg/artifacts/registry_test.go @@ -0,0 +1,29 @@ +package artifacts + +import ( + "context" + "testing" + + "github.com/stretchr/testify/assert" +) + +func TestRegistryNoClient(t *testing.T) { + r := NewArtifactRegistry(context.Background(), nil) + assert.Nil(t, r.GetClient()) +} + +type Parent struct { + R *ArtifactRegistry +} + +func TestPointerReceivers(t *testing.T) { + p := Parent{} + nilClient := p.R.GetClient() + assert.Nil(t, nilClient) +} + +func TestNilCheck(t *testing.T) { + r := NewArtifactRegistry(context.Background(), nil) + err := r.RegisterTrigger(context.Background(), nil) + assert.NotNil(t, err) +} diff --git a/flyteadmin/pkg/async/cloudevent/factory.go b/flyteadmin/pkg/async/cloudevent/factory.go index efa0848ccb..65cd48de93 100644 --- a/flyteadmin/pkg/async/cloudevent/factory.go +++ b/flyteadmin/pkg/async/cloudevent/factory.go @@ -16,23 +16,30 @@ import ( "github.com/flyteorg/flyte/flyteadmin/pkg/async/cloudevent/interfaces" "github.com/flyteorg/flyte/flyteadmin/pkg/async/notifications/implementations" "github.com/flyteorg/flyte/flyteadmin/pkg/common" + dataInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/data/interfaces" + repositoryInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/repositories/interfaces" runtimeInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/runtime/interfaces" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/flyteorg/flyte/flytestdlib/sandboxutils" + "github.com/flyteorg/flyte/flytestdlib/storage" ) -func NewCloudEventsPublisher(ctx context.Context, config runtimeInterfaces.CloudEventsConfig, scope promutils.Scope) interfaces.Publisher { - if !config.Enable { +func NewCloudEventsPublisher(ctx context.Context, db repositoryInterfaces.Repository, storageClient *storage.DataStore, urlData dataInterfaces.RemoteURLInterface, cloudEventsConfig runtimeInterfaces.CloudEventsConfig, remoteDataConfig runtimeInterfaces.RemoteDataConfig, scope promutils.Scope) interfaces.Publisher { + if !cloudEventsConfig.Enable { + logger.Infof(ctx, "CloudEvents are disabled, config is [+%v]", cloudEventsConfig) return implementations.NewNoopPublish() } - reconnectAttempts := config.ReconnectAttempts - reconnectDelay := time.Duration(config.ReconnectDelaySeconds) * time.Second - switch config.Type { + reconnectAttempts := cloudEventsConfig.ReconnectAttempts + reconnectDelay := time.Duration(cloudEventsConfig.ReconnectDelaySeconds) * time.Second + + var sender interfaces.Sender + switch cloudEventsConfig.Type { case common.AWS: snsConfig := gizmoAWS.SNSConfig{ - Topic: config.EventsPublisherConfig.TopicName, + Topic: cloudEventsConfig.EventsPublisherConfig.TopicName, } - snsConfig.Region = config.AWSConfig.Region + snsConfig.Region = cloudEventsConfig.AWSConfig.Region var publisher pubsub.Publisher var err error @@ -45,12 +52,13 @@ func NewCloudEventsPublisher(ctx context.Context, config runtimeInterfaces.Cloud if err != nil { panic(err) } - return cloudEventImplementations.NewCloudEventsPublisher(&cloudEventImplementations.PubSubSender{Pub: publisher}, scope, config.EventsPublisherConfig.EventTypes) + sender = &cloudEventImplementations.PubSubSender{Pub: publisher} + case common.GCP: pubsubConfig := gizmoGCP.Config{ - Topic: config.EventsPublisherConfig.TopicName, + Topic: cloudEventsConfig.EventsPublisherConfig.TopicName, } - pubsubConfig.ProjectID = config.GCPConfig.ProjectID + pubsubConfig.ProjectID = cloudEventsConfig.GCPConfig.ProjectID var publisher pubsub.MultiPublisher var err error err = async.Retry(reconnectAttempts, reconnectDelay, func() error { @@ -61,30 +69,46 @@ func NewCloudEventsPublisher(ctx context.Context, config runtimeInterfaces.Cloud if err != nil { panic(err) } - return cloudEventImplementations.NewCloudEventsPublisher(&cloudEventImplementations.PubSubSender{Pub: publisher}, scope, config.EventsPublisherConfig.EventTypes) + sender = &cloudEventImplementations.PubSubSender{Pub: publisher} + case cloudEventImplementations.Kafka: saramaConfig := sarama.NewConfig() var err error - saramaConfig.Version, err = sarama.ParseKafkaVersion(config.KafkaConfig.Version) + saramaConfig.Version, err = sarama.ParseKafkaVersion(cloudEventsConfig.KafkaConfig.Version) if err != nil { logger.Fatalf(ctx, "failed to parse kafka version, %v", err) panic(err) } - sender, err := kafka_sarama.NewSender(config.KafkaConfig.Brokers, saramaConfig, config.EventsPublisherConfig.TopicName) + kafkaSender, err := kafka_sarama.NewSender(cloudEventsConfig.KafkaConfig.Brokers, saramaConfig, cloudEventsConfig.EventsPublisherConfig.TopicName) if err != nil { panic(err) } - client, err := cloudevents.NewClient(sender, cloudevents.WithTimeNow(), cloudevents.WithUUIDs()) + client, err := cloudevents.NewClient(kafkaSender, cloudevents.WithTimeNow(), cloudevents.WithUUIDs()) if err != nil { logger.Fatalf(ctx, "failed to create kafka client, %v", err) panic(err) } - return cloudEventImplementations.NewCloudEventsPublisher(&cloudEventImplementations.KafkaSender{Client: client}, scope, config.EventsPublisherConfig.EventTypes) + sender = &cloudEventImplementations.KafkaSender{Client: client} + + case common.Sandbox: + var publisher pubsub.Publisher + publisher = sandboxutils.NewCloudEventsPublisher() + sender = &cloudEventImplementations.PubSubSender{ + Pub: publisher, + } + case common.Local: fallthrough default: logger.Infof(ctx, - "Using default noop cloud events publisher implementation for config type [%s]", config.Type) + "Using default noop cloud events publisher implementation for config type [%s]", cloudEventsConfig.Type) return implementations.NewNoopPublish() } + + if cloudEventsConfig.CloudEventVersion == runtimeInterfaces.CloudEventVersionv2 { + return cloudEventImplementations.NewCloudEventsWrappedPublisher(db, sender, scope, storageClient, urlData, remoteDataConfig) + } + + return cloudEventImplementations.NewCloudEventsPublisher(sender, scope, cloudEventsConfig.EventsPublisherConfig.EventTypes) + } diff --git a/flyteadmin/pkg/async/cloudevent/factory_test.go b/flyteadmin/pkg/async/cloudevent/factory_test.go index 6d6c1a881c..5902dfb6ce 100644 --- a/flyteadmin/pkg/async/cloudevent/factory_test.go +++ b/flyteadmin/pkg/async/cloudevent/factory_test.go @@ -5,27 +5,53 @@ import ( "testing" "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" "github.com/flyteorg/flyte/flyteadmin/pkg/async/cloudevent/implementations" "github.com/flyteorg/flyte/flyteadmin/pkg/common" + dataMocks "github.com/flyteorg/flyte/flyteadmin/pkg/data/mocks" + "github.com/flyteorg/flyte/flyteadmin/pkg/repositories/mocks" runtimeInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/runtime/interfaces" "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/flyteorg/flyte/flytestdlib/storage" + storageMocks "github.com/flyteorg/flyte/flytestdlib/storage/mocks" ) +func getMockStore() *storage.DataStore { + pbStore := &storageMocks.ComposedProtobufStore{} + pbStore.OnReadProtobufMatch(mock.Anything, mock.Anything, mock.Anything).Return(nil).Run(func(_ mock.Arguments) { + + }) + + mockStore := &storage.DataStore{ + ComposedProtobufStore: pbStore, + ReferenceConstructor: &storageMocks.ReferenceConstructor{}, + } + return mockStore +} + +var remoteCfg = runtimeInterfaces.RemoteDataConfig{ + Scheme: "", +} + func TestGetCloudEventPublisher(t *testing.T) { cfg := runtimeInterfaces.CloudEventsConfig{ Enable: true, EventsPublisherConfig: runtimeInterfaces.EventsPublisherConfig{TopicName: "topic"}, } + db := mocks.NewMockRepository() + mockStore := getMockStore() + url := dataMocks.NewMockRemoteURL() + t.Run("local publisher", func(t *testing.T) { cfg.Type = common.Local - assert.NotNil(t, NewCloudEventsPublisher(context.Background(), cfg, promutils.NewTestScope())) + assert.NotNil(t, NewCloudEventsPublisher(context.Background(), db, mockStore, url, cfg, remoteCfg, promutils.NewTestScope())) }) t.Run("disable cloud event publisher", func(t *testing.T) { cfg.Enable = false - assert.NotNil(t, NewCloudEventsPublisher(context.Background(), cfg, promutils.NewTestScope())) + assert.NotNil(t, NewCloudEventsPublisher(context.Background(), db, mockStore, url, cfg, remoteCfg, promutils.NewTestScope())) }) } @@ -36,7 +62,11 @@ func TestInvalidAwsConfig(t *testing.T) { Type: common.AWS, EventsPublisherConfig: runtimeInterfaces.EventsPublisherConfig{TopicName: "topic"}, } - NewCloudEventsPublisher(context.Background(), cfg, promutils.NewTestScope()) + db := mocks.NewMockRepository() + mockStore := getMockStore() + url := dataMocks.NewMockRemoteURL() + + NewCloudEventsPublisher(context.Background(), db, mockStore, url, cfg, remoteCfg, promutils.NewTestScope()) t.Errorf("did not panic") } @@ -47,7 +77,11 @@ func TestInvalidGcpConfig(t *testing.T) { Type: common.GCP, EventsPublisherConfig: runtimeInterfaces.EventsPublisherConfig{TopicName: "topic"}, } - NewCloudEventsPublisher(context.Background(), cfg, promutils.NewTestScope()) + db := mocks.NewMockRepository() + mockStore := getMockStore() + url := dataMocks.NewMockRemoteURL() + + NewCloudEventsPublisher(context.Background(), db, mockStore, url, cfg, remoteCfg, promutils.NewTestScope()) t.Errorf("did not panic") } @@ -59,8 +93,12 @@ func TestInvalidKafkaConfig(t *testing.T) { EventsPublisherConfig: runtimeInterfaces.EventsPublisherConfig{TopicName: "topic"}, KafkaConfig: runtimeInterfaces.KafkaConfig{Version: "0.8.2.0"}, } - NewCloudEventsPublisher(context.Background(), cfg, promutils.NewTestScope()) + db := mocks.NewMockRepository() + mockStore := getMockStore() + url := dataMocks.NewMockRemoteURL() + + NewCloudEventsPublisher(context.Background(), db, mockStore, url, cfg, remoteCfg, promutils.NewTestScope()) cfg.KafkaConfig = runtimeInterfaces.KafkaConfig{Version: "2.1.0"} - NewCloudEventsPublisher(context.Background(), cfg, promutils.NewTestScope()) + NewCloudEventsPublisher(context.Background(), db, mockStore, url, cfg, remoteCfg, promutils.NewTestScope()) t.Errorf("did not panic") } diff --git a/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go b/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go index 925e7ef18f..20bdc0203d 100644 --- a/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go +++ b/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go @@ -14,13 +14,24 @@ import ( "github.com/flyteorg/flyte/flyteadmin/pkg/async/cloudevent/interfaces" "github.com/flyteorg/flyte/flyteadmin/pkg/async/notifications/implementations" + "github.com/flyteorg/flyte/flyteadmin/pkg/common" + dataInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/data/interfaces" + "github.com/flyteorg/flyte/flyteadmin/pkg/manager/impl/util" + repositoryInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/repositories/interfaces" + "github.com/flyteorg/flyte/flyteadmin/pkg/repositories/models" + "github.com/flyteorg/flyte/flyteadmin/pkg/repositories/transformers" + runtimeInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/runtime/interfaces" "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/contextutils" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/flyteorg/flyte/flytestdlib/storage" ) const ( - cloudEventSource = "https://github.com/flyteorg/flyteadmin" + cloudEventSource = "https://github.com/flyteorg/flyte/flyteadmin" cloudEventTypePrefix = "com.flyte.resource" jsonSchemaURLKey = "jsonschemaurl" jsonSchemaURL = "https://github.com/flyteorg/flyteidl/blob/v0.24.14/jsonschema/workflow_execution.json" @@ -102,20 +113,416 @@ func (p *Publisher) shouldPublishEvent(notificationType string) bool { return p.events.Has(notificationType) } +type CloudEventWrappedPublisher struct { + db repositoryInterfaces.Repository + sender interfaces.Sender + systemMetrics implementations.EventPublisherSystemMetrics + storageClient *storage.DataStore + urlData dataInterfaces.RemoteURLInterface + remoteDataConfig runtimeInterfaces.RemoteDataConfig +} + +func (c *CloudEventWrappedPublisher) TransformWorkflowExecutionEvent(ctx context.Context, rawEvent *event.WorkflowExecutionEvent) (*event.CloudEventWorkflowExecution, error) { + + // Basic error checking + if rawEvent == nil { + return nil, fmt.Errorf("nothing to publish, WorkflowExecution event is nil") + } + if rawEvent.ExecutionId == nil { + logger.Warningf(ctx, "nil execution id in event [%+v]", rawEvent) + return nil, fmt.Errorf("nil execution id in event [%+v]", rawEvent) + } + + // For now, don't append any additional information unless succeeded + if rawEvent.Phase != core.WorkflowExecution_SUCCEEDED { + return &event.CloudEventWorkflowExecution{ + RawEvent: rawEvent, + OutputData: nil, + OutputInterface: nil, + }, nil + } + + // TODO: Make this one call to the DB instead of two. + executionModel, err := c.db.ExecutionRepo().Get(ctx, repositoryInterfaces.Identifier{ + Project: rawEvent.ExecutionId.Project, + Domain: rawEvent.ExecutionId.Domain, + Name: rawEvent.ExecutionId.Name, + }) + if err != nil { + logger.Warningf(ctx, "couldn't find execution [%+v] for cloud event processing", rawEvent.ExecutionId) + return nil, err + } + ex, err := transformers.FromExecutionModel(ctx, executionModel, transformers.DefaultExecutionTransformerOptions) + if err != nil { + logger.Warningf(ctx, "couldn't transform execution [%+v] for cloud event processing", rawEvent.ExecutionId) + return nil, err + } + if ex.Closure.WorkflowId == nil { + logger.Warningf(ctx, "workflow id is nil for execution [%+v]", ex) + return nil, fmt.Errorf("workflow id is nil for execution [%+v]", ex) + } + workflowModel, err := c.db.WorkflowRepo().Get(ctx, repositoryInterfaces.Identifier{ + Project: ex.Closure.WorkflowId.Project, + Domain: ex.Closure.WorkflowId.Domain, + Name: ex.Closure.WorkflowId.Name, + Version: ex.Closure.WorkflowId.Version, + }) + if err != nil { + logger.Warningf(ctx, "couldn't find workflow [%+v] for cloud event processing", ex.Closure.WorkflowId) + return nil, err + } + var workflowInterface core.TypedInterface + if workflowModel.TypedInterface != nil && len(workflowModel.TypedInterface) > 0 { + err = proto.Unmarshal(workflowModel.TypedInterface, &workflowInterface) + if err != nil { + return nil, fmt.Errorf( + "artifact eventing - failed to unmarshal TypedInterface for workflow [%+v] with err: %v", + workflowModel.ID, err) + } + } + + // Get inputs to the workflow execution + var inputs *core.LiteralMap + inputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, + c.storageClient, executionModel.InputsURI.String()) + if err != nil { + logger.Warningf(ctx, "Error fetching input literal map %s", executionModel.InputsURI.String()) + } + // The spec is used to retrieve metadata fields + spec := &admin.ExecutionSpec{} + err = proto.Unmarshal(executionModel.Spec, spec) + if err != nil { + fmt.Printf("there was an error with spec %v %v", err, executionModel.Spec) + } + + // Get outputs from the workflow execution + var outputs *core.LiteralMap + if rawEvent.GetOutputData() != nil { + outputs = rawEvent.GetOutputData() + } else if len(rawEvent.GetOutputUri()) > 0 { + // GetInputs actually fetches the data, even though this is an output + outputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, c.storageClient, rawEvent.GetOutputUri()) + if err != nil { + // gatepr: metric this + logger.Warningf(ctx, "Error fetching output literal map %v", rawEvent) + return nil, err + } + } + + return &event.CloudEventWorkflowExecution{ + RawEvent: rawEvent, + OutputData: outputs, + OutputInterface: &workflowInterface, + InputData: inputs, + ArtifactIds: spec.GetMetadata().GetArtifactIds(), + ReferenceExecution: spec.GetMetadata().GetReferenceExecution(), + Principal: spec.GetMetadata().Principal, + LaunchPlanId: spec.LaunchPlan, + }, nil +} + +func getNodeExecutionContext(ctx context.Context, identifier *core.NodeExecutionIdentifier) context.Context { + ctx = contextutils.WithProjectDomain(ctx, identifier.ExecutionId.Project, identifier.ExecutionId.Domain) + ctx = contextutils.WithExecutionID(ctx, identifier.ExecutionId.Name) + return contextutils.WithNodeID(ctx, identifier.NodeId) +} + +// This is a rough copy of the ListTaskExecutions function in TaskExecutionManager. It can be deprecated once we move the processing out of Admin itself. +// Just return the highest retry attempt. +func (c *CloudEventWrappedPublisher) getLatestTaskExecutions(ctx context.Context, nodeExecutionID core.NodeExecutionIdentifier) (*admin.TaskExecution, error) { + ctx = getNodeExecutionContext(ctx, &nodeExecutionID) + + identifierFilters, err := util.GetNodeExecutionIdentifierFilters(ctx, nodeExecutionID) + if err != nil { + return nil, err + } + + sort := admin.Sort{ + Key: "retry_attempt", + Direction: 0, + } + sortParameter, err := common.NewSortParameter(&sort, models.TaskExecutionColumns) + if err != nil { + return nil, err + } + + output, err := c.db.TaskExecutionRepo().List(ctx, repositoryInterfaces.ListResourceInput{ + InlineFilters: identifierFilters, + Offset: 0, + Limit: 1, + SortParameter: sortParameter, + }) + if err != nil { + return nil, err + } + if output.TaskExecutions == nil || len(output.TaskExecutions) == 0 { + logger.Debugf(ctx, "no task executions found for node exec id [%+v]", nodeExecutionID) + return nil, nil + } + + taskExecutionList, err := transformers.FromTaskExecutionModels(output.TaskExecutions, transformers.DefaultExecutionTransformerOptions) + if err != nil { + logger.Debugf(ctx, "failed to transform task execution models for node exec id [%+v] with err: %v", nodeExecutionID, err) + return nil, err + } + + return taskExecutionList[0], nil +} + +func (c *CloudEventWrappedPublisher) TransformNodeExecutionEvent(ctx context.Context, rawEvent *event.NodeExecutionEvent) (*event.CloudEventNodeExecution, error) { + if rawEvent == nil || rawEvent.Id == nil { + return nil, fmt.Errorf("nothing to publish, NodeExecution event or ID is nil") + } + + // Skip nodes unless they're succeeded and not start nodes + if rawEvent.Phase != core.NodeExecution_SUCCEEDED { + return &event.CloudEventNodeExecution{ + RawEvent: rawEvent, + }, nil + } else if rawEvent.Id.NodeId == "start-node" { + return &event.CloudEventNodeExecution{ + RawEvent: rawEvent, + }, nil + } + // metric + + // This gets the parent workflow execution metadata + executionModel, err := c.db.ExecutionRepo().Get(ctx, repositoryInterfaces.Identifier{ + Project: rawEvent.Id.ExecutionId.Project, + Domain: rawEvent.Id.ExecutionId.Domain, + Name: rawEvent.Id.ExecutionId.Name, + }) + if err != nil { + logger.Infof(ctx, "couldn't find execution [%+v] for cloud event processing", rawEvent.Id.ExecutionId) + return nil, err + } + + spec := &admin.ExecutionSpec{} + err = proto.Unmarshal(executionModel.Spec, spec) + if err != nil { + fmt.Printf("there was an error with spec %v %v", err, executionModel.Spec) + } + + // Get inputs/outputs + // This will likely need to move to the artifact service side, given message size limits. + // Replace with call to GetNodeExecutionData + var inputs *core.LiteralMap + logger.Debugf(ctx, "RawEvent id %v", rawEvent.Id) + if len(rawEvent.GetInputUri()) > 0 { + inputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, + c.storageClient, rawEvent.GetInputUri()) + logger.Debugf(ctx, "RawEvent input uri %v, %v", rawEvent.GetInputUri(), inputs) + + if err != nil { + fmt.Printf("Error fetching input literal map %v", rawEvent) + } + } else if rawEvent.GetInputData() != nil { + inputs = rawEvent.GetInputData() + logger.Debugf(ctx, "RawEvent input data %v, %v", rawEvent.GetInputData(), inputs) + } else { + logger.Infof(ctx, "Node execution for node exec [%+v] has no input data", rawEvent.Id) + } + + // This will likely need to move to the artifact service side, given message size limits. + var outputs *core.LiteralMap + if rawEvent.GetOutputData() != nil { + outputs = rawEvent.GetOutputData() + } else if len(rawEvent.GetOutputUri()) > 0 { + // GetInputs actually fetches the data, even though this is an output + outputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, + c.storageClient, rawEvent.GetOutputUri()) + if err != nil { + fmt.Printf("Error fetching output literal map %v", rawEvent) + return nil, err + } + } + + // Fetch the latest task execution if any, and pull out the task interface, if applicable. + // These are optional fields... if the node execution doesn't have a task execution then these will be empty. + var taskExecID *core.TaskExecutionIdentifier + var typedInterface *core.TypedInterface + + lte, err := c.getLatestTaskExecutions(ctx, *rawEvent.Id) + if err != nil { + logger.Errorf(ctx, "failed to get latest task execution for node exec id [%+v] with err: %v", rawEvent.Id, err) + return nil, err + } + if lte != nil { + taskModel, err := c.db.TaskRepo().Get(ctx, repositoryInterfaces.Identifier{ + Project: lte.Id.TaskId.Project, + Domain: lte.Id.TaskId.Domain, + Name: lte.Id.TaskId.Name, + Version: lte.Id.TaskId.Version, + }) + if err != nil { + // TODO: metric this + // metric + logger.Debugf(ctx, "Failed to get task with task id [%+v] with err %v", lte.Id.TaskId, err) + return nil, err + } + task, err := transformers.FromTaskModel(taskModel) + if err != nil { + logger.Debugf(ctx, "Failed to transform task model with err %v", err) + return nil, err + } + typedInterface = task.Closure.CompiledTask.Template.Interface + taskExecID = lte.Id + } + + logger.Debugf(ctx, "RawEvent inputs %v", inputs) + return &event.CloudEventNodeExecution{ + RawEvent: rawEvent, + TaskExecId: taskExecID, + OutputData: outputs, + OutputInterface: typedInterface, + InputData: inputs, + ArtifactIds: spec.GetMetadata().GetArtifactIds(), + Principal: spec.GetMetadata().Principal, + LaunchPlanId: spec.LaunchPlan, + }, nil +} + +func (c *CloudEventWrappedPublisher) TransformTaskExecutionEvent(ctx context.Context, rawEvent *event.TaskExecutionEvent) (*event.CloudEventTaskExecution, error) { + + if rawEvent == nil { + return nil, fmt.Errorf("nothing to publish, TaskExecution event is nil") + } + + return &event.CloudEventTaskExecution{ + RawEvent: rawEvent, + }, nil +} + +func (c *CloudEventWrappedPublisher) Publish(ctx context.Context, notificationType string, msg proto.Message) error { + c.systemMetrics.PublishTotal.Inc() + logger.Debugf(ctx, "Publishing the following message [%+v]", msg) + + var err error + var executionID string + var phase string + var eventTime time.Time + var finalMsg proto.Message + // this is a modified notification type. will be used for both event type and publishing topic. + var topic string + var eventID string + var eventSource = cloudEventSource + + switch msgType := msg.(type) { + case *admin.WorkflowExecutionEventRequest: + topic = "cloudevents.WorkflowExecution" + e := msgType.Event + executionID = e.ExecutionId.String() + phase = e.Phase.String() + eventTime = e.OccurredAt.AsTime() + + dummyNodeExecutionID := core.NodeExecutionIdentifier{ + NodeId: "end-node", + ExecutionId: e.ExecutionId, + } + // This forms part of the key in the Artifact store, + // but it should probably be entirely derived by that service instead. + eventSource = common.FlyteURLKeyFromNodeExecutionID(dummyNodeExecutionID) + finalMsg, err = c.TransformWorkflowExecutionEvent(ctx, e) + if err != nil { + logger.Errorf(ctx, "Failed to transform workflow execution event with error: %v", err) + return err + } + eventID = fmt.Sprintf("%v.%v", executionID, phase) + + case *admin.TaskExecutionEventRequest: + topic = "cloudevents.TaskExecution" + e := msgType.Event + executionID = e.TaskId.String() + phase = e.Phase.String() + eventTime = e.OccurredAt.AsTime() + eventID = fmt.Sprintf("%v.%v", executionID, phase) + + if e.ParentNodeExecutionId == nil { + return fmt.Errorf("parent node execution id is nil for task execution [%+v]", e) + } + eventSource = common.FlyteURLKeyFromNodeExecutionIDRetry(*e.ParentNodeExecutionId, + int(e.RetryAttempt)) + finalMsg, err = c.TransformTaskExecutionEvent(ctx, e) + if err != nil { + logger.Errorf(ctx, "Failed to transform task execution event with error: %v", err) + return err + } + case *admin.NodeExecutionEventRequest: + topic = "cloudevents.NodeExecution" + e := msgType.Event + executionID = msgType.Event.Id.String() + phase = e.Phase.String() + eventTime = e.OccurredAt.AsTime() + eventID = fmt.Sprintf("%v.%v", executionID, phase) + eventSource = common.FlyteURLKeyFromNodeExecutionID(*msgType.Event.Id) + finalMsg, err = c.TransformNodeExecutionEvent(ctx, e) + if err != nil { + logger.Errorf(ctx, "Failed to transform node execution event with error: %v", err) + return err + } + case *event.CloudEventExecutionStart: + topic = "cloudevents.ExecutionStart" + executionID = msgType.ExecutionId.String() + eventID = fmt.Sprintf("%v", executionID) + eventTime = time.Now() + // CloudEventExecutionStart don't have a nested event + finalMsg = msgType + default: + return fmt.Errorf("unsupported event types [%+v]", reflect.TypeOf(msg)) + } + + // Explicitly jsonpb marshal the proto. Otherwise, event.SetData will use json.Marshal which doesn't work well + // with proto oneof fields. + marshaler := jsonpb.Marshaler{} + buf := bytes.NewBuffer([]byte{}) + err = marshaler.Marshal(buf, finalMsg) + if err != nil { + c.systemMetrics.PublishError.Inc() + logger.Errorf(ctx, "Failed to jsonpb marshal [%v] with error: %v", msg, err) + return fmt.Errorf("failed to jsonpb marshal [%v] with error: %w", msg, err) + } + + cloudEvt := cloudevents.NewEvent() + // CloudEvent specification: https://github.com/cloudevents/spec/blob/v1.0/spec.md#required-attributes + cloudEvt.SetType(fmt.Sprintf("%v.%v", cloudEventTypePrefix, topic)) + // According to the spec, the combination of source and id should be unique. + // Artifact service's uniqueness is project/domain/suffix. project/domain are available from the execution id. + // so set the suffix as the source. Can ignore ID since Artifact will only listen to succeeded events. + cloudEvt.SetSource(eventSource) + cloudEvt.SetID(eventID) + cloudEvt.SetTime(eventTime) + // TODO: Fill this in after we can get auto-generation in buf. + cloudEvt.SetExtension(jsonSchemaURLKey, "") + + if err := cloudEvt.SetData(cloudevents.ApplicationJSON, buf.Bytes()); err != nil { + c.systemMetrics.PublishError.Inc() + logger.Errorf(ctx, "Failed to encode message [%v] with error: %v", msg, err) + return err + } + + if err := c.sender.Send(ctx, topic, cloudEvt); err != nil { + c.systemMetrics.PublishError.Inc() + logger.Errorf(ctx, "Failed to send message [%v] with error: %v", msg, err) + return err + } + c.systemMetrics.PublishSuccess.Inc() + return nil +} + func NewCloudEventsPublisher(sender interfaces.Sender, scope promutils.Scope, eventTypes []string) interfaces.Publisher { eventSet := sets.NewString() - for _, event := range eventTypes { - if event == implementations.AllTypes || event == implementations.AllTypesShort { + for _, eventType := range eventTypes { + if eventType == implementations.AllTypes || eventType == implementations.AllTypesShort { for _, e := range implementations.SupportedEvents { eventSet = eventSet.Insert(e) } break } - if e, found := implementations.SupportedEvents[event]; found { + if e, found := implementations.SupportedEvents[eventType]; found { eventSet = eventSet.Insert(e) } else { - panic(fmt.Errorf("unsupported event type [%s] in the config", event)) + panic(fmt.Errorf("unsupported event type [%s] in the config", eventType)) } } @@ -125,3 +532,16 @@ func NewCloudEventsPublisher(sender interfaces.Sender, scope promutils.Scope, ev events: eventSet, } } + +func NewCloudEventsWrappedPublisher( + db repositoryInterfaces.Repository, sender interfaces.Sender, scope promutils.Scope, storageClient *storage.DataStore, urlData dataInterfaces.RemoteURLInterface, remoteDataConfig runtimeInterfaces.RemoteDataConfig) interfaces.Publisher { + + return &CloudEventWrappedPublisher{ + db: db, + sender: sender, + systemMetrics: implementations.NewEventPublisherSystemMetrics(scope.NewSubScope("cloudevents_publisher")), + storageClient: storageClient, + urlData: urlData, + remoteDataConfig: remoteDataConfig, + } +} diff --git a/flyteadmin/pkg/common/flyte_url.go b/flyteadmin/pkg/common/flyte_url.go index 195963535e..49ba984cd5 100644 --- a/flyteadmin/pkg/common/flyte_url.go +++ b/flyteadmin/pkg/common/flyte_url.go @@ -139,6 +139,23 @@ func FlyteURLsFromNodeExecutionID(nodeExecutionID core.NodeExecutionIdentifier, return res } +// FlyteURLKeyFromNodeExecutionID is a modified version of the function above. +// This constructs a fully unique prefix, and when post-pended with the output name, forms a fully unique name for +// the artifact service (including the project/domain of course, which the artifact service will add). +func FlyteURLKeyFromNodeExecutionID(nodeExecutionID core.NodeExecutionIdentifier) string { + res := fmt.Sprintf("%s/%s", nodeExecutionID.ExecutionId.Name, nodeExecutionID.NodeId) + + return res +} + +// FlyteURLKeyFromNodeExecutionIDRetry is a modified version of the function above. +// See the uniqueness comment above. +func FlyteURLKeyFromNodeExecutionIDRetry(nodeExecutionID core.NodeExecutionIdentifier, retry int) string { + res := fmt.Sprintf("%s/%s/%s", nodeExecutionID.ExecutionId.Name, nodeExecutionID.NodeId, strconv.Itoa(retry)) + + return res +} + func FlyteURLsFromTaskExecutionID(taskExecutionID core.TaskExecutionIdentifier, deck bool) *admin.FlyteURLs { base := fmt.Sprintf("flyte://v1/%s/%s/%s/%s/%s", taskExecutionID.NodeExecutionId.ExecutionId.Project, taskExecutionID.NodeExecutionId.ExecutionId.Domain, taskExecutionID.NodeExecutionId.ExecutionId.Name, taskExecutionID.NodeExecutionId.NodeId, strconv.Itoa(int(taskExecutionID.RetryAttempt))) diff --git a/flyteadmin/pkg/manager/impl/exec_manager_other_test.go b/flyteadmin/pkg/manager/impl/exec_manager_other_test.go new file mode 100644 index 0000000000..35b8e14d5b --- /dev/null +++ b/flyteadmin/pkg/manager/impl/exec_manager_other_test.go @@ -0,0 +1,65 @@ +package impl + +import ( + "context" + "fmt" + "testing" + + "github.com/stretchr/testify/assert" + + "github.com/flyteorg/flyte/flyteadmin/pkg/artifacts" + eventWriterMocks "github.com/flyteorg/flyte/flyteadmin/pkg/async/events/mocks" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + mockScope "github.com/flyteorg/flyte/flytestdlib/promutils" +) + +func TestResolveNotWorking(t *testing.T) { + mockConfig := getMockExecutionsConfigProvider() + + execManager := NewExecutionManager(nil, nil, mockConfig, nil, mockScope.NewTestScope(), mockScope.NewTestScope(), nil, nil, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)).(*ExecutionManager) + + pm, artifactIDs, err := execManager.ResolveParameterMapArtifacts(context.Background(), nil, nil) + assert.Nil(t, err) + fmt.Println(pm, artifactIDs) + +} + +func TestTrackingBitExtract(t *testing.T) { + mockConfig := getMockExecutionsConfigProvider() + + execManager := NewExecutionManager(nil, nil, mockConfig, nil, mockScope.NewTestScope(), mockScope.NewTestScope(), nil, nil, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)).(*ExecutionManager) + + lit := core.Literal{ + Value: &core.Literal_Scalar{ + Scalar: &core.Scalar{ + Value: &core.Scalar_Primitive{ + Primitive: &core.Primitive{ + Value: &core.Primitive_Integer{ + Integer: 1, + }, + }, + }, + }, + }, + Metadata: map[string]string{"_ua": "proj/domain/name@version"}, + } + inputMap := core.LiteralMap{ + Literals: map[string]*core.Literal{ + "a": &lit, + }, + } + inputColl := core.LiteralCollection{ + Literals: []*core.Literal{ + &lit, + }, + } + + trackers := execManager.ExtractArtifactKeys(&lit) + assert.Equal(t, 1, len(trackers)) + + trackers = execManager.ExtractArtifactKeys(&core.Literal{Value: &core.Literal_Map{Map: &inputMap}}) + assert.Equal(t, 1, len(trackers)) + trackers = execManager.ExtractArtifactKeys(&core.Literal{Value: &core.Literal_Collection{Collection: &inputColl}}) + assert.Equal(t, 1, len(trackers)) + assert.Equal(t, "proj/domain/name@version", trackers[0]) +} diff --git a/flyteadmin/pkg/manager/impl/execution_manager.go b/flyteadmin/pkg/manager/impl/execution_manager.go index 8a444d4fb5..db02fabf07 100644 --- a/flyteadmin/pkg/manager/impl/execution_manager.go +++ b/flyteadmin/pkg/manager/impl/execution_manager.go @@ -14,6 +14,7 @@ import ( "google.golang.org/grpc/codes" "github.com/flyteorg/flyte/flyteadmin/auth" + "github.com/flyteorg/flyte/flyteadmin/pkg/artifacts" cloudeventInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/async/cloudevent/interfaces" eventWriter "github.com/flyteorg/flyte/flyteadmin/pkg/async/events/interfaces" "github.com/flyteorg/flyte/flyteadmin/pkg/async/notifications" @@ -34,7 +35,9 @@ import ( workflowengineInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/workflowengine/interfaces" "github.com/flyteorg/flyte/flyteadmin/plugins" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" "github.com/flyteorg/flyte/flyteplugins/go/tasks/pluginmachinery/flytek8s" "github.com/flyteorg/flyte/flytestdlib/contextutils" "github.com/flyteorg/flyte/flytestdlib/logger" @@ -91,6 +94,7 @@ type ExecutionManager struct { cloudEventPublisher notificationInterfaces.Publisher dbEventWriter eventWriter.WorkflowExecutionEventWriter pluginRegistry *plugins.Registry + artifactRegistry *artifacts.ArtifactRegistry } func getExecutionContext(ctx context.Context, id *core.WorkflowExecutionIdentifier) context.Context { @@ -696,9 +700,257 @@ func resolveSecurityCtx(ctx context.Context, executionConfigSecurityCtx *core.Se } } +// ExtractArtifactKeys pulls out artifact keys from Literals for lineage +// todo: rename this function to be less confusing +func (m *ExecutionManager) ExtractArtifactKeys(input *core.Literal) []string { + var artifactKeys []string + + if input == nil { + return artifactKeys + } + if input.GetMetadata() != nil { + if artifactKey, ok := input.GetMetadata()["_ua"]; ok { + artifactKeys = append(artifactKeys, artifactKey) + } + } + if input.GetCollection() != nil { + for _, v := range input.GetCollection().Literals { + mapKeys := m.ExtractArtifactKeys(v) + artifactKeys = append(artifactKeys, mapKeys...) + } + } else if input.GetMap() != nil { + for _, v := range input.GetMap().Literals { + mapKeys := m.ExtractArtifactKeys(v) + artifactKeys = append(artifactKeys, mapKeys...) + } + } + return artifactKeys +} + +// getStringFromInput should be called when a tag or partition value is a binding to an input. the input is looked up +// from the input map and the binding, and an error is returned if the input key is not in the map. +func (m *ExecutionManager) getStringFromInput(ctx context.Context, inputBinding core.InputBindingData, inputs map[string]*core.Literal) (string, error) { + + inputName := inputBinding.GetVar() + if inputName == "" { + return "", errors.NewFlyteAdminErrorf(codes.InvalidArgument, "input binding var is empty") + } + if inputVal, ok := inputs[inputName]; ok { + if inputVal.GetScalar() == nil || inputVal.GetScalar().GetPrimitive() == nil { + return "", errors.NewFlyteAdminErrorf(codes.InvalidArgument, "invalid input value [%+v]", inputVal) + } + var strVal string + p := inputVal.GetScalar().GetPrimitive() + switch p.GetValue().(type) { + case *core.Primitive_Integer: + strVal = p.GetStringValue() + case *core.Primitive_Datetime: + t := time.Unix(p.GetDatetime().Seconds, int64(p.GetDatetime().Nanos)) + strVal = t.Format("2006-01-02") + case *core.Primitive_StringValue: + strVal = p.GetStringValue() + case *core.Primitive_FloatValue: + strVal = fmt.Sprintf("%.2f", p.GetFloatValue()) + case *core.Primitive_Boolean: + strVal = fmt.Sprintf("%t", p.GetBoolean()) + default: + strVal = fmt.Sprintf("%s", p.GetValue()) + } + + logger.Debugf(ctx, "String templating returning [%s] for [%+v]", strVal, inputVal) + return strVal, nil + } + return "", errors.NewFlyteAdminErrorf(codes.InvalidArgument, "input binding var [%s] not found", inputName) +} + +func (m *ExecutionManager) getLabelValue(ctx context.Context, l *core.LabelValue, inputs map[string]*core.Literal) (string, error) { + if l == nil { + return "", errors.NewFlyteAdminErrorf(codes.InvalidArgument, "label value is nil") + } + if l.GetInputBinding() != nil { + return m.getStringFromInput(ctx, *l.GetInputBinding(), inputs) + } + if l.GetStaticValue() != "" { + return l.GetStaticValue(), nil + } + return "", errors.NewFlyteAdminErrorf(codes.InvalidArgument, "label value is empty") +} + +func (m *ExecutionManager) fillInTemplateArgs(ctx context.Context, query core.ArtifactQuery, inputs map[string]*core.Literal) (core.ArtifactQuery, error) { + if query.GetUri() != "" { + // If a query string, then just pass it through, nothing to fill in. + return query, nil + } else if query.GetArtifactTag() != nil { + t := query.GetArtifactTag() + ak := t.GetArtifactKey() + if ak == nil { + return query, errors.NewFlyteAdminErrorf(codes.InvalidArgument, "tag doesn't have key") + } + var project, domain string + if ak.GetProject() == "" { + project = contextutils.Value(ctx, contextutils.ProjectKey) + } else { + project = ak.GetProject() + } + if ak.GetDomain() == "" { + domain = contextutils.Value(ctx, contextutils.DomainKey) + } else { + domain = ak.GetDomain() + } + strValue, err := m.getLabelValue(ctx, t.GetValue(), inputs) + if err != nil { + logger.Errorf(ctx, "Failed to template input string [%s] [%v]", t.GetValue(), err) + return query, err + } + + return core.ArtifactQuery{ + Identifier: &core.ArtifactQuery_ArtifactTag{ + ArtifactTag: &core.ArtifactTag{ + ArtifactKey: &core.ArtifactKey{ + Project: project, + Domain: domain, + Name: ak.GetName(), + }, + Value: &core.LabelValue{ + Value: &core.LabelValue_StaticValue{ + StaticValue: strValue, + }, + }, + }, + }, + }, nil + + } else if query.GetArtifactId() != nil { + artifactID := query.GetArtifactId() + ak := artifactID.GetArtifactKey() + if ak == nil { + return query, errors.NewFlyteAdminErrorf(codes.InvalidArgument, "id doesn't have key") + } + var project, domain string + if ak.GetProject() == "" { + project = contextutils.Value(ctx, contextutils.ProjectKey) + } else { + project = ak.GetProject() + } + if ak.GetDomain() == "" { + domain = contextutils.Value(ctx, contextutils.DomainKey) + } else { + domain = ak.GetDomain() + } + + var partitions map[string]*core.LabelValue + + if artifactID.GetPartitions() != nil && artifactID.GetPartitions().GetValue() != nil { + partitions = make(map[string]*core.LabelValue, len(artifactID.GetPartitions().Value)) + for k, v := range artifactID.GetPartitions().GetValue() { + newValue, err := m.getLabelValue(ctx, v, inputs) + if err != nil { + logger.Errorf(ctx, "Failed to resolve partition input string [%s] [%+v] [%v]", k, v, err) + return query, err + } + partitions[k] = &core.LabelValue{Value: &core.LabelValue_StaticValue{StaticValue: newValue}} + } + } + return core.ArtifactQuery{ + Identifier: &core.ArtifactQuery_ArtifactId{ + ArtifactId: &core.ArtifactID{ + ArtifactKey: &core.ArtifactKey{ + Project: project, + Domain: domain, + Name: ak.GetName(), + }, + Dimensions: &core.ArtifactID_Partitions{ + Partitions: &core.Partitions{ + Value: partitions, + }, + }, + }, + }, + }, nil + } + return query, errors.NewFlyteAdminErrorf(codes.InvalidArgument, "query doesn't have uri, tag, or id") +} + +// ResolveParameterMapArtifacts will go through the parameter map, and resolve any artifact queries. +func (m *ExecutionManager) ResolveParameterMapArtifacts(ctx context.Context, inputs *core.ParameterMap, inputsForQueryTemplating map[string]*core.Literal) (*core.ParameterMap, []*core.ArtifactID, error) { + + // only top level replace for now. Need to make this recursive + var artifactIDs []*core.ArtifactID + if inputs == nil { + return nil, artifactIDs, nil + } + outputs := map[string]*core.Parameter{} + + for k, v := range inputs.Parameters { + if inputsForQueryTemplating != nil { + if _, ok := inputsForQueryTemplating[k]; ok { + // Mark these as required as they're already provided by the other two LiteralMaps + outputs[k] = &core.Parameter{ + Var: v.Var, + Behavior: &core.Parameter_Required{Required: true}, + } + continue + } + } + if v.GetArtifactQuery() != nil { + // This case handles when an Artifact query is specified as a default value. + if m.artifactRegistry.GetClient() == nil { + return nil, nil, errors.NewFlyteAdminErrorf(codes.Internal, "artifact client is not initialized, can't resolve queries") + } + filledInQuery, err := m.fillInTemplateArgs(ctx, *v.GetArtifactQuery(), inputsForQueryTemplating) + if err != nil { + logger.Errorf(ctx, "Failed to fill in template args for [%s] [%v]", k, err) + return nil, nil, err + } + req := &artifact.GetArtifactRequest{ + Query: &filledInQuery, + Details: false, + } + + resp, err := m.artifactRegistry.GetClient().GetArtifact(ctx, req) + if err != nil { + return nil, nil, err + } + artifactIDs = append(artifactIDs, resp.Artifact.GetArtifactId()) + logger.Debugf(ctx, "Resolved query for [%s] to [%+v]", k, resp.Artifact.ArtifactId) + outputs[k] = &core.Parameter{ + Var: v.Var, + Behavior: &core.Parameter_Default{Default: resp.Artifact.Spec.Value}, + } + } else if v.GetArtifactId() != nil { + // This case is for when someone hard-codes a known ArtifactID as a default value. + req := &artifact.GetArtifactRequest{ + Query: &core.ArtifactQuery{ + Identifier: &core.ArtifactQuery_ArtifactId{ + ArtifactId: v.GetArtifactId(), + }, + }, + Details: false, + } + resp, err := m.artifactRegistry.GetClient().GetArtifact(ctx, req) + if err != nil { + return nil, nil, err + } + artifactIDs = append(artifactIDs, v.GetArtifactId()) + logger.Debugf(ctx, "Using specified artifactID for [%+v] for [%s]", v.GetArtifactId(), k) + outputs[k] = &core.Parameter{ + Var: v.Var, + Behavior: &core.Parameter_Default{Default: resp.Artifact.Spec.Value}, + } + } else { + outputs[k] = v + } + } + pm := &core.ParameterMap{Parameters: outputs} + return pm, artifactIDs, nil +} + func (m *ExecutionManager) launchExecutionAndPrepareModel( ctx context.Context, request admin.ExecutionCreateRequest, requestedAt time.Time) ( context.Context, *models.Execution, error) { + + ctxPD := contextutils.WithProjectDomain(ctx, request.Project, request.Domain) + err := validation.ValidateExecutionRequest(ctx, request, m.db, m.config.ApplicationConfiguration()) if err != nil { logger.Debugf(ctx, "Failed to validate ExecutionCreateRequest %+v with err %v", request, err) @@ -706,7 +958,9 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( } if request.Spec.LaunchPlan.ResourceType == core.ResourceType_TASK { logger.Debugf(ctx, "Launching single task execution with [%+v]", request.Spec.LaunchPlan) - return m.launchSingleTaskExecution(ctx, request, requestedAt) + // When tasks can have defaults this will need to handle Artifacts as well. + ctx, model, err := m.launchSingleTaskExecution(ctx, request, requestedAt) + return ctx, model, err } launchPlanModel, err := util.GetLaunchPlanModel(ctx, m.db, *request.Spec.LaunchPlan) @@ -719,16 +973,70 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( logger.Debugf(ctx, "Failed to transform launch plan model %+v with err %v", launchPlanModel, err) return nil, nil, err } + + // TODO: Artifact feature gate, remove when ready + var lpExpectedInputs *core.ParameterMap + var artifactTrackers []string + var usedArtifactIDs []*core.ArtifactID + if m.artifactRegistry.GetClient() != nil { + // Literals may have an artifact key in the metadata field. This is something the artifact service should have + // added. Pull these back out so we can keep track of them for lineage purposes. Use a dummy wrapper object for + // easier recursion. + requestInputMap := &core.Literal{ + Value: &core.Literal_Map{Map: request.Inputs}, + } + fixedInputMap := &core.Literal{ + Value: &core.Literal_Map{Map: launchPlan.Spec.FixedInputs}, + } + artifactTrackers = m.ExtractArtifactKeys(requestInputMap) + fixedInputArtifactKeys := m.ExtractArtifactKeys(fixedInputMap) + artifactTrackers = append(artifactTrackers, fixedInputArtifactKeys...) + + // Put together the inputs that we've already resolved so that the artifact querying bit can fill them in. + // This is to support artifact queries that depend on other inputs using the {{ .inputs.var }} construct. + var inputsForQueryTemplating = make(map[string]*core.Literal) + if request.Inputs != nil { + for k, v := range request.Inputs.Literals { + inputsForQueryTemplating[k] = v + } + } + for k, v := range launchPlan.Spec.FixedInputs.Literals { + inputsForQueryTemplating[k] = v + } + logger.Debugf(ctx, "Inputs for query templating: [%+v]", inputsForQueryTemplating) + + // Resolve artifact queries + // Within the launch plan, the artifact will be in the Parameter map, and can come in form of an ArtifactID, + // or as an ArtifactQuery. + // Also send in the inputsForQueryTemplating for two reasons, so we don't run queries for things we don't need to + // and so we can fill in template args. + // ArtifactIDs are also returned for lineage purposes. + lpExpectedInputs, usedArtifactIDs, err = m.ResolveParameterMapArtifacts(ctxPD, launchPlan.Closure.ExpectedInputs, inputsForQueryTemplating) + if err != nil { + logger.Errorf(ctx, "Error looking up launch plan closure parameter map: %v", err) + return nil, nil, err + } + + logger.Debugf(ctx, "Resolved launch plan closure expected inputs from [%+v] to [%+v]", launchPlan.Closure.ExpectedInputs, lpExpectedInputs) + logger.Debugf(ctx, "Found artifact keys: %v", artifactTrackers) + logger.Debugf(ctx, "Found artifact IDs: %v", usedArtifactIDs) + + } else { + lpExpectedInputs = launchPlan.Closure.ExpectedInputs + } + + // Artifacts retrieved will need to be stored somewhere to ensure that we can re-emit events if necessary + // in the future, and also to make sure that relaunch and recover can use it if necessary. executionInputs, err := validation.CheckAndFetchInputsForExecution( request.Inputs, launchPlan.Spec.FixedInputs, - launchPlan.Closure.ExpectedInputs, + lpExpectedInputs, ) if err != nil { logger.Debugf(ctx, "Failed to CheckAndFetchInputsForExecution with request.Inputs: %+v"+ "fixed inputs: %+v and expected inputs: %+v with err %v", - request.Inputs, launchPlan.Spec.FixedInputs, launchPlan.Closure.ExpectedInputs, err) + request.Inputs, launchPlan.Spec.FixedInputs, lpExpectedInputs, err) return nil, nil, err } @@ -762,6 +1070,7 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( requestSpec.Metadata = &admin.ExecutionMetadata{} } requestSpec.Metadata.Principal = getUser(ctx) + requestSpec.Metadata.ArtifactIds = usedArtifactIDs // Get the node and parent execution (if any) that launched this execution var parentNodeExecutionID uint @@ -861,6 +1170,12 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( notificationsSettings = make([]*admin.Notification, 0) } + // Publish of event is also gated on the artifact client being available, even though it's not directly required. + // TODO: Artifact feature gate, remove when ready + if m.artifactRegistry.GetClient() != nil { + m.publishExecutionStart(ctx, workflowExecutionID, request.Spec.LaunchPlan, workflow.Id, artifactTrackers, usedArtifactIDs) + } + createExecModelInput := transformers.CreateExecutionModelInput{ WorkflowExecutionID: workflowExecutionID, RequestSpec: requestSpec, @@ -910,6 +1225,30 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( return ctx, executionModel, nil } +// publishExecutionStart is an event that Admin publishes for artifact lineage. +func (m *ExecutionManager) publishExecutionStart(ctx context.Context, executionID core.WorkflowExecutionIdentifier, + launchPlanID *core.Identifier, workflowID *core.Identifier, inputArtifactKeys []string, usedArtifactIDs []*core.ArtifactID) { + + if len(inputArtifactKeys) > 0 || len(usedArtifactIDs) > 0 { + logger.Debugf(ctx, "Sending execution start event for execution [%+v] with input artifact keys [%+v] and used artifact ids [%+v]", executionID, inputArtifactKeys, usedArtifactIDs) + + request := event.CloudEventExecutionStart{ + ExecutionId: &executionID, + LaunchPlanId: launchPlanID, + WorkflowId: workflowID, + ArtifactIds: usedArtifactIDs, + ArtifactKeys: inputArtifactKeys, + } + go func() { + ceCtx := context.TODO() + if err := m.cloudEventPublisher.Publish(ceCtx, proto.MessageName(&request), &request); err != nil { + m.systemMetrics.PublishEventError.Inc() + logger.Infof(ctx, "error publishing cloud event [%+v] with err: [%v]", request, err) + } + }() + } +} + // Inserts an execution model into the database store and emits platform metrics. func (m *ExecutionManager) createExecutionModel( ctx context.Context, executionModel *models.Execution) (*core.WorkflowExecutionIdentifier, error) { @@ -934,7 +1273,8 @@ func (m *ExecutionManager) createExecutionModel( func (m *ExecutionManager) CreateExecution( ctx context.Context, request admin.ExecutionCreateRequest, requestedAt time.Time) ( *admin.ExecutionCreateResponse, error) { - // Prior to flyteidl v0.15.0, Inputs was held in ExecutionSpec. Ensure older clients continue to work. + + // Prior to flyteidl v0.15.0, Inputs was held in ExecutionSpec. Ensure older clients continue to work. if request.Inputs == nil || len(request.Inputs.Literals) == 0 { request.Inputs = request.GetSpec().GetInputs() } @@ -1291,7 +1631,8 @@ func (m *ExecutionManager) CreateWorkflowEvent(ctx context.Context, request admi } go func() { - if err := m.cloudEventPublisher.Publish(ctx, proto.MessageName(&request), &request); err != nil { + ceCtx := context.TODO() + if err := m.cloudEventPublisher.Publish(ceCtx, proto.MessageName(&request), &request); err != nil { m.systemMetrics.PublishEventError.Inc() logger.Infof(ctx, "error publishing cloud event [%+v] with err: [%v]", request.RequestId, err) } @@ -1627,7 +1968,8 @@ func NewExecutionManager(db repositoryInterfaces.Repository, pluginRegistry *plu publisher notificationInterfaces.Publisher, urlData dataInterfaces.RemoteURLInterface, workflowManager interfaces.WorkflowInterface, namedEntityManager interfaces.NamedEntityInterface, eventPublisher notificationInterfaces.Publisher, cloudEventPublisher cloudeventInterfaces.Publisher, - eventWriter eventWriter.WorkflowExecutionEventWriter) interfaces.ExecutionInterface { + eventWriter eventWriter.WorkflowExecutionEventWriter, artifactRegistry *artifacts.ArtifactRegistry) interfaces.ExecutionInterface { + queueAllocator := executions.NewQueueAllocator(config, db) systemMetrics := newExecutionSystemMetrics(systemScope) @@ -1660,6 +2002,7 @@ func NewExecutionManager(db repositoryInterfaces.Repository, pluginRegistry *plu cloudEventPublisher: cloudEventPublisher, dbEventWriter: eventWriter, pluginRegistry: pluginRegistry, + artifactRegistry: artifactRegistry, } } diff --git a/flyteadmin/pkg/manager/impl/execution_manager_test.go b/flyteadmin/pkg/manager/impl/execution_manager_test.go index f533681cc6..e1f59cdf43 100644 --- a/flyteadmin/pkg/manager/impl/execution_manager_test.go +++ b/flyteadmin/pkg/manager/impl/execution_manager_test.go @@ -22,6 +22,7 @@ import ( "k8s.io/apimachinery/pkg/util/sets" "github.com/flyteorg/flyte/flyteadmin/auth" + "github.com/flyteorg/flyte/flyteadmin/pkg/artifacts" eventWriterMocks "github.com/flyteorg/flyte/flyteadmin/pkg/async/events/mocks" notificationMocks "github.com/flyteorg/flyte/flyteadmin/pkg/async/notifications/mocks" "github.com/flyteorg/flyte/flyteadmin/pkg/common" @@ -375,7 +376,7 @@ func TestCreateExecution(t *testing.T) { mockConfig := getMockExecutionsConfigProvider() mockConfig.(*runtimeMocks.MockConfigurationProvider).AddQualityOfServiceConfiguration(qosProvider) - execManager := NewExecutionManager(repository, r, mockConfig, getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, &mockPublisher, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, mockConfig, getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, &mockPublisher, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetExecutionRequest() request.Spec.Metadata = &admin.ExecutionMetadata{ Principal: "unused - populated from authenticated context", @@ -472,7 +473,7 @@ func TestCreateExecutionFromWorkflowNode(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetExecutionRequest() request.Spec.Metadata = &admin.ExecutionMetadata{ Mode: admin.ExecutionMetadata_CHILD_WORKFLOW, @@ -509,7 +510,7 @@ func TestCreateExecution_NoAssignedName(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetExecutionRequest() request.Name = "" response, err := execManager.CreateExecution(context.Background(), request, requestedAt) @@ -560,7 +561,7 @@ func TestCreateExecution_TaggedQueue(t *testing.T) { mockExecutor.OnID().Return("customMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, configProvider, getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, configProvider, getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetExecutionRequest() response, err := execManager.CreateExecution(context.Background(), request, requestedAt) @@ -578,7 +579,7 @@ func TestCreateExecutionValidationError(t *testing.T) { setDefaultLpCallbackForExecTest(repository) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetExecutionRequest() request.Domain = "" @@ -592,7 +593,7 @@ func TestCreateExecution_InvalidLpIdentifier(t *testing.T) { setDefaultLpCallbackForExecTest(repository) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetExecutionRequest() request.Spec.LaunchPlan = nil @@ -606,7 +607,7 @@ func TestCreateExecutionInCompatibleInputs(t *testing.T) { setDefaultLpCallbackForExecTest(repository) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetExecutionRequest() request.Inputs = &core.LiteralMap{ @@ -629,7 +630,6 @@ func TestCreateExecutionPropellerFailure(t *testing.T) { mockExecutor.OnID().Return("customMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - qosProvider := &runtimeIFaceMocks.QualityOfServiceConfiguration{} qosProvider.OnGetTierExecutionValues().Return(map[core.QualityOfService_Tier]core.QualityOfServiceSpec{ core.QualityOfService_HIGH: { @@ -660,7 +660,7 @@ func TestCreateExecutionPropellerFailure(t *testing.T) { identity, err := auth.NewIdentityContext("", principal, "", time.Now(), sets.NewString(), nil, nil) assert.NoError(t, err) ctx := identity.WithContext(context.Background()) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) expectedResponse := &admin.ExecutionCreateResponse{Id: &executionIdentifier} @@ -684,7 +684,7 @@ func TestCreateExecutionDatabaseFailure(t *testing.T) { } repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetCreateCallback(exCreateFunc) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetExecutionRequest() response, err := execManager.CreateExecution(context.Background(), request, requestedAt) @@ -752,7 +752,7 @@ func TestCreateExecutionVerifyDbModel(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), storageClient, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), storageClient, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) execManager.(*ExecutionManager)._clock = mockClock @@ -795,7 +795,7 @@ func TestCreateExecutionDefaultNotifications(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) response, err := execManager.CreateExecution(context.Background(), request, requestedAt) assert.Nil(t, err) @@ -834,7 +834,7 @@ func TestCreateExecutionDisableNotifications(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) response, err := execManager.CreateExecution(context.Background(), request, requestedAt) assert.Nil(t, err) @@ -904,7 +904,7 @@ func TestCreateExecutionNoNotifications(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) response, err := execManager.CreateExecution(context.Background(), request, requestedAt) assert.Nil(t, err) @@ -933,7 +933,7 @@ func TestCreateExecutionDynamicLabelsAndAnnotations(t *testing.T) { mockExecutor.OnID().Return("customMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetExecutionRequest() request.Spec.Labels = &admin.Labels{ Values: map[string]string{ @@ -1052,7 +1052,7 @@ func TestCreateExecutionInterruptible(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := execManager.CreateExecution(context.Background(), request, requestedAt) assert.Nil(t, err) @@ -1132,7 +1132,7 @@ func TestCreateExecutionOverwriteCache(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := execManager.CreateExecution(context.Background(), request, requestedAt) assert.Nil(t, err) @@ -1216,7 +1216,7 @@ func TestCreateExecutionWithEnvs(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := execManager.CreateExecution(context.Background(), request, requestedAt) assert.Nil(t, err) @@ -1258,7 +1258,7 @@ func TestCreateExecution_CustomNamespaceMappingConfig(t *testing.T) { mockExecutionsConfigProvider.(*runtimeMocks.MockConfigurationProvider).AddRegistrationValidationConfiguration( runtimeMocks.NewMockRegistrationValidationProvider()) - execManager := NewExecutionManager(repository, r, mockExecutionsConfigProvider, storageClient, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, mockExecutionsConfigProvider, storageClient, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) execManager.(*ExecutionManager)._clock = mockClock @@ -1431,7 +1431,7 @@ func TestRelaunchExecution(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -1491,7 +1491,7 @@ func TestRelaunchExecution_GetExistingFailure(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) expectedErr := errors.New("expected error") repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetGetCallback( @@ -1530,7 +1530,7 @@ func TestRelaunchExecution_CreateFailure(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -1570,7 +1570,7 @@ func TestRelaunchExecutionInterruptibleOverride(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -1621,7 +1621,7 @@ func TestRelaunchExecutionOverwriteCacheOverride(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -1744,7 +1744,7 @@ func TestRelaunchExecutionEnvsOverride(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -1796,7 +1796,7 @@ func TestRecoverExecution(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -1855,7 +1855,7 @@ func TestRecoverExecution_RecoveredChildNode(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -1956,7 +1956,7 @@ func TestRecoverExecution_GetExistingFailure(t *testing.T) { setDefaultLpCallbackForExecTest(repository) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) expectedErr := errors.New("expected error") repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetGetCallback( @@ -1999,7 +1999,7 @@ func TestRecoverExecution_GetExistingInputsFailure(t *testing.T) { } r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), mockStorage, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), mockStorage, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -2033,7 +2033,7 @@ func TestRecoverExecutionInterruptibleOverride(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -2096,7 +2096,7 @@ func TestRecoverExecutionOverwriteCacheOverride(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -2157,7 +2157,7 @@ func TestRecoverExecutionEnvsOverride(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := admin.ExecutionClosure{ @@ -2270,7 +2270,7 @@ func TestCreateWorkflowEvent(t *testing.T) { mockDbEventWriter.On("Write", request) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, &mockPublisher, &mockPublisher, mockDbEventWriter) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, &mockPublisher, &mockPublisher, mockDbEventWriter, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.CreateWorkflowEvent(context.Background(), request) assert.Nil(t, err) assert.NotNil(t, resp) @@ -2300,7 +2300,7 @@ func TestCreateWorkflowEvent_TerminalState(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetUpdateCallback(updateExecutionFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.CreateWorkflowEvent(context.Background(), admin.WorkflowExecutionEventRequest{ RequestId: "1", @@ -2340,7 +2340,7 @@ func TestCreateWorkflowEvent_NoRunningToQueued(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetUpdateCallback(updateExecutionFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.CreateWorkflowEvent(context.Background(), admin.WorkflowExecutionEventRequest{ RequestId: "1", @@ -2388,7 +2388,7 @@ func TestCreateWorkflowEvent_CurrentlyAborting(t *testing.T) { mockDbEventWriter.On("Write", req) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, &mockPublisher, &mockPublisher, mockDbEventWriter) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, &mockPublisher, &mockPublisher, mockDbEventWriter, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.CreateWorkflowEvent(context.Background(), req) assert.NotNil(t, resp) @@ -2456,7 +2456,7 @@ func TestCreateWorkflowEvent_StartedRunning(t *testing.T) { mockDbEventWriter.On("Write", request) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, &mockPublisher, &mockPublisher, mockDbEventWriter) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, &mockPublisher, &mockPublisher, mockDbEventWriter, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.CreateWorkflowEvent(context.Background(), request) assert.Nil(t, err) assert.NotNil(t, resp) @@ -2489,7 +2489,7 @@ func TestCreateWorkflowEvent_DuplicateRunning(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) occurredAtTimestamp, _ := ptypes.TimestampProto(occurredAt) resp, err := execManager.CreateWorkflowEvent(context.Background(), admin.WorkflowExecutionEventRequest{ RequestId: "1", @@ -2532,7 +2532,7 @@ func TestCreateWorkflowEvent_InvalidPhaseChange(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) occurredAtTimestamp, _ := ptypes.TimestampProto(occurredAt) resp, err := execManager.CreateWorkflowEvent(context.Background(), admin.WorkflowExecutionEventRequest{ RequestId: "1", @@ -2599,7 +2599,7 @@ func TestCreateWorkflowEvent_ClusterReassignmentOnQueued(t *testing.T) { mockDbEventWriter.On("Write", request) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, &mockPublisher, &mockPublisher, mockDbEventWriter) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, &mockPublisher, &mockPublisher, mockDbEventWriter, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.CreateWorkflowEvent(context.Background(), request) assert.Nil(t, err) @@ -2622,7 +2622,7 @@ func TestCreateWorkflowEvent_InvalidEvent(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetUpdateCallback(updateExecutionFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.CreateWorkflowEvent(context.Background(), admin.WorkflowExecutionEventRequest{ RequestId: "1", Event: &event.WorkflowExecutionEvent{ @@ -2652,7 +2652,7 @@ func TestCreateWorkflowEvent_UpdateModelError(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.CreateWorkflowEvent(context.Background(), admin.WorkflowExecutionEventRequest{ RequestId: "1", Event: &event.WorkflowExecutionEvent{ @@ -2687,7 +2687,7 @@ func TestCreateWorkflowEvent_DatabaseGetError(t *testing.T) { } r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.CreateWorkflowEvent(context.Background(), admin.WorkflowExecutionEventRequest{ RequestId: "1", Event: &event.WorkflowExecutionEvent{ @@ -2723,7 +2723,7 @@ func TestCreateWorkflowEvent_DatabaseUpdateError(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetUpdateCallback(updateExecutionFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.CreateWorkflowEvent(context.Background(), admin.WorkflowExecutionEventRequest{ RequestId: "1", Event: &event.WorkflowExecutionEvent{ @@ -2768,7 +2768,7 @@ func TestCreateWorkflowEvent_IncompatibleCluster(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) occurredAtTimestamp, _ := ptypes.TimestampProto(occurredAt) resp, err := execManager.CreateWorkflowEvent(context.Background(), admin.WorkflowExecutionEventRequest{ RequestId: "1", @@ -2826,7 +2826,7 @@ func TestGetExecution(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetGetCallback(executionGetFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) execution, err := execManager.GetExecution(context.Background(), admin.WorkflowExecutionGetRequest{ Id: &executionIdentifier, }) @@ -2849,7 +2849,7 @@ func TestGetExecution_DatabaseError(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetGetCallback(executionGetFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) execution, err := execManager.GetExecution(context.Background(), admin.WorkflowExecutionGetRequest{ Id: &executionIdentifier, }) @@ -2881,7 +2881,7 @@ func TestGetExecution_TransformerError(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetGetCallback(executionGetFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) execution, err := execManager.GetExecution(context.Background(), admin.WorkflowExecutionGetRequest{ Id: &executionIdentifier, }) @@ -2894,7 +2894,7 @@ func TestUpdateExecution(t *testing.T) { repository := repositoryMocks.NewMockRepository() r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := execManager.UpdateExecution(context.Background(), admin.ExecutionUpdateRequest{ Id: &core.WorkflowExecutionIdentifier{ Project: "project", @@ -2916,7 +2916,7 @@ func TestUpdateExecution(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetUpdateCallback(updateExecFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) updateResponse, err := execManager.UpdateExecution(context.Background(), admin.ExecutionUpdateRequest{ Id: &executionIdentifier, }, time.Now()) @@ -2937,7 +2937,7 @@ func TestUpdateExecution(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetUpdateCallback(updateExecFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) updateResponse, err := execManager.UpdateExecution(context.Background(), admin.ExecutionUpdateRequest{ Id: &executionIdentifier, State: admin.ExecutionState_EXECUTION_ARCHIVED, @@ -2955,7 +2955,7 @@ func TestUpdateExecution(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetUpdateCallback(updateExecFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := execManager.UpdateExecution(context.Background(), admin.ExecutionUpdateRequest{ Id: &executionIdentifier, State: admin.ExecutionState_EXECUTION_ARCHIVED, @@ -2972,7 +2972,7 @@ func TestUpdateExecution(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetGetCallback(getExecFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := execManager.UpdateExecution(context.Background(), admin.ExecutionUpdateRequest{ Id: &executionIdentifier, State: admin.ExecutionState_EXECUTION_ARCHIVED, @@ -3042,7 +3042,7 @@ func TestListExecutions(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetListCallback(executionListFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) executionList, err := execManager.ListExecutions(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ @@ -3075,7 +3075,7 @@ func TestListExecutions(t *testing.T) { func TestListExecutions_MissingParameters(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repositoryMocks.NewMockRepository(), r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repositoryMocks.NewMockRepository(), r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := execManager.ListExecutions(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ Domain: domainValue, @@ -3114,7 +3114,7 @@ func TestListExecutions_DatabaseError(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetListCallback(executionListFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := execManager.ListExecutions(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ Project: projectValue, @@ -3147,7 +3147,7 @@ func TestListExecutions_TransformerError(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetListCallback(executionListFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) executionList, err := execManager.ListExecutions(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ @@ -3450,7 +3450,7 @@ func TestTerminateExecution(t *testing.T) { mockExecutor.OnID().Return("customMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) identity, err := auth.NewIdentityContext("", principal, "", time.Now(), sets.NewString(), nil, nil) assert.NoError(t, err) @@ -3485,7 +3485,7 @@ func TestTerminateExecution_PropellerError(t *testing.T) { assert.Equal(t, core.WorkflowExecution_ABORTING.String(), execution.Phase) return nil }) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.TerminateExecution(context.Background(), admin.ExecutionTerminateRequest{ Id: &core.WorkflowExecutionIdentifier{ @@ -3517,7 +3517,7 @@ func TestTerminateExecution_DatabaseError(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.TerminateExecution(context.Background(), admin.ExecutionTerminateRequest{ Id: &core.WorkflowExecutionIdentifier{ Project: "project", @@ -3547,7 +3547,7 @@ func TestTerminateExecution_AlreadyTerminated(t *testing.T) { Phase: core.WorkflowExecution_SUCCEEDED.String(), }, nil }) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) resp, err := execManager.TerminateExecution(context.Background(), admin.ExecutionTerminateRequest{ Id: &core.WorkflowExecutionIdentifier{ Project: "project", @@ -3639,7 +3639,7 @@ func TestGetExecutionData(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetGetCallback(executionGetFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), mockStorage, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), mockStorage, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) dataResponse, err := execManager.GetExecutionData(context.Background(), admin.WorkflowExecutionGetDataRequest{ Id: &executionIdentifier, }) @@ -3704,7 +3704,7 @@ func TestAddPluginOverrides(t *testing.T) { } r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(db, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(db, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) taskPluginOverrides, err := execManager.(*ExecutionManager).addPluginOverrides( context.Background(), executionID, workflowName, launchPlanName) @@ -3737,7 +3737,7 @@ func TestPluginOverrides_ResourceGetFailure(t *testing.T) { } r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(db, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(db, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := execManager.(*ExecutionManager).addPluginOverrides( context.Background(), executionID, workflowName, launchPlanName) @@ -3771,7 +3771,7 @@ func TestGetExecution_Legacy(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetGetCallback(executionGetFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) execution, err := execManager.GetExecution(context.Background(), admin.WorkflowExecutionGetRequest{ Id: &executionIdentifier, }) @@ -3834,7 +3834,7 @@ func TestGetExecutionData_LegacyModel(t *testing.T) { storageClient := getMockStorageForExecTest(context.Background()) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), storageClient, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), storageClient, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) dataResponse, err := execManager.GetExecutionData(context.Background(), admin.WorkflowExecutionGetDataRequest{ Id: &executionIdentifier, }) @@ -3882,7 +3882,7 @@ func TestCreateExecution_LegacyClient(t *testing.T) { mockExecutor.OnID().Return("customMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) response, err := execManager.CreateExecution(context.Background(), *getLegacyExecutionRequest(), requestedAt) assert.Nil(t, err) @@ -3904,7 +3904,7 @@ func TestRelaunchExecution_LegacyModel(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), storageClient, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), storageClient, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) startTime := time.Now() startTimeProto, _ := ptypes.TimestampProto(startTime) existingClosure := getLegacyClosure() @@ -4024,7 +4024,7 @@ func TestListExecutions_LegacyModel(t *testing.T) { repository.ExecutionRepo().(*repositoryMocks.MockExecutionRepo).SetListCallback(executionListFunc) r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) executionList, err := execManager.ListExecutions(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ @@ -4080,7 +4080,7 @@ func TestSetDefaults(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repositoryMocks.NewMockRepository(), r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repositoryMocks.NewMockRepository(), r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) execManager.(*ExecutionManager).setCompiledTaskDefaults(context.Background(), task, workflowengineInterfaces.TaskResources{ Defaults: runtimeInterfaces.TaskResourceSet{ CPU: resource.MustParse("200m"), @@ -4165,7 +4165,7 @@ func TestSetDefaults_MissingRequests_ExistingRequestsPreserved(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repositoryMocks.NewMockRepository(), r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repositoryMocks.NewMockRepository(), r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) execManager.(*ExecutionManager).setCompiledTaskDefaults(context.Background(), task, workflowengineInterfaces.TaskResources{ Defaults: runtimeInterfaces.TaskResourceSet{ CPU: resource.MustParse("200m"), @@ -4243,7 +4243,7 @@ func TestSetDefaults_OptionalRequiredResources(t *testing.T) { t.Run("don't inject ephemeral storage or gpu when only the limit is set in config", func(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repositoryMocks.NewMockRepository(), r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repositoryMocks.NewMockRepository(), r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) execManager.(*ExecutionManager).setCompiledTaskDefaults(context.Background(), task, workflowengineInterfaces.TaskResources{ Defaults: runtimeInterfaces.TaskResourceSet{ CPU: resource.MustParse("200m"), @@ -4282,7 +4282,7 @@ func TestSetDefaults_OptionalRequiredResources(t *testing.T) { t.Run("respect non-required resources when defaults exist in config", func(t *testing.T) { r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &defaultTestExecutor) - execManager := NewExecutionManager(repositoryMocks.NewMockRepository(), r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repositoryMocks.NewMockRepository(), r, getMockExecutionsConfigProvider(), getMockStorageForExecTest(context.Background()), mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, nil, nil, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) execManager.(*ExecutionManager).setCompiledTaskDefaults(context.Background(), task, workflowengineInterfaces.TaskResources{ Limits: taskConfigLimits, Defaults: runtimeInterfaces.TaskResourceSet{ @@ -4480,7 +4480,7 @@ func TestCreateSingleTaskExecution(t *testing.T) { workflowManager := NewWorkflowManager( repository, getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), mockStorage, - storagePrefix, mockScope.NewTestScope()) + storagePrefix, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) namedEntityManager := NewNamedEntityManager(repository, getMockConfigForNETest(), mockScope.NewTestScope()) mockExecutor := workflowengineMocks.WorkflowExecutor{} @@ -4488,7 +4488,7 @@ func TestCreateSingleTaskExecution(t *testing.T) { mockExecutor.OnID().Return("testMockExecutor") r := plugins.NewRegistry() r.RegisterDefault(plugins.PluginIDWorkflowExecutor, &mockExecutor) - execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), mockStorage, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, workflowManager, namedEntityManager, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}) + execManager := NewExecutionManager(repository, r, getMockExecutionsConfigProvider(), mockStorage, mockScope.NewTestScope(), mockScope.NewTestScope(), &mockPublisher, mockExecutionRemoteURL, workflowManager, namedEntityManager, nil, nil, &eventWriterMocks.WorkflowExecutionEventWriter{}, artifacts.NewArtifactRegistry(context.Background(), nil)) request := admin.ExecutionCreateRequest{ Project: "flytekit", Domain: "production", diff --git a/flyteadmin/pkg/manager/impl/launch_plan_manager.go b/flyteadmin/pkg/manager/impl/launch_plan_manager.go index a22b033215..48441905a1 100644 --- a/flyteadmin/pkg/manager/impl/launch_plan_manager.go +++ b/flyteadmin/pkg/manager/impl/launch_plan_manager.go @@ -9,6 +9,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "google.golang.org/grpc/codes" + "github.com/flyteorg/flyte/flyteadmin/pkg/artifacts" scheduleInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/async/schedule/interfaces" "github.com/flyteorg/flyte/flyteadmin/pkg/common" "github.com/flyteorg/flyte/flyteadmin/pkg/errors" @@ -34,10 +35,11 @@ type launchPlanMetrics struct { } type LaunchPlanManager struct { - db repoInterfaces.Repository - config runtimeInterfaces.Configuration - scheduler scheduleInterfaces.EventScheduler - metrics launchPlanMetrics + db repoInterfaces.Repository + config runtimeInterfaces.Configuration + scheduler scheduleInterfaces.EventScheduler + metrics launchPlanMetrics + artifactRegistry *artifacts.ArtifactRegistry } func getLaunchPlanContext(ctx context.Context, identifier *core.Identifier) context.Context { @@ -85,6 +87,21 @@ func (m *LaunchPlanManager) CreateLaunchPlan( return nil, err } + // The presence of this field indicates that this is a trigger launch plan + // Return true and send this request over to the artifact registry instead + if launchPlan.Spec.GetEntityMetadata() != nil && launchPlan.Spec.GetEntityMetadata().GetLaunchConditions() != nil { + // TODO: Artifact feature gate, remove when ready + if m.artifactRegistry.GetClient() == nil { + logger.Debugf(ctx, "artifact feature not enabled, skipping launch plan %v", launchPlan.Id) + return &admin.LaunchPlanCreateResponse{}, nil + } + err := m.artifactRegistry.RegisterTrigger(ctx, &launchPlan) + if err != nil { + return nil, err + } + return &admin.LaunchPlanCreateResponse{}, nil + } + existingLaunchPlanModel, err := util.GetLaunchPlanModel(ctx, m.db, *request.Id) if err == nil { if bytes.Equal(existingLaunchPlanModel.Digest, launchPlanDigest) { @@ -111,6 +128,18 @@ func (m *LaunchPlanManager) CreateLaunchPlan( } m.metrics.SpecSizeBytes.Observe(float64(len(launchPlanModel.Spec))) m.metrics.ClosureSizeBytes.Observe(float64(len(launchPlanModel.Closure))) + // TODO: Artifact feature gate, remove when ready + if m.artifactRegistry.GetClient() != nil { + go func() { + ceCtx := context.TODO() + if launchPlan.Spec.DefaultInputs == nil { + logger.Debugf(ceCtx, "Insufficient fields to submit launchplan interface %v", launchPlan.Id) + return + } + m.artifactRegistry.RegisterArtifactConsumer(ceCtx, launchPlan.Id, *launchPlan.Spec.DefaultInputs) + }() + } + return &admin.LaunchPlanCreateResponse{}, nil } @@ -544,7 +573,8 @@ func NewLaunchPlanManager( db repoInterfaces.Repository, config runtimeInterfaces.Configuration, scheduler scheduleInterfaces.EventScheduler, - scope promutils.Scope) interfaces.LaunchPlanInterface { + scope promutils.Scope, + artifactRegistry *artifacts.ArtifactRegistry) interfaces.LaunchPlanInterface { metrics := launchPlanMetrics{ Scope: scope, @@ -554,9 +584,10 @@ func NewLaunchPlanManager( ClosureSizeBytes: scope.MustNewSummary("closure_size_bytes", "size in bytes of serialized launch plan closure"), } return &LaunchPlanManager{ - db: db, - config: config, - scheduler: scheduler, - metrics: metrics, + db: db, + config: config, + scheduler: scheduler, + metrics: metrics, + artifactRegistry: artifactRegistry, } } diff --git a/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go b/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go index 2863f2747d..64e069f26d 100644 --- a/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go +++ b/flyteadmin/pkg/manager/impl/launch_plan_manager_test.go @@ -12,6 +12,7 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/grpc/codes" + "github.com/flyteorg/flyte/flyteadmin/pkg/artifacts" scheduleInterfaces "github.com/flyteorg/flyte/flyteadmin/pkg/async/schedule/interfaces" "github.com/flyteorg/flyte/flyteadmin/pkg/async/schedule/mocks" "github.com/flyteorg/flyte/flyteadmin/pkg/common" @@ -89,7 +90,7 @@ func TestCreateLaunchPlan(t *testing.T) { return nil }) setDefaultWorkflowCallbackForLpTest(repository) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetLaunchPlanRequest() response, err := lpManager.CreateLaunchPlan(context.Background(), request) assert.Nil(t, err) @@ -101,7 +102,7 @@ func TestCreateLaunchPlan(t *testing.T) { func TestLaunchPlanManager_GetLaunchPlan(t *testing.T) { repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) state := int32(0) lpRequest := testutils.GetLaunchPlanRequest() workflowRequest := testutils.GetWorkflowRequest() @@ -137,7 +138,7 @@ func TestLaunchPlanManager_GetLaunchPlan(t *testing.T) { func TestLaunchPlanManager_GetActiveLaunchPlan(t *testing.T) { repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) state := int32(1) lpRequest := testutils.GetLaunchPlanRequest() workflowRequest := testutils.GetWorkflowRequest() @@ -196,7 +197,7 @@ func TestLaunchPlanManager_GetActiveLaunchPlan(t *testing.T) { func TestLaunchPlanManager_GetActiveLaunchPlan_NoneActive(t *testing.T) { repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) lpRequest := testutils.GetLaunchPlanRequest() launchPlanListFunc := func(input interfaces.ListResourceInput) (interfaces.LaunchPlanCollectionOutput, error) { @@ -216,7 +217,7 @@ func TestLaunchPlanManager_GetActiveLaunchPlan_NoneActive(t *testing.T) { func TestLaunchPlanManager_GetActiveLaunchPlan_InvalidRequest(t *testing.T) { repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) response, err := lpManager.GetActiveLaunchPlan(context.Background(), admin.ActiveLaunchPlanRequest{ Id: &admin.NamedEntityIdentifier{ Domain: domain, @@ -228,7 +229,7 @@ func TestLaunchPlanManager_GetActiveLaunchPlan_InvalidRequest(t *testing.T) { } func TestLaunchPlan_ValidationError(t *testing.T) { - lpManager := NewLaunchPlanManager(repositoryMocks.NewMockRepository(), getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repositoryMocks.NewMockRepository(), getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetLaunchPlanRequest() request.Id = nil response, err := lpManager.CreateLaunchPlan(context.Background(), request) @@ -238,7 +239,7 @@ func TestLaunchPlan_ValidationError(t *testing.T) { func TestLaunchPlanManager_CreateLaunchPlanErrorDueToBadLabels(t *testing.T) { repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetLaunchPlanRequest() request.Spec.Labels = &admin.Labels{ Values: map[string]string{ @@ -263,7 +264,7 @@ func TestLaunchPlan_DatabaseError(t *testing.T) { } repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetCreateCallback(lpCreateFunc) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetLaunchPlanRequest() response, err := lpManager.CreateLaunchPlan(context.Background(), request) assert.EqualError(t, err, expectedErr.Error()) @@ -273,7 +274,7 @@ func TestLaunchPlan_DatabaseError(t *testing.T) { func TestCreateLaunchPlanInCompatibleInputs(t *testing.T) { repository := getMockRepositoryForLpTest() setDefaultWorkflowCallbackForLpTest(repository) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetLaunchPlanRequest() request.Spec.DefaultInputs = &core.ParameterMap{ Parameters: map[string]*core.Parameter{ @@ -323,7 +324,7 @@ func TestCreateLaunchPlanValidateCreate(t *testing.T) { } repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetCreateCallback(lpCreateFunc) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetLaunchPlanRequest() response, err := lpManager.CreateLaunchPlan(context.Background(), request) assert.Nil(t, err) @@ -364,7 +365,7 @@ func TestCreateLaunchPlanNoWorkflowInterface(t *testing.T) { } repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetCreateCallback(lpCreateFunc) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetLaunchPlanRequest() request.Spec.FixedInputs = nil request.Spec.DefaultInputs = nil @@ -412,7 +413,7 @@ func TestEnableSchedule(t *testing.T) { *input.Payload) return nil }) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) err := lpManager.(*LaunchPlanManager).enableSchedule( context.Background(), launchPlanNamedIdentifier, @@ -433,7 +434,7 @@ func TestEnableSchedule_Error(t *testing.T) { func(ctx context.Context, input scheduleInterfaces.AddScheduleInput) error { return expectedErr }) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) err := lpManager.(*LaunchPlanManager).enableSchedule( context.Background(), launchPlanNamedIdentifier, admin.LaunchPlanSpec{ @@ -452,7 +453,7 @@ func TestDisableSchedule(t *testing.T) { assert.True(t, proto.Equal(&launchPlanNamedIdentifier, &input.Identifier)) return nil }) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) err := lpManager.(*LaunchPlanManager).disableSchedule(context.Background(), launchPlanNamedIdentifier) assert.Nil(t, err) } @@ -466,7 +467,7 @@ func TestDisableSchedule_Error(t *testing.T) { func(ctx context.Context, input scheduleInterfaces.RemoveScheduleInput) error { return expectedErr }) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) err := lpManager.(*LaunchPlanManager).disableSchedule(context.Background(), launchPlanNamedIdentifier) assert.EqualError(t, err, expectedErr.Error()) } @@ -514,7 +515,7 @@ func TestUpdateSchedules(t *testing.T) { return nil }) repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) err := lpManager.(*LaunchPlanManager).updateSchedules( context.Background(), models.LaunchPlan{ @@ -567,7 +568,7 @@ func TestUpdateSchedules_NothingToDisableButRedo(t *testing.T) { return nil }) repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) err := lpManager.(*LaunchPlanManager).updateSchedules(context.Background(), models.LaunchPlan{ LaunchPlanKey: models.LaunchPlanKey{ Project: project, @@ -636,7 +637,7 @@ func TestUpdateSchedules_NothingToEnableButRedo(t *testing.T) { }) repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) err := lpManager.(*LaunchPlanManager).updateSchedules(context.Background(), models.LaunchPlan{ LaunchPlanKey: models.LaunchPlanKey{ Project: project, @@ -685,7 +686,7 @@ func TestUpdateSchedules_NothingToDoButRedo(t *testing.T) { }) repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) err := lpManager.(*LaunchPlanManager).updateSchedules(context.Background(), models.LaunchPlan{ LaunchPlanKey: models.LaunchPlanKey{ Project: project, @@ -746,7 +747,7 @@ func TestUpdateSchedules_EnableNoSchedule(t *testing.T) { }) repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) err := lpManager.(*LaunchPlanManager).updateSchedules(context.Background(), models.LaunchPlan{ LaunchPlanKey: models.LaunchPlanKey{ Project: project, @@ -827,7 +828,7 @@ func TestDisableLaunchPlan(t *testing.T) { repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetUpdateCallback(disableFunc) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := lpManager.UpdateLaunchPlan(context.Background(), admin.LaunchPlanUpdateRequest{ Id: &launchPlanIdentifier, State: admin.LaunchPlanState_INACTIVE, @@ -848,7 +849,7 @@ func TestDisableLaunchPlan_DatabaseError(t *testing.T) { return models.LaunchPlan{}, expectedError } repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetGetCallback(lpGetFunc) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := lpManager.UpdateLaunchPlan(context.Background(), admin.LaunchPlanUpdateRequest{ Id: &launchPlanIdentifier, State: admin.LaunchPlanState_INACTIVE, @@ -881,7 +882,7 @@ func TestDisableLaunchPlan_DatabaseError(t *testing.T) { return expectedError } repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetUpdateCallback(disableFunc) - lpManager = NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager = NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err = lpManager.UpdateLaunchPlan(context.Background(), admin.LaunchPlanUpdateRequest{ Id: &launchPlanIdentifier, State: admin.LaunchPlanState_INACTIVE, @@ -938,7 +939,7 @@ func TestEnableLaunchPlan(t *testing.T) { } repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetSetActiveCallback(enableFunc) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := lpManager.UpdateLaunchPlan(context.Background(), admin.LaunchPlanUpdateRequest{ Id: &launchPlanIdentifier, State: admin.LaunchPlanState_ACTIVE, @@ -967,7 +968,7 @@ func TestEnableLaunchPlan_NoCurrentlyActiveVersion(t *testing.T) { } repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetSetActiveCallback(enableFunc) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := lpManager.UpdateLaunchPlan(context.Background(), admin.LaunchPlanUpdateRequest{ Id: &launchPlanIdentifier, State: admin.LaunchPlanState_ACTIVE, @@ -987,7 +988,7 @@ func TestEnableLaunchPlan_DatabaseError(t *testing.T) { return models.LaunchPlan{}, expectedError } repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetGetCallback(lpGetFunc) - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := lpManager.UpdateLaunchPlan(context.Background(), admin.LaunchPlanUpdateRequest{ Id: &launchPlanIdentifier, State: admin.LaunchPlanState_ACTIVE, @@ -995,7 +996,7 @@ func TestEnableLaunchPlan_DatabaseError(t *testing.T) { assert.EqualError(t, err, expectedError.Error(), "Failures on getting the existing launch plan should propagate") lpGetFunc = makeLaunchPlanRepoGetCallback(t) - lpManager = NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager = NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) listFunc := func(input interfaces.ListResourceInput) (interfaces.LaunchPlanCollectionOutput, error) { return interfaces.LaunchPlanCollectionOutput{}, expectedError } @@ -1043,7 +1044,7 @@ func TestEnableLaunchPlan_DatabaseError(t *testing.T) { return expectedError } repository.LaunchPlanRepo().(*repositoryMocks.MockLaunchPlanRepo).SetSetActiveCallback(enableFunc) - lpManager = NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager = NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err = lpManager.UpdateLaunchPlan(context.Background(), admin.LaunchPlanUpdateRequest{ Id: &launchPlanIdentifier, State: admin.LaunchPlanState_ACTIVE, @@ -1053,7 +1054,7 @@ func TestEnableLaunchPlan_DatabaseError(t *testing.T) { func TestLaunchPlanManager_ListLaunchPlans(t *testing.T) { repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) state := int32(0) lpRequest := testutils.GetLaunchPlanRequest() workflowRequest := testutils.GetWorkflowRequest() @@ -1160,7 +1161,7 @@ func TestLaunchPlanManager_ListLaunchPlans(t *testing.T) { func TestLaunchPlanManager_ListLaunchPlanIds(t *testing.T) { repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) state := int32(0) lpRequest := testutils.GetLaunchPlanRequest() workflowRequest := testutils.GetWorkflowRequest() @@ -1243,7 +1244,7 @@ func TestLaunchPlanManager_ListLaunchPlanIds(t *testing.T) { func TestLaunchPlanManager_ListActiveLaunchPlans(t *testing.T) { repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) state := int32(admin.LaunchPlanState_ACTIVE) lpRequest := testutils.GetLaunchPlanRequest() workflowRequest := testutils.GetWorkflowRequest() @@ -1330,7 +1331,7 @@ func TestLaunchPlanManager_ListActiveLaunchPlans(t *testing.T) { func TestLaunchPlanManager_ListActiveLaunchPlans_BadRequest(t *testing.T) { repository := getMockRepositoryForLpTest() - lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope()) + lpManager := NewLaunchPlanManager(repository, getMockConfigForLpTest(), mockScheduler, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) lpList, err := lpManager.ListActiveLaunchPlans(context.Background(), admin.ActiveLaunchPlanListRequest{ Domain: domain, Limit: 10, diff --git a/flyteadmin/pkg/manager/impl/node_execution_manager.go b/flyteadmin/pkg/manager/impl/node_execution_manager.go index e8cc2ff05a..afe17b6ac6 100644 --- a/flyteadmin/pkg/manager/impl/node_execution_manager.go +++ b/flyteadmin/pkg/manager/impl/node_execution_manager.go @@ -288,7 +288,8 @@ func (m *NodeExecutionManager) CreateNodeEvent(ctx context.Context, request admi } go func() { - if err := m.cloudEventPublisher.Publish(ctx, proto.MessageName(&request), &request); err != nil { + ceCtx := context.TODO() + if err := m.cloudEventPublisher.Publish(ceCtx, proto.MessageName(&request), &request); err != nil { logger.Infof(ctx, "error publishing cloud event [%+v] with err: [%v]", request.RequestId, err) } }() diff --git a/flyteadmin/pkg/manager/impl/task_execution_manager.go b/flyteadmin/pkg/manager/impl/task_execution_manager.go index 82b872dbd4..61d94a086f 100644 --- a/flyteadmin/pkg/manager/impl/task_execution_manager.go +++ b/flyteadmin/pkg/manager/impl/task_execution_manager.go @@ -126,6 +126,7 @@ func (m *TaskExecutionManager) updateTaskExecutionModelState( func (m *TaskExecutionManager) CreateTaskExecutionEvent(ctx context.Context, request admin.TaskExecutionEventRequest) ( *admin.TaskExecutionEventResponse, error) { + if err := validation.ValidateTaskExecutionRequest(request, m.config.ApplicationConfiguration().GetRemoteDataConfig().MaxSizeInBytes); err != nil { return nil, err } @@ -205,8 +206,9 @@ func (m *TaskExecutionManager) CreateTaskExecutionEvent(ctx context.Context, req } go func() { - if err := m.cloudEventsPublisher.Publish(ctx, proto.MessageName(&request), &request); err != nil { - logger.Infof(ctx, "error publishing cloud event [%+v] with err: [%v]", request.RequestId, err) + ceCtx := context.TODO() + if err := m.cloudEventsPublisher.Publish(ceCtx, proto.MessageName(&request), &request); err != nil { + logger.Errorf(ctx, "error publishing cloud event [%+v] with err: [%v]", request.RequestId, err) } }() diff --git a/flyteadmin/pkg/manager/impl/task_manager.go b/flyteadmin/pkg/manager/impl/task_manager.go index 6967f4ff53..2d6bc2a91e 100644 --- a/flyteadmin/pkg/manager/impl/task_manager.go +++ b/flyteadmin/pkg/manager/impl/task_manager.go @@ -6,10 +6,12 @@ import ( "strconv" "time" + "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes" "github.com/prometheus/client_golang/prometheus" "google.golang.org/grpc/codes" + "github.com/flyteorg/flyte/flyteadmin/pkg/artifacts" "github.com/flyteorg/flyte/flyteadmin/pkg/common" "github.com/flyteorg/flyte/flyteadmin/pkg/errors" "github.com/flyteorg/flyte/flyteadmin/pkg/manager/impl/resources" @@ -36,11 +38,12 @@ type taskMetrics struct { } type TaskManager struct { - db repoInterfaces.Repository - config runtimeInterfaces.Configuration - compiler workflowengine.Compiler - metrics taskMetrics - resourceManager interfaces.ResourceInterface + db repoInterfaces.Repository + config runtimeInterfaces.Configuration + compiler workflowengine.Compiler + metrics taskMetrics + resourceManager interfaces.ResourceInterface + artifactRegistry *artifacts.ArtifactRegistry } func getTaskContext(ctx context.Context, identifier *core.Identifier) context.Context { @@ -130,6 +133,18 @@ func (t *TaskManager) CreateTask( contextWithRuntimeMeta, common.RuntimeVersionKey, finalizedRequest.Spec.Template.Metadata.Runtime.Version) t.metrics.Registered.Inc(contextWithRuntimeMeta) } + // TODO: Artifact feature gate, remove when ready + if t.artifactRegistry.GetClient() != nil { + tIfaceCopy := proto.Clone(finalizedRequest.Spec.Template.Interface).(*core.TypedInterface) + go func() { + ceCtx := context.TODO() + if finalizedRequest.Spec.Template.Interface == nil { + logger.Debugf(ceCtx, "Task [%+v] has no interface, skipping registration", finalizedRequest.Id) + return + } + t.artifactRegistry.RegisterArtifactProducer(ceCtx, finalizedRequest.Id, *tIfaceCopy) + }() + } return &admin.TaskCreateResponse{}, nil } @@ -261,7 +276,9 @@ func (t *TaskManager) ListUniqueTaskIdentifiers(ctx context.Context, request adm func NewTaskManager( db repoInterfaces.Repository, config runtimeInterfaces.Configuration, compiler workflowengine.Compiler, - scope promutils.Scope) interfaces.TaskInterface { + scope promutils.Scope, + artifactRegistry *artifacts.ArtifactRegistry) interfaces.TaskInterface { + metrics := taskMetrics{ Scope: scope, ClosureSizeBytes: scope.MustNewSummary("closure_size_bytes", "size in bytes of serialized task closure"), @@ -269,10 +286,11 @@ func NewTaskManager( } resourceManager := resources.NewResourceManager(db, config.ApplicationConfiguration()) return &TaskManager{ - db: db, - config: config, - compiler: compiler, - metrics: metrics, - resourceManager: resourceManager, + db: db, + config: config, + compiler: compiler, + metrics: metrics, + resourceManager: resourceManager, + artifactRegistry: artifactRegistry, } } diff --git a/flyteadmin/pkg/manager/impl/task_manager_test.go b/flyteadmin/pkg/manager/impl/task_manager_test.go index 6037e431b7..bc19311bb3 100644 --- a/flyteadmin/pkg/manager/impl/task_manager_test.go +++ b/flyteadmin/pkg/manager/impl/task_manager_test.go @@ -10,6 +10,7 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/grpc/codes" + "github.com/flyteorg/flyte/flyteadmin/pkg/artifacts" "github.com/flyteorg/flyte/flyteadmin/pkg/common" adminErrors "github.com/flyteorg/flyte/flyteadmin/pkg/errors" "github.com/flyteorg/flyte/flyteadmin/pkg/manager/impl/testutils" @@ -85,7 +86,7 @@ func TestCreateTask(t *testing.T) { return models.DescriptionEntity{}, adminErrors.NewFlyteAdminErrorf(codes.NotFound, "NotFound") }) taskManager := NewTaskManager(mockRepository, getMockConfigForTaskTest(), getMockTaskCompiler(), - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetValidTaskRequest() response, err := taskManager.CreateTask(context.Background(), request) assert.NoError(t, err) @@ -102,7 +103,7 @@ func TestCreateTask(t *testing.T) { func TestCreateTask_ValidationError(t *testing.T) { mockRepository := getMockTaskRepository() taskManager := NewTaskManager(mockRepository, getMockConfigForTaskTest(), getMockTaskCompiler(), - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetValidTaskRequest() request.Id = nil response, err := taskManager.CreateTask(context.Background(), request) @@ -119,7 +120,7 @@ func TestCreateTask_CompilerError(t *testing.T) { }) mockRepository := getMockTaskRepository() taskManager := NewTaskManager(mockRepository, getMockConfigForTaskTest(), mockCompiler, - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetValidTaskRequest() response, err := taskManager.CreateTask(context.Background(), request) assert.EqualError(t, err, expectedErr.Error()) @@ -138,7 +139,7 @@ func TestCreateTask_DatabaseError(t *testing.T) { } repository.TaskRepo().(*repositoryMocks.MockTaskRepo).SetCreateCallback(taskCreateFunc) - taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope()) + taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetValidTaskRequest() response, err := taskManager.CreateTask(context.Background(), request) assert.EqualError(t, err, expectedErr.Error()) @@ -166,7 +167,7 @@ func TestGetTask(t *testing.T) { }, nil } repository.TaskRepo().(*repositoryMocks.MockTaskRepo).SetGetCallback(taskGetFunc) - taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope()) + taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) task, err := taskManager.GetTask(context.Background(), admin.ObjectGetRequest{ Id: &taskIdentifier, @@ -186,7 +187,7 @@ func TestGetTask_DatabaseError(t *testing.T) { return models.Task{}, expectedErr } repository.TaskRepo().(*repositoryMocks.MockTaskRepo).SetGetCallback(taskGetFunc) - taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope()) + taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) task, err := taskManager.GetTask(context.Background(), admin.ObjectGetRequest{ Id: &taskIdentifier, }) @@ -212,7 +213,7 @@ func TestGetTask_TransformerError(t *testing.T) { }, nil } repository.TaskRepo().(*repositoryMocks.MockTaskRepo).SetGetCallback(taskGetFunc) - taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope()) + taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) task, err := taskManager.GetTask(context.Background(), admin.ObjectGetRequest{ Id: &taskIdentifier, @@ -271,7 +272,7 @@ func TestListTasks(t *testing.T) { }, nil } repository.TaskRepo().(*repositoryMocks.MockTaskRepo).SetListCallback(taskListFunc) - taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope()) + taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) taskList, err := taskManager.ListTasks(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ @@ -303,7 +304,7 @@ func TestListTasks(t *testing.T) { func TestListTasks_MissingParameters(t *testing.T) { repository := getMockTaskRepository() - taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope()) + taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := taskManager.ListTasks(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ Domain: domainValue, @@ -333,7 +334,7 @@ func TestListTasks_DatabaseError(t *testing.T) { } repository.TaskRepo().(*repositoryMocks.MockTaskRepo).SetListCallback(taskListFunc) - taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope()) + taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := taskManager.ListTasks(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ Project: projectValue, @@ -347,7 +348,7 @@ func TestListTasks_DatabaseError(t *testing.T) { func TestListUniqueTaskIdentifiers(t *testing.T) { repository := getMockTaskRepository() - taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope()) + taskManager := NewTaskManager(repository, getMockConfigForTaskTest(), getMockTaskCompiler(), mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) listFunc := func(input interfaces.ListResourceInput) (interfaces.TaskCollectionOutput, error) { // Test that parameters are being passed in diff --git a/flyteadmin/pkg/manager/impl/validation/launch_plan_validator.go b/flyteadmin/pkg/manager/impl/validation/launch_plan_validator.go index 7b569fae06..aa41265f2b 100644 --- a/flyteadmin/pkg/manager/impl/validation/launch_plan_validator.go +++ b/flyteadmin/pkg/manager/impl/validation/launch_plan_validator.go @@ -38,8 +38,14 @@ func ValidateLaunchPlan(ctx context.Context, if err := validateLiteralMap(request.Spec.FixedInputs, shared.FixedInputs); err != nil { return err } - if err := validateParameterMap(request.Spec.DefaultInputs, shared.DefaultInputs); err != nil { - return err + if config.GetTopLevelConfig().FeatureGates.EnableArtifacts { + if err := validateParameterMapAllowArtifacts(request.Spec.DefaultInputs, shared.DefaultInputs); err != nil { + return err + } + } else { + if err := validateParameterMapDisableArtifacts(request.Spec.DefaultInputs, shared.DefaultInputs); err != nil { + return err + } } expectedInputs, err := checkAndFetchExpectedInputForLaunchPlan(workflowInterface.GetInputs(), request.Spec.FixedInputs, request.Spec.DefaultInputs) if err != nil { diff --git a/flyteadmin/pkg/manager/impl/validation/validation.go b/flyteadmin/pkg/manager/impl/validation/validation.go index c6102d3dc6..1958f25021 100644 --- a/flyteadmin/pkg/manager/impl/validation/validation.go +++ b/flyteadmin/pkg/manager/impl/validation/validation.go @@ -245,6 +245,22 @@ func validateLiteralMap(inputMap *core.LiteralMap, fieldName string) error { return nil } +// TODO: Artifact feature gate, remove when ready +func validateParameterMapAllowArtifacts(inputMap *core.ParameterMap, fieldName string) error { + return validateParameterMap(inputMap, fieldName) +} + +func validateParameterMapDisableArtifacts(inputMap *core.ParameterMap, fieldName string) error { + if inputMap != nil && len(inputMap.Parameters) > 0 { + for name, defaultInput := range inputMap.Parameters { + if defaultInput.GetArtifactQuery() != nil { + return errors.NewFlyteAdminErrorf(codes.InvalidArgument, "artifact mode not enabled but query found %s %s", fieldName, name) + } + } + } + return validateParameterMap(inputMap, fieldName) +} + func validateParameterMap(inputMap *core.ParameterMap, fieldName string) error { if inputMap != nil && len(inputMap.Parameters) > 0 { for name, defaultInput := range inputMap.Parameters { @@ -256,7 +272,9 @@ func validateParameterMap(inputMap *core.ParameterMap, fieldName string) error { "The Variable component of the Parameter %s in %s either is missing, or has a missing Type", name, fieldName) } - if defaultInput.GetDefault() == nil && !defaultInput.GetRequired() { + // if artifacts not enabled, then we know all GetArtifactQuery()s are nil, so the middle condition disappears + // if artifacts are enabled, then this is the valid check that we want to do + if defaultInput.GetDefault() == nil && defaultInput.GetArtifactQuery() == nil && !defaultInput.GetRequired() { return errors.NewFlyteAdminErrorf(codes.InvalidArgument, "Invalid variable %s in %s - variable has neither default, nor is required. "+ "One must be specified", name, fieldName) diff --git a/flyteadmin/pkg/manager/impl/workflow_manager.go b/flyteadmin/pkg/manager/impl/workflow_manager.go index 207a471468..726e3988c3 100644 --- a/flyteadmin/pkg/manager/impl/workflow_manager.go +++ b/flyteadmin/pkg/manager/impl/workflow_manager.go @@ -6,10 +6,12 @@ import ( "strconv" "time" + "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes" "github.com/prometheus/client_golang/prometheus" "google.golang.org/grpc/codes" + "github.com/flyteorg/flyte/flyteadmin/pkg/artifacts" "github.com/flyteorg/flyte/flyteadmin/pkg/common" "github.com/flyteorg/flyte/flyteadmin/pkg/errors" "github.com/flyteorg/flyte/flyteadmin/pkg/manager/impl/util" @@ -39,12 +41,13 @@ type workflowMetrics struct { } type WorkflowManager struct { - db repoInterfaces.Repository - config runtimeInterfaces.Configuration - compiler workflowengineInterfaces.Compiler - storageClient *storage.DataStore - storagePrefix []string - metrics workflowMetrics + db repoInterfaces.Repository + config runtimeInterfaces.Configuration + compiler workflowengineInterfaces.Compiler + storageClient *storage.DataStore + storagePrefix []string + metrics workflowMetrics + artifactRegistry *artifacts.ArtifactRegistry } func getWorkflowContext(ctx context.Context, identifier *core.Identifier) context.Context { @@ -217,6 +220,22 @@ func (w *WorkflowManager) CreateWorkflow( } w.metrics.TypedInterfaceSizeBytes.Observe(float64(len(workflowModel.TypedInterface))) + // Send the interface definition to Artifact service, this is so that it can statically pick up one dimension of + // lineage information + tIfaceCopy := proto.Clone(workflowClosure.CompiledWorkflow.Primary.Template.Interface).(*core.TypedInterface) + // TODO: Artifact feature gate, remove when ready + if w.artifactRegistry.GetClient() != nil { + go func() { + ceCtx := context.TODO() + if workflowClosure.CompiledWorkflow == nil || workflowClosure.CompiledWorkflow.Primary == nil { + logger.Debugf(ceCtx, "Insufficient fields to submit workflow interface %v", finalizedRequest.Id) + return + } + + w.artifactRegistry.RegisterArtifactProducer(ceCtx, finalizedRequest.Id, *tIfaceCopy) + }() + } + return &admin.WorkflowCreateResponse{}, nil } @@ -234,7 +253,7 @@ func (w *WorkflowManager) GetWorkflow(ctx context.Context, request admin.ObjectG return workflow, nil } -// Returns workflows *without* a populated workflow closure. +// ListWorkflows returns workflows *without* a populated workflow closure. func (w *WorkflowManager) ListWorkflows( ctx context.Context, request admin.ResourceListRequest) (*admin.WorkflowList, error) { // Check required fields @@ -348,7 +367,9 @@ func NewWorkflowManager( compiler workflowengineInterfaces.Compiler, storageClient *storage.DataStore, storagePrefix []string, - scope promutils.Scope) interfaces.WorkflowInterface { + scope promutils.Scope, + artifactRegistry *artifacts.ArtifactRegistry) interfaces.WorkflowInterface { + metrics := workflowMetrics{ Scope: scope, CompilationFailures: scope.MustNewCounter( @@ -357,11 +378,12 @@ func NewWorkflowManager( "size in bytes of serialized workflow TypedInterface"), } return &WorkflowManager{ - db: db, - config: config, - compiler: compiler, - storageClient: storageClient, - storagePrefix: storagePrefix, - metrics: metrics, + db: db, + config: config, + compiler: compiler, + storageClient: storageClient, + storagePrefix: storagePrefix, + metrics: metrics, + artifactRegistry: artifactRegistry, } } diff --git a/flyteadmin/pkg/manager/impl/workflow_manager_test.go b/flyteadmin/pkg/manager/impl/workflow_manager_test.go index 99da70a64b..9b9fb611d7 100644 --- a/flyteadmin/pkg/manager/impl/workflow_manager_test.go +++ b/flyteadmin/pkg/manager/impl/workflow_manager_test.go @@ -11,6 +11,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + "github.com/flyteorg/flyte/flyteadmin/pkg/artifacts" "github.com/flyteorg/flyte/flyteadmin/pkg/common" commonMocks "github.com/flyteorg/flyte/flyteadmin/pkg/common/mocks" adminErrors "github.com/flyteorg/flyte/flyteadmin/pkg/errors" @@ -123,7 +124,7 @@ func TestSetWorkflowDefaults(t *testing.T) { workflowManager := NewWorkflowManager( getMockRepository(returnWorkflowOnGet), getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), commonMocks.GetMockStorageClient(), storagePrefix, - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetWorkflowRequest() finalizedRequest, err := workflowManager.(*WorkflowManager).setDefaults(request) assert.NoError(t, err) @@ -143,7 +144,7 @@ func TestCreateWorkflow(t *testing.T) { workflowManager := NewWorkflowManager( repository, - getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), getMockStorage(), storagePrefix, mockScope.NewTestScope()) + getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), getMockStorage(), storagePrefix, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetWorkflowRequest() response, err := workflowManager.CreateWorkflow(context.Background(), request) assert.NoError(t, err) @@ -164,7 +165,7 @@ func TestCreateWorkflow_ValidationError(t *testing.T) { workflowManager := NewWorkflowManager( repositoryMocks.NewMockRepository(), getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), commonMocks.GetMockStorageClient(), storagePrefix, - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetWorkflowRequest() request.Id = nil response, err := workflowManager.CreateWorkflow(context.Background(), request) @@ -183,7 +184,7 @@ func TestCreateWorkflow_ExistingWorkflow(t *testing.T) { } workflowManager := NewWorkflowManager( getMockRepository(returnWorkflowOnGet), - getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), mockStorageClient, storagePrefix, mockScope.NewTestScope()) + getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), mockStorageClient, storagePrefix, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetWorkflowRequest() response, err := workflowManager.CreateWorkflow(context.Background(), request) assert.EqualError(t, err, "workflow with different structure already exists") @@ -200,7 +201,7 @@ func TestCreateWorkflow_ExistingWorkflow_Different(t *testing.T) { } workflowManager := NewWorkflowManager( getMockRepository(returnWorkflowOnGet), - getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), mockStorageClient, storagePrefix, mockScope.NewTestScope()) + getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), mockStorageClient, storagePrefix, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetWorkflowRequest() response, err := workflowManager.CreateWorkflow(context.Background(), request) @@ -221,7 +222,7 @@ func TestCreateWorkflow_CompilerGetRequirementsError(t *testing.T) { workflowManager := NewWorkflowManager( getMockRepository(!returnWorkflowOnGet), - getMockWorkflowConfigProvider(), mockCompiler, getMockStorage(), storagePrefix, mockScope.NewTestScope()) + getMockWorkflowConfigProvider(), mockCompiler, getMockStorage(), storagePrefix, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetWorkflowRequest() response, err := workflowManager.CreateWorkflow(context.Background(), request) assert.EqualError(t, err, fmt.Sprintf( @@ -241,7 +242,7 @@ func TestCreateWorkflow_CompileWorkflowError(t *testing.T) { workflowManager := NewWorkflowManager( getMockRepository(!returnWorkflowOnGet), - getMockWorkflowConfigProvider(), mockCompiler, getMockStorage(), storagePrefix, mockScope.NewTestScope()) + getMockWorkflowConfigProvider(), mockCompiler, getMockStorage(), storagePrefix, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetWorkflowRequest() response, err := workflowManager.CreateWorkflow(context.Background(), request) assert.Nil(t, response) @@ -263,7 +264,7 @@ func TestCreateWorkflow_DatabaseError(t *testing.T) { repository.WorkflowRepo().(*repositoryMocks.MockWorkflowRepo).SetCreateCallback(workflowCreateFunc) workflowManager := NewWorkflowManager( repository, getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), getMockStorage(), storagePrefix, - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) request := testutils.GetWorkflowRequest() response, err := workflowManager.CreateWorkflow(context.Background(), request) assert.EqualError(t, err, expectedErr.Error()) @@ -303,7 +304,7 @@ func TestGetWorkflow(t *testing.T) { } workflowManager := NewWorkflowManager( repository, getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), mockStorageClient, storagePrefix, - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) workflow, err := workflowManager.GetWorkflow(context.Background(), admin.ObjectGetRequest{ Id: &workflowIdentifier, }) @@ -325,7 +326,7 @@ func TestGetWorkflow_DatabaseError(t *testing.T) { repository.WorkflowRepo().(*repositoryMocks.MockWorkflowRepo).SetGetCallback(workflowGetFunc) workflowManager := NewWorkflowManager( repository, getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), commonMocks.GetMockStorageClient(), - storagePrefix, mockScope.NewTestScope()) + storagePrefix, mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) workflow, err := workflowManager.GetWorkflow(context.Background(), admin.ObjectGetRequest{ Id: &workflowIdentifier, }) @@ -361,7 +362,7 @@ func TestGetWorkflow_TransformerError(t *testing.T) { workflowManager := NewWorkflowManager( repository, getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), mockStorageClient, storagePrefix, - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) workflow, err := workflowManager.GetWorkflow(context.Background(), admin.ObjectGetRequest{ Id: &workflowIdentifier, }) @@ -432,7 +433,7 @@ func TestListWorkflows(t *testing.T) { } workflowManager := NewWorkflowManager( repository, getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), mockStorageClient, storagePrefix, - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) workflowList, err := workflowManager.ListWorkflows(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ @@ -474,7 +475,7 @@ func TestListWorkflows_MissingParameters(t *testing.T) { workflowManager := NewWorkflowManager( repositoryMocks.NewMockRepository(), getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), commonMocks.GetMockStorageClient(), storagePrefix, - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := workflowManager.ListWorkflows(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ Domain: domainValue, @@ -506,7 +507,7 @@ func TestListWorkflows_DatabaseError(t *testing.T) { repository.WorkflowRepo().(*repositoryMocks.MockWorkflowRepo).SetListCallback(workflowListFunc) workflowManager := NewWorkflowManager(repository, getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), commonMocks.GetMockStorageClient(), storagePrefix, - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) _, err := workflowManager.ListWorkflows(context.Background(), admin.ResourceListRequest{ Id: &admin.NamedEntityIdentifier{ Project: projectValue, @@ -569,7 +570,7 @@ func TestWorkflowManager_ListWorkflowIdentifiers(t *testing.T) { } workflowManager := NewWorkflowManager( repository, getMockWorkflowConfigProvider(), getMockWorkflowCompiler(), mockStorageClient, storagePrefix, - mockScope.NewTestScope()) + mockScope.NewTestScope(), artifacts.NewArtifactRegistry(context.Background(), nil)) workflowList, err := workflowManager.ListWorkflowIdentifiers(context.Background(), admin.NamedEntityIdentifierListRequest{ diff --git a/flyteadmin/pkg/repositories/database.go b/flyteadmin/pkg/repositories/database.go index c4452a5e3b..23b5aadef8 100644 --- a/flyteadmin/pkg/repositories/database.go +++ b/flyteadmin/pkg/repositories/database.go @@ -2,13 +2,11 @@ package repositories import ( "context" - "errors" "fmt" "io/ioutil" "os" "strings" - "github.com/jackc/pgconn" "gorm.io/driver/postgres" "gorm.io/driver/sqlite" "gorm.io/gorm" @@ -19,8 +17,6 @@ import ( "github.com/flyteorg/flyte/flytestdlib/otelutils" ) -const pqInvalidDBCode = "3D000" -const pqDbAlreadyExistsCode = "42P04" const defaultDB = "postgres" // Resolves a password value from either a user-provided inline value or a filepath whose contents contain a password. @@ -122,7 +118,7 @@ func createPostgresDbIfNotExists(ctx context.Context, gormConfig *gorm.Config, p return gormDb, nil } - if !isPgErrorWithCode(err, pqInvalidDBCode) { + if !database.IsPgErrorWithCode(err, database.PqInvalidDBCode) { return nil, err } @@ -146,7 +142,7 @@ func createPostgresDbIfNotExists(ctx context.Context, gormConfig *gorm.Config, p result := gormDb.Exec(createDBStatement) if result.Error != nil { - if !isPgErrorWithCode(result.Error, pqDbAlreadyExistsCode) { + if !database.IsPgErrorWithCode(result.Error, database.PqDbAlreadyExistsCode) { return nil, result.Error } logger.Warningf(ctx, "Got DB already exists error for [%s], skipping...", pgConfig.DbName) @@ -155,17 +151,6 @@ func createPostgresDbIfNotExists(ctx context.Context, gormConfig *gorm.Config, p return gorm.Open(dialector, gormConfig) } -func isPgErrorWithCode(err error, code string) bool { - pgErr := &pgconn.PgError{} - if !errors.As(err, &pgErr) { - // err chain does not contain a pgconn.PgError - return false - } - - // pgconn.PgError found in chain and set to code specified - return pgErr.Code == code -} - func setupDbConnectionPool(ctx context.Context, gormDb *gorm.DB, dbConfig *database.DbConfig) error { genericDb, err := gormDb.DB() if err != nil { diff --git a/flyteadmin/pkg/repositories/database_test.go b/flyteadmin/pkg/repositories/database_test.go index 4c8f3c5f9f..5fece2723a 100644 --- a/flyteadmin/pkg/repositories/database_test.go +++ b/flyteadmin/pkg/repositories/database_test.go @@ -2,16 +2,13 @@ package repositories import ( "context" - "errors" "io/ioutil" - "net" "os" "path" "path/filepath" "testing" "time" - "github.com/jackc/pgconn" "github.com/stretchr/testify/assert" "gorm.io/driver/sqlite" "gorm.io/gorm" @@ -75,57 +72,6 @@ func TestGetPostgresDsn(t *testing.T) { }) } -type wrappedError struct { - err error -} - -func (e *wrappedError) Error() string { - return e.err.Error() -} - -func (e *wrappedError) Unwrap() error { - return e.err -} - -func TestIsInvalidDBPgError(t *testing.T) { - // wrap error with wrappedError when testing to ensure the function checks the whole error chain - - testCases := []struct { - Name string - Err error - ExpectedResult bool - }{ - { - Name: "nil error", - Err: nil, - ExpectedResult: false, - }, - { - Name: "not a PgError", - Err: &wrappedError{err: &net.OpError{Op: "connect", Err: errors.New("connection refused")}}, - ExpectedResult: false, - }, - { - Name: "PgError but not invalid DB", - Err: &wrappedError{&pgconn.PgError{Severity: "FATAL", Message: "out of memory", Code: "53200"}}, - ExpectedResult: false, - }, - { - Name: "PgError and is invalid DB", - Err: &wrappedError{&pgconn.PgError{Severity: "FATAL", Message: "database \"flyte\" does not exist", Code: "3D000"}}, - ExpectedResult: true, - }, - } - - for _, tc := range testCases { - tc := tc - - t.Run(tc.Name, func(t *testing.T) { - assert.Equal(t, tc.ExpectedResult, isPgErrorWithCode(tc.Err, pqInvalidDBCode)) - }) - } -} - func TestSetupDbConnectionPool(t *testing.T) { ctx := context.TODO() t.Run("successful", func(t *testing.T) { @@ -195,41 +141,3 @@ func TestGetDB(t *testing.T) { assert.Equal(t, "sqlite", db.Name()) }) } - -func TestIsPgDbAlreadyExistsError(t *testing.T) { - // wrap error with wrappedError when testing to ensure the function checks the whole error chain - - testCases := []struct { - Name string - Err error - ExpectedResult bool - }{ - { - Name: "nil error", - Err: nil, - ExpectedResult: false, - }, - { - Name: "not a PgError", - Err: &wrappedError{err: &net.OpError{Op: "connect", Err: errors.New("connection refused")}}, - ExpectedResult: false, - }, - { - Name: "PgError but not already exists", - Err: &wrappedError{&pgconn.PgError{Severity: "FATAL", Message: "out of memory", Code: "53200"}}, - ExpectedResult: false, - }, - { - Name: "PgError and is already exists", - Err: &wrappedError{&pgconn.PgError{Severity: "FATAL", Message: "database \"flyte\" does not exist", Code: "42P04"}}, - ExpectedResult: true, - }, - } - - for _, tc := range testCases { - tc := tc - t.Run(tc.Name, func(t *testing.T) { - assert.Equal(t, tc.ExpectedResult, isPgErrorWithCode(tc.Err, pqDbAlreadyExistsCode)) - }) - } -} diff --git a/flyteadmin/pkg/repositories/errors/postgres.go b/flyteadmin/pkg/repositories/errors/postgres.go index 7be734aa13..3993e140c1 100644 --- a/flyteadmin/pkg/repositories/errors/postgres.go +++ b/flyteadmin/pkg/repositories/errors/postgres.go @@ -15,6 +15,7 @@ import ( "reflect" "github.com/jackc/pgconn" + pgxPgconn "github.com/jackc/pgx/v5/pgconn" "github.com/prometheus/client_golang/prometheus" "google.golang.org/grpc/codes" "gorm.io/gorm" @@ -68,23 +69,29 @@ func (p *postgresErrorTransformer) ToFlyteAdminError(err error) flyteAdminErrors err = unwrappedErr } - pqError, ok := err.(*pgconn.PgError) - if !ok { - logger.Debugf(context.Background(), "Unable to cast to pgconn.PgError. Error type: [%v]", - reflect.TypeOf(err)) - return p.fromGormError(err) + // Try things both ways, the two pgconns are different types. + if pqError, ok := err.(*pgconn.PgError); ok { + return p.flyteAdminErrorFromCode(pqError.Code, pqError.Message) + } else if pqError, ok := err.(*pgxPgconn.PgError); ok { + return p.flyteAdminErrorFromCode(pqError.Code, pqError.Message) } - switch pqError.Code { + logger.Debugf(context.Background(), "Unable to cast to pgconn.PgError. Error type: [%v]", + reflect.TypeOf(err)) + return p.fromGormError(err) +} + +func (p *postgresErrorTransformer) flyteAdminErrorFromCode(pqErrorCode string, message string) flyteAdminErrors.FlyteAdminError { + switch pqErrorCode { case uniqueConstraintViolationCode: p.metrics.AlreadyExistsError.Inc() - return flyteAdminErrors.NewFlyteAdminErrorf(codes.AlreadyExists, uniqueConstraintViolation, pqError.Message) + return flyteAdminErrors.NewFlyteAdminErrorf(codes.AlreadyExists, uniqueConstraintViolation, message) case undefinedTable: p.metrics.UndefinedTable.Inc() - return flyteAdminErrors.NewFlyteAdminErrorf(codes.InvalidArgument, unsupportedTableOperation, pqError.Message) + return flyteAdminErrors.NewFlyteAdminErrorf(codes.InvalidArgument, unsupportedTableOperation, message) default: p.metrics.PostgresError.Inc() - return flyteAdminErrors.NewFlyteAdminError(codes.Unknown, fmt.Sprintf(defaultPgError, pqError.Message)) + return flyteAdminErrors.NewFlyteAdminError(codes.Unknown, fmt.Sprintf(defaultPgError, message)) } } diff --git a/flyteadmin/pkg/repositories/errors/postgres_test.go b/flyteadmin/pkg/repositories/errors/postgres_test.go index dcc988e3a7..5b73e31bec 100644 --- a/flyteadmin/pkg/repositories/errors/postgres_test.go +++ b/flyteadmin/pkg/repositories/errors/postgres_test.go @@ -5,6 +5,7 @@ import ( "testing" "github.com/jackc/pgconn" + pgxPgconn "github.com/jackc/pgx/v5/pgconn" "github.com/magiconair/properties/assert" "google.golang.org/grpc/codes" @@ -27,6 +28,16 @@ func TestToFlyteAdminError_UniqueConstraintViolation(t *testing.T) { assert.Equal(t, codes.AlreadyExists, transformedErr.Code()) assert.Equal(t, "value with matching already exists (message)", transformedErr.Error()) + + err2 := &pgxPgconn.PgError{ + Code: "23505", + Message: "message", + } + transformedErr = NewPostgresErrorTransformer(mockScope.NewTestScope()).ToFlyteAdminError(err2) + assert.Equal(t, codes.AlreadyExists, transformedErr.Code()) + assert.Equal(t, "value with matching already exists (message)", + transformedErr.Error()) + } func TestToFlyteAdminError_UnrecognizedPostgresError(t *testing.T) { @@ -38,4 +49,13 @@ func TestToFlyteAdminError_UnrecognizedPostgresError(t *testing.T) { assert.Equal(t, codes.Unknown, transformedErr.Code()) assert.Equal(t, "failed database operation with message", transformedErr.Error()) + + err2 := &pgxPgconn.PgError{ + Code: "foo", + Message: "message", + } + transformedErr = NewPostgresErrorTransformer(mockScope.NewTestScope()).ToFlyteAdminError(err2) + assert.Equal(t, codes.Unknown, transformedErr.Code()) + assert.Equal(t, "failed database operation with message", + transformedErr.Error()) } diff --git a/flyteadmin/pkg/repositories/gormimpl/project_repo_test.go b/flyteadmin/pkg/repositories/gormimpl/project_repo_test.go index 8520dbab3c..748e4363be 100644 --- a/flyteadmin/pkg/repositories/gormimpl/project_repo_test.go +++ b/flyteadmin/pkg/repositories/gormimpl/project_repo_test.go @@ -27,7 +27,7 @@ func TestCreateProject(t *testing.T) { query := GlobalMock.NewMock() GlobalMock.Logging = true query.WithQuery( - `INSERT INTO "projects" ("created_at","updated_at","deleted_at","name","description","labels","state","identifier") VALUES ($1,$2,$3,$4,$5,$6,$7,$8)`) + `INSERT INTO "projects" ("created_at","updated_at","deleted_at","identifier","name","description","labels","state") VALUES ($1,$2,$3,$4,$5,$6,$7,$8) RETURNING "id"`) activeState := int32(admin.Project_ACTIVE) err := projectRepo.Create(context.Background(), models.Project{ diff --git a/flyteadmin/pkg/rpc/adminservice/base.go b/flyteadmin/pkg/rpc/adminservice/base.go index 1338c2a083..1e91fec5d4 100644 --- a/flyteadmin/pkg/rpc/adminservice/base.go +++ b/flyteadmin/pkg/rpc/adminservice/base.go @@ -7,6 +7,7 @@ import ( "github.com/golang/protobuf/proto" + "github.com/flyteorg/flyte/flyteadmin/pkg/artifacts" "github.com/flyteorg/flyte/flyteadmin/pkg/async/cloudevent" eventWriter "github.com/flyteorg/flyte/flyteadmin/pkg/async/events/implementations" "github.com/flyteorg/flyte/flyteadmin/pkg/async/notifications" @@ -21,6 +22,7 @@ import ( runtimeIfaces "github.com/flyteorg/flyte/flyteadmin/pkg/runtime/interfaces" workflowengineImpl "github.com/flyteorg/flyte/flyteadmin/pkg/workflowengine/impl" "github.com/flyteorg/flyte/flyteadmin/plugins" + admin2 "github.com/flyteorg/flyte/flyteidl/clients/go/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" @@ -42,6 +44,7 @@ type AdminService struct { DescriptionEntityManager interfaces.DescriptionEntityInterface MetricsManager interfaces.MetricsInterface Metrics AdminMetrics + Artifacts *artifacts.ArtifactRegistry } // Intercepts all admin requests to handle panics during execution. @@ -96,7 +99,6 @@ func NewAdminServer(ctx context.Context, pluginRegistry *plugins.Registry, confi publisher := notifications.NewNotificationsPublisher(*configuration.ApplicationConfiguration().GetNotificationsConfig(), adminScope) processor := notifications.NewNotificationsProcessor(*configuration.ApplicationConfiguration().GetNotificationsConfig(), adminScope) eventPublisher := notifications.NewEventsPublisher(*configuration.ApplicationConfiguration().GetExternalEventsConfig(), adminScope) - cloudEventPublisher := cloudevent.NewCloudEventsPublisher(ctx, *configuration.ApplicationConfiguration().GetCloudEventsConfig(), adminScope) go func() { logger.Info(ctx, "Started processing notifications.") processor.StartProcessing() @@ -111,8 +113,15 @@ func NewAdminServer(ctx context.Context, pluginRegistry *plugins.Registry, confi }) eventScheduler := workflowScheduler.GetEventScheduler() + + var artifactRegistry *artifacts.ArtifactRegistry + if configuration.ApplicationConfiguration().GetTopLevelConfig().FeatureGates.EnableArtifacts { + adminClientCfg := admin2.GetConfig(ctx) + artifactRegistry = artifacts.NewArtifactRegistry(ctx, adminClientCfg) + } + launchPlanManager := manager.NewLaunchPlanManager( - repo, configuration, eventScheduler, adminScope.NewSubScope("launch_plan_manager")) + repo, configuration, eventScheduler, adminScope.NewSubScope("launch_plan_manager"), artifactRegistry) // Configure admin-specific remote data handler (separate from storage) remoteDataConfig := configuration.ApplicationConfiguration().GetRemoteDataConfig() @@ -125,9 +134,11 @@ func NewAdminServer(ctx context.Context, pluginRegistry *plugins.Registry, confi RemoteDataStoreClient: dataStorageClient, }).GetRemoteURLInterface() + cloudEventPublisher := cloudevent.NewCloudEventsPublisher(ctx, repo, dataStorageClient, urlData, *configuration.ApplicationConfiguration().GetCloudEventsConfig(), *configuration.ApplicationConfiguration().GetRemoteDataConfig(), adminScope) + workflowManager := manager.NewWorkflowManager( repo, configuration, workflowengineImpl.NewCompiler(), dataStorageClient, applicationConfiguration.GetMetadataStoragePrefix(), - adminScope.NewSubScope("workflow_manager")) + adminScope.NewSubScope("workflow_manager"), artifactRegistry) namedEntityManager := manager.NewNamedEntityManager(repo, configuration, adminScope.NewSubScope("named_entity_manager")) descriptionEntityManager := manager.NewDescriptionEntityManager(repo, configuration, adminScope.NewSubScope("description_entity_manager")) @@ -138,7 +149,7 @@ func NewAdminServer(ctx context.Context, pluginRegistry *plugins.Registry, confi executionManager := manager.NewExecutionManager(repo, pluginRegistry, configuration, dataStorageClient, adminScope.NewSubScope("execution_manager"), adminScope.NewSubScope("user_execution_metrics"), - publisher, urlData, workflowManager, namedEntityManager, eventPublisher, cloudEventPublisher, executionEventWriter) + publisher, urlData, workflowManager, namedEntityManager, eventPublisher, cloudEventPublisher, executionEventWriter, artifactRegistry) versionManager := manager.NewVersionManager() scheduledWorkflowExecutor := workflowScheduler.GetWorkflowExecutor(executionManager, launchPlanManager) @@ -161,7 +172,7 @@ func NewAdminServer(ctx context.Context, pluginRegistry *plugins.Registry, confi logger.Info(ctx, "Initializing a new AdminService") return &AdminService{ TaskManager: manager.NewTaskManager(repo, configuration, workflowengineImpl.NewCompiler(), - adminScope.NewSubScope("task_manager")), + adminScope.NewSubScope("task_manager"), artifactRegistry), WorkflowManager: workflowManager, LaunchPlanManager: launchPlanManager, ExecutionManager: executionManager, @@ -174,6 +185,7 @@ func NewAdminServer(ctx context.Context, pluginRegistry *plugins.Registry, confi ResourceManager: resources.NewResourceManager(repo, configuration.ApplicationConfiguration()), MetricsManager: manager.NewMetricsManager(workflowManager, executionManager, nodeExecutionManager, taskExecutionManager, adminScope.NewSubScope("metrics_manager")), - Metrics: InitMetrics(adminScope), + Metrics: InitMetrics(adminScope), + Artifacts: artifactRegistry, } } diff --git a/flyteadmin/pkg/runtime/interfaces/application_configuration.go b/flyteadmin/pkg/runtime/interfaces/application_configuration.go index 3df922334c..3a459209f5 100644 --- a/flyteadmin/pkg/runtime/interfaces/application_configuration.go +++ b/flyteadmin/pkg/runtime/interfaces/application_configuration.go @@ -48,6 +48,10 @@ type PostgresConfig struct { Debug bool `json:"debug" pflag:" Whether or not to start the database connection with debug mode enabled."` } +type FeatureGates struct { + EnableArtifacts bool `json:"enableArtifacts" pflag:",Enable artifacts feature."` +} + // ApplicationConfig is the base configuration to start admin type ApplicationConfig struct { // The RoleName key inserted as an annotation (https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) @@ -97,6 +101,8 @@ type ApplicationConfig struct { // Environment variables to be set for the execution. Envs map[string]string `json:"envs,omitempty"` + + FeatureGates FeatureGates `json:"featureGates" pflag:",Enable experimental features."` } func (a *ApplicationConfig) GetRoleNameKey() string { @@ -518,6 +524,17 @@ type ExternalEventsConfig struct { ReconnectDelaySeconds int `json:"reconnectDelaySeconds"` } +//go:generate enumer -type=CloudEventVersion -json -yaml -trimprefix=CloudEventVersion +type CloudEventVersion uint8 + +const ( + // This is the initial version of the cloud events + CloudEventVersionv1 CloudEventVersion = iota + + // Version 2 of the cloud events add a lot more information into the event + CloudEventVersionv2 +) + type CloudEventsConfig struct { Enable bool `json:"enable"` // Defines the cloud provider that backs the scheduler. In the absence of a specification the no-op, 'local' @@ -532,6 +549,8 @@ type CloudEventsConfig struct { ReconnectAttempts int `json:"reconnectAttempts"` // Specifies the time interval to wait before attempting to reconnect the notifications processor client. ReconnectDelaySeconds int `json:"reconnectDelaySeconds"` + // Transform the raw events into the fuller cloudevent events before publishing + CloudEventVersion CloudEventVersion `json:"cloudEventVersion"` } // Configuration specific to notifications handling diff --git a/flyteadmin/pkg/runtime/interfaces/cloudeventversion_enumer.go b/flyteadmin/pkg/runtime/interfaces/cloudeventversion_enumer.go new file mode 100644 index 0000000000..5ec7e3dc87 --- /dev/null +++ b/flyteadmin/pkg/runtime/interfaces/cloudeventversion_enumer.go @@ -0,0 +1,84 @@ +// Code generated by "enumer -type=CloudEventVersion -json -yaml -trimprefix=CloudEventVersion"; DO NOT EDIT. + +package interfaces + +import ( + "encoding/json" + "fmt" +) + +const _CloudEventVersionName = "v1v2" + +var _CloudEventVersionIndex = [...]uint8{0, 2, 4} + +func (i CloudEventVersion) String() string { + if i >= CloudEventVersion(len(_CloudEventVersionIndex)-1) { + return fmt.Sprintf("CloudEventVersion(%d)", i) + } + return _CloudEventVersionName[_CloudEventVersionIndex[i]:_CloudEventVersionIndex[i+1]] +} + +var _CloudEventVersionValues = []CloudEventVersion{0, 1} + +var _CloudEventVersionNameToValueMap = map[string]CloudEventVersion{ + _CloudEventVersionName[0:2]: 0, + _CloudEventVersionName[2:4]: 1, +} + +// CloudEventVersionString retrieves an enum value from the enum constants string name. +// Throws an error if the param is not part of the enum. +func CloudEventVersionString(s string) (CloudEventVersion, error) { + if val, ok := _CloudEventVersionNameToValueMap[s]; ok { + return val, nil + } + return 0, fmt.Errorf("%s does not belong to CloudEventVersion values", s) +} + +// CloudEventVersionValues returns all values of the enum +func CloudEventVersionValues() []CloudEventVersion { + return _CloudEventVersionValues +} + +// IsACloudEventVersion returns "true" if the value is listed in the enum definition. "false" otherwise +func (i CloudEventVersion) IsACloudEventVersion() bool { + for _, v := range _CloudEventVersionValues { + if i == v { + return true + } + } + return false +} + +// MarshalJSON implements the json.Marshaler interface for CloudEventVersion +func (i CloudEventVersion) MarshalJSON() ([]byte, error) { + return json.Marshal(i.String()) +} + +// UnmarshalJSON implements the json.Unmarshaler interface for CloudEventVersion +func (i *CloudEventVersion) UnmarshalJSON(data []byte) error { + var s string + if err := json.Unmarshal(data, &s); err != nil { + return fmt.Errorf("CloudEventVersion should be a string, got %s", data) + } + + var err error + *i, err = CloudEventVersionString(s) + return err +} + +// MarshalYAML implements a YAML Marshaler for CloudEventVersion +func (i CloudEventVersion) MarshalYAML() (interface{}, error) { + return i.String(), nil +} + +// UnmarshalYAML implements a YAML Unmarshaler for CloudEventVersion +func (i *CloudEventVersion) UnmarshalYAML(unmarshal func(interface{}) error) error { + var s string + if err := unmarshal(&s); err != nil { + return err + } + + var err error + *i, err = CloudEventVersionString(s) + return err +} diff --git a/flytecopilot/go.sum b/flytecopilot/go.sum index 61c4ebafc2..076bd774a8 100644 --- a/flytecopilot/go.sum +++ b/flytecopilot/go.sum @@ -299,8 +299,8 @@ 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/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +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= github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= diff --git a/flyteidl/clients/go/admin/client.go b/flyteidl/clients/go/admin/client.go index 69c3542367..85476ab8ba 100644 --- a/flyteidl/clients/go/admin/client.go +++ b/flyteidl/clients/go/admin/client.go @@ -6,6 +6,7 @@ import ( "crypto/x509" "errors" "fmt" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" grpcRetry "github.com/grpc-ecosystem/go-grpc-middleware/retry" grpcPrometheus "github.com/grpc-ecosystem/go-grpc-prometheus" @@ -30,6 +31,7 @@ type Clientset struct { identityServiceClient service.IdentityServiceClient dataProxyServiceClient service.DataProxyServiceClient signalServiceClient service.SignalServiceClient + artifactServiceClient artifact.ArtifactRegistryClient } // AdminClient retrieves the AdminServiceClient @@ -59,6 +61,10 @@ func (c Clientset) SignalServiceClient() service.SignalServiceClient { return c.signalServiceClient } +func (c Clientset) ArtifactServiceClient() artifact.ArtifactRegistryClient { + return c.artifactServiceClient +} + func NewAdminClient(ctx context.Context, conn *grpc.ClientConn) service.AdminServiceClient { logger.Infof(ctx, "Initialized Admin client") return service.NewAdminServiceClient(conn) @@ -199,20 +205,11 @@ func initializeClients(ctx context.Context, cfg *Config, tokenCache cache.TokenC cs.healthServiceClient = grpc_health_v1.NewHealthClient(adminConnection) cs.dataProxyServiceClient = service.NewDataProxyServiceClient(adminConnection) cs.signalServiceClient = service.NewSignalServiceClient(adminConnection) + cs.artifactServiceClient = artifact.NewArtifactRegistryClient(adminConnection) return &cs, nil } -// Deprecated: Please use NewClientsetBuilder() instead. -func InitializeAdminClientFromConfig(ctx context.Context, tokenCache cache.TokenCache, opts ...grpc.DialOption) (service.AdminServiceClient, error) { - clientSet, err := initializeClients(ctx, GetConfig(ctx), tokenCache, opts...) - if err != nil { - return nil, err - } - - return clientSet.AdminClient(), nil -} - func InitializeMockAdminClient() service.AdminServiceClient { logger.Infof(context.TODO(), "Initialized Mock Admin client") return &mocks.AdminServiceClient{} diff --git a/flyteidl/clients/go/admin/mocks/isGetDataRequest_Query.go b/flyteidl/clients/go/admin/mocks/isGetDataRequest_Query.go new file mode 100644 index 0000000000..090c6d0cc6 --- /dev/null +++ b/flyteidl/clients/go/admin/mocks/isGetDataRequest_Query.go @@ -0,0 +1,15 @@ +// Code generated by mockery v1.0.1. DO NOT EDIT. + +package mocks + +import mock "github.com/stretchr/testify/mock" + +// isGetDataRequest_Query is an autogenerated mock type for the isGetDataRequest_Query type +type isGetDataRequest_Query struct { + mock.Mock +} + +// isGetDataRequest_Query provides a mock function with given fields: +func (_m *isGetDataRequest_Query) isGetDataRequest_Query() { + _m.Called() +} diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc index 490636e25c..61aebda83d 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/agent.pb.cc @@ -24,7 +24,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fagent_2eproto ::google::proto 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<9> scc_info_Literal_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_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; namespace flyteidl { namespace admin { diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc index 23298b14a7..6165cc0849 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.cc @@ -31,14 +31,15 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fexecution_2eproto ::google::p 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<4> scc_info_ExecutionMetadata_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<2> 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<9> scc_info_Literal_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_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; @@ -335,12 +336,13 @@ static void InitDefaultsExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto() ::flyteidl::admin::ExecutionMetadata::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<4> scc_info_ExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsExecutionMetadata_flyteidl_2fadmin_2fexecution_2eproto}, { +::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_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; @@ -656,6 +658,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fexecution_2eprot 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_ @@ -759,17 +762,17 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 68, -1, sizeof(::flyteidl::admin::ExecutionClosure)}, { 88, -1, sizeof(::flyteidl::admin::SystemMetadata)}, { 95, -1, sizeof(::flyteidl::admin::ExecutionMetadata)}, - { 107, -1, sizeof(::flyteidl::admin::NotificationList)}, - { 113, -1, sizeof(::flyteidl::admin::ExecutionSpec)}, - { 136, -1, sizeof(::flyteidl::admin::ExecutionTerminateRequest)}, - { 143, -1, sizeof(::flyteidl::admin::ExecutionTerminateResponse)}, - { 148, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataRequest)}, - { 154, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataResponse)}, - { 163, -1, sizeof(::flyteidl::admin::ExecutionUpdateRequest)}, - { 170, -1, sizeof(::flyteidl::admin::ExecutionStateChangeDetails)}, - { 178, -1, sizeof(::flyteidl::admin::ExecutionUpdateResponse)}, - { 183, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsRequest)}, - { 190, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsResponse)}, + { 108, -1, sizeof(::flyteidl::admin::NotificationList)}, + { 114, -1, sizeof(::flyteidl::admin::ExecutionSpec)}, + { 137, -1, sizeof(::flyteidl::admin::ExecutionTerminateRequest)}, + { 144, -1, sizeof(::flyteidl::admin::ExecutionTerminateResponse)}, + { 149, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataRequest)}, + { 155, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetDataResponse)}, + { 164, -1, sizeof(::flyteidl::admin::ExecutionUpdateRequest)}, + { 171, -1, sizeof(::flyteidl::admin::ExecutionStateChangeDetails)}, + { 179, -1, sizeof(::flyteidl::admin::ExecutionUpdateResponse)}, + { 184, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsRequest)}, + { 191, -1, sizeof(::flyteidl::admin::WorkflowExecutionGetMetricsResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { @@ -809,132 +812,135 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2fexecution_2eproto[] = "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\036flyteidl/core/ident" - "ifier.proto\032\033flyteidl/core/metrics.proto" - "\032\034flyteidl/core/security.proto\032\036google/p" - "rotobuf/duration.proto\032\037google/protobuf/" - "timestamp.proto\032\036google/protobuf/wrapper" - "s.proto\"\237\001\n\026ExecutionCreateRequest\022\017\n\007pr" - "oject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 \001(" - "\t\022+\n\004spec\030\004 \001(\0132\035.flyteidl.admin.Executi" - "onSpec\022)\n\006inputs\030\005 \001(\0132\031.flyteidl.core.L" - "iteralMap\"\177\n\030ExecutionRelaunchRequest\0226\n" - "\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExecut" - "ionIdentifier\022\014\n\004name\030\003 \001(\t\022\027\n\017overwrite" - "_cache\030\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRecoverR" - "equest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workf" - "lowExecutionIdentifier\022\014\n\004name\030\002 \001(\t\0223\n\010" - "metadata\030\003 \001(\0132!.flyteidl.admin.Executio" - "nMetadata\"Q\n\027ExecutionCreateResponse\0226\n\002" + "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" + "\"\237\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\"\177\n\030ExecutionRelaunchRequest\0226\n\002id\030\001 \001" + "(\0132*.flyteidl.core.WorkflowExecutionIden" + "tifier\022\014\n\004name\030\003 \001(\t\022\027\n\017overwrite_cache\030" + "\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRecoverRequest\022" + "6\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" + "utionIdentifier\022\014\n\004name\030\002 \001(\t\0223\n\010metadat" + "a\030\003 \001(\0132!.flyteidl.admin.ExecutionMetada" + "ta\"Q\n\027ExecutionCreateResponse\0226\n\002id\030\001 \001(" + "\0132*.flyteidl.core.WorkflowExecutionIdent" + "ifier\"U\n\033WorkflowExecutionGetRequest\0226\n\002" "id\030\001 \001(\0132*.flyteidl.core.WorkflowExecuti" - "onIdentifier\"U\n\033WorkflowExecutionGetRequ" - "est\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workflow" - "ExecutionIdentifier\"\243\001\n\tExecution\0226\n\002id\030" - "\001 \001(\0132*.flyteidl.core.WorkflowExecutionI" - "dentifier\022+\n\004spec\030\002 \001(\0132\035.flyteidl.admin" - ".ExecutionSpec\0221\n\007closure\030\003 \001(\0132 .flytei" - "dl.admin.ExecutionClosure\"M\n\rExecutionLi" - "st\022-\n\nexecutions\030\001 \003(\0132\031.flyteidl.admin." - "Execution\022\r\n\005token\030\002 \001(\t\"X\n\016LiteralMapBl" - "ob\022/\n\006values\030\001 \001(\0132\031.flyteidl.core.Liter" - "alMapB\002\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n\004data\"1\n\rAb" - "ortMetadata\022\r\n\005cause\030\001 \001(\t\022\021\n\tprincipal\030" - "\002 \001(\t\"\360\005\n\020ExecutionClosure\0225\n\007outputs\030\001 " - "\001(\0132\036.flyteidl.admin.LiteralMapBlobB\002\030\001H" - "\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.core.Executi" - "onErrorH\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001H\000\0227\n\016" - "abort_metadata\030\014 \001(\0132\035.flyteidl.admin.Ab" - "ortMetadataH\000\0224\n\013output_data\030\r \001(\0132\031.fly" - "teidl.core.LiteralMapB\002\030\001H\000\0226\n\017computed_" - "inputs\030\003 \001(\0132\031.flyteidl.core.LiteralMapB" - "\002\030\001\0225\n\005phase\030\004 \001(\0162&.flyteidl.core.Workf" - "lowExecution.Phase\022.\n\nstarted_at\030\005 \001(\0132\032" - ".google.protobuf.Timestamp\022+\n\010duration\030\006" - " \001(\0132\031.google.protobuf.Duration\022.\n\ncreat" - "ed_at\030\007 \001(\0132\032.google.protobuf.Timestamp\022" - ".\n\nupdated_at\030\010 \001(\0132\032.google.protobuf.Ti" - "mestamp\0223\n\rnotifications\030\t \003(\0132\034.flyteid" - "l.admin.Notification\022.\n\013workflow_id\030\013 \001(" - "\0132\031.flyteidl.core.Identifier\022I\n\024state_ch" - "ange_details\030\016 \001(\0132+.flyteidl.admin.Exec" - "utionStateChangeDetailsB\017\n\routput_result" - "\">\n\016SystemMetadata\022\031\n\021execution_cluster\030" - "\001 \001(\t\022\021\n\tnamespace\030\002 \001(\t\"\332\003\n\021ExecutionMe" - "tadata\022=\n\004mode\030\001 \001(\0162/.flyteidl.admin.Ex" - "ecutionMetadata.ExecutionMode\022\021\n\tprincip" - "al\030\002 \001(\t\022\017\n\007nesting\030\003 \001(\r\0220\n\014scheduled_a" - "t\030\004 \001(\0132\032.google.protobuf.Timestamp\022E\n\025p" - "arent_node_execution\030\005 \001(\0132&.flyteidl.co" - "re.NodeExecutionIdentifier\022G\n\023reference_" - "execution\030\020 \001(\0132*.flyteidl.core.Workflow" - "ExecutionIdentifier\0227\n\017system_metadata\030\021" - " \001(\0132\036.flyteidl.admin.SystemMetadata\"g\n\r" - "ExecutionMode\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_WORK" - "FLOW\020\004\022\r\n\tRECOVERED\020\005\"G\n\020NotificationLis" - "t\0223\n\rnotifications\030\001 \003(\0132\034.flyteidl.admi" - "n.Notification\"\262\006\n\rExecutionSpec\022.\n\013laun" - "ch_plan\030\001 \001(\0132\031.flyteidl.core.Identifier" - "\022-\n\006inputs\030\002 \001(\0132\031.flyteidl.core.Literal" - "MapB\002\030\001\0223\n\010metadata\030\003 \001(\0132!.flyteidl.adm" - "in.ExecutionMetadata\0229\n\rnotifications\030\005 " - "\001(\0132 .flyteidl.admin.NotificationListH\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.Annotations\0228\n\020secu" - "rity_context\030\n \001(\0132\036.flyteidl.core.Secur" - "ityContext\022/\n\tauth_role\030\020 \001(\0132\030.flyteidl" - ".admin.AuthRoleB\002\030\001\022;\n\022quality_of_servic" - "e\030\021 \001(\0132\037.flyteidl.core.QualityOfService" - "\022\027\n\017max_parallelism\030\022 \001(\005\022C\n\026raw_output_" - "data_config\030\023 \001(\0132#.flyteidl.admin.RawOu" - "tputDataConfig\022=\n\022cluster_assignment\030\024 \001" - "(\0132!.flyteidl.admin.ClusterAssignment\0221\n" - "\rinterruptible\030\025 \001(\0132\032.google.protobuf.B" - "oolValue\022\027\n\017overwrite_cache\030\026 \001(\010\022\"\n\004env" - "s\030\027 \001(\0132\024.flyteidl.admin.Envs\022\014\n\004tags\030\030 " - "\003(\tB\030\n\026notification_overridesJ\004\010\004\020\005\"b\n\031E" - "xecutionTerminateRequest\0226\n\002id\030\001 \001(\0132*.f" + "onIdentifier\"\243\001\n\tExecution\0226\n\002id\030\001 \001(\0132*" + ".flyteidl.core.WorkflowExecutionIdentifi" + "er\022+\n\004spec\030\002 \001(\0132\035.flyteidl.admin.Execut" + "ionSpec\0221\n\007closure\030\003 \001(\0132 .flyteidl.admi" + "n.ExecutionClosure\"M\n\rExecutionList\022-\n\ne" + "xecutions\030\001 \003(\0132\031.flyteidl.admin.Executi" + "on\022\r\n\005token\030\002 \001(\t\"X\n\016LiteralMapBlob\022/\n\006v" + "alues\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\rAbortMeta" + "data\022\r\n\005cause\030\001 \001(\t\022\021\n\tprincipal\030\002 \001(\t\"\360" + "\005\n\020ExecutionClosure\0225\n\007outputs\030\001 \001(\0132\036.f" + "lyteidl.admin.LiteralMapBlobB\002\030\001H\000\022.\n\005er" + "ror\030\002 \001(\0132\035.flyteidl.core.ExecutionError" + "H\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001H\000\0227\n\016abort_m" + "etadata\030\014 \001(\0132\035.flyteidl.admin.AbortMeta" + "dataH\000\0224\n\013output_data\030\r \001(\0132\031.flyteidl.c" + "ore.LiteralMapB\002\030\001H\000\0226\n\017computed_inputs\030" + "\003 \001(\0132\031.flyteidl.core.LiteralMapB\002\030\001\0225\n\005" + "phase\030\004 \001(\0162&.flyteidl.core.WorkflowExec" + "ution.Phase\022.\n\nstarted_at\030\005 \001(\0132\032.google" + ".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\nupda" + "ted_at\030\010 \001(\0132\032.google.protobuf.Timestamp" + "\0223\n\rnotifications\030\t \003(\0132\034.flyteidl.admin" + ".Notification\022.\n\013workflow_id\030\013 \001(\0132\031.fly" + "teidl.core.Identifier\022I\n\024state_change_de" + "tails\030\016 \001(\0132+.flyteidl.admin.ExecutionSt" + "ateChangeDetailsB\017\n\routput_result\">\n\016Sys" + "temMetadata\022\031\n\021execution_cluster\030\001 \001(\t\022\021" + "\n\tnamespace\030\002 \001(\t\"\213\004\n\021ExecutionMetadata\022" + "=\n\004mode\030\001 \001(\0162/.flyteidl.admin.Execution" + "Metadata.ExecutionMode\022\021\n\tprincipal\030\002 \001(" + "\t\022\017\n\007nesting\030\003 \001(\r\0220\n\014scheduled_at\030\004 \001(\013" + "2\032.google.protobuf.Timestamp\022E\n\025parent_n" + "ode_execution\030\005 \001(\0132&.flyteidl.core.Node" + "ExecutionIdentifier\022G\n\023reference_executi" + "on\030\020 \001(\0132*.flyteidl.core.WorkflowExecuti" + "onIdentifier\0227\n\017system_metadata\030\021 \001(\0132\036." + "flyteidl.admin.SystemMetadata\022/\n\014artifac" + "t_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_WO" + "RKFLOW\020\004\022\r\n\tRECOVERED\020\005\"G\n\020NotificationL" + "ist\0223\n\rnotifications\030\001 \003(\0132\034.flyteidl.ad" + "min.Notification\"\262\006\n\rExecutionSpec\022.\n\013la" + "unch_plan\030\001 \001(\0132\031.flyteidl.core.Identifi" + "er\022-\n\006inputs\030\002 \001(\0132\031.flyteidl.core.Liter" + "alMapB\002\030\001\0223\n\010metadata\030\003 \001(\0132!.flyteidl.a" + "dmin.ExecutionMetadata\0229\n\rnotifications\030" + "\005 \001(\0132 .flyteidl.admin.NotificationListH" + "\000\022\025\n\013disable_all\030\006 \001(\010H\000\022&\n\006labels\030\007 \001(\013" + "2\026.flyteidl.admin.Labels\0220\n\013annotations\030" + "\010 \001(\0132\033.flyteidl.admin.Annotations\0228\n\020se" + "curity_context\030\n \001(\0132\036.flyteidl.core.Sec" + "urityContext\022/\n\tauth_role\030\020 \001(\0132\030.flytei" + "dl.admin.AuthRoleB\002\030\001\022;\n\022quality_of_serv" + "ice\030\021 \001(\0132\037.flyteidl.core.QualityOfServi" + "ce\022\027\n\017max_parallelism\030\022 \001(\005\022C\n\026raw_outpu" + "t_data_config\030\023 \001(\0132#.flyteidl.admin.Raw" + "OutputDataConfig\022=\n\022cluster_assignment\030\024" + " \001(\0132!.flyteidl.admin.ClusterAssignment\022" + "1\n\rinterruptible\030\025 \001(\0132\032.google.protobuf" + ".BoolValue\022\027\n\017overwrite_cache\030\026 \001(\010\022\"\n\004e" + "nvs\030\027 \001(\0132\024.flyteidl.admin.Envs\022\014\n\004tags\030" + "\030 \003(\tB\030\n\026notification_overridesJ\004\010\004\020\005\"b\n" + "\031ExecutionTerminateRequest\0226\n\002id\030\001 \001(\0132*" + ".flyteidl.core.WorkflowExecutionIdentifi" + "er\022\r\n\005cause\030\002 \001(\t\"\034\n\032ExecutionTerminateR" + "esponse\"Y\n\037WorkflowExecutionGetDataReque" + "st\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowE" + "xecutionIdentifier\"\336\001\n WorkflowExecution" + "GetDataResponse\022,\n\007outputs\030\001 \001(\0132\027.flyte" + "idl.admin.UrlBlobB\002\030\001\022+\n\006inputs\030\002 \001(\0132\027." + "flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_input" + "s\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014fu" + "ll_outputs\030\004 \001(\0132\031.flyteidl.core.Literal" + "Map\"\177\n\026ExecutionUpdateRequest\0226\n\002id\030\001 \001(" + "\0132*.flyteidl.core.WorkflowExecutionIdent" + "ifier\022-\n\005state\030\002 \001(\0162\036.flyteidl.admin.Ex" + "ecutionState\"\220\001\n\033ExecutionStateChangeDet" + "ails\022-\n\005state\030\001 \001(\0162\036.flyteidl.admin.Exe" + "cutionState\022/\n\013occurred_at\030\002 \001(\0132\032.googl" + "e.protobuf.Timestamp\022\021\n\tprincipal\030\003 \001(\t\"" + "\031\n\027ExecutionUpdateResponse\"k\n\"WorkflowEx" + "ecutionGetMetricsRequest\0226\n\002id\030\001 \001(\0132*.f" "lyteidl.core.WorkflowExecutionIdentifier" - "\022\r\n\005cause\030\002 \001(\t\"\034\n\032ExecutionTerminateRes" - "ponse\"Y\n\037WorkflowExecutionGetDataRequest" - "\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExe" - "cutionIdentifier\"\336\001\n WorkflowExecutionGe" - "tDataResponse\022,\n\007outputs\030\001 \001(\0132\027.flyteid" - "l.admin.UrlBlobB\002\030\001\022+\n\006inputs\030\002 \001(\0132\027.fl" - "yteidl.admin.UrlBlobB\002\030\001\022.\n\013full_inputs\030" - "\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014full" - "_outputs\030\004 \001(\0132\031.flyteidl.core.LiteralMa" - "p\"\177\n\026ExecutionUpdateRequest\0226\n\002id\030\001 \001(\0132" - "*.flyteidl.core.WorkflowExecutionIdentif" - "ier\022-\n\005state\030\002 \001(\0162\036.flyteidl.admin.Exec" - "utionState\"\220\001\n\033ExecutionStateChangeDetai" - "ls\022-\n\005state\030\001 \001(\0162\036.flyteidl.admin.Execu" - "tionState\022/\n\013occurred_at\030\002 \001(\0132\032.google." - "protobuf.Timestamp\022\021\n\tprincipal\030\003 \001(\t\"\031\n" - "\027ExecutionUpdateResponse\"k\n\"WorkflowExec" - "utionGetMetricsRequest\0226\n\002id\030\001 \001(\0132*.fly" - "teidl.core.WorkflowExecutionIdentifier\022\r" - "\n\005depth\030\002 \001(\005\"H\n#WorkflowExecutionGetMet" - "ricsResponse\022!\n\004span\030\001 \001(\0132\023.flyteidl.co" - "re.Span*>\n\016ExecutionState\022\024\n\020EXECUTION_A" - "CTIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B=Z;githu" - "b.com/flyteorg/flyte/flyteidl/gen/pb-go/" - "flyteidl/adminb\006proto3" + "\022\r\n\005depth\030\002 \001(\005\"H\n#WorkflowExecutionGetM" + "etricsResponse\022!\n\004span\030\001 \001(\0132\023.flyteidl." + "core.Span*>\n\016ExecutionState\022\024\n\020EXECUTION" + "_ACTIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B=Z;git" + "hub.com/flyteorg/flyte/flyteidl/gen/pb-g" + "o/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, 4622, + "flyteidl/admin/execution.proto", &assign_descriptors_table_flyteidl_2fadmin_2fexecution_2eproto, 4704, }; void AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[10] = + 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, @@ -942,7 +948,7 @@ void AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto() { ::AddDescriptors_google_2fprotobuf_2ftimestamp_2eproto, ::AddDescriptors_google_2fprotobuf_2fwrappers_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fexecution_2eproto, deps, 10); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fexecution_2eproto, deps, 11); } // Force running AddDescriptors() at dynamic initialization time. @@ -6276,6 +6282,9 @@ void ExecutionMetadata::clear_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; @@ -6284,6 +6293,7 @@ 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() @@ -6293,7 +6303,8 @@ ExecutionMetadata::ExecutionMetadata() } ExecutionMetadata::ExecutionMetadata(const ExecutionMetadata& from) : ::google::protobuf::Message(), - _internal_metadata_(nullptr) { + _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) { @@ -6362,6 +6373,7 @@ void ExecutionMetadata::Clear() { // 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_; @@ -6481,6 +6493,22 @@ const char* ExecutionMetadata::_InternalParse(const char* begin, const char* end {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) { @@ -6601,6 +6629,17 @@ bool ExecutionMetadata::MergePartialFromCodedStream( 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) { @@ -6673,6 +6712,15 @@ void ExecutionMetadata::SerializeWithCachedSizes( 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); @@ -6736,6 +6784,14 @@ ::google::protobuf::uint8* ExecutionMetadata::InternalSerializeWithCachedSizesTo 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); @@ -6757,6 +6813,17 @@ size_t ExecutionMetadata::ByteSizeLong() const { // 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 + @@ -6832,6 +6899,7 @@ void ExecutionMetadata::MergeFrom(const ExecutionMetadata& from) { ::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_); @@ -6881,6 +6949,7 @@ void ExecutionMetadata::Swap(ExecutionMetadata* 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_); diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h index 9665aff4c4..fbe4b1f4f4 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/execution.pb.h @@ -36,6 +36,7 @@ #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" @@ -1982,6 +1983,18 @@ class ExecutionMetadata final : // 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; @@ -2049,6 +2062,7 @@ class ExecutionMetadata final : 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_; @@ -5699,6 +5713,33 @@ inline void ExecutionMetadata::set_allocated_system_metadata(::flyteidl::admin:: // @@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 diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc index bcde2fea45..a69ec02fdb 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.cc @@ -26,16 +26,17 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::prot 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<2> scc_info_LaunchPlanMetadata_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<9> scc_info_Literal_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_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 { @@ -221,10 +222,11 @@ static void InitDefaultsLaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2epr ::flyteidl::admin::LaunchPlanMetadata::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<2> scc_info_LaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsLaunchPlanMetadata_flyteidl_2fadmin_2flaunch_5fplan_2eproto}, { +::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_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; @@ -377,6 +379,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2flaunch_5fplan_2e ~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_ @@ -415,10 +418,10 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 34, -1, sizeof(::flyteidl::admin::LaunchPlanSpec)}, { 55, -1, sizeof(::flyteidl::admin::LaunchPlanClosure)}, { 65, -1, sizeof(::flyteidl::admin::LaunchPlanMetadata)}, - { 72, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateRequest)}, - { 79, -1, sizeof(::flyteidl::admin::LaunchPlanUpdateResponse)}, - { 84, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanRequest)}, - { 90, -1, sizeof(::flyteidl::admin::ActiveLaunchPlanListRequest)}, + { 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[] = { @@ -449,69 +452,71 @@ const char descriptor_table_protodef_flyteidl_2fadmin_2flaunch_5fplan_2eproto[] "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\037google/protobu" - "f/timestamp.proto\032\036google/protobuf/wrapp" - "ers.proto\"n\n\027LaunchPlanCreateRequest\022%\n\002" - "id\030\001 \001(\0132\031.flyteidl.core.Identifier\022,\n\004s" - "pec\030\002 \001(\0132\036.flyteidl.admin.LaunchPlanSpe" - "c\"\032\n\030LaunchPlanCreateResponse\"\225\001\n\nLaunch" - "Plan\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Identif" - "ier\022,\n\004spec\030\002 \001(\0132\036.flyteidl.admin.Launc" - "hPlanSpec\0222\n\007closure\030\003 \001(\0132!.flyteidl.ad" - "min.LaunchPlanClosure\"Q\n\016LaunchPlanList\022" - "0\n\014launch_plans\030\001 \003(\0132\032.flyteidl.admin.L" - "aunchPlan\022\r\n\005token\030\002 \001(\t\"J\n\004Auth\022\032\n\022assu" - "mable_iam_role\030\001 \001(\t\022\"\n\032kubernetes_servi" - "ce_account\030\002 \001(\t:\002\030\001\"\355\005\n\016LaunchPlanSpec\022" - ".\n\013workflow_id\030\001 \001(\0132\031.flyteidl.core.Ide" - "ntifier\022;\n\017entity_metadata\030\002 \001(\0132\".flyte" - "idl.admin.LaunchPlanMetadata\0223\n\016default_" - "inputs\030\003 \001(\0132\033.flyteidl.core.ParameterMa" - "p\022/\n\014fixed_inputs\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.flyteidl.admin.Labels\0220\n\013annotati" - "ons\030\007 \001(\0132\033.flyteidl.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.AuthR" - "oleB\002\030\001\0228\n\020security_context\030\n \001(\0132\036.flyt" - "eidl.core.SecurityContext\022;\n\022quality_of_" - "service\030\020 \001(\0132\037.flyteidl.core.QualityOfS" - "ervice\022C\n\026raw_output_data_config\030\021 \001(\0132#" - ".flyteidl.admin.RawOutputDataConfig\022\027\n\017m" - "ax_parallelism\030\022 \001(\005\0221\n\rinterruptible\030\023 " - "\001(\0132\032.google.protobuf.BoolValue\022\027\n\017overw" - "rite_cache\030\024 \001(\010\022\"\n\004envs\030\025 \001(\0132\024.flyteid" - "l.admin.Envs\"\217\002\n\021LaunchPlanClosure\022.\n\005st" - "ate\030\001 \001(\0162\037.flyteidl.admin.LaunchPlanSta" - "te\0224\n\017expected_inputs\030\002 \001(\0132\033.flyteidl.c" - "ore.ParameterMap\0224\n\020expected_outputs\030\003 \001" - "(\0132\032.flyteidl.core.VariableMap\022.\n\ncreate" - "d_at\030\004 \001(\0132\032.google.protobuf.Timestamp\022." - "\n\nupdated_at\030\005 \001(\0132\032.google.protobuf.Tim" - "estamp\"u\n\022LaunchPlanMetadata\022*\n\010schedule" - "\030\001 \001(\0132\030.flyteidl.admin.Schedule\0223\n\rnoti" - "fications\030\002 \003(\0132\034.flyteidl.admin.Notific" - "ation\"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\030LaunchPlanUpdateResponse\"L\n\027ActiveLau" - "nchPlanRequest\0221\n\002id\030\001 \001(\0132%.flyteidl.ad" - "min.NamedEntityIdentifier\"\203\001\n\033ActiveLaun" - "chPlanListRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006do" - "main\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*" - "+\n\017LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006ACTI" - "VE\020\001B=Z;github.com/flyteorg/flyte/flytei" - "dl/gen/pb-go/flyteidl/adminb\006proto3" + "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\"\203\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*+\n\017" + "LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006ACTIVE\020" + "\001B=Z;github.com/flyteorg/flyte/flyteidl/" + "gen/pb-go/flyteidl/adminb\006proto3" ; ::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, 2395, + "flyteidl/admin/launch_plan.proto", &assign_descriptors_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto, 2472, }; void AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[9] = + static constexpr ::google::protobuf::internal::InitFunc deps[10] = { ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, @@ -520,10 +525,11 @@ void AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_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, 9); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2flaunch_5fplan_2eproto, deps, 10); } // Force running AddDescriptors() at dynamic initialization time. @@ -4144,16 +4150,23 @@ ::google::protobuf::Metadata LaunchPlanClosure::GetMetadata() const { 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_; @@ -4163,9 +4176,16 @@ void LaunchPlanMetadata::clear_schedule() { 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() @@ -4183,13 +4203,20 @@ LaunchPlanMetadata::LaunchPlanMetadata(const LaunchPlanMetadata& from) } 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); - schedule_ = nullptr; + ::memset(&schedule_, 0, static_cast( + reinterpret_cast(&launch_conditions_) - + reinterpret_cast(&schedule_)) + sizeof(launch_conditions_)); } LaunchPlanMetadata::~LaunchPlanMetadata() { @@ -4199,6 +4226,7 @@ LaunchPlanMetadata::~LaunchPlanMetadata() { void LaunchPlanMetadata::SharedDtor() { if (this != internal_default_instance()) delete schedule_; + if (this != internal_default_instance()) delete launch_conditions_; } void LaunchPlanMetadata::SetCachedSize(int size) const { @@ -4221,6 +4249,10 @@ void LaunchPlanMetadata::Clear() { delete schedule_; } schedule_ = nullptr; + if (GetArenaNoVirtual() == nullptr && launch_conditions_ != nullptr) { + delete launch_conditions_; + } + launch_conditions_ = nullptr; _internal_metadata_.Clear(); } @@ -4266,6 +4298,19 @@ const char* LaunchPlanMetadata::_InternalParse(const char* begin, const char* en } 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) { @@ -4318,6 +4363,17 @@ bool LaunchPlanMetadata::MergePartialFromCodedStream( 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) { @@ -4360,6 +4416,12 @@ void LaunchPlanMetadata::SerializeWithCachedSizes( 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); @@ -4388,6 +4450,13 @@ ::google::protobuf::uint8* LaunchPlanMetadata::InternalSerializeWithCachedSizesT 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); @@ -4427,6 +4496,13 @@ size_t LaunchPlanMetadata::ByteSizeLong() const { *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; @@ -4458,6 +4534,9 @@ void LaunchPlanMetadata::MergeFrom(const LaunchPlanMetadata& from) { 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) { @@ -4487,6 +4566,7 @@ void LaunchPlanMetadata::InternalSwap(LaunchPlanMetadata* other) { _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 { diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h index 122f1b8c24..27e0deca98 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/launch_plan.pb.h @@ -39,6 +39,7 @@ #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) @@ -1305,6 +1306,15 @@ class LaunchPlanMetadata final : ::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; @@ -1312,6 +1322,7 @@ class LaunchPlanMetadata final : ::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; }; @@ -3242,6 +3253,51 @@ LaunchPlanMetadata::notifications() const { 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 diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc index 88da69ad52..09fc0a5e20 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/node_execution.pb.cc @@ -32,7 +32,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::p 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<9> scc_info_Literal_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_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 { diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc index 2085e84ce2..804a064068 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/signal.pb.cc @@ -20,7 +20,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcommon_2eproto ::google::prot 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<9> scc_info_Literal_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_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto; namespace flyteidl { namespace admin { diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc index ad02254db8..eb79cb6cb2 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/task_execution.pb.cc @@ -26,7 +26,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::pr 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<9> scc_info_Literal_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_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; diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc new file mode 100644 index 0000000000..bcf5f3f71a --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc @@ -0,0 +1,463 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/artifact/artifacts.proto + +#include "flyteidl/artifact/artifacts.pb.h" +#include "flyteidl/artifact/artifacts.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace artifact { + +static const char* ArtifactRegistry_method_names[] = { + "/flyteidl.artifact.ArtifactRegistry/CreateArtifact", + "/flyteidl.artifact.ArtifactRegistry/GetArtifact", + "/flyteidl.artifact.ArtifactRegistry/SearchArtifacts", + "/flyteidl.artifact.ArtifactRegistry/CreateTrigger", + "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", + "/flyteidl.artifact.ArtifactRegistry/AddTag", + "/flyteidl.artifact.ArtifactRegistry/RegisterProducer", + "/flyteidl.artifact.ArtifactRegistry/RegisterConsumer", + "/flyteidl.artifact.ArtifactRegistry/SetExecutionInputs", + "/flyteidl.artifact.ArtifactRegistry/FindByWorkflowExec", +}; + +std::unique_ptr< ArtifactRegistry::Stub> ArtifactRegistry::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { + (void)options; + std::unique_ptr< ArtifactRegistry::Stub> stub(new ArtifactRegistry::Stub(channel)); + return stub; +} + +ArtifactRegistry::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) + : channel_(channel), rpcmethod_CreateArtifact_(ArtifactRegistry_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetArtifact_(ArtifactRegistry_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SearchArtifacts_(ArtifactRegistry_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_CreateTrigger_(ArtifactRegistry_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeleteTrigger_(ArtifactRegistry_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_AddTag_(ArtifactRegistry_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RegisterProducer_(ArtifactRegistry_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_RegisterConsumer_(ArtifactRegistry_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_SetExecutionInputs_(ArtifactRegistry_method_names[8], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_FindByWorkflowExec_(ArtifactRegistry_method_names[9], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + {} + +::grpc::Status ArtifactRegistry::Stub::CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::flyteidl::artifact::CreateArtifactResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateArtifact_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateArtifact_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>* ArtifactRegistry::Stub::AsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::CreateArtifactResponse>::Create(channel_.get(), cq, rpcmethod_CreateArtifact_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>* ArtifactRegistry::Stub::PrepareAsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::CreateArtifactResponse>::Create(channel_.get(), cq, rpcmethod_CreateArtifact_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::flyteidl::artifact::GetArtifactResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_GetArtifact_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_GetArtifact_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>* ArtifactRegistry::Stub::AsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::GetArtifactResponse>::Create(channel_.get(), cq, rpcmethod_GetArtifact_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>* ArtifactRegistry::Stub::PrepareAsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::GetArtifactResponse>::Create(channel_.get(), cq, rpcmethod_GetArtifact_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::SearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::flyteidl::artifact::SearchArtifactsResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SearchArtifacts_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::SearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SearchArtifacts_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::SearchArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SearchArtifacts_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::SearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_SearchArtifacts_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::SearchArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_SearchArtifacts_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>* ArtifactRegistry::Stub::AsyncSearchArtifactsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::SearchArtifactsResponse>::Create(channel_.get(), cq, rpcmethod_SearchArtifacts_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>* ArtifactRegistry::Stub::PrepareAsyncSearchArtifactsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::SearchArtifactsResponse>::Create(channel_.get(), cq, rpcmethod_SearchArtifacts_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::flyteidl::artifact::CreateTriggerResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CreateTrigger_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTrigger_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_CreateTrigger_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTrigger_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_CreateTrigger_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* ArtifactRegistry::Stub::AsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::CreateTriggerResponse>::Create(channel_.get(), cq, rpcmethod_CreateTrigger_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* ArtifactRegistry::Stub::PrepareAsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::CreateTriggerResponse>::Create(channel_.get(), cq, rpcmethod_CreateTrigger_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteTrigger_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* ArtifactRegistry::Stub::AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeleteTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTrigger_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* ArtifactRegistry::Stub::PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeleteTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTrigger_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_AddTag_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_AddTag_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* ArtifactRegistry::Stub::AsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::AddTagResponse>::Create(channel_.get(), cq, rpcmethod_AddTag_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* ArtifactRegistry::Stub::PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::AddTagResponse>::Create(channel_.get(), cq, rpcmethod_AddTag_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::flyteidl::artifact::RegisterResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RegisterProducer_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RegisterProducer_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RegisterProducer_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RegisterProducer_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RegisterProducer_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* ArtifactRegistry::Stub::AsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::RegisterResponse>::Create(channel_.get(), cq, rpcmethod_RegisterProducer_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* ArtifactRegistry::Stub::PrepareAsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::RegisterResponse>::Create(channel_.get(), cq, rpcmethod_RegisterProducer_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::flyteidl::artifact::RegisterResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_RegisterConsumer_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RegisterConsumer_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_RegisterConsumer_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RegisterConsumer_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_RegisterConsumer_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* ArtifactRegistry::Stub::AsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::RegisterResponse>::Create(channel_.get(), cq, rpcmethod_RegisterConsumer_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* ArtifactRegistry::Stub::PrepareAsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::RegisterResponse>::Create(channel_.get(), cq, rpcmethod_RegisterConsumer_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::SetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::flyteidl::artifact::ExecutionInputsResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_SetExecutionInputs_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::SetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SetExecutionInputs_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::SetExecutionInputs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::ExecutionInputsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_SetExecutionInputs_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::SetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_SetExecutionInputs_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::SetExecutionInputs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::ExecutionInputsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_SetExecutionInputs_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::ExecutionInputsResponse>* ArtifactRegistry::Stub::AsyncSetExecutionInputsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::ExecutionInputsResponse>::Create(channel_.get(), cq, rpcmethod_SetExecutionInputs_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::ExecutionInputsResponse>* ArtifactRegistry::Stub::PrepareAsyncSetExecutionInputsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::ExecutionInputsResponse>::Create(channel_.get(), cq, rpcmethod_SetExecutionInputs_, context, request, false); +} + +::grpc::Status ArtifactRegistry::Stub::FindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::flyteidl::artifact::SearchArtifactsResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_FindByWorkflowExec_, context, request, response); +} + +void ArtifactRegistry::Stub::experimental_async::FindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_FindByWorkflowExec_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::FindByWorkflowExec(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_FindByWorkflowExec_, context, request, response, std::move(f)); +} + +void ArtifactRegistry::Stub::experimental_async::FindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_FindByWorkflowExec_, context, request, response, reactor); +} + +void ArtifactRegistry::Stub::experimental_async::FindByWorkflowExec(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_FindByWorkflowExec_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>* ArtifactRegistry::Stub::AsyncFindByWorkflowExecRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::SearchArtifactsResponse>::Create(channel_.get(), cq, rpcmethod_FindByWorkflowExec_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>* ArtifactRegistry::Stub::PrepareAsyncFindByWorkflowExecRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::SearchArtifactsResponse>::Create(channel_.get(), cq, rpcmethod_FindByWorkflowExec_, context, request, false); +} + +ArtifactRegistry::Service::Service() { + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[0], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::CreateArtifactRequest, ::flyteidl::artifact::CreateArtifactResponse>( + std::mem_fn(&ArtifactRegistry::Service::CreateArtifact), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[1], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::GetArtifactRequest, ::flyteidl::artifact::GetArtifactResponse>( + std::mem_fn(&ArtifactRegistry::Service::GetArtifact), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[2], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::SearchArtifactsRequest, ::flyteidl::artifact::SearchArtifactsResponse>( + std::mem_fn(&ArtifactRegistry::Service::SearchArtifacts), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[3], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::CreateTriggerRequest, ::flyteidl::artifact::CreateTriggerResponse>( + std::mem_fn(&ArtifactRegistry::Service::CreateTrigger), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[4], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>( + std::mem_fn(&ArtifactRegistry::Service::DeleteTrigger), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[5], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::AddTagRequest, ::flyteidl::artifact::AddTagResponse>( + std::mem_fn(&ArtifactRegistry::Service::AddTag), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[6], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::RegisterProducerRequest, ::flyteidl::artifact::RegisterResponse>( + std::mem_fn(&ArtifactRegistry::Service::RegisterProducer), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[7], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::RegisterConsumerRequest, ::flyteidl::artifact::RegisterResponse>( + std::mem_fn(&ArtifactRegistry::Service::RegisterConsumer), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[8], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::ExecutionInputsRequest, ::flyteidl::artifact::ExecutionInputsResponse>( + std::mem_fn(&ArtifactRegistry::Service::SetExecutionInputs), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + ArtifactRegistry_method_names[9], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::FindByWorkflowExecRequest, ::flyteidl::artifact::SearchArtifactsResponse>( + std::mem_fn(&ArtifactRegistry::Service::FindByWorkflowExec), this))); +} + +ArtifactRegistry::Service::~Service() { +} + +::grpc::Status ArtifactRegistry::Service::CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::SetExecutionInputs(::grpc::ServerContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + +::grpc::Status ArtifactRegistry::Service::FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + + +} // namespace flyteidl +} // namespace artifact + diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h new file mode 100644 index 0000000000..1fbe28eb23 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h @@ -0,0 +1,1704 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/artifact/artifacts.proto +#ifndef GRPC_flyteidl_2fartifact_2fartifacts_2eproto__INCLUDED +#define GRPC_flyteidl_2fartifact_2fartifacts_2eproto__INCLUDED + +#include "flyteidl/artifact/artifacts.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 artifact { + +class ArtifactRegistry final { + public: + static constexpr char const* service_full_name() { + return "flyteidl.artifact.ArtifactRegistry"; + } + class StubInterface { + public: + virtual ~StubInterface() {} + virtual ::grpc::Status CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::flyteidl::artifact::CreateArtifactResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>> AsyncCreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>>(AsyncCreateArtifactRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>> PrepareAsyncCreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>>(PrepareAsyncCreateArtifactRaw(context, request, cq)); + } + virtual ::grpc::Status GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::flyteidl::artifact::GetArtifactResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>> AsyncGetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>>(AsyncGetArtifactRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>> PrepareAsyncGetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>>(PrepareAsyncGetArtifactRaw(context, request, cq)); + } + virtual ::grpc::Status SearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::flyteidl::artifact::SearchArtifactsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>> AsyncSearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>>(AsyncSearchArtifactsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>> PrepareAsyncSearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>>(PrepareAsyncSearchArtifactsRaw(context, request, cq)); + } + virtual ::grpc::Status CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::flyteidl::artifact::CreateTriggerResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>> AsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>>(AsyncCreateTriggerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>> PrepareAsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>>(PrepareAsyncCreateTriggerRaw(context, request, cq)); + } + virtual ::grpc::Status DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>> AsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>>(AsyncDeleteTriggerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>> PrepareAsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>>(PrepareAsyncDeleteTriggerRaw(context, request, cq)); + } + virtual ::grpc::Status AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>> AsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>>(AsyncAddTagRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>> PrepareAsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>>(PrepareAsyncAddTagRaw(context, request, cq)); + } + virtual ::grpc::Status RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::flyteidl::artifact::RegisterResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>> AsyncRegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>>(AsyncRegisterProducerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>> PrepareAsyncRegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>>(PrepareAsyncRegisterProducerRaw(context, request, cq)); + } + virtual ::grpc::Status RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::flyteidl::artifact::RegisterResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>> AsyncRegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>>(AsyncRegisterConsumerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>> PrepareAsyncRegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>>(PrepareAsyncRegisterConsumerRaw(context, request, cq)); + } + virtual ::grpc::Status SetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::flyteidl::artifact::ExecutionInputsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::ExecutionInputsResponse>> AsyncSetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::ExecutionInputsResponse>>(AsyncSetExecutionInputsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::ExecutionInputsResponse>> PrepareAsyncSetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::ExecutionInputsResponse>>(PrepareAsyncSetExecutionInputsRaw(context, request, cq)); + } + virtual ::grpc::Status FindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::flyteidl::artifact::SearchArtifactsResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>> AsyncFindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>>(AsyncFindByWorkflowExecRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>> PrepareAsyncFindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>>(PrepareAsyncFindByWorkflowExecRaw(context, request, cq)); + } + class experimental_async_interface { + public: + virtual ~experimental_async_interface() {} + virtual void CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function) = 0; + virtual void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function) = 0; + virtual void CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function) = 0; + virtual void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function) = 0; + virtual void GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void SearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function) = 0; + virtual void SearchArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function) = 0; + virtual void SearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void SearchArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) = 0; + virtual void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) = 0; + virtual void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) = 0; + virtual void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) = 0; + virtual void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, std::function) = 0; + virtual void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, std::function) = 0; + virtual void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function) = 0; + virtual void RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function) = 0; + virtual void RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function) = 0; + virtual void RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function) = 0; + virtual void RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void SetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response, std::function) = 0; + virtual void SetExecutionInputs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::ExecutionInputsResponse* response, std::function) = 0; + virtual void SetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void SetExecutionInputs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::ExecutionInputsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void FindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function) = 0; + virtual void FindByWorkflowExec(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function) = 0; + virtual void FindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void FindByWorkflowExec(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + }; + virtual class experimental_async_interface* experimental_async() { return nullptr; } + private: + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>* AsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateArtifactResponse>* PrepareAsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>* AsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::GetArtifactResponse>* PrepareAsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>* AsyncSearchArtifactsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>* PrepareAsyncSearchArtifactsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>* AsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>* PrepareAsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>* AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>* PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>* AsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>* PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>* PrepareAsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>* PrepareAsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::ExecutionInputsResponse>* AsyncSetExecutionInputsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::ExecutionInputsResponse>* PrepareAsyncSetExecutionInputsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>* AsyncFindByWorkflowExecRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>* PrepareAsyncFindByWorkflowExecRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::grpc::CompletionQueue* cq) = 0; + }; + class Stub final : public StubInterface { + public: + Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel); + ::grpc::Status CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::flyteidl::artifact::CreateArtifactResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>> AsyncCreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>>(AsyncCreateArtifactRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>> PrepareAsyncCreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>>(PrepareAsyncCreateArtifactRaw(context, request, cq)); + } + ::grpc::Status GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::flyteidl::artifact::GetArtifactResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>> AsyncGetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>>(AsyncGetArtifactRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>> PrepareAsyncGetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>>(PrepareAsyncGetArtifactRaw(context, request, cq)); + } + ::grpc::Status SearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::flyteidl::artifact::SearchArtifactsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>> AsyncSearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>>(AsyncSearchArtifactsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>> PrepareAsyncSearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>>(PrepareAsyncSearchArtifactsRaw(context, request, cq)); + } + ::grpc::Status CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::flyteidl::artifact::CreateTriggerResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>> AsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>>(AsyncCreateTriggerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>> PrepareAsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>>(PrepareAsyncCreateTriggerRaw(context, request, cq)); + } + ::grpc::Status DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>> AsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>>(AsyncDeleteTriggerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>> PrepareAsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>>(PrepareAsyncDeleteTriggerRaw(context, request, cq)); + } + ::grpc::Status AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>> AsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>>(AsyncAddTagRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>> PrepareAsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>>(PrepareAsyncAddTagRaw(context, request, cq)); + } + ::grpc::Status RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::flyteidl::artifact::RegisterResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>> AsyncRegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>>(AsyncRegisterProducerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>> PrepareAsyncRegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>>(PrepareAsyncRegisterProducerRaw(context, request, cq)); + } + ::grpc::Status RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::flyteidl::artifact::RegisterResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>> AsyncRegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>>(AsyncRegisterConsumerRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>> PrepareAsyncRegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>>(PrepareAsyncRegisterConsumerRaw(context, request, cq)); + } + ::grpc::Status SetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::flyteidl::artifact::ExecutionInputsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::ExecutionInputsResponse>> AsyncSetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::ExecutionInputsResponse>>(AsyncSetExecutionInputsRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::ExecutionInputsResponse>> PrepareAsyncSetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::ExecutionInputsResponse>>(PrepareAsyncSetExecutionInputsRaw(context, request, cq)); + } + ::grpc::Status FindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::flyteidl::artifact::SearchArtifactsResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>> AsyncFindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>>(AsyncFindByWorkflowExecRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>> PrepareAsyncFindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>>(PrepareAsyncFindByWorkflowExecRaw(context, request, cq)); + } + class experimental_async final : + public StubInterface::experimental_async_interface { + public: + void CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function) override; + void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, std::function) override; + void CreateArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void CreateArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function) override; + void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, std::function) override; + void GetArtifact(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void GetArtifact(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void SearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function) override; + void SearchArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function) override; + void SearchArtifacts(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void SearchArtifacts(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) override; + void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) override; + void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) override; + void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) override; + void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, std::function) override; + void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, std::function) override; + void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function) override; + void RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function) override; + void RegisterProducer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void RegisterProducer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, std::function) override; + void RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, std::function) override; + void RegisterConsumer(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void RegisterConsumer(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void SetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response, std::function) override; + void SetExecutionInputs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::ExecutionInputsResponse* response, std::function) override; + void SetExecutionInputs(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void SetExecutionInputs(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::ExecutionInputsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void FindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function) override; + void FindByWorkflowExec(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* response, std::function) override; + void FindByWorkflowExec(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void FindByWorkflowExec(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::SearchArtifactsResponse* 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::artifact::CreateArtifactResponse>* AsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateArtifactResponse>* PrepareAsyncCreateArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>* AsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::GetArtifactResponse>* PrepareAsyncGetArtifactRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::GetArtifactRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>* AsyncSearchArtifactsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>* PrepareAsyncSearchArtifactsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* AsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* PrepareAsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* AsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* PrepareAsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* PrepareAsyncRegisterConsumerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterConsumerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::ExecutionInputsResponse>* AsyncSetExecutionInputsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::ExecutionInputsResponse>* PrepareAsyncSetExecutionInputsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::ExecutionInputsRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>* AsyncFindByWorkflowExecRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>* PrepareAsyncFindByWorkflowExecRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest& request, ::grpc::CompletionQueue* cq) override; + const ::grpc::internal::RpcMethod rpcmethod_CreateArtifact_; + const ::grpc::internal::RpcMethod rpcmethod_GetArtifact_; + const ::grpc::internal::RpcMethod rpcmethod_SearchArtifacts_; + const ::grpc::internal::RpcMethod rpcmethod_CreateTrigger_; + const ::grpc::internal::RpcMethod rpcmethod_DeleteTrigger_; + const ::grpc::internal::RpcMethod rpcmethod_AddTag_; + const ::grpc::internal::RpcMethod rpcmethod_RegisterProducer_; + const ::grpc::internal::RpcMethod rpcmethod_RegisterConsumer_; + const ::grpc::internal::RpcMethod rpcmethod_SetExecutionInputs_; + const ::grpc::internal::RpcMethod rpcmethod_FindByWorkflowExec_; + }; + 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(); + virtual ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response); + virtual ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response); + virtual ::grpc::Status SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response); + virtual ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response); + virtual ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response); + virtual ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response); + virtual ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response); + virtual ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response); + virtual ::grpc::Status SetExecutionInputs(::grpc::ServerContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response); + virtual ::grpc::Status FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response); + }; + template + class WithAsyncMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_CreateArtifact() { + ::grpc::Service::MarkMethodAsync(0); + } + ~WithAsyncMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateArtifact(::grpc::ServerContext* context, ::flyteidl::artifact::CreateArtifactRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::CreateArtifactResponse>* 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_GetArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_GetArtifact() { + ::grpc::Service::MarkMethodAsync(1); + } + ~WithAsyncMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestGetArtifact(::grpc::ServerContext* context, ::flyteidl::artifact::GetArtifactRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::GetArtifactResponse>* 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_SearchArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_SearchArtifacts() { + ::grpc::Service::MarkMethodAsync(2); + } + ~WithAsyncMethod_SearchArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSearchArtifacts(::grpc::ServerContext* context, ::flyteidl::artifact::SearchArtifactsRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::SearchArtifactsResponse>* 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_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_CreateTrigger() { + ::grpc::Service::MarkMethodAsync(3); + } + ~WithAsyncMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateTrigger(::grpc::ServerContext* context, ::flyteidl::artifact::CreateTriggerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::CreateTriggerResponse>* 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_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_DeleteTrigger() { + ::grpc::Service::MarkMethodAsync(4); + } + ~WithAsyncMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteTrigger(::grpc::ServerContext* context, ::flyteidl::artifact::DeleteTriggerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::DeleteTriggerResponse>* 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_AddTag : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_AddTag() { + ::grpc::Service::MarkMethodAsync(5); + } + ~WithAsyncMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestAddTag(::grpc::ServerContext* context, ::flyteidl::artifact::AddTagRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::AddTagResponse>* 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_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_RegisterProducer() { + ::grpc::Service::MarkMethodAsync(6); + } + ~WithAsyncMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRegisterProducer(::grpc::ServerContext* context, ::flyteidl::artifact::RegisterProducerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::RegisterResponse>* 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_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_RegisterConsumer() { + ::grpc::Service::MarkMethodAsync(7); + } + ~WithAsyncMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRegisterConsumer(::grpc::ServerContext* context, ::flyteidl::artifact::RegisterConsumerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::RegisterResponse>* 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_SetExecutionInputs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_SetExecutionInputs() { + ::grpc::Service::MarkMethodAsync(8); + } + ~WithAsyncMethod_SetExecutionInputs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetExecutionInputs(::grpc::ServerContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSetExecutionInputs(::grpc::ServerContext* context, ::flyteidl::artifact::ExecutionInputsRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::ExecutionInputsResponse>* 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_FindByWorkflowExec : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_FindByWorkflowExec() { + ::grpc::Service::MarkMethodAsync(9); + } + ~WithAsyncMethod_FindByWorkflowExec() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestFindByWorkflowExec(::grpc::ServerContext* context, ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::SearchArtifactsResponse>* 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_CreateArtifact > > > > > > > > > AsyncService; + template + class ExperimentalWithCallbackMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_CreateArtifact() { + ::grpc::Service::experimental().MarkMethodCallback(0, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::CreateArtifactRequest, ::flyteidl::artifact::CreateArtifactResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::CreateArtifactRequest* request, + ::flyteidl::artifact::CreateArtifactResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->CreateArtifact(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_CreateArtifact( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::CreateArtifactRequest, ::flyteidl::artifact::CreateArtifactResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::CreateArtifactRequest, ::flyteidl::artifact::CreateArtifactResponse>*>( + ::grpc::Service::experimental().GetHandler(0)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::CreateArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::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(1, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::GetArtifactRequest, ::flyteidl::artifact::GetArtifactResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::GetArtifactRequest* request, + ::flyteidl::artifact::GetArtifactResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->GetArtifact(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_GetArtifact( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::GetArtifactRequest, ::flyteidl::artifact::GetArtifactResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::GetArtifactRequest, ::flyteidl::artifact::GetArtifactResponse>*>( + ::grpc::Service::experimental().GetHandler(1)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_SearchArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_SearchArtifacts() { + ::grpc::Service::experimental().MarkMethodCallback(2, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::SearchArtifactsRequest, ::flyteidl::artifact::SearchArtifactsResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::SearchArtifactsRequest* request, + ::flyteidl::artifact::SearchArtifactsResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->SearchArtifacts(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_SearchArtifacts( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::SearchArtifactsRequest, ::flyteidl::artifact::SearchArtifactsResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::SearchArtifactsRequest, ::flyteidl::artifact::SearchArtifactsResponse>*>( + ::grpc::Service::experimental().GetHandler(2)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_SearchArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_CreateTrigger() { + ::grpc::Service::experimental().MarkMethodCallback(3, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::CreateTriggerRequest, ::flyteidl::artifact::CreateTriggerResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::CreateTriggerRequest* request, + ::flyteidl::artifact::CreateTriggerResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->CreateTrigger(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_CreateTrigger( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::CreateTriggerRequest, ::flyteidl::artifact::CreateTriggerResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::CreateTriggerRequest, ::flyteidl::artifact::CreateTriggerResponse>*>( + ::grpc::Service::experimental().GetHandler(3)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_DeleteTrigger() { + ::grpc::Service::experimental().MarkMethodCallback(4, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::DeleteTriggerRequest* request, + ::flyteidl::artifact::DeleteTriggerResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->DeleteTrigger(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_DeleteTrigger( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>*>( + ::grpc::Service::experimental().GetHandler(4)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* 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(5, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::AddTagRequest, ::flyteidl::artifact::AddTagResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::AddTagRequest* request, + ::flyteidl::artifact::AddTagResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->AddTag(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_AddTag( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::AddTagRequest, ::flyteidl::artifact::AddTagResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::AddTagRequest, ::flyteidl::artifact::AddTagResponse>*>( + ::grpc::Service::experimental().GetHandler(5)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_RegisterProducer() { + ::grpc::Service::experimental().MarkMethodCallback(6, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::RegisterProducerRequest, ::flyteidl::artifact::RegisterResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::RegisterProducerRequest* request, + ::flyteidl::artifact::RegisterResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->RegisterProducer(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_RegisterProducer( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::RegisterProducerRequest, ::flyteidl::artifact::RegisterResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::RegisterProducerRequest, ::flyteidl::artifact::RegisterResponse>*>( + ::grpc::Service::experimental().GetHandler(6)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_RegisterConsumer() { + ::grpc::Service::experimental().MarkMethodCallback(7, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::RegisterConsumerRequest, ::flyteidl::artifact::RegisterResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::RegisterConsumerRequest* request, + ::flyteidl::artifact::RegisterResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->RegisterConsumer(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_RegisterConsumer( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::RegisterConsumerRequest, ::flyteidl::artifact::RegisterResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::RegisterConsumerRequest, ::flyteidl::artifact::RegisterResponse>*>( + ::grpc::Service::experimental().GetHandler(7)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_SetExecutionInputs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_SetExecutionInputs() { + ::grpc::Service::experimental().MarkMethodCallback(8, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::ExecutionInputsRequest, ::flyteidl::artifact::ExecutionInputsResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::ExecutionInputsRequest* request, + ::flyteidl::artifact::ExecutionInputsResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->SetExecutionInputs(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_SetExecutionInputs( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::ExecutionInputsRequest, ::flyteidl::artifact::ExecutionInputsResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::ExecutionInputsRequest, ::flyteidl::artifact::ExecutionInputsResponse>*>( + ::grpc::Service::experimental().GetHandler(8)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_SetExecutionInputs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetExecutionInputs(::grpc::ServerContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void SetExecutionInputs(::grpc::ServerContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithCallbackMethod_FindByWorkflowExec : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_FindByWorkflowExec() { + ::grpc::Service::experimental().MarkMethodCallback(9, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::FindByWorkflowExecRequest, ::flyteidl::artifact::SearchArtifactsResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::artifact::FindByWorkflowExecRequest* request, + ::flyteidl::artifact::SearchArtifactsResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->FindByWorkflowExec(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_FindByWorkflowExec( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::FindByWorkflowExecRequest, ::flyteidl::artifact::SearchArtifactsResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::FindByWorkflowExecRequest, ::flyteidl::artifact::SearchArtifactsResponse>*>( + ::grpc::Service::experimental().GetHandler(9)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_FindByWorkflowExec() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + typedef ExperimentalWithCallbackMethod_CreateArtifact > > > > > > > > > ExperimentalCallbackService; + template + class WithGenericMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_CreateArtifact() { + ::grpc::Service::MarkMethodGeneric(0); + } + ~WithGenericMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::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(1); + } + ~WithGenericMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_SearchArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_SearchArtifacts() { + ::grpc::Service::MarkMethodGeneric(2); + } + ~WithGenericMethod_SearchArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_CreateTrigger() { + ::grpc::Service::MarkMethodGeneric(3); + } + ~WithGenericMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_DeleteTrigger() { + ::grpc::Service::MarkMethodGeneric(4); + } + ~WithGenericMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* 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(5); + } + ~WithGenericMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_RegisterProducer() { + ::grpc::Service::MarkMethodGeneric(6); + } + ~WithGenericMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_RegisterConsumer() { + ::grpc::Service::MarkMethodGeneric(7); + } + ~WithGenericMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_SetExecutionInputs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_SetExecutionInputs() { + ::grpc::Service::MarkMethodGeneric(8); + } + ~WithGenericMethod_SetExecutionInputs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetExecutionInputs(::grpc::ServerContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithGenericMethod_FindByWorkflowExec : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_FindByWorkflowExec() { + ::grpc::Service::MarkMethodGeneric(9); + } + ~WithGenericMethod_FindByWorkflowExec() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template + class WithRawMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_CreateArtifact() { + ::grpc::Service::MarkMethodRaw(0); + } + ~WithRawMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::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(0, 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(1); + } + ~WithRawMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::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(1, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_SearchArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_SearchArtifacts() { + ::grpc::Service::MarkMethodRaw(2); + } + ~WithRawMethod_SearchArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSearchArtifacts(::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_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_CreateTrigger() { + ::grpc::Service::MarkMethodRaw(3); + } + ~WithRawMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestCreateTrigger(::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_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_DeleteTrigger() { + ::grpc::Service::MarkMethodRaw(4); + } + ~WithRawMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestDeleteTrigger(::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_AddTag : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_AddTag() { + ::grpc::Service::MarkMethodRaw(5); + } + ~WithRawMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::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(5, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_RegisterProducer() { + ::grpc::Service::MarkMethodRaw(6); + } + ~WithRawMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRegisterProducer(::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_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_RegisterConsumer() { + ::grpc::Service::MarkMethodRaw(7); + } + ~WithRawMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestRegisterConsumer(::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_SetExecutionInputs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_SetExecutionInputs() { + ::grpc::Service::MarkMethodRaw(8); + } + ~WithRawMethod_SetExecutionInputs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetExecutionInputs(::grpc::ServerContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestSetExecutionInputs(::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_FindByWorkflowExec : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_FindByWorkflowExec() { + ::grpc::Service::MarkMethodRaw(9); + } + ~WithRawMethod_FindByWorkflowExec() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestFindByWorkflowExec(::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_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_CreateArtifact() { + ::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->CreateArtifact(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_CreateArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::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(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->GetArtifact(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_GetArtifact() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::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_SearchArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_SearchArtifacts() { + ::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->SearchArtifacts(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_SearchArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void SearchArtifacts(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_CreateTrigger() { + ::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->CreateTrigger(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void CreateTrigger(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_DeleteTrigger() { + ::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->DeleteTrigger(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void DeleteTrigger(::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(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->AddTag(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_AddTag() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::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_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_RegisterProducer() { + ::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->RegisterProducer(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void RegisterProducer(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_RegisterConsumer() { + ::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->RegisterConsumer(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void RegisterConsumer(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_SetExecutionInputs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_SetExecutionInputs() { + ::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->SetExecutionInputs(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_SetExecutionInputs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status SetExecutionInputs(::grpc::ServerContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void SetExecutionInputs(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class ExperimentalWithRawCallbackMethod_FindByWorkflowExec : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_FindByWorkflowExec() { + ::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->FindByWorkflowExec(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_FindByWorkflowExec() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void FindByWorkflowExec(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template + class WithStreamedUnaryMethod_CreateArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_CreateArtifact() { + ::grpc::Service::MarkMethodStreamed(0, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::CreateArtifactRequest, ::flyteidl::artifact::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 ::flyteidl::artifact::CreateArtifactRequest* request, ::flyteidl::artifact::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< ::flyteidl::artifact::CreateArtifactRequest,::flyteidl::artifact::CreateArtifactResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_GetArtifact : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_GetArtifact() { + ::grpc::Service::MarkMethodStreamed(1, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::GetArtifactRequest, ::flyteidl::artifact::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 ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::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< ::flyteidl::artifact::GetArtifactRequest,::flyteidl::artifact::GetArtifactResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_SearchArtifacts : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_SearchArtifacts() { + ::grpc::Service::MarkMethodStreamed(2, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::SearchArtifactsRequest, ::flyteidl::artifact::SearchArtifactsResponse>(std::bind(&WithStreamedUnaryMethod_SearchArtifacts::StreamedSearchArtifacts, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_SearchArtifacts() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedSearchArtifacts(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::SearchArtifactsRequest,::flyteidl::artifact::SearchArtifactsResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_CreateTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_CreateTrigger() { + ::grpc::Service::MarkMethodStreamed(3, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::CreateTriggerRequest, ::flyteidl::artifact::CreateTriggerResponse>(std::bind(&WithStreamedUnaryMethod_CreateTrigger::StreamedCreateTrigger, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_CreateTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedCreateTrigger(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::CreateTriggerRequest,::flyteidl::artifact::CreateTriggerResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_DeleteTrigger : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_DeleteTrigger() { + ::grpc::Service::MarkMethodStreamed(4, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>(std::bind(&WithStreamedUnaryMethod_DeleteTrigger::StreamedDeleteTrigger, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_DeleteTrigger() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedDeleteTrigger(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::DeleteTriggerRequest,::flyteidl::artifact::DeleteTriggerResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_AddTag : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_AddTag() { + ::grpc::Service::MarkMethodStreamed(5, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::AddTagRequest, ::flyteidl::artifact::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 ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::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< ::flyteidl::artifact::AddTagRequest,::flyteidl::artifact::AddTagResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_RegisterProducer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_RegisterProducer() { + ::grpc::Service::MarkMethodStreamed(6, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::RegisterProducerRequest, ::flyteidl::artifact::RegisterResponse>(std::bind(&WithStreamedUnaryMethod_RegisterProducer::StreamedRegisterProducer, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_RegisterProducer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedRegisterProducer(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::RegisterProducerRequest,::flyteidl::artifact::RegisterResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_RegisterConsumer : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_RegisterConsumer() { + ::grpc::Service::MarkMethodStreamed(7, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::RegisterConsumerRequest, ::flyteidl::artifact::RegisterResponse>(std::bind(&WithStreamedUnaryMethod_RegisterConsumer::StreamedRegisterConsumer, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_RegisterConsumer() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedRegisterConsumer(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::RegisterConsumerRequest,::flyteidl::artifact::RegisterResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_SetExecutionInputs : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_SetExecutionInputs() { + ::grpc::Service::MarkMethodStreamed(8, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::ExecutionInputsRequest, ::flyteidl::artifact::ExecutionInputsResponse>(std::bind(&WithStreamedUnaryMethod_SetExecutionInputs::StreamedSetExecutionInputs, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_SetExecutionInputs() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status SetExecutionInputs(::grpc::ServerContext* context, const ::flyteidl::artifact::ExecutionInputsRequest* request, ::flyteidl::artifact::ExecutionInputsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedSetExecutionInputs(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::ExecutionInputsRequest,::flyteidl::artifact::ExecutionInputsResponse>* server_unary_streamer) = 0; + }; + template + class WithStreamedUnaryMethod_FindByWorkflowExec : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_FindByWorkflowExec() { + ::grpc::Service::MarkMethodStreamed(9, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::FindByWorkflowExecRequest, ::flyteidl::artifact::SearchArtifactsResponse>(std::bind(&WithStreamedUnaryMethod_FindByWorkflowExec::StreamedFindByWorkflowExec, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_FindByWorkflowExec() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedFindByWorkflowExec(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::FindByWorkflowExecRequest,::flyteidl::artifact::SearchArtifactsResponse>* server_unary_streamer) = 0; + }; + typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > > > > StreamedUnaryService; + typedef Service SplitStreamedService; + typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > > > > StreamedService; +}; + +} // namespace artifact +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fartifact_2fartifacts_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc new file mode 100644 index 0000000000..230d0b093a --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc @@ -0,0 +1,9792 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/artifact/artifacts.proto + +#include "flyteidl/artifact/artifacts.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +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_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_CreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_SearchOptions_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactSource_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_Artifact_flyteidl_2fartifact_2fartifacts_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<1> scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> 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_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_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_2ftypes_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fany_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Any_google_2fprotobuf_2fany_2eproto; +namespace flyteidl { +namespace artifact { +class ArtifactDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Artifact_default_instance_; +class CreateArtifactRequest_PartitionsEntry_DoNotUseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CreateArtifactRequest_PartitionsEntry_DoNotUse_default_instance_; +class CreateArtifactRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CreateArtifactRequest_default_instance_; +class ArtifactSourceDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactSource_default_instance_; +class ArtifactSpecDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactSpec_default_instance_; +class CreateArtifactResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CreateArtifactResponse_default_instance_; +class GetArtifactRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _GetArtifactRequest_default_instance_; +class GetArtifactResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _GetArtifactResponse_default_instance_; +class SearchOptionsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _SearchOptions_default_instance_; +class SearchArtifactsRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _SearchArtifactsRequest_default_instance_; +class SearchArtifactsResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _SearchArtifactsResponse_default_instance_; +class FindByWorkflowExecRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _FindByWorkflowExecRequest_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 CreateTriggerRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CreateTriggerRequest_default_instance_; +class CreateTriggerResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _CreateTriggerResponse_default_instance_; +class DeleteTriggerRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DeleteTriggerRequest_default_instance_; +class DeleteTriggerResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DeleteTriggerResponse_default_instance_; +class ArtifactProducerDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactProducer_default_instance_; +class RegisterProducerRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _RegisterProducerRequest_default_instance_; +class ArtifactConsumerDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactConsumer_default_instance_; +class RegisterConsumerRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _RegisterConsumerRequest_default_instance_; +class RegisterResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _RegisterResponse_default_instance_; +class ExecutionInputsRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ExecutionInputsRequest_default_instance_; +class ExecutionInputsResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ExecutionInputsResponse_default_instance_; +} // namespace artifact +} // namespace flyteidl +static void InitDefaultsArtifact_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_Artifact_default_instance_; + new (ptr) ::flyteidl::artifact::Artifact(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::Artifact::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<3> scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsArtifact_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base, + &scc_info_ArtifactSource_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsCreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_CreateArtifactRequest_PartitionsEntry_DoNotUse_default_instance_; + new (ptr) ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse(); + } + ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsCreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_CreateArtifactRequest_default_instance_; + new (ptr) ::flyteidl::artifact::CreateArtifactRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::CreateArtifactRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<4> scc_info_CreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsCreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base, + &scc_info_CreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto.base, + &scc_info_ArtifactSource_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsArtifactSource_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ArtifactSource_default_instance_; + new (ptr) ::flyteidl::artifact::ArtifactSource(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ArtifactSource::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactSource_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsArtifactSource_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +static void InitDefaultsArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ArtifactSpec_default_instance_; + new (ptr) ::flyteidl::artifact::ArtifactSpec(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ArtifactSpec::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<3> scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto.base, + &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base, + &scc_info_Any_google_2fprotobuf_2fany_2eproto.base,}}; + +static void InitDefaultsCreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_CreateArtifactResponse_default_instance_; + new (ptr) ::flyteidl::artifact::CreateArtifactResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::CreateArtifactResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_CreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsGetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_GetArtifactRequest_default_instance_; + new (ptr) ::flyteidl::artifact::GetArtifactRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::GetArtifactRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_GetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactQuery_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsGetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_GetArtifactResponse_default_instance_; + new (ptr) ::flyteidl::artifact::GetArtifactResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::GetArtifactResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_GetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsGetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsSearchOptions_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_SearchOptions_default_instance_; + new (ptr) ::flyteidl::artifact::SearchOptions(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::SearchOptions::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SearchOptions_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSearchOptions_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsSearchArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_SearchArtifactsRequest_default_instance_; + new (ptr) ::flyteidl::artifact::SearchArtifactsRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::SearchArtifactsRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<3> scc_info_SearchArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsSearchArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_Partitions_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_SearchOptions_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsSearchArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_SearchArtifactsResponse_default_instance_; + new (ptr) ::flyteidl::artifact::SearchArtifactsResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::SearchArtifactsResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_SearchArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSearchArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsFindByWorkflowExecRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_FindByWorkflowExecRequest_default_instance_; + new (ptr) ::flyteidl::artifact::FindByWorkflowExecRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::FindByWorkflowExecRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_FindByWorkflowExecRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsFindByWorkflowExecRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +static void InitDefaultsAddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_AddTagRequest_default_instance_; + new (ptr) ::flyteidl::artifact::AddTagRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::AddTagRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_AddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsAddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsAddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_AddTagResponse_default_instance_; + new (ptr) ::flyteidl::artifact::AddTagResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::AddTagResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_AddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsAddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsCreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_CreateTriggerRequest_default_instance_; + new (ptr) ::flyteidl::artifact::CreateTriggerRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::CreateTriggerRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_CreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsCreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_LaunchPlan_flyteidl_2fadmin_2flaunch_5fplan_2eproto.base,}}; + +static void InitDefaultsCreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_CreateTriggerResponse_default_instance_; + new (ptr) ::flyteidl::artifact::CreateTriggerResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::CreateTriggerResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_CreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsDeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_DeleteTriggerRequest_default_instance_; + new (ptr) ::flyteidl::artifact::DeleteTriggerRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::DeleteTriggerRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; + +static void InitDefaultsDeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_DeleteTriggerResponse_default_instance_; + new (ptr) ::flyteidl::artifact::DeleteTriggerResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::DeleteTriggerResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ArtifactProducer_default_instance_; + new (ptr) ::flyteidl::artifact::ArtifactProducer(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ArtifactProducer::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_VariableMap_flyteidl_2fcore_2finterface_2eproto.base,}}; + +static void InitDefaultsRegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_RegisterProducerRequest_default_instance_; + new (ptr) ::flyteidl::artifact::RegisterProducerRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::RegisterProducerRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_RegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsRegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ArtifactConsumer_default_instance_; + new (ptr) ::flyteidl::artifact::ArtifactConsumer(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ArtifactConsumer::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_ParameterMap_flyteidl_2fcore_2finterface_2eproto.base,}}; + +static void InitDefaultsRegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_RegisterConsumerRequest_default_instance_; + new (ptr) ::flyteidl::artifact::RegisterConsumerRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::RegisterConsumerRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_RegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsRegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto.base,}}; + +static void InitDefaultsRegisterResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_RegisterResponse_default_instance_; + new (ptr) ::flyteidl::artifact::RegisterResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::RegisterResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_RegisterResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsRegisterResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +static void InitDefaultsExecutionInputsRequest_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ExecutionInputsRequest_default_instance_; + new (ptr) ::flyteidl::artifact::ExecutionInputsRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ExecutionInputsRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_ExecutionInputsRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsExecutionInputsRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { + &scc_info_WorkflowExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto.base,}}; + +static void InitDefaultsExecutionInputsResponse_flyteidl_2fartifact_2fartifacts_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::artifact::_ExecutionInputsResponse_default_instance_; + new (ptr) ::flyteidl::artifact::ExecutionInputsResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::artifact::ExecutionInputsResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionInputsResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsExecutionInputsResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; + +void InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateArtifactRequest_PartitionsEntry_DoNotUse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactSource_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_GetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_GetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_SearchOptions_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_SearchArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_SearchArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_FindByWorkflowExecRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_AddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_AddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_CreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_RegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_RegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_RegisterResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ExecutionInputsRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ExecutionInputsResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[25]; +const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fartifact_2fartifacts_2eproto[1]; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fartifact_2fartifacts_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fartifact_2fartifacts_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::Artifact, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::Artifact, artifact_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::Artifact, spec_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::Artifact, tags_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::Artifact, source_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, artifact_key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, version_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, spec_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, partitions_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, tag_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactRequest, source_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSource, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSource, workflow_execution_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSource, node_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSource, task_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSource, retry_attempt_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSource, principal_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, value_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, type_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, short_description_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, user_metadata_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactSpec, metadata_type_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateArtifactResponse, artifact_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::GetArtifactRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::GetArtifactRequest, query_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::GetArtifactRequest, details_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::GetArtifactResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::GetArtifactResponse, artifact_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchOptions, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchOptions, strict_partitions_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchOptions, latest_by_key_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsRequest, artifact_key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsRequest, partitions_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsRequest, principal_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsRequest, version_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsRequest, options_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsRequest, token_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsRequest, limit_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsResponse, artifacts_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::SearchArtifactsResponse, token_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::FindByWorkflowExecRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::FindByWorkflowExecRequest, exec_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::FindByWorkflowExecRequest, direction_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagRequest, artifact_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagRequest, value_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagRequest, overwrite_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::AddTagResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateTriggerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateTriggerRequest, trigger_launch_plan_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::CreateTriggerResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerRequest, trigger_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactProducer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactProducer, entity_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactProducer, outputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::RegisterProducerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::RegisterProducerRequest, producers_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactConsumer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactConsumer, entity_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ArtifactConsumer, inputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::RegisterConsumerRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::RegisterConsumerRequest, consumers_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::RegisterResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ExecutionInputsRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ExecutionInputsRequest, execution_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ExecutionInputsRequest, inputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::ExecutionInputsResponse, _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::artifact::Artifact)}, + { 9, 16, sizeof(::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse)}, + { 18, -1, sizeof(::flyteidl::artifact::CreateArtifactRequest)}, + { 29, -1, sizeof(::flyteidl::artifact::ArtifactSource)}, + { 39, -1, sizeof(::flyteidl::artifact::ArtifactSpec)}, + { 49, -1, sizeof(::flyteidl::artifact::CreateArtifactResponse)}, + { 55, -1, sizeof(::flyteidl::artifact::GetArtifactRequest)}, + { 62, -1, sizeof(::flyteidl::artifact::GetArtifactResponse)}, + { 68, -1, sizeof(::flyteidl::artifact::SearchOptions)}, + { 75, -1, sizeof(::flyteidl::artifact::SearchArtifactsRequest)}, + { 87, -1, sizeof(::flyteidl::artifact::SearchArtifactsResponse)}, + { 94, -1, sizeof(::flyteidl::artifact::FindByWorkflowExecRequest)}, + { 101, -1, sizeof(::flyteidl::artifact::AddTagRequest)}, + { 109, -1, sizeof(::flyteidl::artifact::AddTagResponse)}, + { 114, -1, sizeof(::flyteidl::artifact::CreateTriggerRequest)}, + { 120, -1, sizeof(::flyteidl::artifact::CreateTriggerResponse)}, + { 125, -1, sizeof(::flyteidl::artifact::DeleteTriggerRequest)}, + { 131, -1, sizeof(::flyteidl::artifact::DeleteTriggerResponse)}, + { 136, -1, sizeof(::flyteidl::artifact::ArtifactProducer)}, + { 143, -1, sizeof(::flyteidl::artifact::RegisterProducerRequest)}, + { 149, -1, sizeof(::flyteidl::artifact::ArtifactConsumer)}, + { 156, -1, sizeof(::flyteidl::artifact::RegisterConsumerRequest)}, + { 162, -1, sizeof(::flyteidl::artifact::RegisterResponse)}, + { 167, -1, sizeof(::flyteidl::artifact::ExecutionInputsRequest)}, + { 174, -1, sizeof(::flyteidl::artifact::ExecutionInputsResponse)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::artifact::_Artifact_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_CreateArtifactRequest_PartitionsEntry_DoNotUse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_CreateArtifactRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ArtifactSource_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ArtifactSpec_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_CreateArtifactResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_GetArtifactRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_GetArtifactResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_SearchOptions_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_SearchArtifactsRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_SearchArtifactsResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_FindByWorkflowExecRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_AddTagRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_AddTagResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_CreateTriggerRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_CreateTriggerResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_DeleteTriggerRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_DeleteTriggerResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ArtifactProducer_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_RegisterProducerRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ArtifactConsumer_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_RegisterConsumerRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_RegisterResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ExecutionInputsRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_ExecutionInputsResponse_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto = { + {}, AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto, "flyteidl/artifact/artifacts.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fartifact_2fartifacts_2eproto::offsets, + file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto, 25, file_level_enum_descriptors_flyteidl_2fartifact_2fartifacts_2eproto, file_level_service_descriptors_flyteidl_2fartifact_2fartifacts_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto[] = + "\n!flyteidl/artifact/artifacts.proto\022\021fly" + "teidl.artifact\032\031google/protobuf/any.prot" + "o\032\034google/api/annotations.proto\032 flyteid" + "l/admin/launch_plan.proto\032\034flyteidl/core" + "/literals.proto\032\031flyteidl/core/types.pro" + "to\032\036flyteidl/core/identifier.proto\032\037flyt" + "eidl/core/artifact_id.proto\032\035flyteidl/co" + "re/interface.proto\032 flyteidl/event/cloud" + "events.proto\"\252\001\n\010Artifact\022.\n\013artifact_id" + "\030\001 \001(\0132\031.flyteidl.core.ArtifactID\022-\n\004spe" + "c\030\002 \001(\0132\037.flyteidl.artifact.ArtifactSpec" + "\022\014\n\004tags\030\003 \003(\t\0221\n\006source\030\004 \001(\0132!.flyteid" + "l.artifact.ArtifactSource\"\312\002\n\025CreateArti" + "factRequest\0220\n\014artifact_key\030\001 \001(\0132\032.flyt" + "eidl.core.ArtifactKey\022\017\n\007version\030\003 \001(\t\022-" + "\n\004spec\030\002 \001(\0132\037.flyteidl.artifact.Artifac" + "tSpec\022L\n\npartitions\030\004 \003(\01328.flyteidl.art" + "ifact.CreateArtifactRequest.PartitionsEn" + "try\022\013\n\003tag\030\005 \001(\t\0221\n\006source\030\006 \001(\0132!.flyte" + "idl.artifact.ArtifactSource\0321\n\017Partition" + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\277" + "\001\n\016ArtifactSource\022F\n\022workflow_execution\030" + "\001 \001(\0132*.flyteidl.core.WorkflowExecutionI" + "dentifier\022\017\n\007node_id\030\002 \001(\t\022*\n\007task_id\030\003 " + "\001(\0132\031.flyteidl.core.Identifier\022\025\n\rretry_" + "attempt\030\004 \001(\r\022\021\n\tprincipal\030\005 \001(\t\"\276\001\n\014Art" + "ifactSpec\022%\n\005value\030\001 \001(\0132\026.flyteidl.core" + ".Literal\022(\n\004type\030\002 \001(\0132\032.flyteidl.core.L" + "iteralType\022\031\n\021short_description\030\003 \001(\t\022+\n" + "\ruser_metadata\030\004 \001(\0132\024.google.protobuf.A" + "ny\022\025\n\rmetadata_type\030\005 \001(\t\"G\n\026CreateArtif" + "actResponse\022-\n\010artifact\030\001 \001(\0132\033.flyteidl" + ".artifact.Artifact\"R\n\022GetArtifactRequest" + "\022+\n\005query\030\001 \001(\0132\034.flyteidl.core.Artifact" + "Query\022\017\n\007details\030\002 \001(\010\"D\n\023GetArtifactRes" + "ponse\022-\n\010artifact\030\001 \001(\0132\033.flyteidl.artif" + "act.Artifact\"A\n\rSearchOptions\022\031\n\021strict_" + "partitions\030\001 \001(\010\022\025\n\rlatest_by_key\030\002 \001(\010\"" + "\356\001\n\026SearchArtifactsRequest\0220\n\014artifact_k" + "ey\030\001 \001(\0132\032.flyteidl.core.ArtifactKey\022-\n\n" + "partitions\030\002 \001(\0132\031.flyteidl.core.Partiti" + "ons\022\021\n\tprincipal\030\003 \001(\t\022\017\n\007version\030\004 \001(\t\022" + "1\n\007options\030\005 \001(\0132 .flyteidl.artifact.Sea" + "rchOptions\022\r\n\005token\030\006 \001(\t\022\r\n\005limit\030\007 \001(\005" + "\"X\n\027SearchArtifactsResponse\022.\n\tartifacts" + "\030\001 \003(\0132\033.flyteidl.artifact.Artifact\022\r\n\005t" + "oken\030\002 \001(\t\"\311\001\n\031FindByWorkflowExecRequest" + "\022;\n\007exec_id\030\001 \001(\0132*.flyteidl.core.Workfl" + "owExecutionIdentifier\022I\n\tdirection\030\002 \001(\016" + "26.flyteidl.artifact.FindByWorkflowExecR" + "equest.Direction\"$\n\tDirection\022\n\n\006INPUTS\020" + "\000\022\013\n\007OUTPUTS\020\001\"a\n\rAddTagRequest\022.\n\013artif" + "act_id\030\001 \001(\0132\031.flyteidl.core.ArtifactID\022" + "\r\n\005value\030\002 \001(\t\022\021\n\toverwrite\030\003 \001(\010\"\020\n\016Add" + "TagResponse\"O\n\024CreateTriggerRequest\0227\n\023t" + "rigger_launch_plan\030\001 \001(\0132\032.flyteidl.admi" + "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"E\n" + "\024DeleteTriggerRequest\022-\n\ntrigger_id\030\001 \001(" + "\0132\031.flyteidl.core.Identifier\"\027\n\025DeleteTr" + "iggerResponse\"m\n\020ArtifactProducer\022,\n\tent" + "ity_id\030\001 \001(\0132\031.flyteidl.core.Identifier\022" + "+\n\007outputs\030\002 \001(\0132\032.flyteidl.core.Variabl" + "eMap\"Q\n\027RegisterProducerRequest\0226\n\tprodu" + "cers\030\001 \003(\0132#.flyteidl.artifact.ArtifactP" + "roducer\"m\n\020ArtifactConsumer\022,\n\tentity_id" + "\030\001 \001(\0132\031.flyteidl.core.Identifier\022+\n\006inp" + "uts\030\002 \001(\0132\033.flyteidl.core.ParameterMap\"Q" + "\n\027RegisterConsumerRequest\0226\n\tconsumers\030\001" + " \003(\0132#.flyteidl.artifact.ArtifactConsume" + "r\"\022\n\020RegisterResponse\"\205\001\n\026ExecutionInput" + "sRequest\022@\n\014execution_id\030\001 \001(\0132*.flyteid" + "l.core.WorkflowExecutionIdentifier\022)\n\006in" + "puts\030\002 \003(\0132\031.flyteidl.core.ArtifactID\"\031\n" + "\027ExecutionInputsResponse2\327\016\n\020ArtifactReg" + "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" + "act.CreateArtifactRequest\032).flyteidl.art" + "ifact.CreateArtifactResponse\"\000\022\205\005\n\013GetAr" + "tifact\022%.flyteidl.artifact.GetArtifactRe" + "quest\032&.flyteidl.artifact.GetArtifactRes" + "ponse\"\246\004\202\323\344\223\002\237\004\022 /artifacts/api/v1/data/" + "artifactsZ\270\001\022\265\001/artifacts/api/v1/data/ar" + "tifact/id/{query.artifact_id.artifact_ke" + "y.project}/{query.artifact_id.artifact_k" + "ey.domain}/{query.artifact_id.artifact_k" + "ey.name}/{query.artifact_id.version}Z\234\001\022" + "\231\001/artifacts/api/v1/data/artifact/id/{qu" + "ery.artifact_id.artifact_key.project}/{q" + "uery.artifact_id.artifact_key.domain}/{q" + "uery.artifact_id.artifact_key.name}Z\240\001\022\235" + "\001/artifacts/api/v1/data/artifact/tag/{qu" + "ery.artifact_tag.artifact_key.project}/{" + "query.artifact_tag.artifact_key.domain}/" + "{query.artifact_tag.artifact_key.name}\022\240" + "\002\n\017SearchArtifacts\022).flyteidl.artifact.S" + "earchArtifactsRequest\032*.flyteidl.artifac" + "t.SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/ar" + "tifacts/api/v1/data/query/s/{artifact_ke" + "y.project}/{artifact_key.domain}/{artifa" + "ct_key.name}ZK\022I/artifacts/api/v1/data/q" + "uery/{artifact_key.project}/{artifact_ke" + "y.domain}\022d\n\rCreateTrigger\022\'.flyteidl.ar" + "tifact.CreateTriggerRequest\032(.flyteidl.a" + "rtifact.CreateTriggerResponse\"\000\022d\n\rDelet" + "eTrigger\022\'.flyteidl.artifact.DeleteTrigg" + "erRequest\032(.flyteidl.artifact.DeleteTrig" + "gerResponse\"\000\022O\n\006AddTag\022 .flyteidl.artif" + "act.AddTagRequest\032!.flyteidl.artifact.Ad" + "dTagResponse\"\000\022e\n\020RegisterProducer\022*.fly" + "teidl.artifact.RegisterProducerRequest\032#" + ".flyteidl.artifact.RegisterResponse\"\000\022e\n" + "\020RegisterConsumer\022*.flyteidl.artifact.Re" + "gisterConsumerRequest\032#.flyteidl.artifac" + "t.RegisterResponse\"\000\022m\n\022SetExecutionInpu" + "ts\022).flyteidl.artifact.ExecutionInputsRe" + "quest\032*.flyteidl.artifact.ExecutionInput" + "sResponse\"\000\022\324\001\n\022FindByWorkflowExec\022,.fly" + "teidl.artifact.FindByWorkflowExecRequest" + "\032*.flyteidl.artifact.SearchArtifactsResp" + "onse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/que" + "ry/e/{exec_id.project}/{exec_id.domain}/" + "{exec_id.name}/{direction}B@Z>github.com" + "/flyteorg/flyte/flyteidl/gen/pb-go/flyte" + "idl/artifactb\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fartifact_2fartifacts_2eproto = { + false, InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto, + descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto, + "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4900, +}; + +void AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[9] = + { + ::AddDescriptors_google_2fprotobuf_2fany_2eproto, + ::AddDescriptors_google_2fapi_2fannotations_2eproto, + ::AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fliterals_2eproto, + ::AddDescriptors_flyteidl_2fcore_2ftypes_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fidentifier_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fartifact_5fid_2eproto, + ::AddDescriptors_flyteidl_2fcore_2finterface_2eproto, + ::AddDescriptors_flyteidl_2fevent_2fcloudevents_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fartifact_2fartifacts_2eproto, deps, 9); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fartifact_2fartifacts_2eproto = []() { AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto(); return true; }(); +namespace flyteidl { +namespace artifact { +const ::google::protobuf::EnumDescriptor* FindByWorkflowExecRequest_Direction_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return file_level_enum_descriptors_flyteidl_2fartifact_2fartifacts_2eproto[0]; +} +bool FindByWorkflowExecRequest_Direction_IsValid(int value) { + switch (value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const FindByWorkflowExecRequest_Direction FindByWorkflowExecRequest::INPUTS; +const FindByWorkflowExecRequest_Direction FindByWorkflowExecRequest::OUTPUTS; +const FindByWorkflowExecRequest_Direction FindByWorkflowExecRequest::Direction_MIN; +const FindByWorkflowExecRequest_Direction FindByWorkflowExecRequest::Direction_MAX; +const int FindByWorkflowExecRequest::Direction_ARRAYSIZE; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +// =================================================================== + +void Artifact::InitAsDefaultInstance() { + ::flyteidl::artifact::_Artifact_default_instance_._instance.get_mutable()->artifact_id_ = const_cast< ::flyteidl::core::ArtifactID*>( + ::flyteidl::core::ArtifactID::internal_default_instance()); + ::flyteidl::artifact::_Artifact_default_instance_._instance.get_mutable()->spec_ = const_cast< ::flyteidl::artifact::ArtifactSpec*>( + ::flyteidl::artifact::ArtifactSpec::internal_default_instance()); + ::flyteidl::artifact::_Artifact_default_instance_._instance.get_mutable()->source_ = const_cast< ::flyteidl::artifact::ArtifactSource*>( + ::flyteidl::artifact::ArtifactSource::internal_default_instance()); +} +class Artifact::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactID& artifact_id(const Artifact* msg); + static const ::flyteidl::artifact::ArtifactSpec& spec(const Artifact* msg); + static const ::flyteidl::artifact::ArtifactSource& source(const Artifact* msg); +}; + +const ::flyteidl::core::ArtifactID& +Artifact::HasBitSetters::artifact_id(const Artifact* msg) { + return *msg->artifact_id_; +} +const ::flyteidl::artifact::ArtifactSpec& +Artifact::HasBitSetters::spec(const Artifact* msg) { + return *msg->spec_; +} +const ::flyteidl::artifact::ArtifactSource& +Artifact::HasBitSetters::source(const Artifact* msg) { + return *msg->source_; +} +void Artifact::clear_artifact_id() { + if (GetArenaNoVirtual() == nullptr && artifact_id_ != nullptr) { + delete artifact_id_; + } + artifact_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Artifact::kArtifactIdFieldNumber; +const int Artifact::kSpecFieldNumber; +const int Artifact::kTagsFieldNumber; +const int Artifact::kSourceFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Artifact::Artifact() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.Artifact) +} +Artifact::Artifact(const Artifact& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + tags_(from.tags_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_artifact_id()) { + artifact_id_ = new ::flyteidl::core::ArtifactID(*from.artifact_id_); + } else { + artifact_id_ = nullptr; + } + if (from.has_spec()) { + spec_ = new ::flyteidl::artifact::ArtifactSpec(*from.spec_); + } else { + spec_ = nullptr; + } + if (from.has_source()) { + source_ = new ::flyteidl::artifact::ArtifactSource(*from.source_); + } else { + source_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.Artifact) +} + +void Artifact::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::memset(&artifact_id_, 0, static_cast( + reinterpret_cast(&source_) - + reinterpret_cast(&artifact_id_)) + sizeof(source_)); +} + +Artifact::~Artifact() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.Artifact) + SharedDtor(); +} + +void Artifact::SharedDtor() { + if (this != internal_default_instance()) delete artifact_id_; + if (this != internal_default_instance()) delete spec_; + if (this != internal_default_instance()) delete source_; +} + +void Artifact::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const Artifact& Artifact::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_Artifact_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void Artifact::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.Artifact) + ::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 && artifact_id_ != nullptr) { + delete artifact_id_; + } + artifact_id_ = nullptr; + if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { + delete spec_; + } + spec_ = nullptr; + if (GetArenaNoVirtual() == nullptr && source_ != nullptr) { + delete source_; + } + source_ = 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) { + // .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.artifact.ArtifactSpec 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::artifact::ArtifactSpec::_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; + } + // 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.artifact.Artifact.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.artifact.ArtifactSource source = 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::artifact::ArtifactSource::_InternalParse; + object = msg->mutable_source(); + if (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:flyteidl.artifact.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)) { + // .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.artifact.ArtifactSpec 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; + } + + // 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.artifact.Artifact.tags")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.artifact.ArtifactSource source = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_source())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.Artifact) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.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:flyteidl.artifact.Artifact) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact_id(this), output); + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::spec(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.artifact.Artifact.tags"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 3, this->tags(i), output); + } + + // .flyteidl.artifact.ArtifactSource source = 4; + if (this->has_source()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::source(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.Artifact) +} + +::google::protobuf::uint8* Artifact::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.Artifact) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact_id(this), target); + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::spec(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.artifact.Artifact.tags"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(3, this->tags(i), target); + } + + // .flyteidl.artifact.ArtifactSource source = 4; + if (this->has_source()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::source(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.artifact.Artifact) + return target; +} + +size_t Artifact::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.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 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)); + } + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_id_); + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *spec_); + } + + // .flyteidl.artifact.ArtifactSource source = 4; + if (this->has_source()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *source_); + } + + 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:flyteidl.artifact.Artifact) + GOOGLE_DCHECK_NE(&from, this); + const Artifact* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.Artifact) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.Artifact) + MergeFrom(*source); + } +} + +void Artifact::MergeFrom(const Artifact& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.Artifact) + 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_artifact_id()) { + mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); + } + if (from.has_spec()) { + mutable_spec()->::flyteidl::artifact::ArtifactSpec::MergeFrom(from.spec()); + } + if (from.has_source()) { + mutable_source()->::flyteidl::artifact::ArtifactSource::MergeFrom(from.source()); + } +} + +void Artifact::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.Artifact) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Artifact::CopyFrom(const Artifact& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.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_); + tags_.InternalSwap(CastToBase(&other->tags_)); + swap(artifact_id_, other->artifact_id_); + swap(spec_, other->spec_); + swap(source_, other->source_); +} + +::google::protobuf::Metadata Artifact::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +CreateArtifactRequest_PartitionsEntry_DoNotUse::CreateArtifactRequest_PartitionsEntry_DoNotUse() {} +CreateArtifactRequest_PartitionsEntry_DoNotUse::CreateArtifactRequest_PartitionsEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena) {} +void CreateArtifactRequest_PartitionsEntry_DoNotUse::MergeFrom(const CreateArtifactRequest_PartitionsEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::google::protobuf::Metadata CreateArtifactRequest_PartitionsEntry_DoNotUse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[1]; +} +void CreateArtifactRequest_PartitionsEntry_DoNotUse::MergeFrom( + const ::google::protobuf::Message& other) { + ::google::protobuf::Message::MergeFrom(other); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CreateArtifactRequest_PartitionsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { + using MF = ::google::protobuf::internal::MapField< + CreateArtifactRequest_PartitionsEntry_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.artifact.CreateArtifactRequest.PartitionsEntry.key")); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.value().data(), static_cast(parser.value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.value")); +#undef DO_ + return true; +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + + +// =================================================================== + +void CreateArtifactRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_CreateArtifactRequest_default_instance_._instance.get_mutable()->artifact_key_ = const_cast< ::flyteidl::core::ArtifactKey*>( + ::flyteidl::core::ArtifactKey::internal_default_instance()); + ::flyteidl::artifact::_CreateArtifactRequest_default_instance_._instance.get_mutable()->spec_ = const_cast< ::flyteidl::artifact::ArtifactSpec*>( + ::flyteidl::artifact::ArtifactSpec::internal_default_instance()); + ::flyteidl::artifact::_CreateArtifactRequest_default_instance_._instance.get_mutable()->source_ = const_cast< ::flyteidl::artifact::ArtifactSource*>( + ::flyteidl::artifact::ArtifactSource::internal_default_instance()); +} +class CreateArtifactRequest::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactKey& artifact_key(const CreateArtifactRequest* msg); + static const ::flyteidl::artifact::ArtifactSpec& spec(const CreateArtifactRequest* msg); + static const ::flyteidl::artifact::ArtifactSource& source(const CreateArtifactRequest* msg); +}; + +const ::flyteidl::core::ArtifactKey& +CreateArtifactRequest::HasBitSetters::artifact_key(const CreateArtifactRequest* msg) { + return *msg->artifact_key_; +} +const ::flyteidl::artifact::ArtifactSpec& +CreateArtifactRequest::HasBitSetters::spec(const CreateArtifactRequest* msg) { + return *msg->spec_; +} +const ::flyteidl::artifact::ArtifactSource& +CreateArtifactRequest::HasBitSetters::source(const CreateArtifactRequest* msg) { + return *msg->source_; +} +void CreateArtifactRequest::clear_artifact_key() { + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CreateArtifactRequest::kArtifactKeyFieldNumber; +const int CreateArtifactRequest::kVersionFieldNumber; +const int CreateArtifactRequest::kSpecFieldNumber; +const int CreateArtifactRequest::kPartitionsFieldNumber; +const int CreateArtifactRequest::kTagFieldNumber; +const int CreateArtifactRequest::kSourceFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CreateArtifactRequest::CreateArtifactRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.CreateArtifactRequest) +} +CreateArtifactRequest::CreateArtifactRequest(const CreateArtifactRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + partitions_.MergeFrom(from.partitions_); + version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.version().size() > 0) { + version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); + } + tag_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.tag().size() > 0) { + tag_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_); + } + if (from.has_artifact_key()) { + artifact_key_ = new ::flyteidl::core::ArtifactKey(*from.artifact_key_); + } else { + artifact_key_ = nullptr; + } + if (from.has_spec()) { + spec_ = new ::flyteidl::artifact::ArtifactSpec(*from.spec_); + } else { + spec_ = nullptr; + } + if (from.has_source()) { + source_ = new ::flyteidl::artifact::ArtifactSource(*from.source_); + } else { + source_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.CreateArtifactRequest) +} + +void CreateArtifactRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + tag_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&artifact_key_, 0, static_cast( + reinterpret_cast(&source_) - + reinterpret_cast(&artifact_key_)) + sizeof(source_)); +} + +CreateArtifactRequest::~CreateArtifactRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.CreateArtifactRequest) + SharedDtor(); +} + +void CreateArtifactRequest::SharedDtor() { + version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + tag_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete artifact_key_; + if (this != internal_default_instance()) delete spec_; + if (this != internal_default_instance()) delete source_; +} + +void CreateArtifactRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CreateArtifactRequest& CreateArtifactRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CreateArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void CreateArtifactRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.CreateArtifactRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + partitions_.Clear(); + version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; + if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { + delete spec_; + } + spec_ = nullptr; + if (GetArenaNoVirtual() == nullptr && source_ != nullptr) { + delete source_; + } + source_ = 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) { + // .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.artifact.ArtifactSpec 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::artifact::ArtifactSpec::_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; + } + // string version = 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.artifact.CreateArtifactRequest.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; + } + // map partitions = 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::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse::_ParseMap; + ctx->extra_parse_data().payload.clear(); + ctx->extra_parse_data().parse_map = parse_map; + object = &msg->partitions_; + 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 tag = 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.artifact.CreateArtifactRequest.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; + } + // .flyteidl.artifact.ArtifactSource source = 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::artifact::ArtifactSource::_InternalParse; + object = msg->mutable_source(); + if (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 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:flyteidl.artifact.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)) { + // .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.artifact.ArtifactSpec 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; + } + + // string version = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 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.artifact.CreateArtifactRequest.version")); + } else { + goto handle_unusual; + } + break; + } + + // map partitions = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + CreateArtifactRequest_PartitionsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< + CreateArtifactRequest_PartitionsEntry_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(&partitions_); + 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.artifact.CreateArtifactRequest.PartitionsEntry.key")); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.value().data(), static_cast(parser.value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.value")); + } else { + goto handle_unusual; + } + break; + } + + // string tag = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 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.artifact.CreateArtifactRequest.tag")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.artifact.ArtifactSource source = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_source())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.CreateArtifactRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.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:flyteidl.artifact.CreateArtifactRequest) + ::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.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::spec(this), output); + } + + // string version = 3; + if (this->version().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->version().data(), static_cast(this->version().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.version"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->version(), output); + } + + // map partitions = 4; + if (!this->partitions().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.artifact.CreateArtifactRequest.PartitionsEntry.key"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->second.data(), static_cast(p->second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.value"); + } + }; + + if (output->IsSerializationDeterministic() && + this->partitions().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->partitions().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->partitions().begin(); + it != this->partitions().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(partitions_.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->partitions().begin(); + it != this->partitions().end(); ++it) { + entry.reset(partitions_.NewEntryWrapper(it->first, it->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(4, *entry, output); + Utf8Check::Check(&(*it)); + } + } + } + + // string tag = 5; + if (this->tag().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tag().data(), static_cast(this->tag().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.tag"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 5, this->tag(), output); + } + + // .flyteidl.artifact.ArtifactSource source = 6; + if (this->has_source()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, HasBitSetters::source(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.CreateArtifactRequest) +} + +::google::protobuf::uint8* CreateArtifactRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.CreateArtifactRequest) + ::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.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::spec(this), target); + } + + // string version = 3; + if (this->version().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->version().data(), static_cast(this->version().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.version"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->version(), target); + } + + // map partitions = 4; + if (!this->partitions().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.artifact.CreateArtifactRequest.PartitionsEntry.key"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->second.data(), static_cast(p->second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry.value"); + } + }; + + if (false && + this->partitions().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->partitions().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->partitions().begin(); + it != this->partitions().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(partitions_.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->partitions().begin(); + it != this->partitions().end(); ++it) { + entry.reset(partitions_.NewEntryWrapper(it->first, it->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(4, *entry, target); + Utf8Check::Check(&(*it)); + } + } + } + + // string tag = 5; + if (this->tag().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tag().data(), static_cast(this->tag().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.CreateArtifactRequest.tag"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 5, this->tag(), target); + } + + // .flyteidl.artifact.ArtifactSource source = 6; + if (this->has_source()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, HasBitSetters::source(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.artifact.CreateArtifactRequest) + return target; +} + +size_t CreateArtifactRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.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; + + // map partitions = 4; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->partitions_size()); + { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->partitions().begin(); + it != this->partitions().end(); ++it) { + entry.reset(partitions_.NewEntryWrapper(it->first, it->second)); + total_size += ::google::protobuf::internal::WireFormatLite:: + MessageSizeNoVirtual(*entry); + } + } + + // string version = 3; + if (this->version().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->version()); + } + + // string tag = 5; + if (this->tag().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->tag()); + } + + // .flyteidl.core.ArtifactKey artifact_key = 1; + if (this->has_artifact_key()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_key_); + } + + // .flyteidl.artifact.ArtifactSpec spec = 2; + if (this->has_spec()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *spec_); + } + + // .flyteidl.artifact.ArtifactSource source = 6; + if (this->has_source()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *source_); + } + + 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:flyteidl.artifact.CreateArtifactRequest) + GOOGLE_DCHECK_NE(&from, this); + const CreateArtifactRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.CreateArtifactRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.CreateArtifactRequest) + MergeFrom(*source); + } +} + +void CreateArtifactRequest::MergeFrom(const CreateArtifactRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.CreateArtifactRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + partitions_.MergeFrom(from.partitions_); + if (from.version().size() > 0) { + + version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); + } + if (from.tag().size() > 0) { + + tag_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tag_); + } + if (from.has_artifact_key()) { + mutable_artifact_key()->::flyteidl::core::ArtifactKey::MergeFrom(from.artifact_key()); + } + if (from.has_spec()) { + mutable_spec()->::flyteidl::artifact::ArtifactSpec::MergeFrom(from.spec()); + } + if (from.has_source()) { + mutable_source()->::flyteidl::artifact::ArtifactSource::MergeFrom(from.source()); + } +} + +void CreateArtifactRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.CreateArtifactRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CreateArtifactRequest::CopyFrom(const CreateArtifactRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.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_); + partitions_.Swap(&other->partitions_); + version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + tag_.Swap(&other->tag_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(artifact_key_, other->artifact_key_); + swap(spec_, other->spec_); + swap(source_, other->source_); +} + +::google::protobuf::Metadata CreateArtifactRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactSource::InitAsDefaultInstance() { + ::flyteidl::artifact::_ArtifactSource_default_instance_._instance.get_mutable()->workflow_execution_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); + ::flyteidl::artifact::_ArtifactSource_default_instance_._instance.get_mutable()->task_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); +} +class ArtifactSource::HasBitSetters { + public: + static const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_execution(const ArtifactSource* msg); + static const ::flyteidl::core::Identifier& task_id(const ArtifactSource* msg); +}; + +const ::flyteidl::core::WorkflowExecutionIdentifier& +ArtifactSource::HasBitSetters::workflow_execution(const ArtifactSource* msg) { + return *msg->workflow_execution_; +} +const ::flyteidl::core::Identifier& +ArtifactSource::HasBitSetters::task_id(const ArtifactSource* msg) { + return *msg->task_id_; +} +void ArtifactSource::clear_workflow_execution() { + if (GetArenaNoVirtual() == nullptr && workflow_execution_ != nullptr) { + delete workflow_execution_; + } + workflow_execution_ = nullptr; +} +void ArtifactSource::clear_task_id() { + if (GetArenaNoVirtual() == nullptr && task_id_ != nullptr) { + delete task_id_; + } + task_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactSource::kWorkflowExecutionFieldNumber; +const int ArtifactSource::kNodeIdFieldNumber; +const int ArtifactSource::kTaskIdFieldNumber; +const int ArtifactSource::kRetryAttemptFieldNumber; +const int ArtifactSource::kPrincipalFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactSource::ArtifactSource() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ArtifactSource) +} +ArtifactSource::ArtifactSource(const ArtifactSource& 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_); + } + principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.principal().size() > 0) { + principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); + } + if (from.has_workflow_execution()) { + workflow_execution_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.workflow_execution_); + } else { + workflow_execution_ = nullptr; + } + if (from.has_task_id()) { + task_id_ = new ::flyteidl::core::Identifier(*from.task_id_); + } else { + task_id_ = nullptr; + } + retry_attempt_ = from.retry_attempt_; + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ArtifactSource) +} + +void ArtifactSource::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactSource_flyteidl_2fartifact_2fartifacts_2eproto.base); + node_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&workflow_execution_, 0, static_cast( + reinterpret_cast(&retry_attempt_) - + reinterpret_cast(&workflow_execution_)) + sizeof(retry_attempt_)); +} + +ArtifactSource::~ArtifactSource() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ArtifactSource) + SharedDtor(); +} + +void ArtifactSource::SharedDtor() { + node_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete workflow_execution_; + if (this != internal_default_instance()) delete task_id_; +} + +void ArtifactSource::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactSource& ArtifactSource::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactSource_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactSource::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ArtifactSource) + ::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()); + principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && workflow_execution_ != nullptr) { + delete workflow_execution_; + } + workflow_execution_ = nullptr; + if (GetArenaNoVirtual() == nullptr && task_id_ != nullptr) { + delete task_id_; + } + task_id_ = nullptr; + retry_attempt_ = 0u; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactSource::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 = 1; + case 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(); + if (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 node_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.artifact.ArtifactSource.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.Identifier task_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_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; + } + // uint32 retry_attempt = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 32) goto handle_unusual; + msg->set_retry_attempt(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(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.artifact.ArtifactSource.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 ArtifactSource::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ArtifactSource) + for (;;) { + ::std::pair<::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 = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_execution())); + } else { + goto handle_unusual; + } + break; + } + + // string node_id = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 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.artifact.ArtifactSource.node_id")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.Identifier task_id = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_task_id())); + } else { + goto handle_unusual; + } + break; + } + + // uint32 retry_attempt = 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, &retry_attempt_))); + } 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.artifact.ArtifactSource.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.artifact.ArtifactSource) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ArtifactSource) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactSource::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ArtifactSource) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + if (this->has_workflow_execution()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::workflow_execution(this), output); + } + + // string node_id = 2; + 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.artifact.ArtifactSource.node_id"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->node_id(), output); + } + + // .flyteidl.core.Identifier task_id = 3; + if (this->has_task_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::task_id(this), output); + } + + // uint32 retry_attempt = 4; + if (this->retry_attempt() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->retry_attempt(), 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.artifact.ArtifactSource.principal"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 5, 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.artifact.ArtifactSource) +} + +::google::protobuf::uint8* ArtifactSource::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ArtifactSource) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + if (this->has_workflow_execution()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::workflow_execution(this), target); + } + + // string node_id = 2; + 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.artifact.ArtifactSource.node_id"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->node_id(), target); + } + + // .flyteidl.core.Identifier task_id = 3; + if (this->has_task_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::task_id(this), target); + } + + // uint32 retry_attempt = 4; + if (this->retry_attempt() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->retry_attempt(), 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.artifact.ArtifactSource.principal"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 5, 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.artifact.ArtifactSource) + return target; +} + +size_t ArtifactSource::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ArtifactSource) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 = 2; + if (this->node_id().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->node_id()); + } + + // string principal = 5; + if (this->principal().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->principal()); + } + + // .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + if (this->has_workflow_execution()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *workflow_execution_); + } + + // .flyteidl.core.Identifier task_id = 3; + if (this->has_task_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *task_id_); + } + + // uint32 retry_attempt = 4; + 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 ArtifactSource::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ArtifactSource) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactSource* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ArtifactSource) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ArtifactSource) + MergeFrom(*source); + } +} + +void ArtifactSource::MergeFrom(const ArtifactSource& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ArtifactSource) + 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.principal().size() > 0) { + + principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); + } + if (from.has_workflow_execution()) { + mutable_workflow_execution()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.workflow_execution()); + } + if (from.has_task_id()) { + mutable_task_id()->::flyteidl::core::Identifier::MergeFrom(from.task_id()); + } + if (from.retry_attempt() != 0) { + set_retry_attempt(from.retry_attempt()); + } +} + +void ArtifactSource::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ArtifactSource) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactSource::CopyFrom(const ArtifactSource& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ArtifactSource) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactSource::IsInitialized() const { + return true; +} + +void ArtifactSource::Swap(ArtifactSource* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactSource::InternalSwap(ArtifactSource* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + node_id_.Swap(&other->node_id_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(workflow_execution_, other->workflow_execution_); + swap(task_id_, other->task_id_); + swap(retry_attempt_, other->retry_attempt_); +} + +::google::protobuf::Metadata ArtifactSource::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactSpec::InitAsDefaultInstance() { + ::flyteidl::artifact::_ArtifactSpec_default_instance_._instance.get_mutable()->value_ = const_cast< ::flyteidl::core::Literal*>( + ::flyteidl::core::Literal::internal_default_instance()); + ::flyteidl::artifact::_ArtifactSpec_default_instance_._instance.get_mutable()->type_ = const_cast< ::flyteidl::core::LiteralType*>( + ::flyteidl::core::LiteralType::internal_default_instance()); + ::flyteidl::artifact::_ArtifactSpec_default_instance_._instance.get_mutable()->user_metadata_ = const_cast< ::google::protobuf::Any*>( + ::google::protobuf::Any::internal_default_instance()); +} +class ArtifactSpec::HasBitSetters { + public: + static const ::flyteidl::core::Literal& value(const ArtifactSpec* msg); + static const ::flyteidl::core::LiteralType& type(const ArtifactSpec* msg); + static const ::google::protobuf::Any& user_metadata(const ArtifactSpec* msg); +}; + +const ::flyteidl::core::Literal& +ArtifactSpec::HasBitSetters::value(const ArtifactSpec* msg) { + return *msg->value_; +} +const ::flyteidl::core::LiteralType& +ArtifactSpec::HasBitSetters::type(const ArtifactSpec* msg) { + return *msg->type_; +} +const ::google::protobuf::Any& +ArtifactSpec::HasBitSetters::user_metadata(const ArtifactSpec* msg) { + return *msg->user_metadata_; +} +void ArtifactSpec::clear_value() { + if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { + delete value_; + } + value_ = nullptr; +} +void ArtifactSpec::clear_type() { + if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { + delete type_; + } + type_ = nullptr; +} +void ArtifactSpec::clear_user_metadata() { + if (GetArenaNoVirtual() == nullptr && user_metadata_ != nullptr) { + delete user_metadata_; + } + user_metadata_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactSpec::kValueFieldNumber; +const int ArtifactSpec::kTypeFieldNumber; +const int ArtifactSpec::kShortDescriptionFieldNumber; +const int ArtifactSpec::kUserMetadataFieldNumber; +const int ArtifactSpec::kMetadataTypeFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactSpec::ArtifactSpec() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ArtifactSpec) +} +ArtifactSpec::ArtifactSpec(const ArtifactSpec& 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_); + } + metadata_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.metadata_type().size() > 0) { + metadata_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.metadata_type_); + } + 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; + } + if (from.has_user_metadata()) { + user_metadata_ = new ::google::protobuf::Any(*from.user_metadata_); + } else { + user_metadata_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ArtifactSpec) +} + +void ArtifactSpec::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base); + short_description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + metadata_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&value_, 0, static_cast( + reinterpret_cast(&user_metadata_) - + reinterpret_cast(&value_)) + sizeof(user_metadata_)); +} + +ArtifactSpec::~ArtifactSpec() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ArtifactSpec) + SharedDtor(); +} + +void ArtifactSpec::SharedDtor() { + short_description_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + metadata_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete value_; + if (this != internal_default_instance()) delete type_; + if (this != internal_default_instance()) delete user_metadata_; +} + +void ArtifactSpec::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactSpec& ArtifactSpec::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactSpec_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactSpec::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ArtifactSpec) + ::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()); + metadata_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && value_ != nullptr) { + delete value_; + } + value_ = nullptr; + if (GetArenaNoVirtual() == nullptr && type_ != nullptr) { + delete type_; + } + type_ = nullptr; + if (GetArenaNoVirtual() == nullptr && user_metadata_ != nullptr) { + delete user_metadata_; + } + user_metadata_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactSpec::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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; + } + // 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.artifact.ArtifactSpec.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; + } + // .google.protobuf.Any user_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 = ::google::protobuf::Any::_InternalParse; + object = msg->mutable_user_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 metadata_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); + ctx->extra_parse_data().SetFieldName("flyteidl.artifact.ArtifactSpec.metadata_type"); + object = msg->mutable_metadata_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; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_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 ArtifactSpec::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ArtifactSpec) + for (;;) { + ::std::pair<::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; + } + + // 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.artifact.ArtifactSpec.short_description")); + } else { + goto handle_unusual; + } + break; + } + + // .google.protobuf.Any user_metadata = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_user_metadata())); + } else { + goto handle_unusual; + } + break; + } + + // string metadata_type = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_metadata_type())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->metadata_type().data(), static_cast(this->metadata_type().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.artifact.ArtifactSpec.metadata_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.artifact.ArtifactSpec) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ArtifactSpec) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactSpec::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ArtifactSpec) + ::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); + } + + // 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.artifact.ArtifactSpec.short_description"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->short_description(), output); + } + + // .google.protobuf.Any user_metadata = 4; + if (this->has_user_metadata()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::user_metadata(this), output); + } + + // string metadata_type = 5; + if (this->metadata_type().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->metadata_type().data(), static_cast(this->metadata_type().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ArtifactSpec.metadata_type"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 5, this->metadata_type(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.ArtifactSpec) +} + +::google::protobuf::uint8* ArtifactSpec::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ArtifactSpec) + ::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); + } + + // 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.artifact.ArtifactSpec.short_description"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->short_description(), target); + } + + // .google.protobuf.Any user_metadata = 4; + if (this->has_user_metadata()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::user_metadata(this), target); + } + + // string metadata_type = 5; + if (this->metadata_type().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->metadata_type().data(), static_cast(this->metadata_type().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.ArtifactSpec.metadata_type"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 5, this->metadata_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.artifact.ArtifactSpec) + return target; +} + +size_t ArtifactSpec::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ArtifactSpec) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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()); + } + + // string metadata_type = 5; + if (this->metadata_type().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->metadata_type()); + } + + // .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_); + } + + // .google.protobuf.Any user_metadata = 4; + if (this->has_user_metadata()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *user_metadata_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ArtifactSpec::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ArtifactSpec) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactSpec* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ArtifactSpec) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ArtifactSpec) + MergeFrom(*source); + } +} + +void ArtifactSpec::MergeFrom(const ArtifactSpec& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ArtifactSpec) + 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.metadata_type().size() > 0) { + + metadata_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.metadata_type_); + } + if (from.has_value()) { + mutable_value()->::flyteidl::core::Literal::MergeFrom(from.value()); + } + if (from.has_type()) { + mutable_type()->::flyteidl::core::LiteralType::MergeFrom(from.type()); + } + if (from.has_user_metadata()) { + mutable_user_metadata()->::google::protobuf::Any::MergeFrom(from.user_metadata()); + } +} + +void ArtifactSpec::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ArtifactSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactSpec::CopyFrom(const ArtifactSpec& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ArtifactSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactSpec::IsInitialized() const { + return true; +} + +void ArtifactSpec::Swap(ArtifactSpec* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactSpec::InternalSwap(ArtifactSpec* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + short_description_.Swap(&other->short_description_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + metadata_type_.Swap(&other->metadata_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(value_, other->value_); + swap(type_, other->type_); + swap(user_metadata_, other->user_metadata_); +} + +::google::protobuf::Metadata ArtifactSpec::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void CreateArtifactResponse::InitAsDefaultInstance() { + ::flyteidl::artifact::_CreateArtifactResponse_default_instance_._instance.get_mutable()->artifact_ = const_cast< ::flyteidl::artifact::Artifact*>( + ::flyteidl::artifact::Artifact::internal_default_instance()); +} +class CreateArtifactResponse::HasBitSetters { + public: + static const ::flyteidl::artifact::Artifact& artifact(const CreateArtifactResponse* msg); +}; + +const ::flyteidl::artifact::Artifact& +CreateArtifactResponse::HasBitSetters::artifact(const CreateArtifactResponse* msg) { + return *msg->artifact_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CreateArtifactResponse::kArtifactFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CreateArtifactResponse::CreateArtifactResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.CreateArtifactResponse) +} +CreateArtifactResponse::CreateArtifactResponse(const CreateArtifactResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_artifact()) { + artifact_ = new ::flyteidl::artifact::Artifact(*from.artifact_); + } else { + artifact_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.CreateArtifactResponse) +} + +void CreateArtifactResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + artifact_ = nullptr; +} + +CreateArtifactResponse::~CreateArtifactResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.CreateArtifactResponse) + SharedDtor(); +} + +void CreateArtifactResponse::SharedDtor() { + if (this != internal_default_instance()) delete artifact_; +} + +void CreateArtifactResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CreateArtifactResponse& CreateArtifactResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CreateArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void CreateArtifactResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.CreateArtifactResponse) + ::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* 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) { + // .flyteidl.artifact.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 = ::flyteidl::artifact::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 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:flyteidl.artifact.CreateArtifactResponse) + for (;;) { + ::std::pair<::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.artifact.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:flyteidl.artifact.CreateArtifactResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.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:flyteidl.artifact.CreateArtifactResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.artifact.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:flyteidl.artifact.CreateArtifactResponse) +} + +::google::protobuf::uint8* CreateArtifactResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.CreateArtifactResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.artifact.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:flyteidl.artifact.CreateArtifactResponse) + return target; +} + +size_t CreateArtifactResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.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; + + // .flyteidl.artifact.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 CreateArtifactResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.CreateArtifactResponse) + GOOGLE_DCHECK_NE(&from, this); + const CreateArtifactResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.CreateArtifactResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.CreateArtifactResponse) + MergeFrom(*source); + } +} + +void CreateArtifactResponse::MergeFrom(const CreateArtifactResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.CreateArtifactResponse) + 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()->::flyteidl::artifact::Artifact::MergeFrom(from.artifact()); + } +} + +void CreateArtifactResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.CreateArtifactResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CreateArtifactResponse::CopyFrom(const CreateArtifactResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.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_); + swap(artifact_, other->artifact_); +} + +::google::protobuf::Metadata CreateArtifactResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void GetArtifactRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_GetArtifactRequest_default_instance_._instance.get_mutable()->query_ = const_cast< ::flyteidl::core::ArtifactQuery*>( + ::flyteidl::core::ArtifactQuery::internal_default_instance()); +} +class GetArtifactRequest::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactQuery& query(const GetArtifactRequest* msg); +}; + +const ::flyteidl::core::ArtifactQuery& +GetArtifactRequest::HasBitSetters::query(const GetArtifactRequest* msg) { + return *msg->query_; +} +void GetArtifactRequest::clear_query() { + if (GetArenaNoVirtual() == nullptr && query_ != nullptr) { + delete query_; + } + query_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int GetArtifactRequest::kQueryFieldNumber; +const int GetArtifactRequest::kDetailsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +GetArtifactRequest::GetArtifactRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.GetArtifactRequest) +} +GetArtifactRequest::GetArtifactRequest(const GetArtifactRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_query()) { + query_ = new ::flyteidl::core::ArtifactQuery(*from.query_); + } else { + query_ = nullptr; + } + details_ = from.details_; + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.GetArtifactRequest) +} + +void GetArtifactRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_GetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::memset(&query_, 0, static_cast( + reinterpret_cast(&details_) - + reinterpret_cast(&query_)) + sizeof(details_)); +} + +GetArtifactRequest::~GetArtifactRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.GetArtifactRequest) + SharedDtor(); +} + +void GetArtifactRequest::SharedDtor() { + if (this != internal_default_instance()) delete query_; +} + +void GetArtifactRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetArtifactRequest& GetArtifactRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_GetArtifactRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void GetArtifactRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.GetArtifactRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && query_ != nullptr) { + delete query_; + } + query_ = nullptr; + details_ = false; + _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) { + // .flyteidl.core.ArtifactQuery 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); + parser_till_end = ::flyteidl::core::ArtifactQuery::_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; + } + // bool details = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; + msg->set_details(::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 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:flyteidl.artifact.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)) { + // .flyteidl.core.ArtifactQuery query = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_query())); + } else { + goto handle_unusual; + } + break; + } + + // bool details = 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, &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.artifact.GetArtifactRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.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:flyteidl.artifact.GetArtifactRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactQuery query = 1; + if (this->has_query()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::query(this), output); + } + + // bool details = 2; + if (this->details() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->details(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.GetArtifactRequest) +} + +::google::protobuf::uint8* GetArtifactRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.GetArtifactRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactQuery query = 1; + if (this->has_query()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::query(this), target); + } + + // bool details = 2; + if (this->details() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->details(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.GetArtifactRequest) + return target; +} + +size_t GetArtifactRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.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; + + // .flyteidl.core.ArtifactQuery query = 1; + if (this->has_query()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *query_); + } + + // bool details = 2; + if (this->details() != 0) { + total_size += 1 + 1; + } + + 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:flyteidl.artifact.GetArtifactRequest) + GOOGLE_DCHECK_NE(&from, this); + const GetArtifactRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.GetArtifactRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.GetArtifactRequest) + MergeFrom(*source); + } +} + +void GetArtifactRequest::MergeFrom(const GetArtifactRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.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_query()) { + mutable_query()->::flyteidl::core::ArtifactQuery::MergeFrom(from.query()); + } + if (from.details() != 0) { + set_details(from.details()); + } +} + +void GetArtifactRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.GetArtifactRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetArtifactRequest::CopyFrom(const GetArtifactRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.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(query_, other->query_); + swap(details_, other->details_); +} + +::google::protobuf::Metadata GetArtifactRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void GetArtifactResponse::InitAsDefaultInstance() { + ::flyteidl::artifact::_GetArtifactResponse_default_instance_._instance.get_mutable()->artifact_ = const_cast< ::flyteidl::artifact::Artifact*>( + ::flyteidl::artifact::Artifact::internal_default_instance()); +} +class GetArtifactResponse::HasBitSetters { + public: + static const ::flyteidl::artifact::Artifact& artifact(const GetArtifactResponse* msg); +}; + +const ::flyteidl::artifact::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:flyteidl.artifact.GetArtifactResponse) +} +GetArtifactResponse::GetArtifactResponse(const GetArtifactResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_artifact()) { + artifact_ = new ::flyteidl::artifact::Artifact(*from.artifact_); + } else { + artifact_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.GetArtifactResponse) +} + +void GetArtifactResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_GetArtifactResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + artifact_ = nullptr; +} + +GetArtifactResponse::~GetArtifactResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.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_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void GetArtifactResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.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) { + // .flyteidl.artifact.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 = ::flyteidl::artifact::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:flyteidl.artifact.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)) { + // .flyteidl.artifact.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:flyteidl.artifact.GetArtifactResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.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:flyteidl.artifact.GetArtifactResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.artifact.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:flyteidl.artifact.GetArtifactResponse) +} + +::google::protobuf::uint8* GetArtifactResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.GetArtifactResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.artifact.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:flyteidl.artifact.GetArtifactResponse) + return target; +} + +size_t GetArtifactResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.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; + + // .flyteidl.artifact.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:flyteidl.artifact.GetArtifactResponse) + GOOGLE_DCHECK_NE(&from, this); + const GetArtifactResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.GetArtifactResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.GetArtifactResponse) + MergeFrom(*source); + } +} + +void GetArtifactResponse::MergeFrom(const GetArtifactResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.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()->::flyteidl::artifact::Artifact::MergeFrom(from.artifact()); + } +} + +void GetArtifactResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.GetArtifactResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetArtifactResponse::CopyFrom(const GetArtifactResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.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_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void SearchOptions::InitAsDefaultInstance() { +} +class SearchOptions::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SearchOptions::kStrictPartitionsFieldNumber; +const int SearchOptions::kLatestByKeyFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SearchOptions::SearchOptions() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.SearchOptions) +} +SearchOptions::SearchOptions(const SearchOptions& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&strict_partitions_, &from.strict_partitions_, + static_cast(reinterpret_cast(&latest_by_key_) - + reinterpret_cast(&strict_partitions_)) + sizeof(latest_by_key_)); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.SearchOptions) +} + +void SearchOptions::SharedCtor() { + ::memset(&strict_partitions_, 0, static_cast( + reinterpret_cast(&latest_by_key_) - + reinterpret_cast(&strict_partitions_)) + sizeof(latest_by_key_)); +} + +SearchOptions::~SearchOptions() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.SearchOptions) + SharedDtor(); +} + +void SearchOptions::SharedDtor() { +} + +void SearchOptions::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const SearchOptions& SearchOptions::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_SearchOptions_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void SearchOptions::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.SearchOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&strict_partitions_, 0, static_cast( + reinterpret_cast(&latest_by_key_) - + reinterpret_cast(&strict_partitions_)) + sizeof(latest_by_key_)); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* SearchOptions::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 strict_partitions = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 8) goto handle_unusual; + msg->set_strict_partitions(::google::protobuf::internal::ReadVarint(&ptr)); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + break; + } + // bool latest_by_key = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 16) goto handle_unusual; + msg->set_latest_by_key(::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 SearchOptions::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.SearchOptions) + for (;;) { + ::std::pair<::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 strict_partitions = 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, &strict_partitions_))); + } else { + goto handle_unusual; + } + break; + } + + // bool latest_by_key = 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, &latest_by_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.artifact.SearchOptions) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.SearchOptions) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void SearchOptions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.SearchOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool strict_partitions = 1; + if (this->strict_partitions() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->strict_partitions(), output); + } + + // bool latest_by_key = 2; + if (this->latest_by_key() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->latest_by_key(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.SearchOptions) +} + +::google::protobuf::uint8* SearchOptions::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.SearchOptions) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool strict_partitions = 1; + if (this->strict_partitions() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->strict_partitions(), target); + } + + // bool latest_by_key = 2; + if (this->latest_by_key() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->latest_by_key(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.SearchOptions) + return target; +} + +size_t SearchOptions::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.SearchOptions) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 strict_partitions = 1; + if (this->strict_partitions() != 0) { + total_size += 1 + 1; + } + + // bool latest_by_key = 2; + if (this->latest_by_key() != 0) { + total_size += 1 + 1; + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SearchOptions::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.SearchOptions) + GOOGLE_DCHECK_NE(&from, this); + const SearchOptions* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.SearchOptions) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.SearchOptions) + MergeFrom(*source); + } +} + +void SearchOptions::MergeFrom(const SearchOptions& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.SearchOptions) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.strict_partitions() != 0) { + set_strict_partitions(from.strict_partitions()); + } + if (from.latest_by_key() != 0) { + set_latest_by_key(from.latest_by_key()); + } +} + +void SearchOptions::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.SearchOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SearchOptions::CopyFrom(const SearchOptions& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.SearchOptions) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SearchOptions::IsInitialized() const { + return true; +} + +void SearchOptions::Swap(SearchOptions* other) { + if (other == this) return; + InternalSwap(other); +} +void SearchOptions::InternalSwap(SearchOptions* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(strict_partitions_, other->strict_partitions_); + swap(latest_by_key_, other->latest_by_key_); +} + +::google::protobuf::Metadata SearchOptions::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void SearchArtifactsRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_SearchArtifactsRequest_default_instance_._instance.get_mutable()->artifact_key_ = const_cast< ::flyteidl::core::ArtifactKey*>( + ::flyteidl::core::ArtifactKey::internal_default_instance()); + ::flyteidl::artifact::_SearchArtifactsRequest_default_instance_._instance.get_mutable()->partitions_ = const_cast< ::flyteidl::core::Partitions*>( + ::flyteidl::core::Partitions::internal_default_instance()); + ::flyteidl::artifact::_SearchArtifactsRequest_default_instance_._instance.get_mutable()->options_ = const_cast< ::flyteidl::artifact::SearchOptions*>( + ::flyteidl::artifact::SearchOptions::internal_default_instance()); +} +class SearchArtifactsRequest::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactKey& artifact_key(const SearchArtifactsRequest* msg); + static const ::flyteidl::core::Partitions& partitions(const SearchArtifactsRequest* msg); + static const ::flyteidl::artifact::SearchOptions& options(const SearchArtifactsRequest* msg); +}; + +const ::flyteidl::core::ArtifactKey& +SearchArtifactsRequest::HasBitSetters::artifact_key(const SearchArtifactsRequest* msg) { + return *msg->artifact_key_; +} +const ::flyteidl::core::Partitions& +SearchArtifactsRequest::HasBitSetters::partitions(const SearchArtifactsRequest* msg) { + return *msg->partitions_; +} +const ::flyteidl::artifact::SearchOptions& +SearchArtifactsRequest::HasBitSetters::options(const SearchArtifactsRequest* msg) { + return *msg->options_; +} +void SearchArtifactsRequest::clear_artifact_key() { + if (GetArenaNoVirtual() == nullptr && artifact_key_ != nullptr) { + delete artifact_key_; + } + artifact_key_ = nullptr; +} +void SearchArtifactsRequest::clear_partitions() { + if (GetArenaNoVirtual() == nullptr && partitions_ != nullptr) { + delete partitions_; + } + partitions_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SearchArtifactsRequest::kArtifactKeyFieldNumber; +const int SearchArtifactsRequest::kPartitionsFieldNumber; +const int SearchArtifactsRequest::kPrincipalFieldNumber; +const int SearchArtifactsRequest::kVersionFieldNumber; +const int SearchArtifactsRequest::kOptionsFieldNumber; +const int SearchArtifactsRequest::kTokenFieldNumber; +const int SearchArtifactsRequest::kLimitFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SearchArtifactsRequest::SearchArtifactsRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.SearchArtifactsRequest) +} +SearchArtifactsRequest::SearchArtifactsRequest(const SearchArtifactsRequest& 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_); + } + version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.version().size() > 0) { + version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); + } + token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.token().size() > 0) { + token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); + } + 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_options()) { + options_ = new ::flyteidl::artifact::SearchOptions(*from.options_); + } else { + options_ = nullptr; + } + limit_ = from.limit_; + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.SearchArtifactsRequest) +} + +void SearchArtifactsRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_SearchArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + version_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&artifact_key_, 0, static_cast( + reinterpret_cast(&limit_) - + reinterpret_cast(&artifact_key_)) + sizeof(limit_)); +} + +SearchArtifactsRequest::~SearchArtifactsRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.SearchArtifactsRequest) + SharedDtor(); +} + +void SearchArtifactsRequest::SharedDtor() { + principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + version_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + token_.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 options_; +} + +void SearchArtifactsRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const SearchArtifactsRequest& SearchArtifactsRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_SearchArtifactsRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void SearchArtifactsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.SearchArtifactsRequest) + ::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()); + version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + token_.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 && options_ != nullptr) { + delete options_; + } + options_ = nullptr; + limit_ = 0; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* SearchArtifactsRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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.Partitions partitions = 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::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; + } + // 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.artifact.SearchArtifactsRequest.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; + } + // 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("flyteidl.artifact.SearchArtifactsRequest.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.artifact.SearchOptions options = 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::artifact::SearchOptions::_InternalParse; + object = msg->mutable_options(); + if (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 token = 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.artifact.SearchArtifactsRequest.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; + } + // int32 limit = 7; + case 7: { + if (static_cast<::google::protobuf::uint8>(tag) != 56) goto handle_unusual; + msg->set_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; +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 SearchArtifactsRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.SearchArtifactsRequest) + for (;;) { + ::std::pair<::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.Partitions partitions = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_partitions())); + } 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.artifact.SearchArtifactsRequest.principal")); + } 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, + "flyteidl.artifact.SearchArtifactsRequest.version")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.artifact.SearchOptions options = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_options())); + } else { + goto handle_unusual; + } + break; + } + + // string token = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 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.artifact.SearchArtifactsRequest.token")); + } else { + goto handle_unusual; + } + break; + } + + // int32 limit = 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, &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.artifact.SearchArtifactsRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.SearchArtifactsRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void SearchArtifactsRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.SearchArtifactsRequest) + ::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.Partitions partitions = 2; + if (this->has_partitions()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::partitions(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.artifact.SearchArtifactsRequest.principal"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->principal(), 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, + "flyteidl.artifact.SearchArtifactsRequest.version"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 4, this->version(), output); + } + + // .flyteidl.artifact.SearchOptions options = 5; + if (this->has_options()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::options(this), output); + } + + // string token = 6; + if (this->token().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->token().data(), static_cast(this->token().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.SearchArtifactsRequest.token"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 6, this->token(), output); + } + + // int32 limit = 7; + if (this->limit() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->limit(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.SearchArtifactsRequest) +} + +::google::protobuf::uint8* SearchArtifactsRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.SearchArtifactsRequest) + ::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.Partitions partitions = 2; + if (this->has_partitions()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::partitions(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.artifact.SearchArtifactsRequest.principal"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->principal(), 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, + "flyteidl.artifact.SearchArtifactsRequest.version"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->version(), target); + } + + // .flyteidl.artifact.SearchOptions options = 5; + if (this->has_options()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::options(this), target); + } + + // string token = 6; + if (this->token().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->token().data(), static_cast(this->token().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.artifact.SearchArtifactsRequest.token"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 6, this->token(), target); + } + + // int32 limit = 7; + if (this->limit() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->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.artifact.SearchArtifactsRequest) + return target; +} + +size_t SearchArtifactsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.SearchArtifactsRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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()); + } + + // string version = 4; + if (this->version().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->version()); + } + + // string token = 6; + if (this->token().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->token()); + } + + // .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 = 2; + if (this->has_partitions()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *partitions_); + } + + // .flyteidl.artifact.SearchOptions options = 5; + if (this->has_options()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *options_); + } + + // int32 limit = 7; + if (this->limit() != 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->limit()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SearchArtifactsRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.SearchArtifactsRequest) + GOOGLE_DCHECK_NE(&from, this); + const SearchArtifactsRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.SearchArtifactsRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.SearchArtifactsRequest) + MergeFrom(*source); + } +} + +void SearchArtifactsRequest::MergeFrom(const SearchArtifactsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.SearchArtifactsRequest) + 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.version().size() > 0) { + + version_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.version_); + } + if (from.token().size() > 0) { + + token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); + } + 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_options()) { + mutable_options()->::flyteidl::artifact::SearchOptions::MergeFrom(from.options()); + } + if (from.limit() != 0) { + set_limit(from.limit()); + } +} + +void SearchArtifactsRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.SearchArtifactsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SearchArtifactsRequest::CopyFrom(const SearchArtifactsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.SearchArtifactsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SearchArtifactsRequest::IsInitialized() const { + return true; +} + +void SearchArtifactsRequest::Swap(SearchArtifactsRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void SearchArtifactsRequest::InternalSwap(SearchArtifactsRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + version_.Swap(&other->version_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(artifact_key_, other->artifact_key_); + swap(partitions_, other->partitions_); + swap(options_, other->options_); + swap(limit_, other->limit_); +} + +::google::protobuf::Metadata SearchArtifactsRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void SearchArtifactsResponse::InitAsDefaultInstance() { +} +class SearchArtifactsResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SearchArtifactsResponse::kArtifactsFieldNumber; +const int SearchArtifactsResponse::kTokenFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SearchArtifactsResponse::SearchArtifactsResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.SearchArtifactsResponse) +} +SearchArtifactsResponse::SearchArtifactsResponse(const SearchArtifactsResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + artifacts_(from.artifacts_) { + _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.artifact.SearchArtifactsResponse) +} + +void SearchArtifactsResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_SearchArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + token_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +SearchArtifactsResponse::~SearchArtifactsResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.SearchArtifactsResponse) + SharedDtor(); +} + +void SearchArtifactsResponse::SharedDtor() { + token_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void SearchArtifactsResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const SearchArtifactsResponse& SearchArtifactsResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_SearchArtifactsResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void SearchArtifactsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.SearchArtifactsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + artifacts_.Clear(); + token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* SearchArtifactsResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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.artifact.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 = ::flyteidl::artifact::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 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.artifact.SearchArtifactsResponse.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 SearchArtifactsResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.SearchArtifactsResponse) + for (;;) { + ::std::pair<::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.artifact.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 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.artifact.SearchArtifactsResponse.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.artifact.SearchArtifactsResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.SearchArtifactsResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void SearchArtifactsResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.SearchArtifactsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.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 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.artifact.SearchArtifactsResponse.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.artifact.SearchArtifactsResponse) +} + +::google::protobuf::uint8* SearchArtifactsResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.SearchArtifactsResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.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 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.artifact.SearchArtifactsResponse.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.artifact.SearchArtifactsResponse) + return target; +} + +size_t SearchArtifactsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.SearchArtifactsResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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.artifact.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 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 SearchArtifactsResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.SearchArtifactsResponse) + GOOGLE_DCHECK_NE(&from, this); + const SearchArtifactsResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.SearchArtifactsResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.SearchArtifactsResponse) + MergeFrom(*source); + } +} + +void SearchArtifactsResponse::MergeFrom(const SearchArtifactsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.SearchArtifactsResponse) + 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.token().size() > 0) { + + token_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.token_); + } +} + +void SearchArtifactsResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.SearchArtifactsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SearchArtifactsResponse::CopyFrom(const SearchArtifactsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.SearchArtifactsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SearchArtifactsResponse::IsInitialized() const { + return true; +} + +void SearchArtifactsResponse::Swap(SearchArtifactsResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void SearchArtifactsResponse::InternalSwap(SearchArtifactsResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&artifacts_)->InternalSwap(CastToBase(&other->artifacts_)); + token_.Swap(&other->token_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata SearchArtifactsResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void FindByWorkflowExecRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_FindByWorkflowExecRequest_default_instance_._instance.get_mutable()->exec_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); +} +class FindByWorkflowExecRequest::HasBitSetters { + public: + static const ::flyteidl::core::WorkflowExecutionIdentifier& exec_id(const FindByWorkflowExecRequest* msg); +}; + +const ::flyteidl::core::WorkflowExecutionIdentifier& +FindByWorkflowExecRequest::HasBitSetters::exec_id(const FindByWorkflowExecRequest* msg) { + return *msg->exec_id_; +} +void FindByWorkflowExecRequest::clear_exec_id() { + if (GetArenaNoVirtual() == nullptr && exec_id_ != nullptr) { + delete exec_id_; + } + exec_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int FindByWorkflowExecRequest::kExecIdFieldNumber; +const int FindByWorkflowExecRequest::kDirectionFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +FindByWorkflowExecRequest::FindByWorkflowExecRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.FindByWorkflowExecRequest) +} +FindByWorkflowExecRequest::FindByWorkflowExecRequest(const FindByWorkflowExecRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_exec_id()) { + exec_id_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.exec_id_); + } else { + exec_id_ = nullptr; + } + direction_ = from.direction_; + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.FindByWorkflowExecRequest) +} + +void FindByWorkflowExecRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_FindByWorkflowExecRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::memset(&exec_id_, 0, static_cast( + reinterpret_cast(&direction_) - + reinterpret_cast(&exec_id_)) + sizeof(direction_)); +} + +FindByWorkflowExecRequest::~FindByWorkflowExecRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.FindByWorkflowExecRequest) + SharedDtor(); +} + +void FindByWorkflowExecRequest::SharedDtor() { + if (this != internal_default_instance()) delete exec_id_; +} + +void FindByWorkflowExecRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const FindByWorkflowExecRequest& FindByWorkflowExecRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_FindByWorkflowExecRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void FindByWorkflowExecRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.FindByWorkflowExecRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && exec_id_ != nullptr) { + delete exec_id_; + } + exec_id_ = nullptr; + direction_ = 0; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* FindByWorkflowExecRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 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_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.artifact.FindByWorkflowExecRequest.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::artifact::FindByWorkflowExecRequest_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; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool FindByWorkflowExecRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.FindByWorkflowExecRequest) + for (;;) { + ::std::pair<::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 exec_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_exec_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.artifact.FindByWorkflowExecRequest.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::artifact::FindByWorkflowExecRequest_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.artifact.FindByWorkflowExecRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.FindByWorkflowExecRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void FindByWorkflowExecRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.FindByWorkflowExecRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + if (this->has_exec_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::exec_id(this), output); + } + + // .flyteidl.artifact.FindByWorkflowExecRequest.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.artifact.FindByWorkflowExecRequest) +} + +::google::protobuf::uint8* FindByWorkflowExecRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.FindByWorkflowExecRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + if (this->has_exec_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::exec_id(this), target); + } + + // .flyteidl.artifact.FindByWorkflowExecRequest.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.artifact.FindByWorkflowExecRequest) + return target; +} + +size_t FindByWorkflowExecRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.FindByWorkflowExecRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 exec_id = 1; + if (this->has_exec_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *exec_id_); + } + + // .flyteidl.artifact.FindByWorkflowExecRequest.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 FindByWorkflowExecRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.FindByWorkflowExecRequest) + GOOGLE_DCHECK_NE(&from, this); + const FindByWorkflowExecRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.FindByWorkflowExecRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.FindByWorkflowExecRequest) + MergeFrom(*source); + } +} + +void FindByWorkflowExecRequest::MergeFrom(const FindByWorkflowExecRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.FindByWorkflowExecRequest) + 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_exec_id()) { + mutable_exec_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.exec_id()); + } + if (from.direction() != 0) { + set_direction(from.direction()); + } +} + +void FindByWorkflowExecRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.FindByWorkflowExecRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void FindByWorkflowExecRequest::CopyFrom(const FindByWorkflowExecRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.FindByWorkflowExecRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool FindByWorkflowExecRequest::IsInitialized() const { + return true; +} + +void FindByWorkflowExecRequest::Swap(FindByWorkflowExecRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void FindByWorkflowExecRequest::InternalSwap(FindByWorkflowExecRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(exec_id_, other->exec_id_); + swap(direction_, other->direction_); +} + +::google::protobuf::Metadata FindByWorkflowExecRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void AddTagRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_AddTagRequest_default_instance_._instance.get_mutable()->artifact_id_ = const_cast< ::flyteidl::core::ArtifactID*>( + ::flyteidl::core::ArtifactID::internal_default_instance()); +} +class AddTagRequest::HasBitSetters { + public: + static const ::flyteidl::core::ArtifactID& artifact_id(const AddTagRequest* msg); +}; + +const ::flyteidl::core::ArtifactID& +AddTagRequest::HasBitSetters::artifact_id(const AddTagRequest* msg) { + return *msg->artifact_id_; +} +void AddTagRequest::clear_artifact_id() { + if (GetArenaNoVirtual() == nullptr && artifact_id_ != nullptr) { + delete artifact_id_; + } + artifact_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int AddTagRequest::kArtifactIdFieldNumber; +const int AddTagRequest::kValueFieldNumber; +const int AddTagRequest::kOverwriteFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +AddTagRequest::AddTagRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.AddTagRequest) +} +AddTagRequest::AddTagRequest(const AddTagRequest& 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_); + } + if (from.has_artifact_id()) { + artifact_id_ = new ::flyteidl::core::ArtifactID(*from.artifact_id_); + } else { + artifact_id_ = nullptr; + } + overwrite_ = from.overwrite_; + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.AddTagRequest) +} + +void AddTagRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_AddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(&artifact_id_, 0, static_cast( + reinterpret_cast(&overwrite_) - + reinterpret_cast(&artifact_id_)) + sizeof(overwrite_)); +} + +AddTagRequest::~AddTagRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.AddTagRequest) + SharedDtor(); +} + +void AddTagRequest::SharedDtor() { + value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete artifact_id_; +} + +void AddTagRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const AddTagRequest& AddTagRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_AddTagRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void AddTagRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.AddTagRequest) + ::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()); + if (GetArenaNoVirtual() == nullptr && artifact_id_ != nullptr) { + delete artifact_id_; + } + artifact_id_ = nullptr; + overwrite_ = false; + _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) { + // .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; + } + // 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.artifact.AddTagRequest.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; + } + // bool overwrite = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 24) goto handle_unusual; + msg->set_overwrite(::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 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:flyteidl.artifact.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)) { + // .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; + } + + // 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.artifact.AddTagRequest.value")); + } else { + goto handle_unusual; + } + break; + } + + // bool overwrite = 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, &overwrite_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.AddTagRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.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:flyteidl.artifact.AddTagRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::artifact_id(this), 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.artifact.AddTagRequest.value"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->value(), output); + } + + // bool overwrite = 3; + if (this->overwrite() != 0) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->overwrite(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.AddTagRequest) +} + +::google::protobuf::uint8* AddTagRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.AddTagRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::artifact_id(this), 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.artifact.AddTagRequest.value"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->value(), target); + } + + // bool overwrite = 3; + if (this->overwrite() != 0) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->overwrite(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.AddTagRequest) + return target; +} + +size_t AddTagRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.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; + + // string value = 2; + if (this->value().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->value()); + } + + // .flyteidl.core.ArtifactID artifact_id = 1; + if (this->has_artifact_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *artifact_id_); + } + + // bool overwrite = 3; + if (this->overwrite() != 0) { + total_size += 1 + 1; + } + + 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:flyteidl.artifact.AddTagRequest) + GOOGLE_DCHECK_NE(&from, this); + const AddTagRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.AddTagRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.AddTagRequest) + MergeFrom(*source); + } +} + +void AddTagRequest::MergeFrom(const AddTagRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.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.value().size() > 0) { + + value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.value_); + } + if (from.has_artifact_id()) { + mutable_artifact_id()->::flyteidl::core::ArtifactID::MergeFrom(from.artifact_id()); + } + if (from.overwrite() != 0) { + set_overwrite(from.overwrite()); + } +} + +void AddTagRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.AddTagRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void AddTagRequest::CopyFrom(const AddTagRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.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_); + value_.Swap(&other->value_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(artifact_id_, other->artifact_id_); + swap(overwrite_, other->overwrite_); +} + +::google::protobuf::Metadata AddTagRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_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:flyteidl.artifact.AddTagResponse) +} +AddTagResponse::AddTagResponse(const AddTagResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.AddTagResponse) +} + +void AddTagResponse::SharedCtor() { +} + +AddTagResponse::~AddTagResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.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_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void AddTagResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.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:flyteidl.artifact.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:flyteidl.artifact.AddTagResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.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:flyteidl.artifact.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:flyteidl.artifact.AddTagResponse) +} + +::google::protobuf::uint8* AddTagResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.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:flyteidl.artifact.AddTagResponse) + return target; +} + +size_t AddTagResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.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:flyteidl.artifact.AddTagResponse) + GOOGLE_DCHECK_NE(&from, this); + const AddTagResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.AddTagResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.AddTagResponse) + MergeFrom(*source); + } +} + +void AddTagResponse::MergeFrom(const AddTagResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.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:flyteidl.artifact.AddTagResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void AddTagResponse::CopyFrom(const AddTagResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.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_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void CreateTriggerRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_CreateTriggerRequest_default_instance_._instance.get_mutable()->trigger_launch_plan_ = const_cast< ::flyteidl::admin::LaunchPlan*>( + ::flyteidl::admin::LaunchPlan::internal_default_instance()); +} +class CreateTriggerRequest::HasBitSetters { + public: + static const ::flyteidl::admin::LaunchPlan& trigger_launch_plan(const CreateTriggerRequest* msg); +}; + +const ::flyteidl::admin::LaunchPlan& +CreateTriggerRequest::HasBitSetters::trigger_launch_plan(const CreateTriggerRequest* msg) { + return *msg->trigger_launch_plan_; +} +void CreateTriggerRequest::clear_trigger_launch_plan() { + if (GetArenaNoVirtual() == nullptr && trigger_launch_plan_ != nullptr) { + delete trigger_launch_plan_; + } + trigger_launch_plan_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int CreateTriggerRequest::kTriggerLaunchPlanFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CreateTriggerRequest::CreateTriggerRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.CreateTriggerRequest) +} +CreateTriggerRequest::CreateTriggerRequest(const CreateTriggerRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_trigger_launch_plan()) { + trigger_launch_plan_ = new ::flyteidl::admin::LaunchPlan(*from.trigger_launch_plan_); + } else { + trigger_launch_plan_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.CreateTriggerRequest) +} + +void CreateTriggerRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_CreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + trigger_launch_plan_ = nullptr; +} + +CreateTriggerRequest::~CreateTriggerRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.CreateTriggerRequest) + SharedDtor(); +} + +void CreateTriggerRequest::SharedDtor() { + if (this != internal_default_instance()) delete trigger_launch_plan_; +} + +void CreateTriggerRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CreateTriggerRequest& CreateTriggerRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void CreateTriggerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.CreateTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && trigger_launch_plan_ != nullptr) { + delete trigger_launch_plan_; + } + trigger_launch_plan_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CreateTriggerRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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.LaunchPlan trigger_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::admin::LaunchPlan::_InternalParse; + object = msg->mutable_trigger_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; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_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 CreateTriggerRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.CreateTriggerRequest) + for (;;) { + ::std::pair<::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.LaunchPlan trigger_launch_plan = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_trigger_launch_plan())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.CreateTriggerRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.CreateTriggerRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CreateTriggerRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.CreateTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + if (this->has_trigger_launch_plan()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::trigger_launch_plan(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.CreateTriggerRequest) +} + +::google::protobuf::uint8* CreateTriggerRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.CreateTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + if (this->has_trigger_launch_plan()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::trigger_launch_plan(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.artifact.CreateTriggerRequest) + return target; +} + +size_t CreateTriggerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.CreateTriggerRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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.LaunchPlan trigger_launch_plan = 1; + if (this->has_trigger_launch_plan()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *trigger_launch_plan_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CreateTriggerRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.CreateTriggerRequest) + GOOGLE_DCHECK_NE(&from, this); + const CreateTriggerRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.CreateTriggerRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.CreateTriggerRequest) + MergeFrom(*source); + } +} + +void CreateTriggerRequest::MergeFrom(const CreateTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.CreateTriggerRequest) + 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_trigger_launch_plan()) { + mutable_trigger_launch_plan()->::flyteidl::admin::LaunchPlan::MergeFrom(from.trigger_launch_plan()); + } +} + +void CreateTriggerRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.CreateTriggerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CreateTriggerRequest::CopyFrom(const CreateTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.CreateTriggerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CreateTriggerRequest::IsInitialized() const { + return true; +} + +void CreateTriggerRequest::Swap(CreateTriggerRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void CreateTriggerRequest::InternalSwap(CreateTriggerRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(trigger_launch_plan_, other->trigger_launch_plan_); +} + +::google::protobuf::Metadata CreateTriggerRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void CreateTriggerResponse::InitAsDefaultInstance() { +} +class CreateTriggerResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +CreateTriggerResponse::CreateTriggerResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.CreateTriggerResponse) +} +CreateTriggerResponse::CreateTriggerResponse(const CreateTriggerResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.CreateTriggerResponse) +} + +void CreateTriggerResponse::SharedCtor() { +} + +CreateTriggerResponse::~CreateTriggerResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.CreateTriggerResponse) + SharedDtor(); +} + +void CreateTriggerResponse::SharedDtor() { +} + +void CreateTriggerResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CreateTriggerResponse& CreateTriggerResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_CreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void CreateTriggerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.CreateTriggerResponse) + ::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* CreateTriggerResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 CreateTriggerResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.CreateTriggerResponse) + 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.artifact.CreateTriggerResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.CreateTriggerResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CreateTriggerResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.CreateTriggerResponse) + ::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.artifact.CreateTriggerResponse) +} + +::google::protobuf::uint8* CreateTriggerResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.CreateTriggerResponse) + ::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.artifact.CreateTriggerResponse) + return target; +} + +size_t CreateTriggerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.CreateTriggerResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 CreateTriggerResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.CreateTriggerResponse) + GOOGLE_DCHECK_NE(&from, this); + const CreateTriggerResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.CreateTriggerResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.CreateTriggerResponse) + MergeFrom(*source); + } +} + +void CreateTriggerResponse::MergeFrom(const CreateTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.CreateTriggerResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void CreateTriggerResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.CreateTriggerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CreateTriggerResponse::CopyFrom(const CreateTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.CreateTriggerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CreateTriggerResponse::IsInitialized() const { + return true; +} + +void CreateTriggerResponse::Swap(CreateTriggerResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void CreateTriggerResponse::InternalSwap(CreateTriggerResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata CreateTriggerResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DeleteTriggerRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_DeleteTriggerRequest_default_instance_._instance.get_mutable()->trigger_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); +} +class DeleteTriggerRequest::HasBitSetters { + public: + static const ::flyteidl::core::Identifier& trigger_id(const DeleteTriggerRequest* msg); +}; + +const ::flyteidl::core::Identifier& +DeleteTriggerRequest::HasBitSetters::trigger_id(const DeleteTriggerRequest* msg) { + return *msg->trigger_id_; +} +void DeleteTriggerRequest::clear_trigger_id() { + if (GetArenaNoVirtual() == nullptr && trigger_id_ != nullptr) { + delete trigger_id_; + } + trigger_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DeleteTriggerRequest::kTriggerIdFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DeleteTriggerRequest::DeleteTriggerRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.DeleteTriggerRequest) +} +DeleteTriggerRequest::DeleteTriggerRequest(const DeleteTriggerRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_trigger_id()) { + trigger_id_ = new ::flyteidl::core::Identifier(*from.trigger_id_); + } else { + trigger_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeleteTriggerRequest) +} + +void DeleteTriggerRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + trigger_id_ = nullptr; +} + +DeleteTriggerRequest::~DeleteTriggerRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.DeleteTriggerRequest) + SharedDtor(); +} + +void DeleteTriggerRequest::SharedDtor() { + if (this != internal_default_instance()) delete trigger_id_; +} + +void DeleteTriggerRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DeleteTriggerRequest& DeleteTriggerRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void DeleteTriggerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeleteTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && trigger_id_ != nullptr) { + delete trigger_id_; + } + trigger_id_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DeleteTriggerRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 trigger_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_trigger_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 DeleteTriggerRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeleteTriggerRequest) + for (;;) { + ::std::pair<::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 trigger_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_trigger_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.artifact.DeleteTriggerRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeleteTriggerRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DeleteTriggerRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeleteTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::trigger_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.artifact.DeleteTriggerRequest) +} + +::google::protobuf::uint8* DeleteTriggerRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeleteTriggerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::trigger_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.artifact.DeleteTriggerRequest) + return target; +} + +size_t DeleteTriggerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeleteTriggerRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 trigger_id = 1; + if (this->has_trigger_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *trigger_id_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DeleteTriggerRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeleteTriggerRequest) + GOOGLE_DCHECK_NE(&from, this); + const DeleteTriggerRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeleteTriggerRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeleteTriggerRequest) + MergeFrom(*source); + } +} + +void DeleteTriggerRequest::MergeFrom(const DeleteTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeleteTriggerRequest) + 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_trigger_id()) { + mutable_trigger_id()->::flyteidl::core::Identifier::MergeFrom(from.trigger_id()); + } +} + +void DeleteTriggerRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeleteTriggerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DeleteTriggerRequest::CopyFrom(const DeleteTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeleteTriggerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeleteTriggerRequest::IsInitialized() const { + return true; +} + +void DeleteTriggerRequest::Swap(DeleteTriggerRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void DeleteTriggerRequest::InternalSwap(DeleteTriggerRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(trigger_id_, other->trigger_id_); +} + +::google::protobuf::Metadata DeleteTriggerRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DeleteTriggerResponse::InitAsDefaultInstance() { +} +class DeleteTriggerResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DeleteTriggerResponse::DeleteTriggerResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.DeleteTriggerResponse) +} +DeleteTriggerResponse::DeleteTriggerResponse(const DeleteTriggerResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeleteTriggerResponse) +} + +void DeleteTriggerResponse::SharedCtor() { +} + +DeleteTriggerResponse::~DeleteTriggerResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.DeleteTriggerResponse) + SharedDtor(); +} + +void DeleteTriggerResponse::SharedDtor() { +} + +void DeleteTriggerResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DeleteTriggerResponse& DeleteTriggerResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void DeleteTriggerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeleteTriggerResponse) + ::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* DeleteTriggerResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 DeleteTriggerResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeleteTriggerResponse) + 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.artifact.DeleteTriggerResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeleteTriggerResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DeleteTriggerResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeleteTriggerResponse) + ::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.artifact.DeleteTriggerResponse) +} + +::google::protobuf::uint8* DeleteTriggerResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeleteTriggerResponse) + ::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.artifact.DeleteTriggerResponse) + return target; +} + +size_t DeleteTriggerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeleteTriggerResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 DeleteTriggerResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeleteTriggerResponse) + GOOGLE_DCHECK_NE(&from, this); + const DeleteTriggerResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeleteTriggerResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeleteTriggerResponse) + MergeFrom(*source); + } +} + +void DeleteTriggerResponse::MergeFrom(const DeleteTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeleteTriggerResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void DeleteTriggerResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeleteTriggerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DeleteTriggerResponse::CopyFrom(const DeleteTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeleteTriggerResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DeleteTriggerResponse::IsInitialized() const { + return true; +} + +void DeleteTriggerResponse::Swap(DeleteTriggerResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void DeleteTriggerResponse::InternalSwap(DeleteTriggerResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata DeleteTriggerResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactProducer::InitAsDefaultInstance() { + ::flyteidl::artifact::_ArtifactProducer_default_instance_._instance.get_mutable()->entity_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); + ::flyteidl::artifact::_ArtifactProducer_default_instance_._instance.get_mutable()->outputs_ = const_cast< ::flyteidl::core::VariableMap*>( + ::flyteidl::core::VariableMap::internal_default_instance()); +} +class ArtifactProducer::HasBitSetters { + public: + static const ::flyteidl::core::Identifier& entity_id(const ArtifactProducer* msg); + static const ::flyteidl::core::VariableMap& outputs(const ArtifactProducer* msg); +}; + +const ::flyteidl::core::Identifier& +ArtifactProducer::HasBitSetters::entity_id(const ArtifactProducer* msg) { + return *msg->entity_id_; +} +const ::flyteidl::core::VariableMap& +ArtifactProducer::HasBitSetters::outputs(const ArtifactProducer* msg) { + return *msg->outputs_; +} +void ArtifactProducer::clear_entity_id() { + if (GetArenaNoVirtual() == nullptr && entity_id_ != nullptr) { + delete entity_id_; + } + entity_id_ = nullptr; +} +void ArtifactProducer::clear_outputs() { + if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { + delete outputs_; + } + outputs_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactProducer::kEntityIdFieldNumber; +const int ArtifactProducer::kOutputsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactProducer::ArtifactProducer() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ArtifactProducer) +} +ArtifactProducer::ArtifactProducer(const ArtifactProducer& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_entity_id()) { + entity_id_ = new ::flyteidl::core::Identifier(*from.entity_id_); + } else { + entity_id_ = nullptr; + } + if (from.has_outputs()) { + outputs_ = new ::flyteidl::core::VariableMap(*from.outputs_); + } else { + outputs_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ArtifactProducer) +} + +void ArtifactProducer::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::memset(&entity_id_, 0, static_cast( + reinterpret_cast(&outputs_) - + reinterpret_cast(&entity_id_)) + sizeof(outputs_)); +} + +ArtifactProducer::~ArtifactProducer() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ArtifactProducer) + SharedDtor(); +} + +void ArtifactProducer::SharedDtor() { + if (this != internal_default_instance()) delete entity_id_; + if (this != internal_default_instance()) delete outputs_; +} + +void ArtifactProducer::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactProducer& ArtifactProducer::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactProducer::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ArtifactProducer) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && entity_id_ != nullptr) { + delete entity_id_; + } + entity_id_ = nullptr; + if (GetArenaNoVirtual() == nullptr && outputs_ != nullptr) { + delete outputs_; + } + outputs_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactProducer::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 entity_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_entity_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.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 ArtifactProducer::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ArtifactProducer) + for (;;) { + ::std::pair<::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 entity_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_entity_id())); + } 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.artifact.ArtifactProducer) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ArtifactProducer) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactProducer::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ArtifactProducer) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier entity_id = 1; + if (this->has_entity_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::entity_id(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.artifact.ArtifactProducer) +} + +::google::protobuf::uint8* ArtifactProducer::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ArtifactProducer) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier entity_id = 1; + if (this->has_entity_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::entity_id(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.artifact.ArtifactProducer) + return target; +} + +size_t ArtifactProducer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ArtifactProducer) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 entity_id = 1; + if (this->has_entity_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *entity_id_); + } + + // .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 ArtifactProducer::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ArtifactProducer) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactProducer* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ArtifactProducer) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ArtifactProducer) + MergeFrom(*source); + } +} + +void ArtifactProducer::MergeFrom(const ArtifactProducer& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ArtifactProducer) + 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_entity_id()) { + mutable_entity_id()->::flyteidl::core::Identifier::MergeFrom(from.entity_id()); + } + if (from.has_outputs()) { + mutable_outputs()->::flyteidl::core::VariableMap::MergeFrom(from.outputs()); + } +} + +void ArtifactProducer::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ArtifactProducer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactProducer::CopyFrom(const ArtifactProducer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ArtifactProducer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactProducer::IsInitialized() const { + return true; +} + +void ArtifactProducer::Swap(ArtifactProducer* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactProducer::InternalSwap(ArtifactProducer* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(entity_id_, other->entity_id_); + swap(outputs_, other->outputs_); +} + +::google::protobuf::Metadata ArtifactProducer::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void RegisterProducerRequest::InitAsDefaultInstance() { +} +class RegisterProducerRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int RegisterProducerRequest::kProducersFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +RegisterProducerRequest::RegisterProducerRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.RegisterProducerRequest) +} +RegisterProducerRequest::RegisterProducerRequest(const RegisterProducerRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + producers_(from.producers_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.RegisterProducerRequest) +} + +void RegisterProducerRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_RegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); +} + +RegisterProducerRequest::~RegisterProducerRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.RegisterProducerRequest) + SharedDtor(); +} + +void RegisterProducerRequest::SharedDtor() { +} + +void RegisterProducerRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const RegisterProducerRequest& RegisterProducerRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_RegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void RegisterProducerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.RegisterProducerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + producers_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* RegisterProducerRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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.artifact.ArtifactProducer producers = 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::artifact::ArtifactProducer::_InternalParse; + object = msg->add_producers(); + 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 RegisterProducerRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.RegisterProducerRequest) + for (;;) { + ::std::pair<::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.artifact.ArtifactProducer producers = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_producers())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.RegisterProducerRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.RegisterProducerRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void RegisterProducerRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.RegisterProducerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.ArtifactProducer producers = 1; + for (unsigned int i = 0, + n = static_cast(this->producers_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->producers(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.artifact.RegisterProducerRequest) +} + +::google::protobuf::uint8* RegisterProducerRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.RegisterProducerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.ArtifactProducer producers = 1; + for (unsigned int i = 0, + n = static_cast(this->producers_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->producers(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.artifact.RegisterProducerRequest) + return target; +} + +size_t RegisterProducerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.RegisterProducerRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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.artifact.ArtifactProducer producers = 1; + { + unsigned int count = static_cast(this->producers_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->producers(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void RegisterProducerRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.RegisterProducerRequest) + GOOGLE_DCHECK_NE(&from, this); + const RegisterProducerRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.RegisterProducerRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.RegisterProducerRequest) + MergeFrom(*source); + } +} + +void RegisterProducerRequest::MergeFrom(const RegisterProducerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.RegisterProducerRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + producers_.MergeFrom(from.producers_); +} + +void RegisterProducerRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.RegisterProducerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void RegisterProducerRequest::CopyFrom(const RegisterProducerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.RegisterProducerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RegisterProducerRequest::IsInitialized() const { + return true; +} + +void RegisterProducerRequest::Swap(RegisterProducerRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void RegisterProducerRequest::InternalSwap(RegisterProducerRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&producers_)->InternalSwap(CastToBase(&other->producers_)); +} + +::google::protobuf::Metadata RegisterProducerRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ArtifactConsumer::InitAsDefaultInstance() { + ::flyteidl::artifact::_ArtifactConsumer_default_instance_._instance.get_mutable()->entity_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); + ::flyteidl::artifact::_ArtifactConsumer_default_instance_._instance.get_mutable()->inputs_ = const_cast< ::flyteidl::core::ParameterMap*>( + ::flyteidl::core::ParameterMap::internal_default_instance()); +} +class ArtifactConsumer::HasBitSetters { + public: + static const ::flyteidl::core::Identifier& entity_id(const ArtifactConsumer* msg); + static const ::flyteidl::core::ParameterMap& inputs(const ArtifactConsumer* msg); +}; + +const ::flyteidl::core::Identifier& +ArtifactConsumer::HasBitSetters::entity_id(const ArtifactConsumer* msg) { + return *msg->entity_id_; +} +const ::flyteidl::core::ParameterMap& +ArtifactConsumer::HasBitSetters::inputs(const ArtifactConsumer* msg) { + return *msg->inputs_; +} +void ArtifactConsumer::clear_entity_id() { + if (GetArenaNoVirtual() == nullptr && entity_id_ != nullptr) { + delete entity_id_; + } + entity_id_ = nullptr; +} +void ArtifactConsumer::clear_inputs() { + if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { + delete inputs_; + } + inputs_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactConsumer::kEntityIdFieldNumber; +const int ArtifactConsumer::kInputsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ArtifactConsumer::ArtifactConsumer() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ArtifactConsumer) +} +ArtifactConsumer::ArtifactConsumer(const ArtifactConsumer& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_entity_id()) { + entity_id_ = new ::flyteidl::core::Identifier(*from.entity_id_); + } else { + entity_id_ = nullptr; + } + if (from.has_inputs()) { + inputs_ = new ::flyteidl::core::ParameterMap(*from.inputs_); + } else { + inputs_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ArtifactConsumer) +} + +void ArtifactConsumer::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::memset(&entity_id_, 0, static_cast( + reinterpret_cast(&inputs_) - + reinterpret_cast(&entity_id_)) + sizeof(inputs_)); +} + +ArtifactConsumer::~ArtifactConsumer() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ArtifactConsumer) + SharedDtor(); +} + +void ArtifactConsumer::SharedDtor() { + if (this != internal_default_instance()) delete entity_id_; + if (this != internal_default_instance()) delete inputs_; +} + +void ArtifactConsumer::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ArtifactConsumer& ArtifactConsumer::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ArtifactConsumer::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ArtifactConsumer) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && entity_id_ != nullptr) { + delete entity_id_; + } + entity_id_ = nullptr; + if (GetArenaNoVirtual() == nullptr && inputs_ != nullptr) { + delete inputs_; + } + inputs_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ArtifactConsumer::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 entity_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_entity_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.ParameterMap 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_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; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_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 ArtifactConsumer::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ArtifactConsumer) + for (;;) { + ::std::pair<::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 entity_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_entity_id())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.ParameterMap inputs = 2; + 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; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.ArtifactConsumer) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ArtifactConsumer) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ArtifactConsumer::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ArtifactConsumer) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier entity_id = 1; + if (this->has_entity_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::entity_id(this), output); + } + + // .flyteidl.core.ParameterMap inputs = 2; + if (this->has_inputs()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::inputs(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.ArtifactConsumer) +} + +::google::protobuf::uint8* ArtifactConsumer::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ArtifactConsumer) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier entity_id = 1; + if (this->has_entity_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::entity_id(this), target); + } + + // .flyteidl.core.ParameterMap inputs = 2; + if (this->has_inputs()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::inputs(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.artifact.ArtifactConsumer) + return target; +} + +size_t ArtifactConsumer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ArtifactConsumer) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 entity_id = 1; + if (this->has_entity_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *entity_id_); + } + + // .flyteidl.core.ParameterMap inputs = 2; + 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 ArtifactConsumer::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ArtifactConsumer) + GOOGLE_DCHECK_NE(&from, this); + const ArtifactConsumer* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ArtifactConsumer) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ArtifactConsumer) + MergeFrom(*source); + } +} + +void ArtifactConsumer::MergeFrom(const ArtifactConsumer& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ArtifactConsumer) + 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_entity_id()) { + mutable_entity_id()->::flyteidl::core::Identifier::MergeFrom(from.entity_id()); + } + if (from.has_inputs()) { + mutable_inputs()->::flyteidl::core::ParameterMap::MergeFrom(from.inputs()); + } +} + +void ArtifactConsumer::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ArtifactConsumer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ArtifactConsumer::CopyFrom(const ArtifactConsumer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ArtifactConsumer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArtifactConsumer::IsInitialized() const { + return true; +} + +void ArtifactConsumer::Swap(ArtifactConsumer* other) { + if (other == this) return; + InternalSwap(other); +} +void ArtifactConsumer::InternalSwap(ArtifactConsumer* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(entity_id_, other->entity_id_); + swap(inputs_, other->inputs_); +} + +::google::protobuf::Metadata ArtifactConsumer::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void RegisterConsumerRequest::InitAsDefaultInstance() { +} +class RegisterConsumerRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int RegisterConsumerRequest::kConsumersFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +RegisterConsumerRequest::RegisterConsumerRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.RegisterConsumerRequest) +} +RegisterConsumerRequest::RegisterConsumerRequest(const RegisterConsumerRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + consumers_(from.consumers_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.RegisterConsumerRequest) +} + +void RegisterConsumerRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_RegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); +} + +RegisterConsumerRequest::~RegisterConsumerRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.RegisterConsumerRequest) + SharedDtor(); +} + +void RegisterConsumerRequest::SharedDtor() { +} + +void RegisterConsumerRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const RegisterConsumerRequest& RegisterConsumerRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_RegisterConsumerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void RegisterConsumerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.RegisterConsumerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + consumers_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* RegisterConsumerRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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.artifact.ArtifactConsumer consumers = 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::artifact::ArtifactConsumer::_InternalParse; + object = msg->add_consumers(); + 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 RegisterConsumerRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.RegisterConsumerRequest) + for (;;) { + ::std::pair<::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.artifact.ArtifactConsumer consumers = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_consumers())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.RegisterConsumerRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.RegisterConsumerRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void RegisterConsumerRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.RegisterConsumerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + for (unsigned int i = 0, + n = static_cast(this->consumers_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, + this->consumers(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.artifact.RegisterConsumerRequest) +} + +::google::protobuf::uint8* RegisterConsumerRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.RegisterConsumerRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + for (unsigned int i = 0, + n = static_cast(this->consumers_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, this->consumers(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.artifact.RegisterConsumerRequest) + return target; +} + +size_t RegisterConsumerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.RegisterConsumerRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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.artifact.ArtifactConsumer consumers = 1; + { + unsigned int count = static_cast(this->consumers_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->consumers(static_cast(i))); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void RegisterConsumerRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.RegisterConsumerRequest) + GOOGLE_DCHECK_NE(&from, this); + const RegisterConsumerRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.RegisterConsumerRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.RegisterConsumerRequest) + MergeFrom(*source); + } +} + +void RegisterConsumerRequest::MergeFrom(const RegisterConsumerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.RegisterConsumerRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + consumers_.MergeFrom(from.consumers_); +} + +void RegisterConsumerRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.RegisterConsumerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void RegisterConsumerRequest::CopyFrom(const RegisterConsumerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.RegisterConsumerRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RegisterConsumerRequest::IsInitialized() const { + return true; +} + +void RegisterConsumerRequest::Swap(RegisterConsumerRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void RegisterConsumerRequest::InternalSwap(RegisterConsumerRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&consumers_)->InternalSwap(CastToBase(&other->consumers_)); +} + +::google::protobuf::Metadata RegisterConsumerRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void RegisterResponse::InitAsDefaultInstance() { +} +class RegisterResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +RegisterResponse::RegisterResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.RegisterResponse) +} +RegisterResponse::RegisterResponse(const RegisterResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.RegisterResponse) +} + +void RegisterResponse::SharedCtor() { +} + +RegisterResponse::~RegisterResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.RegisterResponse) + SharedDtor(); +} + +void RegisterResponse::SharedDtor() { +} + +void RegisterResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const RegisterResponse& RegisterResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_RegisterResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void RegisterResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.RegisterResponse) + ::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* RegisterResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 RegisterResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.RegisterResponse) + 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.artifact.RegisterResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.RegisterResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void RegisterResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.RegisterResponse) + ::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.artifact.RegisterResponse) +} + +::google::protobuf::uint8* RegisterResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.RegisterResponse) + ::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.artifact.RegisterResponse) + return target; +} + +size_t RegisterResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.RegisterResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 RegisterResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.RegisterResponse) + GOOGLE_DCHECK_NE(&from, this); + const RegisterResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.RegisterResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.RegisterResponse) + MergeFrom(*source); + } +} + +void RegisterResponse::MergeFrom(const RegisterResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.RegisterResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void RegisterResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.RegisterResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void RegisterResponse::CopyFrom(const RegisterResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.RegisterResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RegisterResponse::IsInitialized() const { + return true; +} + +void RegisterResponse::Swap(RegisterResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void RegisterResponse::InternalSwap(RegisterResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata RegisterResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ExecutionInputsRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_ExecutionInputsRequest_default_instance_._instance.get_mutable()->execution_id_ = const_cast< ::flyteidl::core::WorkflowExecutionIdentifier*>( + ::flyteidl::core::WorkflowExecutionIdentifier::internal_default_instance()); +} +class ExecutionInputsRequest::HasBitSetters { + public: + static const ::flyteidl::core::WorkflowExecutionIdentifier& execution_id(const ExecutionInputsRequest* msg); +}; + +const ::flyteidl::core::WorkflowExecutionIdentifier& +ExecutionInputsRequest::HasBitSetters::execution_id(const ExecutionInputsRequest* msg) { + return *msg->execution_id_; +} +void ExecutionInputsRequest::clear_execution_id() { + if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { + delete execution_id_; + } + execution_id_ = nullptr; +} +void ExecutionInputsRequest::clear_inputs() { + inputs_.Clear(); +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ExecutionInputsRequest::kExecutionIdFieldNumber; +const int ExecutionInputsRequest::kInputsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ExecutionInputsRequest::ExecutionInputsRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ExecutionInputsRequest) +} +ExecutionInputsRequest::ExecutionInputsRequest(const ExecutionInputsRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + inputs_(from.inputs_) { + _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.artifact.ExecutionInputsRequest) +} + +void ExecutionInputsRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ExecutionInputsRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + execution_id_ = nullptr; +} + +ExecutionInputsRequest::~ExecutionInputsRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ExecutionInputsRequest) + SharedDtor(); +} + +void ExecutionInputsRequest::SharedDtor() { + if (this != internal_default_instance()) delete execution_id_; +} + +void ExecutionInputsRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ExecutionInputsRequest& ExecutionInputsRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionInputsRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ExecutionInputsRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ExecutionInputsRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + inputs_.Clear(); + if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { + delete execution_id_; + } + execution_id_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ExecutionInputsRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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; + } + // repeated .flyteidl.core.ArtifactID inputs = 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::ArtifactID::_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) == 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 ExecutionInputsRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ExecutionInputsRequest) + for (;;) { + ::std::pair<::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; + } + + // repeated .flyteidl.core.ArtifactID inputs = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_inputs())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.artifact.ExecutionInputsRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ExecutionInputsRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ExecutionInputsRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ExecutionInputsRequest) + ::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); + } + + // repeated .flyteidl.core.ArtifactID inputs = 2; + for (unsigned int i = 0, + n = static_cast(this->inputs_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, + this->inputs(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.artifact.ExecutionInputsRequest) +} + +::google::protobuf::uint8* ExecutionInputsRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ExecutionInputsRequest) + ::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); + } + + // repeated .flyteidl.core.ArtifactID inputs = 2; + for (unsigned int i = 0, + n = static_cast(this->inputs_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, this->inputs(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.artifact.ExecutionInputsRequest) + return target; +} + +size_t ExecutionInputsRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ExecutionInputsRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 inputs = 2; + { + 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))); + } + } + + // .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 ExecutionInputsRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ExecutionInputsRequest) + GOOGLE_DCHECK_NE(&from, this); + const ExecutionInputsRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ExecutionInputsRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ExecutionInputsRequest) + MergeFrom(*source); + } +} + +void ExecutionInputsRequest::MergeFrom(const ExecutionInputsRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ExecutionInputsRequest) + 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_); + if (from.has_execution_id()) { + mutable_execution_id()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.execution_id()); + } +} + +void ExecutionInputsRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ExecutionInputsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ExecutionInputsRequest::CopyFrom(const ExecutionInputsRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ExecutionInputsRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ExecutionInputsRequest::IsInitialized() const { + return true; +} + +void ExecutionInputsRequest::Swap(ExecutionInputsRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void ExecutionInputsRequest::InternalSwap(ExecutionInputsRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&inputs_)->InternalSwap(CastToBase(&other->inputs_)); + swap(execution_id_, other->execution_id_); +} + +::google::protobuf::Metadata ExecutionInputsRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ExecutionInputsResponse::InitAsDefaultInstance() { +} +class ExecutionInputsResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ExecutionInputsResponse::ExecutionInputsResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.artifact.ExecutionInputsResponse) +} +ExecutionInputsResponse::ExecutionInputsResponse(const ExecutionInputsResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.ExecutionInputsResponse) +} + +void ExecutionInputsResponse::SharedCtor() { +} + +ExecutionInputsResponse::~ExecutionInputsResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.ExecutionInputsResponse) + SharedDtor(); +} + +void ExecutionInputsResponse::SharedDtor() { +} + +void ExecutionInputsResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ExecutionInputsResponse& ExecutionInputsResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionInputsResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + return *internal_default_instance(); +} + + +void ExecutionInputsResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.ExecutionInputsResponse) + ::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* ExecutionInputsResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 ExecutionInputsResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.artifact.ExecutionInputsResponse) + 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.artifact.ExecutionInputsResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.ExecutionInputsResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ExecutionInputsResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.ExecutionInputsResponse) + ::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.artifact.ExecutionInputsResponse) +} + +::google::protobuf::uint8* ExecutionInputsResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.ExecutionInputsResponse) + ::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.artifact.ExecutionInputsResponse) + return target; +} + +size_t ExecutionInputsResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.ExecutionInputsResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 ExecutionInputsResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.ExecutionInputsResponse) + GOOGLE_DCHECK_NE(&from, this); + const ExecutionInputsResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.ExecutionInputsResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.ExecutionInputsResponse) + MergeFrom(*source); + } +} + +void ExecutionInputsResponse::MergeFrom(const ExecutionInputsResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.ExecutionInputsResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void ExecutionInputsResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.ExecutionInputsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ExecutionInputsResponse::CopyFrom(const ExecutionInputsResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.ExecutionInputsResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ExecutionInputsResponse::IsInitialized() const { + return true; +} + +void ExecutionInputsResponse::Swap(ExecutionInputsResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void ExecutionInputsResponse::InternalSwap(ExecutionInputsResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata ExecutionInputsResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); + return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace artifact +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::Artifact* Arena::CreateMaybeMessage< ::flyteidl::artifact::Artifact >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::Artifact >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateArtifactRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateArtifactRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::CreateArtifactRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ArtifactSource* Arena::CreateMaybeMessage< ::flyteidl::artifact::ArtifactSource >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ArtifactSource >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ArtifactSpec* Arena::CreateMaybeMessage< ::flyteidl::artifact::ArtifactSpec >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ArtifactSpec >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateArtifactResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateArtifactResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::CreateArtifactResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::GetArtifactRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::GetArtifactRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::GetArtifactRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::GetArtifactResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::GetArtifactResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::GetArtifactResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::SearchOptions* Arena::CreateMaybeMessage< ::flyteidl::artifact::SearchOptions >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::SearchOptions >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::SearchArtifactsRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::SearchArtifactsRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::SearchArtifactsRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::SearchArtifactsResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::SearchArtifactsResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::SearchArtifactsResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::FindByWorkflowExecRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::FindByWorkflowExecRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::FindByWorkflowExecRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::AddTagRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::AddTagRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::AddTagRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::AddTagResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::AddTagResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::AddTagResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateTriggerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateTriggerRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::CreateTriggerRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateTriggerResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateTriggerResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::CreateTriggerResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeleteTriggerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeleteTriggerRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::DeleteTriggerRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeleteTriggerResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeleteTriggerResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::DeleteTriggerResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ArtifactProducer* Arena::CreateMaybeMessage< ::flyteidl::artifact::ArtifactProducer >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ArtifactProducer >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::RegisterProducerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::RegisterProducerRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::RegisterProducerRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ArtifactConsumer* Arena::CreateMaybeMessage< ::flyteidl::artifact::ArtifactConsumer >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ArtifactConsumer >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::RegisterConsumerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::RegisterConsumerRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::RegisterConsumerRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::RegisterResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::RegisterResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::RegisterResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ExecutionInputsRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::ExecutionInputsRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ExecutionInputsRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ExecutionInputsResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::ExecutionInputsResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::ExecutionInputsResponse >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h new file mode 100644 index 0000000000..bbdb47cfa8 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h @@ -0,0 +1,5605 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/artifact/artifacts.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fartifact_2fartifacts_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fartifact_2fartifacts_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 "google/api/annotations.pb.h" +#include "flyteidl/admin/launch_plan.pb.h" +#include "flyteidl/core/literals.pb.h" +#include "flyteidl/core/types.pb.h" +#include "flyteidl/core/identifier.pb.h" +#include "flyteidl/core/artifact_id.pb.h" +#include "flyteidl/core/interface.pb.h" +#include "flyteidl/event/cloudevents.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fartifact_2fartifacts_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fartifact_2fartifacts_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[25] + 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_2fartifact_2fartifacts_2eproto(); +namespace flyteidl { +namespace artifact { +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 ArtifactConsumer; +class ArtifactConsumerDefaultTypeInternal; +extern ArtifactConsumerDefaultTypeInternal _ArtifactConsumer_default_instance_; +class ArtifactProducer; +class ArtifactProducerDefaultTypeInternal; +extern ArtifactProducerDefaultTypeInternal _ArtifactProducer_default_instance_; +class ArtifactSource; +class ArtifactSourceDefaultTypeInternal; +extern ArtifactSourceDefaultTypeInternal _ArtifactSource_default_instance_; +class ArtifactSpec; +class ArtifactSpecDefaultTypeInternal; +extern ArtifactSpecDefaultTypeInternal _ArtifactSpec_default_instance_; +class CreateArtifactRequest; +class CreateArtifactRequestDefaultTypeInternal; +extern CreateArtifactRequestDefaultTypeInternal _CreateArtifactRequest_default_instance_; +class CreateArtifactRequest_PartitionsEntry_DoNotUse; +class CreateArtifactRequest_PartitionsEntry_DoNotUseDefaultTypeInternal; +extern CreateArtifactRequest_PartitionsEntry_DoNotUseDefaultTypeInternal _CreateArtifactRequest_PartitionsEntry_DoNotUse_default_instance_; +class CreateArtifactResponse; +class CreateArtifactResponseDefaultTypeInternal; +extern CreateArtifactResponseDefaultTypeInternal _CreateArtifactResponse_default_instance_; +class CreateTriggerRequest; +class CreateTriggerRequestDefaultTypeInternal; +extern CreateTriggerRequestDefaultTypeInternal _CreateTriggerRequest_default_instance_; +class CreateTriggerResponse; +class CreateTriggerResponseDefaultTypeInternal; +extern CreateTriggerResponseDefaultTypeInternal _CreateTriggerResponse_default_instance_; +class DeleteTriggerRequest; +class DeleteTriggerRequestDefaultTypeInternal; +extern DeleteTriggerRequestDefaultTypeInternal _DeleteTriggerRequest_default_instance_; +class DeleteTriggerResponse; +class DeleteTriggerResponseDefaultTypeInternal; +extern DeleteTriggerResponseDefaultTypeInternal _DeleteTriggerResponse_default_instance_; +class ExecutionInputsRequest; +class ExecutionInputsRequestDefaultTypeInternal; +extern ExecutionInputsRequestDefaultTypeInternal _ExecutionInputsRequest_default_instance_; +class ExecutionInputsResponse; +class ExecutionInputsResponseDefaultTypeInternal; +extern ExecutionInputsResponseDefaultTypeInternal _ExecutionInputsResponse_default_instance_; +class FindByWorkflowExecRequest; +class FindByWorkflowExecRequestDefaultTypeInternal; +extern FindByWorkflowExecRequestDefaultTypeInternal _FindByWorkflowExecRequest_default_instance_; +class GetArtifactRequest; +class GetArtifactRequestDefaultTypeInternal; +extern GetArtifactRequestDefaultTypeInternal _GetArtifactRequest_default_instance_; +class GetArtifactResponse; +class GetArtifactResponseDefaultTypeInternal; +extern GetArtifactResponseDefaultTypeInternal _GetArtifactResponse_default_instance_; +class RegisterConsumerRequest; +class RegisterConsumerRequestDefaultTypeInternal; +extern RegisterConsumerRequestDefaultTypeInternal _RegisterConsumerRequest_default_instance_; +class RegisterProducerRequest; +class RegisterProducerRequestDefaultTypeInternal; +extern RegisterProducerRequestDefaultTypeInternal _RegisterProducerRequest_default_instance_; +class RegisterResponse; +class RegisterResponseDefaultTypeInternal; +extern RegisterResponseDefaultTypeInternal _RegisterResponse_default_instance_; +class SearchArtifactsRequest; +class SearchArtifactsRequestDefaultTypeInternal; +extern SearchArtifactsRequestDefaultTypeInternal _SearchArtifactsRequest_default_instance_; +class SearchArtifactsResponse; +class SearchArtifactsResponseDefaultTypeInternal; +extern SearchArtifactsResponseDefaultTypeInternal _SearchArtifactsResponse_default_instance_; +class SearchOptions; +class SearchOptionsDefaultTypeInternal; +extern SearchOptionsDefaultTypeInternal _SearchOptions_default_instance_; +} // namespace artifact +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::artifact::AddTagRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::AddTagRequest>(Arena*); +template<> ::flyteidl::artifact::AddTagResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::AddTagResponse>(Arena*); +template<> ::flyteidl::artifact::Artifact* Arena::CreateMaybeMessage<::flyteidl::artifact::Artifact>(Arena*); +template<> ::flyteidl::artifact::ArtifactConsumer* Arena::CreateMaybeMessage<::flyteidl::artifact::ArtifactConsumer>(Arena*); +template<> ::flyteidl::artifact::ArtifactProducer* Arena::CreateMaybeMessage<::flyteidl::artifact::ArtifactProducer>(Arena*); +template<> ::flyteidl::artifact::ArtifactSource* Arena::CreateMaybeMessage<::flyteidl::artifact::ArtifactSource>(Arena*); +template<> ::flyteidl::artifact::ArtifactSpec* Arena::CreateMaybeMessage<::flyteidl::artifact::ArtifactSpec>(Arena*); +template<> ::flyteidl::artifact::CreateArtifactRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateArtifactRequest>(Arena*); +template<> ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse>(Arena*); +template<> ::flyteidl::artifact::CreateArtifactResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateArtifactResponse>(Arena*); +template<> ::flyteidl::artifact::CreateTriggerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateTriggerRequest>(Arena*); +template<> ::flyteidl::artifact::CreateTriggerResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateTriggerResponse>(Arena*); +template<> ::flyteidl::artifact::DeleteTriggerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::DeleteTriggerRequest>(Arena*); +template<> ::flyteidl::artifact::DeleteTriggerResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::DeleteTriggerResponse>(Arena*); +template<> ::flyteidl::artifact::ExecutionInputsRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::ExecutionInputsRequest>(Arena*); +template<> ::flyteidl::artifact::ExecutionInputsResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::ExecutionInputsResponse>(Arena*); +template<> ::flyteidl::artifact::FindByWorkflowExecRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::FindByWorkflowExecRequest>(Arena*); +template<> ::flyteidl::artifact::GetArtifactRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::GetArtifactRequest>(Arena*); +template<> ::flyteidl::artifact::GetArtifactResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::GetArtifactResponse>(Arena*); +template<> ::flyteidl::artifact::RegisterConsumerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::RegisterConsumerRequest>(Arena*); +template<> ::flyteidl::artifact::RegisterProducerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::RegisterProducerRequest>(Arena*); +template<> ::flyteidl::artifact::RegisterResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::RegisterResponse>(Arena*); +template<> ::flyteidl::artifact::SearchArtifactsRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::SearchArtifactsRequest>(Arena*); +template<> ::flyteidl::artifact::SearchArtifactsResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::SearchArtifactsResponse>(Arena*); +template<> ::flyteidl::artifact::SearchOptions* Arena::CreateMaybeMessage<::flyteidl::artifact::SearchOptions>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace artifact { + +enum FindByWorkflowExecRequest_Direction { + FindByWorkflowExecRequest_Direction_INPUTS = 0, + FindByWorkflowExecRequest_Direction_OUTPUTS = 1, + FindByWorkflowExecRequest_Direction_FindByWorkflowExecRequest_Direction_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), + FindByWorkflowExecRequest_Direction_FindByWorkflowExecRequest_Direction_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() +}; +bool FindByWorkflowExecRequest_Direction_IsValid(int value); +const FindByWorkflowExecRequest_Direction FindByWorkflowExecRequest_Direction_Direction_MIN = FindByWorkflowExecRequest_Direction_INPUTS; +const FindByWorkflowExecRequest_Direction FindByWorkflowExecRequest_Direction_Direction_MAX = FindByWorkflowExecRequest_Direction_OUTPUTS; +const int FindByWorkflowExecRequest_Direction_Direction_ARRAYSIZE = FindByWorkflowExecRequest_Direction_Direction_MAX + 1; + +const ::google::protobuf::EnumDescriptor* FindByWorkflowExecRequest_Direction_descriptor(); +inline const ::std::string& FindByWorkflowExecRequest_Direction_Name(FindByWorkflowExecRequest_Direction value) { + return ::google::protobuf::internal::NameOfEnum( + FindByWorkflowExecRequest_Direction_descriptor(), value); +} +inline bool FindByWorkflowExecRequest_Direction_Parse( + const ::std::string& name, FindByWorkflowExecRequest_Direction* value) { + return ::google::protobuf::internal::ParseNamedEnum( + FindByWorkflowExecRequest_Direction_descriptor(), name, value); +} +// =================================================================== + +class Artifact final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.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 = + 0; + + 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 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(); + + // .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.artifact.ArtifactSpec spec = 2; + bool has_spec() const; + void clear_spec(); + static const int kSpecFieldNumber = 2; + const ::flyteidl::artifact::ArtifactSpec& spec() const; + ::flyteidl::artifact::ArtifactSpec* release_spec(); + ::flyteidl::artifact::ArtifactSpec* mutable_spec(); + void set_allocated_spec(::flyteidl::artifact::ArtifactSpec* spec); + + // .flyteidl.artifact.ArtifactSource source = 4; + bool has_source() const; + void clear_source(); + static const int kSourceFieldNumber = 4; + const ::flyteidl::artifact::ArtifactSource& source() const; + ::flyteidl::artifact::ArtifactSource* release_source(); + ::flyteidl::artifact::ArtifactSource* mutable_source(); + void set_allocated_source(::flyteidl::artifact::ArtifactSource* source); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.Artifact) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField<::std::string> tags_; + ::flyteidl::core::ArtifactID* artifact_id_; + ::flyteidl::artifact::ArtifactSpec* spec_; + ::flyteidl::artifact::ArtifactSource* source_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class CreateArtifactRequest_PartitionsEntry_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; + CreateArtifactRequest_PartitionsEntry_DoNotUse(); + CreateArtifactRequest_PartitionsEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const CreateArtifactRequest_PartitionsEntry_DoNotUse& other); + static const CreateArtifactRequest_PartitionsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_CreateArtifactRequest_PartitionsEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + +class CreateArtifactRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.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 = + 2; + + 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 ------------------------------------------------------- + + // map partitions = 4; + int partitions_size() const; + void clear_partitions(); + static const int kPartitionsFieldNumber = 4; + const ::google::protobuf::Map< ::std::string, ::std::string >& + partitions() const; + ::google::protobuf::Map< ::std::string, ::std::string >* + mutable_partitions(); + + // string version = 3; + void clear_version(); + static const int kVersionFieldNumber = 3; + 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 tag = 5; + void clear_tag(); + static const int kTagFieldNumber = 5; + 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); + + // .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.artifact.ArtifactSpec spec = 2; + bool has_spec() const; + void clear_spec(); + static const int kSpecFieldNumber = 2; + const ::flyteidl::artifact::ArtifactSpec& spec() const; + ::flyteidl::artifact::ArtifactSpec* release_spec(); + ::flyteidl::artifact::ArtifactSpec* mutable_spec(); + void set_allocated_spec(::flyteidl::artifact::ArtifactSpec* spec); + + // .flyteidl.artifact.ArtifactSource source = 6; + bool has_source() const; + void clear_source(); + static const int kSourceFieldNumber = 6; + const ::flyteidl::artifact::ArtifactSource& source() const; + ::flyteidl::artifact::ArtifactSource* release_source(); + ::flyteidl::artifact::ArtifactSource* mutable_source(); + void set_allocated_source(::flyteidl::artifact::ArtifactSource* source); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateArtifactRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::MapField< + CreateArtifactRequest_PartitionsEntry_DoNotUse, + ::std::string, ::std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + 0 > partitions_; + ::google::protobuf::internal::ArenaStringPtr version_; + ::google::protobuf::internal::ArenaStringPtr tag_; + ::flyteidl::core::ArtifactKey* artifact_key_; + ::flyteidl::artifact::ArtifactSpec* spec_; + ::flyteidl::artifact::ArtifactSource* source_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactSource final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ArtifactSource) */ { + public: + ArtifactSource(); + virtual ~ArtifactSource(); + + ArtifactSource(const ArtifactSource& from); + + inline ArtifactSource& operator=(const ArtifactSource& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactSource(ArtifactSource&& from) noexcept + : ArtifactSource() { + *this = ::std::move(from); + } + + inline ArtifactSource& operator=(ArtifactSource&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactSource& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactSource* internal_default_instance() { + return reinterpret_cast( + &_ArtifactSource_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + void Swap(ArtifactSource* other); + friend void swap(ArtifactSource& a, ArtifactSource& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactSource* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactSource* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactSource& from); + void MergeFrom(const ArtifactSource& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactSource* other); + private: + 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 = 2; + void clear_node_id(); + static const int kNodeIdFieldNumber = 2; + 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 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.core.WorkflowExecutionIdentifier workflow_execution = 1; + bool has_workflow_execution() const; + void clear_workflow_execution(); + static const int kWorkflowExecutionFieldNumber = 1; + const ::flyteidl::core::WorkflowExecutionIdentifier& workflow_execution() const; + ::flyteidl::core::WorkflowExecutionIdentifier* release_workflow_execution(); + ::flyteidl::core::WorkflowExecutionIdentifier* mutable_workflow_execution(); + void set_allocated_workflow_execution(::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution); + + // .flyteidl.core.Identifier task_id = 3; + bool has_task_id() const; + void clear_task_id(); + static const int kTaskIdFieldNumber = 3; + 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); + + // uint32 retry_attempt = 4; + void clear_retry_attempt(); + static const int kRetryAttemptFieldNumber = 4; + ::google::protobuf::uint32 retry_attempt() const; + void set_retry_attempt(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactSource) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr node_id_; + ::google::protobuf::internal::ArenaStringPtr principal_; + ::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution_; + ::flyteidl::core::Identifier* task_id_; + ::google::protobuf::uint32 retry_attempt_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactSpec final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ArtifactSpec) */ { + public: + ArtifactSpec(); + virtual ~ArtifactSpec(); + + ArtifactSpec(const ArtifactSpec& from); + + inline ArtifactSpec& operator=(const ArtifactSpec& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactSpec(ArtifactSpec&& from) noexcept + : ArtifactSpec() { + *this = ::std::move(from); + } + + inline ArtifactSpec& operator=(ArtifactSpec&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactSpec& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactSpec* internal_default_instance() { + return reinterpret_cast( + &_ArtifactSpec_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + void Swap(ArtifactSpec* other); + friend void swap(ArtifactSpec& a, ArtifactSpec& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactSpec* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactSpec* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactSpec& from); + void MergeFrom(const ArtifactSpec& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactSpec* other); + private: + 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); + + // string metadata_type = 5; + void clear_metadata_type(); + static const int kMetadataTypeFieldNumber = 5; + const ::std::string& metadata_type() const; + void set_metadata_type(const ::std::string& value); + #if LANG_CXX11 + void set_metadata_type(::std::string&& value); + #endif + void set_metadata_type(const char* value); + void set_metadata_type(const char* value, size_t size); + ::std::string* mutable_metadata_type(); + ::std::string* release_metadata_type(); + void set_allocated_metadata_type(::std::string* metadata_type); + + // .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); + + // .google.protobuf.Any user_metadata = 4; + bool has_user_metadata() const; + void clear_user_metadata(); + static const int kUserMetadataFieldNumber = 4; + const ::google::protobuf::Any& user_metadata() const; + ::google::protobuf::Any* release_user_metadata(); + ::google::protobuf::Any* mutable_user_metadata(); + void set_allocated_user_metadata(::google::protobuf::Any* user_metadata); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactSpec) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr short_description_; + ::google::protobuf::internal::ArenaStringPtr metadata_type_; + ::flyteidl::core::Literal* value_; + ::flyteidl::core::LiteralType* type_; + ::google::protobuf::Any* user_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class CreateArtifactResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.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 = + 5; + + 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 ------------------------------------------------------- + + // .flyteidl.artifact.Artifact artifact = 1; + bool has_artifact() const; + void clear_artifact(); + static const int kArtifactFieldNumber = 1; + const ::flyteidl::artifact::Artifact& artifact() const; + ::flyteidl::artifact::Artifact* release_artifact(); + ::flyteidl::artifact::Artifact* mutable_artifact(); + void set_allocated_artifact(::flyteidl::artifact::Artifact* artifact); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateArtifactResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::artifact::Artifact* artifact_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class GetArtifactRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.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(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GetArtifactRequest* internal_default_instance() { + return reinterpret_cast( + &_GetArtifactRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + 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 ------------------------------------------------------- + + // .flyteidl.core.ArtifactQuery query = 1; + bool has_query() const; + void clear_query(); + static const int kQueryFieldNumber = 1; + const ::flyteidl::core::ArtifactQuery& query() const; + ::flyteidl::core::ArtifactQuery* release_query(); + ::flyteidl::core::ArtifactQuery* mutable_query(); + void set_allocated_query(::flyteidl::core::ArtifactQuery* query); + + // bool details = 2; + void clear_details(); + static const int kDetailsFieldNumber = 2; + bool details() const; + void set_details(bool value); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.GetArtifactRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::ArtifactQuery* query_; + bool details_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class GetArtifactResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.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 = + 7; + + 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 ------------------------------------------------------- + + // .flyteidl.artifact.Artifact artifact = 1; + bool has_artifact() const; + void clear_artifact(); + static const int kArtifactFieldNumber = 1; + const ::flyteidl::artifact::Artifact& artifact() const; + ::flyteidl::artifact::Artifact* release_artifact(); + ::flyteidl::artifact::Artifact* mutable_artifact(); + void set_allocated_artifact(::flyteidl::artifact::Artifact* artifact); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.GetArtifactResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::artifact::Artifact* artifact_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class SearchOptions final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.SearchOptions) */ { + public: + SearchOptions(); + virtual ~SearchOptions(); + + SearchOptions(const SearchOptions& from); + + inline SearchOptions& operator=(const SearchOptions& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SearchOptions(SearchOptions&& from) noexcept + : SearchOptions() { + *this = ::std::move(from); + } + + inline SearchOptions& operator=(SearchOptions&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const SearchOptions& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SearchOptions* internal_default_instance() { + return reinterpret_cast( + &_SearchOptions_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + void Swap(SearchOptions* other); + friend void swap(SearchOptions& a, SearchOptions& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SearchOptions* New() const final { + return CreateMaybeMessage(nullptr); + } + + SearchOptions* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SearchOptions& from); + void MergeFrom(const SearchOptions& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SearchOptions* other); + private: + 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 strict_partitions = 1; + void clear_strict_partitions(); + static const int kStrictPartitionsFieldNumber = 1; + bool strict_partitions() const; + void set_strict_partitions(bool value); + + // bool latest_by_key = 2; + void clear_latest_by_key(); + static const int kLatestByKeyFieldNumber = 2; + bool latest_by_key() const; + void set_latest_by_key(bool value); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.SearchOptions) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + bool strict_partitions_; + bool latest_by_key_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class SearchArtifactsRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.SearchArtifactsRequest) */ { + public: + SearchArtifactsRequest(); + virtual ~SearchArtifactsRequest(); + + SearchArtifactsRequest(const SearchArtifactsRequest& from); + + inline SearchArtifactsRequest& operator=(const SearchArtifactsRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SearchArtifactsRequest(SearchArtifactsRequest&& from) noexcept + : SearchArtifactsRequest() { + *this = ::std::move(from); + } + + inline SearchArtifactsRequest& operator=(SearchArtifactsRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const SearchArtifactsRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SearchArtifactsRequest* internal_default_instance() { + return reinterpret_cast( + &_SearchArtifactsRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + void Swap(SearchArtifactsRequest* other); + friend void swap(SearchArtifactsRequest& a, SearchArtifactsRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SearchArtifactsRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + SearchArtifactsRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SearchArtifactsRequest& from); + void MergeFrom(const SearchArtifactsRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SearchArtifactsRequest* other); + private: + 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); + + // 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 token = 6; + void clear_token(); + static const int kTokenFieldNumber = 6; + 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); + + // .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 = 2; + bool has_partitions() const; + void clear_partitions(); + static const int kPartitionsFieldNumber = 2; + 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.artifact.SearchOptions options = 5; + bool has_options() const; + void clear_options(); + static const int kOptionsFieldNumber = 5; + const ::flyteidl::artifact::SearchOptions& options() const; + ::flyteidl::artifact::SearchOptions* release_options(); + ::flyteidl::artifact::SearchOptions* mutable_options(); + void set_allocated_options(::flyteidl::artifact::SearchOptions* options); + + // int32 limit = 7; + void clear_limit(); + static const int kLimitFieldNumber = 7; + ::google::protobuf::int32 limit() const; + void set_limit(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.SearchArtifactsRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr principal_; + ::google::protobuf::internal::ArenaStringPtr version_; + ::google::protobuf::internal::ArenaStringPtr token_; + ::flyteidl::core::ArtifactKey* artifact_key_; + ::flyteidl::core::Partitions* partitions_; + ::flyteidl::artifact::SearchOptions* options_; + ::google::protobuf::int32 limit_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class SearchArtifactsResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.SearchArtifactsResponse) */ { + public: + SearchArtifactsResponse(); + virtual ~SearchArtifactsResponse(); + + SearchArtifactsResponse(const SearchArtifactsResponse& from); + + inline SearchArtifactsResponse& operator=(const SearchArtifactsResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SearchArtifactsResponse(SearchArtifactsResponse&& from) noexcept + : SearchArtifactsResponse() { + *this = ::std::move(from); + } + + inline SearchArtifactsResponse& operator=(SearchArtifactsResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const SearchArtifactsResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SearchArtifactsResponse* internal_default_instance() { + return reinterpret_cast( + &_SearchArtifactsResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + void Swap(SearchArtifactsResponse* other); + friend void swap(SearchArtifactsResponse& a, SearchArtifactsResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SearchArtifactsResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + SearchArtifactsResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SearchArtifactsResponse& from); + void MergeFrom(const SearchArtifactsResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SearchArtifactsResponse* other); + private: + 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.artifact.Artifact artifacts = 1; + int artifacts_size() const; + void clear_artifacts(); + static const int kArtifactsFieldNumber = 1; + ::flyteidl::artifact::Artifact* mutable_artifacts(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::Artifact >* + mutable_artifacts(); + const ::flyteidl::artifact::Artifact& artifacts(int index) const; + ::flyteidl::artifact::Artifact* add_artifacts(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::Artifact >& + artifacts() 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.artifact.SearchArtifactsResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::Artifact > artifacts_; + ::google::protobuf::internal::ArenaStringPtr token_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class FindByWorkflowExecRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.FindByWorkflowExecRequest) */ { + public: + FindByWorkflowExecRequest(); + virtual ~FindByWorkflowExecRequest(); + + FindByWorkflowExecRequest(const FindByWorkflowExecRequest& from); + + inline FindByWorkflowExecRequest& operator=(const FindByWorkflowExecRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + FindByWorkflowExecRequest(FindByWorkflowExecRequest&& from) noexcept + : FindByWorkflowExecRequest() { + *this = ::std::move(from); + } + + inline FindByWorkflowExecRequest& operator=(FindByWorkflowExecRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const FindByWorkflowExecRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const FindByWorkflowExecRequest* internal_default_instance() { + return reinterpret_cast( + &_FindByWorkflowExecRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + void Swap(FindByWorkflowExecRequest* other); + friend void swap(FindByWorkflowExecRequest& a, FindByWorkflowExecRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline FindByWorkflowExecRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + FindByWorkflowExecRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const FindByWorkflowExecRequest& from); + void MergeFrom(const FindByWorkflowExecRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(FindByWorkflowExecRequest* other); + 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 FindByWorkflowExecRequest_Direction Direction; + static const Direction INPUTS = + FindByWorkflowExecRequest_Direction_INPUTS; + static const Direction OUTPUTS = + FindByWorkflowExecRequest_Direction_OUTPUTS; + static inline bool Direction_IsValid(int value) { + return FindByWorkflowExecRequest_Direction_IsValid(value); + } + static const Direction Direction_MIN = + FindByWorkflowExecRequest_Direction_Direction_MIN; + static const Direction Direction_MAX = + FindByWorkflowExecRequest_Direction_Direction_MAX; + static const int Direction_ARRAYSIZE = + FindByWorkflowExecRequest_Direction_Direction_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* + Direction_descriptor() { + return FindByWorkflowExecRequest_Direction_descriptor(); + } + static inline const ::std::string& Direction_Name(Direction value) { + return FindByWorkflowExecRequest_Direction_Name(value); + } + static inline bool Direction_Parse(const ::std::string& name, + Direction* value) { + return FindByWorkflowExecRequest_Direction_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + // .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + bool has_exec_id() const; + void clear_exec_id(); + static const int kExecIdFieldNumber = 1; + const ::flyteidl::core::WorkflowExecutionIdentifier& exec_id() const; + ::flyteidl::core::WorkflowExecutionIdentifier* release_exec_id(); + ::flyteidl::core::WorkflowExecutionIdentifier* mutable_exec_id(); + void set_allocated_exec_id(::flyteidl::core::WorkflowExecutionIdentifier* exec_id); + + // .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; + void clear_direction(); + static const int kDirectionFieldNumber = 2; + ::flyteidl::artifact::FindByWorkflowExecRequest_Direction direction() const; + void set_direction(::flyteidl::artifact::FindByWorkflowExecRequest_Direction value); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.FindByWorkflowExecRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::WorkflowExecutionIdentifier* exec_id_; + int direction_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class AddTagRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.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 = + 12; + + 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 ------------------------------------------------------- + + // 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.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); + + // bool overwrite = 3; + void clear_overwrite(); + static const int kOverwriteFieldNumber = 3; + bool overwrite() const; + void set_overwrite(bool value); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.AddTagRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr value_; + ::flyteidl::core::ArtifactID* artifact_id_; + bool overwrite_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class AddTagResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.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 = + 13; + + 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:flyteidl.artifact.AddTagResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class CreateTriggerRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.CreateTriggerRequest) */ { + public: + CreateTriggerRequest(); + virtual ~CreateTriggerRequest(); + + CreateTriggerRequest(const CreateTriggerRequest& from); + + inline CreateTriggerRequest& operator=(const CreateTriggerRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CreateTriggerRequest(CreateTriggerRequest&& from) noexcept + : CreateTriggerRequest() { + *this = ::std::move(from); + } + + inline CreateTriggerRequest& operator=(CreateTriggerRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const CreateTriggerRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CreateTriggerRequest* internal_default_instance() { + return reinterpret_cast( + &_CreateTriggerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + void Swap(CreateTriggerRequest* other); + friend void swap(CreateTriggerRequest& a, CreateTriggerRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CreateTriggerRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + CreateTriggerRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CreateTriggerRequest& from); + void MergeFrom(const CreateTriggerRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CreateTriggerRequest* other); + private: + 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.LaunchPlan trigger_launch_plan = 1; + bool has_trigger_launch_plan() const; + void clear_trigger_launch_plan(); + static const int kTriggerLaunchPlanFieldNumber = 1; + const ::flyteidl::admin::LaunchPlan& trigger_launch_plan() const; + ::flyteidl::admin::LaunchPlan* release_trigger_launch_plan(); + ::flyteidl::admin::LaunchPlan* mutable_trigger_launch_plan(); + void set_allocated_trigger_launch_plan(::flyteidl::admin::LaunchPlan* trigger_launch_plan); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateTriggerRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::admin::LaunchPlan* trigger_launch_plan_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class CreateTriggerResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.CreateTriggerResponse) */ { + public: + CreateTriggerResponse(); + virtual ~CreateTriggerResponse(); + + CreateTriggerResponse(const CreateTriggerResponse& from); + + inline CreateTriggerResponse& operator=(const CreateTriggerResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + CreateTriggerResponse(CreateTriggerResponse&& from) noexcept + : CreateTriggerResponse() { + *this = ::std::move(from); + } + + inline CreateTriggerResponse& operator=(CreateTriggerResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const CreateTriggerResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CreateTriggerResponse* internal_default_instance() { + return reinterpret_cast( + &_CreateTriggerResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + void Swap(CreateTriggerResponse* other); + friend void swap(CreateTriggerResponse& a, CreateTriggerResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline CreateTriggerResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + CreateTriggerResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const CreateTriggerResponse& from); + void MergeFrom(const CreateTriggerResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CreateTriggerResponse* other); + private: + 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.artifact.CreateTriggerResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class DeleteTriggerRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeleteTriggerRequest) */ { + public: + DeleteTriggerRequest(); + virtual ~DeleteTriggerRequest(); + + DeleteTriggerRequest(const DeleteTriggerRequest& from); + + inline DeleteTriggerRequest& operator=(const DeleteTriggerRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DeleteTriggerRequest(DeleteTriggerRequest&& from) noexcept + : DeleteTriggerRequest() { + *this = ::std::move(from); + } + + inline DeleteTriggerRequest& operator=(DeleteTriggerRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DeleteTriggerRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DeleteTriggerRequest* internal_default_instance() { + return reinterpret_cast( + &_DeleteTriggerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + void Swap(DeleteTriggerRequest* other); + friend void swap(DeleteTriggerRequest& a, DeleteTriggerRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DeleteTriggerRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + DeleteTriggerRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DeleteTriggerRequest& from); + void MergeFrom(const DeleteTriggerRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DeleteTriggerRequest* other); + private: + 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 trigger_id = 1; + bool has_trigger_id() const; + void clear_trigger_id(); + static const int kTriggerIdFieldNumber = 1; + const ::flyteidl::core::Identifier& trigger_id() const; + ::flyteidl::core::Identifier* release_trigger_id(); + ::flyteidl::core::Identifier* mutable_trigger_id(); + void set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::Identifier* trigger_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class DeleteTriggerResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeleteTriggerResponse) */ { + public: + DeleteTriggerResponse(); + virtual ~DeleteTriggerResponse(); + + DeleteTriggerResponse(const DeleteTriggerResponse& from); + + inline DeleteTriggerResponse& operator=(const DeleteTriggerResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DeleteTriggerResponse(DeleteTriggerResponse&& from) noexcept + : DeleteTriggerResponse() { + *this = ::std::move(from); + } + + inline DeleteTriggerResponse& operator=(DeleteTriggerResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DeleteTriggerResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DeleteTriggerResponse* internal_default_instance() { + return reinterpret_cast( + &_DeleteTriggerResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + void Swap(DeleteTriggerResponse* other); + friend void swap(DeleteTriggerResponse& a, DeleteTriggerResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DeleteTriggerResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + DeleteTriggerResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DeleteTriggerResponse& from); + void MergeFrom(const DeleteTriggerResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DeleteTriggerResponse* other); + private: + 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.artifact.DeleteTriggerResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactProducer final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ArtifactProducer) */ { + public: + ArtifactProducer(); + virtual ~ArtifactProducer(); + + ArtifactProducer(const ArtifactProducer& from); + + inline ArtifactProducer& operator=(const ArtifactProducer& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactProducer(ArtifactProducer&& from) noexcept + : ArtifactProducer() { + *this = ::std::move(from); + } + + inline ArtifactProducer& operator=(ArtifactProducer&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactProducer& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactProducer* internal_default_instance() { + return reinterpret_cast( + &_ArtifactProducer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + void Swap(ArtifactProducer* other); + friend void swap(ArtifactProducer& a, ArtifactProducer& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactProducer* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactProducer* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactProducer& from); + void MergeFrom(const ArtifactProducer& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactProducer* other); + private: + 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 entity_id = 1; + bool has_entity_id() const; + void clear_entity_id(); + static const int kEntityIdFieldNumber = 1; + const ::flyteidl::core::Identifier& entity_id() const; + ::flyteidl::core::Identifier* release_entity_id(); + ::flyteidl::core::Identifier* mutable_entity_id(); + void set_allocated_entity_id(::flyteidl::core::Identifier* entity_id); + + // .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.artifact.ArtifactProducer) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::Identifier* entity_id_; + ::flyteidl::core::VariableMap* outputs_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class RegisterProducerRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.RegisterProducerRequest) */ { + public: + RegisterProducerRequest(); + virtual ~RegisterProducerRequest(); + + RegisterProducerRequest(const RegisterProducerRequest& from); + + inline RegisterProducerRequest& operator=(const RegisterProducerRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + RegisterProducerRequest(RegisterProducerRequest&& from) noexcept + : RegisterProducerRequest() { + *this = ::std::move(from); + } + + inline RegisterProducerRequest& operator=(RegisterProducerRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const RegisterProducerRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const RegisterProducerRequest* internal_default_instance() { + return reinterpret_cast( + &_RegisterProducerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + void Swap(RegisterProducerRequest* other); + friend void swap(RegisterProducerRequest& a, RegisterProducerRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline RegisterProducerRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + RegisterProducerRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const RegisterProducerRequest& from); + void MergeFrom(const RegisterProducerRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RegisterProducerRequest* other); + private: + 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.artifact.ArtifactProducer producers = 1; + int producers_size() const; + void clear_producers(); + static const int kProducersFieldNumber = 1; + ::flyteidl::artifact::ArtifactProducer* mutable_producers(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactProducer >* + mutable_producers(); + const ::flyteidl::artifact::ArtifactProducer& producers(int index) const; + ::flyteidl::artifact::ArtifactProducer* add_producers(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactProducer >& + producers() const; + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterProducerRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactProducer > producers_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ArtifactConsumer final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ArtifactConsumer) */ { + public: + ArtifactConsumer(); + virtual ~ArtifactConsumer(); + + ArtifactConsumer(const ArtifactConsumer& from); + + inline ArtifactConsumer& operator=(const ArtifactConsumer& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ArtifactConsumer(ArtifactConsumer&& from) noexcept + : ArtifactConsumer() { + *this = ::std::move(from); + } + + inline ArtifactConsumer& operator=(ArtifactConsumer&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ArtifactConsumer& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactConsumer* internal_default_instance() { + return reinterpret_cast( + &_ArtifactConsumer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + void Swap(ArtifactConsumer* other); + friend void swap(ArtifactConsumer& a, ArtifactConsumer& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ArtifactConsumer* New() const final { + return CreateMaybeMessage(nullptr); + } + + ArtifactConsumer* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ArtifactConsumer& from); + void MergeFrom(const ArtifactConsumer& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArtifactConsumer* other); + private: + 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 entity_id = 1; + bool has_entity_id() const; + void clear_entity_id(); + static const int kEntityIdFieldNumber = 1; + const ::flyteidl::core::Identifier& entity_id() const; + ::flyteidl::core::Identifier* release_entity_id(); + ::flyteidl::core::Identifier* mutable_entity_id(); + void set_allocated_entity_id(::flyteidl::core::Identifier* entity_id); + + // .flyteidl.core.ParameterMap inputs = 2; + bool has_inputs() const; + void clear_inputs(); + static const int kInputsFieldNumber = 2; + const ::flyteidl::core::ParameterMap& inputs() const; + ::flyteidl::core::ParameterMap* release_inputs(); + ::flyteidl::core::ParameterMap* mutable_inputs(); + void set_allocated_inputs(::flyteidl::core::ParameterMap* inputs); + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactConsumer) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::core::Identifier* entity_id_; + ::flyteidl::core::ParameterMap* inputs_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class RegisterConsumerRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.RegisterConsumerRequest) */ { + public: + RegisterConsumerRequest(); + virtual ~RegisterConsumerRequest(); + + RegisterConsumerRequest(const RegisterConsumerRequest& from); + + inline RegisterConsumerRequest& operator=(const RegisterConsumerRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + RegisterConsumerRequest(RegisterConsumerRequest&& from) noexcept + : RegisterConsumerRequest() { + *this = ::std::move(from); + } + + inline RegisterConsumerRequest& operator=(RegisterConsumerRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const RegisterConsumerRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const RegisterConsumerRequest* internal_default_instance() { + return reinterpret_cast( + &_RegisterConsumerRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + void Swap(RegisterConsumerRequest* other); + friend void swap(RegisterConsumerRequest& a, RegisterConsumerRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline RegisterConsumerRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + RegisterConsumerRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const RegisterConsumerRequest& from); + void MergeFrom(const RegisterConsumerRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RegisterConsumerRequest* other); + private: + 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.artifact.ArtifactConsumer consumers = 1; + int consumers_size() const; + void clear_consumers(); + static const int kConsumersFieldNumber = 1; + ::flyteidl::artifact::ArtifactConsumer* mutable_consumers(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactConsumer >* + mutable_consumers(); + const ::flyteidl::artifact::ArtifactConsumer& consumers(int index) const; + ::flyteidl::artifact::ArtifactConsumer* add_consumers(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactConsumer >& + consumers() const; + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterConsumerRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactConsumer > consumers_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class RegisterResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.RegisterResponse) */ { + public: + RegisterResponse(); + virtual ~RegisterResponse(); + + RegisterResponse(const RegisterResponse& from); + + inline RegisterResponse& operator=(const RegisterResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + RegisterResponse(RegisterResponse&& from) noexcept + : RegisterResponse() { + *this = ::std::move(from); + } + + inline RegisterResponse& operator=(RegisterResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const RegisterResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const RegisterResponse* internal_default_instance() { + return reinterpret_cast( + &_RegisterResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + void Swap(RegisterResponse* other); + friend void swap(RegisterResponse& a, RegisterResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline RegisterResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + RegisterResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const RegisterResponse& from); + void MergeFrom(const RegisterResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RegisterResponse* other); + private: + 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.artifact.RegisterResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ExecutionInputsRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ExecutionInputsRequest) */ { + public: + ExecutionInputsRequest(); + virtual ~ExecutionInputsRequest(); + + ExecutionInputsRequest(const ExecutionInputsRequest& from); + + inline ExecutionInputsRequest& operator=(const ExecutionInputsRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ExecutionInputsRequest(ExecutionInputsRequest&& from) noexcept + : ExecutionInputsRequest() { + *this = ::std::move(from); + } + + inline ExecutionInputsRequest& operator=(ExecutionInputsRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ExecutionInputsRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ExecutionInputsRequest* internal_default_instance() { + return reinterpret_cast( + &_ExecutionInputsRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + void Swap(ExecutionInputsRequest* other); + friend void swap(ExecutionInputsRequest& a, ExecutionInputsRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ExecutionInputsRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + ExecutionInputsRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ExecutionInputsRequest& from); + void MergeFrom(const ExecutionInputsRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ExecutionInputsRequest* other); + private: + 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 inputs = 2; + int inputs_size() const; + void clear_inputs(); + static const int kInputsFieldNumber = 2; + ::flyteidl::core::ArtifactID* mutable_inputs(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* + mutable_inputs(); + const ::flyteidl::core::ArtifactID& inputs(int index) const; + ::flyteidl::core::ArtifactID* add_inputs(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& + inputs() const; + + // .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.artifact.ExecutionInputsRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > inputs_; + ::flyteidl::core::WorkflowExecutionIdentifier* execution_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// ------------------------------------------------------------------- + +class ExecutionInputsResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.ExecutionInputsResponse) */ { + public: + ExecutionInputsResponse(); + virtual ~ExecutionInputsResponse(); + + ExecutionInputsResponse(const ExecutionInputsResponse& from); + + inline ExecutionInputsResponse& operator=(const ExecutionInputsResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ExecutionInputsResponse(ExecutionInputsResponse&& from) noexcept + : ExecutionInputsResponse() { + *this = ::std::move(from); + } + + inline ExecutionInputsResponse& operator=(ExecutionInputsResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ExecutionInputsResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ExecutionInputsResponse* internal_default_instance() { + return reinterpret_cast( + &_ExecutionInputsResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + void Swap(ExecutionInputsResponse* other); + friend void swap(ExecutionInputsResponse& a, ExecutionInputsResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ExecutionInputsResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + ExecutionInputsResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ExecutionInputsResponse& from); + void MergeFrom(const ExecutionInputsResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ExecutionInputsResponse* other); + private: + 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.artifact.ExecutionInputsResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fartifact_2fartifacts_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// Artifact + +// .flyteidl.core.ArtifactID artifact_id = 1; +inline bool Artifact::has_artifact_id() const { + return this != internal_default_instance() && artifact_id_ != nullptr; +} +inline const ::flyteidl::core::ArtifactID& Artifact::artifact_id() const { + const ::flyteidl::core::ArtifactID* p = artifact_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.Artifact.artifact_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactID_default_instance_); +} +inline ::flyteidl::core::ArtifactID* Artifact::release_artifact_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.Artifact.artifact_id) + + ::flyteidl::core::ArtifactID* temp = artifact_id_; + artifact_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactID* Artifact::mutable_artifact_id() { + + if (artifact_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactID>(GetArenaNoVirtual()); + artifact_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.Artifact.artifact_id) + return artifact_id_; +} +inline void Artifact::set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_id_); + } + 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); + } + + } else { + + } + artifact_id_ = artifact_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.Artifact.artifact_id) +} + +// .flyteidl.artifact.ArtifactSpec spec = 2; +inline bool Artifact::has_spec() const { + return this != internal_default_instance() && spec_ != nullptr; +} +inline void Artifact::clear_spec() { + if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { + delete spec_; + } + spec_ = nullptr; +} +inline const ::flyteidl::artifact::ArtifactSpec& Artifact::spec() const { + const ::flyteidl::artifact::ArtifactSpec* p = spec_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.Artifact.spec) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_ArtifactSpec_default_instance_); +} +inline ::flyteidl::artifact::ArtifactSpec* Artifact::release_spec() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.Artifact.spec) + + ::flyteidl::artifact::ArtifactSpec* temp = spec_; + spec_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::ArtifactSpec* Artifact::mutable_spec() { + + if (spec_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::ArtifactSpec>(GetArenaNoVirtual()); + spec_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.Artifact.spec) + return spec_; +} +inline void Artifact::set_allocated_spec(::flyteidl::artifact::ArtifactSpec* 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.artifact.Artifact.spec) +} + +// repeated string tags = 3; +inline int Artifact::tags_size() const { + return tags_.size(); +} +inline void Artifact::clear_tags() { + tags_.Clear(); +} +inline const ::std::string& Artifact::tags(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.Artifact.tags) + return tags_.Get(index); +} +inline ::std::string* Artifact::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.Artifact.tags) + return tags_.Mutable(index); +} +inline void Artifact::set_tags(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.artifact.Artifact.tags) + tags_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void Artifact::set_tags(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.artifact.Artifact.tags) + tags_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void Artifact::set_tags(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.Artifact.tags) +} +inline void Artifact::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.artifact.Artifact.tags) +} +inline ::std::string* Artifact::add_tags() { + // @@protoc_insertion_point(field_add_mutable:flyteidl.artifact.Artifact.tags) + return tags_.Add(); +} +inline void Artifact::add_tags(const ::std::string& value) { + tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:flyteidl.artifact.Artifact.tags) +} +#if LANG_CXX11 +inline void Artifact::add_tags(::std::string&& value) { + tags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:flyteidl.artifact.Artifact.tags) +} +#endif +inline void Artifact::add_tags(const char* value) { + GOOGLE_DCHECK(value != nullptr); + tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:flyteidl.artifact.Artifact.tags) +} +inline void Artifact::add_tags(const char* value, size_t size) { + tags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:flyteidl.artifact.Artifact.tags) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +Artifact::tags() const { + // @@protoc_insertion_point(field_list:flyteidl.artifact.Artifact.tags) + return tags_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* +Artifact::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.artifact.Artifact.tags) + return &tags_; +} + +// .flyteidl.artifact.ArtifactSource source = 4; +inline bool Artifact::has_source() const { + return this != internal_default_instance() && source_ != nullptr; +} +inline void Artifact::clear_source() { + if (GetArenaNoVirtual() == nullptr && source_ != nullptr) { + delete source_; + } + source_ = nullptr; +} +inline const ::flyteidl::artifact::ArtifactSource& Artifact::source() const { + const ::flyteidl::artifact::ArtifactSource* p = source_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.Artifact.source) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_ArtifactSource_default_instance_); +} +inline ::flyteidl::artifact::ArtifactSource* Artifact::release_source() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.Artifact.source) + + ::flyteidl::artifact::ArtifactSource* temp = source_; + source_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::ArtifactSource* Artifact::mutable_source() { + + if (source_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::ArtifactSource>(GetArenaNoVirtual()); + source_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.Artifact.source) + return source_; +} +inline void Artifact::set_allocated_source(::flyteidl::artifact::ArtifactSource* source) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete source_; + } + if (source) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + source = ::google::protobuf::internal::GetOwnedMessage( + message_arena, source, submessage_arena); + } + + } else { + + } + source_ = source; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.Artifact.source) +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// CreateArtifactRequest + +// .flyteidl.core.ArtifactKey artifact_key = 1; +inline bool CreateArtifactRequest::has_artifact_key() const { + return this != internal_default_instance() && artifact_key_ != nullptr; +} +inline const ::flyteidl::core::ArtifactKey& CreateArtifactRequest::artifact_key() const { + const ::flyteidl::core::ArtifactKey* p = artifact_key_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactRequest.artifact_key) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactKey_default_instance_); +} +inline ::flyteidl::core::ArtifactKey* CreateArtifactRequest::release_artifact_key() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactRequest.artifact_key) + + ::flyteidl::core::ArtifactKey* temp = artifact_key_; + artifact_key_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactKey* CreateArtifactRequest::mutable_artifact_key() { + + if (artifact_key_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactKey>(GetArenaNoVirtual()); + artifact_key_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactRequest.artifact_key) + return artifact_key_; +} +inline void CreateArtifactRequest::set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(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.artifact.CreateArtifactRequest.artifact_key) +} + +// string version = 3; +inline void CreateArtifactRequest::clear_version() { + version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& CreateArtifactRequest::version() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactRequest.version) + return version_.GetNoArena(); +} +inline void CreateArtifactRequest::set_version(const ::std::string& value) { + + version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.CreateArtifactRequest.version) +} +#if LANG_CXX11 +inline void CreateArtifactRequest::set_version(::std::string&& value) { + + version_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.CreateArtifactRequest.version) +} +#endif +inline void CreateArtifactRequest::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.artifact.CreateArtifactRequest.version) +} +inline void CreateArtifactRequest::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.artifact.CreateArtifactRequest.version) +} +inline ::std::string* CreateArtifactRequest::mutable_version() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactRequest.version) + return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CreateArtifactRequest::release_version() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactRequest.version) + + return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CreateArtifactRequest::set_allocated_version(::std::string* version) { + if (version != nullptr) { + + } else { + + } + version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.CreateArtifactRequest.version) +} + +// .flyteidl.artifact.ArtifactSpec spec = 2; +inline bool CreateArtifactRequest::has_spec() const { + return this != internal_default_instance() && spec_ != nullptr; +} +inline void CreateArtifactRequest::clear_spec() { + if (GetArenaNoVirtual() == nullptr && spec_ != nullptr) { + delete spec_; + } + spec_ = nullptr; +} +inline const ::flyteidl::artifact::ArtifactSpec& CreateArtifactRequest::spec() const { + const ::flyteidl::artifact::ArtifactSpec* p = spec_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactRequest.spec) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_ArtifactSpec_default_instance_); +} +inline ::flyteidl::artifact::ArtifactSpec* CreateArtifactRequest::release_spec() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactRequest.spec) + + ::flyteidl::artifact::ArtifactSpec* temp = spec_; + spec_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::ArtifactSpec* CreateArtifactRequest::mutable_spec() { + + if (spec_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::ArtifactSpec>(GetArenaNoVirtual()); + spec_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactRequest.spec) + return spec_; +} +inline void CreateArtifactRequest::set_allocated_spec(::flyteidl::artifact::ArtifactSpec* 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.artifact.CreateArtifactRequest.spec) +} + +// map partitions = 4; +inline int CreateArtifactRequest::partitions_size() const { + return partitions_.size(); +} +inline void CreateArtifactRequest::clear_partitions() { + partitions_.Clear(); +} +inline const ::google::protobuf::Map< ::std::string, ::std::string >& +CreateArtifactRequest::partitions() const { + // @@protoc_insertion_point(field_map:flyteidl.artifact.CreateArtifactRequest.partitions) + return partitions_.GetMap(); +} +inline ::google::protobuf::Map< ::std::string, ::std::string >* +CreateArtifactRequest::mutable_partitions() { + // @@protoc_insertion_point(field_mutable_map:flyteidl.artifact.CreateArtifactRequest.partitions) + return partitions_.MutableMap(); +} + +// string tag = 5; +inline void CreateArtifactRequest::clear_tag() { + tag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& CreateArtifactRequest::tag() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactRequest.tag) + return tag_.GetNoArena(); +} +inline void CreateArtifactRequest::set_tag(const ::std::string& value) { + + tag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.CreateArtifactRequest.tag) +} +#if LANG_CXX11 +inline void CreateArtifactRequest::set_tag(::std::string&& value) { + + tag_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.CreateArtifactRequest.tag) +} +#endif +inline void CreateArtifactRequest::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.artifact.CreateArtifactRequest.tag) +} +inline void CreateArtifactRequest::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.artifact.CreateArtifactRequest.tag) +} +inline ::std::string* CreateArtifactRequest::mutable_tag() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactRequest.tag) + return tag_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* CreateArtifactRequest::release_tag() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactRequest.tag) + + return tag_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void CreateArtifactRequest::set_allocated_tag(::std::string* tag) { + if (tag != nullptr) { + + } else { + + } + tag_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tag); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.CreateArtifactRequest.tag) +} + +// .flyteidl.artifact.ArtifactSource source = 6; +inline bool CreateArtifactRequest::has_source() const { + return this != internal_default_instance() && source_ != nullptr; +} +inline void CreateArtifactRequest::clear_source() { + if (GetArenaNoVirtual() == nullptr && source_ != nullptr) { + delete source_; + } + source_ = nullptr; +} +inline const ::flyteidl::artifact::ArtifactSource& CreateArtifactRequest::source() const { + const ::flyteidl::artifact::ArtifactSource* p = source_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactRequest.source) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_ArtifactSource_default_instance_); +} +inline ::flyteidl::artifact::ArtifactSource* CreateArtifactRequest::release_source() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactRequest.source) + + ::flyteidl::artifact::ArtifactSource* temp = source_; + source_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::ArtifactSource* CreateArtifactRequest::mutable_source() { + + if (source_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::ArtifactSource>(GetArenaNoVirtual()); + source_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactRequest.source) + return source_; +} +inline void CreateArtifactRequest::set_allocated_source(::flyteidl::artifact::ArtifactSource* source) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete source_; + } + if (source) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + source = ::google::protobuf::internal::GetOwnedMessage( + message_arena, source, submessage_arena); + } + + } else { + + } + source_ = source; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.CreateArtifactRequest.source) +} + +// ------------------------------------------------------------------- + +// ArtifactSource + +// .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; +inline bool ArtifactSource::has_workflow_execution() const { + return this != internal_default_instance() && workflow_execution_ != nullptr; +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& ArtifactSource::workflow_execution() const { + const ::flyteidl::core::WorkflowExecutionIdentifier* p = workflow_execution_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSource.workflow_execution) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* ArtifactSource::release_workflow_execution() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSource.workflow_execution) + + ::flyteidl::core::WorkflowExecutionIdentifier* temp = workflow_execution_; + workflow_execution_ = nullptr; + return temp; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* ArtifactSource::mutable_workflow_execution() { + + if (workflow_execution_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); + workflow_execution_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSource.workflow_execution) + return workflow_execution_; +} +inline void ArtifactSource::set_allocated_workflow_execution(::flyteidl::core::WorkflowExecutionIdentifier* workflow_execution) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(workflow_execution_); + } + if (workflow_execution) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_execution = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_execution, submessage_arena); + } + + } else { + + } + workflow_execution_ = workflow_execution; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSource.workflow_execution) +} + +// string node_id = 2; +inline void ArtifactSource::clear_node_id() { + node_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactSource::node_id() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSource.node_id) + return node_id_.GetNoArena(); +} +inline void ArtifactSource::set_node_id(const ::std::string& value) { + + node_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.ArtifactSource.node_id) +} +#if LANG_CXX11 +inline void ArtifactSource::set_node_id(::std::string&& value) { + + node_id_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.ArtifactSource.node_id) +} +#endif +inline void ArtifactSource::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.artifact.ArtifactSource.node_id) +} +inline void ArtifactSource::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.artifact.ArtifactSource.node_id) +} +inline ::std::string* ArtifactSource::mutable_node_id() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSource.node_id) + return node_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactSource::release_node_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSource.node_id) + + return node_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactSource::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.artifact.ArtifactSource.node_id) +} + +// .flyteidl.core.Identifier task_id = 3; +inline bool ArtifactSource::has_task_id() const { + return this != internal_default_instance() && task_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& ArtifactSource::task_id() const { + const ::flyteidl::core::Identifier* p = task_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSource.task_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* ArtifactSource::release_task_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSource.task_id) + + ::flyteidl::core::Identifier* temp = task_id_; + task_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* ArtifactSource::mutable_task_id() { + + if (task_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + task_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSource.task_id) + return task_id_; +} +inline void ArtifactSource::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.artifact.ArtifactSource.task_id) +} + +// uint32 retry_attempt = 4; +inline void ArtifactSource::clear_retry_attempt() { + retry_attempt_ = 0u; +} +inline ::google::protobuf::uint32 ArtifactSource::retry_attempt() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSource.retry_attempt) + return retry_attempt_; +} +inline void ArtifactSource::set_retry_attempt(::google::protobuf::uint32 value) { + + retry_attempt_ = value; + // @@protoc_insertion_point(field_set:flyteidl.artifact.ArtifactSource.retry_attempt) +} + +// string principal = 5; +inline void ArtifactSource::clear_principal() { + principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactSource::principal() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSource.principal) + return principal_.GetNoArena(); +} +inline void ArtifactSource::set_principal(const ::std::string& value) { + + principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.ArtifactSource.principal) +} +#if LANG_CXX11 +inline void ArtifactSource::set_principal(::std::string&& value) { + + principal_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.ArtifactSource.principal) +} +#endif +inline void ArtifactSource::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.artifact.ArtifactSource.principal) +} +inline void ArtifactSource::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.artifact.ArtifactSource.principal) +} +inline ::std::string* ArtifactSource::mutable_principal() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSource.principal) + return principal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactSource::release_principal() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSource.principal) + + return principal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactSource::set_allocated_principal(::std::string* principal) { + if (principal != nullptr) { + + } else { + + } + principal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), principal); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSource.principal) +} + +// ------------------------------------------------------------------- + +// ArtifactSpec + +// .flyteidl.core.Literal value = 1; +inline bool ArtifactSpec::has_value() const { + return this != internal_default_instance() && value_ != nullptr; +} +inline const ::flyteidl::core::Literal& ArtifactSpec::value() const { + const ::flyteidl::core::Literal* p = value_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.value) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Literal_default_instance_); +} +inline ::flyteidl::core::Literal* ArtifactSpec::release_value() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.value) + + ::flyteidl::core::Literal* temp = value_; + value_ = nullptr; + return temp; +} +inline ::flyteidl::core::Literal* ArtifactSpec::mutable_value() { + + if (value_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Literal>(GetArenaNoVirtual()); + value_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.value) + return value_; +} +inline void ArtifactSpec::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.artifact.ArtifactSpec.value) +} + +// .flyteidl.core.LiteralType type = 2; +inline bool ArtifactSpec::has_type() const { + return this != internal_default_instance() && type_ != nullptr; +} +inline const ::flyteidl::core::LiteralType& ArtifactSpec::type() const { + const ::flyteidl::core::LiteralType* p = type_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.type) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralType_default_instance_); +} +inline ::flyteidl::core::LiteralType* ArtifactSpec::release_type() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.type) + + ::flyteidl::core::LiteralType* temp = type_; + type_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralType* ArtifactSpec::mutable_type() { + + if (type_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralType>(GetArenaNoVirtual()); + type_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.type) + return type_; +} +inline void ArtifactSpec::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.artifact.ArtifactSpec.type) +} + +// string short_description = 3; +inline void ArtifactSpec::clear_short_description() { + short_description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactSpec::short_description() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.short_description) + return short_description_.GetNoArena(); +} +inline void ArtifactSpec::set_short_description(const ::std::string& value) { + + short_description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.ArtifactSpec.short_description) +} +#if LANG_CXX11 +inline void ArtifactSpec::set_short_description(::std::string&& value) { + + short_description_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.ArtifactSpec.short_description) +} +#endif +inline void ArtifactSpec::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.artifact.ArtifactSpec.short_description) +} +inline void ArtifactSpec::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.artifact.ArtifactSpec.short_description) +} +inline ::std::string* ArtifactSpec::mutable_short_description() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.short_description) + return short_description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactSpec::release_short_description() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.short_description) + + return short_description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactSpec::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.artifact.ArtifactSpec.short_description) +} + +// .google.protobuf.Any user_metadata = 4; +inline bool ArtifactSpec::has_user_metadata() const { + return this != internal_default_instance() && user_metadata_ != nullptr; +} +inline const ::google::protobuf::Any& ArtifactSpec::user_metadata() const { + const ::google::protobuf::Any* p = user_metadata_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.user_metadata) + return p != nullptr ? *p : *reinterpret_cast( + &::google::protobuf::_Any_default_instance_); +} +inline ::google::protobuf::Any* ArtifactSpec::release_user_metadata() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.user_metadata) + + ::google::protobuf::Any* temp = user_metadata_; + user_metadata_ = nullptr; + return temp; +} +inline ::google::protobuf::Any* ArtifactSpec::mutable_user_metadata() { + + if (user_metadata_ == nullptr) { + auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual()); + user_metadata_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.user_metadata) + return user_metadata_; +} +inline void ArtifactSpec::set_allocated_user_metadata(::google::protobuf::Any* user_metadata) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(user_metadata_); + } + if (user_metadata) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + user_metadata = ::google::protobuf::internal::GetOwnedMessage( + message_arena, user_metadata, submessage_arena); + } + + } else { + + } + user_metadata_ = user_metadata; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.user_metadata) +} + +// string metadata_type = 5; +inline void ArtifactSpec::clear_metadata_type() { + metadata_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactSpec::metadata_type() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactSpec.metadata_type) + return metadata_type_.GetNoArena(); +} +inline void ArtifactSpec::set_metadata_type(const ::std::string& value) { + + metadata_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.ArtifactSpec.metadata_type) +} +#if LANG_CXX11 +inline void ArtifactSpec::set_metadata_type(::std::string&& value) { + + metadata_type_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.ArtifactSpec.metadata_type) +} +#endif +inline void ArtifactSpec::set_metadata_type(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + metadata_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.artifact.ArtifactSpec.metadata_type) +} +inline void ArtifactSpec::set_metadata_type(const char* value, size_t size) { + + metadata_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.artifact.ArtifactSpec.metadata_type) +} +inline ::std::string* ArtifactSpec::mutable_metadata_type() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactSpec.metadata_type) + return metadata_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactSpec::release_metadata_type() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactSpec.metadata_type) + + return metadata_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactSpec::set_allocated_metadata_type(::std::string* metadata_type) { + if (metadata_type != nullptr) { + + } else { + + } + metadata_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), metadata_type); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactSpec.metadata_type) +} + +// ------------------------------------------------------------------- + +// CreateArtifactResponse + +// .flyteidl.artifact.Artifact artifact = 1; +inline bool CreateArtifactResponse::has_artifact() const { + return this != internal_default_instance() && artifact_ != nullptr; +} +inline void CreateArtifactResponse::clear_artifact() { + if (GetArenaNoVirtual() == nullptr && artifact_ != nullptr) { + delete artifact_; + } + artifact_ = nullptr; +} +inline const ::flyteidl::artifact::Artifact& CreateArtifactResponse::artifact() const { + const ::flyteidl::artifact::Artifact* p = artifact_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateArtifactResponse.artifact) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_Artifact_default_instance_); +} +inline ::flyteidl::artifact::Artifact* CreateArtifactResponse::release_artifact() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateArtifactResponse.artifact) + + ::flyteidl::artifact::Artifact* temp = artifact_; + artifact_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::Artifact* CreateArtifactResponse::mutable_artifact() { + + if (artifact_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::Artifact>(GetArenaNoVirtual()); + artifact_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateArtifactResponse.artifact) + return artifact_; +} +inline void CreateArtifactResponse::set_allocated_artifact(::flyteidl::artifact::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:flyteidl.artifact.CreateArtifactResponse.artifact) +} + +// ------------------------------------------------------------------- + +// GetArtifactRequest + +// .flyteidl.core.ArtifactQuery query = 1; +inline bool GetArtifactRequest::has_query() const { + return this != internal_default_instance() && query_ != nullptr; +} +inline const ::flyteidl::core::ArtifactQuery& GetArtifactRequest::query() const { + const ::flyteidl::core::ArtifactQuery* p = query_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.GetArtifactRequest.query) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactQuery_default_instance_); +} +inline ::flyteidl::core::ArtifactQuery* GetArtifactRequest::release_query() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.GetArtifactRequest.query) + + ::flyteidl::core::ArtifactQuery* temp = query_; + query_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactQuery* GetArtifactRequest::mutable_query() { + + if (query_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactQuery>(GetArenaNoVirtual()); + query_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.GetArtifactRequest.query) + return query_; +} +inline void GetArtifactRequest::set_allocated_query(::flyteidl::core::ArtifactQuery* query) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(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.artifact.GetArtifactRequest.query) +} + +// bool details = 2; +inline void GetArtifactRequest::clear_details() { + details_ = false; +} +inline bool GetArtifactRequest::details() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.GetArtifactRequest.details) + return details_; +} +inline void GetArtifactRequest::set_details(bool value) { + + details_ = value; + // @@protoc_insertion_point(field_set:flyteidl.artifact.GetArtifactRequest.details) +} + +// ------------------------------------------------------------------- + +// GetArtifactResponse + +// .flyteidl.artifact.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 ::flyteidl::artifact::Artifact& GetArtifactResponse::artifact() const { + const ::flyteidl::artifact::Artifact* p = artifact_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.GetArtifactResponse.artifact) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_Artifact_default_instance_); +} +inline ::flyteidl::artifact::Artifact* GetArtifactResponse::release_artifact() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.GetArtifactResponse.artifact) + + ::flyteidl::artifact::Artifact* temp = artifact_; + artifact_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::Artifact* GetArtifactResponse::mutable_artifact() { + + if (artifact_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::Artifact>(GetArenaNoVirtual()); + artifact_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.GetArtifactResponse.artifact) + return artifact_; +} +inline void GetArtifactResponse::set_allocated_artifact(::flyteidl::artifact::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:flyteidl.artifact.GetArtifactResponse.artifact) +} + +// ------------------------------------------------------------------- + +// SearchOptions + +// bool strict_partitions = 1; +inline void SearchOptions::clear_strict_partitions() { + strict_partitions_ = false; +} +inline bool SearchOptions::strict_partitions() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchOptions.strict_partitions) + return strict_partitions_; +} +inline void SearchOptions::set_strict_partitions(bool value) { + + strict_partitions_ = value; + // @@protoc_insertion_point(field_set:flyteidl.artifact.SearchOptions.strict_partitions) +} + +// bool latest_by_key = 2; +inline void SearchOptions::clear_latest_by_key() { + latest_by_key_ = false; +} +inline bool SearchOptions::latest_by_key() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchOptions.latest_by_key) + return latest_by_key_; +} +inline void SearchOptions::set_latest_by_key(bool value) { + + latest_by_key_ = value; + // @@protoc_insertion_point(field_set:flyteidl.artifact.SearchOptions.latest_by_key) +} + +// ------------------------------------------------------------------- + +// SearchArtifactsRequest + +// .flyteidl.core.ArtifactKey artifact_key = 1; +inline bool SearchArtifactsRequest::has_artifact_key() const { + return this != internal_default_instance() && artifact_key_ != nullptr; +} +inline const ::flyteidl::core::ArtifactKey& SearchArtifactsRequest::artifact_key() const { + const ::flyteidl::core::ArtifactKey* p = artifact_key_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchArtifactsRequest.artifact_key) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactKey_default_instance_); +} +inline ::flyteidl::core::ArtifactKey* SearchArtifactsRequest::release_artifact_key() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.SearchArtifactsRequest.artifact_key) + + ::flyteidl::core::ArtifactKey* temp = artifact_key_; + artifact_key_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactKey* SearchArtifactsRequest::mutable_artifact_key() { + + if (artifact_key_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactKey>(GetArenaNoVirtual()); + artifact_key_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.SearchArtifactsRequest.artifact_key) + return artifact_key_; +} +inline void SearchArtifactsRequest::set_allocated_artifact_key(::flyteidl::core::ArtifactKey* artifact_key) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(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.artifact.SearchArtifactsRequest.artifact_key) +} + +// .flyteidl.core.Partitions partitions = 2; +inline bool SearchArtifactsRequest::has_partitions() const { + return this != internal_default_instance() && partitions_ != nullptr; +} +inline const ::flyteidl::core::Partitions& SearchArtifactsRequest::partitions() const { + const ::flyteidl::core::Partitions* p = partitions_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchArtifactsRequest.partitions) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Partitions_default_instance_); +} +inline ::flyteidl::core::Partitions* SearchArtifactsRequest::release_partitions() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.SearchArtifactsRequest.partitions) + + ::flyteidl::core::Partitions* temp = partitions_; + partitions_ = nullptr; + return temp; +} +inline ::flyteidl::core::Partitions* SearchArtifactsRequest::mutable_partitions() { + + if (partitions_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Partitions>(GetArenaNoVirtual()); + partitions_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.SearchArtifactsRequest.partitions) + return partitions_; +} +inline void SearchArtifactsRequest::set_allocated_partitions(::flyteidl::core::Partitions* partitions) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(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.artifact.SearchArtifactsRequest.partitions) +} + +// string principal = 3; +inline void SearchArtifactsRequest::clear_principal() { + principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& SearchArtifactsRequest::principal() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchArtifactsRequest.principal) + return principal_.GetNoArena(); +} +inline void SearchArtifactsRequest::set_principal(const ::std::string& value) { + + principal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.SearchArtifactsRequest.principal) +} +#if LANG_CXX11 +inline void SearchArtifactsRequest::set_principal(::std::string&& value) { + + principal_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.SearchArtifactsRequest.principal) +} +#endif +inline void SearchArtifactsRequest::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.artifact.SearchArtifactsRequest.principal) +} +inline void SearchArtifactsRequest::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.artifact.SearchArtifactsRequest.principal) +} +inline ::std::string* SearchArtifactsRequest::mutable_principal() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.SearchArtifactsRequest.principal) + return principal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SearchArtifactsRequest::release_principal() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.SearchArtifactsRequest.principal) + + return principal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SearchArtifactsRequest::set_allocated_principal(::std::string* principal) { + if (principal != nullptr) { + + } else { + + } + principal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), principal); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.SearchArtifactsRequest.principal) +} + +// string version = 4; +inline void SearchArtifactsRequest::clear_version() { + version_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& SearchArtifactsRequest::version() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchArtifactsRequest.version) + return version_.GetNoArena(); +} +inline void SearchArtifactsRequest::set_version(const ::std::string& value) { + + version_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.SearchArtifactsRequest.version) +} +#if LANG_CXX11 +inline void SearchArtifactsRequest::set_version(::std::string&& value) { + + version_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.SearchArtifactsRequest.version) +} +#endif +inline void SearchArtifactsRequest::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.artifact.SearchArtifactsRequest.version) +} +inline void SearchArtifactsRequest::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.artifact.SearchArtifactsRequest.version) +} +inline ::std::string* SearchArtifactsRequest::mutable_version() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.SearchArtifactsRequest.version) + return version_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SearchArtifactsRequest::release_version() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.SearchArtifactsRequest.version) + + return version_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SearchArtifactsRequest::set_allocated_version(::std::string* version) { + if (version != nullptr) { + + } else { + + } + version_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), version); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.SearchArtifactsRequest.version) +} + +// .flyteidl.artifact.SearchOptions options = 5; +inline bool SearchArtifactsRequest::has_options() const { + return this != internal_default_instance() && options_ != nullptr; +} +inline void SearchArtifactsRequest::clear_options() { + if (GetArenaNoVirtual() == nullptr && options_ != nullptr) { + delete options_; + } + options_ = nullptr; +} +inline const ::flyteidl::artifact::SearchOptions& SearchArtifactsRequest::options() const { + const ::flyteidl::artifact::SearchOptions* p = options_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchArtifactsRequest.options) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::artifact::_SearchOptions_default_instance_); +} +inline ::flyteidl::artifact::SearchOptions* SearchArtifactsRequest::release_options() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.SearchArtifactsRequest.options) + + ::flyteidl::artifact::SearchOptions* temp = options_; + options_ = nullptr; + return temp; +} +inline ::flyteidl::artifact::SearchOptions* SearchArtifactsRequest::mutable_options() { + + if (options_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::artifact::SearchOptions>(GetArenaNoVirtual()); + options_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.SearchArtifactsRequest.options) + return options_; +} +inline void SearchArtifactsRequest::set_allocated_options(::flyteidl::artifact::SearchOptions* options) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete options_; + } + if (options) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + options = ::google::protobuf::internal::GetOwnedMessage( + message_arena, options, submessage_arena); + } + + } else { + + } + options_ = options; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.SearchArtifactsRequest.options) +} + +// string token = 6; +inline void SearchArtifactsRequest::clear_token() { + token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& SearchArtifactsRequest::token() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchArtifactsRequest.token) + return token_.GetNoArena(); +} +inline void SearchArtifactsRequest::set_token(const ::std::string& value) { + + token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.SearchArtifactsRequest.token) +} +#if LANG_CXX11 +inline void SearchArtifactsRequest::set_token(::std::string&& value) { + + token_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.SearchArtifactsRequest.token) +} +#endif +inline void SearchArtifactsRequest::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.artifact.SearchArtifactsRequest.token) +} +inline void SearchArtifactsRequest::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.artifact.SearchArtifactsRequest.token) +} +inline ::std::string* SearchArtifactsRequest::mutable_token() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.SearchArtifactsRequest.token) + return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SearchArtifactsRequest::release_token() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.SearchArtifactsRequest.token) + + return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SearchArtifactsRequest::set_allocated_token(::std::string* token) { + if (token != nullptr) { + + } else { + + } + token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.SearchArtifactsRequest.token) +} + +// int32 limit = 7; +inline void SearchArtifactsRequest::clear_limit() { + limit_ = 0; +} +inline ::google::protobuf::int32 SearchArtifactsRequest::limit() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchArtifactsRequest.limit) + return limit_; +} +inline void SearchArtifactsRequest::set_limit(::google::protobuf::int32 value) { + + limit_ = value; + // @@protoc_insertion_point(field_set:flyteidl.artifact.SearchArtifactsRequest.limit) +} + +// ------------------------------------------------------------------- + +// SearchArtifactsResponse + +// repeated .flyteidl.artifact.Artifact artifacts = 1; +inline int SearchArtifactsResponse::artifacts_size() const { + return artifacts_.size(); +} +inline void SearchArtifactsResponse::clear_artifacts() { + artifacts_.Clear(); +} +inline ::flyteidl::artifact::Artifact* SearchArtifactsResponse::mutable_artifacts(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.SearchArtifactsResponse.artifacts) + return artifacts_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::Artifact >* +SearchArtifactsResponse::mutable_artifacts() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.artifact.SearchArtifactsResponse.artifacts) + return &artifacts_; +} +inline const ::flyteidl::artifact::Artifact& SearchArtifactsResponse::artifacts(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchArtifactsResponse.artifacts) + return artifacts_.Get(index); +} +inline ::flyteidl::artifact::Artifact* SearchArtifactsResponse::add_artifacts() { + // @@protoc_insertion_point(field_add:flyteidl.artifact.SearchArtifactsResponse.artifacts) + return artifacts_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::Artifact >& +SearchArtifactsResponse::artifacts() const { + // @@protoc_insertion_point(field_list:flyteidl.artifact.SearchArtifactsResponse.artifacts) + return artifacts_; +} + +// string token = 2; +inline void SearchArtifactsResponse::clear_token() { + token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& SearchArtifactsResponse::token() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.SearchArtifactsResponse.token) + return token_.GetNoArena(); +} +inline void SearchArtifactsResponse::set_token(const ::std::string& value) { + + token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.SearchArtifactsResponse.token) +} +#if LANG_CXX11 +inline void SearchArtifactsResponse::set_token(::std::string&& value) { + + token_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.SearchArtifactsResponse.token) +} +#endif +inline void SearchArtifactsResponse::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.artifact.SearchArtifactsResponse.token) +} +inline void SearchArtifactsResponse::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.artifact.SearchArtifactsResponse.token) +} +inline ::std::string* SearchArtifactsResponse::mutable_token() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.SearchArtifactsResponse.token) + return token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* SearchArtifactsResponse::release_token() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.SearchArtifactsResponse.token) + + return token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void SearchArtifactsResponse::set_allocated_token(::std::string* token) { + if (token != nullptr) { + + } else { + + } + token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), token); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.SearchArtifactsResponse.token) +} + +// ------------------------------------------------------------------- + +// FindByWorkflowExecRequest + +// .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; +inline bool FindByWorkflowExecRequest::has_exec_id() const { + return this != internal_default_instance() && exec_id_ != nullptr; +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& FindByWorkflowExecRequest::exec_id() const { + const ::flyteidl::core::WorkflowExecutionIdentifier* p = exec_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.FindByWorkflowExecRequest.exec_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* FindByWorkflowExecRequest::release_exec_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.FindByWorkflowExecRequest.exec_id) + + ::flyteidl::core::WorkflowExecutionIdentifier* temp = exec_id_; + exec_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* FindByWorkflowExecRequest::mutable_exec_id() { + + if (exec_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); + exec_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.FindByWorkflowExecRequest.exec_id) + return exec_id_; +} +inline void FindByWorkflowExecRequest::set_allocated_exec_id(::flyteidl::core::WorkflowExecutionIdentifier* exec_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(exec_id_); + } + if (exec_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + exec_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, exec_id, submessage_arena); + } + + } else { + + } + exec_id_ = exec_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.FindByWorkflowExecRequest.exec_id) +} + +// .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; +inline void FindByWorkflowExecRequest::clear_direction() { + direction_ = 0; +} +inline ::flyteidl::artifact::FindByWorkflowExecRequest_Direction FindByWorkflowExecRequest::direction() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.FindByWorkflowExecRequest.direction) + return static_cast< ::flyteidl::artifact::FindByWorkflowExecRequest_Direction >(direction_); +} +inline void FindByWorkflowExecRequest::set_direction(::flyteidl::artifact::FindByWorkflowExecRequest_Direction value) { + + direction_ = value; + // @@protoc_insertion_point(field_set:flyteidl.artifact.FindByWorkflowExecRequest.direction) +} + +// ------------------------------------------------------------------- + +// AddTagRequest + +// .flyteidl.core.ArtifactID artifact_id = 1; +inline bool AddTagRequest::has_artifact_id() const { + return this != internal_default_instance() && artifact_id_ != nullptr; +} +inline const ::flyteidl::core::ArtifactID& AddTagRequest::artifact_id() const { + const ::flyteidl::core::ArtifactID* p = artifact_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.AddTagRequest.artifact_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ArtifactID_default_instance_); +} +inline ::flyteidl::core::ArtifactID* AddTagRequest::release_artifact_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.AddTagRequest.artifact_id) + + ::flyteidl::core::ArtifactID* temp = artifact_id_; + artifact_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::ArtifactID* AddTagRequest::mutable_artifact_id() { + + if (artifact_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ArtifactID>(GetArenaNoVirtual()); + artifact_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.AddTagRequest.artifact_id) + return artifact_id_; +} +inline void AddTagRequest::set_allocated_artifact_id(::flyteidl::core::ArtifactID* artifact_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(artifact_id_); + } + 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); + } + + } else { + + } + artifact_id_ = artifact_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.AddTagRequest.artifact_id) +} + +// string value = 2; +inline void AddTagRequest::clear_value() { + value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& AddTagRequest::value() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.AddTagRequest.value) + return value_.GetNoArena(); +} +inline void AddTagRequest::set_value(const ::std::string& value) { + + value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.artifact.AddTagRequest.value) +} +#if LANG_CXX11 +inline void AddTagRequest::set_value(::std::string&& value) { + + value_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.artifact.AddTagRequest.value) +} +#endif +inline void AddTagRequest::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.artifact.AddTagRequest.value) +} +inline void AddTagRequest::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.artifact.AddTagRequest.value) +} +inline ::std::string* AddTagRequest::mutable_value() { + + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.AddTagRequest.value) + return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* AddTagRequest::release_value() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.AddTagRequest.value) + + return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void AddTagRequest::set_allocated_value(::std::string* value) { + if (value != nullptr) { + + } else { + + } + value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.AddTagRequest.value) +} + +// bool overwrite = 3; +inline void AddTagRequest::clear_overwrite() { + overwrite_ = false; +} +inline bool AddTagRequest::overwrite() const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.AddTagRequest.overwrite) + return overwrite_; +} +inline void AddTagRequest::set_overwrite(bool value) { + + overwrite_ = value; + // @@protoc_insertion_point(field_set:flyteidl.artifact.AddTagRequest.overwrite) +} + +// ------------------------------------------------------------------- + +// AddTagResponse + +// ------------------------------------------------------------------- + +// CreateTriggerRequest + +// .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; +inline bool CreateTriggerRequest::has_trigger_launch_plan() const { + return this != internal_default_instance() && trigger_launch_plan_ != nullptr; +} +inline const ::flyteidl::admin::LaunchPlan& CreateTriggerRequest::trigger_launch_plan() const { + const ::flyteidl::admin::LaunchPlan* p = trigger_launch_plan_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.CreateTriggerRequest.trigger_launch_plan) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_LaunchPlan_default_instance_); +} +inline ::flyteidl::admin::LaunchPlan* CreateTriggerRequest::release_trigger_launch_plan() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.CreateTriggerRequest.trigger_launch_plan) + + ::flyteidl::admin::LaunchPlan* temp = trigger_launch_plan_; + trigger_launch_plan_ = nullptr; + return temp; +} +inline ::flyteidl::admin::LaunchPlan* CreateTriggerRequest::mutable_trigger_launch_plan() { + + if (trigger_launch_plan_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::LaunchPlan>(GetArenaNoVirtual()); + trigger_launch_plan_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.CreateTriggerRequest.trigger_launch_plan) + return trigger_launch_plan_; +} +inline void CreateTriggerRequest::set_allocated_trigger_launch_plan(::flyteidl::admin::LaunchPlan* trigger_launch_plan) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(trigger_launch_plan_); + } + if (trigger_launch_plan) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + trigger_launch_plan = ::google::protobuf::internal::GetOwnedMessage( + message_arena, trigger_launch_plan, submessage_arena); + } + + } else { + + } + trigger_launch_plan_ = trigger_launch_plan; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.CreateTriggerRequest.trigger_launch_plan) +} + +// ------------------------------------------------------------------- + +// CreateTriggerResponse + +// ------------------------------------------------------------------- + +// DeleteTriggerRequest + +// .flyteidl.core.Identifier trigger_id = 1; +inline bool DeleteTriggerRequest::has_trigger_id() const { + return this != internal_default_instance() && trigger_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& DeleteTriggerRequest::trigger_id() const { + const ::flyteidl::core::Identifier* p = trigger_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* DeleteTriggerRequest::release_trigger_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + + ::flyteidl::core::Identifier* temp = trigger_id_; + trigger_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* DeleteTriggerRequest::mutable_trigger_id() { + + if (trigger_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + trigger_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + return trigger_id_; +} +inline void DeleteTriggerRequest::set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(trigger_id_); + } + if (trigger_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + trigger_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, trigger_id, submessage_arena); + } + + } else { + + } + trigger_id_ = trigger_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.DeleteTriggerRequest.trigger_id) +} + +// ------------------------------------------------------------------- + +// DeleteTriggerResponse + +// ------------------------------------------------------------------- + +// ArtifactProducer + +// .flyteidl.core.Identifier entity_id = 1; +inline bool ArtifactProducer::has_entity_id() const { + return this != internal_default_instance() && entity_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& ArtifactProducer::entity_id() const { + const ::flyteidl::core::Identifier* p = entity_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactProducer.entity_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* ArtifactProducer::release_entity_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactProducer.entity_id) + + ::flyteidl::core::Identifier* temp = entity_id_; + entity_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* ArtifactProducer::mutable_entity_id() { + + if (entity_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + entity_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactProducer.entity_id) + return entity_id_; +} +inline void ArtifactProducer::set_allocated_entity_id(::flyteidl::core::Identifier* entity_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(entity_id_); + } + if (entity_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + entity_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, entity_id, submessage_arena); + } + + } else { + + } + entity_id_ = entity_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactProducer.entity_id) +} + +// .flyteidl.core.VariableMap outputs = 2; +inline bool ArtifactProducer::has_outputs() const { + return this != internal_default_instance() && outputs_ != nullptr; +} +inline const ::flyteidl::core::VariableMap& ArtifactProducer::outputs() const { + const ::flyteidl::core::VariableMap* p = outputs_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactProducer.outputs) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_VariableMap_default_instance_); +} +inline ::flyteidl::core::VariableMap* ArtifactProducer::release_outputs() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactProducer.outputs) + + ::flyteidl::core::VariableMap* temp = outputs_; + outputs_ = nullptr; + return temp; +} +inline ::flyteidl::core::VariableMap* ArtifactProducer::mutable_outputs() { + + if (outputs_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::VariableMap>(GetArenaNoVirtual()); + outputs_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactProducer.outputs) + return outputs_; +} +inline void ArtifactProducer::set_allocated_outputs(::flyteidl::core::VariableMap* 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.artifact.ArtifactProducer.outputs) +} + +// ------------------------------------------------------------------- + +// RegisterProducerRequest + +// repeated .flyteidl.artifact.ArtifactProducer producers = 1; +inline int RegisterProducerRequest::producers_size() const { + return producers_.size(); +} +inline void RegisterProducerRequest::clear_producers() { + producers_.Clear(); +} +inline ::flyteidl::artifact::ArtifactProducer* RegisterProducerRequest::mutable_producers(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.RegisterProducerRequest.producers) + return producers_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactProducer >* +RegisterProducerRequest::mutable_producers() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.artifact.RegisterProducerRequest.producers) + return &producers_; +} +inline const ::flyteidl::artifact::ArtifactProducer& RegisterProducerRequest::producers(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.RegisterProducerRequest.producers) + return producers_.Get(index); +} +inline ::flyteidl::artifact::ArtifactProducer* RegisterProducerRequest::add_producers() { + // @@protoc_insertion_point(field_add:flyteidl.artifact.RegisterProducerRequest.producers) + return producers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactProducer >& +RegisterProducerRequest::producers() const { + // @@protoc_insertion_point(field_list:flyteidl.artifact.RegisterProducerRequest.producers) + return producers_; +} + +// ------------------------------------------------------------------- + +// ArtifactConsumer + +// .flyteidl.core.Identifier entity_id = 1; +inline bool ArtifactConsumer::has_entity_id() const { + return this != internal_default_instance() && entity_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& ArtifactConsumer::entity_id() const { + const ::flyteidl::core::Identifier* p = entity_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactConsumer.entity_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* ArtifactConsumer::release_entity_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactConsumer.entity_id) + + ::flyteidl::core::Identifier* temp = entity_id_; + entity_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* ArtifactConsumer::mutable_entity_id() { + + if (entity_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + entity_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactConsumer.entity_id) + return entity_id_; +} +inline void ArtifactConsumer::set_allocated_entity_id(::flyteidl::core::Identifier* entity_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(entity_id_); + } + if (entity_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + entity_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, entity_id, submessage_arena); + } + + } else { + + } + entity_id_ = entity_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.ArtifactConsumer.entity_id) +} + +// .flyteidl.core.ParameterMap inputs = 2; +inline bool ArtifactConsumer::has_inputs() const { + return this != internal_default_instance() && inputs_ != nullptr; +} +inline const ::flyteidl::core::ParameterMap& ArtifactConsumer::inputs() const { + const ::flyteidl::core::ParameterMap* p = inputs_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ArtifactConsumer.inputs) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_ParameterMap_default_instance_); +} +inline ::flyteidl::core::ParameterMap* ArtifactConsumer::release_inputs() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ArtifactConsumer.inputs) + + ::flyteidl::core::ParameterMap* temp = inputs_; + inputs_ = nullptr; + return temp; +} +inline ::flyteidl::core::ParameterMap* ArtifactConsumer::mutable_inputs() { + + if (inputs_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::ParameterMap>(GetArenaNoVirtual()); + inputs_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ArtifactConsumer.inputs) + return inputs_; +} +inline void ArtifactConsumer::set_allocated_inputs(::flyteidl::core::ParameterMap* 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.artifact.ArtifactConsumer.inputs) +} + +// ------------------------------------------------------------------- + +// RegisterConsumerRequest + +// repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; +inline int RegisterConsumerRequest::consumers_size() const { + return consumers_.size(); +} +inline void RegisterConsumerRequest::clear_consumers() { + consumers_.Clear(); +} +inline ::flyteidl::artifact::ArtifactConsumer* RegisterConsumerRequest::mutable_consumers(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.RegisterConsumerRequest.consumers) + return consumers_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactConsumer >* +RegisterConsumerRequest::mutable_consumers() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.artifact.RegisterConsumerRequest.consumers) + return &consumers_; +} +inline const ::flyteidl::artifact::ArtifactConsumer& RegisterConsumerRequest::consumers(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.RegisterConsumerRequest.consumers) + return consumers_.Get(index); +} +inline ::flyteidl::artifact::ArtifactConsumer* RegisterConsumerRequest::add_consumers() { + // @@protoc_insertion_point(field_add:flyteidl.artifact.RegisterConsumerRequest.consumers) + return consumers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::artifact::ArtifactConsumer >& +RegisterConsumerRequest::consumers() const { + // @@protoc_insertion_point(field_list:flyteidl.artifact.RegisterConsumerRequest.consumers) + return consumers_; +} + +// ------------------------------------------------------------------- + +// RegisterResponse + +// ------------------------------------------------------------------- + +// ExecutionInputsRequest + +// .flyteidl.core.WorkflowExecutionIdentifier execution_id = 1; +inline bool ExecutionInputsRequest::has_execution_id() const { + return this != internal_default_instance() && execution_id_ != nullptr; +} +inline const ::flyteidl::core::WorkflowExecutionIdentifier& ExecutionInputsRequest::execution_id() const { + const ::flyteidl::core::WorkflowExecutionIdentifier* p = execution_id_; + // @@protoc_insertion_point(field_get:flyteidl.artifact.ExecutionInputsRequest.execution_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_WorkflowExecutionIdentifier_default_instance_); +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionInputsRequest::release_execution_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.ExecutionInputsRequest.execution_id) + + ::flyteidl::core::WorkflowExecutionIdentifier* temp = execution_id_; + execution_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::WorkflowExecutionIdentifier* ExecutionInputsRequest::mutable_execution_id() { + + if (execution_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::WorkflowExecutionIdentifier>(GetArenaNoVirtual()); + execution_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ExecutionInputsRequest.execution_id) + return execution_id_; +} +inline void ExecutionInputsRequest::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.artifact.ExecutionInputsRequest.execution_id) +} + +// repeated .flyteidl.core.ArtifactID inputs = 2; +inline int ExecutionInputsRequest::inputs_size() const { + return inputs_.size(); +} +inline ::flyteidl::core::ArtifactID* ExecutionInputsRequest::mutable_inputs(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.ExecutionInputsRequest.inputs) + return inputs_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* +ExecutionInputsRequest::mutable_inputs() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.artifact.ExecutionInputsRequest.inputs) + return &inputs_; +} +inline const ::flyteidl::core::ArtifactID& ExecutionInputsRequest::inputs(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.artifact.ExecutionInputsRequest.inputs) + return inputs_.Get(index); +} +inline ::flyteidl::core::ArtifactID* ExecutionInputsRequest::add_inputs() { + // @@protoc_insertion_point(field_add:flyteidl.artifact.ExecutionInputsRequest.inputs) + return inputs_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& +ExecutionInputsRequest::inputs() const { + // @@protoc_insertion_point(field_list:flyteidl.artifact.ExecutionInputsRequest.inputs) + return inputs_; +} + +// ------------------------------------------------------------------- + +// ExecutionInputsResponse + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace artifact +} // namespace flyteidl + +namespace google { +namespace protobuf { + +template <> struct is_proto_enum< ::flyteidl::artifact::FindByWorkflowExecRequest_Direction> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::artifact::FindByWorkflowExecRequest_Direction>() { + return ::flyteidl::artifact::FindByWorkflowExecRequest_Direction_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fartifact_2fartifacts_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 new file mode 100644 index 0000000000..7e2047e59d --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.cc @@ -0,0 +1,24 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/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 new file mode 100644 index 0000000000..ff4cbf1920 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.grpc.pb.h @@ -0,0 +1,47 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/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 new file mode 100644 index 0000000000..16b41157e4 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.cc @@ -0,0 +1,4252 @@ +// 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<2> scc_info_ArtifactID_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<2> scc_info_LabelValue_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; +namespace flyteidl { +namespace core { +class ArtifactKeyDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ArtifactKey_default_instance_; +class ArtifactBindingDataDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _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 ::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 ArtifactIDDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::core::Partitions* partitions_; +} _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_; +class TriggerDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Trigger_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<2> scc_info_LabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsLabelValue_flyteidl_2fcore_2fartifact_5fid_2eproto}, { + &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 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<2> scc_info_ArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsArtifactID_flyteidl_2fcore_2fartifact_5fid_2eproto}, { + &scc_info_ArtifactKey_flyteidl_2fcore_2fartifact_5fid_2eproto.base, + &scc_info_Partitions_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,}}; + +static void InitDefaultsTrigger_flyteidl_2fcore_2fartifact_5fid_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::core::_Trigger_default_instance_; + new (ptr) ::flyteidl::core::Trigger(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::core::Trigger::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_Trigger_flyteidl_2fcore_2fartifact_5fid_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsTrigger_flyteidl_2fcore_2fartifact_5fid_2eproto}, { + &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_ArtifactID_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_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::internal::InitSCC(&scc_info_Trigger_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_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, index_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, partition_key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactBindingData, transform_), + ~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, 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::ArtifactID, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, artifact_key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, version_), + offsetof(::flyteidl::core::ArtifactIDDefaultTypeInternal, partitions_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::ArtifactID, dimensions_), + ~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_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Trigger, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Trigger, trigger_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::core::Trigger, triggers_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::core::ArtifactKey)}, + { 8, -1, sizeof(::flyteidl::core::ArtifactBindingData)}, + { 16, -1, sizeof(::flyteidl::core::InputBindingData)}, + { 22, -1, sizeof(::flyteidl::core::LabelValue)}, + { 31, 38, sizeof(::flyteidl::core::Partitions_ValueEntry_DoNotUse)}, + { 40, -1, sizeof(::flyteidl::core::Partitions)}, + { 46, -1, sizeof(::flyteidl::core::ArtifactID)}, + { 55, -1, sizeof(::flyteidl::core::ArtifactTag)}, + { 62, -1, sizeof(::flyteidl::core::ArtifactQuery)}, + { 72, -1, sizeof(::flyteidl::core::Trigger)}, +}; + +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::_ArtifactID_default_instance_), + reinterpret_cast(&::flyteidl::core::_ArtifactTag_default_instance_), + reinterpret_cast(&::flyteidl::core::_ArtifactQuery_default_instance_), + reinterpret_cast(&::flyteidl::core::_Trigger_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\036flyteidl/core/identifier.proto" + "\"<\n\013ArtifactKey\022\017\n\007project\030\001 \001(\t\022\016\n\006doma" + "in\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"N\n\023ArtifactBindin" + "gData\022\r\n\005index\030\001 \001(\r\022\025\n\rpartition_key\030\002 " + "\001(\t\022\021\n\ttransform\030\003 \001(\t\"\037\n\020InputBindingDa" + "ta\022\013\n\003var\030\001 \001(\t\"\250\001\n\nLabelValue\022\026\n\014static" + "_value\030\001 \001(\tH\000\022\?\n\021triggered_binding\030\002 \001(" + "\0132\".flyteidl.core.ArtifactBindingDataH\000\022" + "8\n\rinput_binding\030\003 \001(\0132\037.flyteidl.core.I" + "nputBindingDataH\000B\007\n\005value\"\212\001\n\nPartition" + "s\0223\n\005value\030\001 \003(\0132$.flyteidl.core.Partiti" + "ons.ValueEntry\032G\n\nValueEntry\022\013\n\003key\030\001 \001(" + "\t\022(\n\005value\030\002 \001(\0132\031.flyteidl.core.LabelVa" + "lue:\0028\001\"\216\001\n\nArtifactID\0220\n\014artifact_key\030\001" + " \001(\0132\032.flyteidl.core.ArtifactKey\022\017\n\007vers" + "ion\030\002 \001(\t\022/\n\npartitions\030\003 \001(\0132\031.flyteidl" + ".core.PartitionsH\000B\014\n\ndimensions\"i\n\013Arti" + "factTag\0220\n\014artifact_key\030\001 \001(\0132\032.flyteidl" + ".core.ArtifactKey\022(\n\005value\030\002 \001(\0132\031.flyte" + "idl.core.LabelValue\"\311\001\n\rArtifactQuery\0220\n" + "\013artifact_id\030\001 \001(\0132\031.flyteidl.core.Artif" + "actIDH\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\007bi" + "nding\030\004 \001(\0132\".flyteidl.core.ArtifactBind" + "ingDataH\000B\014\n\nidentifier\"e\n\007Trigger\022-\n\ntr" + "igger_id\030\001 \001(\0132\031.flyteidl.core.Identifie" + "r\022+\n\010triggers\030\002 \003(\0132\031.flyteidl.core.Arti" + "factIDB= 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() { +} +class ArtifactBindingData::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactBindingData::kIndexFieldNumber; +const int ArtifactBindingData::kPartitionKeyFieldNumber; +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_); + partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.partition_key().size() > 0) { + partition_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.partition_key_); + } + transform_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.transform().size() > 0) { + transform_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transform_); + } + index_ = from.index_; + // @@protoc_insertion_point(copy_constructor:flyteidl.core.ArtifactBindingData) +} + +void ArtifactBindingData::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ArtifactBindingData_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + transform_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + index_ = 0u; +} + +ArtifactBindingData::~ArtifactBindingData() { + // @@protoc_insertion_point(destructor:flyteidl.core.ArtifactBindingData) + SharedDtor(); +} + +void ArtifactBindingData::SharedDtor() { + partition_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + transform_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +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() { +// @@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; + + partition_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + transform_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + index_ = 0u; + _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; + } + // string transform = 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.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; + } + + // string transform = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 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 (this->partition_key().size() > 0) { + ::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); + } + + // string transform = 3; + 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( + 3, 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 (this->partition_key().size() > 0) { + ::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); + } + + // string transform = 3; + 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( + 3, 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 partition_key = 2; + if (this->partition_key().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->partition_key()); + } + + // string transform = 3; + 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()); + } + + 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.partition_key().size() > 0) { + + partition_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.partition_key_); + } + if (from.transform().size() > 0) { + + transform_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transform_); + } + if (from.index() != 0) { + set_index(from.index()); + } +} + +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_); + partition_key_.Swap(&other->partition_key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + transform_.Swap(&other->transform_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(index_, other->index_); +} + +::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_.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 ::flyteidl::core::ArtifactBindingData& triggered_binding(const LabelValue* msg); + static const ::flyteidl::core::InputBindingData& input_binding(const LabelValue* msg); +}; + +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_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::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 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 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; + } + // .flyteidl.core.ArtifactBindingData triggered_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::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 = 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::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; + } + + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_triggered_binding())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.InputBindingData input_binding = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 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); + } + + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + if (has_triggered_binding()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::triggered_binding(this), output); + } + + // .flyteidl.core.InputBindingData input_binding = 3; + if (has_input_binding()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, 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); + } + + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + if (has_triggered_binding()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::triggered_binding(this), target); + } + + // .flyteidl.core.InputBindingData input_binding = 3; + if (has_input_binding()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, 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; + } + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + case kTriggeredBinding: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *value_.triggered_binding_); + break; + } + // .flyteidl.core.InputBindingData input_binding = 3; + 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 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 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_.partitions_ = const_cast< ::flyteidl::core::Partitions*>( + ::flyteidl::core::Partitions::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); +}; + +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->dimensions_.partitions_; +} +void ArtifactID::set_allocated_partitions(::flyteidl::core::Partitions* partitions) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_dimensions(); + if (partitions) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + partitions = ::google::protobuf::internal::GetOwnedMessage( + message_arena, partitions, submessage_arena); + } + set_has_partitions(); + dimensions_.partitions_ = partitions; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactID.partitions) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ArtifactID::kArtifactKeyFieldNumber; +const int ArtifactID::kVersionFieldNumber; +const int ArtifactID::kPartitionsFieldNumber; +#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; + } + clear_has_dimensions(); + switch (from.dimensions_case()) { + case kPartitions: { + mutable_partitions()->::flyteidl::core::Partitions::MergeFrom(from.partitions()); + break; + } + case DIMENSIONS_NOT_SET: { + break; + } + } + // @@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()); + artifact_key_ = nullptr; + clear_has_dimensions(); +} + +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 (has_dimensions()) { + clear_dimensions(); + } +} + +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_dimensions() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.core.ArtifactID) + switch (dimensions_case()) { + case kPartitions: { + delete dimensions_.partitions_; + break; + } + case DIMENSIONS_NOT_SET: { + break; + } + } + _oneof_case_[0] = DIMENSIONS_NOT_SET; +} + + +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; + clear_dimensions(); + _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; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_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; + } + + default: { + handle_unusual: + if (tag == 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 (has_partitions()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::partitions(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 (has_partitions()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::partitions(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_); + } + + switch (dimensions_case()) { + // .flyteidl.core.Partitions partitions = 3; + case kPartitions: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *dimensions_.partitions_); + break; + } + case DIMENSIONS_NOT_SET: { + break; + } + } + 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()); + } + switch (from.dimensions_case()) { + case kPartitions: { + mutable_partitions()->::flyteidl::core::Partitions::MergeFrom(from.partitions()); + break; + } + case DIMENSIONS_NOT_SET: { + break; + } + } +} + +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(dimensions_, other->dimensions_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::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]; +} + + +// =================================================================== + +void Trigger::InitAsDefaultInstance() { + ::flyteidl::core::_Trigger_default_instance_._instance.get_mutable()->trigger_id_ = const_cast< ::flyteidl::core::Identifier*>( + ::flyteidl::core::Identifier::internal_default_instance()); +} +class Trigger::HasBitSetters { + public: + static const ::flyteidl::core::Identifier& trigger_id(const Trigger* msg); +}; + +const ::flyteidl::core::Identifier& +Trigger::HasBitSetters::trigger_id(const Trigger* msg) { + return *msg->trigger_id_; +} +void Trigger::clear_trigger_id() { + if (GetArenaNoVirtual() == nullptr && trigger_id_ != nullptr) { + delete trigger_id_; + } + trigger_id_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Trigger::kTriggerIdFieldNumber; +const int Trigger::kTriggersFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Trigger::Trigger() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.core.Trigger) +} +Trigger::Trigger(const Trigger& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + triggers_(from.triggers_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_trigger_id()) { + trigger_id_ = new ::flyteidl::core::Identifier(*from.trigger_id_); + } else { + trigger_id_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.core.Trigger) +} + +void Trigger::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_Trigger_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + trigger_id_ = nullptr; +} + +Trigger::~Trigger() { + // @@protoc_insertion_point(destructor:flyteidl.core.Trigger) + SharedDtor(); +} + +void Trigger::SharedDtor() { + if (this != internal_default_instance()) delete trigger_id_; +} + +void Trigger::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const Trigger& Trigger::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_Trigger_flyteidl_2fcore_2fartifact_5fid_2eproto.base); + return *internal_default_instance(); +} + + +void Trigger::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.core.Trigger) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + triggers_.Clear(); + if (GetArenaNoVirtual() == nullptr && trigger_id_ != nullptr) { + delete trigger_id_; + } + trigger_id_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* Trigger::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)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 trigger_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_trigger_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 triggers = 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::ArtifactID::_InternalParse; + object = msg->add_triggers(); + 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 Trigger::MergePartialFromCodedStream( + ::google::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.Trigger) + for (;;) { + ::std::pair<::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 trigger_id = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_trigger_id())); + } else { + goto handle_unusual; + } + break; + } + + // repeated .flyteidl.core.ArtifactID triggers = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_triggers())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 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.Trigger) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.core.Trigger) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void Trigger::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.core.Trigger) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::trigger_id(this), output); + } + + // repeated .flyteidl.core.ArtifactID triggers = 2; + for (unsigned int i = 0, + n = static_cast(this->triggers_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, + this->triggers(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.Trigger) +} + +::google::protobuf::uint8* Trigger::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.core.Trigger) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::trigger_id(this), target); + } + + // repeated .flyteidl.core.ArtifactID triggers = 2; + for (unsigned int i = 0, + n = static_cast(this->triggers_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, this->triggers(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.Trigger) + return target; +} + +size_t Trigger::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.core.Trigger) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _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 triggers = 2; + { + unsigned int count = static_cast(this->triggers_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSize( + this->triggers(static_cast(i))); + } + } + + // .flyteidl.core.Identifier trigger_id = 1; + if (this->has_trigger_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *trigger_id_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Trigger::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.core.Trigger) + GOOGLE_DCHECK_NE(&from, this); + const Trigger* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.core.Trigger) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.core.Trigger) + MergeFrom(*source); + } +} + +void Trigger::MergeFrom(const Trigger& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.core.Trigger) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + triggers_.MergeFrom(from.triggers_); + if (from.has_trigger_id()) { + mutable_trigger_id()->::flyteidl::core::Identifier::MergeFrom(from.trigger_id()); + } +} + +void Trigger::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.core.Trigger) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Trigger::CopyFrom(const Trigger& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.core.Trigger) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Trigger::IsInitialized() const { + return true; +} + +void Trigger::Swap(Trigger* other) { + if (other == this) return; + InternalSwap(other); +} +void Trigger::InternalSwap(Trigger* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&triggers_)->InternalSwap(CastToBase(&other->triggers_)); + swap(trigger_id_, other->trigger_id_); +} + +::google::protobuf::Metadata Trigger::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::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); +} +template<> PROTOBUF_NOINLINE ::flyteidl::core::Trigger* Arena::CreateMaybeMessage< ::flyteidl::core::Trigger >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::core::Trigger >(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 new file mode 100644 index 0000000000..12c9cbd59f --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/core/artifact_id.pb.h @@ -0,0 +1,2573 @@ +// 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 "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 Trigger; +class TriggerDefaultTypeInternal; +extern TriggerDefaultTypeInternal _Trigger_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::Trigger* Arena::CreateMaybeMessage<::flyteidl::core::Trigger>(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(); + + 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 partition_key = 2; + 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); + + // string transform = 3; + void clear_transform(); + static const int kTransformFieldNumber = 3; + 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); + + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactBindingData) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr partition_key_; + ::google::protobuf::internal::ArenaStringPtr transform_; + ::google::protobuf::uint32 index_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + 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, + kTriggeredBinding = 2, + kInputBinding = 3, + 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); + + // .flyteidl.core.ArtifactBindingData triggered_binding = 2; + bool has_triggered_binding() const; + void clear_triggered_binding(); + static const int kTriggeredBindingFieldNumber = 2; + 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 = 3; + bool has_input_binding() const; + void clear_input_binding(); + static const int kInputBindingFieldNumber = 3; + 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_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_; + ::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 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(); + + enum DimensionsCase { + kPartitions = 3, + DIMENSIONS_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ArtifactID* internal_default_instance() { + return reinterpret_cast( + &_ArtifactID_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + 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); + + void clear_dimensions(); + DimensionsCase dimensions_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.core.ArtifactID) + private: + class HasBitSetters; + void set_has_partitions(); + + inline bool has_dimensions() const; + inline void clear_has_dimensions(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr version_; + ::flyteidl::core::ArtifactKey* artifact_key_; + union DimensionsUnion { + DimensionsUnion() {} + ::flyteidl::core::Partitions* partitions_; + } dimensions_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + 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 = + 7; + + 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 = + 8; + + 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; +}; +// ------------------------------------------------------------------- + +class Trigger final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.core.Trigger) */ { + public: + Trigger(); + virtual ~Trigger(); + + Trigger(const Trigger& from); + + inline Trigger& operator=(const Trigger& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Trigger(Trigger&& from) noexcept + : Trigger() { + *this = ::std::move(from); + } + + inline Trigger& operator=(Trigger&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const Trigger& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Trigger* internal_default_instance() { + return reinterpret_cast( + &_Trigger_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + void Swap(Trigger* other); + friend void swap(Trigger& a, Trigger& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Trigger* New() const final { + return CreateMaybeMessage(nullptr); + } + + Trigger* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const Trigger& from); + void MergeFrom(const Trigger& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Trigger* other); + private: + 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 triggers = 2; + int triggers_size() const; + void clear_triggers(); + static const int kTriggersFieldNumber = 2; + ::flyteidl::core::ArtifactID* mutable_triggers(int index); + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* + mutable_triggers(); + const ::flyteidl::core::ArtifactID& triggers(int index) const; + ::flyteidl::core::ArtifactID* add_triggers(); + const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& + triggers() const; + + // .flyteidl.core.Identifier trigger_id = 1; + bool has_trigger_id() const; + void clear_trigger_id(); + static const int kTriggerIdFieldNumber = 1; + const ::flyteidl::core::Identifier& trigger_id() const; + ::flyteidl::core::Identifier* release_trigger_id(); + ::flyteidl::core::Identifier* mutable_trigger_id(); + void set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id); + + // @@protoc_insertion_point(class_scope:flyteidl.core.Trigger) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > triggers_; + ::flyteidl::core::Identifier* trigger_id_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + 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 void ArtifactBindingData::clear_partition_key() { + partition_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ArtifactBindingData::partition_key() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactBindingData.partition_key) + return partition_key_.GetNoArena(); +} +inline void ArtifactBindingData::set_partition_key(const ::std::string& value) { + + 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) { + + 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); + + 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) { + + 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() { + + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactBindingData.partition_key) + return partition_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ArtifactBindingData::release_partition_key() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactBindingData.partition_key) + + return partition_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ArtifactBindingData::set_allocated_partition_key(::std::string* partition_key) { + if (partition_key != nullptr) { + + } else { + + } + partition_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), partition_key); + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.ArtifactBindingData.partition_key) +} + +// string transform = 3; +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) +} + +// ------------------------------------------------------------------- + +// 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) +} + +// .flyteidl.core.ArtifactBindingData triggered_binding = 2; +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 = 3; +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(); +} + +// ------------------------------------------------------------------- + +// 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 dimensions_case() == kPartitions; +} +inline void ArtifactID::set_has_partitions() { + _oneof_case_[0] = kPartitions; +} +inline void ArtifactID::clear_partitions() { + if (has_partitions()) { + delete dimensions_.partitions_; + clear_has_dimensions(); + } +} +inline ::flyteidl::core::Partitions* ArtifactID::release_partitions() { + // @@protoc_insertion_point(field_release:flyteidl.core.ArtifactID.partitions) + if (has_partitions()) { + clear_has_dimensions(); + ::flyteidl::core::Partitions* temp = dimensions_.partitions_; + dimensions_.partitions_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::core::Partitions& ArtifactID::partitions() const { + // @@protoc_insertion_point(field_get:flyteidl.core.ArtifactID.partitions) + return has_partitions() + ? *dimensions_.partitions_ + : *reinterpret_cast< ::flyteidl::core::Partitions*>(&::flyteidl::core::_Partitions_default_instance_); +} +inline ::flyteidl::core::Partitions* ArtifactID::mutable_partitions() { + if (!has_partitions()) { + clear_dimensions(); + set_has_partitions(); + dimensions_.partitions_ = CreateMaybeMessage< ::flyteidl::core::Partitions >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.ArtifactID.partitions) + return dimensions_.partitions_; +} + +inline bool ArtifactID::has_dimensions() const { + return dimensions_case() != DIMENSIONS_NOT_SET; +} +inline void ArtifactID::clear_has_dimensions() { + _oneof_case_[0] = DIMENSIONS_NOT_SET; +} +inline ArtifactID::DimensionsCase ArtifactID::dimensions_case() const { + return ArtifactID::DimensionsCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// 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]); +} +// ------------------------------------------------------------------- + +// Trigger + +// .flyteidl.core.Identifier trigger_id = 1; +inline bool Trigger::has_trigger_id() const { + return this != internal_default_instance() && trigger_id_ != nullptr; +} +inline const ::flyteidl::core::Identifier& Trigger::trigger_id() const { + const ::flyteidl::core::Identifier* p = trigger_id_; + // @@protoc_insertion_point(field_get:flyteidl.core.Trigger.trigger_id) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_Identifier_default_instance_); +} +inline ::flyteidl::core::Identifier* Trigger::release_trigger_id() { + // @@protoc_insertion_point(field_release:flyteidl.core.Trigger.trigger_id) + + ::flyteidl::core::Identifier* temp = trigger_id_; + trigger_id_ = nullptr; + return temp; +} +inline ::flyteidl::core::Identifier* Trigger::mutable_trigger_id() { + + if (trigger_id_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); + trigger_id_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.core.Trigger.trigger_id) + return trigger_id_; +} +inline void Trigger::set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(trigger_id_); + } + if (trigger_id) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + trigger_id = ::google::protobuf::internal::GetOwnedMessage( + message_arena, trigger_id, submessage_arena); + } + + } else { + + } + trigger_id_ = trigger_id; + // @@protoc_insertion_point(field_set_allocated:flyteidl.core.Trigger.trigger_id) +} + +// repeated .flyteidl.core.ArtifactID triggers = 2; +inline int Trigger::triggers_size() const { + return triggers_.size(); +} +inline void Trigger::clear_triggers() { + triggers_.Clear(); +} +inline ::flyteidl::core::ArtifactID* Trigger::mutable_triggers(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.core.Trigger.triggers) + return triggers_.Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* +Trigger::mutable_triggers() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.core.Trigger.triggers) + return &triggers_; +} +inline const ::flyteidl::core::ArtifactID& Trigger::triggers(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.core.Trigger.triggers) + return triggers_.Get(index); +} +inline ::flyteidl::core::ArtifactID* Trigger::add_triggers() { + // @@protoc_insertion_point(field_add:flyteidl.core.Trigger.triggers) + return triggers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& +Trigger::triggers() const { + // @@protoc_insertion_point(field_list:flyteidl.core.Trigger.triggers) + return triggers_; +} + +#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/condition.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.cc index 6c2e9400eb..e3d506cdf1 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/core/condition.pb.cc @@ -19,8 +19,8 @@ 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; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto; namespace flyteidl { namespace core { class ComparisonExpressionDefaultTypeInternal { diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc index 8111e44ed6..96e2d13b02 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.cc @@ -16,12 +16,15 @@ // @@protoc_insertion_point(includes) #include +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fartifact_5fid_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ArtifactID_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_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<1> scc_info_Variable_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2finterface_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_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 { @@ -46,6 +49,8 @@ class ParameterDefaultTypeInternal { ::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: @@ -68,9 +73,11 @@ static void InitDefaultsVariable_flyteidl_2fcore_2finterface_2eproto() { ::flyteidl::core::Variable::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<1> scc_info_Variable_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsVariable_flyteidl_2fcore_2finterface_2eproto}, { - &scc_info_LiteralType_flyteidl_2fcore_2ftypes_2eproto.base,}}; +::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; @@ -127,10 +134,12 @@ static void InitDefaultsParameter_flyteidl_2fcore_2finterface_2eproto() { ::flyteidl::core::Parameter::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<2> scc_info_Parameter_flyteidl_2fcore_2finterface_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsParameter_flyteidl_2fcore_2finterface_2eproto}, { +::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_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; @@ -183,6 +192,8 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2finterface_2eproto ~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_ @@ -213,6 +224,8 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2finterface_2eproto 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_), @@ -232,12 +245,12 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2finterface_2eproto }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::flyteidl::core::Variable)}, - { 7, 14, sizeof(::flyteidl::core::VariableMap_VariablesEntry_DoNotUse)}, - { 16, -1, sizeof(::flyteidl::core::VariableMap)}, - { 22, -1, sizeof(::flyteidl::core::TypedInterface)}, - { 29, -1, sizeof(::flyteidl::core::Parameter)}, - { 38, 45, sizeof(::flyteidl::core::ParameterMap_ParametersEntry_DoNotUse)}, - { 47, -1, sizeof(::flyteidl::core::ParameterMap)}, + { 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[] = { @@ -259,38 +272,45 @@ ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_fl 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\"I\n\010Variable\022(\n\004t" - "ype\030\001 \001(\0132\032.flyteidl.core.LiteralType\022\023\n" - "\013description\030\002 \001(\t\"\226\001\n\013VariableMap\022<\n\tva" - "riables\030\001 \003(\0132).flyteidl.core.VariableMa" - "p.VariablesEntry\032I\n\016VariablesEntry\022\013\n\003ke" - "y\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.flyteidl.core.V" - "ariable:\0028\001\"i\n\016TypedInterface\022*\n\006inputs\030" - "\001 \001(\0132\032.flyteidl.core.VariableMap\022+\n\007out" - "puts\030\002 \001(\0132\032.flyteidl.core.VariableMap\"|" - "\n\tParameter\022$\n\003var\030\001 \001(\0132\027.flyteidl.core" - ".Variable\022)\n\007default\030\002 \001(\0132\026.flyteidl.co" - "re.LiteralH\000\022\022\n\010required\030\003 \001(\010H\000B\n\n\010beha" - "vior\"\234\001\n\014ParameterMap\022\?\n\nparameters\030\001 \003(" - "\0132+.flyteidl.core.ParameterMap.Parameter" - "sEntry\032K\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022\'" - "\n\005value\030\002 \001(\0132\030.flyteidl.core.Parameter:" - "\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() @@ -342,6 +390,16 @@ Variable::Variable(const Variable& from) } 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) } @@ -349,7 +407,9 @@ void Variable::SharedCtor() { ::google::protobuf::internal::InitSCC( &scc_info_Variable_flyteidl_2fcore_2finterface_2eproto.base); description_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - type_ = nullptr; + ::memset(&type_, 0, static_cast( + reinterpret_cast(&artifact_tag_) - + reinterpret_cast(&type_)) + sizeof(artifact_tag_)); } Variable::~Variable() { @@ -360,6 +420,8 @@ Variable::~Variable() { 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 { @@ -382,6 +444,14 @@ void Variable::Clear() { 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(); } @@ -427,6 +497,32 @@ const char* Variable::_InternalParse(const char* begin, const char* end, void* o 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) { @@ -487,6 +583,28 @@ bool Variable::MergePartialFromCodedStream( 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) { @@ -530,6 +648,18 @@ void Variable::SerializeWithCachedSizes( 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); @@ -561,6 +691,20 @@ ::google::protobuf::uint8* Variable::InternalSerializeWithCachedSizesToArray( 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); @@ -596,6 +740,20 @@ size_t Variable::ByteSizeLong() const { *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; @@ -630,6 +788,12 @@ void Variable::MergeFrom(const Variable& from) { 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) { @@ -660,6 +824,8 @@ void Variable::InternalSwap(Variable* other) { 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 { @@ -1438,11 +1604,17 @@ void Parameter::InitAsDefaultInstance() { ::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& @@ -1453,6 +1625,14 @@ 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(); @@ -1473,10 +1653,52 @@ void Parameter::clear_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() @@ -1503,6 +1725,14 @@ Parameter::Parameter(const Parameter& from) 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; } @@ -1549,6 +1779,14 @@ void Parameter::clear_behavior() { // No need to clear break; } + case kArtifactQuery: { + delete behavior_.artifact_query_; + break; + } + case kArtifactId: { + delete behavior_.artifact_id_; + break; + } case BEHAVIOR_NOT_SET: { break; } @@ -1617,6 +1855,32 @@ const char* Parameter::_InternalParse(const char* begin, const char* end, void* 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) { @@ -1683,6 +1947,28 @@ bool Parameter::MergePartialFromCodedStream( 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) { @@ -1727,6 +2013,18 @@ void Parameter::SerializeWithCachedSizes( ::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); @@ -1759,6 +2057,20 @@ ::google::protobuf::uint8* Parameter::InternalSerializeWithCachedSizesToArray( 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); @@ -1800,6 +2112,20 @@ size_t Parameter::ByteSizeLong() const { 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; } @@ -1843,6 +2169,14 @@ void Parameter::MergeFrom(const Parameter& from) { 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; } diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h index 91e935e086..db01d703d8 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/core/interface.pb.h @@ -36,6 +36,7 @@ #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 @@ -212,6 +213,24 @@ class Variable final : ::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; @@ -219,6 +238,8 @@ class Variable final : ::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; }; @@ -529,6 +550,8 @@ class Parameter final : enum BehaviorCase { kDefault = 2, kRequired = 3, + kArtifactQuery = 4, + kArtifactId = 5, BEHAVIOR_NOT_SET = 0, }; @@ -622,6 +645,24 @@ class Parameter final : 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) @@ -629,6 +670,8 @@ class Parameter final : 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(); @@ -639,6 +682,8 @@ class Parameter final : 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]; @@ -899,6 +944,96 @@ inline void Variable::set_allocated_description(::std::string* 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) +} + // ------------------------------------------------------------------- // ------------------------------------------------------------------- @@ -1148,6 +1283,76 @@ inline void Parameter::set_required(bool 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; } diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc index ccc48f7d9e..c6ccc044a3 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.cc @@ -17,7 +17,9 @@ #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; @@ -26,7 +28,6 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::pro 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_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_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; @@ -92,6 +93,10 @@ class ScalarDefaultTypeInternal { 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; @@ -268,6 +273,19 @@ ::google::protobuf::internal::SCCInfo<1> scc_info_StructuredDataset_flyteidl_2fc {{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; @@ -308,8 +326,9 @@ static void InitDefaultsLiteral_flyteidl_2fcore_2fliterals_2eproto() { ::flyteidl::core::LiteralMap::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<9> scc_info_Literal_flyteidl_2fcore_2fliterals_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 9, InitDefaultsLiteral_flyteidl_2fcore_2fliterals_2eproto}, { +::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, @@ -421,6 +440,7 @@ void InitDefaults_flyteidl_2fcore_2fliterals_2eproto() { ::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); @@ -429,7 +449,7 @@ void InitDefaults_flyteidl_2fcore_2fliterals_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_RetryStrategy_flyteidl_2fcore_2fliterals_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[22]; +::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; @@ -513,6 +533,15 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fliterals_2eproto: 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_ @@ -522,6 +551,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fcore_2fliterals_2eproto: 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_), @@ -614,18 +644,19 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 51, -1, sizeof(::flyteidl::core::StructuredDatasetMetadata)}, { 57, -1, sizeof(::flyteidl::core::StructuredDataset)}, { 64, -1, sizeof(::flyteidl::core::Scalar)}, - { 79, -1, sizeof(::flyteidl::core::Literal)}, - { 89, -1, sizeof(::flyteidl::core::LiteralCollection)}, - { 95, 102, sizeof(::flyteidl::core::LiteralMap_LiteralsEntry_DoNotUse)}, - { 104, -1, sizeof(::flyteidl::core::LiteralMap)}, - { 110, -1, sizeof(::flyteidl::core::BindingDataCollection)}, - { 116, 123, sizeof(::flyteidl::core::BindingDataMap_BindingsEntry_DoNotUse)}, - { 125, -1, sizeof(::flyteidl::core::BindingDataMap)}, - { 131, -1, sizeof(::flyteidl::core::UnionInfo)}, - { 137, -1, sizeof(::flyteidl::core::BindingData)}, - { 148, -1, sizeof(::flyteidl::core::Binding)}, - { 155, -1, sizeof(::flyteidl::core::KeyValuePair)}, - { 162, -1, sizeof(::flyteidl::core::RetryStrategy)}, + { 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[] = { @@ -639,6 +670,7 @@ static ::google::protobuf::Message const * const file_default_instances[] = { 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_), @@ -656,7 +688,7 @@ static ::google::protobuf::Message const * const file_default_instances[] = { ::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, 22, file_level_enum_descriptors_flyteidl_2fcore_2fliterals_2eproto, file_level_service_descriptors_flyteidl_2fcore_2fliterals_2eproto, + 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[] = @@ -692,41 +724,44 @@ const char descriptor_table_protodef_flyteidl_2fcore_2fliterals_2eproto[] = "(\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\"\253\001\n\007Literal\022\'\n\006sca" + "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(\tB\007\n\005value\"=\n\021L" - "iteralCollection\022(\n\010literals\030\001 \003(\0132\026.fly" - "teidl.core.Literal\"\220\001\n\nLiteralMap\0229\n\010lit" - "erals\030\001 \003(\0132\'.flyteidl.core.LiteralMap.L" - "iteralsEntry\032G\n\rLiteralsEntry\022\013\n\003key\030\001 \001" - "(\t\022%\n\005value\030\002 \001(\0132\026.flyteidl.core.Litera" - "l:\0028\001\"E\n\025BindingDataCollection\022,\n\010bindin" - "gs\030\001 \003(\0132\032.flyteidl.core.BindingData\"\234\001\n" - "\016BindingDataMap\022=\n\010bindings\030\001 \003(\0132+.flyt" - "eidl.core.BindingDataMap.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\tU" - "nionInfo\022.\n\ntargetType\030\001 \001(\0132\032.flyteidl." - "core.LiteralType\"\205\002\n\013BindingData\022\'\n\006scal" - "ar\030\001 \001(\0132\025.flyteidl.core.ScalarH\000\022:\n\ncol" - "lection\030\002 \001(\0132$.flyteidl.core.BindingDat" - "aCollectionH\000\0221\n\007promise\030\003 \001(\0132\036.flyteid" - "l.core.OutputReferenceH\000\022,\n\003map\030\004 \001(\0132\035." - "flyteidl.core.BindingDataMapH\000\022\'\n\005union\030" - "\005 \001(\0132\030.flyteidl.core.UnionInfoB\007\n\005value" - "\"C\n\007Binding\022\013\n\003var\030\001 \001(\t\022+\n\007binding\030\002 \001(" - "\0132\032.flyteidl.core.BindingData\"*\n\014KeyValu" - "ePair\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\" \n\rRet" - "ryStrategy\022\017\n\007retries\030\005 \001(\rB; + 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() { @@ -5055,6 +5131,7 @@ 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() @@ -5066,6 +5143,7 @@ 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_); @@ -5148,6 +5226,7 @@ void Literal::Clear() { // 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(); @@ -5221,6 +5300,25 @@ const char* Literal::_InternalParse(const char* begin, const char* end, void* ob 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) { @@ -5303,6 +5401,32 @@ bool Literal::MergePartialFromCodedStream( 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) { @@ -5358,6 +5482,55 @@ void Literal::SerializeWithCachedSizes( 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); @@ -5403,6 +5576,55 @@ ::google::protobuf::uint8* Literal::InternalSerializeWithCachedSizesToArray( 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); @@ -5424,6 +5646,20 @@ size_t Literal::ByteSizeLong() const { // 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 + @@ -5484,6 +5720,7 @@ void Literal::MergeFrom(const Literal& from) { ::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_); @@ -5532,6 +5769,7 @@ void Literal::Swap(Literal* 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_); @@ -5834,7 +6072,7 @@ void LiteralMap_LiteralsEntry_DoNotUse::MergeFrom(const LiteralMap_LiteralsEntry } ::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[12]; + return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[13]; } void LiteralMap_LiteralsEntry_DoNotUse::MergeFrom( const ::google::protobuf::Message& other) { @@ -6521,7 +6759,7 @@ void BindingDataMap_BindingsEntry_DoNotUse::MergeFrom(const BindingDataMap_Bindi } ::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[15]; + return ::file_level_metadata_flyteidl_2fcore_2fliterals_2eproto[16]; } void BindingDataMap_BindingsEntry_DoNotUse::MergeFrom( const ::google::protobuf::Message& other) { @@ -8879,6 +9117,9 @@ template<> PROTOBUF_NOINLINE ::flyteidl::core::StructuredDataset* Arena::CreateM 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); } diff --git a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h b/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h index ebb369623b..e167eef934 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/core/literals.pb.h @@ -48,7 +48,7 @@ struct TableStruct_flyteidl_2fcore_2fliterals_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[22] + 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[]; @@ -96,6 +96,9 @@ 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_; @@ -140,6 +143,7 @@ template<> ::flyteidl::core::Literal* Arena::CreateMaybeMessage<::flyteidl::core 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*); @@ -1567,6 +1571,30 @@ class Scalar final : }; // ------------------------------------------------------------------- +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: @@ -1612,7 +1640,7 @@ class Literal final : &_Literal_default_instance_); } static constexpr int kIndexInFileMessages = - 10; + 11; void Swap(Literal* other); friend void swap(Literal& a, Literal& b) { @@ -1667,8 +1695,18 @@ class Literal 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; @@ -1723,6 +1761,12 @@ class Literal final : 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() {} @@ -1775,7 +1819,7 @@ class LiteralCollection final : &_LiteralCollection_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 12; void Swap(LiteralCollection* other); friend void swap(LiteralCollection& a, LiteralCollection& b) { @@ -1917,7 +1961,7 @@ class LiteralMap final : &_LiteralMap_default_instance_); } static constexpr int kIndexInFileMessages = - 13; + 14; void Swap(LiteralMap* other); friend void swap(LiteralMap& a, LiteralMap& b) { @@ -2038,7 +2082,7 @@ class BindingDataCollection final : &_BindingDataCollection_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 15; void Swap(BindingDataCollection* other); friend void swap(BindingDataCollection& a, BindingDataCollection& b) { @@ -2180,7 +2224,7 @@ class BindingDataMap final : &_BindingDataMap_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 17; void Swap(BindingDataMap* other); friend void swap(BindingDataMap& a, BindingDataMap& b) { @@ -2301,7 +2345,7 @@ class UnionInfo final : &_UnionInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 18; void Swap(UnionInfo* other); friend void swap(UnionInfo& a, UnionInfo& b) { @@ -2424,7 +2468,7 @@ class BindingData final : &_BindingData_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 19; void Swap(BindingData* other); friend void swap(BindingData& a, BindingData& b) { @@ -2593,7 +2637,7 @@ class Binding final : &_Binding_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 20; void Swap(Binding* other); friend void swap(Binding& a, Binding& b) { @@ -2723,7 +2767,7 @@ class KeyValuePair final : &_KeyValuePair_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 21; void Swap(KeyValuePair* other); friend void swap(KeyValuePair& a, KeyValuePair& b) { @@ -2858,7 +2902,7 @@ class RetryStrategy final : &_RetryStrategy_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 22; void Swap(RetryStrategy* other); friend void swap(RetryStrategy& a, RetryStrategy& b) { @@ -4201,6 +4245,8 @@ inline Scalar::ValueCase Scalar::value_case() const { } // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // Literal // .flyteidl.core.Scalar scalar = 1; @@ -4379,6 +4425,24 @@ inline void Literal::set_allocated_hash(::std::string* 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; } @@ -5056,6 +5120,8 @@ inline void RetryStrategy::set_retries(::google::protobuf::uint32 value) { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc index 7c60a37e4e..dbd20da087 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/datacatalog/datacatalog.pb.cc @@ -16,7 +16,7 @@ // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_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_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; diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.cc new file mode 100644 index 0000000000..dd34f52276 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.cc @@ -0,0 +1,24 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/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 new file mode 100644 index 0000000000..3572885d64 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.grpc.pb.h @@ -0,0 +1,47 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/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 new file mode 100644 index 0000000000..5200354c7b --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc @@ -0,0 +1,2812 @@ +// 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<2> 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_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<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<6> scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsCloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { + &scc_info_WorkflowExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base, + &scc_info_Literal_flyteidl_2fcore_2fliterals_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<6> scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsCloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { + &scc_info_NodeExecutionEvent_flyteidl_2fevent_2fevent_2eproto.base, + &scc_info_TaskExecutionIdentifier_flyteidl_2fcore_2fidentifier_2eproto.base, + &scc_info_Literal_flyteidl_2fcore_2fliterals_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_data_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, output_interface_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, input_data_), + 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_data_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, output_interface_), + PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, input_data_), + 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_keys_), + 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)}, + { 13, -1, sizeof(::flyteidl::event::CloudEventNodeExecution)}, + { 26, -1, sizeof(::flyteidl::event::CloudEventTaskExecution)}, + { 32, -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\"\260\003" + "\n\033CloudEventWorkflowExecution\0229\n\traw_eve" + "nt\030\001 \001(\0132&.flyteidl.event.WorkflowExecut" + "ionEvent\022.\n\013output_data\030\002 \001(\0132\031.flyteidl" + ".core.LiteralMap\0227\n\020output_interface\030\003 \001" + "(\0132\035.flyteidl.core.TypedInterface\022-\n\ninp" + "ut_data\030\004 \001(\0132\031.flyteidl.core.LiteralMap" + "\022/\n\014artifact_ids\030\005 \003(\0132\031.flyteidl.core.A" + "rtifactID\022G\n\023reference_execution\030\006 \001(\0132*" + ".flyteidl.core.WorkflowExecutionIdentifi" + "er\022\021\n\tprincipal\030\007 \001(\t\0221\n\016launch_plan_id\030" + "\010 \001(\0132\031.flyteidl.core.Identifier\"\235\003\n\027Clo" + "udEventNodeExecution\0225\n\traw_event\030\001 \001(\0132" + "\".flyteidl.event.NodeExecutionEvent\022<\n\014t" + "ask_exec_id\030\002 \001(\0132&.flyteidl.core.TaskEx" + "ecutionIdentifier\022.\n\013output_data\030\003 \001(\0132\031" + ".flyteidl.core.LiteralMap\0227\n\020output_inte" + "rface\030\004 \001(\0132\035.flyteidl.core.TypedInterfa" + "ce\022-\n\ninput_data\030\005 \001(\0132\031.flyteidl.core.L" + "iteralMap\022/\n\014artifact_ids\030\006 \003(\0132\031.flytei" + "dl.core.ArtifactID\022\021\n\tprincipal\030\007 \001(\t\0221\n" + "\016launch_plan_id\030\010 \001(\0132\031.flyteidl.core.Id" + "entifier\"P\n\027CloudEventTaskExecution\0225\n\tr" + "aw_event\030\001 \001(\0132\".flyteidl.event.TaskExec" + "utionEvent\"\232\002\n\030CloudEventExecutionStart\022" + "@\n\014execution_id\030\001 \001(\0132*.flyteidl.core.Wo" + "rkflowExecutionIdentifier\0221\n\016launch_plan" + "_id\030\002 \001(\0132\031.flyteidl.core.Identifier\022.\n\013" + "workflow_id\030\003 \001(\0132\031.flyteidl.core.Identi" + "fier\022/\n\014artifact_ids\030\004 \003(\0132\031.flyteidl.co" + "re.ArtifactID\022\025\n\rartifact_keys\030\005 \003(\t\022\021\n\t" + "principal\030\006 \001(\tB=Z;github.com/flyteorg/f" + "lyte/flyteidl/gen/pb-go/flyteidl/eventb\006" + "proto3" + ; +::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, 1526, +}; + +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_data_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::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()->input_data_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::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::LiteralMap& output_data(const CloudEventWorkflowExecution* msg); + static const ::flyteidl::core::TypedInterface& output_interface(const CloudEventWorkflowExecution* msg); + static const ::flyteidl::core::LiteralMap& input_data(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::LiteralMap& +CloudEventWorkflowExecution::HasBitSetters::output_data(const CloudEventWorkflowExecution* msg) { + return *msg->output_data_; +} +const ::flyteidl::core::TypedInterface& +CloudEventWorkflowExecution::HasBitSetters::output_interface(const CloudEventWorkflowExecution* msg) { + return *msg->output_interface_; +} +const ::flyteidl::core::LiteralMap& +CloudEventWorkflowExecution::HasBitSetters::input_data(const CloudEventWorkflowExecution* msg) { + return *msg->input_data_; +} +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_data() { + if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { + delete output_data_; + } + output_data_ = nullptr; +} +void CloudEventWorkflowExecution::clear_output_interface() { + if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { + delete output_interface_; + } + output_interface_ = nullptr; +} +void CloudEventWorkflowExecution::clear_input_data() { + if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { + delete input_data_; + } + input_data_ = 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::kOutputDataFieldNumber; +const int CloudEventWorkflowExecution::kOutputInterfaceFieldNumber; +const int CloudEventWorkflowExecution::kInputDataFieldNumber; +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_data()) { + output_data_ = new ::flyteidl::core::LiteralMap(*from.output_data_); + } else { + output_data_ = nullptr; + } + if (from.has_output_interface()) { + output_interface_ = new ::flyteidl::core::TypedInterface(*from.output_interface_); + } else { + output_interface_ = nullptr; + } + if (from.has_input_data()) { + input_data_ = new ::flyteidl::core::LiteralMap(*from.input_data_); + } else { + input_data_ = 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_data_; + if (this != internal_default_instance()) delete output_interface_; + if (this != internal_default_instance()) delete input_data_; + 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_data_ != nullptr) { + delete output_data_; + } + output_data_ = nullptr; + if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { + delete output_interface_; + } + output_interface_ = nullptr; + if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { + delete input_data_; + } + input_data_ = 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.LiteralMap output_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 = ::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.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; + } + // .flyteidl.core.LiteralMap input_data = 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_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; + } + // repeated .flyteidl.core.ArtifactID artifact_ids = 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::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) == 42 && (ptr += 1)); + break; + } + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 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::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 = 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.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 = 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::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.LiteralMap output_data = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_output_data())); + } 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; + } + + // .flyteidl.core.LiteralMap input_data = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_input_data())); + } else { + goto handle_unusual; + } + break; + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_artifact_ids())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_reference_execution())); + } else { + goto handle_unusual; + } + break; + } + + // string principal = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 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 = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 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.LiteralMap output_data = 2; + if (this->has_output_data()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::output_data(this), output); + } + + // .flyteidl.core.TypedInterface output_interface = 3; + if (this->has_output_interface()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::output_interface(this), output); + } + + // .flyteidl.core.LiteralMap input_data = 4; + if (this->has_input_data()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::input_data(this), output); + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, + this->artifact_ids(static_cast(i)), + output); + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + if (this->has_reference_execution()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, HasBitSetters::reference_execution(this), output); + } + + // string principal = 7; + 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( + 7, this->principal(), output); + } + + // .flyteidl.core.Identifier launch_plan_id = 8; + if (this->has_launch_plan_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 8, 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.LiteralMap output_data = 2; + if (this->has_output_data()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::output_data(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); + } + + // .flyteidl.core.LiteralMap input_data = 4; + if (this->has_input_data()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::input_data(this), target); + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, this->artifact_ids(static_cast(i)), target); + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + if (this->has_reference_execution()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, HasBitSetters::reference_execution(this), target); + } + + // string principal = 7; + 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( + 7, this->principal(), target); + } + + // .flyteidl.core.Identifier launch_plan_id = 8; + if (this->has_launch_plan_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, 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 = 5; + { + 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 = 7; + 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.LiteralMap output_data = 2; + if (this->has_output_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *output_data_); + } + + // .flyteidl.core.TypedInterface output_interface = 3; + if (this->has_output_interface()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *output_interface_); + } + + // .flyteidl.core.LiteralMap input_data = 4; + if (this->has_input_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *input_data_); + } + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + if (this->has_reference_execution()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *reference_execution_); + } + + // .flyteidl.core.Identifier launch_plan_id = 8; + 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_data()) { + mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); + } + if (from.has_output_interface()) { + mutable_output_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.output_interface()); + } + if (from.has_input_data()) { + mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); + } + 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_data_, other->output_data_); + swap(output_interface_, other->output_interface_); + swap(input_data_, other->input_data_); + 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_data_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::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()->input_data_ = const_cast< ::flyteidl::core::LiteralMap*>( + ::flyteidl::core::LiteralMap::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::LiteralMap& output_data(const CloudEventNodeExecution* msg); + static const ::flyteidl::core::TypedInterface& output_interface(const CloudEventNodeExecution* msg); + static const ::flyteidl::core::LiteralMap& input_data(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::LiteralMap& +CloudEventNodeExecution::HasBitSetters::output_data(const CloudEventNodeExecution* msg) { + return *msg->output_data_; +} +const ::flyteidl::core::TypedInterface& +CloudEventNodeExecution::HasBitSetters::output_interface(const CloudEventNodeExecution* msg) { + return *msg->output_interface_; +} +const ::flyteidl::core::LiteralMap& +CloudEventNodeExecution::HasBitSetters::input_data(const CloudEventNodeExecution* msg) { + return *msg->input_data_; +} +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_data() { + if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { + delete output_data_; + } + output_data_ = nullptr; +} +void CloudEventNodeExecution::clear_output_interface() { + if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { + delete output_interface_; + } + output_interface_ = nullptr; +} +void CloudEventNodeExecution::clear_input_data() { + if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { + delete input_data_; + } + input_data_ = 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::kOutputDataFieldNumber; +const int CloudEventNodeExecution::kOutputInterfaceFieldNumber; +const int CloudEventNodeExecution::kInputDataFieldNumber; +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_data()) { + output_data_ = new ::flyteidl::core::LiteralMap(*from.output_data_); + } else { + output_data_ = nullptr; + } + if (from.has_output_interface()) { + output_interface_ = new ::flyteidl::core::TypedInterface(*from.output_interface_); + } else { + output_interface_ = nullptr; + } + if (from.has_input_data()) { + input_data_ = new ::flyteidl::core::LiteralMap(*from.input_data_); + } else { + input_data_ = 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_data_; + if (this != internal_default_instance()) delete output_interface_; + if (this != internal_default_instance()) delete input_data_; + 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_data_ != nullptr) { + delete output_data_; + } + output_data_ = nullptr; + if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { + delete output_interface_; + } + output_interface_ = nullptr; + if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { + delete input_data_; + } + input_data_ = 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.LiteralMap output_data = 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_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.core.TypedInterface output_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_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; + } + // .flyteidl.core.LiteralMap input_data = 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_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; + } + // repeated .flyteidl.core.ArtifactID artifact_ids = 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::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) == 50 && (ptr += 1)); + break; + } + // string principal = 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.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 = 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::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.LiteralMap output_data = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_output_data())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.TypedInterface output_interface = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_output_interface())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.core.LiteralMap input_data = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_input_data())); + } else { + goto handle_unusual; + } + break; + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, add_artifact_ids())); + } else { + goto handle_unusual; + } + break; + } + + // string principal = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 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 = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 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.LiteralMap output_data = 3; + if (this->has_output_data()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::output_data(this), output); + } + + // .flyteidl.core.TypedInterface output_interface = 4; + if (this->has_output_interface()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::output_interface(this), output); + } + + // .flyteidl.core.LiteralMap input_data = 5; + if (this->has_input_data()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::input_data(this), output); + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, + this->artifact_ids(static_cast(i)), + output); + } + + // string principal = 7; + 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( + 7, this->principal(), output); + } + + // .flyteidl.core.Identifier launch_plan_id = 8; + if (this->has_launch_plan_id()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 8, 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.LiteralMap output_data = 3; + if (this->has_output_data()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::output_data(this), target); + } + + // .flyteidl.core.TypedInterface output_interface = 4; + if (this->has_output_interface()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::output_interface(this), target); + } + + // .flyteidl.core.LiteralMap input_data = 5; + if (this->has_input_data()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::input_data(this), target); + } + + // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + for (unsigned int i = 0, + n = static_cast(this->artifact_ids_size()); i < n; i++) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, this->artifact_ids(static_cast(i)), target); + } + + // string principal = 7; + 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( + 7, this->principal(), target); + } + + // .flyteidl.core.Identifier launch_plan_id = 8; + if (this->has_launch_plan_id()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, 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 = 6; + { + 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 = 7; + 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.LiteralMap output_data = 3; + if (this->has_output_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *output_data_); + } + + // .flyteidl.core.TypedInterface output_interface = 4; + if (this->has_output_interface()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *output_interface_); + } + + // .flyteidl.core.LiteralMap input_data = 5; + if (this->has_input_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *input_data_); + } + + // .flyteidl.core.Identifier launch_plan_id = 8; + 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_data()) { + mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); + } + if (from.has_output_interface()) { + mutable_output_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.output_interface()); + } + if (from.has_input_data()) { + mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); + } + 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_data_, other->output_data_); + swap(output_interface_, other->output_interface_); + swap(input_data_, other->input_data_); + 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::kArtifactKeysFieldNumber; +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_keys_(from.artifact_keys_) { + _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_keys_.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_keys = 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_keys"); + object = msg->add_artifact_keys(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto 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_keys = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_artifact_keys())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->artifact_keys(this->artifact_keys_size() - 1).data(), + static_cast(this->artifact_keys(this->artifact_keys_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.event.CloudEventExecutionStart.artifact_keys")); + } 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_keys = 5; + for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->artifact_keys(i).data(), static_cast(this->artifact_keys(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.event.CloudEventExecutionStart.artifact_keys"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 5, this->artifact_keys(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_keys = 5; + for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->artifact_keys(i).data(), static_cast(this->artifact_keys(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.event.CloudEventExecutionStart.artifact_keys"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(5, this->artifact_keys(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_keys = 5; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->artifact_keys_size()); + for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->artifact_keys(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_keys_.MergeFrom(from.artifact_keys_); + 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_keys_.InternalSwap(CastToBase(&other->artifact_keys_)); + 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 new file mode 100644 index 0000000000..999d5a1137 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h @@ -0,0 +1,1841 @@ +// 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 = 5; + int artifact_ids_size() const; + void clear_artifact_ids(); + static const int kArtifactIdsFieldNumber = 5; + ::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 = 7; + void clear_principal(); + static const int kPrincipalFieldNumber = 7; + 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.LiteralMap output_data = 2; + bool has_output_data() const; + void clear_output_data(); + static const int kOutputDataFieldNumber = 2; + 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.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.LiteralMap input_data = 4; + bool has_input_data() const; + void clear_input_data(); + static const int kInputDataFieldNumber = 4; + 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); + + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + bool has_reference_execution() const; + void clear_reference_execution(); + static const int kReferenceExecutionFieldNumber = 6; + 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 = 8; + bool has_launch_plan_id() const; + void clear_launch_plan_id(); + static const int kLaunchPlanIdFieldNumber = 8; + 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::LiteralMap* output_data_; + ::flyteidl::core::TypedInterface* output_interface_; + ::flyteidl::core::LiteralMap* input_data_; + ::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 = 6; + int artifact_ids_size() const; + void clear_artifact_ids(); + static const int kArtifactIdsFieldNumber = 6; + ::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 = 7; + void clear_principal(); + static const int kPrincipalFieldNumber = 7; + 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.LiteralMap output_data = 3; + bool has_output_data() const; + void clear_output_data(); + static const int kOutputDataFieldNumber = 3; + 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.core.TypedInterface output_interface = 4; + bool has_output_interface() const; + void clear_output_interface(); + static const int kOutputInterfaceFieldNumber = 4; + 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.LiteralMap input_data = 5; + bool has_input_data() const; + void clear_input_data(); + static const int kInputDataFieldNumber = 5; + 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); + + // .flyteidl.core.Identifier launch_plan_id = 8; + bool has_launch_plan_id() const; + void clear_launch_plan_id(); + static const int kLaunchPlanIdFieldNumber = 8; + 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::LiteralMap* output_data_; + ::flyteidl::core::TypedInterface* output_interface_; + ::flyteidl::core::LiteralMap* input_data_; + ::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_keys = 5; + int artifact_keys_size() const; + void clear_artifact_keys(); + static const int kArtifactKeysFieldNumber = 5; + const ::std::string& artifact_keys(int index) const; + ::std::string* mutable_artifact_keys(int index); + void set_artifact_keys(int index, const ::std::string& value); + #if LANG_CXX11 + void set_artifact_keys(int index, ::std::string&& value); + #endif + void set_artifact_keys(int index, const char* value); + void set_artifact_keys(int index, const char* value, size_t size); + ::std::string* add_artifact_keys(); + void add_artifact_keys(const ::std::string& value); + #if LANG_CXX11 + void add_artifact_keys(::std::string&& value); + #endif + void add_artifact_keys(const char* value); + void add_artifact_keys(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField<::std::string>& artifact_keys() const; + ::google::protobuf::RepeatedPtrField<::std::string>* mutable_artifact_keys(); + + // 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_keys_; + ::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.LiteralMap output_data = 2; +inline bool CloudEventWorkflowExecution::has_output_data() const { + return this != internal_default_instance() && output_data_ != nullptr; +} +inline const ::flyteidl::core::LiteralMap& CloudEventWorkflowExecution::output_data() const { + const ::flyteidl::core::LiteralMap* p = output_data_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.output_data) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::release_output_data() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.output_data) + + ::flyteidl::core::LiteralMap* temp = output_data_; + output_data_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::mutable_output_data() { + + if (output_data_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); + output_data_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.output_data) + return output_data_; +} +inline void CloudEventWorkflowExecution::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_data_); + } + 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); + } + + } else { + + } + output_data_ = output_data; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.output_data) +} + +// .flyteidl.core.TypedInterface output_interface = 3; +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) +} + +// .flyteidl.core.LiteralMap input_data = 4; +inline bool CloudEventWorkflowExecution::has_input_data() const { + return this != internal_default_instance() && input_data_ != nullptr; +} +inline const ::flyteidl::core::LiteralMap& CloudEventWorkflowExecution::input_data() const { + const ::flyteidl::core::LiteralMap* p = input_data_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.input_data) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::release_input_data() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.input_data) + + ::flyteidl::core::LiteralMap* temp = input_data_; + input_data_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::mutable_input_data() { + + if (input_data_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); + input_data_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.input_data) + return input_data_; +} +inline void CloudEventWorkflowExecution::set_allocated_input_data(::flyteidl::core::LiteralMap* input_data) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(input_data_); + } + 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); + } + + } else { + + } + input_data_ = input_data; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.input_data) +} + +// repeated .flyteidl.core.ArtifactID artifact_ids = 5; +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 = 6; +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 = 7; +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 = 8; +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.LiteralMap output_data = 3; +inline bool CloudEventNodeExecution::has_output_data() const { + return this != internal_default_instance() && output_data_ != nullptr; +} +inline const ::flyteidl::core::LiteralMap& CloudEventNodeExecution::output_data() const { + const ::flyteidl::core::LiteralMap* p = output_data_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.output_data) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::release_output_data() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.output_data) + + ::flyteidl::core::LiteralMap* temp = output_data_; + output_data_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::mutable_output_data() { + + if (output_data_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); + output_data_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.output_data) + return output_data_; +} +inline void CloudEventNodeExecution::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_data_); + } + 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); + } + + } else { + + } + output_data_ = output_data; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.output_data) +} + +// .flyteidl.core.TypedInterface output_interface = 4; +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) +} + +// .flyteidl.core.LiteralMap input_data = 5; +inline bool CloudEventNodeExecution::has_input_data() const { + return this != internal_default_instance() && input_data_ != nullptr; +} +inline const ::flyteidl::core::LiteralMap& CloudEventNodeExecution::input_data() const { + const ::flyteidl::core::LiteralMap* p = input_data_; + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.input_data) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_LiteralMap_default_instance_); +} +inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::release_input_data() { + // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.input_data) + + ::flyteidl::core::LiteralMap* temp = input_data_; + input_data_ = nullptr; + return temp; +} +inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::mutable_input_data() { + + if (input_data_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); + input_data_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.input_data) + return input_data_; +} +inline void CloudEventNodeExecution::set_allocated_input_data(::flyteidl::core::LiteralMap* input_data) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(input_data_); + } + 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); + } + + } else { + + } + input_data_ = input_data; + // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.input_data) +} + +// repeated .flyteidl.core.ArtifactID artifact_ids = 6; +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 = 7; +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 = 8; +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_keys = 5; +inline int CloudEventExecutionStart::artifact_keys_size() const { + return artifact_keys_.size(); +} +inline void CloudEventExecutionStart::clear_artifact_keys() { + artifact_keys_.Clear(); +} +inline const ::std::string& CloudEventExecutionStart::artifact_keys(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.artifact_keys) + return artifact_keys_.Get(index); +} +inline ::std::string* CloudEventExecutionStart::mutable_artifact_keys(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.artifact_keys) + return artifact_keys_.Mutable(index); +} +inline void CloudEventExecutionStart::set_artifact_keys(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_keys) + artifact_keys_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void CloudEventExecutionStart::set_artifact_keys(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_keys) + artifact_keys_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void CloudEventExecutionStart::set_artifact_keys(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + artifact_keys_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +inline void CloudEventExecutionStart::set_artifact_keys(int index, const char* value, size_t size) { + artifact_keys_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +inline ::std::string* CloudEventExecutionStart::add_artifact_keys() { + // @@protoc_insertion_point(field_add_mutable:flyteidl.event.CloudEventExecutionStart.artifact_keys) + return artifact_keys_.Add(); +} +inline void CloudEventExecutionStart::add_artifact_keys(const ::std::string& value) { + artifact_keys_.Add()->assign(value); + // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +#if LANG_CXX11 +inline void CloudEventExecutionStart::add_artifact_keys(::std::string&& value) { + artifact_keys_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +#endif +inline void CloudEventExecutionStart::add_artifact_keys(const char* value) { + GOOGLE_DCHECK(value != nullptr); + artifact_keys_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +inline void CloudEventExecutionStart::add_artifact_keys(const char* value, size_t size) { + artifact_keys_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:flyteidl.event.CloudEventExecutionStart.artifact_keys) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +CloudEventExecutionStart::artifact_keys() const { + // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventExecutionStart.artifact_keys) + return artifact_keys_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* +CloudEventExecutionStart::mutable_artifact_keys() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventExecutionStart.artifact_keys) + return &artifact_keys_; +} + +// 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.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.cc index 5d705b5b46..08a81f6438 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/event/event.pb.cc @@ -24,7 +24,7 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::p 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<9> scc_info_Literal_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_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; diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc index bf07425eb0..8f6df06102 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/service/dataproxy.pb.cc @@ -17,7 +17,7 @@ #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<9> scc_info_Literal_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_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; 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 index e73d9c9a21..481be2619e 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/service/external_plugin_service.pb.cc @@ -16,7 +16,7 @@ // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fliterals_2eproto ::google::protobuf::internal::SCCInfo<9> scc_info_Literal_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_2ftasks_2eproto ::google::protobuf::internal::SCCInfo<10> scc_info_TaskTemplate_flyteidl_2fcore_2ftasks_2eproto; namespace flyteidl { namespace service { diff --git a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go index 6df8b56f29..6ee9c5dc15 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.go @@ -923,10 +923,13 @@ type ExecutionMetadata struct { ReferenceExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,16,opt,name=reference_execution,json=referenceExecution,proto3" 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 *SystemMetadata `protobuf:"bytes,17,opt,name=system_metadata,json=systemMetadata,proto3" json:"system_metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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:"-"` } func (m *ExecutionMetadata) Reset() { *m = ExecutionMetadata{} } @@ -1003,6 +1006,13 @@ func (m *ExecutionMetadata) GetSystemMetadata() *SystemMetadata { return nil } +func (m *ExecutionMetadata) GetArtifactIds() []*core.ArtifactID { + if m != nil { + return m.ArtifactIds + } + return nil +} + type NotificationList struct { Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1729,120 +1739,122 @@ func init() { func init() { proto.RegisterFile("flyteidl/admin/execution.proto", fileDescriptor_4e2785d91b3809ec) } var fileDescriptor_4e2785d91b3809ec = []byte{ - // 1827 bytes of a gzipped FileDescriptorProto + // 1862 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, 0xa2, 0x0e, 0x2d, 0x8a, 0x5e, 0x29, 0x32, 0x2c, 0x3b, 0xb6, 0x82, 0x4c, - 0x6b, 0x4f, 0x32, 0x25, 0x27, 0x4a, 0x3d, 0x9d, 0x38, 0x75, 0x26, 0x14, 0x45, 0x47, 0x4a, 0x75, - 0x71, 0x57, 0x17, 0xe7, 0x32, 0x19, 0x74, 0x05, 0xac, 0x48, 0xd4, 0x00, 0x16, 0xde, 0x5d, 0x48, - 0xf6, 0x3f, 0xe8, 0xf4, 0xa9, 0x8f, 0xed, 0x3f, 0xe8, 0x53, 0x1f, 0xfb, 0xd0, 0xe7, 0xfe, 0xb0, - 0x0c, 0x16, 0x0b, 0x10, 0x00, 0x29, 0x4b, 0x1e, 0xeb, 0x0d, 0xbb, 0xe7, 0x3b, 0x97, 0x3d, 0x7b, - 0x6e, 0x0b, 0x78, 0x70, 0xe6, 0xbd, 0x95, 0xd4, 0x75, 0xbc, 0x2e, 0x71, 0x7c, 0x37, 0xe8, 0xd2, - 0x37, 0xd4, 0x8e, 0xa4, 0xcb, 0x82, 0x4e, 0xc8, 0x99, 0x64, 0xa8, 0x95, 0xd2, 0x3b, 0x8a, 0xbe, - 0xf6, 0xa8, 0x84, 0xb7, 0xbd, 0x48, 0x48, 0xca, 0x2d, 0x22, 0x84, 0x3b, 0x0c, 0x7c, 0x1a, 0xc8, - 0x84, 0x71, 0xed, 0x5e, 0x19, 0xc8, 0x7c, 0x3f, 0x95, 0xba, 0x76, 0x3f, 0x23, 0xda, 0x8c, 0xd3, - 0xae, 0xe7, 0x4a, 0xca, 0x89, 0x27, 0x34, 0xf5, 0xe3, 0x22, 0xb5, 0x64, 0xd2, 0xda, 0x83, 0x22, - 0xd9, 0x75, 0x68, 0x20, 0xdd, 0x33, 0x97, 0xf2, 0x09, 0xcd, 0x8a, 0xee, 0x53, 0xc9, 0x5d, 0x5b, - 0x4c, 0xd7, 0x2c, 0xa8, 0x1d, 0x71, 0x57, 0xbe, 0x4d, 0x45, 0x0f, 0x19, 0x1b, 0x7a, 0xb4, 0xab, - 0x56, 0xa7, 0xd1, 0x59, 0xd7, 0x89, 0x38, 0xc9, 0xa9, 0x7e, 0x58, 0xa6, 0x4b, 0xd7, 0xa7, 0x42, - 0x12, 0x3f, 0xbc, 0x4c, 0xc0, 0x05, 0x27, 0x61, 0x48, 0xb9, 0x56, 0x6f, 0xfe, 0xbf, 0x02, 0xab, - 0x83, 0xf4, 0x3c, 0x7d, 0x4e, 0x89, 0xa4, 0x98, 0xbe, 0x8e, 0xa8, 0x90, 0xc8, 0x80, 0xf9, 0x90, - 0xb3, 0xbf, 0x52, 0x5b, 0x1a, 0x95, 0xf5, 0xca, 0xe3, 0x05, 0x9c, 0x2e, 0xd1, 0x2a, 0xcc, 0x39, - 0xcc, 0x27, 0x6e, 0x60, 0x54, 0x15, 0x41, 0xaf, 0x10, 0x82, 0x5a, 0x40, 0x7c, 0x6a, 0xcc, 0xaa, - 0x5d, 0xf5, 0x8d, 0xbe, 0x80, 0x9a, 0x08, 0xa9, 0x6d, 0xd4, 0xd6, 0x2b, 0x8f, 0x9b, 0x1b, 0x1f, - 0x77, 0x8a, 0xd7, 0xd7, 0xc9, 0x74, 0x1f, 0x86, 0xd4, 0xc6, 0x0a, 0x8a, 0xbe, 0x80, 0x39, 0x37, - 0x08, 0x23, 0x29, 0x8c, 0xba, 0x62, 0xba, 0x3b, 0x66, 0x8a, 0x7d, 0xd4, 0xd9, 0x4d, 0x6e, 0x67, - 0x8f, 0x84, 0x58, 0x03, 0xcd, 0x7f, 0x55, 0xc0, 0xc8, 0x44, 0x61, 0xea, 0x91, 0x28, 0xb0, 0x47, - 0xe9, 0x41, 0x9e, 0x42, 0xd5, 0x75, 0xd4, 0x19, 0x9a, 0x1b, 0x9f, 0x95, 0x64, 0xbd, 0x64, 0xfc, - 0xd5, 0x99, 0xc7, 0x2e, 0x32, 0xe6, 0x9d, 0xec, 0xf6, 0x70, 0xd5, 0x75, 0xa6, 0x1e, 0xe9, 0x11, - 0x2c, 0xb1, 0x73, 0xca, 0x2f, 0xb8, 0x2b, 0xa9, 0x65, 0x13, 0x7b, 0x44, 0xd5, 0xe9, 0x1a, 0xb8, - 0x95, 0x6d, 0xf7, 0xe3, 0xdd, 0xef, 0x6b, 0x8d, 0x6a, 0x7b, 0xd6, 0xfc, 0x77, 0x05, 0xee, 0xe4, - 0x6c, 0xb3, 0x63, 0xd0, 0x4d, 0x9a, 0x56, 0xcd, 0x99, 0xf6, 0x0c, 0x1a, 0x3e, 0x95, 0xc4, 0x21, - 0x92, 0x28, 0x93, 0x9b, 0x1b, 0x9f, 0x5c, 0xea, 0xf1, 0x3d, 0x0d, 0xc4, 0x19, 0x8b, 0x79, 0x9c, - 0xb3, 0x34, 0x0d, 0x06, 0x11, 0xb2, 0x40, 0xd0, 0x0f, 0xb1, 0xd4, 0xfc, 0x11, 0xee, 0x4d, 0x40, - 0xbe, 0xa3, 0xf2, 0x06, 0x9c, 0x60, 0xfe, 0xb7, 0x02, 0x0b, 0x19, 0xed, 0x83, 0xdc, 0x99, 0x06, - 0x6a, 0xf5, 0xfa, 0x81, 0xfa, 0x14, 0xe6, 0x6d, 0x8f, 0x89, 0x88, 0x53, 0xed, 0xec, 0xf5, 0x4b, - 0xb9, 0xfa, 0x09, 0x0e, 0xa7, 0x0c, 0xe6, 0x5f, 0x60, 0x31, 0x23, 0xee, 0xba, 0x42, 0xa2, 0xaf, - 0x00, 0xb2, 0xc2, 0x22, 0x8c, 0xca, 0xfa, 0x6c, 0x31, 0xf2, 0x4b, 0xf2, 0x70, 0x0e, 0x8c, 0x56, - 0xa0, 0x2e, 0xd9, 0x2b, 0x9a, 0xa6, 0x63, 0xb2, 0x30, 0x29, 0xb4, 0xc6, 0x99, 0xb2, 0xe9, 0xb1, - 0x53, 0xf4, 0x07, 0x98, 0x3b, 0x27, 0x5e, 0x44, 0x85, 0x76, 0xd1, 0xe5, 0x89, 0xb5, 0x59, 0x35, - 0x2a, 0xdb, 0x33, 0x58, 0xc3, 0x11, 0x82, 0xd9, 0x88, 0xbb, 0x89, 0xf8, 0xed, 0x19, 0x1c, 0x2f, - 0x36, 0xe7, 0xa0, 0xa6, 0x62, 0xa6, 0x0f, 0x8b, 0xbd, 0x53, 0xc6, 0x65, 0x1a, 0x4e, 0xb1, 0x35, - 0x36, 0x89, 0x04, 0xd5, 0x55, 0x23, 0x59, 0xa0, 0xfb, 0xb0, 0x10, 0x72, 0x37, 0xb0, 0xdd, 0x90, - 0x78, 0xda, 0xce, 0xf1, 0x86, 0xf9, 0xcf, 0x79, 0x68, 0x97, 0x7d, 0x85, 0xbe, 0x81, 0x79, 0x16, - 0x49, 0x55, 0x08, 0x12, 0x7b, 0x1f, 0x94, 0xdd, 0x51, 0x3c, 0x9f, 0x36, 0x3a, 0x65, 0x42, 0x4f, - 0xa0, 0x4e, 0x39, 0x67, 0x7c, 0xf2, 0x4a, 0xd5, 0x69, 0x33, 0x7d, 0x83, 0x18, 0xb4, 0x3d, 0x83, - 0x13, 0x34, 0xfa, 0x0d, 0x34, 0x49, 0x7c, 0x20, 0x2b, 0x39, 0x05, 0xc4, 0xb6, 0x6a, 0xd1, 0xa0, - 0x08, 0x7d, 0x75, 0xa0, 0xe7, 0xd0, 0x4a, 0x60, 0x59, 0xc2, 0xdd, 0x9a, 0x1e, 0x39, 0x05, 0xef, - 0x6c, 0xcf, 0xe0, 0x45, 0x52, 0x70, 0xd7, 0xb7, 0xd0, 0x4c, 0x0c, 0xb6, 0x94, 0x90, 0xc5, 0xeb, - 0xdd, 0x0c, 0x24, 0x3c, 0x5b, 0xb1, 0x84, 0xe7, 0xb0, 0x64, 0x33, 0x3f, 0x8c, 0x24, 0x75, 0x2c, - 0x5d, 0x38, 0x67, 0xaf, 0x21, 0x05, 0xb7, 0x52, 0xae, 0x1d, 0xc5, 0x84, 0xfe, 0x08, 0xf5, 0x70, - 0x44, 0x44, 0x52, 0xcd, 0x5a, 0x1b, 0xbf, 0xbd, 0x2a, 0x81, 0x3a, 0x2f, 0x62, 0x34, 0x4e, 0x98, - 0xe2, 0xf8, 0x15, 0x92, 0xf0, 0xd8, 0x08, 0x22, 0x75, 0xe5, 0x5e, 0xeb, 0x24, 0xed, 0xa7, 0x93, - 0xb6, 0x9f, 0xce, 0x51, 0xda, 0x9f, 0xf0, 0x82, 0x46, 0xf7, 0x24, 0x7a, 0x02, 0x8d, 0xb4, 0xaf, - 0x19, 0x73, 0xda, 0xf2, 0x32, 0xe3, 0x96, 0x06, 0xe0, 0x0c, 0x1a, 0x6b, 0xb4, 0x55, 0x91, 0x52, - 0x1a, 0xe7, 0xaf, 0xd6, 0xa8, 0xd1, 0x3d, 0x95, 0x6c, 0x51, 0xe8, 0xa4, 0xac, 0x8d, 0xab, 0x59, - 0x35, 0xba, 0x27, 0xd1, 0x26, 0x2c, 0x06, 0x2c, 0xae, 0x1b, 0x36, 0x49, 0x52, 0x75, 0x41, 0xa5, - 0xea, 0xfd, 0xf2, 0xb5, 0xef, 0xe7, 0x40, 0xb8, 0xc8, 0x82, 0x9e, 0x42, 0xf3, 0x42, 0x7b, 0xd3, - 0x72, 0x1d, 0xa3, 0x39, 0xf5, 0xb6, 0x72, 0xf5, 0x09, 0x52, 0xf4, 0x8e, 0x83, 0x7e, 0x81, 0x15, - 0x21, 0x49, 0xdc, 0x79, 0x46, 0x24, 0x18, 0x52, 0xcb, 0xa1, 0x92, 0xb8, 0x9e, 0x30, 0x5a, 0x4a, - 0xc8, 0xe7, 0x97, 0xd7, 0xad, 0x98, 0xa9, 0xaf, 0x78, 0xb6, 0x12, 0x16, 0x8c, 0xc4, 0xc4, 0xde, - 0xe6, 0x12, 0x2c, 0xea, 0x70, 0xe4, 0x54, 0x44, 0x9e, 0x34, 0x7f, 0x86, 0xd6, 0xe1, 0x5b, 0x21, - 0xa9, 0x9f, 0x45, 0xec, 0xe7, 0x70, 0x3b, 0x2b, 0x3e, 0x96, 0x9e, 0xb7, 0x74, 0xb2, 0xb7, 0xe9, - 0x38, 0x89, 0xd5, 0x7e, 0x9c, 0xf7, 0x71, 0x67, 0x12, 0x21, 0xb1, 0xd3, 0x56, 0x35, 0xde, 0x30, - 0xff, 0x57, 0x83, 0xdb, 0x13, 0x0d, 0x09, 0xf5, 0xa1, 0xe6, 0x33, 0x27, 0x29, 0x20, 0xad, 0x8d, - 0xee, 0x95, 0x1d, 0x2c, 0xb7, 0xc3, 0x1c, 0x8a, 0x15, 0xf3, 0xbb, 0x0b, 0x4e, 0x3c, 0xdc, 0x04, - 0x54, 0x48, 0x37, 0x18, 0xaa, 0x5c, 0x59, 0xc4, 0xe9, 0x12, 0x3d, 0x83, 0x5b, 0xc2, 0x1e, 0x51, - 0x27, 0xf2, 0x92, 0xe0, 0xa8, 0x5d, 0x19, 0x1c, 0xcd, 0x0c, 0xdf, 0x93, 0xe8, 0x27, 0xf8, 0x28, - 0x24, 0x9c, 0x06, 0xd2, 0x0a, 0x98, 0x43, 0xad, 0xcc, 0x1f, 0x3a, 0x23, 0xca, 0x49, 0xb5, 0xcf, - 0x1c, 0x3a, 0xad, 0x23, 0x2d, 0x27, 0x42, 0x0a, 0x64, 0xf4, 0x33, 0x2c, 0x73, 0x7a, 0x46, 0x39, - 0x0d, 0xec, 0xbc, 0xe4, 0xf6, 0x7b, 0xf7, 0x3b, 0x94, 0x89, 0x19, 0x0b, 0xff, 0x0e, 0x96, 0x84, - 0xba, 0xe7, 0x71, 0x41, 0xbb, 0x3d, 0xbd, 0xea, 0x16, 0xc3, 0x01, 0xb7, 0x44, 0x61, 0x6d, 0x0e, - 0x73, 0x9d, 0x2d, 0xbe, 0x0f, 0x04, 0x30, 0xb7, 0xd7, 0xdb, 0x3f, 0xee, 0xed, 0xb6, 0x67, 0xd0, - 0x22, 0x2c, 0x1c, 0xf6, 0xb7, 0x07, 0x5b, 0xc7, 0xbb, 0x83, 0xad, 0x76, 0x25, 0x26, 0x1d, 0xfe, - 0x78, 0x78, 0x34, 0xd8, 0x6b, 0x57, 0xd1, 0x2d, 0x68, 0xe0, 0xc1, 0x6e, 0xef, 0x78, 0xbf, 0xbf, - 0xdd, 0x9e, 0x45, 0x08, 0x5a, 0xfd, 0xed, 0x9d, 0xdd, 0x2d, 0xeb, 0xe5, 0x01, 0xfe, 0xd3, 0xf3, - 0xdd, 0x83, 0x97, 0xed, 0x5a, 0xcc, 0x8c, 0x07, 0xfd, 0x83, 0x93, 0x01, 0x1e, 0x6c, 0xb5, 0xeb, - 0xe6, 0x09, 0xb4, 0xf3, 0x49, 0xa6, 0xba, 0xe8, 0x44, 0x76, 0x56, 0xde, 0x3b, 0x3b, 0xcd, 0x7f, - 0x34, 0x72, 0x27, 0x38, 0x4c, 0x1a, 0x7d, 0x33, 0x19, 0x29, 0xad, 0xd0, 0x23, 0xc1, 0x25, 0xdd, - 0x33, 0x9f, 0xaf, 0x09, 0xfa, 0x85, 0x47, 0x02, 0xf4, 0x24, 0x9b, 0x66, 0xab, 0xd7, 0x29, 0xca, - 0x1a, 0xfc, 0x81, 0x93, 0x1c, 0xda, 0x2e, 0xfb, 0xa1, 0x3e, 0x7d, 0x40, 0x29, 0x3b, 0x30, 0xee, - 0x4f, 0xc5, 0x5a, 0xf5, 0x09, 0x34, 0x1d, 0x57, 0x90, 0x53, 0x8f, 0x5a, 0xc4, 0xf3, 0x54, 0x7d, - 0x6e, 0xc4, 0x0d, 0x48, 0x6f, 0xf6, 0x3c, 0x0f, 0x75, 0x60, 0xce, 0x23, 0xa7, 0xd4, 0x13, 0xba, - 0x08, 0xaf, 0x4e, 0xf4, 0x69, 0x45, 0xc5, 0x1a, 0x85, 0x9e, 0x41, 0x93, 0x04, 0x01, 0x93, 0xda, - 0xb4, 0xa4, 0xfc, 0xde, 0x9b, 0xe8, 0x9b, 0x63, 0x08, 0xce, 0xe3, 0xd1, 0x0e, 0xb4, 0xd3, 0x67, - 0x92, 0x65, 0xb3, 0x40, 0xd2, 0x37, 0x52, 0x75, 0xe9, 0x42, 0xa8, 0x2a, 0xdf, 0x1e, 0x6a, 0x58, - 0x3f, 0x41, 0xe1, 0x25, 0x51, 0xdc, 0x40, 0x5f, 0xc1, 0x02, 0x89, 0xe4, 0xc8, 0xe2, 0xcc, 0xa3, - 0x3a, 0x8f, 0x8c, 0x09, 0x3b, 0x22, 0x39, 0xc2, 0xcc, 0xa3, 0xea, 0x7a, 0x1a, 0x44, 0xaf, 0xd0, - 0x1e, 0xa0, 0xd7, 0x11, 0xf1, 0x62, 0x23, 0xd8, 0x99, 0x25, 0x28, 0x3f, 0x77, 0x6d, 0xaa, 0x53, - 0xe6, 0x61, 0xc9, 0x8e, 0x3f, 0x27, 0xc0, 0x83, 0xb3, 0xc3, 0x04, 0x86, 0xdb, 0xaf, 0x4b, 0x3b, - 0xf1, 0xa3, 0xc2, 0x27, 0x6f, 0xac, 0x90, 0x70, 0xe2, 0x79, 0xd4, 0x73, 0x85, 0x6f, 0xa0, 0xf5, - 0xca, 0xe3, 0x3a, 0x6e, 0xf9, 0xe4, 0xcd, 0x8b, 0xf1, 0x2e, 0xfa, 0x01, 0x56, 0x39, 0xb9, 0xb0, - 0x72, 0x33, 0x43, 0xec, 0x84, 0x33, 0x77, 0x68, 0x2c, 0x2b, 0xdd, 0x9f, 0x96, 0xed, 0xc7, 0xe4, - 0xe2, 0x20, 0x1b, 0x16, 0xfa, 0x0a, 0x8a, 0x97, 0xf9, 0xe4, 0x26, 0x7a, 0x01, 0x68, 0xf2, 0xf5, - 0x6c, 0xac, 0x4c, 0x0f, 0x3e, 0x5d, 0xdf, 0x7b, 0x19, 0x10, 0xdf, 0xb6, 0xcb, 0x5b, 0xe8, 0x5b, - 0x58, 0x74, 0x03, 0x49, 0x39, 0x8f, 0x42, 0xe9, 0x9e, 0x7a, 0xd4, 0xf8, 0xe8, 0x92, 0x62, 0xba, - 0xc9, 0x98, 0x77, 0x12, 0xcf, 0x9a, 0xb8, 0xc8, 0x30, 0xed, 0xad, 0xb5, 0x3a, 0xed, 0xad, 0x85, - 0x1e, 0x43, 0x8d, 0x06, 0xe7, 0xc2, 0xb8, 0xa3, 0x34, 0xac, 0x4c, 0xe4, 0x4a, 0x70, 0x2e, 0xb0, - 0x42, 0xc4, 0xef, 0x26, 0x49, 0x86, 0xc2, 0x30, 0xd6, 0x67, 0xe3, 0x77, 0x53, 0xfc, 0xbd, 0x69, - 0xc0, 0x6a, 0x3e, 0xea, 0xad, 0x58, 0x38, 0x77, 0x1d, 0x2a, 0xbe, 0xaf, 0x35, 0x6a, 0xed, 0xba, - 0xe9, 0xc3, 0xdd, 0x2c, 0xdb, 0x8e, 0x28, 0xf7, 0xdd, 0x20, 0xf7, 0x50, 0xfe, 0x90, 0x57, 0x47, - 0x36, 0x2c, 0x57, 0x73, 0xc3, 0xb2, 0x79, 0x1f, 0xd6, 0xa6, 0xa9, 0x4b, 0x9e, 0x62, 0xe6, 0x2f, - 0xf0, 0x70, 0xda, 0x73, 0x2a, 0xbe, 0xc9, 0x9b, 0x78, 0x52, 0xfd, 0xad, 0x0a, 0xeb, 0x97, 0xcb, - 0xd7, 0xcf, 0xc1, 0x27, 0xe5, 0xd9, 0xfc, 0x4e, 0xd9, 0xe3, 0xc7, 0xdc, 0x4b, 0x87, 0xf2, 0xf1, - 0x48, 0xfe, 0x65, 0xa9, 0x18, 0xbe, 0x93, 0x2b, 0x2d, 0x85, 0x4f, 0xa1, 0x79, 0x16, 0x79, 0xde, - 0x75, 0x67, 0x5b, 0x0c, 0x31, 0x3a, 0x9b, 0x69, 0x6f, 0x29, 0xde, 0xd4, 0xd8, 0xda, 0x55, 0xcc, - 0x4a, 0x55, 0x92, 0x1a, 0xc2, 0xfc, 0x7b, 0xfe, 0xef, 0xc8, 0xb1, 0x1a, 0x01, 0x6f, 0xe2, 0xd2, - 0x7f, 0x0f, 0x75, 0x35, 0x79, 0x29, 0x27, 0xb4, 0x26, 0x1b, 0x6c, 0x71, 0x66, 0xc3, 0x09, 0xd8, - 0xfc, 0x4f, 0x05, 0xee, 0xbd, 0x63, 0x9a, 0x1b, 0x4b, 0xad, 0xbc, 0x87, 0x54, 0xf4, 0x35, 0x34, - 0x99, 0x6d, 0x47, 0x9c, 0x27, 0xd3, 0x4e, 0xf5, 0xca, 0x69, 0x07, 0x52, 0x78, 0x4f, 0x16, 0x67, - 0xac, 0xd9, 0xf2, 0xa3, 0xee, 0x6e, 0xee, 0x6f, 0x42, 0xea, 0x3c, 0x1d, 0xc2, 0xe7, 0x60, 0x4e, - 0x0b, 0xb1, 0xbd, 0xe4, 0xd7, 0xd8, 0x0d, 0x25, 0x96, 0x43, 0x43, 0x39, 0x52, 0x27, 0xaa, 0xe3, - 0x64, 0x61, 0xee, 0xc3, 0xa7, 0xef, 0xd4, 0xab, 0xa3, 0xfb, 0x11, 0xd4, 0x44, 0x98, 0x35, 0xfa, - 0xe5, 0x72, 0x57, 0x09, 0x49, 0x80, 0x15, 0xe0, 0xb3, 0x6f, 0xa0, 0x55, 0x74, 0x2b, 0x5a, 0x81, - 0xf6, 0xe0, 0x87, 0x41, 0xff, 0xf8, 0x68, 0xe7, 0x60, 0xdf, 0xea, 0xf5, 0x8f, 0x76, 0x4e, 0x06, - 0xed, 0x19, 0xb4, 0x0a, 0x28, 0xb7, 0x8b, 0xfb, 0xdb, 0x3b, 0x27, 0xf1, 0xfc, 0xb3, 0xf9, 0xec, - 0xa7, 0xaf, 0x87, 0xae, 0x1c, 0x45, 0xa7, 0x1d, 0x9b, 0xf9, 0x5d, 0xa5, 0x86, 0xf1, 0x61, 0xf2, - 0xd1, 0xcd, 0xfe, 0x0c, 0x0e, 0x69, 0xd0, 0x0d, 0x4f, 0x7f, 0x37, 0x64, 0xdd, 0xe2, 0x3f, 0xcc, - 0xd3, 0x39, 0x75, 0x3f, 0x5f, 0xfe, 0x1a, 0x00, 0x00, 0xff, 0xff, 0x9d, 0xaa, 0x3a, 0xc4, 0x35, - 0x15, 0x00, 0x00, + 0x15, 0x16, 0x29, 0x52, 0xa2, 0x0e, 0x25, 0x8a, 0x5e, 0x29, 0x0a, 0x2c, 0x3b, 0xb6, 0x82, 0x4c, + 0x6b, 0x4f, 0x32, 0x25, 0x27, 0x4a, 0x3d, 0x9d, 0x38, 0x71, 0x26, 0x14, 0x45, 0x87, 0x4c, 0x75, + 0x71, 0x57, 0x17, 0xe7, 0x32, 0x19, 0x74, 0x09, 0x2c, 0x49, 0x34, 0xb8, 0x79, 0x77, 0x21, 0xd9, + 0xff, 0xa0, 0xd3, 0xa7, 0x3e, 0xb6, 0xff, 0xa0, 0x4f, 0x7d, 0xec, 0x2f, 0xe8, 0x8f, 0xea, 0x63, + 0x07, 0x8b, 0x05, 0x08, 0x80, 0x94, 0x25, 0x8f, 0xf5, 0x86, 0x3d, 0xe7, 0x3b, 0x67, 0xcf, 0x9e, + 0x3d, 0xb7, 0x05, 0x3c, 0x18, 0x39, 0x6f, 0x04, 0xb5, 0x2d, 0xa7, 0x4d, 0x2c, 0xd7, 0xf6, 0xda, + 0xf4, 0x35, 0x35, 0x43, 0x61, 0xfb, 0x5e, 0x2b, 0x60, 0xbe, 0xf0, 0x51, 0x23, 0xe1, 0xb7, 0x24, + 0x7f, 0xfb, 0x51, 0x01, 0x6f, 0x3a, 0x21, 0x17, 0x94, 0x19, 0x84, 0x73, 0x7b, 0xec, 0xb9, 0xd4, + 0x13, 0xb1, 0xe0, 0xf6, 0xbd, 0x22, 0xd0, 0x77, 0xdd, 0x44, 0xeb, 0xf6, 0xfd, 0x94, 0x69, 0xfa, + 0x8c, 0xb6, 0x1d, 0x5b, 0x50, 0x46, 0x1c, 0xae, 0xb8, 0x1f, 0xe5, 0xb9, 0x05, 0x93, 0xb6, 0x1f, + 0xe6, 0xd9, 0x84, 0x09, 0x7b, 0x44, 0x4c, 0x61, 0xd8, 0x96, 0x02, 0x3c, 0xc8, 0x03, 0x6c, 0x8b, + 0x7a, 0xc2, 0x1e, 0xd9, 0x94, 0xcd, 0x98, 0x26, 0xf9, 0x2e, 0x15, 0xcc, 0x36, 0xf9, 0x7c, 0xd3, + 0x38, 0x35, 0x43, 0x66, 0x8b, 0x37, 0x89, 0xea, 0xb1, 0xef, 0x8f, 0x1d, 0xda, 0x96, 0xab, 0x61, + 0x38, 0x6a, 0x5b, 0x21, 0x23, 0x59, 0xdb, 0x8a, 0x7c, 0x61, 0xbb, 0x94, 0x0b, 0xe2, 0x06, 0x57, + 0x29, 0xb8, 0x64, 0x24, 0x08, 0x28, 0x53, 0xdb, 0xeb, 0xff, 0x2d, 0xc1, 0x56, 0x2f, 0x39, 0x70, + 0x97, 0x51, 0x22, 0x28, 0xa6, 0xaf, 0x42, 0xca, 0x05, 0xd2, 0x60, 0x39, 0x60, 0xfe, 0x5f, 0xa8, + 0x29, 0xb4, 0xd2, 0x4e, 0xe9, 0xf1, 0x0a, 0x4e, 0x96, 0x68, 0x0b, 0x96, 0x2c, 0xdf, 0x25, 0xb6, + 0xa7, 0x95, 0x25, 0x43, 0xad, 0x10, 0x82, 0x8a, 0x47, 0x5c, 0xaa, 0x2d, 0x4a, 0xaa, 0xfc, 0x46, + 0x9f, 0x43, 0x85, 0x07, 0xd4, 0xd4, 0x2a, 0x3b, 0xa5, 0xc7, 0xf5, 0xdd, 0x8f, 0x5a, 0xf9, 0xfb, + 0x6d, 0xa5, 0x7b, 0x9f, 0x04, 0xd4, 0xc4, 0x12, 0x8a, 0x3e, 0x87, 0x25, 0xdb, 0x0b, 0x42, 0xc1, + 0xb5, 0xaa, 0x14, 0xba, 0x3b, 0x15, 0x8a, 0x7c, 0xd4, 0x3a, 0x88, 0xaf, 0xef, 0x90, 0x04, 0x58, + 0x01, 0xf5, 0x7f, 0x96, 0x40, 0x4b, 0x55, 0x61, 0xea, 0x90, 0xd0, 0x33, 0x27, 0xc9, 0x41, 0x9e, + 0x42, 0xd9, 0xb6, 0xe4, 0x19, 0xea, 0xbb, 0x9f, 0x16, 0x74, 0xbd, 0xf4, 0xd9, 0xaf, 0x23, 0xc7, + 0xbf, 0x4c, 0x85, 0x07, 0xe9, 0xed, 0xe1, 0xb2, 0x6d, 0xcd, 0x3d, 0xd2, 0x23, 0x58, 0xf7, 0x2f, + 0x28, 0xbb, 0x64, 0xb6, 0xa0, 0x86, 0x49, 0xcc, 0x09, 0x95, 0xa7, 0xab, 0xe1, 0x46, 0x4a, 0xee, + 0x46, 0xd4, 0xef, 0x2b, 0xb5, 0x72, 0x73, 0x51, 0xff, 0x57, 0x09, 0x3e, 0xcc, 0xd8, 0x66, 0x46, + 0xa0, 0xdb, 0x34, 0xad, 0x9c, 0x31, 0xed, 0x19, 0xd4, 0x5c, 0x2a, 0x88, 0x45, 0x04, 0x91, 0x26, + 0xd7, 0x77, 0x3f, 0xbe, 0xd2, 0xe3, 0x87, 0x0a, 0x88, 0x53, 0x11, 0xfd, 0x2c, 0x63, 0x69, 0x12, + 0x0c, 0x3c, 0xf0, 0x3d, 0x4e, 0xdf, 0xc7, 0x52, 0xfd, 0x47, 0xb8, 0x37, 0x03, 0xf9, 0x8e, 0x8a, + 0x5b, 0x70, 0x82, 0xfe, 0x9f, 0x12, 0xac, 0xa4, 0xbc, 0xf7, 0x72, 0x67, 0x12, 0xa8, 0xe5, 0x9b, + 0x07, 0xea, 0x53, 0x58, 0x36, 0x1d, 0x9f, 0x87, 0x8c, 0x2a, 0x67, 0xef, 0x5c, 0x29, 0xd5, 0x8d, + 0x71, 0x38, 0x11, 0xd0, 0xff, 0x0c, 0x6b, 0x29, 0xf3, 0xc0, 0xe6, 0x02, 0x7d, 0x09, 0x90, 0x56, + 0x1e, 0xae, 0x95, 0x76, 0x16, 0xf3, 0x91, 0x5f, 0xd0, 0x87, 0x33, 0x60, 0xb4, 0x09, 0x55, 0xe1, + 0xff, 0x4a, 0x93, 0x74, 0x8c, 0x17, 0x3a, 0x85, 0xc6, 0x34, 0x53, 0xf6, 0x1c, 0x7f, 0x88, 0xfe, + 0x00, 0x4b, 0x17, 0xc4, 0x09, 0x29, 0x57, 0x2e, 0xba, 0x3a, 0xb1, 0xf6, 0xca, 0x5a, 0xa9, 0xbf, + 0x80, 0x15, 0x1c, 0x21, 0x58, 0x0c, 0x99, 0x1d, 0xab, 0xef, 0x2f, 0xe0, 0x68, 0xb1, 0xb7, 0x04, + 0x15, 0x19, 0x33, 0x5d, 0x58, 0xeb, 0x0c, 0x7d, 0x26, 0x92, 0x70, 0x8a, 0xac, 0x31, 0x49, 0xc8, + 0xa9, 0xaa, 0x1a, 0xf1, 0x02, 0xdd, 0x87, 0x95, 0x80, 0xd9, 0x9e, 0x69, 0x07, 0xc4, 0x51, 0x76, + 0x4e, 0x09, 0xfa, 0x3f, 0x96, 0xa1, 0x59, 0xf4, 0x15, 0xfa, 0x06, 0x96, 0xfd, 0x50, 0xc8, 0x42, + 0x10, 0xdb, 0xfb, 0xa0, 0xe8, 0x8e, 0xfc, 0xf9, 0x94, 0xd1, 0x89, 0x10, 0x7a, 0x02, 0x55, 0xca, + 0x98, 0xcf, 0x66, 0xaf, 0x54, 0x9e, 0x36, 0xdd, 0xaf, 0x17, 0x81, 0xfa, 0x0b, 0x38, 0x46, 0xa3, + 0xdf, 0x40, 0x9d, 0x44, 0x07, 0x32, 0xe2, 0x53, 0x40, 0x64, 0xab, 0x52, 0x0d, 0x92, 0xd1, 0x95, + 0x07, 0x7a, 0x0e, 0x8d, 0x18, 0x96, 0x26, 0xdc, 0xea, 0xfc, 0xc8, 0xc9, 0x79, 0xa7, 0xbf, 0x80, + 0xd7, 0x48, 0xce, 0x5d, 0xdf, 0x42, 0x3d, 0x36, 0xd8, 0x90, 0x4a, 0xd6, 0x6e, 0x76, 0x33, 0x10, + 0xcb, 0xec, 0x47, 0x1a, 0x9e, 0xc3, 0xba, 0xe9, 0xbb, 0x41, 0x28, 0xa8, 0x65, 0xa8, 0xc2, 0xb9, + 0x78, 0x03, 0x2d, 0xb8, 0x91, 0x48, 0x0d, 0xa4, 0x10, 0xfa, 0x1a, 0xaa, 0xc1, 0x84, 0xf0, 0xb8, + 0x9a, 0x35, 0x76, 0x7f, 0x7b, 0x5d, 0x02, 0xb5, 0x5e, 0x44, 0x68, 0x1c, 0x0b, 0x45, 0xf1, 0xcb, + 0x05, 0x61, 0x91, 0x11, 0x44, 0xa8, 0xca, 0xbd, 0xdd, 0x8a, 0xdb, 0x4f, 0x2b, 0x69, 0x3f, 0xad, + 0xd3, 0xa4, 0x3f, 0xe1, 0x15, 0x85, 0xee, 0x08, 0xf4, 0x04, 0x6a, 0x49, 0x5f, 0xd3, 0x96, 0x94, + 0xe5, 0x45, 0xc1, 0x7d, 0x05, 0xc0, 0x29, 0x34, 0xda, 0xd1, 0x94, 0x45, 0x4a, 0xee, 0xb8, 0x7c, + 0xfd, 0x8e, 0x0a, 0xdd, 0x91, 0xc9, 0x16, 0x06, 0x56, 0x22, 0x5a, 0xbb, 0x5e, 0x54, 0xa1, 0x3b, + 0x02, 0xed, 0xc1, 0x9a, 0xe7, 0x47, 0x75, 0xc3, 0x24, 0x71, 0xaa, 0xae, 0xc8, 0x54, 0xbd, 0x5f, + 0xbc, 0xf6, 0xa3, 0x0c, 0x08, 0xe7, 0x45, 0xd0, 0x53, 0xa8, 0x5f, 0x2a, 0x6f, 0x1a, 0xb6, 0xa5, + 0xd5, 0xe7, 0xde, 0x56, 0xa6, 0x3e, 0x41, 0x82, 0x1e, 0x58, 0xe8, 0x17, 0xd8, 0xe4, 0x82, 0x44, + 0x9d, 0x67, 0x42, 0xbc, 0x31, 0x35, 0x2c, 0x2a, 0x88, 0xed, 0x70, 0xad, 0x21, 0x95, 0x7c, 0x76, + 0x75, 0xdd, 0x8a, 0x84, 0xba, 0x52, 0x66, 0x3f, 0x16, 0xc1, 0x88, 0xcf, 0xd0, 0xf6, 0xd6, 0x61, + 0x4d, 0x85, 0x23, 0xa3, 0x3c, 0x74, 0x84, 0xfe, 0x33, 0x34, 0x4e, 0xde, 0x70, 0x41, 0xdd, 0x34, + 0x62, 0x3f, 0x83, 0x3b, 0x69, 0xf1, 0x31, 0xd4, 0x40, 0xa6, 0x92, 0xbd, 0x49, 0xa7, 0x49, 0x2c, + 0xe9, 0x51, 0xde, 0x47, 0x9d, 0x89, 0x07, 0xc4, 0x4c, 0x5a, 0xd5, 0x94, 0xa0, 0xff, 0xaf, 0x02, + 0x77, 0x66, 0x1a, 0x12, 0xea, 0x42, 0xc5, 0xf5, 0xad, 0xb8, 0x80, 0x34, 0x76, 0xdb, 0xd7, 0x76, + 0xb0, 0x0c, 0xc5, 0xb7, 0x28, 0x96, 0xc2, 0x6f, 0x2f, 0x38, 0xd1, 0x70, 0xe3, 0x51, 0x2e, 0x6c, + 0x6f, 0x2c, 0x73, 0x65, 0x0d, 0x27, 0x4b, 0xf4, 0x0c, 0x56, 0xb9, 0x39, 0xa1, 0x56, 0xe8, 0xc4, + 0xc1, 0x51, 0xb9, 0x36, 0x38, 0xea, 0x29, 0xbe, 0x23, 0xd0, 0x4f, 0xf0, 0x41, 0x40, 0x18, 0xf5, + 0x84, 0xe1, 0xf9, 0x16, 0x35, 0x52, 0x7f, 0xa8, 0x8c, 0x28, 0x26, 0xd5, 0x91, 0x6f, 0xd1, 0x79, + 0x1d, 0x69, 0x23, 0x56, 0x92, 0x63, 0xa3, 0x9f, 0x61, 0x83, 0xd1, 0x11, 0x65, 0xd4, 0x33, 0xb3, + 0x9a, 0x9b, 0xef, 0xdc, 0xef, 0x50, 0xaa, 0x66, 0xaa, 0xfc, 0x3b, 0x58, 0xe7, 0xf2, 0x9e, 0xa7, + 0x05, 0xed, 0xce, 0xfc, 0xaa, 0x9b, 0x0f, 0x07, 0xdc, 0xe0, 0xf9, 0xf0, 0xf8, 0x1a, 0x56, 0x33, + 0x33, 0x32, 0xd7, 0x50, 0xb1, 0x95, 0x49, 0xf3, 0x3a, 0x0a, 0x32, 0xd8, 0xc7, 0xf5, 0x04, 0x3e, + 0xb0, 0xb8, 0x3e, 0xce, 0xf4, 0xc5, 0xe8, 0x36, 0x11, 0xc0, 0xd2, 0x61, 0xe7, 0xe8, 0xac, 0x73, + 0xd0, 0x5c, 0x40, 0x6b, 0xb0, 0x72, 0xd2, 0xed, 0xf7, 0xf6, 0xcf, 0x0e, 0x7a, 0xfb, 0xcd, 0x52, + 0xc4, 0x3a, 0xf9, 0xf1, 0xe4, 0xb4, 0x77, 0xd8, 0x2c, 0xa3, 0x55, 0xa8, 0xe1, 0xde, 0x41, 0xe7, + 0xec, 0xa8, 0xdb, 0x6f, 0x2e, 0x22, 0x04, 0x8d, 0x6e, 0x7f, 0x70, 0xb0, 0x6f, 0xbc, 0x3c, 0xc6, + 0x7f, 0x7c, 0x7e, 0x70, 0xfc, 0xb2, 0x59, 0x89, 0x84, 0x71, 0xaf, 0x7b, 0x7c, 0xde, 0xc3, 0xbd, + 0xfd, 0x66, 0x55, 0x3f, 0x87, 0x66, 0x36, 0x45, 0x65, 0x0f, 0x9e, 0xc9, 0xed, 0xd2, 0x3b, 0xe7, + 0xb6, 0xfe, 0xf7, 0x5a, 0xe6, 0x04, 0x27, 0xf1, 0x98, 0x50, 0x8f, 0x07, 0x52, 0x23, 0x70, 0x88, + 0x77, 0x45, 0xef, 0xcd, 0x66, 0x7b, 0x8c, 0x7e, 0xe1, 0x10, 0x0f, 0x3d, 0x49, 0x67, 0xe1, 0xf2, + 0x4d, 0x4a, 0xba, 0x02, 0xbf, 0xe7, 0x1c, 0x88, 0xfa, 0x45, 0x3f, 0x54, 0xe7, 0x8f, 0x37, 0x45, + 0x07, 0x46, 0xdd, 0x2d, 0x5f, 0xe9, 0x3e, 0x86, 0xba, 0x65, 0x73, 0x32, 0x74, 0xa8, 0x41, 0x1c, + 0x47, 0x56, 0xf7, 0x5a, 0xd4, 0xbe, 0x14, 0xb1, 0xe3, 0x38, 0xa8, 0x05, 0x4b, 0x0e, 0x19, 0x52, + 0x87, 0xab, 0x12, 0xbe, 0x35, 0xd3, 0xe5, 0x25, 0x17, 0x2b, 0x14, 0x7a, 0x06, 0x75, 0xe2, 0x79, + 0xbe, 0x50, 0xa6, 0xc5, 0xc5, 0xfb, 0xde, 0x4c, 0xd7, 0x9d, 0x42, 0x70, 0x16, 0x8f, 0x06, 0xd0, + 0x4c, 0x1e, 0x59, 0x86, 0xe9, 0x7b, 0x82, 0xbe, 0x16, 0xb2, 0xc7, 0xe7, 0x02, 0x5d, 0xfa, 0xf6, + 0x44, 0xc1, 0xba, 0x31, 0x0a, 0xaf, 0xf3, 0x3c, 0x01, 0x7d, 0x09, 0x2b, 0x24, 0x14, 0x13, 0x83, + 0xf9, 0x0e, 0x55, 0x59, 0xa8, 0xcd, 0xd8, 0x11, 0x8a, 0x09, 0xf6, 0x1d, 0x2a, 0xaf, 0xa7, 0x46, + 0xd4, 0x0a, 0x1d, 0x02, 0x7a, 0x15, 0x12, 0x27, 0x32, 0xc2, 0x1f, 0x19, 0x9c, 0xb2, 0x0b, 0xdb, + 0xa4, 0x2a, 0xe1, 0x1e, 0x16, 0xec, 0xf8, 0x53, 0x0c, 0x3c, 0x1e, 0x9d, 0xc4, 0x30, 0xdc, 0x7c, + 0x55, 0xa0, 0x44, 0x4f, 0x12, 0x97, 0xbc, 0x36, 0x02, 0xc2, 0x88, 0xe3, 0x50, 0xc7, 0xe6, 0xae, + 0x86, 0x76, 0x4a, 0x8f, 0xab, 0xb8, 0xe1, 0x92, 0xd7, 0x2f, 0xa6, 0x54, 0xf4, 0x03, 0x6c, 0x31, + 0x72, 0x69, 0x64, 0x26, 0x8e, 0xc8, 0x09, 0x23, 0x7b, 0xac, 0x6d, 0xc8, 0xbd, 0x3f, 0x29, 0xda, + 0x8f, 0xc9, 0xe5, 0x71, 0x3a, 0x6a, 0x74, 0x25, 0x14, 0x6f, 0xb0, 0x59, 0x22, 0x7a, 0x01, 0x68, + 0xf6, 0x71, 0xae, 0x6d, 0xce, 0x0f, 0x3e, 0xd5, 0x1d, 0x3a, 0x29, 0x10, 0xdf, 0x31, 0x8b, 0x24, + 0xf4, 0x2d, 0xac, 0xd9, 0x9e, 0xa0, 0x8c, 0x85, 0x81, 0xb0, 0x87, 0x0e, 0xd5, 0x3e, 0xb8, 0xa2, + 0x14, 0xef, 0xf9, 0xbe, 0x73, 0x1e, 0x4d, 0xaa, 0x38, 0x2f, 0x30, 0xef, 0xa5, 0xb6, 0x35, 0xef, + 0xa5, 0x86, 0x1e, 0x43, 0x85, 0x7a, 0x17, 0x5c, 0xfb, 0x50, 0xee, 0xb0, 0x39, 0x93, 0x2b, 0xde, + 0x05, 0xc7, 0x12, 0x11, 0xbd, 0xba, 0x04, 0x19, 0x73, 0x4d, 0xdb, 0x59, 0x8c, 0x5e, 0x5d, 0xd1, + 0xf7, 0x9e, 0x06, 0x5b, 0xd9, 0xa8, 0x37, 0x22, 0xe5, 0xcc, 0xb6, 0x28, 0xff, 0xbe, 0x52, 0xab, + 0x34, 0xab, 0xba, 0x0b, 0x77, 0xd3, 0x6c, 0x3b, 0xa5, 0xcc, 0xb5, 0xbd, 0xcc, 0x33, 0xfb, 0x7d, + 0xde, 0x2c, 0xe9, 0xa8, 0x5d, 0xce, 0x8c, 0xda, 0xfa, 0x7d, 0xd8, 0x9e, 0xb7, 0x5d, 0xfc, 0x90, + 0xd3, 0x7f, 0x81, 0x87, 0xf3, 0x1e, 0x63, 0xd1, 0x4d, 0xde, 0xc6, 0x83, 0xec, 0xaf, 0x65, 0xd8, + 0xb9, 0x5a, 0xbf, 0x7a, 0x4c, 0x3e, 0x29, 0x4e, 0xf6, 0x1f, 0x16, 0x3d, 0x7e, 0xc6, 0x9c, 0x64, + 0xa4, 0x9f, 0x0e, 0xf4, 0x5f, 0x14, 0x8a, 0xe1, 0x5b, 0xa5, 0x92, 0x52, 0xf8, 0x14, 0xea, 0xa3, + 0xd0, 0x71, 0x6e, 0x3a, 0x19, 0x63, 0x88, 0xd0, 0xe9, 0x44, 0xbc, 0x2a, 0x65, 0x13, 0x63, 0x2b, + 0xd7, 0x09, 0xcb, 0xad, 0xe2, 0xd4, 0xe0, 0xfa, 0xdf, 0xb2, 0xff, 0x56, 0xce, 0xe4, 0x00, 0x79, + 0x1b, 0x97, 0xfe, 0x7b, 0xa8, 0xca, 0xb9, 0x4d, 0x3a, 0xa1, 0x31, 0xdb, 0x9e, 0xf3, 0x13, 0x1f, + 0x8e, 0xc1, 0xfa, 0xbf, 0x4b, 0x70, 0xef, 0x2d, 0xb3, 0xe0, 0x54, 0x6b, 0xe9, 0x1d, 0xb4, 0xa2, + 0xaf, 0xa0, 0xee, 0x9b, 0x66, 0xc8, 0x58, 0x3c, 0x2b, 0x95, 0xaf, 0x9d, 0x95, 0x20, 0x81, 0x77, + 0x44, 0x7e, 0x42, 0x5b, 0x2c, 0x3e, 0x09, 0xef, 0x66, 0xfe, 0x45, 0x24, 0xce, 0x53, 0x21, 0x7c, + 0x01, 0xfa, 0xbc, 0x10, 0x3b, 0x8c, 0x7f, 0xac, 0xdd, 0x52, 0x62, 0x59, 0x34, 0x10, 0x13, 0x79, + 0xa2, 0x2a, 0x8e, 0x17, 0xfa, 0x11, 0x7c, 0xf2, 0xd6, 0x7d, 0x55, 0x74, 0x3f, 0x82, 0x0a, 0x0f, + 0xd2, 0x46, 0xbf, 0x51, 0xec, 0x2a, 0x01, 0xf1, 0xb0, 0x04, 0x7c, 0xfa, 0x0d, 0x34, 0xf2, 0x6e, + 0x45, 0x9b, 0xd0, 0xec, 0xfd, 0xd0, 0xeb, 0x9e, 0x9d, 0x0e, 0x8e, 0x8f, 0x8c, 0x4e, 0xf7, 0x74, + 0x70, 0xde, 0x6b, 0x2e, 0xa0, 0x2d, 0x40, 0x19, 0x2a, 0xee, 0xf6, 0x07, 0xe7, 0xd1, 0xfc, 0xb3, + 0xf7, 0xec, 0xa7, 0xaf, 0xc6, 0xb6, 0x98, 0x84, 0xc3, 0x96, 0xe9, 0xbb, 0x6d, 0xb9, 0x8d, 0xcf, + 0xc6, 0xf1, 0x47, 0x3b, 0xfd, 0xaf, 0x38, 0xa6, 0x5e, 0x3b, 0x18, 0xfe, 0x6e, 0xec, 0xb7, 0xf3, + 0xbf, 0x48, 0x87, 0x4b, 0xf2, 0x7e, 0xbe, 0xf8, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xae, 0xc9, + 0xe4, 0xb3, 0x94, 0x15, 0x00, 0x00, } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go index 6ca7ee0f43..1473435d45 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go @@ -1117,6 +1117,21 @@ func (m *ExecutionMetadata) Validate() error { } } + for idx, item := range m.GetArtifactIds() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ExecutionMetadataValidationError{ + field: fmt.Sprintf("ArtifactIds[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + return nil } 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 2b1826ae11..5e7b95f8ca 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.go @@ -7,6 +7,7 @@ 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" @@ -575,10 +576,12 @@ type LaunchPlanMetadata struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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:"-"` } func (m *LaunchPlanMetadata) Reset() { *m = LaunchPlanMetadata{} } @@ -620,6 +623,13 @@ func (m *LaunchPlanMetadata) GetNotifications() []*Notification { return nil } +func (m *LaunchPlanMetadata) GetLaunchConditions() *any.Any { + if m != nil { + return m.LaunchConditions + } + return nil +} + // Request to set the referenced launch plan state to the configured value. // See :ref:`ref_flyteidl.admin.LaunchPlan` for more details type LaunchPlanUpdateRequest struct { @@ -850,77 +860,79 @@ func init() { func init() { proto.RegisterFile("flyteidl/admin/launch_plan.proto", fileDescriptor_368a863574f5e699) } var fileDescriptor_368a863574f5e699 = []byte{ - // 1152 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdb, 0x6e, 0xdb, 0x46, - 0x13, 0xfe, 0xa5, 0xc8, 0xa7, 0x71, 0x2c, 0x3b, 0x9b, 0xfc, 0x0e, 0xab, 0xa4, 0x89, 0xab, 0xa2, - 0xa8, 0xdb, 0x26, 0x12, 0x90, 0x36, 0x17, 0x39, 0x01, 0x95, 0x1d, 0x5f, 0x08, 0xcd, 0xc1, 0x5d, - 0xa7, 0x41, 0xd1, 0x1b, 0x62, 0x45, 0x8e, 0xa4, 0x6d, 0x96, 0x5c, 0x66, 0x77, 0x69, 0xcb, 0xe8, - 0x3b, 0xf4, 0x39, 0x8a, 0xbe, 0x43, 0x1f, 0xa1, 0xef, 0x54, 0x70, 0xb9, 0xa4, 0x24, 0xd2, 0x46, - 0xda, 0x02, 0xbd, 0x12, 0x67, 0xe7, 0xfb, 0x66, 0x67, 0x66, 0xe7, 0x20, 0xd8, 0x1b, 0x8b, 0x73, - 0x83, 0x3c, 0x14, 0x7d, 0x16, 0x46, 0x3c, 0xee, 0x0b, 0x96, 0xc6, 0xc1, 0xd4, 0x4f, 0x04, 0x8b, - 0x7b, 0x89, 0x92, 0x46, 0x92, 0x76, 0x81, 0xe8, 0x59, 0x44, 0xe7, 0xe3, 0x92, 0x11, 0x48, 0x85, - 0x7d, 0x9c, 0x61, 0x90, 0x1a, 0x2e, 0x1d, 0xbc, 0x73, 0x7b, 0x59, 0x2d, 0xb8, 0x41, 0xc5, 0x84, - 0x76, 0xda, 0x3b, 0xcb, 0x5a, 0x1e, 0x62, 0x6c, 0xf8, 0x98, 0xa3, 0x72, 0xfa, 0x8a, 0x71, 0x1e, - 0x1b, 0x54, 0x63, 0x16, 0xe0, 0xc5, 0xc6, 0x35, 0x06, 0xa9, 0xe2, 0xe6, 0xbc, 0x46, 0xce, 0x63, - 0xd1, 0xc1, 0x14, 0xc3, 0x54, 0x14, 0xe4, 0x5b, 0x15, 0x75, 0x20, 0xa3, 0xa8, 0x74, 0xfb, 0xee, - 0x44, 0xca, 0x89, 0xc0, 0xbe, 0x95, 0x46, 0xe9, 0xb8, 0x6f, 0x78, 0x84, 0xda, 0xb0, 0x28, 0x29, - 0x3c, 0xaf, 0x02, 0xce, 0x14, 0x4b, 0x12, 0x54, 0x2e, 0xb2, 0xee, 0x0c, 0x6e, 0xbe, 0xb0, 0xb9, - 0x3b, 0x16, 0x2c, 0x3e, 0x54, 0xc8, 0x0c, 0x52, 0x7c, 0x9f, 0xa2, 0x36, 0xe4, 0x0b, 0x68, 0xf2, - 0xd0, 0x6b, 0xec, 0x35, 0xf6, 0x37, 0x1f, 0x7c, 0xd4, 0x2b, 0xd3, 0x99, 0x85, 0xd0, 0x1b, 0x96, - 0x19, 0xa0, 0x4d, 0x1e, 0x92, 0x07, 0xd0, 0xd2, 0x09, 0x06, 0x5e, 0xd3, 0x82, 0xef, 0xf4, 0x96, - 0x73, 0xdf, 0x9b, 0xdf, 0x70, 0x92, 0x60, 0x40, 0x2d, 0xb6, 0xdb, 0x01, 0xaf, 0x7e, 0xb3, 0x4e, - 0x64, 0xac, 0xb1, 0xfb, 0x5b, 0x03, 0x60, 0xae, 0xfc, 0x8f, 0x3d, 0x21, 0x4f, 0x60, 0x2d, 0x10, - 0x52, 0xa7, 0x0a, 0xbd, 0x2b, 0x96, 0xf6, 0xc9, 0xe5, 0xb4, 0xc3, 0x1c, 0x48, 0x0b, 0x46, 0x17, - 0xa1, 0x3d, 0xd7, 0xbe, 0xe0, 0xda, 0x90, 0x67, 0x70, 0x75, 0xa1, 0x1c, 0xb5, 0xd7, 0xd8, 0xbb, - 0xb2, 0xbf, 0xf9, 0xa0, 0x73, 0xb9, 0x4d, 0xba, 0x29, 0xca, 0x6f, 0x4d, 0x6e, 0xc0, 0x8a, 0x91, - 0xef, 0x30, 0xb6, 0x21, 0x6c, 0xd0, 0x5c, 0xe8, 0x9e, 0x42, 0x6b, 0x90, 0x9a, 0x29, 0xb9, 0x07, - 0x84, 0x69, 0x9d, 0x46, 0x6c, 0x24, 0xd0, 0xe7, 0x2c, 0xf2, 0x95, 0x14, 0x68, 0x53, 0xb3, 0x41, - 0x77, 0x4a, 0xcd, 0x90, 0x45, 0x54, 0x0a, 0x24, 0x4f, 0xa1, 0xf3, 0x2e, 0x1d, 0xa1, 0x8a, 0xd1, - 0xa0, 0xf6, 0x35, 0xaa, 0x53, 0x1e, 0xa0, 0xcf, 0x82, 0x40, 0xa6, 0xb1, 0x71, 0x17, 0x78, 0x73, - 0xc4, 0x49, 0x0e, 0x18, 0xe4, 0xfa, 0xc7, 0x4d, 0xaf, 0xd1, 0xfd, 0x63, 0x6d, 0x31, 0xbe, 0x2c, - 0x69, 0xe4, 0x31, 0x6c, 0x9e, 0x49, 0xf5, 0x6e, 0x2c, 0xe4, 0x99, 0xff, 0x77, 0x9e, 0x05, 0x0a, - 0xf4, 0x30, 0x24, 0xdf, 0xc1, 0x76, 0x76, 0x6e, 0xce, 0xfd, 0x08, 0x0d, 0x0b, 0x99, 0x61, 0xee, - 0xa5, 0xba, 0x97, 0xa7, 0xe7, 0xa5, 0x43, 0xd2, 0x76, 0x4e, 0x2d, 0x64, 0x72, 0x00, 0xed, 0x10, - 0xc7, 0x2c, 0x15, 0xc6, 0xe7, 0x71, 0x92, 0x1a, 0xed, 0x9e, 0xef, 0x56, 0xc5, 0x97, 0x63, 0xa6, - 0x58, 0x84, 0x06, 0xd5, 0x4b, 0x96, 0xd0, 0x2d, 0x47, 0x19, 0x5a, 0x06, 0x79, 0x0a, 0x57, 0xc7, - 0x7c, 0x86, 0x61, 0x61, 0xa1, 0x75, 0x61, 0x34, 0x2f, 0xf2, 0x71, 0x90, 0xf1, 0x37, 0x2d, 0xdc, - 0xb1, 0x77, 0xa1, 0x65, 0xf3, 0xbf, 0x92, 0x65, 0xf2, 0xa0, 0xe9, 0x35, 0xa8, 0x95, 0x49, 0x0f, - 0x56, 0x05, 0x1b, 0xa1, 0xd0, 0xde, 0xaa, 0xb5, 0xb7, 0x5b, 0x8f, 0x2e, 0xd3, 0x52, 0x87, 0x22, - 0xcf, 0x60, 0x93, 0xc5, 0xb1, 0x34, 0x2c, 0x9b, 0x48, 0xda, 0x5b, 0xab, 0x86, 0x91, 0x93, 0x06, - 0x73, 0x08, 0x5d, 0xc4, 0x93, 0x7b, 0xd0, 0x62, 0xa9, 0x99, 0x7a, 0xeb, 0x96, 0x77, 0xa3, 0xc6, - 0x4b, 0xcd, 0x34, 0x77, 0x2e, 0x43, 0x91, 0x47, 0xb0, 0x91, 0xfd, 0xe6, 0x95, 0xb3, 0x61, 0x29, - 0xde, 0x45, 0x94, 0xac, 0x82, 0x2c, 0x6d, 0x9d, 0x39, 0x89, 0x0c, 0x61, 0xa7, 0x18, 0x5e, 0x7e, - 0x20, 0x63, 0x83, 0x33, 0xe3, 0x41, 0xb5, 0xd3, 0x6c, 0xc6, 0x4e, 0x1c, 0xec, 0x30, 0x47, 0xd1, - 0x6d, 0xbd, 0x7c, 0x40, 0x5e, 0x02, 0x79, 0x9f, 0x32, 0x91, 0x59, 0x92, 0xe3, 0xa2, 0x34, 0xbd, - 0x1d, 0x6b, 0xec, 0x6e, 0xc5, 0xd8, 0xf7, 0x39, 0xf0, 0xf5, 0xd8, 0x15, 0x28, 0xdd, 0x79, 0x5f, - 0x39, 0x21, 0x3f, 0xc2, 0xae, 0x62, 0x67, 0xbe, 0x4c, 0x4d, 0x92, 0x1a, 0x3f, 0x2b, 0x8f, 0xcc, - 0xc1, 0x31, 0x9f, 0x78, 0xd7, 0xac, 0xc9, 0x4f, 0xab, 0x11, 0x52, 0x76, 0xf6, 0xda, 0x82, 0x9f, - 0x33, 0xc3, 0x0e, 0x2d, 0x94, 0x5e, 0x57, 0xf5, 0x43, 0xf2, 0x39, 0x6c, 0x47, 0x6c, 0xe6, 0x27, - 0x4c, 0x31, 0x21, 0x50, 0x70, 0x1d, 0x79, 0x64, 0xaf, 0xb1, 0xbf, 0x42, 0xdb, 0x11, 0x9b, 0x1d, - 0xcf, 0x4f, 0xc9, 0xb7, 0xb0, 0x65, 0x07, 0xbf, 0x4a, 0x13, 0xc3, 0x47, 0x02, 0xbd, 0xeb, 0xf6, - 0xe6, 0x4e, 0x2f, 0x1f, 0xc1, 0xbd, 0x62, 0x04, 0xf7, 0x0e, 0xa4, 0x14, 0x6f, 0x99, 0x48, 0x91, - 0x2e, 0x13, 0xb2, 0xab, 0xe4, 0x29, 0xaa, 0x33, 0xc5, 0x0d, 0xfa, 0x01, 0x0b, 0xa6, 0xe8, 0xdd, - 0xd8, 0x6b, 0xec, 0xaf, 0xd3, 0x76, 0x79, 0x7c, 0x98, 0x9d, 0x92, 0x7d, 0x68, 0x61, 0x7c, 0xaa, - 0xbd, 0xff, 0x5f, 0xfc, 0xe0, 0x47, 0xf1, 0xa9, 0xa6, 0x16, 0xd1, 0xfd, 0xb3, 0x09, 0xd7, 0x6a, - 0xd3, 0x8b, 0x3c, 0x84, 0x15, 0x6d, 0x98, 0xc9, 0x07, 0x47, 0x7b, 0x31, 0xdf, 0xb5, 0x31, 0x99, - 0xc1, 0x68, 0x8e, 0x26, 0xcf, 0x61, 0x1b, 0x67, 0x09, 0x06, 0x66, 0xde, 0x2f, 0xcd, 0x0f, 0x77, - 0x5c, 0xbb, 0xe0, 0xb8, 0xa6, 0x39, 0x82, 0x9d, 0xd2, 0x4a, 0xfe, 0x5e, 0x45, 0xe3, 0x76, 0x2a, - 0x66, 0xde, 0x32, 0xc5, 0xb3, 0x71, 0x96, 0x59, 0x29, 0x6f, 0xce, 0x1f, 0x48, 0x93, 0x47, 0x00, - 0x81, 0xdd, 0x1a, 0xa1, 0xcf, 0x8c, 0xeb, 0xdb, 0x7a, 0xae, 0xdf, 0x14, 0xfb, 0x90, 0x6e, 0x38, - 0xf4, 0xc0, 0x64, 0xd4, 0x34, 0x09, 0x0b, 0xea, 0xca, 0x87, 0xa9, 0x0e, 0x3d, 0x30, 0xdd, 0x5f, - 0x1b, 0x40, 0xea, 0xa3, 0x89, 0x7c, 0x03, 0xeb, 0xc5, 0xda, 0x76, 0x03, 0xb1, 0xd6, 0x52, 0x27, - 0x4e, 0x4f, 0x4b, 0x24, 0x39, 0x80, 0xad, 0x58, 0x66, 0x53, 0x32, 0x70, 0x8d, 0xdf, 0xb4, 0xab, - 0xe2, 0x76, 0x95, 0xfa, 0x6a, 0x01, 0x44, 0x97, 0x29, 0xdd, 0x5f, 0x16, 0x17, 0xf8, 0x0f, 0xd6, - 0xcf, 0x7f, 0xb1, 0xc0, 0xcb, 0x82, 0x68, 0xfe, 0x93, 0x82, 0x58, 0xde, 0xe1, 0xc5, 0xe5, 0x6e, - 0x87, 0x1f, 0xc3, 0xcd, 0x41, 0x60, 0xf8, 0x29, 0x2e, 0x2c, 0x3a, 0xe7, 0xd8, 0xc3, 0x05, 0xc7, - 0x3e, 0xab, 0x05, 0xcb, 0x22, 0x0c, 0x8f, 0xec, 0xa4, 0x5f, 0x76, 0xb2, 0xfb, 0x7b, 0x03, 0x6e, - 0x55, 0x4d, 0x66, 0x1b, 0xb7, 0x30, 0xeb, 0xc1, 0x5a, 0xa2, 0xe4, 0xcf, 0x18, 0x18, 0xb7, 0x10, - 0x0b, 0x91, 0xec, 0xc2, 0x6a, 0x28, 0x23, 0xc6, 0x8b, 0xa5, 0xea, 0xa4, 0x6c, 0xd7, 0x0a, 0x1e, - 0x71, 0x63, 0xeb, 0x6f, 0x8b, 0xe6, 0xc2, 0x7c, 0x03, 0xb7, 0x16, 0x36, 0x30, 0xb9, 0x0f, 0x6b, - 0x5a, 0x2a, 0xe3, 0x8f, 0xce, 0x5d, 0xc5, 0xd4, 0xda, 0xee, 0x44, 0x2a, 0x43, 0x57, 0x33, 0xd0, - 0xc1, 0xf9, 0x97, 0x5f, 0xc1, 0x76, 0x25, 0x69, 0xe4, 0x2a, 0xac, 0x0f, 0x5f, 0x0d, 0x0e, 0xdf, - 0x0c, 0xdf, 0x1e, 0xed, 0xfc, 0x8f, 0x00, 0xac, 0xba, 0xef, 0xc6, 0xc1, 0xb3, 0x9f, 0x9e, 0x4c, - 0xb8, 0x99, 0xa6, 0xa3, 0x5e, 0x20, 0xa3, 0xbe, 0x35, 0x2b, 0xd5, 0x24, 0xff, 0xe8, 0x97, 0xff, - 0xff, 0x26, 0x18, 0xf7, 0x93, 0xd1, 0xfd, 0x89, 0xec, 0x2f, 0xff, 0x25, 0x1c, 0xad, 0xda, 0x9a, - 0xfd, 0xfa, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf3, 0xc1, 0x72, 0x27, 0x16, 0x0b, 0x00, 0x00, + // 1183 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x8e, 0x1b, 0x35, + 0x14, 0x26, 0x69, 0xf6, 0xef, 0x6c, 0x37, 0x9b, 0xba, 0x65, 0x3b, 0x4d, 0x4b, 0xbb, 0x04, 0x21, + 0x16, 0x68, 0x13, 0xa9, 0xd0, 0x8b, 0xfe, 0x49, 0x64, 0xd3, 0xbd, 0x88, 0xe8, 0xcf, 0xe2, 0x2d, + 0x15, 0xe2, 0x66, 0xe4, 0xcc, 0x9c, 0x24, 0xa6, 0x9e, 0xf1, 0xd4, 0xf6, 0xec, 0x66, 0xc5, 0x0b, + 0x21, 0xde, 0x81, 0x47, 0xe0, 0x82, 0x37, 0x42, 0xe3, 0xf1, 0x4c, 0x92, 0xc9, 0x56, 0x05, 0x24, + 0xae, 0x66, 0xec, 0xf3, 0x7d, 0x9f, 0x7d, 0x8e, 0x8f, 0xcf, 0x31, 0xec, 0x8f, 0xc5, 0xb9, 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, 0x49, 0xc9, 0x08, 0xa4, 0xc2, 0x1e, + 0xce, 0x30, 0x48, 0x0d, 0x97, 0x0e, 0xde, 0xbe, 0xb5, 0x6c, 0x16, 0xdc, 0xa0, 0x62, 0x42, 0x3b, + 0xeb, 0xed, 0x65, 0x2b, 0x0f, 0x31, 0x36, 0x7c, 0xcc, 0x51, 0x39, 0x7b, 0x45, 0x9c, 0xc7, 0x06, + 0xd5, 0x98, 0x05, 0x78, 0xb1, 0xb8, 0xc6, 0x20, 0x55, 0xdc, 0x9c, 0xaf, 0x90, 0x73, 0x5f, 0x74, + 0x30, 0xc5, 0x30, 0x15, 0x05, 0xf9, 0x66, 0xc5, 0x1c, 0xc8, 0x28, 0x2a, 0xb7, 0x7d, 0x63, 0x22, + 0xe5, 0x44, 0x60, 0xcf, 0x8e, 0x46, 0xe9, 0xb8, 0xc7, 0xe2, 0x42, 0xf6, 0x4e, 0xd5, 0x64, 0x78, + 0x84, 0xda, 0xb0, 0x28, 0x29, 0x9c, 0xaa, 0x02, 0xce, 0x14, 0x4b, 0x12, 0x54, 0xce, 0xe9, 0xce, + 0x0c, 0xae, 0x3f, 0xb7, 0x61, 0x3d, 0x16, 0x2c, 0x1e, 0x28, 0x64, 0x06, 0x29, 0xbe, 0x4b, 0x51, + 0x1b, 0xf2, 0x25, 0xd4, 0x79, 0xe8, 0xd5, 0xf6, 0x6b, 0x07, 0xdb, 0xf7, 0x6f, 0x74, 0xcb, 0x48, + 0x67, 0xde, 0x75, 0x87, 0x65, 0x70, 0x68, 0x9d, 0x87, 0xe4, 0x3e, 0x34, 0x74, 0x82, 0x81, 0x57, + 0xb7, 0xe0, 0xdb, 0xdd, 0xe5, 0x63, 0xe9, 0xce, 0x57, 0x38, 0x49, 0x30, 0xa0, 0x16, 0xdb, 0x69, + 0x83, 0xb7, 0xba, 0xb2, 0x4e, 0x64, 0xac, 0xb1, 0xf3, 0x5b, 0x0d, 0x60, 0x6e, 0xfc, 0x9f, 0x77, + 0x42, 0x1e, 0xc3, 0x46, 0x20, 0xa4, 0x4e, 0x15, 0x7a, 0x97, 0x2c, 0xed, 0xd3, 0xf7, 0xd3, 0x06, + 0x39, 0x90, 0x16, 0x8c, 0x0e, 0x42, 0x73, 0x6e, 0x7d, 0xce, 0xb5, 0x21, 0x4f, 0xe1, 0xf2, 0x42, + 0xa6, 0x6a, 0xaf, 0xb6, 0x7f, 0xe9, 0x60, 0xfb, 0x7e, 0xfb, 0xfd, 0x9a, 0x74, 0x5b, 0x94, 0xff, + 0x9a, 0x5c, 0x83, 0x35, 0x23, 0xdf, 0x62, 0x6c, 0x5d, 0xd8, 0xa2, 0xf9, 0xa0, 0x73, 0x0a, 0x8d, + 0x7e, 0x6a, 0xa6, 0xe4, 0x2e, 0x10, 0xa6, 0x75, 0x1a, 0xb1, 0x91, 0x40, 0x9f, 0xb3, 0xc8, 0x57, + 0x52, 0xa0, 0x0d, 0xcd, 0x16, 0x6d, 0x95, 0x96, 0x21, 0x8b, 0xa8, 0x14, 0x48, 0x9e, 0x40, 0xfb, + 0x6d, 0x3a, 0x42, 0x15, 0xa3, 0x41, 0xed, 0x6b, 0x54, 0xa7, 0x3c, 0x40, 0x9f, 0x05, 0x81, 0x4c, + 0x63, 0xe3, 0x16, 0xf0, 0xe6, 0x88, 0x93, 0x1c, 0xd0, 0xcf, 0xed, 0x8f, 0xea, 0x5e, 0xad, 0xf3, + 0xc7, 0xc6, 0xa2, 0x7f, 0x59, 0xd0, 0xc8, 0x23, 0xd8, 0x3e, 0x93, 0xea, 0xed, 0x58, 0xc8, 0x33, + 0xff, 0x9f, 0x1c, 0x0b, 0x14, 0xe8, 0x61, 0x48, 0xbe, 0x87, 0xdd, 0x6c, 0xde, 0x9c, 0xfb, 0x11, + 0x1a, 0x16, 0x32, 0xc3, 0xdc, 0x49, 0x75, 0xde, 0x1f, 0x9e, 0x17, 0x0e, 0x49, 0x9b, 0x39, 0xb5, + 0x18, 0x93, 0x43, 0x68, 0x86, 0x38, 0x66, 0xa9, 0x30, 0x3e, 0x8f, 0x93, 0xd4, 0x68, 0x77, 0x7c, + 0x37, 0x2b, 0x7b, 0x39, 0x66, 0x8a, 0x45, 0x68, 0x50, 0xbd, 0x60, 0x09, 0xdd, 0x71, 0x94, 0xa1, + 0x65, 0x90, 0x27, 0x70, 0x79, 0xcc, 0x67, 0x18, 0x16, 0x0a, 0x8d, 0x0b, 0xbd, 0x79, 0x9e, 0x57, + 0x8a, 0x8c, 0xbf, 0x6d, 0xe1, 0x8e, 0xbd, 0x07, 0x0d, 0x1b, 0xff, 0xb5, 0x2c, 0x92, 0x87, 0x75, + 0xaf, 0x46, 0xed, 0x98, 0x74, 0x61, 0x5d, 0xb0, 0x11, 0x0a, 0xed, 0xad, 0x5b, 0xbd, 0xbd, 0x55, + 0xef, 0x32, 0x2b, 0x75, 0x28, 0xf2, 0x14, 0xb6, 0x59, 0x1c, 0x4b, 0xc3, 0xb2, 0x62, 0xa5, 0xbd, + 0x8d, 0xaa, 0x1b, 0x39, 0xa9, 0x3f, 0x87, 0xd0, 0x45, 0x3c, 0xb9, 0x0b, 0x0d, 0x96, 0x9a, 0xa9, + 0xb7, 0x69, 0x79, 0xd7, 0x56, 0x78, 0xa9, 0x99, 0xe6, 0x9b, 0xcb, 0x50, 0xe4, 0x21, 0x6c, 0x65, + 0xdf, 0x3c, 0x73, 0xb6, 0x2c, 0xc5, 0xbb, 0x88, 0x92, 0x65, 0x90, 0xa5, 0x6d, 0x32, 0x37, 0x22, + 0x43, 0x68, 0x15, 0x75, 0xcd, 0x0f, 0x64, 0x6c, 0x70, 0x66, 0x3c, 0xa8, 0xde, 0x34, 0x1b, 0xb1, + 0x13, 0x07, 0x1b, 0xe4, 0x28, 0xba, 0xab, 0x97, 0x27, 0xc8, 0x0b, 0x20, 0xef, 0x52, 0x26, 0x32, + 0x25, 0x39, 0x2e, 0x52, 0xd3, 0x6b, 0x59, 0xb1, 0x3b, 0x15, 0xb1, 0x1f, 0x72, 0xe0, 0xab, 0xb1, + 0x4b, 0x50, 0xda, 0x7a, 0x57, 0x99, 0x21, 0x3f, 0xc1, 0x9e, 0x62, 0x67, 0xbe, 0x4c, 0x4d, 0x92, + 0x1a, 0x3f, 0x4b, 0x8f, 0x6c, 0x83, 0x63, 0x3e, 0xf1, 0xae, 0x58, 0xc9, 0xcf, 0xaa, 0x1e, 0x52, + 0x76, 0xf6, 0xca, 0x82, 0x9f, 0x31, 0xc3, 0x06, 0x16, 0x4a, 0xaf, 0xaa, 0xd5, 0x49, 0xf2, 0x05, + 0xec, 0x46, 0x6c, 0xe6, 0x27, 0x4c, 0x31, 0x21, 0x50, 0x70, 0x1d, 0x79, 0x64, 0xbf, 0x76, 0xb0, + 0x46, 0x9b, 0x11, 0x9b, 0x1d, 0xcf, 0x67, 0xc9, 0x77, 0xb0, 0x63, 0x7b, 0x82, 0x4a, 0x13, 0xc3, + 0x47, 0x02, 0xbd, 0xab, 0x76, 0xe5, 0x76, 0x37, 0x2f, 0xc1, 0xdd, 0xa2, 0x04, 0x77, 0x0f, 0xa5, + 0x14, 0x6f, 0x98, 0x48, 0x91, 0x2e, 0x13, 0xb2, 0xa5, 0xe4, 0x29, 0xaa, 0x33, 0xc5, 0x0d, 0xfa, + 0x01, 0x0b, 0xa6, 0xe8, 0x5d, 0xdb, 0xaf, 0x1d, 0x6c, 0xd2, 0x66, 0x39, 0x3d, 0xc8, 0x66, 0xc9, + 0x01, 0x34, 0x30, 0x3e, 0xd5, 0xde, 0xc7, 0x17, 0x1f, 0xf8, 0x51, 0x7c, 0xaa, 0xa9, 0x45, 0x74, + 0xfe, 0xac, 0xc3, 0x95, 0x95, 0xea, 0x45, 0x1e, 0xc0, 0x9a, 0x36, 0xcc, 0xe4, 0x85, 0xa3, 0xb9, + 0x18, 0xef, 0x95, 0x32, 0x99, 0xc1, 0x68, 0x8e, 0x26, 0xcf, 0x60, 0x17, 0x67, 0x09, 0x06, 0x66, + 0x7e, 0x5f, 0xea, 0x1f, 0xbe, 0x71, 0xcd, 0x82, 0xe3, 0x2e, 0xcd, 0x11, 0xb4, 0x4a, 0x95, 0xfc, + 0xbc, 0x8a, 0x8b, 0xdb, 0xae, 0xc8, 0xbc, 0x61, 0x8a, 0x67, 0xe5, 0x2c, 0x53, 0x29, 0x57, 0xce, + 0x0f, 0x48, 0x93, 0x87, 0x00, 0x81, 0xed, 0x1a, 0xa1, 0xcf, 0x8c, 0xbb, 0xb7, 0xab, 0xb1, 0x7e, + 0x5d, 0xf4, 0x43, 0xba, 0xe5, 0xd0, 0x7d, 0x93, 0x51, 0xd3, 0x24, 0x2c, 0xa8, 0x6b, 0x1f, 0xa6, + 0x3a, 0x74, 0xdf, 0x74, 0xfe, 0xaa, 0x01, 0x59, 0x2d, 0x4d, 0xe4, 0x5b, 0xd8, 0x2c, 0x3a, 0xba, + 0x2b, 0x88, 0x2b, 0x57, 0xea, 0xc4, 0xd9, 0x69, 0x89, 0x24, 0x87, 0xb0, 0x13, 0xcb, 0xac, 0x4a, + 0x06, 0xee, 0xe2, 0xd7, 0x6d, 0xab, 0xb8, 0x55, 0xa5, 0xbe, 0x5c, 0x00, 0xd1, 0x65, 0x0a, 0xe9, + 0xc3, 0x15, 0xd7, 0x6d, 0x02, 0x19, 0x87, 0x3c, 0xd7, 0xb9, 0xe4, 0xf2, 0xa2, 0xea, 0x52, 0x3f, + 0x3e, 0xa7, 0xad, 0x1c, 0x3e, 0x28, 0xd1, 0x9d, 0x5f, 0x17, 0xdf, 0x00, 0x3f, 0x5a, 0x57, 0xff, + 0xc3, 0x1b, 0xa0, 0xcc, 0xa9, 0xfa, 0xbf, 0xc9, 0xa9, 0xe5, 0x67, 0x40, 0xb1, 0xb8, 0x7b, 0x06, + 0x1c, 0xc3, 0xf5, 0x7e, 0x60, 0xf8, 0x29, 0x2e, 0xf4, 0x4a, 0xb7, 0xb1, 0x07, 0x0b, 0x1b, 0xfb, + 0x7c, 0x25, 0x5e, 0x2c, 0xc2, 0xf0, 0xc8, 0x36, 0x8b, 0xe5, 0x4d, 0x76, 0x7e, 0xaf, 0xc1, 0xcd, + 0xaa, 0x64, 0xd6, 0xb4, 0x0b, 0x59, 0x0f, 0x36, 0x12, 0x25, 0x7f, 0xc1, 0xc0, 0xb8, 0x9e, 0x5a, + 0x0c, 0xc9, 0x1e, 0xac, 0x87, 0x32, 0x62, 0xbc, 0xe8, 0xcb, 0x6e, 0x94, 0xb5, 0x6b, 0xc1, 0x23, + 0x6e, 0x6c, 0xcc, 0x77, 0x68, 0x3e, 0x98, 0x37, 0xf1, 0xc6, 0x42, 0x13, 0x27, 0xf7, 0x60, 0x43, + 0x4b, 0x65, 0xfc, 0xd1, 0xb9, 0x4b, 0xba, 0x95, 0x9b, 0x7b, 0x22, 0x95, 0xa1, 0xeb, 0x19, 0xe8, + 0xf0, 0xfc, 0xab, 0xaf, 0x61, 0xb7, 0x12, 0x34, 0x72, 0x19, 0x36, 0x87, 0x2f, 0xfb, 0x83, 0xd7, + 0xc3, 0x37, 0x47, 0xad, 0x8f, 0x08, 0xc0, 0xba, 0xfb, 0xaf, 0x1d, 0x3e, 0xfd, 0xf9, 0xf1, 0x84, + 0x9b, 0x69, 0x3a, 0xea, 0x06, 0x32, 0xea, 0x59, 0x59, 0xa9, 0x26, 0xf9, 0x4f, 0xaf, 0x7c, 0x5d, + 0x4e, 0x30, 0xee, 0x25, 0xa3, 0x7b, 0x13, 0xd9, 0x5b, 0x7e, 0x70, 0x8e, 0xd6, 0x6d, 0x8e, 0x7c, + 0xf3, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xba, 0x5e, 0x97, 0x74, 0x0b, 0x00, 0x00, } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go index 21c16360fe..d882416786 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go @@ -777,6 +777,16 @@ func (m *LaunchPlanMetadata) Validate() error { } + if v, ok := interface{}(m.GetLaunchConditions()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return LaunchPlanMetadataValidationError{ + field: "LaunchConditions", + reason: "embedded message failed validation", + cause: err, + } + } + } + return nil } diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go new file mode 100644 index 0000000000..1145a30d04 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go @@ -0,0 +1,1762 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/artifact/artifacts.proto + +package artifact + +import ( + context "context" + fmt "fmt" + admin "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + _ "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" + proto "github.com/golang/protobuf/proto" + any "github.com/golang/protobuf/ptypes/any" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type FindByWorkflowExecRequest_Direction int32 + +const ( + FindByWorkflowExecRequest_INPUTS FindByWorkflowExecRequest_Direction = 0 + FindByWorkflowExecRequest_OUTPUTS FindByWorkflowExecRequest_Direction = 1 +) + +var FindByWorkflowExecRequest_Direction_name = map[int32]string{ + 0: "INPUTS", + 1: "OUTPUTS", +} + +var FindByWorkflowExecRequest_Direction_value = map[string]int32{ + "INPUTS": 0, + "OUTPUTS": 1, +} + +func (x FindByWorkflowExecRequest_Direction) String() string { + return proto.EnumName(FindByWorkflowExecRequest_Direction_name, int32(x)) +} + +func (FindByWorkflowExecRequest_Direction) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{10, 0} +} + +type Artifact struct { + ArtifactId *core.ArtifactID `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + Spec *ArtifactSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + // references the tag field in ArtifactTag + Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` + Source *ArtifactSource `protobuf:"bytes,4,opt,name=source,proto3" json:"source,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_804518da5936dedb, []int{0} +} + +func (m *Artifact) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Artifact.Unmarshal(m, b) +} +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 (m *Artifact) XXX_Size() int { + return xxx_messageInfo_Artifact.Size(m) +} +func (m *Artifact) XXX_DiscardUnknown() { + xxx_messageInfo_Artifact.DiscardUnknown(m) +} + +var xxx_messageInfo_Artifact proto.InternalMessageInfo + +func (m *Artifact) GetArtifactId() *core.ArtifactID { + if m != nil { + return m.ArtifactId + } + return nil +} + +func (m *Artifact) GetSpec() *ArtifactSpec { + if m != nil { + return m.Spec + } + return nil +} + +func (m *Artifact) GetTags() []string { + if m != nil { + return m.Tags + } + return nil +} + +func (m *Artifact) GetSource() *ArtifactSource { + if m != nil { + return m.Source + } + return nil +} + +type CreateArtifactRequest struct { + // Specify just project/domain on creation + ArtifactKey *core.ArtifactKey `protobuf:"bytes,1,opt,name=artifact_key,json=artifactKey,proto3" json:"artifact_key,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Spec *ArtifactSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Partitions map[string]string `protobuf:"bytes,4,rep,name=partitions,proto3" json:"partitions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Tag string `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag,omitempty"` + Source *ArtifactSource `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +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_804518da5936dedb, []int{1} +} + +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 (m *CreateArtifactRequest) XXX_Size() int { + return xxx_messageInfo_CreateArtifactRequest.Size(m) +} +func (m *CreateArtifactRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateArtifactRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateArtifactRequest proto.InternalMessageInfo + +func (m *CreateArtifactRequest) GetArtifactKey() *core.ArtifactKey { + if m != nil { + return m.ArtifactKey + } + return nil +} + +func (m *CreateArtifactRequest) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *CreateArtifactRequest) GetSpec() *ArtifactSpec { + if m != nil { + return m.Spec + } + return nil +} + +func (m *CreateArtifactRequest) GetPartitions() map[string]string { + if m != nil { + return m.Partitions + } + return nil +} + +func (m *CreateArtifactRequest) GetTag() string { + if m != nil { + return m.Tag + } + return "" +} + +func (m *CreateArtifactRequest) GetSource() *ArtifactSource { + if m != nil { + return m.Source + } + return nil +} + +type ArtifactSource struct { + WorkflowExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + TaskId *core.Identifier `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` + RetryAttempt uint32 `protobuf:"varint,4,opt,name=retry_attempt,json=retryAttempt,proto3" json:"retry_attempt,omitempty"` + // Uploads, either from the UI or from the CLI, or FlyteRemote, will have this. + Principal string `protobuf:"bytes,5,opt,name=principal,proto3" json:"principal,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactSource) Reset() { *m = ArtifactSource{} } +func (m *ArtifactSource) String() string { return proto.CompactTextString(m) } +func (*ArtifactSource) ProtoMessage() {} +func (*ArtifactSource) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{2} +} + +func (m *ArtifactSource) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactSource.Unmarshal(m, b) +} +func (m *ArtifactSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactSource.Marshal(b, m, deterministic) +} +func (m *ArtifactSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactSource.Merge(m, src) +} +func (m *ArtifactSource) XXX_Size() int { + return xxx_messageInfo_ArtifactSource.Size(m) +} +func (m *ArtifactSource) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactSource.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactSource proto.InternalMessageInfo + +func (m *ArtifactSource) GetWorkflowExecution() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ArtifactSource) GetNodeId() string { + if m != nil { + return m.NodeId + } + return "" +} + +func (m *ArtifactSource) GetTaskId() *core.Identifier { + if m != nil { + return m.TaskId + } + return nil +} + +func (m *ArtifactSource) GetRetryAttempt() uint32 { + if m != nil { + return m.RetryAttempt + } + return 0 +} + +func (m *ArtifactSource) GetPrincipal() string { + if m != nil { + return m.Principal + } + return "" +} + +type ArtifactSpec struct { + Value *core.Literal `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + // This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but + // forgets to change the name, that is okay. And the reason why this is a separate field is because adding the + // type to all Literals is a lot of work. + Type *core.LiteralType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + ShortDescription string `protobuf:"bytes,3,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` + // Additional user metadata + UserMetadata *any.Any `protobuf:"bytes,4,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"` + MetadataType string `protobuf:"bytes,5,opt,name=metadata_type,json=metadataType,proto3" json:"metadata_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactSpec) Reset() { *m = ArtifactSpec{} } +func (m *ArtifactSpec) String() string { return proto.CompactTextString(m) } +func (*ArtifactSpec) ProtoMessage() {} +func (*ArtifactSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{3} +} + +func (m *ArtifactSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactSpec.Unmarshal(m, b) +} +func (m *ArtifactSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactSpec.Marshal(b, m, deterministic) +} +func (m *ArtifactSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactSpec.Merge(m, src) +} +func (m *ArtifactSpec) XXX_Size() int { + return xxx_messageInfo_ArtifactSpec.Size(m) +} +func (m *ArtifactSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactSpec proto.InternalMessageInfo + +func (m *ArtifactSpec) GetValue() *core.Literal { + if m != nil { + return m.Value + } + return nil +} + +func (m *ArtifactSpec) GetType() *core.LiteralType { + if m != nil { + return m.Type + } + return nil +} + +func (m *ArtifactSpec) GetShortDescription() string { + if m != nil { + return m.ShortDescription + } + return "" +} + +func (m *ArtifactSpec) GetUserMetadata() *any.Any { + if m != nil { + return m.UserMetadata + } + return nil +} + +func (m *ArtifactSpec) GetMetadataType() string { + if m != nil { + return m.MetadataType + } + return "" +} + +type CreateArtifactResponse 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:"-"` +} + +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_804518da5936dedb, []int{4} +} + +func (m *CreateArtifactResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateArtifactResponse.Unmarshal(m, b) +} +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) +} + +var xxx_messageInfo_CreateArtifactResponse proto.InternalMessageInfo + +func (m *CreateArtifactResponse) GetArtifact() *Artifact { + if m != nil { + return m.Artifact + } + return nil +} + +type GetArtifactRequest struct { + Query *core.ArtifactQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` + // If false, then long_description is not returned. + Details bool `protobuf:"varint,2,opt,name=details,proto3" json:"details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +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_804518da5936dedb, []int{5} +} + +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) +} + +var xxx_messageInfo_GetArtifactRequest proto.InternalMessageInfo + +func (m *GetArtifactRequest) GetQuery() *core.ArtifactQuery { + if m != nil { + return m.Query + } + return nil +} + +func (m *GetArtifactRequest) GetDetails() bool { + if m != nil { + return m.Details + } + return false +} + +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:"-"` +} + +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_804518da5936dedb, []int{6} +} + +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 (m *GetArtifactResponse) XXX_Size() int { + return xxx_messageInfo_GetArtifactResponse.Size(m) +} +func (m *GetArtifactResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetArtifactResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetArtifactResponse proto.InternalMessageInfo + +func (m *GetArtifactResponse) GetArtifact() *Artifact { + if m != nil { + return m.Artifact + } + return nil +} + +type SearchOptions struct { + // If true, this means a strict partition search. meaning if you don't specify the partition + // field, that will mean, non-partitioned, rather than any partition. + StrictPartitions bool `protobuf:"varint,1,opt,name=strict_partitions,json=strictPartitions,proto3" json:"strict_partitions,omitempty"` + // If true, only one artifact per key will be returned. It will be the latest one by creation time. + LatestByKey bool `protobuf:"varint,2,opt,name=latest_by_key,json=latestByKey,proto3" json:"latest_by_key,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchOptions) Reset() { *m = SearchOptions{} } +func (m *SearchOptions) String() string { return proto.CompactTextString(m) } +func (*SearchOptions) ProtoMessage() {} +func (*SearchOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{7} +} + +func (m *SearchOptions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchOptions.Unmarshal(m, b) +} +func (m *SearchOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchOptions.Marshal(b, m, deterministic) +} +func (m *SearchOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchOptions.Merge(m, src) +} +func (m *SearchOptions) XXX_Size() int { + return xxx_messageInfo_SearchOptions.Size(m) +} +func (m *SearchOptions) XXX_DiscardUnknown() { + xxx_messageInfo_SearchOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchOptions proto.InternalMessageInfo + +func (m *SearchOptions) GetStrictPartitions() bool { + if m != nil { + return m.StrictPartitions + } + return false +} + +func (m *SearchOptions) GetLatestByKey() bool { + if m != nil { + return m.LatestByKey + } + return false +} + +type SearchArtifactsRequest struct { + ArtifactKey *core.ArtifactKey `protobuf:"bytes,1,opt,name=artifact_key,json=artifactKey,proto3" json:"artifact_key,omitempty"` + Partitions *core.Partitions `protobuf:"bytes,2,opt,name=partitions,proto3" json:"partitions,omitempty"` + Principal string `protobuf:"bytes,3,opt,name=principal,proto3" json:"principal,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + Options *SearchOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` + Token string `protobuf:"bytes,6,opt,name=token,proto3" json:"token,omitempty"` + Limit int32 `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchArtifactsRequest) Reset() { *m = SearchArtifactsRequest{} } +func (m *SearchArtifactsRequest) String() string { return proto.CompactTextString(m) } +func (*SearchArtifactsRequest) ProtoMessage() {} +func (*SearchArtifactsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{8} +} + +func (m *SearchArtifactsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchArtifactsRequest.Unmarshal(m, b) +} +func (m *SearchArtifactsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchArtifactsRequest.Marshal(b, m, deterministic) +} +func (m *SearchArtifactsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchArtifactsRequest.Merge(m, src) +} +func (m *SearchArtifactsRequest) XXX_Size() int { + return xxx_messageInfo_SearchArtifactsRequest.Size(m) +} +func (m *SearchArtifactsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SearchArtifactsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchArtifactsRequest proto.InternalMessageInfo + +func (m *SearchArtifactsRequest) GetArtifactKey() *core.ArtifactKey { + if m != nil { + return m.ArtifactKey + } + return nil +} + +func (m *SearchArtifactsRequest) GetPartitions() *core.Partitions { + if m != nil { + return m.Partitions + } + return nil +} + +func (m *SearchArtifactsRequest) GetPrincipal() string { + if m != nil { + return m.Principal + } + return "" +} + +func (m *SearchArtifactsRequest) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *SearchArtifactsRequest) GetOptions() *SearchOptions { + if m != nil { + return m.Options + } + return nil +} + +func (m *SearchArtifactsRequest) GetToken() string { + if m != nil { + return m.Token + } + return "" +} + +func (m *SearchArtifactsRequest) GetLimit() int32 { + if m != nil { + return m.Limit + } + return 0 +} + +type SearchArtifactsResponse struct { + // If artifact specs are not requested, the resultant artifacts may be empty. + Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` + // continuation token if relevant. + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchArtifactsResponse) Reset() { *m = SearchArtifactsResponse{} } +func (m *SearchArtifactsResponse) String() string { return proto.CompactTextString(m) } +func (*SearchArtifactsResponse) ProtoMessage() {} +func (*SearchArtifactsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{9} +} + +func (m *SearchArtifactsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchArtifactsResponse.Unmarshal(m, b) +} +func (m *SearchArtifactsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchArtifactsResponse.Marshal(b, m, deterministic) +} +func (m *SearchArtifactsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchArtifactsResponse.Merge(m, src) +} +func (m *SearchArtifactsResponse) XXX_Size() int { + return xxx_messageInfo_SearchArtifactsResponse.Size(m) +} +func (m *SearchArtifactsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SearchArtifactsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchArtifactsResponse proto.InternalMessageInfo + +func (m *SearchArtifactsResponse) GetArtifacts() []*Artifact { + if m != nil { + return m.Artifacts + } + return nil +} + +func (m *SearchArtifactsResponse) GetToken() string { + if m != nil { + return m.Token + } + return "" +} + +type FindByWorkflowExecRequest struct { + ExecId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` + Direction FindByWorkflowExecRequest_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=flyteidl.artifact.FindByWorkflowExecRequest_Direction" json:"direction,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindByWorkflowExecRequest) Reset() { *m = FindByWorkflowExecRequest{} } +func (m *FindByWorkflowExecRequest) String() string { return proto.CompactTextString(m) } +func (*FindByWorkflowExecRequest) ProtoMessage() {} +func (*FindByWorkflowExecRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{10} +} + +func (m *FindByWorkflowExecRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindByWorkflowExecRequest.Unmarshal(m, b) +} +func (m *FindByWorkflowExecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindByWorkflowExecRequest.Marshal(b, m, deterministic) +} +func (m *FindByWorkflowExecRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindByWorkflowExecRequest.Merge(m, src) +} +func (m *FindByWorkflowExecRequest) XXX_Size() int { + return xxx_messageInfo_FindByWorkflowExecRequest.Size(m) +} +func (m *FindByWorkflowExecRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindByWorkflowExecRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindByWorkflowExecRequest proto.InternalMessageInfo + +func (m *FindByWorkflowExecRequest) GetExecId() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.ExecId + } + return nil +} + +func (m *FindByWorkflowExecRequest) GetDirection() FindByWorkflowExecRequest_Direction { + if m != nil { + return m.Direction + } + return FindByWorkflowExecRequest_INPUTS +} + +// Aliases identify a particular version of an artifact. They are different than tags in that they +// have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind, +// at most one version can have any given value at any point. +type AddTagRequest struct { + ArtifactId *core.ArtifactID `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + // If true, and another version already has the specified kind/value, set this version instead + Overwrite bool `protobuf:"varint,3,opt,name=overwrite,proto3" json:"overwrite,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +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_804518da5936dedb, []int{11} +} + +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 (m *AddTagRequest) XXX_Size() int { + return xxx_messageInfo_AddTagRequest.Size(m) +} +func (m *AddTagRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddTagRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddTagRequest proto.InternalMessageInfo + +func (m *AddTagRequest) GetArtifactId() *core.ArtifactID { + if m != nil { + return m.ArtifactId + } + return nil +} + +func (m *AddTagRequest) GetValue() string { + if m != nil { + return m.Value + } + return "" +} + +func (m *AddTagRequest) GetOverwrite() bool { + if m != nil { + return m.Overwrite + } + return false +} + +type AddTagResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +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_804518da5936dedb, []int{12} +} + +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 (m *AddTagResponse) XXX_Size() int { + return xxx_messageInfo_AddTagResponse.Size(m) +} +func (m *AddTagResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddTagResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AddTagResponse proto.InternalMessageInfo + +type CreateTriggerRequest struct { + TriggerLaunchPlan *admin.LaunchPlan `protobuf:"bytes,1,opt,name=trigger_launch_plan,json=triggerLaunchPlan,proto3" json:"trigger_launch_plan,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateTriggerRequest) Reset() { *m = CreateTriggerRequest{} } +func (m *CreateTriggerRequest) String() string { return proto.CompactTextString(m) } +func (*CreateTriggerRequest) ProtoMessage() {} +func (*CreateTriggerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{13} +} + +func (m *CreateTriggerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateTriggerRequest.Unmarshal(m, b) +} +func (m *CreateTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateTriggerRequest.Marshal(b, m, deterministic) +} +func (m *CreateTriggerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateTriggerRequest.Merge(m, src) +} +func (m *CreateTriggerRequest) XXX_Size() int { + return xxx_messageInfo_CreateTriggerRequest.Size(m) +} +func (m *CreateTriggerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateTriggerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateTriggerRequest proto.InternalMessageInfo + +func (m *CreateTriggerRequest) GetTriggerLaunchPlan() *admin.LaunchPlan { + if m != nil { + return m.TriggerLaunchPlan + } + return nil +} + +type CreateTriggerResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateTriggerResponse) Reset() { *m = CreateTriggerResponse{} } +func (m *CreateTriggerResponse) String() string { return proto.CompactTextString(m) } +func (*CreateTriggerResponse) ProtoMessage() {} +func (*CreateTriggerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{14} +} + +func (m *CreateTriggerResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateTriggerResponse.Unmarshal(m, b) +} +func (m *CreateTriggerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateTriggerResponse.Marshal(b, m, deterministic) +} +func (m *CreateTriggerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateTriggerResponse.Merge(m, src) +} +func (m *CreateTriggerResponse) XXX_Size() int { + return xxx_messageInfo_CreateTriggerResponse.Size(m) +} +func (m *CreateTriggerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateTriggerResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateTriggerResponse proto.InternalMessageInfo + +type DeleteTriggerRequest struct { + TriggerId *core.Identifier `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteTriggerRequest) Reset() { *m = DeleteTriggerRequest{} } +func (m *DeleteTriggerRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteTriggerRequest) ProtoMessage() {} +func (*DeleteTriggerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{15} +} + +func (m *DeleteTriggerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteTriggerRequest.Unmarshal(m, b) +} +func (m *DeleteTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteTriggerRequest.Marshal(b, m, deterministic) +} +func (m *DeleteTriggerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteTriggerRequest.Merge(m, src) +} +func (m *DeleteTriggerRequest) XXX_Size() int { + return xxx_messageInfo_DeleteTriggerRequest.Size(m) +} +func (m *DeleteTriggerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteTriggerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteTriggerRequest proto.InternalMessageInfo + +func (m *DeleteTriggerRequest) GetTriggerId() *core.Identifier { + if m != nil { + return m.TriggerId + } + return nil +} + +type DeleteTriggerResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteTriggerResponse) Reset() { *m = DeleteTriggerResponse{} } +func (m *DeleteTriggerResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteTriggerResponse) ProtoMessage() {} +func (*DeleteTriggerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{16} +} + +func (m *DeleteTriggerResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteTriggerResponse.Unmarshal(m, b) +} +func (m *DeleteTriggerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteTriggerResponse.Marshal(b, m, deterministic) +} +func (m *DeleteTriggerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteTriggerResponse.Merge(m, src) +} +func (m *DeleteTriggerResponse) XXX_Size() int { + return xxx_messageInfo_DeleteTriggerResponse.Size(m) +} +func (m *DeleteTriggerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteTriggerResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteTriggerResponse proto.InternalMessageInfo + +type ArtifactProducer struct { + // These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in + // Admin's domain. + EntityId *core.Identifier `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Outputs *core.VariableMap `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactProducer) Reset() { *m = ArtifactProducer{} } +func (m *ArtifactProducer) String() string { return proto.CompactTextString(m) } +func (*ArtifactProducer) ProtoMessage() {} +func (*ArtifactProducer) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{17} +} + +func (m *ArtifactProducer) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactProducer.Unmarshal(m, b) +} +func (m *ArtifactProducer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactProducer.Marshal(b, m, deterministic) +} +func (m *ArtifactProducer) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactProducer.Merge(m, src) +} +func (m *ArtifactProducer) XXX_Size() int { + return xxx_messageInfo_ArtifactProducer.Size(m) +} +func (m *ArtifactProducer) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactProducer.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactProducer proto.InternalMessageInfo + +func (m *ArtifactProducer) GetEntityId() *core.Identifier { + if m != nil { + return m.EntityId + } + return nil +} + +func (m *ArtifactProducer) GetOutputs() *core.VariableMap { + if m != nil { + return m.Outputs + } + return nil +} + +type RegisterProducerRequest struct { + Producers []*ArtifactProducer `protobuf:"bytes,1,rep,name=producers,proto3" json:"producers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegisterProducerRequest) Reset() { *m = RegisterProducerRequest{} } +func (m *RegisterProducerRequest) String() string { return proto.CompactTextString(m) } +func (*RegisterProducerRequest) ProtoMessage() {} +func (*RegisterProducerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{18} +} + +func (m *RegisterProducerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegisterProducerRequest.Unmarshal(m, b) +} +func (m *RegisterProducerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegisterProducerRequest.Marshal(b, m, deterministic) +} +func (m *RegisterProducerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterProducerRequest.Merge(m, src) +} +func (m *RegisterProducerRequest) XXX_Size() int { + return xxx_messageInfo_RegisterProducerRequest.Size(m) +} +func (m *RegisterProducerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterProducerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterProducerRequest proto.InternalMessageInfo + +func (m *RegisterProducerRequest) GetProducers() []*ArtifactProducer { + if m != nil { + return m.Producers + } + return nil +} + +type ArtifactConsumer struct { + // These should all be launch plan IDs + EntityId *core.Identifier `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` + Inputs *core.ParameterMap `protobuf:"bytes,2,opt,name=inputs,proto3" json:"inputs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ArtifactConsumer) Reset() { *m = ArtifactConsumer{} } +func (m *ArtifactConsumer) String() string { return proto.CompactTextString(m) } +func (*ArtifactConsumer) ProtoMessage() {} +func (*ArtifactConsumer) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{19} +} + +func (m *ArtifactConsumer) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactConsumer.Unmarshal(m, b) +} +func (m *ArtifactConsumer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactConsumer.Marshal(b, m, deterministic) +} +func (m *ArtifactConsumer) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactConsumer.Merge(m, src) +} +func (m *ArtifactConsumer) XXX_Size() int { + return xxx_messageInfo_ArtifactConsumer.Size(m) +} +func (m *ArtifactConsumer) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactConsumer.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactConsumer proto.InternalMessageInfo + +func (m *ArtifactConsumer) GetEntityId() *core.Identifier { + if m != nil { + return m.EntityId + } + return nil +} + +func (m *ArtifactConsumer) GetInputs() *core.ParameterMap { + if m != nil { + return m.Inputs + } + return nil +} + +type RegisterConsumerRequest struct { + Consumers []*ArtifactConsumer `protobuf:"bytes,1,rep,name=consumers,proto3" json:"consumers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegisterConsumerRequest) Reset() { *m = RegisterConsumerRequest{} } +func (m *RegisterConsumerRequest) String() string { return proto.CompactTextString(m) } +func (*RegisterConsumerRequest) ProtoMessage() {} +func (*RegisterConsumerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{20} +} + +func (m *RegisterConsumerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegisterConsumerRequest.Unmarshal(m, b) +} +func (m *RegisterConsumerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegisterConsumerRequest.Marshal(b, m, deterministic) +} +func (m *RegisterConsumerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterConsumerRequest.Merge(m, src) +} +func (m *RegisterConsumerRequest) XXX_Size() int { + return xxx_messageInfo_RegisterConsumerRequest.Size(m) +} +func (m *RegisterConsumerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterConsumerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterConsumerRequest proto.InternalMessageInfo + +func (m *RegisterConsumerRequest) GetConsumers() []*ArtifactConsumer { + if m != nil { + return m.Consumers + } + return nil +} + +type RegisterResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegisterResponse) Reset() { *m = RegisterResponse{} } +func (m *RegisterResponse) String() string { return proto.CompactTextString(m) } +func (*RegisterResponse) ProtoMessage() {} +func (*RegisterResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{21} +} + +func (m *RegisterResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RegisterResponse.Unmarshal(m, b) +} +func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RegisterResponse.Marshal(b, m, deterministic) +} +func (m *RegisterResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterResponse.Merge(m, src) +} +func (m *RegisterResponse) XXX_Size() int { + return xxx_messageInfo_RegisterResponse.Size(m) +} +func (m *RegisterResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterResponse proto.InternalMessageInfo + +type ExecutionInputsRequest struct { + ExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` + // can make this a map in the future, currently no need. + Inputs []*core.ArtifactID `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExecutionInputsRequest) Reset() { *m = ExecutionInputsRequest{} } +func (m *ExecutionInputsRequest) String() string { return proto.CompactTextString(m) } +func (*ExecutionInputsRequest) ProtoMessage() {} +func (*ExecutionInputsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{22} +} + +func (m *ExecutionInputsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExecutionInputsRequest.Unmarshal(m, b) +} +func (m *ExecutionInputsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExecutionInputsRequest.Marshal(b, m, deterministic) +} +func (m *ExecutionInputsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExecutionInputsRequest.Merge(m, src) +} +func (m *ExecutionInputsRequest) XXX_Size() int { + return xxx_messageInfo_ExecutionInputsRequest.Size(m) +} +func (m *ExecutionInputsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ExecutionInputsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ExecutionInputsRequest proto.InternalMessageInfo + +func (m *ExecutionInputsRequest) GetExecutionId() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.ExecutionId + } + return nil +} + +func (m *ExecutionInputsRequest) GetInputs() []*core.ArtifactID { + if m != nil { + return m.Inputs + } + return nil +} + +type ExecutionInputsResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExecutionInputsResponse) Reset() { *m = ExecutionInputsResponse{} } +func (m *ExecutionInputsResponse) String() string { return proto.CompactTextString(m) } +func (*ExecutionInputsResponse) ProtoMessage() {} +func (*ExecutionInputsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_804518da5936dedb, []int{23} +} + +func (m *ExecutionInputsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExecutionInputsResponse.Unmarshal(m, b) +} +func (m *ExecutionInputsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExecutionInputsResponse.Marshal(b, m, deterministic) +} +func (m *ExecutionInputsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExecutionInputsResponse.Merge(m, src) +} +func (m *ExecutionInputsResponse) XXX_Size() int { + return xxx_messageInfo_ExecutionInputsResponse.Size(m) +} +func (m *ExecutionInputsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ExecutionInputsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ExecutionInputsResponse proto.InternalMessageInfo + +func init() { + proto.RegisterEnum("flyteidl.artifact.FindByWorkflowExecRequest_Direction", FindByWorkflowExecRequest_Direction_name, FindByWorkflowExecRequest_Direction_value) + proto.RegisterType((*Artifact)(nil), "flyteidl.artifact.Artifact") + proto.RegisterType((*CreateArtifactRequest)(nil), "flyteidl.artifact.CreateArtifactRequest") + proto.RegisterMapType((map[string]string)(nil), "flyteidl.artifact.CreateArtifactRequest.PartitionsEntry") + proto.RegisterType((*ArtifactSource)(nil), "flyteidl.artifact.ArtifactSource") + proto.RegisterType((*ArtifactSpec)(nil), "flyteidl.artifact.ArtifactSpec") + proto.RegisterType((*CreateArtifactResponse)(nil), "flyteidl.artifact.CreateArtifactResponse") + proto.RegisterType((*GetArtifactRequest)(nil), "flyteidl.artifact.GetArtifactRequest") + proto.RegisterType((*GetArtifactResponse)(nil), "flyteidl.artifact.GetArtifactResponse") + proto.RegisterType((*SearchOptions)(nil), "flyteidl.artifact.SearchOptions") + proto.RegisterType((*SearchArtifactsRequest)(nil), "flyteidl.artifact.SearchArtifactsRequest") + proto.RegisterType((*SearchArtifactsResponse)(nil), "flyteidl.artifact.SearchArtifactsResponse") + proto.RegisterType((*FindByWorkflowExecRequest)(nil), "flyteidl.artifact.FindByWorkflowExecRequest") + proto.RegisterType((*AddTagRequest)(nil), "flyteidl.artifact.AddTagRequest") + proto.RegisterType((*AddTagResponse)(nil), "flyteidl.artifact.AddTagResponse") + proto.RegisterType((*CreateTriggerRequest)(nil), "flyteidl.artifact.CreateTriggerRequest") + proto.RegisterType((*CreateTriggerResponse)(nil), "flyteidl.artifact.CreateTriggerResponse") + proto.RegisterType((*DeleteTriggerRequest)(nil), "flyteidl.artifact.DeleteTriggerRequest") + proto.RegisterType((*DeleteTriggerResponse)(nil), "flyteidl.artifact.DeleteTriggerResponse") + proto.RegisterType((*ArtifactProducer)(nil), "flyteidl.artifact.ArtifactProducer") + proto.RegisterType((*RegisterProducerRequest)(nil), "flyteidl.artifact.RegisterProducerRequest") + proto.RegisterType((*ArtifactConsumer)(nil), "flyteidl.artifact.ArtifactConsumer") + proto.RegisterType((*RegisterConsumerRequest)(nil), "flyteidl.artifact.RegisterConsumerRequest") + proto.RegisterType((*RegisterResponse)(nil), "flyteidl.artifact.RegisterResponse") + proto.RegisterType((*ExecutionInputsRequest)(nil), "flyteidl.artifact.ExecutionInputsRequest") + proto.RegisterType((*ExecutionInputsResponse)(nil), "flyteidl.artifact.ExecutionInputsResponse") +} + +func init() { proto.RegisterFile("flyteidl/artifact/artifacts.proto", fileDescriptor_804518da5936dedb) } + +var fileDescriptor_804518da5936dedb = []byte{ + // 1635 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0xdb, 0x46, + 0x1a, 0x37, 0x2d, 0x59, 0xb2, 0x3e, 0x59, 0x8e, 0x3d, 0xf1, 0xda, 0xb2, 0x92, 0xdd, 0x28, 0xcc, + 0x3e, 0x9c, 0x6c, 0x56, 0x44, 0x9c, 0x45, 0x36, 0x0e, 0x90, 0x45, 0x9d, 0x38, 0x2d, 0x54, 0xe7, + 0xe1, 0xd0, 0x4e, 0x1f, 0x46, 0x50, 0x75, 0x44, 0x8e, 0x65, 0xc6, 0x14, 0xc9, 0x0c, 0x47, 0x76, + 0x89, 0x20, 0x48, 0x51, 0xa0, 0xa7, 0x1e, 0x7b, 0x6a, 0xd1, 0xa2, 0x39, 0xf5, 0xd8, 0x43, 0x81, + 0x00, 0xfd, 0x1b, 0x7a, 0x6d, 0x81, 0x5e, 0x7a, 0xec, 0x3f, 0x51, 0xf4, 0x52, 0x70, 0xc8, 0xe1, + 0x43, 0xa2, 0x64, 0x3b, 0xe9, 0xa1, 0x37, 0xce, 0x37, 0xbf, 0xef, 0x39, 0xdf, 0x4b, 0x82, 0xb3, + 0x3b, 0xa6, 0xc7, 0x88, 0xa1, 0x9b, 0x0a, 0xa6, 0xcc, 0xd8, 0xc1, 0x1a, 0x8b, 0x3e, 0xdc, 0x86, + 0x43, 0x6d, 0x66, 0xa3, 0x59, 0x01, 0x69, 0x88, 0x9b, 0xda, 0x62, 0xc7, 0xb6, 0x3b, 0x26, 0x51, + 0x38, 0xa0, 0xdd, 0xdb, 0x51, 0xb0, 0xe5, 0x05, 0xe8, 0xda, 0xe9, 0xf0, 0x0a, 0x3b, 0x86, 0x82, + 0x2d, 0xcb, 0x66, 0x98, 0x19, 0xb6, 0x15, 0xca, 0xaa, 0xd5, 0x63, 0x75, 0x7a, 0xd7, 0xb0, 0x14, + 0x13, 0xf7, 0x2c, 0x6d, 0xb7, 0xe5, 0x98, 0xd8, 0x12, 0xfc, 0x11, 0x42, 0xb3, 0x29, 0x51, 0x4c, + 0x83, 0x11, 0x8a, 0x4d, 0xc1, 0xbf, 0x98, 0xbe, 0x65, 0x9e, 0x43, 0xc4, 0xd5, 0xdf, 0xd2, 0x57, + 0x86, 0x4e, 0x2c, 0x66, 0xec, 0x18, 0x84, 0x86, 0xf7, 0x67, 0xd2, 0xf7, 0xc2, 0x97, 0x96, 0xa1, + 0x87, 0x80, 0xbf, 0xf6, 0x09, 0xb0, 0x18, 0xa1, 0x3b, 0x58, 0x23, 0x03, 0xa6, 0x93, 0x7d, 0x62, + 0x31, 0x45, 0x33, 0xed, 0x9e, 0xce, 0x3f, 0x43, 0x0b, 0xe4, 0xef, 0x25, 0x98, 0x5c, 0x0d, 0xc5, + 0xa2, 0x6b, 0x50, 0x4e, 0xa8, 0xa8, 0x4a, 0x75, 0x69, 0xa9, 0xbc, 0xbc, 0xd8, 0x88, 0x62, 0xe9, + 0xeb, 0x68, 0x08, 0x74, 0x73, 0x4d, 0x05, 0x81, 0x6e, 0xea, 0xe8, 0x32, 0xe4, 0x5d, 0x87, 0x68, + 0xd5, 0x71, 0xce, 0x74, 0xa6, 0x31, 0xf0, 0x00, 0x11, 0xe3, 0xa6, 0x43, 0x34, 0x95, 0x83, 0x11, + 0x82, 0x3c, 0xc3, 0x1d, 0xb7, 0x9a, 0xab, 0xe7, 0x96, 0x4a, 0x2a, 0xff, 0x46, 0x2b, 0x50, 0x70, + 0xed, 0x1e, 0xd5, 0x48, 0x35, 0xcf, 0x45, 0x9d, 0x1d, 0x25, 0x8a, 0x03, 0xd5, 0x90, 0x41, 0xfe, + 0x24, 0x07, 0x7f, 0xb9, 0x49, 0x09, 0x66, 0x44, 0x00, 0x54, 0xf2, 0xb8, 0x47, 0x5c, 0x86, 0xae, + 0xc3, 0x54, 0xe4, 0xd9, 0x1e, 0xf1, 0x42, 0xd7, 0x6a, 0x43, 0x5c, 0x5b, 0x27, 0x9e, 0x1a, 0x45, + 0x62, 0x9d, 0x78, 0xa8, 0x0a, 0xc5, 0x7d, 0x42, 0x5d, 0xc3, 0xb6, 0xaa, 0xb9, 0xba, 0xb4, 0x54, + 0x52, 0xc5, 0xf1, 0xe5, 0xdc, 0x7e, 0x07, 0xc0, 0xf1, 0xef, 0x79, 0x96, 0x55, 0xf3, 0xf5, 0xdc, + 0x52, 0x79, 0xf9, 0x6a, 0x06, 0x6b, 0xa6, 0x2f, 0x8d, 0x8d, 0x88, 0xf5, 0x96, 0xc5, 0xa8, 0xa7, + 0x26, 0x64, 0xa1, 0x19, 0xc8, 0x31, 0xdc, 0xa9, 0x4e, 0x70, 0x23, 0xfd, 0xcf, 0x44, 0x38, 0x0b, + 0xc7, 0x0c, 0x67, 0xed, 0x3a, 0x9c, 0xe8, 0xd3, 0xe5, 0xcb, 0x17, 0xe1, 0x2b, 0xa9, 0xfe, 0x27, + 0x9a, 0x83, 0x89, 0x7d, 0x6c, 0xf6, 0x08, 0x8f, 0x40, 0x49, 0x0d, 0x0e, 0xd7, 0xc6, 0xaf, 0x4a, + 0xf2, 0x6f, 0x12, 0x4c, 0xa7, 0x25, 0xa3, 0x77, 0x01, 0x1d, 0xd8, 0x74, 0x6f, 0xc7, 0xb4, 0x0f, + 0x5a, 0xe4, 0x03, 0xa2, 0xf5, 0x7c, 0xd1, 0xe1, 0x63, 0x5c, 0xe8, 0x7b, 0x8c, 0xb7, 0x43, 0xe0, + 0x2d, 0x81, 0x6b, 0x46, 0xd5, 0xa1, 0xce, 0x1e, 0xf4, 0x5f, 0xa2, 0x05, 0x28, 0x5a, 0xb6, 0x4e, + 0xfc, 0xbc, 0x0d, 0x2c, 0x29, 0xf8, 0xc7, 0xa6, 0x8e, 0x96, 0xa1, 0xc8, 0xb0, 0xbb, 0xe7, 0x5f, + 0xe4, 0x32, 0x13, 0x3a, 0x21, 0xb7, 0xe0, 0x23, 0x9b, 0x3a, 0x3a, 0x07, 0x15, 0x4a, 0x18, 0xf5, + 0x5a, 0x98, 0x31, 0xd2, 0x75, 0x18, 0x4f, 0xc5, 0x8a, 0x3a, 0xc5, 0x89, 0xab, 0x01, 0x0d, 0x9d, + 0x86, 0x92, 0x43, 0x0d, 0x4b, 0x33, 0x1c, 0x6c, 0x86, 0x11, 0x8f, 0x09, 0xf2, 0xaf, 0x12, 0x4c, + 0x25, 0x9f, 0x1e, 0x5d, 0x14, 0x81, 0x0a, 0xdc, 0x9d, 0xef, 0xb3, 0xe2, 0x76, 0xd0, 0x34, 0xc2, + 0x00, 0xa2, 0x06, 0xe4, 0xfd, 0x46, 0x11, 0xe6, 0x55, 0x2d, 0x1b, 0xbc, 0xe5, 0x39, 0x44, 0xe5, + 0x38, 0xf4, 0x6f, 0x98, 0x75, 0x77, 0x6d, 0xca, 0x5a, 0x3a, 0x71, 0x35, 0x6a, 0x38, 0x2c, 0xce, + 0xd5, 0x19, 0x7e, 0xb1, 0x16, 0xd3, 0xd1, 0x0a, 0x54, 0x7a, 0x2e, 0xa1, 0xad, 0x2e, 0x61, 0x58, + 0xc7, 0x0c, 0x87, 0x95, 0x36, 0xd7, 0x08, 0xfa, 0x60, 0x43, 0xb4, 0xc8, 0xc6, 0xaa, 0xe5, 0xa9, + 0x53, 0x3e, 0xf4, 0x4e, 0x88, 0xf4, 0x23, 0x23, 0xb8, 0x5a, 0xdc, 0xc0, 0xc0, 0xf1, 0x29, 0x41, + 0xf4, 0x4d, 0x92, 0xef, 0xc3, 0x7c, 0x7f, 0xea, 0xba, 0x8e, 0x6d, 0xb9, 0x04, 0xfd, 0x0f, 0x26, + 0x45, 0xd6, 0x85, 0x71, 0x38, 0x35, 0x22, 0x1f, 0xd5, 0x08, 0x2c, 0xb7, 0x01, 0xbd, 0x41, 0x58, + 0x7f, 0x59, 0x2f, 0xc3, 0xc4, 0xe3, 0x1e, 0xa1, 0xa2, 0x9e, 0x4f, 0x0f, 0xa9, 0xe7, 0xfb, 0x3e, + 0x46, 0x0d, 0xa0, 0x7e, 0x2d, 0xeb, 0x84, 0x61, 0xc3, 0x74, 0x79, 0x70, 0x27, 0x55, 0x71, 0x94, + 0xef, 0xc2, 0xc9, 0x94, 0x8e, 0x57, 0xb5, 0xf9, 0x7d, 0xa8, 0x6c, 0x12, 0x4c, 0xb5, 0xdd, 0x7b, + 0x4e, 0x50, 0x9d, 0xfe, 0x23, 0x31, 0x6a, 0x68, 0xac, 0x95, 0x28, 0x7f, 0x89, 0x1b, 0x31, 0x13, + 0x5c, 0xc4, 0xf5, 0x86, 0x64, 0xa8, 0x98, 0x98, 0x11, 0x97, 0xb5, 0xda, 0x1e, 0xef, 0x59, 0x81, + 0xb5, 0xe5, 0x80, 0x78, 0xc3, 0x5b, 0x27, 0x9e, 0xfc, 0xed, 0x38, 0xcc, 0x07, 0x2a, 0x84, 0x7a, + 0xf7, 0x0f, 0xea, 0x78, 0x2b, 0xa9, 0x16, 0x35, 0x9e, 0x59, 0x38, 0xb1, 0xb1, 0xa9, 0x1e, 0x94, + 0xaa, 0x8b, 0x5c, 0x5f, 0x5d, 0x24, 0x5b, 0x69, 0x3e, 0xdd, 0x4a, 0xaf, 0x41, 0xd1, 0x0e, 0x02, + 0xc5, 0x93, 0xaa, 0xbc, 0x5c, 0xcf, 0x08, 0x73, 0x2a, 0xa0, 0xaa, 0x60, 0xf0, 0xbb, 0x10, 0xb3, + 0xf7, 0x88, 0xc5, 0x9b, 0x5c, 0x49, 0x0d, 0x0e, 0x3e, 0xd5, 0x34, 0xba, 0x06, 0xab, 0x16, 0xeb, + 0xd2, 0xd2, 0x84, 0x1a, 0x1c, 0xe4, 0x47, 0xb0, 0x30, 0x10, 0xb3, 0xf0, 0xa9, 0x57, 0xa0, 0x14, + 0x6d, 0x12, 0x55, 0x89, 0xf7, 0xe5, 0x91, 0x6f, 0x1d, 0xa3, 0x63, 0x0b, 0xc6, 0x13, 0x16, 0xc8, + 0x3f, 0x4b, 0xb0, 0xf8, 0xba, 0x61, 0xe9, 0x37, 0xbc, 0x64, 0x3b, 0x13, 0x6f, 0x74, 0x13, 0x8a, + 0x7e, 0x17, 0x8c, 0x67, 0xed, 0x71, 0x7a, 0x60, 0xc1, 0x67, 0x6d, 0xea, 0x68, 0x0b, 0x4a, 0xba, + 0x41, 0x89, 0xc6, 0x2b, 0xde, 0x57, 0x3e, 0xbd, 0x7c, 0x25, 0xc3, 0xe6, 0xa1, 0x56, 0x34, 0xd6, + 0x04, 0xb7, 0x1a, 0x0b, 0x92, 0xff, 0x0e, 0xa5, 0x88, 0x8e, 0x00, 0x0a, 0xcd, 0xbb, 0x1b, 0x0f, + 0xb6, 0x36, 0x67, 0xc6, 0x50, 0x19, 0x8a, 0xf7, 0x1e, 0x6c, 0xf1, 0x83, 0x24, 0x3f, 0x83, 0xca, + 0xaa, 0xae, 0x6f, 0xe1, 0x8e, 0xf0, 0xe8, 0x55, 0x36, 0x88, 0xcc, 0x49, 0xe2, 0x67, 0x93, 0xbd, + 0x4f, 0xe8, 0x01, 0x35, 0x18, 0xe1, 0xd9, 0x34, 0xa9, 0xc6, 0x04, 0x79, 0x06, 0xa6, 0x85, 0x01, + 0xc1, 0x13, 0xca, 0x6d, 0x98, 0x0b, 0x7a, 0xcf, 0x16, 0x35, 0x3a, 0x1d, 0x42, 0x85, 0x65, 0x6f, + 0xc2, 0x49, 0x16, 0x50, 0x5a, 0x89, 0x05, 0x6e, 0xb0, 0x2c, 0xf8, 0x8e, 0xd7, 0xb8, 0xcd, 0x21, + 0x1b, 0x26, 0xb6, 0xd4, 0xd9, 0x90, 0x2d, 0x26, 0xc9, 0x0b, 0x62, 0xcd, 0x88, 0x74, 0x84, 0xca, + 0x37, 0x60, 0x6e, 0x8d, 0x98, 0x64, 0x40, 0xf9, 0x55, 0x00, 0xa1, 0x7c, 0x68, 0x54, 0x12, 0x4f, + 0x5b, 0x0a, 0xc1, 0x4d, 0xdd, 0x57, 0xd5, 0x27, 0x31, 0x54, 0xf5, 0xa1, 0x04, 0x33, 0x22, 0x90, + 0x1b, 0xd4, 0xd6, 0x7b, 0x1a, 0xa1, 0xe8, 0x0a, 0x94, 0x7c, 0x21, 0xcc, 0x3b, 0x92, 0x9a, 0xc9, + 0x00, 0xdb, 0xd4, 0xd1, 0x7f, 0xa1, 0x68, 0xf7, 0x98, 0xd3, 0x63, 0xee, 0x90, 0x81, 0xf3, 0x16, + 0xa6, 0x06, 0x6e, 0x9b, 0xe4, 0x0e, 0x76, 0x54, 0x01, 0x95, 0x1f, 0xc2, 0x82, 0x4a, 0x3a, 0x86, + 0xcb, 0x08, 0x15, 0x16, 0x08, 0x87, 0x57, 0xfd, 0x1e, 0x10, 0x90, 0x44, 0x21, 0x9d, 0x1b, 0x51, + 0x48, 0x11, 0x7b, 0xcc, 0x25, 0x3f, 0x8b, 0xfd, 0xbb, 0x69, 0x5b, 0x6e, 0xaf, 0xfb, 0x0a, 0xfe, + 0x5d, 0x86, 0x82, 0x61, 0x25, 0xdc, 0x3b, 0x35, 0xd8, 0xc9, 0x70, 0x97, 0x30, 0x42, 0x7d, 0xff, + 0x42, 0x68, 0xd2, 0x3d, 0x61, 0x40, 0xc2, 0x3d, 0x2d, 0x24, 0x1d, 0xc5, 0xbd, 0x88, 0x3d, 0xe6, + 0x92, 0x11, 0xcc, 0x08, 0xe9, 0xd1, 0x9b, 0x7e, 0x2e, 0xc1, 0x7c, 0x5c, 0xea, 0xdc, 0x0a, 0xa1, + 0xf1, 0x0e, 0x4c, 0x45, 0x0b, 0xd3, 0xcb, 0xf5, 0x8b, 0x32, 0x89, 0x89, 0xe8, 0x52, 0x22, 0x20, + 0xb9, 0xd1, 0x25, 0x2a, 0xc2, 0xb1, 0x08, 0x0b, 0x03, 0xb6, 0x05, 0x76, 0x2f, 0xff, 0x34, 0x1d, + 0xbf, 0x55, 0xe0, 0x14, 0xf5, 0x50, 0x07, 0xa6, 0xd3, 0x4b, 0x00, 0x5a, 0x3a, 0xea, 0x8a, 0x5b, + 0x3b, 0x7f, 0x04, 0x64, 0x18, 0xb3, 0x31, 0xf4, 0xf1, 0x04, 0x94, 0x13, 0x73, 0x1b, 0xfd, 0x23, + 0x83, 0x79, 0x70, 0x77, 0xa8, 0xfd, 0xf3, 0x30, 0x58, 0xa8, 0xe0, 0xeb, 0xfc, 0x47, 0x3f, 0xfc, + 0xf2, 0xe9, 0xf8, 0x57, 0x79, 0x54, 0x8f, 0x7f, 0x66, 0xf2, 0x9f, 0x8a, 0xfb, 0x97, 0x14, 0x7f, + 0xe5, 0x89, 0xa9, 0xdb, 0xdf, 0x49, 0xe8, 0x85, 0x74, 0x08, 0x4a, 0x31, 0x74, 0xe5, 0x09, 0x5f, + 0x45, 0x1a, 0xc9, 0xdf, 0x73, 0xc9, 0x61, 0xed, 0x2f, 0x60, 0x8f, 0x88, 0xc6, 0x9e, 0x1e, 0x0a, + 0xd4, 0xed, 0x2e, 0x36, 0xac, 0xc3, 0x71, 0x16, 0xee, 0x92, 0x4c, 0x54, 0x38, 0x7c, 0x9f, 0x6e, + 0x7f, 0x21, 0xa1, 0xcf, 0xfe, 0xbc, 0xa6, 0x6f, 0x3f, 0x97, 0xd0, 0x97, 0x87, 0x9a, 0xc7, 0x70, + 0x67, 0x40, 0x1c, 0xc3, 0x9d, 0x23, 0x1a, 0x38, 0x80, 0x1c, 0x66, 0xe1, 0x00, 0x90, 0x9b, 0x88, + 0x9e, 0x8f, 0xc3, 0x89, 0xbe, 0xc5, 0x02, 0x9d, 0x1f, 0xba, 0xc2, 0xf4, 0x2f, 0x6c, 0xb5, 0x0b, + 0x47, 0x81, 0x86, 0x39, 0xf9, 0x42, 0xe2, 0x39, 0xf9, 0x8d, 0x84, 0x5a, 0x43, 0x62, 0xc2, 0x4d, + 0x56, 0x5c, 0xe5, 0xc9, 0x10, 0xdf, 0xb3, 0x1d, 0xcd, 0x08, 0xfc, 0x3a, 0x6a, 0x8e, 0x54, 0x71, + 0x1c, 0x05, 0x48, 0x87, 0x4a, 0x6a, 0x70, 0xa2, 0x7f, 0x0d, 0x2d, 0xf4, 0xf4, 0x04, 0xad, 0x2d, + 0x1d, 0x0e, 0x8c, 0x1a, 0x82, 0x0e, 0x95, 0xd4, 0xcc, 0xcc, 0xd4, 0x92, 0x35, 0xa7, 0x33, 0xb5, + 0x64, 0x8f, 0xdf, 0x31, 0x74, 0x0f, 0x0a, 0xc1, 0xea, 0x81, 0xb2, 0xf6, 0xd4, 0xd4, 0x5a, 0x54, + 0x3b, 0x3b, 0x02, 0x11, 0x09, 0x24, 0xf1, 0x44, 0x88, 0x06, 0x7a, 0x56, 0x52, 0x0c, 0x99, 0xb9, + 0xb5, 0x73, 0x23, 0xb0, 0xd9, 0x6a, 0xa2, 0xb9, 0x3a, 0x4a, 0x4d, 0xdf, 0xec, 0x3b, 0xaa, 0x9a, + 0x2e, 0xa0, 0x4d, 0xc2, 0xfa, 0x26, 0x46, 0x66, 0x3d, 0x64, 0x4f, 0xbc, 0xcc, 0x7a, 0x18, 0x32, + 0x80, 0xe4, 0x31, 0xf4, 0xa3, 0x04, 0x68, 0x70, 0xc5, 0x45, 0x17, 0x8f, 0xb3, 0x09, 0x1f, 0xab, + 0x04, 0x75, 0x5e, 0x81, 0xef, 0xa1, 0x87, 0x23, 0xab, 0x83, 0x28, 0x4f, 0xc2, 0x0d, 0x3f, 0x51, + 0x1a, 0x82, 0x12, 0x95, 0x9d, 0x20, 0x84, 0x5d, 0x3a, 0xda, 0xc2, 0x9f, 0xde, 0x78, 0x6d, 0xfb, + 0xff, 0x1d, 0x83, 0xed, 0xf6, 0xda, 0x0d, 0xcd, 0xee, 0x2a, 0xdc, 0x3a, 0x9b, 0x76, 0x82, 0x0f, + 0x25, 0xfa, 0x73, 0xaf, 0x43, 0x2c, 0xc5, 0x69, 0xff, 0xa7, 0x63, 0x2b, 0x03, 0xff, 0x8c, 0xb6, + 0x0b, 0xfc, 0xc7, 0xfc, 0xe5, 0xdf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x8a, 0xd7, 0x3b, 0x35, + 0x15, 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 + +// ArtifactRegistryClient is the client API for ArtifactRegistry service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ArtifactRegistryClient interface { + CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*CreateArtifactResponse, error) + GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*GetArtifactResponse, error) + SearchArtifacts(ctx context.Context, in *SearchArtifactsRequest, opts ...grpc.CallOption) (*SearchArtifactsResponse, error) + CreateTrigger(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*CreateTriggerResponse, error) + DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*DeleteTriggerResponse, error) + AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) + RegisterProducer(ctx context.Context, in *RegisterProducerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) + RegisterConsumer(ctx context.Context, in *RegisterConsumerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) + SetExecutionInputs(ctx context.Context, in *ExecutionInputsRequest, opts ...grpc.CallOption) (*ExecutionInputsResponse, error) + FindByWorkflowExec(ctx context.Context, in *FindByWorkflowExecRequest, opts ...grpc.CallOption) (*SearchArtifactsResponse, error) +} + +type artifactRegistryClient struct { + cc *grpc.ClientConn +} + +func NewArtifactRegistryClient(cc *grpc.ClientConn) ArtifactRegistryClient { + return &artifactRegistryClient{cc} +} + +func (c *artifactRegistryClient) CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*CreateArtifactResponse, error) { + out := new(CreateArtifactResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/CreateArtifact", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*GetArtifactResponse, error) { + out := new(GetArtifactResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/GetArtifact", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) SearchArtifacts(ctx context.Context, in *SearchArtifactsRequest, opts ...grpc.CallOption) (*SearchArtifactsResponse, error) { + out := new(SearchArtifactsResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/SearchArtifacts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) CreateTrigger(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*CreateTriggerResponse, error) { + out := new(CreateTriggerResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/CreateTrigger", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*DeleteTriggerResponse, error) { + out := new(DeleteTriggerResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) { + out := new(AddTagResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/AddTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) RegisterProducer(ctx context.Context, in *RegisterProducerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) { + out := new(RegisterResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/RegisterProducer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) RegisterConsumer(ctx context.Context, in *RegisterConsumerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) { + out := new(RegisterResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/RegisterConsumer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) SetExecutionInputs(ctx context.Context, in *ExecutionInputsRequest, opts ...grpc.CallOption) (*ExecutionInputsResponse, error) { + out := new(ExecutionInputsResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/SetExecutionInputs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *artifactRegistryClient) FindByWorkflowExec(ctx context.Context, in *FindByWorkflowExecRequest, opts ...grpc.CallOption) (*SearchArtifactsResponse, error) { + out := new(SearchArtifactsResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/FindByWorkflowExec", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ArtifactRegistryServer is the server API for ArtifactRegistry service. +type ArtifactRegistryServer interface { + CreateArtifact(context.Context, *CreateArtifactRequest) (*CreateArtifactResponse, error) + GetArtifact(context.Context, *GetArtifactRequest) (*GetArtifactResponse, error) + SearchArtifacts(context.Context, *SearchArtifactsRequest) (*SearchArtifactsResponse, error) + CreateTrigger(context.Context, *CreateTriggerRequest) (*CreateTriggerResponse, error) + DeleteTrigger(context.Context, *DeleteTriggerRequest) (*DeleteTriggerResponse, error) + AddTag(context.Context, *AddTagRequest) (*AddTagResponse, error) + RegisterProducer(context.Context, *RegisterProducerRequest) (*RegisterResponse, error) + RegisterConsumer(context.Context, *RegisterConsumerRequest) (*RegisterResponse, error) + SetExecutionInputs(context.Context, *ExecutionInputsRequest) (*ExecutionInputsResponse, error) + FindByWorkflowExec(context.Context, *FindByWorkflowExecRequest) (*SearchArtifactsResponse, error) +} + +// UnimplementedArtifactRegistryServer can be embedded to have forward compatible implementations. +type UnimplementedArtifactRegistryServer struct { +} + +func (*UnimplementedArtifactRegistryServer) CreateArtifact(ctx context.Context, req *CreateArtifactRequest) (*CreateArtifactResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateArtifact not implemented") +} +func (*UnimplementedArtifactRegistryServer) GetArtifact(ctx context.Context, req *GetArtifactRequest) (*GetArtifactResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetArtifact not implemented") +} +func (*UnimplementedArtifactRegistryServer) SearchArtifacts(ctx context.Context, req *SearchArtifactsRequest) (*SearchArtifactsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SearchArtifacts not implemented") +} +func (*UnimplementedArtifactRegistryServer) CreateTrigger(ctx context.Context, req *CreateTriggerRequest) (*CreateTriggerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTrigger not implemented") +} +func (*UnimplementedArtifactRegistryServer) DeleteTrigger(ctx context.Context, req *DeleteTriggerRequest) (*DeleteTriggerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteTrigger not implemented") +} +func (*UnimplementedArtifactRegistryServer) AddTag(ctx context.Context, req *AddTagRequest) (*AddTagResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddTag not implemented") +} +func (*UnimplementedArtifactRegistryServer) RegisterProducer(ctx context.Context, req *RegisterProducerRequest) (*RegisterResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RegisterProducer not implemented") +} +func (*UnimplementedArtifactRegistryServer) RegisterConsumer(ctx context.Context, req *RegisterConsumerRequest) (*RegisterResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RegisterConsumer not implemented") +} +func (*UnimplementedArtifactRegistryServer) SetExecutionInputs(ctx context.Context, req *ExecutionInputsRequest) (*ExecutionInputsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetExecutionInputs not implemented") +} +func (*UnimplementedArtifactRegistryServer) FindByWorkflowExec(ctx context.Context, req *FindByWorkflowExecRequest) (*SearchArtifactsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindByWorkflowExec not implemented") +} + +func RegisterArtifactRegistryServer(s *grpc.Server, srv ArtifactRegistryServer) { + s.RegisterService(&_ArtifactRegistry_serviceDesc, srv) +} + +func _ArtifactRegistry_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.(ArtifactRegistryServer).CreateArtifact(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/CreateArtifact", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).CreateArtifact(ctx, req.(*CreateArtifactRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_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.(ArtifactRegistryServer).GetArtifact(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/GetArtifact", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).GetArtifact(ctx, req.(*GetArtifactRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_SearchArtifacts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SearchArtifactsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).SearchArtifacts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/SearchArtifacts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).SearchArtifacts(ctx, req.(*SearchArtifactsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_CreateTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateTriggerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).CreateTrigger(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/CreateTrigger", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).CreateTrigger(ctx, req.(*CreateTriggerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_DeleteTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteTriggerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).DeleteTrigger(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).DeleteTrigger(ctx, req.(*DeleteTriggerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_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.(ArtifactRegistryServer).AddTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/AddTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).AddTag(ctx, req.(*AddTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_RegisterProducer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RegisterProducerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).RegisterProducer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/RegisterProducer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).RegisterProducer(ctx, req.(*RegisterProducerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_RegisterConsumer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RegisterConsumerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).RegisterConsumer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/RegisterConsumer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).RegisterConsumer(ctx, req.(*RegisterConsumerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_SetExecutionInputs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ExecutionInputsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).SetExecutionInputs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/SetExecutionInputs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).SetExecutionInputs(ctx, req.(*ExecutionInputsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ArtifactRegistry_FindByWorkflowExec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindByWorkflowExecRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ArtifactRegistryServer).FindByWorkflowExec(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.artifact.ArtifactRegistry/FindByWorkflowExec", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ArtifactRegistryServer).FindByWorkflowExec(ctx, req.(*FindByWorkflowExecRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _ArtifactRegistry_serviceDesc = grpc.ServiceDesc{ + ServiceName: "flyteidl.artifact.ArtifactRegistry", + HandlerType: (*ArtifactRegistryServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateArtifact", + Handler: _ArtifactRegistry_CreateArtifact_Handler, + }, + { + MethodName: "GetArtifact", + Handler: _ArtifactRegistry_GetArtifact_Handler, + }, + { + MethodName: "SearchArtifacts", + Handler: _ArtifactRegistry_SearchArtifacts_Handler, + }, + { + MethodName: "CreateTrigger", + Handler: _ArtifactRegistry_CreateTrigger_Handler, + }, + { + MethodName: "DeleteTrigger", + Handler: _ArtifactRegistry_DeleteTrigger_Handler, + }, + { + MethodName: "AddTag", + Handler: _ArtifactRegistry_AddTag_Handler, + }, + { + MethodName: "RegisterProducer", + Handler: _ArtifactRegistry_RegisterProducer_Handler, + }, + { + MethodName: "RegisterConsumer", + Handler: _ArtifactRegistry_RegisterConsumer_Handler, + }, + { + MethodName: "SetExecutionInputs", + Handler: _ArtifactRegistry_SetExecutionInputs_Handler, + }, + { + MethodName: "FindByWorkflowExec", + Handler: _ArtifactRegistry_FindByWorkflowExec_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "flyteidl/artifact/artifacts.proto", +} diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go new file mode 100644 index 0000000000..b6e603f774 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go @@ -0,0 +1,636 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: flyteidl/artifact/artifacts.proto + +/* +Package artifact is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package artifact + +import ( + "context" + "io" + "net/http" + + "github.com/golang/protobuf/proto" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/grpc-ecosystem/grpc-gateway/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/status" +) + +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray + +var ( + filter_ArtifactRegistry_GetArtifact_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_ArtifactRegistry_GetArtifact_0(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetArtifactRequest + 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_ArtifactRegistry_GetArtifact_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetArtifact(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_ArtifactRegistry_GetArtifact_1 = &utilities.DoubleArray{Encoding: map[string]int{"query": 0, "artifact_id": 1, "artifact_key": 2, "project": 3, "domain": 4, "name": 5, "version": 6}, Base: []int{1, 13, 1, 1, 1, 4, 3, 2, 0, 0, 9, 7, 6, 0, 9, 9, 0}, Check: []int{0, 1, 2, 3, 4, 2, 6, 7, 5, 8, 2, 11, 12, 13, 2, 15, 16}} +) + +func request_ArtifactRegistry_GetArtifact_1(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetArtifactRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["query.artifact_id.artifact_key.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.project", err) + } + + val, ok = pathParams["query.artifact_id.artifact_key.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.domain", err) + } + + val, ok = pathParams["query.artifact_id.artifact_key.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.name", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.name", err) + } + + val, ok = pathParams["query.artifact_id.version"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.version") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.version", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_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_ArtifactRegistry_GetArtifact_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetArtifact(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_ArtifactRegistry_GetArtifact_2 = &utilities.DoubleArray{Encoding: map[string]int{"query": 0, "artifact_id": 1, "artifact_key": 2, "project": 3, "domain": 4, "name": 5}, Base: []int{1, 9, 1, 1, 1, 4, 4, 0, 3, 0, 9, 7, 7, 0}, Check: []int{0, 1, 2, 3, 4, 2, 6, 5, 7, 9, 2, 11, 12, 13}} +) + +func request_ArtifactRegistry_GetArtifact_2(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetArtifactRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["query.artifact_id.artifact_key.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.project", err) + } + + val, ok = pathParams["query.artifact_id.artifact_key.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.domain", err) + } + + val, ok = pathParams["query.artifact_id.artifact_key.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.name", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.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_ArtifactRegistry_GetArtifact_2); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetArtifact(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_ArtifactRegistry_GetArtifact_3 = &utilities.DoubleArray{Encoding: map[string]int{"query": 0, "artifact_tag": 1, "artifact_key": 2, "project": 3, "domain": 4, "name": 5}, Base: []int{1, 9, 1, 1, 1, 4, 4, 0, 3, 0, 9, 7, 7, 0}, Check: []int{0, 1, 2, 3, 4, 2, 6, 5, 7, 9, 2, 11, 12, 13}} +) + +func request_ArtifactRegistry_GetArtifact_3(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetArtifactRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["query.artifact_tag.artifact_key.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_tag.artifact_key.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_tag.artifact_key.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_tag.artifact_key.project", err) + } + + val, ok = pathParams["query.artifact_tag.artifact_key.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_tag.artifact_key.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_tag.artifact_key.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_tag.artifact_key.domain", err) + } + + val, ok = pathParams["query.artifact_tag.artifact_key.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_tag.artifact_key.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_tag.artifact_key.name", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_tag.artifact_key.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_ArtifactRegistry_GetArtifact_3); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetArtifact(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_ArtifactRegistry_SearchArtifacts_0 = &utilities.DoubleArray{Encoding: map[string]int{"artifact_key": 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_ArtifactRegistry_SearchArtifacts_0(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq SearchArtifactsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["artifact_key.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "artifact_key.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "artifact_key.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "artifact_key.project", err) + } + + val, ok = pathParams["artifact_key.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "artifact_key.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "artifact_key.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "artifact_key.domain", err) + } + + val, ok = pathParams["artifact_key.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "artifact_key.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "artifact_key.name", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "artifact_key.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_ArtifactRegistry_SearchArtifacts_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SearchArtifacts(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_ArtifactRegistry_SearchArtifacts_1 = &utilities.DoubleArray{Encoding: map[string]int{"artifact_key": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} +) + +func request_ArtifactRegistry_SearchArtifacts_1(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq SearchArtifactsRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["artifact_key.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "artifact_key.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "artifact_key.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "artifact_key.project", err) + } + + val, ok = pathParams["artifact_key.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "artifact_key.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "artifact_key.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "artifact_key.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_ArtifactRegistry_SearchArtifacts_1); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.SearchArtifacts(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +var ( + filter_ArtifactRegistry_FindByWorkflowExec_0 = &utilities.DoubleArray{Encoding: map[string]int{"exec_id": 0, "project": 1, "domain": 2, "name": 3, "direction": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 1, 3, 4, 5, 6}} +) + +func request_ArtifactRegistry_FindByWorkflowExec_0(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq FindByWorkflowExecRequest + var metadata runtime.ServerMetadata + + var ( + val string + e int32 + ok bool + err error + _ = err + ) + + val, ok = pathParams["exec_id.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "exec_id.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "exec_id.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "exec_id.project", err) + } + + val, ok = pathParams["exec_id.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "exec_id.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "exec_id.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "exec_id.domain", err) + } + + val, ok = pathParams["exec_id.name"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "exec_id.name") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "exec_id.name", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "exec_id.name", err) + } + + val, ok = pathParams["direction"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "direction") + } + + e, err = runtime.Enum(val, FindByWorkflowExecRequest_Direction_value) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "direction", err) + } + + protoReq.Direction = FindByWorkflowExecRequest_Direction(e) + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ArtifactRegistry_FindByWorkflowExec_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.FindByWorkflowExec(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +// RegisterArtifactRegistryHandlerFromEndpoint is same as RegisterArtifactRegistryHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterArtifactRegistryHandlerFromEndpoint(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 RegisterArtifactRegistryHandler(ctx, mux, conn) +} + +// RegisterArtifactRegistryHandler registers the http handlers for service ArtifactRegistry to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterArtifactRegistryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterArtifactRegistryHandlerClient(ctx, mux, NewArtifactRegistryClient(conn)) +} + +// RegisterArtifactRegistryHandlerClient registers the http handlers for service ArtifactRegistry +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ArtifactRegistryClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ArtifactRegistryClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "ArtifactRegistryClient" to call the correct interceptors. +func RegisterArtifactRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ArtifactRegistryClient) error { + + mux.Handle("GET", pattern_ArtifactRegistry_GetArtifact_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_ArtifactRegistry_GetArtifact_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ArtifactRegistry_GetArtifact_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ArtifactRegistry_GetArtifact_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_ArtifactRegistry_GetArtifact_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ArtifactRegistry_GetArtifact_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ArtifactRegistry_GetArtifact_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_ArtifactRegistry_GetArtifact_2(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ArtifactRegistry_GetArtifact_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ArtifactRegistry_GetArtifact_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_ArtifactRegistry_GetArtifact_3(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ArtifactRegistry_GetArtifact_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ArtifactRegistry_SearchArtifacts_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_ArtifactRegistry_SearchArtifacts_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ArtifactRegistry_SearchArtifacts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ArtifactRegistry_SearchArtifacts_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_ArtifactRegistry_SearchArtifacts_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ArtifactRegistry_SearchArtifacts_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_ArtifactRegistry_FindByWorkflowExec_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_ArtifactRegistry_FindByWorkflowExec_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ArtifactRegistry_FindByWorkflowExec_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_ArtifactRegistry_GetArtifact_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 0}, []string{"artifacts", "api", "v1", "data"}, "")) + + pattern_ArtifactRegistry_GetArtifact_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 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{"artifacts", "api", "v1", "data", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name", "query.artifact_id.version"}, "")) + + pattern_ArtifactRegistry_GetArtifact_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name"}, "")) + + pattern_ArtifactRegistry_GetArtifact_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "artifact", "tag", "query.artifact_tag.artifact_key.project", "query.artifact_tag.artifact_key.domain", "query.artifact_tag.artifact_key.name"}, "")) + + pattern_ArtifactRegistry_SearchArtifacts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "query", "s", "artifact_key.project", "artifact_key.domain", "artifact_key.name"}, "")) + + pattern_ArtifactRegistry_SearchArtifacts_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}, []string{"artifacts", "api", "v1", "data", "query", "artifact_key.project", "artifact_key.domain"}, "")) + + pattern_ArtifactRegistry_FindByWorkflowExec_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 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{"artifacts", "api", "v1", "data", "query", "e", "exec_id.project", "exec_id.domain", "exec_id.name", "direction"}, "")) +) + +var ( + forward_ArtifactRegistry_GetArtifact_0 = runtime.ForwardResponseMessage + + forward_ArtifactRegistry_GetArtifact_1 = runtime.ForwardResponseMessage + + forward_ArtifactRegistry_GetArtifact_2 = runtime.ForwardResponseMessage + + forward_ArtifactRegistry_GetArtifact_3 = runtime.ForwardResponseMessage + + forward_ArtifactRegistry_SearchArtifacts_0 = runtime.ForwardResponseMessage + + forward_ArtifactRegistry_SearchArtifacts_1 = runtime.ForwardResponseMessage + + forward_ArtifactRegistry_FindByWorkflowExec_0 = runtime.ForwardResponseMessage +) diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go new file mode 100644 index 0000000000..e934e168e6 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go @@ -0,0 +1,1984 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/artifact/artifacts.proto + +package artifact + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _artifacts_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on Artifact with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *Artifact) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactValidationError{ + field: "ArtifactId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactValidationError{ + field: "Spec", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetSource()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactValidationError{ + field: "Source", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ArtifactValidationError is the validation error returned by +// Artifact.Validate if the designated constraints aren't met. +type ArtifactValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactValidationError) ErrorName() string { return "ArtifactValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifact.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactValidationError{} + +// Validate checks the field values on CreateArtifactRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CreateArtifactRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CreateArtifactRequestValidationError{ + field: "ArtifactKey", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Version + + if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CreateArtifactRequestValidationError{ + field: "Spec", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Partitions + + // no validation rules for Tag + + if v, ok := interface{}(m.GetSource()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CreateArtifactRequestValidationError{ + field: "Source", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CreateArtifactRequestValidationError is the validation error returned by +// CreateArtifactRequest.Validate if the designated constraints aren't met. +type CreateArtifactRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CreateArtifactRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CreateArtifactRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CreateArtifactRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CreateArtifactRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CreateArtifactRequestValidationError) ErrorName() string { + return "CreateArtifactRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e CreateArtifactRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCreateArtifactRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CreateArtifactRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CreateArtifactRequestValidationError{} + +// Validate checks the field values on ArtifactSource with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ArtifactSource) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetWorkflowExecution()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactSourceValidationError{ + field: "WorkflowExecution", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for NodeId + + if v, ok := interface{}(m.GetTaskId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactSourceValidationError{ + field: "TaskId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for RetryAttempt + + // no validation rules for Principal + + return nil +} + +// ArtifactSourceValidationError is the validation error returned by +// ArtifactSource.Validate if the designated constraints aren't met. +type ArtifactSourceValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactSourceValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactSourceValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactSourceValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactSourceValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactSourceValidationError) ErrorName() string { return "ArtifactSourceValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactSourceValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactSource.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactSourceValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactSourceValidationError{} + +// Validate checks the field values on ArtifactSpec with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ArtifactSpec) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactSpecValidationError{ + field: "Value", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetType()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactSpecValidationError{ + field: "Type", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for ShortDescription + + if v, ok := interface{}(m.GetUserMetadata()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactSpecValidationError{ + field: "UserMetadata", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for MetadataType + + return nil +} + +// ArtifactSpecValidationError is the validation error returned by +// ArtifactSpec.Validate if the designated constraints aren't met. +type ArtifactSpecValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactSpecValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactSpecValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactSpecValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactSpecValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactSpecValidationError) ErrorName() string { return "ArtifactSpecValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactSpecValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactSpec.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactSpecValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactSpecValidationError{} + +// Validate checks the field values on CreateArtifactResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CreateArtifactResponse) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifact()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CreateArtifactResponseValidationError{ + field: "Artifact", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CreateArtifactResponseValidationError is the validation error returned by +// CreateArtifactResponse.Validate if the designated constraints aren't met. +type CreateArtifactResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CreateArtifactResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CreateArtifactResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CreateArtifactResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CreateArtifactResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CreateArtifactResponseValidationError) ErrorName() string { + return "CreateArtifactResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e CreateArtifactResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCreateArtifactResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CreateArtifactResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CreateArtifactResponseValidationError{} + +// Validate checks the field values on GetArtifactRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *GetArtifactRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetQuery()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return GetArtifactRequestValidationError{ + field: "Query", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Details + + return nil +} + +// GetArtifactRequestValidationError is the validation error returned by +// GetArtifactRequest.Validate if the designated constraints aren't met. +type GetArtifactRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e GetArtifactRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e GetArtifactRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e GetArtifactRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e GetArtifactRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e GetArtifactRequestValidationError) ErrorName() string { + return "GetArtifactRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e GetArtifactRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sGetArtifactRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = GetArtifactRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = GetArtifactRequestValidationError{} + +// Validate checks the field values on GetArtifactResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *GetArtifactResponse) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifact()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return GetArtifactResponseValidationError{ + field: "Artifact", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// GetArtifactResponseValidationError is the validation error returned by +// GetArtifactResponse.Validate if the designated constraints aren't met. +type GetArtifactResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e GetArtifactResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e GetArtifactResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e GetArtifactResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e GetArtifactResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e GetArtifactResponseValidationError) ErrorName() string { + return "GetArtifactResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e GetArtifactResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sGetArtifactResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = GetArtifactResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = GetArtifactResponseValidationError{} + +// Validate checks the field values on SearchOptions with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *SearchOptions) Validate() error { + if m == nil { + return nil + } + + // no validation rules for StrictPartitions + + // no validation rules for LatestByKey + + return nil +} + +// SearchOptionsValidationError is the validation error returned by +// SearchOptions.Validate if the designated constraints aren't met. +type SearchOptionsValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SearchOptionsValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SearchOptionsValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SearchOptionsValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SearchOptionsValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SearchOptionsValidationError) ErrorName() string { return "SearchOptionsValidationError" } + +// Error satisfies the builtin error interface +func (e SearchOptionsValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSearchOptions.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SearchOptionsValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SearchOptionsValidationError{} + +// Validate checks the field values on SearchArtifactsRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *SearchArtifactsRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SearchArtifactsRequestValidationError{ + field: "ArtifactKey", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetPartitions()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SearchArtifactsRequestValidationError{ + field: "Partitions", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Principal + + // no validation rules for Version + + if v, ok := interface{}(m.GetOptions()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SearchArtifactsRequestValidationError{ + field: "Options", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Token + + // no validation rules for Limit + + return nil +} + +// SearchArtifactsRequestValidationError is the validation error returned by +// SearchArtifactsRequest.Validate if the designated constraints aren't met. +type SearchArtifactsRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SearchArtifactsRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SearchArtifactsRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SearchArtifactsRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SearchArtifactsRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SearchArtifactsRequestValidationError) ErrorName() string { + return "SearchArtifactsRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e SearchArtifactsRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSearchArtifactsRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SearchArtifactsRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SearchArtifactsRequestValidationError{} + +// Validate checks the field values on SearchArtifactsResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *SearchArtifactsResponse) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetArtifacts() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SearchArtifactsResponseValidationError{ + field: fmt.Sprintf("Artifacts[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + // no validation rules for Token + + return nil +} + +// SearchArtifactsResponseValidationError is the validation error returned by +// SearchArtifactsResponse.Validate if the designated constraints aren't met. +type SearchArtifactsResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SearchArtifactsResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SearchArtifactsResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SearchArtifactsResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SearchArtifactsResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SearchArtifactsResponseValidationError) ErrorName() string { + return "SearchArtifactsResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e SearchArtifactsResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSearchArtifactsResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SearchArtifactsResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SearchArtifactsResponseValidationError{} + +// Validate checks the field values on FindByWorkflowExecRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *FindByWorkflowExecRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetExecId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return FindByWorkflowExecRequestValidationError{ + field: "ExecId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Direction + + return nil +} + +// FindByWorkflowExecRequestValidationError is the validation error returned by +// FindByWorkflowExecRequest.Validate if the designated constraints aren't met. +type FindByWorkflowExecRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e FindByWorkflowExecRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e FindByWorkflowExecRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e FindByWorkflowExecRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e FindByWorkflowExecRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e FindByWorkflowExecRequestValidationError) ErrorName() string { + return "FindByWorkflowExecRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e FindByWorkflowExecRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sFindByWorkflowExecRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = FindByWorkflowExecRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = FindByWorkflowExecRequestValidationError{} + +// Validate checks the field values on AddTagRequest with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *AddTagRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return AddTagRequestValidationError{ + field: "ArtifactId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Value + + // no validation rules for Overwrite + + return nil +} + +// AddTagRequestValidationError is the validation error returned by +// AddTagRequest.Validate if the designated constraints aren't met. +type AddTagRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e AddTagRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e AddTagRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e AddTagRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e AddTagRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e AddTagRequestValidationError) ErrorName() string { return "AddTagRequestValidationError" } + +// Error satisfies the builtin error interface +func (e AddTagRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sAddTagRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = AddTagRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = AddTagRequestValidationError{} + +// Validate checks the field values on AddTagResponse with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *AddTagResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// AddTagResponseValidationError is the validation error returned by +// AddTagResponse.Validate if the designated constraints aren't met. +type AddTagResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e AddTagResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e AddTagResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e AddTagResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e AddTagResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e AddTagResponseValidationError) ErrorName() string { return "AddTagResponseValidationError" } + +// Error satisfies the builtin error interface +func (e AddTagResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sAddTagResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = AddTagResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = AddTagResponseValidationError{} + +// Validate checks the field values on CreateTriggerRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CreateTriggerRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetTriggerLaunchPlan()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CreateTriggerRequestValidationError{ + field: "TriggerLaunchPlan", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CreateTriggerRequestValidationError is the validation error returned by +// CreateTriggerRequest.Validate if the designated constraints aren't met. +type CreateTriggerRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CreateTriggerRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CreateTriggerRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CreateTriggerRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CreateTriggerRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CreateTriggerRequestValidationError) ErrorName() string { + return "CreateTriggerRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e CreateTriggerRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCreateTriggerRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CreateTriggerRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CreateTriggerRequestValidationError{} + +// Validate checks the field values on CreateTriggerResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CreateTriggerResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// CreateTriggerResponseValidationError is the validation error returned by +// CreateTriggerResponse.Validate if the designated constraints aren't met. +type CreateTriggerResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CreateTriggerResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CreateTriggerResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CreateTriggerResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CreateTriggerResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CreateTriggerResponseValidationError) ErrorName() string { + return "CreateTriggerResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e CreateTriggerResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCreateTriggerResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CreateTriggerResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CreateTriggerResponseValidationError{} + +// Validate checks the field values on DeleteTriggerRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *DeleteTriggerRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetTriggerId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DeleteTriggerRequestValidationError{ + field: "TriggerId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// DeleteTriggerRequestValidationError is the validation error returned by +// DeleteTriggerRequest.Validate if the designated constraints aren't met. +type DeleteTriggerRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DeleteTriggerRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DeleteTriggerRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DeleteTriggerRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DeleteTriggerRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DeleteTriggerRequestValidationError) ErrorName() string { + return "DeleteTriggerRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e DeleteTriggerRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDeleteTriggerRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DeleteTriggerRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DeleteTriggerRequestValidationError{} + +// Validate checks the field values on DeleteTriggerResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *DeleteTriggerResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// DeleteTriggerResponseValidationError is the validation error returned by +// DeleteTriggerResponse.Validate if the designated constraints aren't met. +type DeleteTriggerResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DeleteTriggerResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DeleteTriggerResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DeleteTriggerResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DeleteTriggerResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DeleteTriggerResponseValidationError) ErrorName() string { + return "DeleteTriggerResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e DeleteTriggerResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDeleteTriggerResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DeleteTriggerResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DeleteTriggerResponseValidationError{} + +// Validate checks the field values on ArtifactProducer with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *ArtifactProducer) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetEntityId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactProducerValidationError{ + field: "EntityId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetOutputs()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactProducerValidationError{ + field: "Outputs", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ArtifactProducerValidationError is the validation error returned by +// ArtifactProducer.Validate if the designated constraints aren't met. +type ArtifactProducerValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactProducerValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactProducerValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactProducerValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactProducerValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactProducerValidationError) ErrorName() string { return "ArtifactProducerValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactProducerValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactProducer.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactProducerValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactProducerValidationError{} + +// Validate checks the field values on RegisterProducerRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *RegisterProducerRequest) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetProducers() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return RegisterProducerRequestValidationError{ + field: fmt.Sprintf("Producers[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// RegisterProducerRequestValidationError is the validation error returned by +// RegisterProducerRequest.Validate if the designated constraints aren't met. +type RegisterProducerRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e RegisterProducerRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e RegisterProducerRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e RegisterProducerRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e RegisterProducerRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e RegisterProducerRequestValidationError) ErrorName() string { + return "RegisterProducerRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e RegisterProducerRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sRegisterProducerRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = RegisterProducerRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = RegisterProducerRequestValidationError{} + +// Validate checks the field values on ArtifactConsumer with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *ArtifactConsumer) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetEntityId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactConsumerValidationError{ + field: "EntityId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetInputs()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactConsumerValidationError{ + field: "Inputs", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ArtifactConsumerValidationError is the validation error returned by +// ArtifactConsumer.Validate if the designated constraints aren't met. +type ArtifactConsumerValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactConsumerValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactConsumerValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactConsumerValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactConsumerValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactConsumerValidationError) ErrorName() string { return "ArtifactConsumerValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactConsumerValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactConsumer.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactConsumerValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactConsumerValidationError{} + +// Validate checks the field values on RegisterConsumerRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *RegisterConsumerRequest) Validate() error { + if m == nil { + return nil + } + + for idx, item := range m.GetConsumers() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return RegisterConsumerRequestValidationError{ + field: fmt.Sprintf("Consumers[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// RegisterConsumerRequestValidationError is the validation error returned by +// RegisterConsumerRequest.Validate if the designated constraints aren't met. +type RegisterConsumerRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e RegisterConsumerRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e RegisterConsumerRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e RegisterConsumerRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e RegisterConsumerRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e RegisterConsumerRequestValidationError) ErrorName() string { + return "RegisterConsumerRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e RegisterConsumerRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sRegisterConsumerRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = RegisterConsumerRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = RegisterConsumerRequestValidationError{} + +// Validate checks the field values on RegisterResponse with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *RegisterResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// RegisterResponseValidationError is the validation error returned by +// RegisterResponse.Validate if the designated constraints aren't met. +type RegisterResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e RegisterResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e RegisterResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e RegisterResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e RegisterResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e RegisterResponseValidationError) ErrorName() string { return "RegisterResponseValidationError" } + +// Error satisfies the builtin error interface +func (e RegisterResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sRegisterResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = RegisterResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = RegisterResponseValidationError{} + +// Validate checks the field values on ExecutionInputsRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ExecutionInputsRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetExecutionId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ExecutionInputsRequestValidationError{ + field: "ExecutionId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for idx, item := range m.GetInputs() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ExecutionInputsRequestValidationError{ + field: fmt.Sprintf("Inputs[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// ExecutionInputsRequestValidationError is the validation error returned by +// ExecutionInputsRequest.Validate if the designated constraints aren't met. +type ExecutionInputsRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ExecutionInputsRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ExecutionInputsRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ExecutionInputsRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ExecutionInputsRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ExecutionInputsRequestValidationError) ErrorName() string { + return "ExecutionInputsRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e ExecutionInputsRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sExecutionInputsRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ExecutionInputsRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ExecutionInputsRequestValidationError{} + +// Validate checks the field values on ExecutionInputsResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ExecutionInputsResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// ExecutionInputsResponseValidationError is the validation error returned by +// ExecutionInputsResponse.Validate if the designated constraints aren't met. +type ExecutionInputsResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ExecutionInputsResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ExecutionInputsResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ExecutionInputsResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ExecutionInputsResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ExecutionInputsResponseValidationError) ErrorName() string { + return "ExecutionInputsResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e ExecutionInputsResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sExecutionInputsResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ExecutionInputsResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ExecutionInputsResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json new file mode 100644 index 0000000000..8617ff5fee --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json @@ -0,0 +1,2117 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/artifact/artifacts.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}": { + "get": { + "operationId": "GetArtifact3", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/artifactGetArtifactResponse" + } + } + }, + "parameters": [ + { + "name": "query.artifact_id.artifact_key.project", + "description": "Project and domain and suffix needs to be unique across a given artifact store.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "query.artifact_id.artifact_key.domain", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "query.artifact_id.artifact_key.name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "query.artifact_id.version", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.static_value", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.triggered_binding.index", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "query.artifact_tag.value.triggered_binding.partition_key", + "description": "These two fields are only relevant in the partition value case.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.triggered_binding.transform", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.input_binding.var", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.uri", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.binding.index", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "query.binding.partition_key", + "description": "These two fields are only relevant in the partition value case.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.binding.transform", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "details", + "description": "If false, then long_description is not returned.", + "in": "query", + "required": false, + "type": "boolean", + "format": "boolean" + } + ], + "tags": [ + "ArtifactRegistry" + ] + } + }, + "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}": { + "get": { + "operationId": "GetArtifact2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/artifactGetArtifactResponse" + } + } + }, + "parameters": [ + { + "name": "query.artifact_id.artifact_key.project", + "description": "Project and domain and suffix needs to be unique across a given artifact store.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "query.artifact_id.artifact_key.domain", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "query.artifact_id.artifact_key.name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "query.artifact_id.version", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "query.artifact_tag.value.static_value", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.triggered_binding.index", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "query.artifact_tag.value.triggered_binding.partition_key", + "description": "These two fields are only relevant in the partition value case.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.triggered_binding.transform", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.input_binding.var", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.uri", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.binding.index", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "query.binding.partition_key", + "description": "These two fields are only relevant in the partition value case.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.binding.transform", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "details", + "description": "If false, then long_description is not returned.", + "in": "query", + "required": false, + "type": "boolean", + "format": "boolean" + } + ], + "tags": [ + "ArtifactRegistry" + ] + } + }, + "/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}": { + "get": { + "operationId": "GetArtifact4", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/artifactGetArtifactResponse" + } + } + }, + "parameters": [ + { + "name": "query.artifact_tag.artifact_key.project", + "description": "Project and domain and suffix needs to be unique across a given artifact store.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "query.artifact_tag.artifact_key.domain", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "query.artifact_tag.artifact_key.name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "query.artifact_id.version", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.static_value", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.triggered_binding.index", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "query.artifact_tag.value.triggered_binding.partition_key", + "description": "These two fields are only relevant in the partition value case.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.triggered_binding.transform", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.input_binding.var", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.uri", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.binding.index", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "query.binding.partition_key", + "description": "These two fields are only relevant in the partition value case.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.binding.transform", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "details", + "description": "If false, then long_description is not returned.", + "in": "query", + "required": false, + "type": "boolean", + "format": "boolean" + } + ], + "tags": [ + "ArtifactRegistry" + ] + } + }, + "/artifacts/api/v1/data/artifacts": { + "get": { + "operationId": "GetArtifact", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/artifactGetArtifactResponse" + } + } + }, + "parameters": [ + { + "name": "query.artifact_id.artifact_key.project", + "description": "Project and domain and suffix needs to be unique across a given artifact store.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_id.artifact_key.domain", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_id.artifact_key.name", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_id.version", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.artifact_key.project", + "description": "Project and domain and suffix needs to be unique across a given artifact store.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.artifact_key.domain", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.artifact_key.name", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.static_value", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.triggered_binding.index", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "query.artifact_tag.value.triggered_binding.partition_key", + "description": "These two fields are only relevant in the partition value case.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.triggered_binding.transform", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.artifact_tag.value.input_binding.var", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.uri", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.binding.index", + "in": "query", + "required": false, + "type": "integer", + "format": "int64" + }, + { + "name": "query.binding.partition_key", + "description": "These two fields are only relevant in the partition value case.", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "query.binding.transform", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "details", + "description": "If false, then long_description is not returned.", + "in": "query", + "required": false, + "type": "boolean", + "format": "boolean" + } + ], + "tags": [ + "ArtifactRegistry" + ] + } + }, + "/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}": { + "get": { + "operationId": "FindByWorkflowExec", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/artifactSearchArtifactsResponse" + } + } + }, + "parameters": [ + { + "name": "exec_id.project", + "description": "Name of the project the resource belongs to.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "exec_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": "exec_id.name", + "description": "User or system provided value for the resource.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "direction", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "INPUTS", + "OUTPUTS" + ] + } + ], + "tags": [ + "ArtifactRegistry" + ] + } + }, + "/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}": { + "get": { + "operationId": "SearchArtifacts", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/artifactSearchArtifactsResponse" + } + } + }, + "parameters": [ + { + "name": "artifact_key.project", + "description": "Project and domain and suffix needs to be unique across a given artifact store.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "artifact_key.domain", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "artifact_key.name", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "principal", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "version", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "options.strict_partitions", + "description": "If true, this means a strict partition search. meaning if you don't specify the partition\nfield, that will mean, non-partitioned, rather than any partition.", + "in": "query", + "required": false, + "type": "boolean", + "format": "boolean" + }, + { + "name": "options.latest_by_key", + "description": "If true, only one artifact per key will be returned. It will be the latest one by creation time.", + "in": "query", + "required": false, + "type": "boolean", + "format": "boolean" + }, + { + "name": "token", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "tags": [ + "ArtifactRegistry" + ] + } + }, + "/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}": { + "get": { + "operationId": "SearchArtifacts2", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/artifactSearchArtifactsResponse" + } + } + }, + "parameters": [ + { + "name": "artifact_key.project", + "description": "Project and domain and suffix needs to be unique across a given artifact store.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "artifact_key.domain", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "artifact_key.name", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "principal", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "version", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "options.strict_partitions", + "description": "If true, this means a strict partition search. meaning if you don't specify the partition\nfield, that will mean, non-partitioned, rather than any partition.", + "in": "query", + "required": false, + "type": "boolean", + "format": "boolean" + }, + { + "name": "options.latest_by_key", + "description": "If true, only one artifact per key will be returned. It will be the latest one by creation time.", + "in": "query", + "required": false, + "type": "boolean", + "format": "boolean" + }, + { + "name": "token", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "limit", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "tags": [ + "ArtifactRegistry" + ] + } + } + }, + "definitions": { + "BlobTypeBlobDimensionality": { + "type": "string", + "enum": [ + "SINGLE", + "MULTIPART" + ], + "default": "SINGLE" + }, + "QualityOfServiceTier": { + "type": "string", + "enum": [ + "UNDEFINED", + "HIGH", + "MEDIUM", + "LOW" + ], + "default": "UNDEFINED", + "description": " - UNDEFINED: Default: no quality of service specified." + }, + "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." + }, + "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." + } + } + }, + "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." + }, + "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." + }, + "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." + }, + "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." + }, + "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." + }, + "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." + }, + "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." + }, + "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." + }, + "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." + }, + "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." + }, + "artifactAddTagResponse": { + "type": "object" + }, + "artifactArtifact": { + "type": "object", + "properties": { + "artifact_id": { + "$ref": "#/definitions/coreArtifactID" + }, + "spec": { + "$ref": "#/definitions/artifactArtifactSpec" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "title": "references the tag field in ArtifactTag" + }, + "source": { + "$ref": "#/definitions/artifactArtifactSource" + } + } + }, + "artifactArtifactConsumer": { + "type": "object", + "properties": { + "entity_id": { + "$ref": "#/definitions/coreIdentifier", + "title": "These should all be launch plan IDs" + }, + "inputs": { + "$ref": "#/definitions/coreParameterMap" + } + } + }, + "artifactArtifactProducer": { + "type": "object", + "properties": { + "entity_id": { + "$ref": "#/definitions/coreIdentifier", + "description": "These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in\nAdmin's domain." + }, + "outputs": { + "$ref": "#/definitions/coreVariableMap" + } + } + }, + "artifactArtifactSource": { + "type": "object", + "properties": { + "workflow_execution": { + "$ref": "#/definitions/coreWorkflowExecutionIdentifier" + }, + "node_id": { + "type": "string" + }, + "task_id": { + "$ref": "#/definitions/coreIdentifier" + }, + "retry_attempt": { + "type": "integer", + "format": "int64" + }, + "principal": { + "type": "string", + "description": "Uploads, either from the UI or from the CLI, or FlyteRemote, will have this." + } + } + }, + "artifactArtifactSpec": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/coreLiteral" + }, + "type": { + "$ref": "#/definitions/coreLiteralType", + "description": "This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but\nforgets to change the name, that is okay. And the reason why this is a separate field is because adding the\ntype to all Literals is a lot of work." + }, + "short_description": { + "type": "string" + }, + "user_metadata": { + "$ref": "#/definitions/protobufAny", + "title": "Additional user metadata" + }, + "metadata_type": { + "type": "string" + } + } + }, + "artifactCreateArtifactResponse": { + "type": "object", + "properties": { + "artifact": { + "$ref": "#/definitions/artifactArtifact" + } + } + }, + "artifactCreateTriggerResponse": { + "type": "object" + }, + "artifactDeleteTriggerResponse": { + "type": "object" + }, + "artifactExecutionInputsResponse": { + "type": "object" + }, + "artifactFindByWorkflowExecRequestDirection": { + "type": "string", + "enum": [ + "INPUTS", + "OUTPUTS" + ], + "default": "INPUTS" + }, + "artifactGetArtifactResponse": { + "type": "object", + "properties": { + "artifact": { + "$ref": "#/definitions/artifactArtifact" + } + } + }, + "artifactRegisterResponse": { + "type": "object" + }, + "artifactSearchArtifactsResponse": { + "type": "object", + "properties": { + "artifacts": { + "type": "array", + "items": { + "$ref": "#/definitions/artifactArtifact" + }, + "description": "If artifact specs are not requested, the resultant artifacts may be empty." + }, + "token": { + "type": "string", + "description": "continuation token if relevant." + } + } + }, + "artifactSearchOptions": { + "type": "object", + "properties": { + "strict_partitions": { + "type": "boolean", + "format": "boolean", + "description": "If true, this means a strict partition search. meaning if you don't specify the partition\nfield, that will mean, non-partitioned, rather than any partition." + }, + "latest_by_key": { + "type": "boolean", + "format": "boolean", + "description": "If true, only one artifact per key will be returned. It will be the latest one by creation time." + } + } + }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string", + "title": "These two fields are only relevant in the partition value case" + }, + "transform": { + "type": "string" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions" + } + } + }, + "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." + }, + "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." + }, + "coreIdentifier": { + "type": "object", + "properties": { + "resource_type": { + "$ref": "#/definitions/coreResourceType", + "description": "Identifies the specific type of resource that this identifier corresponds to." + }, + "project": { + "type": "string", + "description": "Name of the project the resource belongs to." + }, + "domain": { + "type": "string", + "description": "Name of the domain the resource belongs to.\nA domain can be considered as a subset within a specific project." + }, + "name": { + "type": "string", + "description": "User provided value for the resource." + }, + "version": { + "type": "string", + "description": "Specific version of the resource." + } + }, + "description": "Encapsulation of fields that uniquely identifies a Flyte resource." + }, + "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" + } + } + }, + "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" + }, + "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." + }, + "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." + }, + "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" + }, + "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" + }, + "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." + }, + "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" + }, + "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." + } + }, + "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" + }, + "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/core/artifact_id.pb.go b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.go new file mode 100644 index 0000000000..bf7ba4679f --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.go @@ -0,0 +1,665 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/core/artifact_id.proto + +package core + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type ArtifactKey struct { + // 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:"-"` +} + +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 (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 (m *ArtifactKey) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactKey.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactKey proto.InternalMessageInfo + +func (m *ArtifactKey) GetProject() string { + if m != nil { + return m.Project + } + return "" +} + +func (m *ArtifactKey) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ArtifactKey) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +// Only valid for triggers +type ArtifactBindingData struct { + Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + // These two fields are only relevant in the partition value case + PartitionKey string `protobuf:"bytes,2,opt,name=partition_key,json=partitionKey,proto3" json:"partition_key,omitempty"` + Transform string `protobuf:"bytes,3,opt,name=transform,proto3" json:"transform,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +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 (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) +} + +var xxx_messageInfo_ArtifactBindingData proto.InternalMessageInfo + +func (m *ArtifactBindingData) GetIndex() uint32 { + if m != nil { + return m.Index + } + return 0 +} + +func (m *ArtifactBindingData) GetPartitionKey() string { + if m != nil { + return m.PartitionKey + } + return "" +} + +func (m *ArtifactBindingData) GetTransform() string { + if m != nil { + return m.Transform + } + return "" +} + +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:"-"` +} + +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} +} + +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 (m *InputBindingData) XXX_Merge(src proto.Message) { + xxx_messageInfo_InputBindingData.Merge(m, src) +} +func (m *InputBindingData) XXX_Size() int { + return xxx_messageInfo_InputBindingData.Size(m) +} +func (m *InputBindingData) XXX_DiscardUnknown() { + xxx_messageInfo_InputBindingData.DiscardUnknown(m) +} + +var xxx_messageInfo_InputBindingData proto.InternalMessageInfo + +func (m *InputBindingData) GetVar() string { + if m != nil { + return m.Var + } + return "" +} + +type LabelValue struct { + // Types that are valid to be assigned to Value: + // *LabelValue_StaticValue + // *LabelValue_TriggeredBinding + // *LabelValue_InputBinding + Value isLabelValue_Value `protobuf_oneof:"value"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +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 (m *LabelValue) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LabelValue.Unmarshal(m, b) +} +func (m *LabelValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LabelValue.Marshal(b, m, deterministic) +} +func (m *LabelValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabelValue.Merge(m, src) +} +func (m *LabelValue) XXX_Size() int { + return xxx_messageInfo_LabelValue.Size(m) +} +func (m *LabelValue) XXX_DiscardUnknown() { + xxx_messageInfo_LabelValue.DiscardUnknown(m) +} + +var xxx_messageInfo_LabelValue proto.InternalMessageInfo + +type isLabelValue_Value interface { + isLabelValue_Value() +} + +type LabelValue_StaticValue struct { + StaticValue string `protobuf:"bytes,1,opt,name=static_value,json=staticValue,proto3,oneof"` +} + +type LabelValue_TriggeredBinding struct { + TriggeredBinding *ArtifactBindingData `protobuf:"bytes,2,opt,name=triggered_binding,json=triggeredBinding,proto3,oneof"` +} + +type LabelValue_InputBinding struct { + InputBinding *InputBindingData `protobuf:"bytes,3,opt,name=input_binding,json=inputBinding,proto3,oneof"` +} + +func (*LabelValue_StaticValue) isLabelValue_Value() {} + +func (*LabelValue_TriggeredBinding) isLabelValue_Value() {} + +func (*LabelValue_InputBinding) isLabelValue_Value() {} + +func (m *LabelValue) GetValue() isLabelValue_Value { + if m != nil { + return m.Value + } + return nil +} + +func (m *LabelValue) GetStaticValue() string { + if x, ok := m.GetValue().(*LabelValue_StaticValue); ok { + return x.StaticValue + } + return "" +} + +func (m *LabelValue) GetTriggeredBinding() *ArtifactBindingData { + if x, ok := m.GetValue().(*LabelValue_TriggeredBinding); ok { + return x.TriggeredBinding + } + return nil +} + +func (m *LabelValue) GetInputBinding() *InputBindingData { + if x, ok := m.GetValue().(*LabelValue_InputBinding); ok { + return x.InputBinding + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*LabelValue) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*LabelValue_StaticValue)(nil), + (*LabelValue_TriggeredBinding)(nil), + (*LabelValue_InputBinding)(nil), + } +} + +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() {} +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) +} + +var xxx_messageInfo_Partitions proto.InternalMessageInfo + +func (m *Partitions) GetValue() map[string]*LabelValue { + if m != nil { + return m.Value + } + return nil +} + +type ArtifactID struct { + 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). + // This is a oneof because of partition querying... we need a way to distinguish between + // a user not-specifying partitions when searching, and specifically searching for an Artifact + // that is not partitioned (this can happen if an Artifact goes from partitioned to non- + // partitioned across executions). + // + // Types that are valid to be assigned to Dimensions: + // *ArtifactID_Partitions + Dimensions isArtifactID_Dimensions `protobuf_oneof:"dimensions"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +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{5} +} + +func (m *ArtifactID) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactID.Unmarshal(m, b) +} +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) +} + +var xxx_messageInfo_ArtifactID proto.InternalMessageInfo + +func (m *ArtifactID) GetArtifactKey() *ArtifactKey { + if m != nil { + return m.ArtifactKey + } + return nil +} + +func (m *ArtifactID) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +type isArtifactID_Dimensions interface { + isArtifactID_Dimensions() +} + +type ArtifactID_Partitions struct { + Partitions *Partitions `protobuf:"bytes,3,opt,name=partitions,proto3,oneof"` +} + +func (*ArtifactID_Partitions) isArtifactID_Dimensions() {} + +func (m *ArtifactID) GetDimensions() isArtifactID_Dimensions { + if m != nil { + return m.Dimensions + } + return nil +} + +func (m *ArtifactID) GetPartitions() *Partitions { + if x, ok := m.GetDimensions().(*ArtifactID_Partitions); ok { + return x.Partitions + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ArtifactID) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ArtifactID_Partitions)(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:"-"` +} + +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{6} +} + +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 (m *ArtifactTag) XXX_Size() int { + return xxx_messageInfo_ArtifactTag.Size(m) +} +func (m *ArtifactTag) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactTag.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactTag proto.InternalMessageInfo + +func (m *ArtifactTag) GetArtifactKey() *ArtifactKey { + if m != nil { + return m.ArtifactKey + } + return nil +} + +func (m *ArtifactTag) GetValue() *LabelValue { + if m != nil { + return m.Value + } + return nil +} + +// 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 +type ArtifactQuery struct { + // Types that are valid to be assigned 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:"-"` +} + +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{7} +} + +func (m *ArtifactQuery) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ArtifactQuery.Unmarshal(m, b) +} +func (m *ArtifactQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ArtifactQuery.Marshal(b, m, deterministic) +} +func (m *ArtifactQuery) XXX_Merge(src proto.Message) { + xxx_messageInfo_ArtifactQuery.Merge(m, src) +} +func (m *ArtifactQuery) XXX_Size() int { + return xxx_messageInfo_ArtifactQuery.Size(m) +} +func (m *ArtifactQuery) XXX_DiscardUnknown() { + xxx_messageInfo_ArtifactQuery.DiscardUnknown(m) +} + +var xxx_messageInfo_ArtifactQuery proto.InternalMessageInfo + +type isArtifactQuery_Identifier interface { + isArtifactQuery_Identifier() +} + +type ArtifactQuery_ArtifactId struct { + ArtifactId *ArtifactID `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3,oneof"` +} + +type ArtifactQuery_ArtifactTag struct { + ArtifactTag *ArtifactTag `protobuf:"bytes,2,opt,name=artifact_tag,json=artifactTag,proto3,oneof"` +} + +type ArtifactQuery_Uri struct { + Uri string `protobuf:"bytes,3,opt,name=uri,proto3,oneof"` +} + +type ArtifactQuery_Binding struct { + Binding *ArtifactBindingData `protobuf:"bytes,4,opt,name=binding,proto3,oneof"` +} + +func (*ArtifactQuery_ArtifactId) isArtifactQuery_Identifier() {} + +func (*ArtifactQuery_ArtifactTag) isArtifactQuery_Identifier() {} + +func (*ArtifactQuery_Uri) isArtifactQuery_Identifier() {} + +func (*ArtifactQuery_Binding) isArtifactQuery_Identifier() {} + +func (m *ArtifactQuery) GetIdentifier() isArtifactQuery_Identifier { + if m != nil { + return m.Identifier + } + return nil +} + +func (m *ArtifactQuery) GetArtifactId() *ArtifactID { + if x, ok := m.GetIdentifier().(*ArtifactQuery_ArtifactId); ok { + return x.ArtifactId + } + return nil +} + +func (m *ArtifactQuery) GetArtifactTag() *ArtifactTag { + if x, ok := m.GetIdentifier().(*ArtifactQuery_ArtifactTag); ok { + return x.ArtifactTag + } + return nil +} + +func (m *ArtifactQuery) GetUri() string { + if x, ok := m.GetIdentifier().(*ArtifactQuery_Uri); ok { + return x.Uri + } + return "" +} + +func (m *ArtifactQuery) GetBinding() *ArtifactBindingData { + if x, ok := m.GetIdentifier().(*ArtifactQuery_Binding); ok { + return x.Binding + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ArtifactQuery) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ArtifactQuery_ArtifactId)(nil), + (*ArtifactQuery_ArtifactTag)(nil), + (*ArtifactQuery_Uri)(nil), + (*ArtifactQuery_Binding)(nil), + } +} + +type Trigger struct { + // This will be set to a launch plan type, but note that this is different than the actual launch plan type. + TriggerId *Identifier `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` + // These are partial artifact IDs that will be triggered on + // Consider making these ArtifactQuery instead. + Triggers []*ArtifactID `protobuf:"bytes,2,rep,name=triggers,proto3" json:"triggers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Trigger) Reset() { *m = Trigger{} } +func (m *Trigger) String() string { return proto.CompactTextString(m) } +func (*Trigger) ProtoMessage() {} +func (*Trigger) Descriptor() ([]byte, []int) { + return fileDescriptor_1079b0707e23f978, []int{8} +} + +func (m *Trigger) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Trigger.Unmarshal(m, b) +} +func (m *Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Trigger.Marshal(b, m, deterministic) +} +func (m *Trigger) XXX_Merge(src proto.Message) { + xxx_messageInfo_Trigger.Merge(m, src) +} +func (m *Trigger) XXX_Size() int { + return xxx_messageInfo_Trigger.Size(m) +} +func (m *Trigger) XXX_DiscardUnknown() { + xxx_messageInfo_Trigger.DiscardUnknown(m) +} + +var xxx_messageInfo_Trigger proto.InternalMessageInfo + +func (m *Trigger) GetTriggerId() *Identifier { + if m != nil { + return m.TriggerId + } + return nil +} + +func (m *Trigger) GetTriggers() []*ArtifactID { + if m != nil { + return m.Triggers + } + return 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((*ArtifactID)(nil), "flyteidl.core.ArtifactID") + proto.RegisterType((*ArtifactTag)(nil), "flyteidl.core.ArtifactTag") + proto.RegisterType((*ArtifactQuery)(nil), "flyteidl.core.ArtifactQuery") + proto.RegisterType((*Trigger)(nil), "flyteidl.core.Trigger") +} + +func init() { proto.RegisterFile("flyteidl/core/artifact_id.proto", fileDescriptor_1079b0707e23f978) } + +var fileDescriptor_1079b0707e23f978 = []byte{ + // 612 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xc1, 0x6e, 0xd3, 0x4c, + 0x10, 0x8e, 0x9b, 0xb6, 0xf9, 0x3b, 0x4e, 0xa4, 0xfe, 0x0b, 0x42, 0x4e, 0x84, 0x68, 0xe5, 0xf6, + 0xd0, 0x0b, 0xb6, 0x14, 0x84, 0x54, 0x85, 0x02, 0x22, 0x0a, 0x28, 0x56, 0x39, 0x50, 0x37, 0xe2, + 0xc0, 0x25, 0xda, 0xc4, 0x1b, 0xb3, 0x34, 0x59, 0x47, 0xeb, 0x4d, 0x84, 0x91, 0x78, 0x14, 0xde, + 0x81, 0x97, 0xe1, 0x3d, 0x78, 0x04, 0xb4, 0xeb, 0x5d, 0x3b, 0x89, 0xf0, 0xa1, 0xe2, 0xb6, 0x33, + 0xf9, 0xe6, 0xf3, 0x37, 0x5f, 0x66, 0x06, 0x4e, 0x66, 0xf3, 0x4c, 0x10, 0x1a, 0xcd, 0xfd, 0x69, + 0xc2, 0x89, 0x8f, 0xb9, 0xa0, 0x33, 0x3c, 0x15, 0x63, 0x1a, 0x79, 0x4b, 0x9e, 0x88, 0x04, 0xb5, + 0x0c, 0xc0, 0x93, 0x80, 0xce, 0x93, 0x6d, 0x3c, 0x8d, 0x08, 0x13, 0x74, 0x46, 0x09, 0xcf, 0xe1, + 0xee, 0x2d, 0xd8, 0x6f, 0x34, 0xc7, 0x35, 0xc9, 0x90, 0x03, 0x8d, 0x25, 0x4f, 0xbe, 0x90, 0xa9, + 0x70, 0xac, 0x53, 0xeb, 0xe2, 0x28, 0x34, 0x21, 0x7a, 0x04, 0x87, 0x51, 0xb2, 0xc0, 0x94, 0x39, + 0x7b, 0xea, 0x07, 0x1d, 0x21, 0x04, 0xfb, 0x0c, 0x2f, 0x88, 0x53, 0x57, 0x59, 0xf5, 0x76, 0x19, + 0x3c, 0x30, 0xa4, 0x7d, 0xca, 0x22, 0xca, 0xe2, 0x01, 0x16, 0x18, 0x3d, 0x84, 0x03, 0xca, 0x22, + 0xf2, 0x55, 0x51, 0xb7, 0xc2, 0x3c, 0x40, 0x67, 0xd0, 0x5a, 0xca, 0x36, 0x04, 0x4d, 0xd8, 0xf8, + 0x8e, 0x64, 0x9a, 0xbf, 0x59, 0x24, 0xa5, 0xae, 0xc7, 0x70, 0x24, 0x38, 0x66, 0xe9, 0x2c, 0xe1, + 0x0b, 0xfd, 0xa9, 0x32, 0xe1, 0x9e, 0xc3, 0x71, 0xc0, 0x96, 0xab, 0xad, 0x8f, 0x1d, 0x43, 0x7d, + 0x8d, 0xb9, 0xee, 0x42, 0x3e, 0xdd, 0x5f, 0x16, 0xc0, 0x7b, 0x3c, 0x21, 0xf3, 0x8f, 0x78, 0xbe, + 0x22, 0xe8, 0x0c, 0x9a, 0xa9, 0xc0, 0x82, 0x4e, 0xc7, 0x6b, 0x19, 0xe7, 0xc8, 0x61, 0x2d, 0xb4, + 0xf3, 0x6c, 0x0e, 0xba, 0x81, 0xff, 0x05, 0xa7, 0x71, 0x4c, 0x38, 0x89, 0xc6, 0x93, 0x9c, 0x5e, + 0x09, 0xb4, 0xbb, 0xae, 0xb7, 0xe5, 0xb4, 0xf7, 0x97, 0x8e, 0x87, 0xb5, 0xf0, 0xb8, 0x28, 0xd7, + 0x79, 0xf4, 0x0e, 0x5a, 0x54, 0x8a, 0x2d, 0xe8, 0xea, 0x8a, 0xee, 0x64, 0x87, 0x6e, 0xb7, 0xa1, + 0x61, 0x2d, 0x6c, 0xd2, 0x8d, 0x5c, 0xbf, 0x01, 0x07, 0x4a, 0xb8, 0xfb, 0xc3, 0x02, 0xf8, 0x60, + 0xcc, 0x4a, 0x51, 0x4f, 0xe7, 0x1d, 0xeb, 0xb4, 0x7e, 0x61, 0x77, 0xcf, 0x77, 0x78, 0x4b, 0xa4, + 0xa7, 0x5a, 0x7c, 0xcb, 0x04, 0xcf, 0xc2, 0xbc, 0xa4, 0x73, 0x0b, 0x50, 0x26, 0xa5, 0x85, 0xf2, + 0xff, 0xd0, 0x16, 0xde, 0x91, 0x0c, 0xf9, 0x86, 0x3b, 0xb7, 0xa0, 0xbd, 0xc3, 0x5d, 0xba, 0xab, + 0x09, 0x7b, 0x7b, 0x97, 0x96, 0xfb, 0xd3, 0x02, 0x30, 0xe6, 0x04, 0x03, 0xf4, 0x12, 0x9a, 0xc5, + 0xd4, 0x1a, 0x7a, 0xbb, 0xdb, 0xa9, 0x70, 0xf3, 0x9a, 0x64, 0xa1, 0x8d, 0xb7, 0x27, 0x74, 0x4d, + 0x78, 0x4a, 0x13, 0x33, 0x88, 0x26, 0x44, 0x2f, 0x00, 0x8a, 0x99, 0x49, 0xb5, 0xab, 0xed, 0xca, + 0xee, 0x87, 0xb5, 0x70, 0x03, 0xde, 0x6f, 0x02, 0x44, 0x74, 0x41, 0x98, 0x64, 0x4a, 0xdd, 0xef, + 0xe5, 0x56, 0x8c, 0x70, 0xfc, 0xaf, 0x92, 0xef, 0xeb, 0x9a, 0xfb, 0xdb, 0x82, 0x96, 0x61, 0xbb, + 0x59, 0x11, 0x9e, 0xa1, 0x2b, 0xb0, 0x37, 0x56, 0x5d, 0x0b, 0x68, 0x57, 0x08, 0x08, 0x06, 0xb2, + 0x39, 0x83, 0x0f, 0x22, 0xf4, 0x7a, 0x43, 0xbf, 0xc0, 0x66, 0x80, 0xab, 0xf4, 0x8f, 0x70, 0x2c, + 0xd7, 0x00, 0x6f, 0x18, 0x80, 0xa0, 0xbe, 0xe2, 0x34, 0x5f, 0xbc, 0x61, 0x2d, 0x94, 0x01, 0x7a, + 0x05, 0x0d, 0x33, 0xc1, 0xfb, 0xf7, 0x58, 0x08, 0x53, 0x24, 0x1d, 0x2f, 0xaf, 0x91, 0xfb, 0x0d, + 0x1a, 0xa3, 0x7c, 0x53, 0xd0, 0x25, 0x80, 0x5e, 0x9a, 0xea, 0x56, 0x83, 0xa2, 0x52, 0xde, 0x01, + 0x05, 0x0e, 0x22, 0xf4, 0x1c, 0xfe, 0xd3, 0x41, 0xea, 0xec, 0xa9, 0xe9, 0xaf, 0xb6, 0x28, 0x2c, + 0xa0, 0xfd, 0xab, 0x4f, 0xbd, 0x98, 0x8a, 0xcf, 0xab, 0x89, 0x37, 0x4d, 0x16, 0xbe, 0x2a, 0x48, + 0x78, 0x9c, 0x3f, 0xfc, 0xe2, 0x7e, 0xc6, 0x84, 0xf9, 0xcb, 0xc9, 0xd3, 0x38, 0xf1, 0xb7, 0x4e, + 0xea, 0xe4, 0x50, 0x1d, 0xd2, 0x67, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x29, 0x9b, 0xf7, 0x47, + 0x9a, 0x05, 0x00, 0x00, +} diff --git a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go new file mode 100644 index 0000000000..4ae8664822 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go @@ -0,0 +1,798 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/core/artifact_id.proto + +package core + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _artifact_id_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on ArtifactKey with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ArtifactKey) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Project + + // no validation rules for Domain + + // no validation rules for Name + + return nil +} + +// ArtifactKeyValidationError is the validation error returned by +// ArtifactKey.Validate if the designated constraints aren't met. +type ArtifactKeyValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactKeyValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactKeyValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactKeyValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactKeyValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactKeyValidationError) ErrorName() string { return "ArtifactKeyValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactKeyValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactKey.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactKeyValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactKeyValidationError{} + +// Validate checks the field values on ArtifactBindingData with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ArtifactBindingData) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Index + + // no validation rules for PartitionKey + + // no validation rules for Transform + + return nil +} + +// ArtifactBindingDataValidationError is the validation error returned by +// ArtifactBindingData.Validate if the designated constraints aren't met. +type ArtifactBindingDataValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactBindingDataValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactBindingDataValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactBindingDataValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactBindingDataValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactBindingDataValidationError) ErrorName() string { + return "ArtifactBindingDataValidationError" +} + +// Error satisfies the builtin error interface +func (e ArtifactBindingDataValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactBindingData.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactBindingDataValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactBindingDataValidationError{} + +// Validate checks the field values on InputBindingData with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *InputBindingData) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Var + + return nil +} + +// InputBindingDataValidationError is the validation error returned by +// InputBindingData.Validate if the designated constraints aren't met. +type InputBindingDataValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e InputBindingDataValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e InputBindingDataValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e InputBindingDataValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e InputBindingDataValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e InputBindingDataValidationError) ErrorName() string { return "InputBindingDataValidationError" } + +// Error satisfies the builtin error interface +func (e InputBindingDataValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sInputBindingData.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = InputBindingDataValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = InputBindingDataValidationError{} + +// Validate checks the field values on LabelValue with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *LabelValue) Validate() error { + if m == nil { + return nil + } + + switch m.Value.(type) { + + case *LabelValue_StaticValue: + // no validation rules for StaticValue + + case *LabelValue_TriggeredBinding: + + if v, ok := interface{}(m.GetTriggeredBinding()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return LabelValueValidationError{ + field: "TriggeredBinding", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *LabelValue_InputBinding: + + if v, ok := interface{}(m.GetInputBinding()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return LabelValueValidationError{ + field: "InputBinding", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// LabelValueValidationError is the validation error returned by +// LabelValue.Validate if the designated constraints aren't met. +type LabelValueValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e LabelValueValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e LabelValueValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e LabelValueValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e LabelValueValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e LabelValueValidationError) ErrorName() string { return "LabelValueValidationError" } + +// Error satisfies the builtin error interface +func (e LabelValueValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sLabelValue.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = LabelValueValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = LabelValueValidationError{} + +// Validate checks the field values on Partitions with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *Partitions) Validate() error { + if m == nil { + return nil + } + + for key, val := range m.GetValue() { + _ = val + + // no validation rules for Value[key] + + if v, ok := interface{}(val).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return PartitionsValidationError{ + field: fmt.Sprintf("Value[%v]", key), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// PartitionsValidationError is the validation error returned by +// Partitions.Validate if the designated constraints aren't met. +type PartitionsValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e PartitionsValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e PartitionsValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e PartitionsValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e PartitionsValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e PartitionsValidationError) ErrorName() string { return "PartitionsValidationError" } + +// Error satisfies the builtin error interface +func (e PartitionsValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sPartitions.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = PartitionsValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = PartitionsValidationError{} + +// Validate checks the field values on ArtifactID with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *ArtifactID) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactIDValidationError{ + field: "ArtifactKey", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Version + + switch m.Dimensions.(type) { + + case *ArtifactID_Partitions: + + if v, ok := interface{}(m.GetPartitions()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactIDValidationError{ + field: "Partitions", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// ArtifactIDValidationError is the validation error returned by +// ArtifactID.Validate if the designated constraints aren't met. +type ArtifactIDValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactIDValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactIDValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactIDValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactIDValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactIDValidationError) ErrorName() string { return "ArtifactIDValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactIDValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactID.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactIDValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactIDValidationError{} + +// Validate checks the field values on ArtifactTag with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ArtifactTag) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactTagValidationError{ + field: "ArtifactKey", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactTagValidationError{ + field: "Value", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ArtifactTagValidationError is the validation error returned by +// ArtifactTag.Validate if the designated constraints aren't met. +type ArtifactTagValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactTagValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactTagValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactTagValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactTagValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactTagValidationError) ErrorName() string { return "ArtifactTagValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactTagValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactTag.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactTagValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactTagValidationError{} + +// Validate checks the field values on ArtifactQuery with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ArtifactQuery) Validate() error { + if m == nil { + return nil + } + + switch m.Identifier.(type) { + + case *ArtifactQuery_ArtifactId: + + if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactQueryValidationError{ + field: "ArtifactId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *ArtifactQuery_ArtifactTag: + + if v, ok := interface{}(m.GetArtifactTag()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactQueryValidationError{ + field: "ArtifactTag", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *ArtifactQuery_Uri: + // no validation rules for Uri + + case *ArtifactQuery_Binding: + + if v, ok := interface{}(m.GetBinding()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ArtifactQueryValidationError{ + field: "Binding", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// ArtifactQueryValidationError is the validation error returned by +// ArtifactQuery.Validate if the designated constraints aren't met. +type ArtifactQueryValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ArtifactQueryValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ArtifactQueryValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ArtifactQueryValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ArtifactQueryValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ArtifactQueryValidationError) ErrorName() string { return "ArtifactQueryValidationError" } + +// Error satisfies the builtin error interface +func (e ArtifactQueryValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sArtifactQuery.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ArtifactQueryValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ArtifactQueryValidationError{} + +// Validate checks the field values on Trigger with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *Trigger) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetTriggerId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return TriggerValidationError{ + field: "TriggerId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for idx, item := range m.GetTriggers() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return TriggerValidationError{ + field: fmt.Sprintf("Triggers[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// TriggerValidationError is the validation error returned by Trigger.Validate +// if the designated constraints aren't met. +type TriggerValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e TriggerValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e TriggerValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e TriggerValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e TriggerValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e TriggerValidationError) ErrorName() string { return "TriggerValidationError" } + +// Error satisfies the builtin error interface +func (e TriggerValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sTrigger.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = TriggerValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = TriggerValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.swagger.json b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.swagger.json new file mode 100644 index 0000000000..f668848aa5 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.swagger.json @@ -0,0 +1,19 @@ +{ + "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/interface.pb.go b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go index d3af1639f4..521b92942d 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.go @@ -25,10 +25,14 @@ type Variable struct { // Variable literal type. Type *LiteralType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` //+optional string describing input variable - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" 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 *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:"-"` } func (m *Variable) Reset() { *m = Variable{} } @@ -70,6 +74,20 @@ func (m *Variable) GetDescription() string { return "" } +func (m *Variable) GetArtifactPartialId() *ArtifactID { + if m != nil { + return m.ArtifactPartialId + } + return nil +} + +func (m *Variable) GetArtifactTag() *ArtifactTag { + if m != nil { + return m.ArtifactTag + } + return nil +} + // A map of Variables type VariableMap struct { // Defines a map of variable names to variables. @@ -169,6 +187,8 @@ type Parameter struct { // 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:"-"` @@ -219,10 +239,22 @@ type Parameter_Required struct { Required bool `protobuf:"varint,3,opt,name=required,proto3,oneof"` } +type Parameter_ArtifactQuery struct { + ArtifactQuery *ArtifactQuery `protobuf:"bytes,4,opt,name=artifact_query,json=artifactQuery,proto3,oneof"` +} + +type Parameter_ArtifactId struct { + ArtifactId *ArtifactID `protobuf:"bytes,5,opt,name=artifact_id,json=artifactId,proto3,oneof"` +} + func (*Parameter_Default) isParameter_Behavior() {} func (*Parameter_Required) isParameter_Behavior() {} +func (*Parameter_ArtifactQuery) isParameter_Behavior() {} + +func (*Parameter_ArtifactId) isParameter_Behavior() {} + func (m *Parameter) GetBehavior() isParameter_Behavior { if m != nil { return m.Behavior @@ -244,11 +276,27 @@ func (m *Parameter) GetRequired() bool { return false } +func (m *Parameter) GetArtifactQuery() *ArtifactQuery { + if x, ok := m.GetBehavior().(*Parameter_ArtifactQuery); ok { + return x.ArtifactQuery + } + return nil +} + +func (m *Parameter) GetArtifactId() *ArtifactID { + if x, ok := m.GetBehavior().(*Parameter_ArtifactId); ok { + return x.ArtifactId + } + return nil +} + // 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), } } @@ -306,32 +354,39 @@ func init() { func init() { proto.RegisterFile("flyteidl/core/interface.proto", fileDescriptor_cd7be6cbe85c3def) } var fileDescriptor_cd7be6cbe85c3def = []byte{ - // 426 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0x5d, 0x6b, 0xd4, 0x40, - 0x14, 0xed, 0xec, 0x6a, 0xbb, 0x7b, 0xa3, 0x55, 0xe6, 0x41, 0x63, 0xa8, 0x10, 0xf2, 0xb4, 0x45, - 0x9a, 0x40, 0xf4, 0x41, 0x8a, 0x4f, 0x05, 0xb1, 0xa2, 0x82, 0x0c, 0x7e, 0x80, 0xf8, 0x32, 0xd9, - 0xdc, 0x4d, 0x07, 0xd3, 0xcc, 0x38, 0x99, 0x04, 0xe2, 0xef, 0xf0, 0x6f, 0xf8, 0xe6, 0x0f, 0x94, - 0x7c, 0x36, 0x59, 0x1a, 0x7c, 0x9b, 0x3b, 0xe7, 0x9c, 0x9c, 0x93, 0x39, 0x5c, 0x78, 0xba, 0x4b, - 0x2b, 0x83, 0x22, 0x4e, 0x83, 0xad, 0xd4, 0x18, 0x88, 0xcc, 0xa0, 0xde, 0xf1, 0x2d, 0xfa, 0x4a, - 0x4b, 0x23, 0xe9, 0xfd, 0x1e, 0xf6, 0x6b, 0xd8, 0x79, 0x32, 0x65, 0x9b, 0x4a, 0x61, 0xde, 0x32, - 0x9d, 0x93, 0x29, 0x94, 0x0a, 0x83, 0x9a, 0xa7, 0x1d, 0xea, 0x7d, 0x87, 0xd5, 0x17, 0xae, 0x05, - 0x8f, 0x52, 0xa4, 0x3e, 0xdc, 0xa9, 0x85, 0x36, 0x71, 0xc9, 0xc6, 0x0a, 0x1d, 0x7f, 0x62, 0xe1, - 0xbf, 0x6f, 0x85, 0x9f, 0x2a, 0x85, 0xac, 0xe1, 0x51, 0x17, 0xac, 0x18, 0xf3, 0xad, 0x16, 0xca, - 0x08, 0x99, 0xd9, 0x0b, 0x97, 0x6c, 0xd6, 0x6c, 0x7c, 0xe5, 0xfd, 0x21, 0x60, 0xf5, 0x9f, 0xff, - 0xc0, 0x15, 0x7d, 0x03, 0xeb, 0xb2, 0x1b, 0x73, 0x9b, 0xb8, 0xcb, 0x8d, 0x15, 0x9e, 0xee, 0xd9, - 0x8c, 0xe8, 0xc3, 0x39, 0x7f, 0x9d, 0x19, 0x5d, 0xb1, 0x1b, 0xad, 0xf3, 0x19, 0x8e, 0xa7, 0x20, - 0x7d, 0x08, 0xcb, 0x1f, 0x58, 0x35, 0xd9, 0xd7, 0xac, 0x3e, 0xd2, 0x33, 0xb8, 0x5b, 0xf2, 0xb4, - 0xc0, 0x26, 0x98, 0x15, 0x3e, 0x9e, 0x31, 0x62, 0x2d, 0xeb, 0x7c, 0xf1, 0x92, 0x78, 0xbf, 0xe0, - 0xb8, 0xfe, 0xbf, 0xf8, 0x6d, 0xff, 0xda, 0x34, 0x84, 0x43, 0x91, 0xa9, 0xc2, 0xe4, 0x33, 0xaf, - 0x32, 0x8a, 0xcb, 0x3a, 0x26, 0x7d, 0x01, 0x47, 0xb2, 0x30, 0x8d, 0x68, 0xf1, 0x5f, 0x51, 0x4f, - 0xf5, 0x7e, 0x13, 0x58, 0x7f, 0xe4, 0x9a, 0x5f, 0xa3, 0x41, 0x4d, 0x4f, 0x61, 0x59, 0x72, 0xdd, - 0x99, 0xce, 0x46, 0xaf, 0x39, 0x34, 0x84, 0xa3, 0x18, 0x77, 0xbc, 0x48, 0x4d, 0x67, 0xf7, 0xe8, - 0xf6, 0xe6, 0x2e, 0x0f, 0x58, 0x4f, 0xa4, 0x27, 0xb0, 0xd2, 0xf8, 0xb3, 0x10, 0x1a, 0x63, 0x7b, - 0xe9, 0x92, 0xcd, 0xea, 0xf2, 0x80, 0x0d, 0x37, 0x17, 0x00, 0xab, 0x08, 0xaf, 0x78, 0x29, 0xa4, - 0xf6, 0xfe, 0x12, 0xb8, 0x37, 0xc4, 0xaa, 0x3b, 0x7c, 0x07, 0xa0, 0xfa, 0xb9, 0x2f, 0xf1, 0xd9, - 0x9e, 0xe3, 0x58, 0x70, 0x33, 0x74, 0x35, 0x8e, 0xe4, 0xce, 0x57, 0x78, 0xb0, 0x07, 0xdf, 0x52, - 0xa4, 0x3f, 0x2d, 0xd2, 0x9e, 0x33, 0x1b, 0x35, 0x79, 0xf1, 0xea, 0xdb, 0x79, 0x22, 0xcc, 0x55, - 0x11, 0xf9, 0x5b, 0x79, 0x1d, 0x34, 0x02, 0xa9, 0x93, 0xf6, 0x10, 0x0c, 0x1b, 0x91, 0x60, 0x16, - 0xa8, 0xe8, 0x2c, 0x91, 0xc1, 0x64, 0x49, 0xa2, 0xc3, 0x66, 0x39, 0x9e, 0xff, 0x0b, 0x00, 0x00, - 0xff, 0xff, 0x80, 0x20, 0x83, 0x61, 0x85, 0x03, 0x00, 0x00, + // 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, } diff --git a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go index 6e51a5e88f..91aaf0f6f8 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go @@ -55,6 +55,26 @@ func (m *Variable) Validate() error { // no validation rules for Description + if v, ok := interface{}(m.GetArtifactPartialId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return VariableValidationError{ + field: "ArtifactPartialId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetArtifactTag()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return VariableValidationError{ + field: "ArtifactTag", + reason: "embedded message failed validation", + cause: err, + } + } + } + return nil } @@ -313,6 +333,30 @@ func (m *Parameter) Validate() error { case *Parameter_Required: // no validation rules for Required + case *Parameter_ArtifactQuery: + + if v, ok := interface{}(m.GetArtifactQuery()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ParameterValidationError{ + field: "ArtifactQuery", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *Parameter_ArtifactId: + + if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ParameterValidationError{ + field: "ArtifactId", + reason: "embedded message failed validation", + cause: err, + } + } + } + } return nil diff --git a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go index 0103c73b52..cc53755642 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.go @@ -723,10 +723,12 @@ type Literal struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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{} } @@ -811,6 +813,13 @@ func (m *Literal) GetHash() string { return "" } +func (m *Literal) GetMetadata() map[string]string { + if m != nil { + return m.Metadata + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*Literal) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -1292,6 +1301,7 @@ func init() { 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") @@ -1308,72 +1318,74 @@ func init() { func init() { proto.RegisterFile("flyteidl/core/literals.proto", fileDescriptor_a1a523b10667cdfb) } var fileDescriptor_a1a523b10667cdfb = []byte{ - // 1069 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xdd, 0x6e, 0x1b, 0xc5, - 0x17, 0xf7, 0xda, 0x8e, 0x3f, 0x8e, 0x93, 0xbf, 0xfe, 0x19, 0x12, 0xba, 0x31, 0xa5, 0x98, 0xa5, - 0x12, 0xae, 0x4a, 0xec, 0x92, 0xa2, 0x12, 0x05, 0xae, 0xdc, 0x94, 0xb8, 0x82, 0xaa, 0xcd, 0xa6, - 0x14, 0x09, 0x21, 0x45, 0x63, 0x7b, 0xb2, 0x19, 0x65, 0xbd, 0x63, 0xcd, 0x8e, 0x23, 0xed, 0x13, - 0xf0, 0x26, 0x5c, 0x72, 0xc1, 0x63, 0xf0, 0x34, 0x3c, 0x02, 0x9a, 0xaf, 0xf5, 0x7a, 0x77, 0x9d, - 0x96, 0xbb, 0xd9, 0x39, 0xbf, 0xf3, 0x7d, 0x7e, 0x67, 0x07, 0xee, 0x5f, 0x85, 0x89, 0x20, 0x74, - 0x16, 0x0e, 0xa7, 0x8c, 0x93, 0x61, 0x48, 0x05, 0xe1, 0x38, 0x8c, 0x07, 0x0b, 0xce, 0x04, 0x43, - 0x3b, 0x56, 0x3a, 0x90, 0xd2, 0xee, 0x67, 0x01, 0x63, 0x41, 0x48, 0x86, 0x4a, 0x38, 0x59, 0x5e, - 0x0d, 0x05, 0x9d, 0x93, 0x58, 0xe0, 0xf9, 0x42, 0xe3, 0xbb, 0x0f, 0xf2, 0x80, 0xd9, 0x92, 0x63, - 0x41, 0x59, 0x64, 0xe4, 0xf7, 0xf3, 0xf2, 0x58, 0xf0, 0xe5, 0x54, 0x18, 0xe9, 0xc1, 0x7a, 0x2c, - 0x22, 0x59, 0x10, 0x13, 0x88, 0xf7, 0x7b, 0x15, 0xda, 0x6f, 0x38, 0x9d, 0x53, 0x41, 0x6f, 0x09, - 0xea, 0x42, 0x93, 0x46, 0x82, 0x04, 0x84, 0xbb, 0x4e, 0xcf, 0xe9, 0xd7, 0xc6, 0x15, 0xdf, 0x5e, - 0xa0, 0xcf, 0xa1, 0x73, 0x15, 0x32, 0x2c, 0x2e, 0x6f, 0x71, 0xb8, 0x24, 0x6e, 0xb5, 0xe7, 0xf4, - 0x9d, 0x71, 0xc5, 0x07, 0x75, 0xf9, 0x4e, 0xde, 0xa1, 0x2f, 0x60, 0x3b, 0x16, 0x9c, 0x46, 0x81, - 0xc1, 0xd4, 0x7a, 0x4e, 0xbf, 0x3d, 0xae, 0xf8, 0x1d, 0x7d, 0xab, 0x41, 0x5d, 0x68, 0x4e, 0x18, - 0x0b, 0x09, 0x8e, 0xdc, 0x7a, 0xcf, 0xe9, 0xb7, 0xa4, 0x0f, 0x73, 0x81, 0x8e, 0xa1, 0x35, 0xc3, - 0x82, 0xc8, 0xec, 0xdd, 0xad, 0x9e, 0xd3, 0xef, 0x1c, 0x75, 0x07, 0x3a, 0xb3, 0x81, 0xcd, 0x6c, - 0xf0, 0xd6, 0x96, 0x66, 0x5c, 0xf1, 0x53, 0x34, 0xfa, 0x16, 0x5a, 0xb6, 0x24, 0x6e, 0x43, 0x69, - 0x1e, 0x14, 0x34, 0x4f, 0x0d, 0x40, 0x29, 0x9a, 0xf3, 0xa8, 0x09, 0x5b, 0x2a, 0x58, 0xaf, 0x01, - 0xf5, 0x77, 0x8c, 0xce, 0xbc, 0x73, 0xa8, 0x8f, 0x42, 0x36, 0x91, 0x16, 0xe7, 0x44, 0xe0, 0x19, - 0x16, 0x58, 0x15, 0xa3, 0x73, 0xf4, 0xc9, 0x60, 0xad, 0x6b, 0x03, 0x09, 0x7b, 0x65, 0x20, 0x7e, - 0x0a, 0x46, 0xff, 0x87, 0xda, 0x92, 0x53, 0x9d, 0xbc, 0x2f, 0x8f, 0xde, 0x77, 0xb0, 0x9d, 0xc5, - 0xa2, 0xc7, 0x50, 0x97, 0x3d, 0x30, 0x66, 0xef, 0x95, 0x98, 0x7d, 0x9b, 0x2c, 0x88, 0xaf, 0x40, - 0xde, 0x13, 0x68, 0x8c, 0x68, 0x84, 0x79, 0x82, 0xf6, 0x4c, 0xa8, 0x4a, 0x6f, 0xdb, 0xd7, 0x1f, - 0xd2, 0x9d, 0xc0, 0x81, 0xea, 0x47, 0xdb, 0x97, 0x47, 0xef, 0x25, 0x34, 0x2e, 0xa6, 0xd7, 0x64, - 0x9e, 0x86, 0xe2, 0xa4, 0xa1, 0xa0, 0x43, 0xe3, 0xba, 0x66, 0x6a, 0xb4, 0xee, 0x5a, 0xab, 0x65, - 0x9c, 0x13, 0xd8, 0xfa, 0x39, 0xa2, 0x2c, 0x42, 0x5f, 0x65, 0x7d, 0x77, 0x8e, 0x3e, 0xce, 0x29, - 0xfe, 0xa4, 0xc7, 0xdb, 0xc6, 0x34, 0x30, 0x5e, 0xaa, 0xa6, 0x87, 0xa5, 0xe0, 0x8c, 0x9b, 0x04, - 0x0e, 0x2e, 0xd4, 0xc0, 0x2e, 0x39, 0x99, 0x9d, 0x62, 0x81, 0x63, 0x22, 0xd2, 0x6a, 0xfd, 0x06, - 0xf7, 0xe2, 0x54, 0x78, 0x39, 0xd3, 0xd2, 0xcb, 0x4c, 0x01, 0x1f, 0xe6, 0xb3, 0xc8, 0x9b, 0x52, - 0x9e, 0xf6, 0xe3, 0xb2, 0x6b, 0xef, 0x06, 0x76, 0x0b, 0xf8, 0x92, 0xba, 0x9d, 0x66, 0xa6, 0x41, - 0x67, 0xd5, 0x7f, 0x9f, 0xd7, 0xe2, 0x68, 0x78, 0xff, 0xd4, 0x64, 0x6b, 0x70, 0x88, 0x39, 0x3a, - 0x86, 0xf6, 0xc2, 0xf2, 0xce, 0xe4, 0xe1, 0xe6, 0x2c, 0xa6, 0xbc, 0x1c, 0x57, 0xfc, 0x15, 0x18, - 0x3d, 0x82, 0xfa, 0x24, 0x64, 0x13, 0x13, 0xc6, 0x47, 0x25, 0xd3, 0x33, 0xae, 0xf8, 0x0a, 0x82, - 0x86, 0xd0, 0x98, 0xa8, 0xd9, 0x31, 0xfd, 0xde, 0xcf, 0x83, 0x95, 0x70, 0x5c, 0xf1, 0x0d, 0x4c, - 0x2a, 0xc4, 0x6a, 0x06, 0x14, 0x37, 0x8b, 0x0a, 0x7a, 0x40, 0xa4, 0x82, 0x86, 0xa1, 0x23, 0x68, - 0x47, 0x2c, 0x22, 0xba, 0x1d, 0x5b, 0xa5, 0x11, 0x49, 0x56, 0x49, 0xca, 0x49, 0x9c, 0x2c, 0xb9, - 0x9c, 0x25, 0xc2, 0x39, 0xe3, 0x86, 0xa8, 0x7b, 0x39, 0xfc, 0x0b, 0x29, 0x1b, 0x57, 0x7c, 0x0d, - 0x42, 0x4f, 0xa1, 0x19, 0x90, 0x88, 0x70, 0x3a, 0x75, 0x9b, 0x86, 0x2f, 0x79, 0x62, 0xeb, 0xd2, - 0xcb, 0x45, 0x62, 0x90, 0xe8, 0x1c, 0x50, 0x71, 0x66, 0xdc, 0x96, 0xd2, 0xef, 0xbd, 0xaf, 0x71, - 0xe3, 0x8a, 0xbf, 0x5b, 0x18, 0x16, 0x19, 0xf5, 0x52, 0x52, 0xc1, 0x6d, 0x97, 0x46, 0xad, 0x68, - 0x22, 0xa3, 0x56, 0xa0, 0xd5, 0x5a, 0xf9, 0xdb, 0x81, 0xa6, 0x19, 0x78, 0x5d, 0x5d, 0xd9, 0x7d, - 0xd3, 0xf0, 0x62, 0x75, 0xa5, 0x50, 0x57, 0x57, 0x0d, 0xc9, 0x08, 0x60, 0xca, 0xc2, 0x90, 0x4c, - 0xd5, 0x5e, 0xab, 0x96, 0x86, 0x6f, 0x8c, 0x3f, 0x4f, 0x71, 0x72, 0x29, 0xaf, 0xb4, 0xd0, 0x21, - 0xd4, 0xe6, 0x78, 0xb1, 0x81, 0xf0, 0x46, 0xf9, 0x15, 0x96, 0xdb, 0x54, 0xe2, 0x10, 0x82, 0xfa, - 0x35, 0x8e, 0xaf, 0x55, 0xff, 0xdb, 0xbe, 0x3a, 0xaf, 0x92, 0x39, 0x83, 0xdd, 0x82, 0x3b, 0x74, - 0x04, 0x2d, 0xfb, 0x77, 0x73, 0x9d, 0x5e, 0xed, 0x8e, 0xed, 0x90, 0xe2, 0xbc, 0x3f, 0x1c, 0x80, - 0x95, 0x6f, 0xf4, 0xbc, 0x60, 0xe2, 0xcb, 0x8d, 0x81, 0xda, 0x63, 0xfc, 0x22, 0x12, 0x3c, 0x59, - 0xd9, 0xec, 0x5e, 0xc0, 0xce, 0x9a, 0x48, 0xb2, 0xf8, 0x86, 0x24, 0x96, 0xc5, 0x37, 0x24, 0x59, - 0x6d, 0xb1, 0xea, 0x07, 0x6c, 0xb1, 0x93, 0xea, 0xb1, 0xe3, 0xbd, 0x86, 0xfd, 0x11, 0x8d, 0x66, - 0x34, 0x0a, 0xe4, 0x1c, 0x64, 0xb2, 0x7e, 0x06, 0xad, 0x89, 0x16, 0xd8, 0x90, 0xbb, 0x45, 0x72, - 0x59, 0x3d, 0x3f, 0xc5, 0x7a, 0x7f, 0x39, 0xf0, 0xbf, 0x8c, 0x44, 0x66, 0x7f, 0x56, 0x30, 0xf5, - 0x78, 0xb3, 0x29, 0x59, 0x01, 0xf3, 0x69, 0x2b, 0x60, 0x95, 0xbb, 0xbf, 0xc0, 0xce, 0x9a, 0xa8, - 0xa4, 0x02, 0x4f, 0xd6, 0x2b, 0x70, 0x57, 0xcc, 0x99, 0x2a, 0x9c, 0x41, 0x5b, 0xcd, 0xf7, 0xcb, - 0xe8, 0x8a, 0xa1, 0x13, 0x00, 0x81, 0x79, 0xa0, 0xf7, 0xa7, 0x99, 0xe4, 0xbb, 0x56, 0x7c, 0x06, - 0xed, 0xfd, 0x59, 0x85, 0x4e, 0xc6, 0xc7, 0x7f, 0x67, 0xc4, 0x0f, 0x25, 0x8c, 0x78, 0xb8, 0x39, - 0x89, 0x8d, 0xac, 0x38, 0x81, 0xe6, 0x82, 0xb3, 0x39, 0x8d, 0xed, 0xaf, 0xf0, 0x41, 0xce, 0xc8, - 0xeb, 0xa5, 0x58, 0x2c, 0x85, 0x4f, 0xae, 0x08, 0x27, 0xd1, 0x54, 0xae, 0x60, 0xab, 0x80, 0xbe, - 0xd6, 0x8c, 0xd2, 0x1b, 0xf2, 0xd3, 0x3b, 0x5b, 0x65, 0x59, 0x35, 0xb0, 0xcb, 0x63, 0xab, 0x74, - 0xd3, 0xa7, 0xc5, 0x2d, 0xac, 0x8f, 0x73, 0x68, 0x1a, 0x8b, 0xb2, 0x99, 0xb7, 0xa6, 0x50, 0x6d, - 0x5f, 0x1e, 0xd1, 0x37, 0xd0, 0x34, 0xbd, 0xff, 0x80, 0x76, 0x5a, 0xa8, 0xf7, 0x0c, 0xb6, 0x7f, - 0x24, 0x89, 0x7a, 0x8c, 0xbd, 0xc1, 0x94, 0x97, 0x0c, 0xc9, 0x5e, 0x76, 0x48, 0xda, 0x66, 0x10, - 0xbc, 0x47, 0xb0, 0xe3, 0x13, 0xc1, 0x93, 0x0b, 0xc1, 0xb1, 0x20, 0x41, 0x82, 0x5c, 0x68, 0x72, - 0x22, 0x38, 0x25, 0xb1, 0x4a, 0x6b, 0xc7, 0xb7, 0x9f, 0xa3, 0xef, 0x7f, 0x3d, 0x09, 0xa8, 0xb8, - 0x5e, 0x4e, 0x06, 0x53, 0x36, 0x1f, 0xaa, 0x98, 0x18, 0x0f, 0xf4, 0x61, 0x98, 0x3e, 0x46, 0x03, - 0x12, 0x0d, 0x17, 0x93, 0xc3, 0x80, 0x0d, 0xd7, 0xde, 0xa7, 0x93, 0x86, 0x5a, 0xec, 0x4f, 0xff, - 0x0d, 0x00, 0x00, 0xff, 0xff, 0x14, 0xe5, 0x95, 0x9d, 0x43, 0x0b, 0x00, 0x00, + // 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, } diff --git a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go index ce6446e643..5f720bc247 100644 --- a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go @@ -924,6 +924,8 @@ func (m *Literal) Validate() error { // no validation rules for Hash + // no validation rules for Metadata + switch m.Value.(type) { case *Literal_Scalar: diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go new file mode 100644 index 0000000000..b692594368 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go @@ -0,0 +1,402 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// 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" +) + +// 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 + +// 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 { + RawEvent *WorkflowExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` + OutputData *core.LiteralMap `protobuf:"bytes,2,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` + OutputInterface *core.TypedInterface `protobuf:"bytes,3,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` + InputData *core.LiteralMap `protobuf:"bytes,4,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` + // The following are ExecutionMetadata fields + // We can't have the ExecutionMetadata object directly because of import cycle + ArtifactIds []*core.ArtifactID `protobuf:"bytes,5,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + ReferenceExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,6,opt,name=reference_execution,json=referenceExecution,proto3" json:"reference_execution,omitempty"` + Principal string `protobuf:"bytes,7,opt,name=principal,proto3" json:"principal,omitempty"` + // 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,8,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:"-"` +} + +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 (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 (m *CloudEventWorkflowExecution) XXX_Size() int { + return xxx_messageInfo_CloudEventWorkflowExecution.Size(m) +} +func (m *CloudEventWorkflowExecution) XXX_DiscardUnknown() { + xxx_messageInfo_CloudEventWorkflowExecution.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudEventWorkflowExecution proto.InternalMessageInfo + +func (m *CloudEventWorkflowExecution) GetRawEvent() *WorkflowExecutionEvent { + if m != nil { + return m.RawEvent + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetOutputData() *core.LiteralMap { + if m != nil { + return m.OutputData + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetOutputInterface() *core.TypedInterface { + if m != nil { + return m.OutputInterface + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetInputData() *core.LiteralMap { + if m != nil { + return m.InputData + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetArtifactIds() []*core.ArtifactID { + if m != nil { + return m.ArtifactIds + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetReferenceExecution() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.ReferenceExecution + } + return nil +} + +func (m *CloudEventWorkflowExecution) GetPrincipal() string { + if m != nil { + return m.Principal + } + return "" +} + +func (m *CloudEventWorkflowExecution) GetLaunchPlanId() *core.Identifier { + if m != nil { + return m.LaunchPlanId + } + return nil +} + +type CloudEventNodeExecution struct { + 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"` + // Hydrated output + OutputData *core.LiteralMap `protobuf:"bytes,3,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` + // The typed interface for the task that produced the event. + OutputInterface *core.TypedInterface `protobuf:"bytes,4,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` + InputData *core.LiteralMap `protobuf:"bytes,5,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` + // The following are ExecutionMetadata fields + // We can't have the ExecutionMetadata object directly because of import cycle + ArtifactIds []*core.ArtifactID `protobuf:"bytes,6,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + Principal string `protobuf:"bytes,7,opt,name=principal,proto3" json:"principal,omitempty"` + // 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,8,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:"-"` +} + +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 (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 (m *CloudEventNodeExecution) XXX_DiscardUnknown() { + xxx_messageInfo_CloudEventNodeExecution.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudEventNodeExecution proto.InternalMessageInfo + +func (m *CloudEventNodeExecution) GetRawEvent() *NodeExecutionEvent { + if m != nil { + return m.RawEvent + } + return nil +} + +func (m *CloudEventNodeExecution) GetTaskExecId() *core.TaskExecutionIdentifier { + if m != nil { + return m.TaskExecId + } + return nil +} + +func (m *CloudEventNodeExecution) GetOutputData() *core.LiteralMap { + if m != nil { + return m.OutputData + } + return nil +} + +func (m *CloudEventNodeExecution) GetOutputInterface() *core.TypedInterface { + if m != nil { + return m.OutputInterface + } + return nil +} + +func (m *CloudEventNodeExecution) GetInputData() *core.LiteralMap { + if m != nil { + return m.InputData + } + return nil +} + +func (m *CloudEventNodeExecution) GetArtifactIds() []*core.ArtifactID { + if m != nil { + return m.ArtifactIds + } + return nil +} + +func (m *CloudEventNodeExecution) GetPrincipal() string { + if m != nil { + return m.Principal + } + return "" +} + +func (m *CloudEventNodeExecution) GetLaunchPlanId() *core.Identifier { + if m != nil { + return m.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:"-"` +} + +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} +} + +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 (m *CloudEventTaskExecution) XXX_Size() int { + return xxx_messageInfo_CloudEventTaskExecution.Size(m) +} +func (m *CloudEventTaskExecution) XXX_DiscardUnknown() { + xxx_messageInfo_CloudEventTaskExecution.DiscardUnknown(m) +} + +var xxx_messageInfo_CloudEventTaskExecution proto.InternalMessageInfo + +func (m *CloudEventTaskExecution) GetRawEvent() *TaskExecutionEvent { + if m != nil { + return m.RawEvent + } + return nil +} + +// This event is to be sent by Admin after it creates an execution. +type CloudEventExecutionStart struct { + // The execution created. + ExecutionId *core.WorkflowExecutionIdentifier `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"` + // The launch plan used. + LaunchPlanId *core.Identifier `protobuf:"bytes,2,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` + WorkflowId *core.Identifier `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + // Artifact IDs found + ArtifactIds []*core.ArtifactID `protobuf:"bytes,4,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + // Artifact keys found. + ArtifactKeys []string `protobuf:"bytes,5,rep,name=artifact_keys,json=artifactKeys,proto3" json:"artifact_keys,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:"-"` +} + +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 (m *CloudEventExecutionStart) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloudEventExecutionStart.Unmarshal(m, b) +} +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) +} + +var xxx_messageInfo_CloudEventExecutionStart proto.InternalMessageInfo + +func (m *CloudEventExecutionStart) GetExecutionId() *core.WorkflowExecutionIdentifier { + if m != nil { + return m.ExecutionId + } + return nil +} + +func (m *CloudEventExecutionStart) GetLaunchPlanId() *core.Identifier { + if m != nil { + return m.LaunchPlanId + } + return nil +} + +func (m *CloudEventExecutionStart) GetWorkflowId() *core.Identifier { + if m != nil { + return m.WorkflowId + } + return nil +} + +func (m *CloudEventExecutionStart) GetArtifactIds() []*core.ArtifactID { + if m != nil { + return m.ArtifactIds + } + return nil +} + +func (m *CloudEventExecutionStart) GetArtifactKeys() []string { + if m != nil { + return m.ArtifactKeys + } + return nil +} + +func (m *CloudEventExecutionStart) GetPrincipal() string { + if m != nil { + return m.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{ + // 595 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x5d, 0x6f, 0xd3, 0x30, + 0x14, 0x55, 0x3f, 0x56, 0x56, 0xb7, 0x0c, 0x14, 0x1e, 0x08, 0x65, 0x83, 0xaa, 0x48, 0x68, 0x42, + 0x22, 0x91, 0xe0, 0x05, 0xf1, 0xa1, 0x09, 0xb6, 0x49, 0x8b, 0x60, 0x08, 0x05, 0x24, 0xa4, 0xf1, + 0x10, 0xb9, 0xf1, 0x4d, 0x66, 0x35, 0x8d, 0x23, 0xc7, 0xa1, 0xf4, 0x91, 0xff, 0xc1, 0xff, 0xe3, + 0x6f, 0xa0, 0x38, 0x89, 0xd3, 0xb8, 0x95, 0x46, 0x35, 0x78, 0x99, 0x3c, 0xdf, 0x73, 0x8e, 0xaf, + 0xcf, 0x3d, 0xa9, 0xd1, 0x38, 0x88, 0x96, 0x02, 0x28, 0x89, 0x6c, 0xf8, 0x0e, 0xb1, 0xb0, 0xfd, + 0x88, 0x65, 0x44, 0x2e, 0x53, 0x2b, 0xe1, 0x4c, 0x30, 0x63, 0xaf, 0x42, 0x58, 0x72, 0x7b, 0x34, + 0xd2, 0x18, 0xf2, 0x6f, 0x81, 0x1d, 0xed, 0xab, 0x9a, 0xcf, 0x38, 0xd8, 0x11, 0x15, 0xc0, 0x71, + 0x54, 0x2a, 0x8d, 0x0e, 0x9a, 0x55, 0x1a, 0x0b, 0xe0, 0x01, 0xf6, 0xa1, 0x2c, 0x3f, 0x6c, 0x96, + 0x31, 0x17, 0x34, 0xc0, 0xbe, 0xf0, 0x28, 0x29, 0x01, 0x0f, 0x34, 0x3e, 0x81, 0x58, 0xd0, 0x80, + 0x02, 0xaf, 0x04, 0x42, 0xc6, 0xc2, 0x08, 0x6c, 0xf9, 0xdf, 0x34, 0x0b, 0x6c, 0x41, 0xe7, 0x90, + 0x0a, 0x3c, 0x4f, 0x0a, 0xc0, 0xe4, 0x57, 0x17, 0xdd, 0x3f, 0xce, 0x2f, 0x78, 0x9a, 0xf7, 0xfc, + 0x95, 0xf1, 0x59, 0x10, 0xb1, 0xc5, 0xe9, 0x0f, 0xf0, 0x33, 0x41, 0x59, 0x6c, 0x1c, 0xa3, 0x3e, + 0xc7, 0x0b, 0x4f, 0xde, 0xc8, 0x6c, 0x8d, 0x5b, 0x87, 0x83, 0x67, 0x8f, 0xad, 0xe6, 0xf5, 0xad, + 0x35, 0x96, 0xd4, 0x72, 0x77, 0x39, 0x5e, 0xc8, 0x95, 0xf1, 0x12, 0x0d, 0x58, 0x26, 0x92, 0x4c, + 0x78, 0x04, 0x0b, 0x6c, 0xb6, 0xa5, 0xcc, 0xbd, 0x5a, 0x26, 0xef, 0xdd, 0xfa, 0x50, 0x38, 0x73, + 0x8e, 0x13, 0x17, 0x15, 0xe8, 0x13, 0x2c, 0xb0, 0x71, 0x86, 0x6e, 0x97, 0x5c, 0x65, 0x8e, 0xd9, + 0x91, 0x02, 0x07, 0x9a, 0xc0, 0x97, 0x65, 0x02, 0xc4, 0xa9, 0x40, 0xee, 0xad, 0x82, 0xa6, 0x36, + 0x8c, 0x17, 0x08, 0xd1, 0x58, 0x35, 0xd1, 0xbd, 0xaa, 0x89, 0xbe, 0x04, 0xcb, 0x1e, 0x5e, 0xa3, + 0xe1, 0x8a, 0xf5, 0xa9, 0xb9, 0x33, 0xee, 0x6c, 0xe0, 0xbe, 0x2d, 0x21, 0xce, 0x89, 0x3b, 0xa8, + 0xe0, 0x0e, 0x49, 0x8d, 0x6f, 0xe8, 0x0e, 0x87, 0x00, 0x38, 0xc4, 0x3e, 0x78, 0x50, 0x79, 0x64, + 0xf6, 0x64, 0x03, 0x4f, 0x34, 0x91, 0x35, 0x2f, 0x1d, 0x35, 0x52, 0xd7, 0x50, 0x32, 0xf5, 0x7c, + 0xf6, 0x51, 0x3f, 0xe1, 0x34, 0xf6, 0x69, 0x82, 0x23, 0xf3, 0xc6, 0xb8, 0x75, 0xd8, 0x77, 0xeb, + 0x0d, 0xe3, 0x08, 0xed, 0x45, 0x38, 0x8b, 0xfd, 0x4b, 0x2f, 0x89, 0x70, 0xec, 0x51, 0x62, 0xee, + 0x6e, 0xbc, 0xf6, 0xca, 0x21, 0xc3, 0x82, 0xf0, 0x29, 0xc2, 0xb1, 0x43, 0x26, 0x3f, 0xbb, 0xe8, + 0x6e, 0x1d, 0x8f, 0x8f, 0x8c, 0xac, 0x1c, 0x7d, 0xb4, 0x1e, 0x8d, 0x89, 0x1e, 0x8d, 0x06, 0x43, + 0x8f, 0xc5, 0x19, 0x1a, 0x0a, 0x9c, 0xce, 0xa4, 0x27, 0x79, 0x6f, 0x6d, 0x3d, 0x5e, 0xc5, 0x58, + 0x71, 0x3a, 0xdb, 0xe4, 0x06, 0x12, 0x65, 0xc1, 0x21, 0x7a, 0xc0, 0x3a, 0xd7, 0x0d, 0x58, 0xf7, + 0x1f, 0x04, 0x6c, 0xe7, 0x1a, 0x01, 0xeb, 0x6d, 0x15, 0xb0, 0xff, 0x9c, 0x81, 0x8b, 0xd5, 0x08, + 0x34, 0xa6, 0xf1, 0x57, 0x11, 0x68, 0x30, 0xb4, 0x08, 0x4c, 0x7e, 0xb7, 0x91, 0x59, 0x8b, 0x2b, + 0xd8, 0x67, 0x81, 0xb9, 0x30, 0xce, 0xd1, 0x50, 0x7d, 0x2e, 0x79, 0xdf, 0xad, 0xad, 0xbf, 0x98, + 0x01, 0xd4, 0x9b, 0x1b, 0x8c, 0x68, 0x6f, 0x65, 0x44, 0x9e, 0xb2, 0x45, 0x79, 0x58, 0xce, 0xee, + 0x5c, 0xc5, 0x46, 0x15, 0xda, 0x21, 0x6b, 0x13, 0xee, 0x6e, 0x35, 0xe1, 0x47, 0xe8, 0xa6, 0x62, + 0xcf, 0x60, 0x59, 0xfc, 0x02, 0xf5, 0x5d, 0x25, 0xf9, 0x1e, 0x96, 0x5a, 0x0c, 0x7a, 0x5a, 0x0c, + 0xde, 0xbd, 0xb9, 0x78, 0x15, 0x52, 0x71, 0x99, 0x4d, 0x2d, 0x9f, 0xcd, 0x6d, 0x79, 0x2c, 0xe3, + 0x61, 0xb1, 0xb0, 0xd5, 0x2b, 0x12, 0x42, 0x6c, 0x27, 0xd3, 0xa7, 0x21, 0xb3, 0x9b, 0x4f, 0xda, + 0xb4, 0x27, 0x9f, 0x8b, 0xe7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x96, 0x62, 0x9e, 0x02, 0x1d, + 0x07, 0x00, 0x00, +} diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go new file mode 100644 index 0000000000..79aa9866dd --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go @@ -0,0 +1,517 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/event/cloudevents.proto + +package event + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _cloudevents_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on CloudEventWorkflowExecution with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CloudEventWorkflowExecution) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetRawEvent()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "RawEvent", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "OutputData", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetOutputInterface()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "OutputInterface", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetInputData()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "InputData", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for idx, item := range m.GetArtifactIds() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: fmt.Sprintf("ArtifactIds[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + if v, ok := interface{}(m.GetReferenceExecution()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "ReferenceExecution", + reason: "embedded message failed validation", + cause: err, + } + } + } + + // no validation rules for Principal + + if v, ok := interface{}(m.GetLaunchPlanId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventWorkflowExecutionValidationError{ + field: "LaunchPlanId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CloudEventWorkflowExecutionValidationError is the validation error returned +// by CloudEventWorkflowExecution.Validate if the designated constraints +// aren't met. +type CloudEventWorkflowExecutionValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CloudEventWorkflowExecutionValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CloudEventWorkflowExecutionValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CloudEventWorkflowExecutionValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CloudEventWorkflowExecutionValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CloudEventWorkflowExecutionValidationError) ErrorName() string { + return "CloudEventWorkflowExecutionValidationError" +} + +// Error satisfies the builtin error interface +func (e CloudEventWorkflowExecutionValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCloudEventWorkflowExecution.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CloudEventWorkflowExecutionValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CloudEventWorkflowExecutionValidationError{} + +// Validate checks the field values on CloudEventNodeExecution with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CloudEventNodeExecution) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetRawEvent()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventNodeExecutionValidationError{ + field: "RawEvent", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetTaskExecId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventNodeExecutionValidationError{ + field: "TaskExecId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventNodeExecutionValidationError{ + field: "OutputData", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetOutputInterface()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventNodeExecutionValidationError{ + field: "OutputInterface", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetInputData()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventNodeExecutionValidationError{ + field: "InputData", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for idx, item := range m.GetArtifactIds() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventNodeExecutionValidationError{ + field: fmt.Sprintf("ArtifactIds[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + // no validation rules for Principal + + if v, ok := interface{}(m.GetLaunchPlanId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventNodeExecutionValidationError{ + field: "LaunchPlanId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CloudEventNodeExecutionValidationError is the validation error returned by +// CloudEventNodeExecution.Validate if the designated constraints aren't met. +type CloudEventNodeExecutionValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CloudEventNodeExecutionValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CloudEventNodeExecutionValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CloudEventNodeExecutionValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CloudEventNodeExecutionValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CloudEventNodeExecutionValidationError) ErrorName() string { + return "CloudEventNodeExecutionValidationError" +} + +// Error satisfies the builtin error interface +func (e CloudEventNodeExecutionValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCloudEventNodeExecution.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CloudEventNodeExecutionValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CloudEventNodeExecutionValidationError{} + +// Validate checks the field values on CloudEventTaskExecution with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CloudEventTaskExecution) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetRawEvent()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventTaskExecutionValidationError{ + field: "RawEvent", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// CloudEventTaskExecutionValidationError is the validation error returned by +// CloudEventTaskExecution.Validate if the designated constraints aren't met. +type CloudEventTaskExecutionValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CloudEventTaskExecutionValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CloudEventTaskExecutionValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CloudEventTaskExecutionValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CloudEventTaskExecutionValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CloudEventTaskExecutionValidationError) ErrorName() string { + return "CloudEventTaskExecutionValidationError" +} + +// Error satisfies the builtin error interface +func (e CloudEventTaskExecutionValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCloudEventTaskExecution.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CloudEventTaskExecutionValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CloudEventTaskExecutionValidationError{} + +// Validate checks the field values on CloudEventExecutionStart with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *CloudEventExecutionStart) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetExecutionId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventExecutionStartValidationError{ + field: "ExecutionId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetLaunchPlanId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventExecutionStartValidationError{ + field: "LaunchPlanId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetWorkflowId()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventExecutionStartValidationError{ + field: "WorkflowId", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for idx, item := range m.GetArtifactIds() { + _, _ = idx, item + + if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return CloudEventExecutionStartValidationError{ + field: fmt.Sprintf("ArtifactIds[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + // no validation rules for Principal + + return nil +} + +// CloudEventExecutionStartValidationError is the validation error returned by +// CloudEventExecutionStart.Validate if the designated constraints aren't met. +type CloudEventExecutionStartValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e CloudEventExecutionStartValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e CloudEventExecutionStartValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e CloudEventExecutionStartValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e CloudEventExecutionStartValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e CloudEventExecutionStartValidationError) ErrorName() string { + return "CloudEventExecutionStartValidationError" +} + +// Error satisfies the builtin error interface +func (e CloudEventExecutionStartValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sCloudEventExecutionStart.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = CloudEventExecutionStartValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = CloudEventExecutionStartValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.swagger.json b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.swagger.json new file mode 100644 index 0000000000..c18a52a3ca --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.swagger.json @@ -0,0 +1,19 @@ +{ + "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/service/admin.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json index 528231a896..b2d41e5616 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json @@ -3899,6 +3899,13 @@ "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." @@ -4246,6 +4253,10 @@ "$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." @@ -5616,6 +5627,82 @@ }, "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", + "title": "These two fields are only relevant in the partition value case" + }, + "transform": { + "type": "string" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions" + } + } + }, + "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": { @@ -6176,6 +6263,14 @@ }, "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": { @@ -6228,6 +6323,20 @@ }, "description": "A generic key value pair." }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, "coreLiteral": { "type": "object", "properties": { @@ -6246,6 +6355,13 @@ "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." @@ -6531,6 +6647,13 @@ "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." @@ -6548,6 +6671,17 @@ }, "description": "A map of Parameters." }, + "corePartitions": { + "type": "object", + "properties": { + "value": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/coreLabelValue" + } + } + } + }, "corePrimitive": { "type": "object", "properties": { @@ -7194,6 +7328,13 @@ "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." @@ -7831,6 +7972,21 @@ }, "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": { diff --git a/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json index 623a3ecd94..b7eacff5f7 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json @@ -311,6 +311,63 @@ } } }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string", + "title": "These two fields are only relevant in the partition value case" + }, + "transform": { + "type": "string" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions" + } + } + }, + "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": { @@ -566,6 +623,14 @@ }, "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": { @@ -618,6 +683,20 @@ }, "description": "A generic key value pair." }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, "coreLiteral": { "type": "object", "properties": { @@ -636,6 +715,13 @@ "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." @@ -774,6 +860,17 @@ "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": { @@ -1268,6 +1365,13 @@ "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." diff --git a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json index 2379ed4a67..0fd08544b3 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/dataproxy.swagger.json @@ -264,6 +264,13 @@ "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." diff --git a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json index 31a12a9396..adf61a5c1f 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/external_plugin_service.swagger.json @@ -163,6 +163,63 @@ } } }, + "coreArtifactBindingData": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64" + }, + "partition_key": { + "type": "string", + "title": "These two fields are only relevant in the partition value case" + }, + "transform": { + "type": "string" + } + }, + "title": "Only valid for triggers" + }, + "coreArtifactID": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "version": { + "type": "string" + }, + "partitions": { + "$ref": "#/definitions/corePartitions" + } + } + }, + "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": { @@ -418,6 +475,14 @@ }, "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": { @@ -470,6 +535,20 @@ }, "description": "A generic key value pair." }, + "coreLabelValue": { + "type": "object", + "properties": { + "static_value": { + "type": "string" + }, + "triggered_binding": { + "$ref": "#/definitions/coreArtifactBindingData" + }, + "input_binding": { + "$ref": "#/definitions/coreInputBindingData" + } + } + }, "coreLiteral": { "type": "object", "properties": { @@ -488,6 +567,13 @@ "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." @@ -614,6 +700,17 @@ "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": { @@ -1074,6 +1171,13 @@ "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." diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md index 863164c8d5..5a4f66f46a 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md @@ -215,6 +215,11 @@ Class | Method | HTTP request | Description - [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) @@ -247,10 +252,12 @@ Class | Method | HTTP request | Description - [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) @@ -266,6 +273,7 @@ Class | Method | HTTP request | Description - [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) @@ -335,6 +343,7 @@ Class | Method | HTTP request | Description - [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) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml index 22adcb49d9..392faa0aab 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml @@ -3522,6 +3522,37 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 system_metadata: @@ -3907,6 +3938,37 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 system_metadata: @@ -4108,6 +4170,37 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 system_metadata: @@ -4262,6 +4355,13 @@ definitions: 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." @@ -4278,6 +4378,37 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 system_metadata: @@ -4423,6 +4554,37 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + - partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 system_metadata: @@ -4691,6 +4853,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -4743,6 +4921,19 @@ definitions: 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" + index: 1 updated_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" state: {} @@ -4771,7 +4962,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -4853,6 +5044,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -4862,6 +5055,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -4914,6 +5123,70 @@ definitions: 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" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true spec: workflow_id: @@ -4938,6 +5211,9 @@ definitions: rate: unit: {} value: 0 + launch_conditions: + value: "value" + type_url: "type_url" notifications: - pager_duty: recipients_email: @@ -5015,7 +5291,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -5097,6 +5373,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -5106,6 +5384,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5158,6 +5452,70 @@ definitions: 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" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true security_context: run_as: @@ -5237,6 +5595,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5289,6 +5663,19 @@ definitions: 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" + index: 1 updated_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" state: {} @@ -5317,7 +5704,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -5399,6 +5786,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -5408,6 +5797,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5460,6 +5865,70 @@ definitions: 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" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true adminLaunchPlanCreateRequest: type: "object" @@ -5505,6 +5974,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5557,6 +6042,19 @@ definitions: 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" + index: 1 updated_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" state: {} @@ -5585,7 +6083,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -5667,6 +6165,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -5676,6 +6176,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5728,6 +6244,70 @@ definitions: 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" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true spec: workflow_id: @@ -5752,6 +6332,9 @@ definitions: rate: unit: {} value: 0 + launch_conditions: + value: "value" + type_url: "type_url" notifications: - pager_duty: recipients_email: @@ -5829,7 +6412,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -5911,6 +6494,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -5920,6 +6505,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -5972,6 +6573,70 @@ definitions: 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" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true security_context: run_as: @@ -6031,6 +6696,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -6083,6 +6764,19 @@ definitions: 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" + index: 1 updated_at: "2000-01-23T04:56:07.000+00:00" created_at: "2000-01-23T04:56:07.000+00:00" state: {} @@ -6111,7 +6805,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -6193,6 +6887,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -6202,6 +6898,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -6254,6 +6966,70 @@ definitions: 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" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true spec: workflow_id: @@ -6278,6 +7054,9 @@ definitions: rate: unit: {} value: 0 + launch_conditions: + value: "value" + type_url: "type_url" notifications: - pager_duty: recipients_email: @@ -6355,7 +7134,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -6437,6 +7216,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -6446,6 +7227,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -6498,6 +7295,70 @@ definitions: 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" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true security_context: run_as: @@ -6558,6 +7419,9 @@ definitions: 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: @@ -6570,6 +7434,9 @@ definitions: rate: unit: {} value: 0 + launch_conditions: + value: "value" + type_url: "type_url" notifications: - pager_duty: recipients_email: @@ -6693,6 +7560,9 @@ definitions: rate: unit: {} value: 0 + launch_conditions: + value: "value" + type_url: "type_url" notifications: - pager_duty: recipients_email: @@ -6770,7 +7640,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -6852,6 +7722,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -6861,6 +7733,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -6913,6 +7801,70 @@ definitions: 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" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true security_context: run_as: @@ -7821,7 +8773,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -7993,7 +8945,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8180,7 +9132,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8267,7 +9219,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -8292,7 +9244,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8379,7 +9331,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -8409,7 +9361,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8496,7 +9448,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -8521,7 +9473,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8608,7 +9560,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -8642,7 +9594,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8729,7 +9681,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -8754,7 +9706,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -8841,7 +9793,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -8942,7 +9894,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9114,7 +10066,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9336,7 +10288,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9423,7 +10375,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -9448,7 +10400,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9535,7 +10487,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -9565,7 +10517,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9652,7 +10604,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -9677,7 +10629,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9764,7 +10716,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -9798,7 +10750,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9885,7 +10837,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -9910,7 +10862,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -9997,7 +10949,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -10098,7 +11050,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10270,7 +11222,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10491,7 +11443,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10578,7 +11530,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -10603,7 +11555,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10690,7 +11642,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -10720,7 +11672,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10807,7 +11759,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -10832,7 +11784,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -10919,7 +11871,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -10953,7 +11905,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -11040,7 +11992,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -11065,7 +12017,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -11152,7 +12104,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -11253,7 +12205,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -11425,7 +12377,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -11630,6 +12582,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -11682,10 +12650,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -11738,6 +12735,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -11774,7 +12784,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -11946,7 +12956,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12133,7 +13143,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12220,7 +13230,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -12245,7 +13255,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12332,7 +13342,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -12362,7 +13372,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12449,7 +13459,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -12474,7 +13484,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12561,7 +13571,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -12595,7 +13605,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12682,7 +13692,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -12707,7 +13717,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -12794,7 +13804,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -12895,7 +13905,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13067,7 +14077,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13289,7 +14299,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13376,7 +14386,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -13401,7 +14411,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13488,7 +14498,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -13518,7 +14528,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13605,7 +14615,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -13630,7 +14640,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13717,7 +14727,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -13751,7 +14761,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13838,7 +14848,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -13863,7 +14873,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -13950,7 +14960,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -14051,7 +15061,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14223,7 +15233,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14444,7 +15454,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14531,7 +15541,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -14556,7 +15566,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14643,7 +15653,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -14673,7 +15683,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14760,7 +15770,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -14785,7 +15795,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14872,7 +15882,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -14906,7 +15916,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -14993,7 +16003,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -15018,7 +16028,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -15105,7 +16115,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -15206,7 +16216,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -15378,7 +16388,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -15583,6 +16593,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -15635,10 +16661,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -15691,6 +16746,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -15819,6 +16887,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -15871,10 +16955,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -15927,6 +17040,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -16092,6 +17218,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -16144,10 +17286,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -16200,6 +17371,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -16275,7 +17459,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16447,7 +17631,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16634,7 +17818,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16721,7 +17905,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -16746,7 +17930,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16833,7 +18017,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -16863,7 +18047,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -16950,7 +18134,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -16975,7 +18159,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17062,7 +18246,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -17096,7 +18280,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17183,7 +18367,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -17208,7 +18392,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17295,7 +18479,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -17396,7 +18580,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17568,7 +18752,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17790,7 +18974,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17877,7 +19061,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -17902,7 +19086,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -17989,7 +19173,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -18019,7 +19203,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18106,7 +19290,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -18131,7 +19315,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18218,7 +19402,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -18252,7 +19436,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18339,7 +19523,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -18364,7 +19548,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18451,7 +19635,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -18552,7 +19736,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18724,7 +19908,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -18945,7 +20129,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19032,7 +20216,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -19057,7 +20241,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19144,7 +20328,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -19174,7 +20358,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19261,7 +20445,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -19286,7 +20470,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19373,7 +20557,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -19407,7 +20591,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19494,7 +20678,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -19519,7 +20703,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19606,7 +20790,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -19707,7 +20891,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -19879,7 +21063,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -20084,6 +21268,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -20136,10 +21336,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -20192,6 +21421,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -21372,6 +22614,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -21424,10 +22682,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -21480,6 +22767,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -21661,6 +22961,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -21713,10 +23029,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -21769,6 +23114,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -22363,6 +23721,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -22415,10 +23789,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -22471,6 +23874,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -22646,6 +24062,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -22698,10 +24130,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -22754,6 +24215,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -22943,7 +24417,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23115,7 +24589,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23302,7 +24776,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23389,7 +24863,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -23414,7 +24888,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23501,7 +24975,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -23531,7 +25005,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23618,7 +25092,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -23643,7 +25117,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23730,7 +25204,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -23764,7 +25238,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23851,7 +25325,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -23876,7 +25350,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -23963,7 +25437,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -24064,7 +25538,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24236,7 +25710,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24458,7 +25932,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24545,7 +26019,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -24570,7 +26044,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24657,7 +26131,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -24687,7 +26161,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24774,7 +26248,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -24799,7 +26273,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -24886,7 +26360,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -24920,7 +26394,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25007,7 +26481,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -25032,7 +26506,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25119,7 +26593,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -25220,7 +26694,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25392,7 +26866,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25613,7 +27087,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25700,7 +27174,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -25725,7 +27199,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25812,7 +27286,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -25842,7 +27316,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -25929,7 +27403,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -25954,7 +27428,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -26041,7 +27515,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -26075,7 +27549,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -26162,7 +27636,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -26187,7 +27661,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -26274,7 +27748,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -26375,7 +27849,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -26547,7 +28021,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -26752,6 +28226,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -26804,10 +28294,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -26860,6 +28379,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -26896,7 +28428,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27068,7 +28600,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27255,7 +28787,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27342,7 +28874,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -27367,7 +28899,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27454,7 +28986,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -27484,7 +29016,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27571,7 +29103,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -27596,7 +29128,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27683,7 +29215,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -27717,7 +29249,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27804,7 +29336,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -27829,7 +29361,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -27916,7 +29448,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -28017,7 +29549,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28189,7 +29721,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28411,7 +29943,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28498,7 +30030,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -28523,7 +30055,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28610,7 +30142,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -28640,7 +30172,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28727,7 +30259,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -28752,7 +30284,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28839,7 +30371,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -28873,7 +30405,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -28960,7 +30492,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -28985,7 +30517,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29072,7 +30604,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -29173,7 +30705,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29345,7 +30877,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29566,7 +31098,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29653,7 +31185,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -29678,7 +31210,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29765,7 +31297,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -29795,7 +31327,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29882,7 +31414,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -29907,7 +31439,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -29994,7 +31526,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -30028,7 +31560,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -30115,7 +31647,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -30140,7 +31672,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -30227,7 +31759,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -30328,7 +31860,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -30500,7 +32032,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -30705,6 +32237,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -30757,10 +32305,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -30813,6 +32390,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -30941,6 +32531,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -30993,10 +32599,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -31049,6 +32684,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -31214,6 +32862,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -31266,10 +32930,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -31322,6 +33015,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -31397,7 +33103,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31569,7 +33275,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31756,7 +33462,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31843,7 +33549,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -31868,7 +33574,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -31955,7 +33661,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -31985,7 +33691,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32072,7 +33778,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -32097,7 +33803,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32184,7 +33890,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -32218,7 +33924,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32305,7 +34011,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -32330,7 +34036,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32417,7 +34123,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -32518,7 +34224,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32690,7 +34396,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32912,7 +34618,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -32999,7 +34705,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -33024,7 +34730,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33111,7 +34817,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -33141,7 +34847,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33228,7 +34934,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -33253,7 +34959,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33340,7 +35046,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -33374,7 +35080,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33461,7 +35167,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -33486,7 +35192,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33573,7 +35279,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -33674,7 +35380,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -33846,7 +35552,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34067,7 +35773,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34154,7 +35860,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -34179,7 +35885,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34266,7 +35972,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -34296,7 +36002,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34383,7 +36089,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -34408,7 +36114,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34495,7 +36201,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -34529,7 +36235,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34616,7 +36322,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -34641,7 +36347,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -34728,7 +36434,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -34829,7 +36535,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -35001,7 +36707,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -35206,6 +36912,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -35258,10 +36980,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -35314,6 +37065,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -35635,7 +37399,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -35807,7 +37571,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -35994,7 +37758,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36081,7 +37845,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -36106,7 +37870,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36193,7 +37957,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -36223,7 +37987,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36310,7 +38074,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -36335,7 +38099,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36422,7 +38186,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -36456,7 +38220,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36543,7 +38307,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -36568,7 +38332,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36655,7 +38419,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -36756,7 +38520,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -36928,7 +38692,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37150,7 +38914,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37237,7 +39001,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -37262,7 +39026,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37349,7 +39113,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -37379,7 +39143,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37466,7 +39230,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -37491,7 +39255,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37578,7 +39342,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -37612,7 +39376,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37699,7 +39463,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -37724,7 +39488,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -37811,7 +39575,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -37912,7 +39676,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38084,7 +39848,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38305,7 +40069,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38392,7 +40156,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -38417,7 +40181,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38504,7 +40268,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -38534,7 +40298,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38621,7 +40385,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -38646,7 +40410,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38733,7 +40497,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -38767,7 +40531,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38854,7 +40618,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -38879,7 +40643,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -38966,7 +40730,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -39067,7 +40831,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -39239,7 +41003,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -39444,6 +41208,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -39496,10 +41276,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -39552,6 +41361,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -39588,7 +41410,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -39760,7 +41582,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -39947,7 +41769,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40034,7 +41856,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -40059,7 +41881,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40146,7 +41968,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -40176,7 +41998,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40263,7 +42085,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -40288,7 +42110,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40375,7 +42197,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -40409,7 +42231,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40496,7 +42318,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -40521,7 +42343,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40608,7 +42430,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -40709,7 +42531,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -40881,7 +42703,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41103,7 +42925,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41190,7 +43012,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -41215,7 +43037,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41302,7 +43124,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -41332,7 +43154,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41419,7 +43241,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -41444,7 +43266,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41531,7 +43353,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -41565,7 +43387,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41652,7 +43474,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -41677,7 +43499,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -41764,7 +43586,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -41865,7 +43687,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42037,7 +43859,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42258,7 +44080,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42345,7 +44167,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -42370,7 +44192,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42457,7 +44279,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -42487,7 +44309,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42574,7 +44396,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -42599,7 +44421,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42686,7 +44508,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -42720,7 +44542,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42807,7 +44629,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -42832,7 +44654,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -42919,7 +44741,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -43020,7 +44842,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -43192,7 +45014,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -43397,6 +45219,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -43449,10 +45287,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -43505,6 +45372,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -43633,6 +45513,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -43685,10 +45581,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -43741,6 +45666,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -43906,6 +45844,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -43958,10 +45912,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -44014,6 +45997,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -44089,7 +46085,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44261,7 +46257,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44448,7 +46444,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44535,7 +46531,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -44560,7 +46556,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44647,7 +46643,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -44677,7 +46673,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44764,7 +46760,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -44789,7 +46785,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44876,7 +46872,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -44910,7 +46906,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -44997,7 +46993,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -45022,7 +47018,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45109,7 +47105,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -45210,7 +47206,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45382,7 +47378,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45604,7 +47600,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45691,7 +47687,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -45716,7 +47712,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45803,7 +47799,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -45833,7 +47829,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -45920,7 +47916,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -45945,7 +47941,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46032,7 +48028,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -46066,7 +48062,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46153,7 +48149,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -46178,7 +48174,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46265,7 +48261,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -46366,7 +48362,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46538,7 +48534,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46759,7 +48755,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46846,7 +48842,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -46871,7 +48867,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -46958,7 +48954,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -46988,7 +48984,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -47075,7 +49071,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -47100,7 +49096,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -47187,7 +49183,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -47221,7 +49217,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -47308,7 +49304,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -47333,7 +49329,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -47420,7 +49416,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -47521,7 +49517,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -47693,7 +49689,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -47898,6 +49894,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -47950,10 +49962,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -48006,6 +50047,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -48274,7 +50328,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48446,7 +50500,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48633,7 +50687,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48720,7 +50774,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -48745,7 +50799,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48832,7 +50886,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -48862,7 +50916,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -48949,7 +51003,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -48974,7 +51028,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49061,7 +51115,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -49095,7 +51149,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49182,7 +51236,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -49207,7 +51261,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49294,7 +51348,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -49395,7 +51449,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49567,7 +51621,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49789,7 +51843,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49876,7 +51930,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -49901,7 +51955,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -49988,7 +52042,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -50018,7 +52072,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50105,7 +52159,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -50130,7 +52184,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50217,7 +52271,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -50251,7 +52305,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50338,7 +52392,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -50363,7 +52417,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50450,7 +52504,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -50551,7 +52605,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50723,7 +52777,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -50944,7 +52998,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51031,7 +53085,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -51056,7 +53110,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51143,7 +53197,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -51173,7 +53227,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51260,7 +53314,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -51285,7 +53339,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51372,7 +53426,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -51406,7 +53460,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51493,7 +53547,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -51518,7 +53572,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51605,7 +53659,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -51706,7 +53760,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -51878,7 +53932,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52083,6 +54137,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -52135,10 +54205,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -52191,6 +54290,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -52227,7 +54339,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52399,7 +54511,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52586,7 +54698,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52673,7 +54785,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -52698,7 +54810,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52785,7 +54897,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -52815,7 +54927,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -52902,7 +55014,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -52927,7 +55039,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53014,7 +55126,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -53048,7 +55160,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53135,7 +55247,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -53160,7 +55272,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53247,7 +55359,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -53348,7 +55460,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53520,7 +55632,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53742,7 +55854,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53829,7 +55941,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -53854,7 +55966,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -53941,7 +56053,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -53971,7 +56083,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54058,7 +56170,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -54083,7 +56195,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54170,7 +56282,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -54204,7 +56316,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54291,7 +56403,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -54316,7 +56428,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54403,7 +56515,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -54504,7 +56616,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54676,7 +56788,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54897,7 +57009,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -54984,7 +57096,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -55009,7 +57121,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -55096,7 +57208,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -55126,7 +57238,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -55213,7 +57325,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -55238,7 +57350,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -55325,7 +57437,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -55359,7 +57471,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -55446,7 +57558,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -55471,7 +57583,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -55558,7 +57670,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -55659,7 +57771,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -55831,7 +57943,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -56036,62 +58148,22 @@ definitions: variables: key: description: "description" - type: - schema: - columns: - - name: "name" - type: {} - - name: "name" - type: {} - annotation: - annotations: - fields: - key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - structured_dataset_type: - external_schema_type: "external_schema_type" - columns: - - name: "name" - - name: "name" - format: "format" - external_schema_bytes: "external_schema_bytes" - metadata: - fields: + artifact_partial_id: + partitions: + value: key: - list_value: - values: - - null - - null - number_value: 6.027456183070403 - string_value: "string_value" - null_value: {} - bool_value: true - blob: - dimensionality: {} - format: "format" - enum_type: - values: - - "values" - - "values" - union_type: - variants: - - null - - null - simple: {} - structure: - dataclass_type: {} - tag: "tag" - inputs: - variables: - key: - description: "description" + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -56144,6 +58216,104 @@ definitions: 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" + index: 1 + 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + type: + schema: + columns: + - name: "name" + type: {} + - name: "name" + type: {} + annotation: + annotations: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_value: {} + bool_value: true + structured_dataset_type: + external_schema_type: "external_schema_type" + columns: + - name: "name" + - name: "name" + format: "format" + external_schema_bytes: "external_schema_bytes" + metadata: + fields: + key: + list_value: + values: + - null + - null + number_value: 6.027456183070403 + string_value: "string_value" + null_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" + index: 1 connections: upstream: key: @@ -56272,6 +58442,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -56324,10 +58510,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -56380,6 +58595,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -56545,6 +58773,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -56597,10 +58841,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -56653,6 +58926,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -56728,7 +59014,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -56900,7 +59186,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57087,7 +59373,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57174,7 +59460,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -57199,7 +59485,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57286,7 +59572,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -57316,7 +59602,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57403,7 +59689,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -57428,7 +59714,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57515,7 +59801,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -57549,7 +59835,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57636,7 +59922,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -57661,7 +59947,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -57748,7 +60034,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -57849,7 +60135,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58021,7 +60307,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58243,7 +60529,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58330,7 +60616,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -58355,7 +60641,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58442,7 +60728,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -58472,7 +60758,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58559,7 +60845,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -58584,7 +60870,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58671,7 +60957,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -58705,7 +60991,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58792,7 +61078,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -58817,7 +61103,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -58904,7 +61190,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -59005,7 +61291,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59177,7 +61463,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59398,7 +61684,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59485,7 +61771,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -59510,7 +61796,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59597,7 +61883,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -59627,7 +61913,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59714,7 +62000,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -59739,7 +62025,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59826,7 +62112,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -59860,7 +62146,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -59947,7 +62233,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -59972,7 +62258,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60059,7 +62345,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -60160,7 +62446,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60332,7 +62618,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60537,6 +62823,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -60589,10 +62891,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -60645,6 +62976,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -60692,7 +63036,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -60864,7 +63208,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61051,7 +63395,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61138,7 +63482,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -61163,7 +63507,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61250,7 +63594,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -61280,7 +63624,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61367,7 +63711,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -61392,7 +63736,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61479,7 +63823,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -61513,7 +63857,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61600,7 +63944,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -61625,7 +63969,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61712,7 +64056,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -61813,7 +64157,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -61985,7 +64329,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62207,7 +64551,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62294,7 +64638,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -62319,7 +64663,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62406,7 +64750,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -62436,7 +64780,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62523,7 +64867,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -62548,7 +64892,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62635,7 +64979,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -62669,7 +65013,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62756,7 +65100,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -62781,7 +65125,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -62868,7 +65212,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -62969,7 +65313,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63141,7 +65485,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63362,7 +65706,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63449,7 +65793,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -63474,7 +65818,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63561,7 +65905,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -63591,7 +65935,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63678,7 +66022,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -63703,7 +66047,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63790,7 +66134,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -63824,7 +66168,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -63911,7 +66255,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -63936,7 +66280,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64023,7 +66367,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -64124,7 +66468,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64296,7 +66640,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64501,6 +66845,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -64553,10 +66913,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -64609,6 +66998,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -64645,7 +67047,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -64817,7 +67219,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65004,7 +67406,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65091,7 +67493,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -65116,7 +67518,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65203,7 +67605,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -65233,7 +67635,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65320,7 +67722,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -65345,7 +67747,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65432,7 +67834,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -65466,7 +67868,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65553,7 +67955,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -65578,7 +67980,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65665,7 +68067,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -65766,7 +68168,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -65938,7 +68340,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66160,7 +68562,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66247,7 +68649,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -66272,7 +68674,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66359,7 +68761,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -66389,7 +68791,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66476,7 +68878,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -66501,7 +68903,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66588,7 +68990,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -66622,7 +69024,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66709,7 +69111,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -66734,7 +69136,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -66821,7 +69223,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -66922,7 +69324,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67094,7 +69496,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67315,7 +69717,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67402,7 +69804,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -67427,7 +69829,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67514,7 +69916,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -67544,7 +69946,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67631,7 +70033,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -67656,7 +70058,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67743,7 +70145,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -67777,7 +70179,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67864,7 +70266,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -67889,7 +70291,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -67976,7 +70378,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -68077,7 +70479,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -68249,7 +70651,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -68454,6 +70856,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -68506,10 +70924,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -68562,6 +71009,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -68690,6 +71150,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -68742,10 +71218,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -68798,6 +71303,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -68963,6 +71481,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -69015,10 +71549,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -69071,6 +71634,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -69146,7 +71722,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69318,7 +71894,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69505,7 +72081,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69592,7 +72168,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -69617,7 +72193,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69704,7 +72280,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -69734,7 +72310,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69821,7 +72397,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -69846,7 +72422,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -69933,7 +72509,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -69967,7 +72543,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70054,7 +72630,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -70079,7 +72655,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70166,7 +72742,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -70267,7 +72843,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70439,7 +73015,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70661,7 +73237,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70748,7 +73324,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -70773,7 +73349,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70860,7 +73436,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -70890,7 +73466,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -70977,7 +73553,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -71002,7 +73578,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71089,7 +73665,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -71123,7 +73699,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71210,7 +73786,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -71235,7 +73811,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71322,7 +73898,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -71423,7 +73999,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71595,7 +74171,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71816,7 +74392,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -71903,7 +74479,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -71928,7 +74504,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72015,7 +74591,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -72045,7 +74621,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72132,7 +74708,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -72157,7 +74733,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72244,7 +74820,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -72278,7 +74854,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72365,7 +74941,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -72390,7 +74966,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72477,7 +75053,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -72578,7 +75154,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72750,7 +75326,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -72955,6 +75531,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -73007,10 +75599,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -73063,6 +75684,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -73158,6 +75792,135 @@ definitions: min_successes: 5 parallelism: 1 min_success_ratio: 5.637377 + coreArtifactBindingData: + type: "object" + properties: + index: + type: "integer" + format: "int64" + partition_key: + type: "string" + title: "These two fields are only relevant in the partition value case" + transform: + type: "string" + title: "Only valid for triggers" + example: + transform: "transform" + partition_key: "partition_key" + index: 1 + coreArtifactID: + type: "object" + properties: + artifact_key: + $ref: "#/definitions/coreArtifactKey" + version: + type: "string" + partitions: + $ref: "#/definitions/corePartitions" + example: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + 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" + index: 1 coreBinary: type: "object" properties: @@ -73209,7 +75972,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73399,7 +76162,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73645,7 +76408,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73732,7 +76495,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -73757,7 +76520,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73844,7 +76607,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -73886,7 +76649,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -73973,7 +76736,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -73998,7 +76761,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74085,7 +76848,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -74115,7 +76878,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74202,7 +76965,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -74227,7 +76990,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74314,7 +77077,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -74348,7 +77111,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74435,7 +77198,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -74460,7 +77223,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74547,7 +77310,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -74658,7 +77421,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74745,7 +77508,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -74770,7 +77533,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -74857,7 +77620,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -74986,6 +77749,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -75038,10 +77817,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -75094,6 +77902,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -75181,7 +78002,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75353,7 +78174,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75540,7 +78361,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75627,7 +78448,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -75652,7 +78473,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75739,7 +78560,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -75769,7 +78590,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75856,7 +78677,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -75881,7 +78702,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -75968,7 +78789,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -76002,7 +78823,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76089,7 +78910,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -76114,7 +78935,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76201,7 +79022,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -76302,7 +79123,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76474,7 +79295,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76696,7 +79517,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76783,7 +79604,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -76808,7 +79629,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -76895,7 +79716,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -76925,7 +79746,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77012,7 +79833,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -77037,7 +79858,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77124,7 +79945,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -77158,7 +79979,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77245,7 +80066,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -77270,7 +80091,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77357,7 +80178,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -77458,7 +80279,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77630,7 +80451,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77851,7 +80672,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -77938,7 +80759,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -77963,7 +80784,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78050,7 +80871,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -78080,7 +80901,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78167,7 +80988,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -78192,7 +81013,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78279,7 +81100,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -78313,7 +81134,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78400,7 +81221,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -78425,7 +81246,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78512,7 +81333,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -78613,7 +81434,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78785,7 +81606,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -78990,6 +81811,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -79042,10 +81879,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -79098,6 +81964,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -79161,7 +82040,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79333,7 +82212,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79520,7 +82399,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79607,7 +82486,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -79632,7 +82511,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79719,7 +82598,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -79749,7 +82628,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79836,7 +82715,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -79861,7 +82740,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -79948,7 +82827,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -79982,7 +82861,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80069,7 +82948,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -80094,7 +82973,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80181,7 +83060,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -80282,7 +83161,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80454,7 +83333,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80676,7 +83555,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80763,7 +83642,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -80788,7 +83667,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80875,7 +83754,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -80905,7 +83784,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -80992,7 +83871,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -81017,7 +83896,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81104,7 +83983,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -81138,7 +84017,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81225,7 +84104,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -81250,7 +84129,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81337,7 +84216,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -81438,7 +84317,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81610,7 +84489,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81831,7 +84710,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -81918,7 +84797,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -81943,7 +84822,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82030,7 +84909,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -82060,7 +84939,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82147,7 +85026,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -82172,7 +85051,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82259,7 +85138,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -82293,7 +85172,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82380,7 +85259,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -82405,7 +85284,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82492,7 +85371,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -82593,7 +85472,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82765,7 +85644,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -82970,6 +85849,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -83022,10 +85917,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -83078,6 +86002,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -83114,7 +86051,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83286,7 +86223,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83473,7 +86410,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83560,7 +86497,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -83585,7 +86522,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83672,7 +86609,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -83702,7 +86639,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83789,7 +86726,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -83814,7 +86751,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -83901,7 +86838,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -83935,7 +86872,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84022,7 +86959,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -84047,7 +86984,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84134,7 +87071,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -84235,7 +87172,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84407,7 +87344,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84629,7 +87566,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84716,7 +87653,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -84741,7 +87678,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84828,7 +87765,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -84858,7 +87795,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -84945,7 +87882,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -84970,7 +87907,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85057,7 +87994,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -85091,7 +88028,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85178,7 +88115,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -85203,7 +88140,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85290,7 +88227,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -85391,7 +88328,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85563,7 +88500,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85784,7 +88721,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85871,7 +88808,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -85896,7 +88833,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -85983,7 +88920,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -86013,7 +88950,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -86100,7 +89037,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -86125,7 +89062,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -86212,7 +89149,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -86246,7 +89183,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -86333,7 +89270,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -86358,7 +89295,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -86445,7 +89382,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -86546,7 +89483,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -86718,7 +89655,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -86923,6 +89860,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -86975,10 +89928,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -87031,6 +90013,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -87159,6 +90154,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -87211,10 +90222,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -87267,6 +90307,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -87432,6 +90485,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -87484,10 +90553,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -87540,6 +90638,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -87615,7 +90726,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -87787,7 +90898,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -87974,7 +91085,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88061,7 +91172,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -88086,7 +91197,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88173,7 +91284,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -88203,7 +91314,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88290,7 +91401,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -88315,7 +91426,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88402,7 +91513,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -88436,7 +91547,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88523,7 +91634,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -88548,7 +91659,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88635,7 +91746,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -88736,7 +91847,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -88908,7 +92019,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89130,7 +92241,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89217,7 +92328,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -89242,7 +92353,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89329,7 +92440,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -89359,7 +92470,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89446,7 +92557,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -89471,7 +92582,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89558,7 +92669,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -89592,7 +92703,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89679,7 +92790,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -89704,7 +92815,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -89791,7 +92902,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -89892,7 +93003,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90064,7 +93175,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90285,7 +93396,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90372,7 +93483,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -90397,7 +93508,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90484,7 +93595,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -90514,7 +93625,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90601,7 +93712,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -90626,7 +93737,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90713,7 +93824,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -90747,7 +93858,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90834,7 +93945,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -90859,7 +93970,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -90946,7 +94057,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -91047,7 +94158,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -91219,7 +94330,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -91424,6 +94535,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -91476,10 +94603,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -91532,6 +94688,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -92008,7 +95177,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92095,7 +95264,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -92120,7 +95289,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92207,7 +95376,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -92259,7 +95428,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92346,7 +95515,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -92371,7 +95540,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92458,7 +95627,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -92488,7 +95657,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92575,7 +95744,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -92600,7 +95769,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92687,7 +95856,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -92721,7 +95890,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92808,7 +95977,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -92833,7 +96002,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -92920,10 +96089,17 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} + coreInputBindingData: + type: "object" + properties: + var: + type: "string" + example: + var: "var" coreK8sObjectMetadata: type: "object" properties: @@ -93006,6 +96182,23 @@ definitions: example: value: "value" key: "key" + coreLabelValue: + type: "object" + properties: + static_value: + type: "string" + 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" + index: 1 coreLiteral: type: "object" properties: @@ -93022,6 +96215,11 @@ definitions: 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: @@ -93046,7 +96244,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93128,6 +96326,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -93336,7 +96536,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93423,7 +96623,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -93448,7 +96648,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93535,7 +96735,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -93565,7 +96765,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93652,7 +96852,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -93677,7 +96877,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93764,7 +96964,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -93798,7 +96998,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93885,7 +97085,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -93910,7 +97110,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -93997,7 +97197,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -94098,7 +97298,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -94270,7 +97470,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -94618,7 +97818,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -94705,7 +97905,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" coreOutputReference: @@ -94746,6 +97946,12 @@ definitions: 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: @@ -94771,7 +97977,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -94853,6 +98059,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -94862,6 +98070,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -94914,6 +98138,70 @@ definitions: 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" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" required: true coreParameterMap: type: "object" @@ -94949,7 +98237,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -95031,6 +98319,8 @@ definitions: string_value: "string_value" null_value: {} bool_value: true + metadata: + key: "metadata" collection: literals: - null @@ -95040,6 +98330,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -95092,7 +98398,88 @@ definitions: 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" + index: 1 + artifact_query: + binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" + 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" + index: 1 + artifact_id: + partitions: + value: + key: + input_binding: + var: "var" + static_value: "static_value" + triggered_binding: + transform: "transform" + partition_key: "partition_key" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" 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" + index: 1 corePrimitive: type: "object" properties: @@ -95118,7 +98505,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" corePromiseAttribute: type: "object" @@ -95269,7 +98656,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -96110,6 +99497,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -96162,10 +99565,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -96218,6 +99650,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -96321,6 +99766,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -96373,10 +99834,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -96429,6 +99919,19 @@ definitions: 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" + index: 1 coreUnion: type: "object" properties: @@ -96579,9 +100082,32 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -96634,6 +100160,19 @@ definitions: 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" + index: 1 coreVariableMap: type: "object" properties: @@ -96647,6 +100186,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -96699,6 +100254,19 @@ definitions: 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" + index: 1 coreVoid: type: "object" description: "Used to denote a nil/null/None assignment to a scalar value. The\ @@ -96872,7 +100440,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97044,7 +100612,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97231,7 +100799,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97318,7 +100886,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -97343,7 +100911,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97430,7 +100998,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -97460,7 +101028,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97547,7 +101115,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -97572,7 +101140,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97659,7 +101227,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -97693,7 +101261,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97780,7 +101348,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -97805,7 +101373,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -97892,7 +101460,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -97993,7 +101561,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98165,7 +101733,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98387,7 +101955,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98474,7 +102042,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -98499,7 +102067,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98586,7 +102154,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -98616,7 +102184,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98703,7 +102271,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -98728,7 +102296,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98815,7 +102383,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -98849,7 +102417,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -98936,7 +102504,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -98961,7 +102529,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -99048,7 +102616,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -99149,7 +102717,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -99321,7 +102889,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -99542,7 +103110,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -99629,7 +103197,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -99654,7 +103222,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -99741,7 +103309,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -99771,7 +103339,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -99858,7 +103426,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -99883,7 +103451,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -99970,7 +103538,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -100004,7 +103572,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100091,7 +103659,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -100116,7 +103684,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100203,7 +103771,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -100304,7 +103872,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100476,7 +104044,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -100681,6 +104249,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -100733,10 +104317,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -100789,6 +104402,19 @@ definitions: 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" + index: 1 eventEventReason: type: "object" properties: @@ -101125,7 +104751,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101297,7 +104923,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101484,7 +105110,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101571,7 +105197,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -101596,7 +105222,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101683,7 +105309,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -101713,7 +105339,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101800,7 +105426,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -101825,7 +105451,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -101912,7 +105538,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -101946,7 +105572,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102033,7 +105659,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -102058,7 +105684,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102145,7 +105771,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -102246,7 +105872,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102418,7 +106044,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102640,7 +106266,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102727,7 +106353,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -102752,7 +106378,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102839,7 +106465,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -102869,7 +106495,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -102956,7 +106582,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -102981,7 +106607,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103068,7 +106694,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -103102,7 +106728,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103189,7 +106815,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -103214,7 +106840,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103301,7 +106927,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -103402,7 +107028,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103574,7 +107200,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103795,7 +107421,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103882,7 +107508,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -103907,7 +107533,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -103994,7 +107620,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -104024,7 +107650,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104111,7 +107737,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -104136,7 +107762,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104223,7 +107849,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -104257,7 +107883,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104344,7 +107970,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -104369,7 +107995,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104456,7 +108082,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -104557,7 +108183,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104729,7 +108355,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -104934,6 +108560,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -104986,10 +108628,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -105042,6 +108713,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -105078,7 +108762,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105250,7 +108934,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105437,7 +109121,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105524,7 +109208,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -105549,7 +109233,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105636,7 +109320,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -105666,7 +109350,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105753,7 +109437,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -105778,7 +109462,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105865,7 +109549,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -105899,7 +109583,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -105986,7 +109670,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -106011,7 +109695,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106098,7 +109782,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -106199,7 +109883,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106371,7 +110055,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106593,7 +110277,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106680,7 +110364,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -106705,7 +110389,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106792,7 +110476,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -106822,7 +110506,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -106909,7 +110593,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -106934,7 +110618,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -107021,7 +110705,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -107055,7 +110739,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -107142,7 +110826,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -107167,7 +110851,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -107254,7 +110938,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -107355,7 +111039,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -107527,7 +111211,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -107748,7 +111432,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -107835,7 +111519,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -107860,7 +111544,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -107947,7 +111631,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -107977,7 +111661,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108064,7 +111748,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -108089,7 +111773,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108176,7 +111860,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -108210,7 +111894,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108297,7 +111981,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -108322,7 +112006,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108409,7 +112093,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -108510,7 +112194,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108682,7 +112366,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -108887,6 +112571,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -108939,10 +112639,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -108995,6 +112724,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -109123,6 +112865,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -109175,10 +112933,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -109231,6 +113018,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -109396,6 +113196,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -109448,10 +113264,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -109504,6 +113349,19 @@ definitions: 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" + index: 1 config: key: "config" security_context: @@ -109579,7 +113437,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -109751,7 +113609,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -109938,7 +113796,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110025,7 +113883,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -110050,7 +113908,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110137,7 +113995,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -110167,7 +114025,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110254,7 +114112,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -110279,7 +114137,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110366,7 +114224,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -110400,7 +114258,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110487,7 +114345,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -110512,7 +114370,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110599,7 +114457,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -110700,7 +114558,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -110872,7 +114730,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111094,7 +114952,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111181,7 +115039,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -111206,7 +115064,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111293,7 +115151,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -111323,7 +115181,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111410,7 +115268,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -111435,7 +115293,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111522,7 +115380,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -111556,7 +115414,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111643,7 +115501,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -111668,7 +115526,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -111755,7 +115613,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -111856,7 +115714,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -112028,7 +115886,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -112249,7 +116107,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -112336,7 +116194,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -112361,7 +116219,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -112448,7 +116306,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -112478,7 +116336,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -112565,7 +116423,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -112590,7 +116448,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -112677,7 +116535,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -112711,7 +116569,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -112798,7 +116656,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" right_value: @@ -112823,7 +116681,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -112910,7 +116768,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" var: "var" operator: {} @@ -113011,7 +116869,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -113183,7 +117041,7 @@ definitions: datetime: "2000-01-23T04:56:07.000+00:00" string_value: "string_value" boolean: true - float_value: 1.4658129805029452 + float_value: 5.962133916683182 integer: "integer" binary: tag: "tag" @@ -113388,6 +117246,22 @@ definitions: 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -113440,10 +117314,39 @@ definitions: 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" + index: 1 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" + index: 1 + artifact_key: + domain: "domain" + name: "name" + project: "project" + version: "version" type: schema: columns: @@ -113496,6 +117399,19 @@ definitions: 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" + index: 1 connections: upstream: key: @@ -113885,6 +117801,67 @@ definitions: $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: 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 index 9db8ddfd7f..a309aa0be5 100644 --- 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 @@ -27,4 +27,6 @@ type AdminExecutionMetadata struct { 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_launch_plan_metadata.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_launch_plan_metadata.go index f368501cd8..655ac325c2 100644 --- 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 @@ -13,4 +13,5 @@ package flyteadmin 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_core_artifact_binding_data.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_binding_data.go new file mode 100644 index 0000000000..fe0083167e --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_binding_data.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreArtifactBindingData struct { + Index int64 `json:"index,omitempty"` + PartitionKey string `json:"partition_key,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 new file mode 100644 index 0000000000..13c054e25a --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_id.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreArtifactId struct { + ArtifactKey *CoreArtifactKey `json:"artifact_key,omitempty"` + Version string `json:"version,omitempty"` + Partitions *CorePartitions `json:"partitions,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 new file mode 100644 index 0000000000..6aad4528b0 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_key.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type 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 new file mode 100644 index 0000000000..0425ac9bb8 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_query.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.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 new file mode 100644 index 0000000000..54b3bcb6e3 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_artifact_tag.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type 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_input_binding_data.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_input_binding_data.go new file mode 100644 index 0000000000..1a66e6cf49 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_input_binding_data.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreInputBindingData struct { + Var_ string `json:"var,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 new file mode 100644 index 0000000000..772c27188e --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_label_value.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CoreLabelValue struct { + StaticValue string `json:"static_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 index 03ee493617..32592b12a6 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_literal.go @@ -18,4 +18,6 @@ type CoreLiteral struct { // 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_parameter.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go index 096c7efb0e..5e113d24c8 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_parameter.go @@ -17,4 +17,7 @@ type CoreParameter struct { 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_partitions.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_partitions.go new file mode 100644 index 0000000000..a4c70146cc --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_partitions.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type CorePartitions struct { + Value map[string]CoreLabelValue `json:"value,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 index 40e43f0588..60655aff32 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_core_variable.go @@ -14,4 +14,7 @@ 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_protobuf_any.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_any.go new file mode 100644 index 0000000000..cc85641360 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_protobuf_any.go @@ -0,0 +1,18 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.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/openapi.go b/flyteidl/gen/pb-go/flyteidl/service/openapi.go index 7d709dd7e1..84081d9498 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/openapi.go +++ b/flyteidl/gen/pb-go/flyteidl/service/openapi.go @@ -78,7 +78,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x7b\x73\xeb\xb8\x95\x2f\x0c\xff\x3f\x9f\x02\x67\xcf\xa9\xea\xee\x44\xb6\x3b\xc9\x4c\xde\x94\xa7\x4e\xbd\x8f\xda\xd6\xde\xad\xd3\xbe\xc5\x97\xee\xe9\x67\x94\x52\x43\x24\x24\x21\x26\x01\x06\x00\xed\xad\x4e\xe5\xbb\x3f\x85\x85\x0b\x41\x8a\x94\xa8\x8b\x6d\x79\x37\x67\xaa\xd2\xde\x22\x89\xeb\xc2\xc2\xba\xfe\xd6\x3f\xff\x0d\xa1\x0f\xf2\x19\xcf\x66\x44\x7c\x38\x45\x1f\xfe\x78\xfc\xed\x87\x9e\xfe\x8d\xb2\x29\xff\x70\x8a\xf4\x73\x84\x3e\x28\xaa\x12\xa2\x9f\x4f\x93\x85\x22\x34\x4e\x4e\x24\x11\x4f\x34\x22\x27\x38\x4e\x29\x3b\xce\x04\x57\x1c\x3e\x44\xe8\xc3\x13\x11\x92\x72\xa6\x5f\xb7\x7f\x22\xc6\x15\x92\x44\x7d\xf8\x37\x84\xfe\x05\xcd\xcb\x68\x4e\x52\x22\x3f\x9c\xa2\xff\x31\x1f\xcd\x95\xca\x5c\x03\xfa\x6f\xa9\xdf\xfd\x1b\xbc\x1b\x71\x26\xf3\xd2\xcb\x38\xcb\x12\x1a\x61\x45\x39\x3b\xf9\xbb\xe4\xac\x78\x37\x13\x3c\xce\xa3\x96\xef\x62\x35\x97\xc5\x1c\x4f\x70\x46\x4f\x9e\xfe\x70\x82\x23\x45\x9f\xc8\x38\xc1\x39\x8b\xe6\xe3\x2c\xc1\x4c\x9e\xfc\x93\xc6\x7a\x8e\x7f\x27\x91\xfa\x17\xfc\x23\xe6\x29\xa6\xcc\xfc\xcd\x70\x4a\xfe\xe5\xdb\x41\xe8\xc3\x8c\xa8\xe0\x9f\x7a\xb6\x79\x9a\x62\xb1\xd0\x2b\xf2\x91\xa8\x68\x8e\xd4\x9c\x20\xd3\x0f\x72\x4b\xc4\xa7\x08\xa3\x53\x41\xa6\xa7\xbf\x08\x32\x1d\xbb\x85\x3e\x36\x0b\x7c\x01\xa3\xb9\x49\x30\xfb\xe5\xd8\x2e\x13\xb4\xcc\x33\x22\x60\x6e\xc3\x58\xb7\xfe\x89\xa8\x3e\x34\x5b\xbc\x1f\xbe\x2d\x88\xcc\x38\x93\x44\x96\x86\x87\xd0\x87\x3f\x7e\xfb\x6d\xe5\x27\x84\x3e\xc4\x44\x46\x82\x66\xca\xee\x65\x1f\xc9\x3c\x8a\x88\x94\xd3\x3c\x41\xae\xa5\x70\x30\x66\xaa\x7a\x63\xf1\x52\x63\x08\x7d\xf8\xdf\x82\x4c\x75\x3b\xff\x7e\x12\x93\x29\x65\x54\xb7\x2b\x0d\xfd\x04\xa3\x2d\x7d\xf5\xaf\x7f\xab\xfb\xfb\x5f\xc1\x8c\x32\x2c\x70\x4a\x14\x11\xc5\x8e\x9b\xff\xab\xcc\x45\xef\x91\xee\xbc\xd8\xc7\xea\xc0\x2b\xb3\xbd\xc2\x29\xd1\x7b\xa2\x77\xca\x7e\x01\x7f\x0b\x22\x79\x2e\x22\x82\x26\x24\xe1\x6c\x26\x91\xe2\x4b\x6b\x40\xa1\x05\x4d\x5e\xd5\x27\x82\xfc\x23\xa7\x82\xe8\xbd\x52\x22\x27\x95\xa7\x6a\x91\xc1\x20\xa5\x12\x94\xcd\xc2\xa5\xf8\x57\xaf\xd5\xd4\x0c\x55\x6e\x30\x33\xf3\x41\xe3\xc4\x46\xac\xef\x5e\x89\x30\x43\x13\x82\xf4\x59\xa4\x31\x11\x24\x46\x58\x22\x8c\x64\x3e\x91\x44\xa1\x67\xaa\xe6\x94\xe9\x7f\x67\x24\xa2\x53\x1a\xb9\x35\x3b\x9c\xb5\x81\x3f\x57\xaf\xcc\x83\x24\x42\x0f\xfc\x89\xc6\x24\x46\x4f\x38\xc9\x09\x9a\x72\x51\x5a\x9e\xe3\x11\xbb\x9f\xeb\x75\x48\x27\x94\xc1\xc9\xd3\x6b\xe9\x28\xe4\xf7\x6e\xb9\x7e\x8f\x74\x7f\x28\x67\xf4\x1f\x39\x49\x16\x88\xc6\x84\x29\x3a\xa5\x44\x56\x5b\xfb\x3d\x87\xfe\x71\x82\x8e\x90\x5e\x67\x22\x14\xac\x37\x67\x8a\x7c\x56\x12\x1d\xa1\x84\x3e\x12\xf4\xd5\x05\x95\x0a\xf5\x6f\x86\x5f\xf5\xd0\x57\xe6\xbc\x20\xe0\x4d\x5f\xbd\xc2\x0a\xfb\xbf\xff\x16\x1c\x3d\x85\x67\xd5\x43\xf7\xa1\xaf\x4f\xf3\x9d\xb9\x1a\x8a\x16\xfe\xf6\x6f\x61\x3b\x76\xbf\x56\xf3\xdb\x82\xd9\x5a\x4e\xdb\x96\xbf\xc2\x32\x95\x59\xab\xd4\x3b\xb4\x2b\x67\xd5\xed\x56\x59\xab\x7c\x5f\xbc\x55\x4f\xe1\xa5\xf9\xeb\x2e\xcc\x15\x2b\xa0\x7a\x4c\x99\x39\x24\xfe\xcc\x08\xa9\xcf\x89\xa3\xde\x03\x61\x29\xbb\xf0\xda\x60\x66\x01\xbb\x75\x5c\x34\x58\x95\x03\x9c\x77\x42\x53\xba\x6e\x7f\x87\x2c\xd6\x22\x97\x65\x76\x2c\x4f\x27\x44\xe8\x65\x70\x6c\x0f\x66\x3b\xd1\x6c\x50\xe5\x82\x91\xb8\xc5\x34\xff\x91\x13\xb1\x58\x31\xcf\x29\x4e\x64\xd3\x44\x29\x53\x44\xcb\xb7\x95\xc7\x53\x2e\x52\xac\xec\x0b\x7f\xfe\x8f\x4d\x17\x42\xf1\x47\xb2\x6e\xff\x87\x66\x37\x23\x2c\x81\x0c\xd2\x3c\x51\x34\x4b\x08\xca\xf0\x8c\x48\xbb\x22\x79\xa2\x64\x0f\x5e\xd3\x32\x35\x11\x47\xfe\x06\x82\x1e\xdc\xcd\x9b\x4b\xf8\x05\x4d\xbd\x00\xc9\xc8\x67\x05\x2d\x8d\x18\xdc\xbd\xb0\x44\xe1\x8d\xf2\x02\x4b\xb9\x1d\xcd\x48\x2e\xd4\x78\xb2\x38\x7e\x24\x4b\xfd\x36\x52\x0e\x66\x08\x2b\x25\xe8\x24\x57\x44\xcf\x5b\xb7\xe1\xee\x4e\x60\x8f\xe6\x82\x6e\xc3\x1a\xde\x6e\xc2\x31\x15\x24\x82\xb9\x6d\x72\x60\xfc\x57\x7a\xde\x5a\x7f\x59\x98\xd9\x3f\x92\x05\xc8\x23\x35\x2b\xe0\xb7\x7c\xc4\x46\x0c\x1d\xa1\xf3\xc1\xdd\xd9\xe0\xea\x7c\x78\xf5\xe9\x14\x7d\xb7\x40\x31\x99\xe2\x3c\x51\x3d\x34\xa5\x24\x89\x25\xc2\x82\x40\x93\x24\xd6\x32\x87\x1e\x0c\x61\x31\x65\x33\xc4\x45\x4c\xc4\xcb\x2d\x63\xe5\x29\x61\x79\x5a\xb9\x57\xe0\xf7\x62\xf4\x95\x2f\xb4\x88\xe1\x1f\x95\x9e\xfc\x6d\x69\x81\x61\xc6\xba\xef\xa0\xb5\x57\x13\x6a\xa2\x39\x4d\x62\x41\xd8\x89\xc2\xf2\x71\x4c\x3e\x93\x28\x37\x77\xf2\x3f\xcb\x3f\x8c\xb5\x64\xca\x63\x52\xfe\xa5\xf4\x8f\x42\x14\xda\xf8\x53\xaf\xa5\x6e\xfc\x25\xe8\xb4\xed\xbe\x83\x5f\x68\x5c\xfb\x36\xfc\xb2\x66\x0e\xee\x9d\x15\x83\x75\xaf\x34\x8e\xca\xbd\x60\x25\xbe\xda\x77\x04\x51\x62\x31\xc6\x4a\x91\x34\x53\x1b\xea\xeb\x18\x25\x5a\xae\x5c\x25\x47\x5e\xf1\x98\x0c\x5c\x7f\xbf\x20\x23\xce\x92\x18\x4d\x16\x96\x6b\x4d\x89\x20\x2c\x22\xcd\x2d\xdc\x63\xf9\x58\xb4\xb0\x4e\x18\x2d\xf5\x27\x3f\x72\xa1\x3f\x7f\x0f\x02\x69\x69\xe0\xaf\x21\x93\x6e\x7b\xe2\xbe\x38\x0b\xc1\x96\xfc\xa3\xb3\x27\xec\xbe\x92\x6d\xad\x0f\x5c\x20\xb9\x90\x8a\xa4\x6b\xed\x10\xef\x67\x21\xec\x05\x71\xa8\x03\xae\xdc\x51\xbf\x81\x53\x5f\xbe\x71\xbb\xe3\xbd\xc1\x92\xed\xcb\x8a\x78\xe8\xf3\x74\x3e\x9c\xd5\x53\xbd\x73\xdb\x17\x38\x31\xde\xc5\x34\x4b\xb2\xe0\xbe\x07\xf9\x42\xe6\x86\xc6\xbd\x72\xab\x3d\x86\x01\xac\x51\x34\xcb\x76\x68\x7f\xfe\xf4\xa7\xa1\x85\xc6\x98\xe3\xd4\x9c\xca\xc0\x58\x85\x22\x2e\x8c\x2c\x18\xdb\xf3\x6e\x74\xcd\xfe\x7d\xff\x6e\x70\x7f\x8a\xfa\x28\xc6\x0a\xeb\x03\x2e\x48\x26\x88\x24\x4c\x81\x1e\xaf\xbf\x57\x0b\x94\xf2\x98\x24\x46\xe3\xfc\xa8\x25\x5f\x74\x8e\x15\x3e\xc3\x0a\x27\x7c\x76\x8c\xfa\xf0\x4f\xfd\x31\x95\x08\x27\x92\x23\xec\xc8\x8a\xc4\xae\x09\xcc\x62\xc7\x5a\x30\x8a\x78\x9a\xd1\xc4\xdb\xe0\xbd\x71\x85\xb2\x98\x3e\xd1\x38\xc7\x09\xe2\x13\xcd\x55\xb4\x86\x3c\x78\x22\x4c\xe5\x38\x49\x16\x08\x27\x09\xb2\xdd\xba\x17\x90\x9c\xf3\x3c\x89\x75\xbb\x6e\x94\x92\xa6\x34\xc1\x42\xab\xe0\x66\xb4\xd7\xb6\x2d\x74\x3f\x27\x7e\xac\x30\x2e\xbd\x9a\x29\x7e\x24\x12\x51\x85\x32\x2e\x25\x9d\x24\xc5\x99\x7f\x18\x22\x18\xf7\xd9\xc5\x10\xf4\xf9\x48\x21\x6e\x78\xa8\xeb\xdc\xda\x6f\x5c\x8f\x29\x66\x8c\x40\xc7\x5c\xcd\x89\xb0\xdd\xdb\x97\xdf\x5a\x35\x7f\xb8\xba\xbb\x19\x9c\x0d\x3f\x0e\x07\xe7\xcb\xba\xf9\x7d\xff\xee\x87\xe5\x5f\x7f\xba\xbe\xfd\xe1\xe3\xc5\xf5\x4f\xcb\x4f\x2e\xfa\x0f\x57\x67\xdf\x8f\x6f\x2e\xfa\x57\xcb\x0f\x2d\x59\xb5\x56\xf3\xc3\x91\x6d\x78\xb6\x3a\x9b\xe6\x4b\xd9\x34\x7b\x5f\xae\x51\x73\x4a\x13\xd0\x41\x5b\x1b\x34\xbd\x0d\xc1\x7e\x89\x32\x2c\xa5\x91\x8c\xcc\x08\x8e\x47\xec\x92\x0b\xcd\xc0\xa6\x5c\xf3\x08\x2d\x3d\x29\x91\x47\x8a\xb2\x99\xff\xe8\x14\x8d\xf2\x6f\xbf\xfd\x53\x74\x41\xd9\x23\xfc\x45\x0e\x71\x71\x3a\x8b\x6f\x67\xf1\xfd\x6d\x59\x7c\xb5\xe8\x73\x12\x1a\x7a\xf7\x1b\x32\xa4\x85\x0b\x96\xe5\x0a\x44\x09\x9e\x2b\xfd\xa7\xee\x12\xc8\x63\x45\xe0\x50\x3b\x83\xe2\x27\xa2\xfc\x8b\x5a\xb4\x79\x0f\x76\xc4\x9f\xb8\x78\x9c\x26\xfc\xd9\x0f\xfc\x13\x51\x7a\xec\xb7\xb6\x97\x2e\x94\xa8\x0b\x25\x7a\xdb\x50\xa2\x83\x32\xe6\xbd\x3c\xf3\x2b\x5b\xfe\x0c\x07\x6c\xf0\x64\x35\x3a\xaa\x1a\xfc\x50\x81\x9b\xe9\x55\xb8\x66\xd9\x99\xb3\x86\x73\x96\x5e\x7e\x2f\xdc\xb3\x34\xe8\xd7\xe7\x9c\xbf\x09\x7f\x4b\xe7\x4e\xd9\x72\xa1\xde\x25\x83\x6d\x79\x77\xbc\x9a\x33\xe4\xe5\x19\xfe\x52\x6c\xc3\x26\xc1\x0c\x1b\x44\x2f\xb4\x0e\x57\x58\x13\x9f\x50\x1b\x90\x50\x17\x81\xb0\x1c\x72\x50\x1b\x63\xb0\x5b\x50\xc1\xb6\x77\x53\xfb\x30\x81\x4f\x44\x95\x5e\x7e\x2f\x77\x53\x69\xd0\xaf\x7f\x37\xfd\x46\xa3\x03\xba\x70\x80\x17\x5c\xba\x2f\xfd\x46\x3b\x5c\x87\xff\x6f\xc0\xc3\xdf\xb9\xf4\x37\x5a\xa3\x2f\xcb\x87\xff\xa5\x3a\xed\xdf\xa7\x97\xbe\x73\xcb\x77\x6e\xf9\xb7\xf0\x9f\xbc\x3f\xb7\xfc\xcb\xaa\xa7\xc5\xf1\x1a\x3b\x5a\xb0\xfa\x5a\x70\x28\xff\xd5\xc2\x49\x03\x7f\x39\x95\x6f\xd3\xa0\xf1\x46\x1d\xee\xbc\x18\xdf\x00\x8e\xd0\x2f\x96\x90\xd6\xa8\x73\x4b\xdf\xbd\x07\x75\x6e\x79\xd0\x2f\xaf\xc3\xbd\x19\xf3\x7d\xa1\xcb\xf3\x9d\xb0\x81\xcd\x6f\xcb\x2f\x58\x26\xef\x64\xf1\x97\xcf\xc6\x3f\x98\x09\xbd\x1f\xd9\xfb\x0d\x2e\xde\x96\xb7\xee\xde\x73\xb2\x6a\xae\xd9\xe0\x76\x5a\x97\x61\x55\xfd\x9a\x12\xf9\xc7\x77\x79\xdf\xbe\x46\x92\x55\x77\xe1\x76\x17\xae\x6d\xaa\xbb\x70\xbf\xe0\x0b\xf7\xe0\xe0\x6f\x0e\x26\x02\xb4\x0b\x22\xef\x80\x31\xba\x18\xf2\x3d\x2e\x4e\x17\x43\xde\xc5\x90\xff\xc6\x62\xc8\x77\xd1\x9e\xb6\xc5\xa2\x7c\x0b\x3d\xaa\x53\xa3\x3a\x35\x2a\xfc\xbd\x53\xa3\x3a\x35\xaa\x53\xa3\xbe\x70\x14\xd1\x4e\x87\x6a\xbf\x10\x9d\x0e\xd5\x7a\xa9\x3a\x1d\x6a\xc5\xe2\x74\x3a\x54\xa7\x43\xfd\xb6\x74\x28\xf2\x44\x98\x92\x90\x8c\x16\x6a\x14\x1f\x32\x2e\x9b\x35\xa1\x90\x3b\xd4\x68\x41\xd0\x66\x39\x29\x0c\x02\x97\x7e\x41\x73\x2c\x11\x8f\xa2\x5c\x54\xce\x40\x55\x0f\x3a\x13\x04\x2b\x02\x2d\xe8\x0f\xdf\x83\xfe\xb3\x3c\xdd\xd7\x8a\xc1\x9f\xf0\x78\x89\xda\xcd\x41\xa8\x7b\xb2\x5a\x1e\xd9\xdb\xd4\xff\x91\x93\x76\xea\xdf\x0b\x12\xb5\xc2\xf2\x71\xcf\x44\x5d\xca\xb5\xd8\x8a\xa8\xa1\x85\xf7\x42\xd4\xcb\xd3\xfd\xcd\x10\x75\xdd\xd4\x0f\x81\xa8\x9f\x6d\x1e\xff\x9e\x09\x7b\x09\x1e\x60\x2b\xe2\xf6\xad\xbc\x17\x02\xaf\x9f\xf6\x6f\x86\xc8\x9b\xa6\xff\xb6\x84\xee\x53\x24\x5b\x93\xf8\xbd\xa0\xb3\x99\x56\x33\x40\xc3\xd3\xa4\xb8\xbe\x46\x50\x91\x14\xb8\x96\xac\xfd\xab\xef\x81\xa4\xfd\x60\xcd\xd8\x7f\x33\xb4\xbc\x34\xef\x03\x21\xe2\x13\x41\x22\xfe\x04\xf5\xc2\xda\x11\xf3\x2d\x01\x0a\x06\x7e\x9d\x09\xf2\x44\x79\x2e\x93\xc5\x91\xc8\x19\x72\xcc\x1f\xf9\xe6\x8d\xb5\xfa\x99\x26\x09\xe2\x4c\xeb\x5f\x0a\x0b\xe5\x1e\x6b\xfd\x5b\xf0\x14\x4e\x45\x82\xa5\x42\x8f\x8c\x3f\x33\x34\xc5\x34\xc9\x05\x41\x19\xa7\x4c\x1d\x8f\xd8\x90\xa1\x5b\x33\x46\xc8\x1b\xe8\xa1\x5c\xea\xb3\x14\x61\xc6\xb8\x42\xd1\x1c\xb3\x19\x41\x98\x2d\x6c\x02\x6e\x41\x19\x88\x0b\x94\x67\x31\xd6\x8a\xef\x9c\x54\xa3\xf4\xfc\x18\xc1\x7c\x47\x25\xa2\x12\x91\xcf\x4a\x90\x94\x24\x0b\xdd\x87\xa6\x7d\xc5\x91\x5d\x1f\x33\x54\x9b\xce\x47\x84\xe0\x42\x42\xc6\xc1\x64\xf1\x2b\x66\x8a\x32\x82\x40\x51\x92\xc6\x34\x77\x84\x2e\xb8\x04\xb3\xcd\x0f\x7f\x91\x28\x4a\x72\xa9\x88\xe8\xa1\x49\x3e\x93\x5a\x53\xcc\x12\xac\xa6\x5c\xa4\x7a\x84\x94\x49\x85\x27\x34\xa1\x6a\xd1\x43\x29\x8e\xe6\xa6\x2d\x58\x03\xd9\x1b\xb1\x98\x3f\x33\xa9\x04\xc1\xbe\x77\xf7\x10\x7d\x1d\x3e\x33\x04\x20\xbf\xe9\x41\xda\x21\x4d\xb5\xba\x1b\x0c\xbf\xd8\x71\xb3\x27\xba\x11\x12\xa3\x09\x89\x70\x2e\xad\x87\x41\x89\x05\x22\x9f\xe7\x38\x97\xb0\x77\x7a\x7a\x36\x67\x23\xe2\x69\x96\x10\x45\x10\x9d\x22\x25\x28\x89\x11\x9e\x61\xaa\x97\xee\x8e\xac\x00\x41\xf7\x44\x6f\x37\xd0\x52\xfd\x2f\xa0\x7e\xa7\x5c\x10\x14\x13\x85\x69\xb2\xd2\xeb\x64\xbf\xed\xb8\xdc\x7b\xe2\x72\xe5\x0d\x3f\x08\x36\x67\x40\xfc\xf7\x70\x69\x33\x6b\xba\x8f\x70\xb2\xe3\xfd\x7d\x6b\x07\xd5\xd1\xf6\xfb\xa2\x6d\xb3\x6b\x87\x43\xdc\xaf\x16\x83\xdd\xbe\xa2\x45\x51\xcd\xe2\x5d\xd1\xf4\x6b\x84\x05\x74\x0e\xe7\xce\xe1\xdc\xb8\x32\xef\xd3\xe1\x7c\x30\x1e\xa3\xce\xe7\xfc\x42\x3e\x67\x2a\x3b\xa7\x73\xe7\x74\x6e\xbb\x40\x9d\xd3\xb9\x73\x3a\xbf\x5f\xa7\xf3\x4b\xe2\x3e\xef\x15\xdd\xf9\x5d\x89\xd6\x9d\x58\xdd\x89\xd5\x1d\x84\xb3\x9f\xda\xbe\x58\x98\xfb\xfa\x43\x4c\x12\xa2\x48\xb3\x3d\x8b\x88\x54\x6b\x0b\xe6\x7a\xa6\x4c\xcb\x71\x33\x41\xa4\xdc\x95\x21\xf9\x86\xdf\x27\x5b\xf2\xc3\xef\xa0\xe6\x3b\x3e\xd5\xf1\xa9\x6d\xa6\x76\x38\xa6\xd9\xe0\x30\xbf\x96\x6d\xd6\xf3\xdf\x2c\x6f\x96\xfe\x1e\x8c\x1b\xb2\xf0\x8b\x1a\x0a\xd7\x52\xbb\xe2\xfe\x70\x5b\x3a\xdf\x91\x1f\x9b\xbe\xde\x27\x33\x36\x63\xef\x38\x71\xc7\x89\x3b\x4e\xfc\xbe\x39\xb1\x3b\xc9\x6f\xea\x22\x33\x7e\xba\x71\x96\x60\x36\xa6\xb1\x3c\xf9\x67\xa1\xcb\xbf\x94\x87\x4c\x1f\xa8\xd8\xa4\x98\xfa\x94\x4e\xf1\x8b\xfe\x24\x29\x0c\xe6\x1e\x33\x73\x8d\x13\xcd\xd8\xd8\x6f\x12\xcc\x86\xf1\xbb\xf0\xa3\xd5\xce\xfe\x35\x7c\x6a\xbb\xf0\x71\xac\xc0\xd3\x81\x29\x33\x26\xbc\x22\xaf\xb6\x64\xa0\x3c\x8c\x13\xbe\x0b\x57\x0f\x26\x16\x30\x76\xc7\xaf\x83\x45\x39\xbc\x69\x77\x7e\x9d\x2e\x97\xb0\xf3\x5c\xb4\x9c\x70\xe7\xb9\x38\x5c\xcf\xc5\x5b\xb9\x23\x5f\xf9\x78\xbe\x96\x58\xd7\x3e\x08\xdf\x44\xab\x41\x50\x6b\x9e\x25\x1c\xc7\xab\x5c\x31\x85\xe0\x15\x82\xa3\xac\x8d\xc4\x2f\x3e\x7b\x0f\xc2\x5a\x31\xda\xdf\x58\x24\xdf\xf2\xc4\x0f\x45\x4b\x79\xc5\x50\xbe\x7a\x12\xdf\x40\x25\x79\x1f\xf8\xa9\xc5\x78\xbb\xd0\xbe\xce\xa2\xf4\xf6\x16\xa5\x2e\xb4\xaf\x53\x01\x0f\x4c\x05\xec\x42\xfb\xba\xd0\xbe\x4e\x41\x5e\x3d\xed\x4e\x41\xfe\x22\x42\xfb\x5a\x89\xda\x2f\x88\xbd\xb9\xbb\xd0\xdd\xc9\xdc\xee\xbd\x4e\xe6\xee\x64\xee\x2f\x54\xe6\x3e\x8c\x15\xee\x04\xee\x4e\xe0\xee\x04\xee\x4e\xe0\xee\x04\xee\xbd\x2f\x63\x27\x70\xbf\x66\x81\xce\x7a\xa9\x7b\x4d\x92\xcd\x7b\xf5\xe5\x74\xe2\x76\x27\x6e\x1f\xb6\xb8\x7d\x30\x13\x7a\x3f\x65\x1e\xdb\xcd\xa7\x2b\x52\xde\x15\x29\xef\x8a\x94\xbf\x78\x91\x72\xf7\x75\x8b\x8c\x0f\x7b\xb8\x14\x56\xb9\x34\x80\x8f\x82\xcc\xa8\x54\xc0\xfe\xdb\xc8\x2b\xeb\x13\x3d\xde\xab\x9c\xd2\xa5\x7a\xf8\xa7\x9d\xd4\xd2\x49\x2d\xbf\x51\xa9\xe5\x80\x62\xc1\x0e\x22\x63\x25\xc5\x2a\x9a\xe3\x49\x42\xc6\xde\xe8\x23\xdb\xea\xc1\x17\x54\x2a\x89\xa2\x5c\x2a\x9e\x36\x5f\x2e\x97\xae\x87\xbe\xef\xe0\x8c\xb3\x29\x9d\xe5\xe6\x6e\x31\xe0\x9c\xc1\x89\x2e\x24\xc1\x45\x46\xd6\x79\xaa\x6a\x5a\x7f\x17\xd7\x52\xfd\xd0\x5f\xeb\x76\xda\x44\x70\x2f\x8c\x7c\x56\xea\xd6\xb2\xd6\xf8\x76\x70\x77\xfd\x70\x7b\x36\x38\x45\xfd\x2c\x4b\xa8\xb1\xbb\x1b\x52\xa0\xbf\xea\x49\x21\x85\xe5\x63\xb1\x97\xc2\x90\xb9\xc1\xb0\x05\x43\xbf\x96\x8d\xd1\x11\x3a\xbb\x78\xb8\xbb\x1f\xdc\x36\x34\x68\x09\x05\xf2\x56\x49\x9a\x25\x58\x91\x18\x3d\xe6\x13\x22\x18\xd1\xd2\x8e\x45\xba\x2d\xcc\xff\xa6\xd1\xc1\x7f\x0f\xce\x1e\xee\x87\xd7\x57\xe3\xbf\x3e\x0c\x1e\x06\xa7\xc8\x51\x9c\x6e\x56\x8f\x4b\x8f\x22\x5e\x30\x9c\x6a\x0d\x44\xff\x50\x64\xca\xfe\x23\x27\x39\x41\x58\x4a\x3a\x63\x29\x01\x44\xe0\x52\x8b\x6e\xc0\x17\xfd\xef\x06\x17\xe5\x96\xe7\x24\x84\xdf\x45\x09\x9e\x90\xc4\xfa\x23\xc0\xc4\xae\x09\x3d\x80\x2a\x36\x8e\x8a\xdc\xac\xea\x5f\x1f\xfa\x17\xc3\xfb\x9f\xc7\xd7\x1f\xc7\x77\x83\xdb\x1f\x87\x67\x83\xb1\x95\x2a\xcf\xfa\xba\xdf\x52\x4f\x56\xf8\x44\xff\xc8\x71\xa2\xb5\x13\x3e\x75\x78\xbc\xe8\x79\x4e\x18\xca\x19\x50\x9c\x51\x79\xb4\x1e\xe4\x3b\xd5\xa7\xcc\xcc\xe8\xe6\xe2\xe1\xd3\xf0\x6a\x7c\xfd\xe3\xe0\xf6\x76\x78\x3e\x38\x45\x77\x24\x01\xa5\xc0\x2d\x3a\xec\x62\x96\xe4\x33\xca\x10\x4d\xb3\x84\xe8\xd5\xc0\x36\x9b\x78\x8e\x9f\x28\x17\xf6\xe8\xce\xe8\x13\x61\x66\x1d\xe1\xcc\x42\xfb\x4e\xf8\x1e\x07\x4b\x77\x7d\xf5\x71\xf8\xe9\x14\xf5\xe3\xd8\xcf\x41\x42\x1b\x25\xca\x71\xb0\xce\x47\xe5\x61\x6b\xe6\x00\xdd\x1b\x22\xe2\x4f\x44\x08\x1a\x93\x0a\x1d\xf5\xef\xee\x86\x9f\xae\x2e\x07\x57\xf7\xb0\x62\x4a\xf0\x44\xa2\x39\x7f\x06\x53\x36\xcc\x10\x2c\xdc\x4f\x98\x26\xd0\x99\xdb\x2c\xce\xd0\xf3\x9c\x82\xfb\x03\x80\x99\x7d\xcf\x46\x3f\x13\x39\x7b\x73\xeb\x6c\xe9\xe0\x2d\xab\x2d\xd5\x93\xb4\xfc\x46\xe5\x58\xac\x7a\xa1\x44\xe5\xcb\x2f\xae\xa3\xd6\xe5\x2f\x2a\xe4\xd6\xac\xac\x2d\xd1\x4b\xf3\x4c\x8b\xbd\x6e\xad\xab\x95\xd7\xf0\xf5\xae\x59\xa2\x04\x8d\xe4\xcb\x42\x3d\x89\x9c\x29\x9a\x12\x64\x3b\xb3\x87\x73\x8f\xf0\x4f\x97\xa6\xe1\xf7\x70\xc1\x2e\x95\x72\xf8\x44\x94\x1d\x7e\xa7\x02\x76\x2a\xe0\x61\xa8\x80\xef\x2d\xdb\x3f\x26\xd9\x72\x87\x95\x89\xc1\x3b\xc6\xeb\xb5\x14\xa4\x61\xec\x89\xd6\xa2\x9a\x90\x27\x92\x80\x94\xa7\x04\xd6\x4a\xa3\x95\x5d\x26\x82\xe0\x47\x2d\xf0\xc5\xfc\x39\x94\x5c\x6a\x90\xfb\xd1\x7e\x6e\xe1\x36\x41\x1c\x7f\xfa\xe3\xeb\x5d\x16\x7a\xb9\xe3\xd7\x28\xe1\x7d\x0b\x41\x32\x2b\x31\x02\x83\x04\xfb\x5f\xac\x25\x78\xcd\x6d\x11\x7c\xf1\x1e\x2e\x8a\x70\xb8\x07\xa4\x75\xdd\x86\x4a\xb0\x63\xa1\x29\x51\x38\xc6\x0a\xeb\x43\x33\x23\xea\x18\x5d\x33\x78\x76\x8f\xe5\x63\x0f\xb9\x2b\x4f\xb3\x95\xc2\xca\xf0\x0a\xa9\xf5\xef\xc4\x80\xbf\x39\x1f\xef\xae\xef\xee\xfa\xae\x5f\x99\x2e\xcc\xb3\x61\x85\xf7\x75\x31\x6e\xe4\xf3\xda\xdf\xfd\x65\x5a\x7c\xbf\x57\xd8\xeb\x3a\xb9\xf6\x7a\xa1\x99\xca\x59\xdd\x6d\x65\xfe\xaf\xbb\xad\xba\xdb\xaa\xbb\xad\x0e\x60\x85\xdf\xdc\x61\x58\xc3\xdd\xdf\xd4\x63\xb8\x4e\x3b\xdd\x1a\xf2\xae\xd0\x46\x37\x01\xbd\xfb\xa5\x2d\xb6\x5d\xf1\x0d\x7d\x1f\x3e\xc2\x60\x92\xaf\x91\xd6\xb6\xd7\xcb\xdc\xe4\x8b\x74\xfa\xe9\x0b\xde\xf8\x1d\x02\xe1\x5e\x11\x08\x0f\x63\xae\x2f\x92\x02\xf7\x36\x16\xd3\xb7\x4f\x7b\xeb\xa0\x06\xbb\xc4\xae\x2e\xb1\x0b\x7e\xef\xa0\x06\xf7\x47\xad\x2f\x2b\x5d\xf3\x98\x8c\x2b\x51\x02\xfe\x9f\xe3\xaa\xe7\xa7\xf4\x24\x74\x03\x95\x1e\x14\x99\x6e\xd0\x3a\x8d\xf7\x59\x44\xea\x8a\xc7\xa4\x75\x24\x41\xe9\xe5\x03\x97\xc1\xdd\x3c\x8d\x2c\x5e\x1a\xf8\x0b\x4b\xe2\x0d\x5b\xfe\x25\x1a\x76\x6a\x08\xb8\xb3\xf2\xac\x5d\xa8\x2f\x35\xbe\xa0\xe0\x50\xef\xc8\x53\xd1\x8e\x8d\xbb\x98\xc6\x71\x03\x33\xaf\x7f\xee\x59\x7a\xfd\xe3\x97\xc1\x0c\x6a\xcf\xd1\xc1\xac\x12\xbe\xfd\x3e\xec\x2a\xe1\x88\x5f\xc3\xb2\xb2\x72\xef\xbf\x38\xae\xbe\x8a\x92\x3b\xde\xde\x72\xb9\xbe\x54\x0e\xdf\x41\xfc\xac\xb2\x75\x74\x18\x3a\x9d\xa9\xe5\x70\x26\xdc\x99\x5a\xde\xb5\xa9\xc5\xb8\x68\xc7\x19\x16\x84\xa9\x1a\x91\xba\x7a\x9d\xc0\xeb\x21\xe6\x82\x93\x3a\xa0\x01\xa4\x25\x5a\x64\x2f\x64\x7f\x55\x7d\x59\xb6\x17\x2b\x18\x04\x99\x90\x27\xff\x2c\xfe\xf6\xc2\x7a\xa9\x02\xc4\x8a\xe8\x24\x83\xf5\x2f\xf5\x1d\x9d\xdb\x40\xa5\xdd\x73\x25\xb1\x2a\x89\x82\x10\x44\xbd\x36\x9e\xe9\xc6\xbc\xfd\xbe\x52\x24\x97\x06\xfd\xba\xb1\x4d\xcb\x1b\xdf\xee\x00\xb9\x9d\xa1\x26\xdd\x2f\xc8\x29\xd3\xd2\x28\x9f\x16\x17\x83\x44\xcf\x34\x49\x00\x51\x04\x32\x1e\x9b\x6e\x80\xdf\x5c\xc4\x43\xe3\xce\xbf\x69\xdc\x43\x1d\x77\xa8\x63\x09\x6d\xec\xa9\xfb\xca\x99\x76\xc4\x06\xe9\xac\xa0\x0d\xad\x31\xc0\x7e\x19\x9c\xe0\x13\x51\xaf\xc5\x06\xb6\x3d\xfb\x2b\xcf\xbd\x20\x53\x22\x08\x8b\xc8\x01\x7a\xdb\x37\x09\x03\xf9\xc9\x4c\xd2\xc6\x80\x78\x28\x81\x70\xaa\x8a\x5b\x3d\xad\x24\xea\x76\x99\xe4\x5d\x26\x79\x97\x49\x5e\x3d\xea\x5d\x26\x79\x97\x49\x5e\x9b\x03\x11\x93\x84\x28\xd2\x28\x55\x9c\xc3\xe3\xb7\x92\x2a\x4c\xef\x5f\x86\x60\x61\xe6\xd2\xc9\x16\xbf\x19\xcd\xc2\x6d\xf8\x41\x68\x16\xe6\xac\xad\x33\x3f\x94\x7e\xac\x09\xb1\x7e\x75\x93\xc4\x36\x4c\xa3\x64\x97\x38\x87\xd7\xdf\x25\xeb\xa8\x0e\xbd\xb3\x51\xa0\x60\xeb\x5e\x8e\x93\x2c\x1d\x81\x76\x13\xb7\x1e\xc3\xf7\x3b\xef\x43\xe1\xa0\x4d\x74\x7f\xa8\x7c\x74\xeb\xa4\x94\x43\xb1\xd8\x7c\x41\x3c\xb2\xb3\xde\xbc\x71\xae\xc4\x12\x33\x7c\xb7\xd3\xed\x8c\x55\x9d\xb1\xaa\x33\x56\x75\xc6\xaa\xce\x58\x85\x3a\x63\xd5\xc6\xc6\xaa\x2f\x48\xa6\xea\x0c\x57\x9d\x58\xb5\xbf\xe9\x1e\xaa\x96\x79\x48\xd6\xba\xd6\x28\xe9\x45\x0e\xd5\xda\xc8\x7b\x3b\xed\x5f\xd6\x84\xdc\xdf\xb8\x11\xbc\x1f\x7e\x25\x5f\x9a\x25\xed\x12\x58\xec\x76\xf4\x8b\x8d\x2b\xee\x4a\x87\xd6\xae\x55\x17\xf6\xbc\x62\x71\xba\xb0\xe7\x2e\xec\xf9\xe0\xc2\x9e\xf7\xae\xac\x64\x5c\xae\x02\x24\x32\xa5\xb3\x56\xe6\x3f\xbb\x3b\x1b\x12\x8d\x80\x14\x0c\xca\x71\x4c\xb2\x84\x2f\xc0\x92\xb2\xe2\x3a\x77\x5d\xdc\x2c\x49\xd4\x87\x7e\xa3\xbb\x91\xbf\x96\xce\x71\x28\x32\x69\x31\xef\x83\x90\x42\x4f\xfe\x59\x49\xe7\x6f\x85\x97\xc9\x10\xf9\x4c\x25\xdc\x4a\xeb\x09\x7b\xc4\xea\x9f\x04\xa5\x0b\xed\x3d\x38\xc9\x55\x90\xbb\x27\xb5\x60\x95\x11\xa1\x16\xc1\x9b\x24\xcd\xd4\xe2\xbf\x46\x8c\x2a\xef\x61\xa3\x33\xc6\x85\xe1\x6a\xfa\xe3\x39\x66\x71\x42\x84\xbe\x54\x5d\x3b\x11\x66\x8c\x2b\x10\x37\x60\x06\x31\x7a\xa2\xd8\x08\x27\xfd\x9b\x61\x6b\x3f\xf3\x3b\x3a\x5d\xaf\x5d\xac\x6e\xcd\x5d\xf7\x29\xe1\x13\xa8\x60\x99\x97\x75\x7a\xdd\x40\xe7\x19\x2d\xed\xdc\x5b\x31\x04\x85\xe5\x63\x15\x38\xa4\x9c\x85\x3e\x5e\x09\x25\xb2\xe6\xdd\x12\xc6\xfc\xea\x57\x2b\x70\x23\xe5\x67\x16\x80\x04\x1e\xc3\x90\xab\xe3\x70\x3f\x86\x1d\xba\xdf\x8a\x96\xdd\x2f\xae\x74\x37\xfc\x28\x88\x12\x8b\x31\x56\x4a\x33\x99\x7d\x62\x9c\xdc\x63\xf9\xd8\x1a\xe3\xa4\xf4\xf2\x81\xb3\x9c\x12\xc6\x49\x79\xe0\x2f\xce\x72\x5a\x52\xe7\x1a\xce\xf4\xfe\xf2\xe3\xdb\x9e\xb5\x0d\x26\xfe\x5b\xc9\x95\x6f\xc7\x7b\xd6\x99\x69\xdf\x63\xde\xfc\x2a\x66\x7a\x30\x23\xac\xf0\xf3\x2f\xf1\xe4\x96\x6f\xa7\xee\x88\xae\x5a\xa3\x2f\xae\x10\x6e\x45\xe8\x58\x33\xb7\x77\x52\x10\xb7\x2a\x37\xed\x7b\x54\x2f\x63\xe6\x0e\x76\x63\x93\x18\xa0\x61\x19\xad\xdc\x9f\x21\x17\x15\x54\x94\x9e\x9d\x43\xa2\x35\x95\x61\x42\x7c\xc4\x85\x91\xbc\x62\x7b\x66\x8d\xd9\xce\x80\xf9\x9e\xa2\x3e\x8a\x6d\x6d\x7e\x41\x32\x41\x24\x61\xca\xa8\xda\xa6\xde\x95\x2b\xef\x4f\x99\xb5\x10\x9d\x63\x85\xcf\xb0\xc2\x09\x9f\x1d\xa3\xbe\x2f\xec\x4f\x25\xc2\x89\xe4\x08\x3b\xc2\x21\xb1\x6b\x02\xb3\xd8\xb1\x07\x8c\x22\x9e\x66\x34\xf1\x48\xed\xde\x8a\x4f\x59\x4c\x9f\x68\x9c\xe3\xc4\x23\x63\x8f\xd8\xe0\x89\x30\x95\x83\x0a\x87\x93\x04\xd9\x6e\xdd\x0b\x81\x7e\xee\x46\x29\x69\x4a\x13\x2c\x90\xe2\x76\xb4\xd7\xb6\x2d\x74\x3f\x27\x7e\xac\x0e\x05\x1c\xa5\xf8\x91\x48\x44\x15\xca\xb8\x94\x74\x92\x14\xc7\xf8\x61\x88\x60\xdc\x67\x17\x43\x30\x8d\x46\x0a\x71\xc3\x07\x5d\xe7\xd6\x4f\xe0\x7a\x4c\x31\x63\x04\x3a\xe6\x6a\x4e\x84\xed\xde\xbe\xfc\xd6\x56\xce\xb7\xc6\x88\x6e\xb6\x98\x86\x23\x7b\x3b\xa5\xb3\xb5\xc6\xd9\x56\xdd\x6c\xa7\x6b\x36\x2b\x9a\x2f\xe0\xa5\x6d\xaf\x0d\x5e\x50\x59\x56\x07\xdf\x85\xcb\xb6\x34\xe2\xd7\xc0\x47\xfb\x8d\x2a\x82\x9d\x16\xf8\x22\xeb\xf6\xa5\xaa\x80\x07\xae\xff\x75\xc8\x6e\x1d\x8a\x7d\x17\x80\xb1\xc7\xc5\xe9\x02\x30\xba\x00\x8c\x2f\x36\x00\xa3\x59\x9b\xa0\xf1\xce\xe9\x7a\x1b\x56\x90\xf2\x46\x01\xf1\x0b\x88\x52\x58\x3e\xb6\xad\x29\xa5\x45\xe5\x61\xfc\x2e\xa4\xfa\xda\x09\xbf\x86\x74\xdf\xd5\x29\xda\x6b\x9d\xa2\x83\x9b\x76\x27\xf8\x75\x82\x5f\x27\xdb\xb4\x9c\x70\x27\xdb\x1c\xae\x6c\xf3\x56\x0a\xcb\x97\x04\xa1\xab\x85\xa7\x52\x66\xcc\xca\x00\x5b\x03\x47\x03\xee\x81\x3c\x4b\x38\x8e\xd7\x05\xe1\xfc\x82\x0a\xb9\x66\x85\x68\x66\xda\xd5\x1f\x1c\xb8\x64\xb6\x14\x7f\x63\x46\xfe\x5b\x88\xa9\x6d\x9c\xfa\x9b\x86\xd5\x02\xfd\x42\x30\x59\x29\x28\xed\xa5\xb4\x90\x2a\x4d\xb7\x52\x38\xe4\x1f\x0f\x9c\xaa\xfd\x96\xbe\x86\x7a\xf1\x05\x3b\x08\x3a\x27\xc0\x6f\xb3\xf0\xf9\xc1\x48\xad\x9d\x6a\xd7\x65\x55\x76\x46\xfd\x4e\xf1\xed\x14\xdf\xbd\x2f\xe3\x21\x29\xbe\x6f\x28\x51\x9b\x34\x91\x17\x29\x63\xb8\x9d\x6c\xdd\x89\xd6\x9d\x68\xdd\x89\xd6\x5f\xac\x68\x7d\x18\x2b\xdc\xc9\xd5\x9d\x5c\xdd\xc9\xd5\x9d\x5c\xdd\xc9\xd5\x7b\x5f\xc6\x4e\xae\xae\xc8\xd5\xf0\x97\x4b\x93\xde\x54\xc8\x6e\x2d\x5c\xb7\xc8\x89\x7e\x2f\x92\x75\x27\x55\x77\x52\xf5\x61\x4b\xd5\x07\x33\xa1\x2f\x2f\x11\xb2\x4b\x25\xec\x52\x09\xbb\x54\xc2\xb7\x48\x25\x74\xbc\x64\x95\x84\xb2\x2c\x58\xfc\xb8\xc4\x81\x0e\x56\xb6\x28\x46\xbb\x6d\x78\xc7\xbe\x96\xda\x01\xcd\x6f\x53\x69\xaa\xf4\x9b\x6b\xe8\x80\xea\x4f\xf5\x9c\xb4\xa0\x19\x85\x1b\xdf\x7a\x84\xb0\x9f\xec\x9b\xef\x0b\x0c\x7c\x79\xd4\x5d\xfd\x29\x14\xec\x5a\x57\x7f\xea\x05\xe7\xed\x0e\xd7\x9a\x99\x3b\x1a\x35\x36\xde\x77\x3a\xed\x37\x07\x97\x6b\x3e\xe9\x6f\x1a\x2e\x57\x7b\x93\x2c\x25\xef\x9c\xfc\xb3\xf6\xa2\x78\x83\xb2\x5b\x1b\xdf\x0e\x9f\x88\xfa\x52\xae\x86\xae\xec\x56\x57\x1f\x62\x4f\xd3\xdd\x8a\xf5\xbf\xdb\xd9\x76\x45\xc6\xba\x22\x63\x5d\x91\xb1\xae\xc8\x58\x57\x64\x0c\xfd\xc6\x8b\x8c\x6d\x2c\x3e\x9a\x71\x7c\x29\x12\x64\x57\x64\xac\x13\x22\xf7\x37\xdd\xdf\x96\x10\x79\x80\x16\x84\x83\xa8\xa6\xe6\x2d\x08\x6f\x8e\xfb\xe1\x46\xd2\x16\xfb\xc3\x2d\x68\x87\xff\x61\xff\xaf\xc3\xff\xe8\xf0\x3f\x1a\x66\xdd\x05\xb3\x76\xf8\x1f\xa8\x0b\xd7\xec\xc2\x35\x0f\x39\x5c\xb3\xc5\x36\x76\xf8\x1f\x2d\xc5\xb9\x17\xc2\x00\x71\x32\xd7\x46\x38\x20\x3f\x2d\x2b\x1a\x07\x2b\xa5\xb9\xb1\xfe\x76\x70\x40\x6a\xa7\x7d\x10\x2a\xc9\x2b\xe2\x80\xd4\xd1\x75\x6b\x05\xe4\x7d\xe0\x81\xb8\xd1\x76\x89\x8b\x5d\x88\xf5\xe1\x87\x58\x1f\x5c\xe2\xe2\xc1\x48\xb2\x9d\xba\xd7\xe5\x2e\x76\xb9\x8b\x9d\x32\xdc\x29\xc3\x7b\x5f\xc6\x43\x52\x86\xdf\x58\xc2\x7e\x41\x5c\x90\xdd\x64\xed\x4e\xd4\x36\xef\x75\xa2\x76\x27\x6a\x7f\xa1\xa2\xf6\x61\xac\x70\x27\x67\x77\x72\x76\x27\x67\x77\x72\x76\x27\x67\xef\x7d\x19\x3b\x39\xfb\xd5\x70\x42\xea\x84\xed\x96\xf9\x36\xef\x49\xd2\xee\xa4\xec\x4e\xca\x3e\x6c\x29\xfb\x60\x26\xd4\x61\x86\x74\x98\x21\x1d\x66\x48\x87\x19\xb2\x95\x7c\xf3\x6f\xf6\x58\x7e\x08\x6e\x62\x7f\x65\x7f\xf8\x2e\xe1\x93\xfb\x45\x46\xf4\x7f\xcf\x69\x4a\x98\x04\x69\x94\xaa\x45\x28\xcf\x34\xac\xfc\xf2\x9a\x7f\xb8\x1b\x5e\x7d\xba\x08\xb3\x69\x3e\x5c\x3e\x5c\xdc\x0f\x6f\xfa\xb7\x7e\x5d\xfc\xac\xc2\xb5\xb0\xdf\x95\x44\x32\x4b\xf2\xb7\x44\xeb\x9e\x70\x6a\xee\x14\x56\xb9\xdc\x6e\x64\xb7\x83\xbb\xc1\xed\x8f\x90\x0d\x34\x3e\x1f\xde\xf5\xbf\xbb\x28\x11\x44\xe9\x79\xff\xec\xaf\x0f\xc3\xdb\xe6\xe7\x83\xff\x1e\xde\xdd\xdf\x35\x3d\xbd\x1d\x5c\x0c\xfa\x77\xcd\x5f\x7f\xec\x0f\x2f\x1e\x6e\x07\x2b\xd7\x63\xe5\x68\x57\x2b\x21\x12\x16\x09\xe2\xfc\x51\x64\xb9\x86\x28\xd6\x10\x79\xf1\xd1\xb1\xc3\xba\xbe\x4e\xd1\x83\xd5\xe9\xa9\x6d\xdc\x30\xd8\xa0\x21\xa3\x8c\xc4\x54\xe2\x49\x42\xe2\xa5\x96\xdc\x1a\x36\xb5\x84\x4b\x83\x7a\xd6\xda\xb3\x17\x39\x35\xcf\x8b\x0c\x2f\x40\x90\xa3\xa8\x08\x8b\x6b\xfa\x30\xfb\xd0\xd8\x03\xd3\xbc\x8b\x3e\x91\x52\x4f\x51\x2e\x04\x61\x2a\x59\x20\xf2\x99\x4a\x25\x97\x1a\x75\xdb\xd7\xd4\xac\xbd\x53\x7d\x83\x73\x2c\xd1\x84\x10\x56\x1e\xbf\x20\x09\xc1\xb2\x66\xcc\x76\xf7\xdb\x2d\x8b\xdf\x2b\x6b\x8d\x31\x97\xd1\x14\xd3\x24\x17\xa4\x72\x5a\x78\x9a\x61\x41\x25\x67\x83\xcf\xfa\x2e\xd3\x07\xf9\x1a\x3e\xe7\x62\xbb\x13\x33\xf8\x6b\x48\xc1\x57\xe5\x7f\x7e\xba\x2f\xff\xab\x74\xe6\x2f\xee\xcb\xff\x5a\x4d\xeb\x41\xc3\x55\xca\x3e\x42\x9f\xee\x4f\xd1\x27\x08\x71\x12\xe8\x7e\x8e\x0d\xc5\x5e\xdc\x9f\xa2\x0b\x22\x25\xfc\x52\x7c\xac\xa8\x4a\x60\x6e\xdf\x51\x86\xc5\x02\xb9\xe9\x9b\x44\x57\x1c\xcd\x11\xf1\x4b\x53\x5d\x3c\xf6\xf7\x9c\x81\xea\x5e\xac\xde\x05\x9f\xd1\x08\x27\xbb\x2d\x62\xff\xaa\xc4\x07\xae\x6f\x57\x2e\x45\xf8\xf6\xf2\x5a\xf4\xaf\xce\x21\x89\xd4\x0d\xb5\x66\xe6\x57\x44\x6a\x22\x89\x38\x8b\xad\x97\x46\xdf\xfe\x8b\x40\xa8\xff\x3b\x87\x44\xdc\x5c\x52\x36\xd3\x2d\xa2\x13\x74\x7d\x3b\x62\xd7\x22\x36\x86\x50\xa2\xa5\x61\x43\x73\x54\x22\xc6\x15\xa2\x69\xc6\x85\xc2\x4c\x69\x45\x00\xc4\x00\xbb\x22\x86\x03\x9c\xf1\x34\xcd\x15\xd6\x07\x6d\x69\x51\x99\x31\x87\xdc\x11\x35\x8c\xc1\xb5\x52\xb3\x86\x46\x4e\x28\xe6\x92\x09\xdd\xbe\x96\x51\xca\x3a\x34\x8d\x97\x54\x59\xd7\x04\x16\x02\x97\xa5\x89\x0f\x54\x91\xb4\xfa\x7e\xcb\x20\xcf\x7f\xd5\x1a\x08\xce\x4c\x52\x05\x11\x7d\x11\xcd\xa9\x22\x91\xd2\x47\x70\x2b\x9a\x78\xb8\xfa\xe1\xea\xfa\xa7\x50\x82\xf8\xd0\xbf\x3c\xff\xf3\x7f\x94\x7e\xb8\xbd\x5c\xfa\x61\xfc\xe3\x9f\x97\x7e\xf9\xff\xad\xa4\xa7\x6a\x4f\x4b\x7a\x7e\x30\x97\x23\x10\xa9\xc1\x26\xec\xa6\x8a\x68\x8a\x67\x04\xc9\x3c\xd3\x14\x20\x8f\xcb\xfb\xab\x45\xca\x0b\x8e\x63\xca\x66\x26\x03\xf4\x82\x2a\x22\x70\x72\x89\xb3\x8f\xce\x7e\xbd\xc5\xea\xfc\xdf\xbb\x52\xbe\xee\x87\x9f\xfb\x97\x61\xc6\xef\x87\x9b\xdb\xeb\xfb\xeb\x95\xb3\x2e\xb5\xb0\x7c\x8c\xf4\xe3\x53\xf8\x5f\x74\x82\x74\xeb\x5e\xf2\x4d\x89\xc2\x5a\x23\x40\x5f\x9b\xa4\x39\x9f\x48\x43\x59\x02\xa7\x26\x13\x34\xa5\x70\xa5\x18\x0b\xde\x37\x46\xb8\xf6\xda\x83\x3f\x37\xe6\x03\xd0\x96\xdd\xa5\xcc\x62\x2c\x62\xf4\x77\x59\x4d\x1f\x07\xc3\xb1\xf9\x81\xc4\xe8\x08\xcd\x95\xca\xe4\xe9\xc9\xc9\xf3\xf3\xf3\xb1\x7e\xfb\x98\x8b\xd9\x89\xfe\xe3\x88\xb0\xe3\xb9\x4a\x13\x93\x2e\xaf\x57\xe1\x14\xdd\x08\xae\xaf\x10\x50\xd0\x89\xa0\x38\xa1\xbf\x92\x18\x4d\x0c\xff\xe3\x53\xf4\x4b\xc4\x05\x39\x2e\x36\xc6\x1a\x95\xec\x3d\x62\x0d\x4f\x27\xfa\xa5\x1a\x66\x52\xdd\x4f\x14\x93\x88\xc6\x56\xcc\x20\x2c\xe2\x60\x79\x34\xbe\x0a\xdd\x9e\xcb\x34\xd4\x1a\x4d\x96\xab\x62\x39\x03\x65\x05\xc7\x24\xc8\x76\x57\xbc\x4c\x70\x5a\xf1\x19\x1a\xb5\x35\xd7\x2a\xba\xbe\x5b\x31\xdc\xaa\xee\xd5\x4c\x4f\x38\xe2\x09\x9a\xe4\xd3\x29\x11\xa1\x43\xba\xa7\xb5\x19\x2a\x91\x20\x11\x4f\x53\x90\x18\xf4\x57\xb9\x34\x54\x0d\x2b\x66\x47\x7b\x3c\x62\xb0\xff\x5a\xcd\x01\x0a\x88\x39\xb0\x3a\x46\x48\x8c\x30\x5b\x98\x6e\x26\xf9\x34\x6c\xdf\xc0\x50\xe0\x18\x51\x35\x62\xfd\x24\x41\x82\xa4\x5c\x91\x20\x87\x12\x9c\x67\xe5\x05\x07\x16\x29\x48\x96\xe0\x88\xc4\x86\x1e\x12\x1e\xe1\x04\x4d\x69\x42\xe4\x42\x2a\x92\x86\x0d\x7c\x0d\xb6\x1a\xbd\x66\x54\xa2\x98\x3f\xb3\x84\x63\x3b\x8f\xea\x67\xdf\x94\x4f\xe3\xc0\x41\x04\x0c\x84\xe0\x02\xfe\xe7\x07\xca\xe2\xbd\x71\xa8\x87\xbb\xc1\x6d\xf8\xef\xbb\x9f\xef\xee\x07\x97\x9b\x71\x1f\x4f\x59\x30\x3c\xd0\xe1\x4f\xd1\x9d\x59\x04\x2e\xb4\x44\x24\x1a\x26\x75\x69\x49\xa9\xf8\x81\xc7\x5b\x72\xdf\xcb\xfe\xd5\x43\xbf\xc4\x51\xee\xce\xbe\x1f\x9c\x3f\x54\xf4\x01\x3b\xbf\x92\x0c\x6f\xd4\xbf\xf0\xb7\xb3\xef\x87\x17\xe7\xe3\x1a\x85\xf1\xc3\xed\xe0\xec\xfa\xc7\xc1\x6d\xa1\xdb\xd5\x2e\x51\x65\x30\x55\x66\x75\x6f\x98\xd2\x9c\xc7\x68\xb2\xa8\x07\x84\xd0\x92\x73\x02\xbe\xd8\x02\x12\xc5\xb4\x7a\x0a\xbc\xc9\x61\x73\x14\x5f\xa4\x3c\x26\x3d\xfb\x0e\x20\x69\x18\xe3\x8a\x91\x98\xeb\x1b\xd6\xbd\x63\x16\x18\x2a\x0c\xc8\x85\x5f\xb8\x53\xd4\x47\x52\xbf\x98\xeb\x43\x2d\xe8\x6c\x06\x86\xc3\xca\x50\x4d\x6b\xf6\x53\x58\x5e\xf8\xce\xec\x7f\x26\x38\x9c\x73\xdd\xad\xb5\x38\x7b\xab\x84\xf9\x10\x50\x57\xca\x2d\x0a\x0c\x06\x87\x9a\xa1\xb9\xcd\xd2\x8b\xd0\xb8\x5e\xe6\x3c\x1a\x7b\x91\x3e\x5c\xc0\xb6\xa4\xb1\x77\x66\x82\x3c\x51\x9e\x07\x9f\x5a\x60\x8f\xd2\x8e\xd7\x36\x5f\x2c\x00\x2c\x9b\x31\x8a\x54\x9a\xf1\xe4\x51\xdb\x82\x66\x61\x4f\xd0\xc2\x54\xf0\xb4\xa6\x8d\xf2\x31\x19\x5e\xdf\x29\x81\x15\x99\x2d\xce\x2d\xcb\xd8\xfe\x78\x9c\x5f\xff\x74\x75\x71\xdd\x3f\x1f\x0f\xfa\x9f\xca\x27\xde\x3f\xb9\xbb\xbf\x1d\xf4\x2f\xcb\x8f\xc6\x57\xd7\xf7\x63\xf7\xc6\x4a\x92\x6f\xe8\x60\xf9\x9e\x2e\xbf\x78\x8a\x34\xcb\x05\xd6\xe8\x00\xef\x02\xfe\x38\x21\x53\x2e\x0c\x9f\x4f\x5d\xe8\x82\x15\x61\xdc\xda\x5a\x5d\xac\x32\x8b\x53\xb0\x8c\xd5\x35\x69\xac\xde\x4a\x10\x9c\xc2\x3d\x81\x19\x1a\xb0\xf8\xe8\x7a\x7a\x74\x67\x7e\x4c\xb1\x78\x24\xc2\x7f\xfa\x2c\xa8\x52\x84\x95\x54\x3a\xec\x86\xec\x95\xc4\xa2\x83\x63\x74\xab\xf9\xbe\x7e\xdf\x5f\x6a\x9a\xd8\x63\xa2\x30\x4d\xa4\x1d\x6c\x69\x5d\x4f\xd1\x05\x16\xb3\xc2\x0e\xf7\x35\x9f\x4e\x4d\x63\xdf\x98\x61\xe8\x3b\xac\x34\x8b\x1a\xde\xab\x49\xc3\xdd\x8b\xd0\x9f\x7d\xd9\xcb\xc3\xcb\x54\xf5\x90\xed\x46\x53\x0f\x37\xb0\xe2\x46\x63\x2f\xe9\x86\xf6\x49\x0d\xad\xc1\xc4\xcd\xe3\xd5\x97\x4c\x7d\xdb\xcb\xe4\x54\x7e\xb1\x86\x9c\x4c\x2e\x95\xde\xf9\xa9\xd6\x36\x6b\x68\x89\x7c\xa6\xd6\x60\x10\x8e\xbb\x42\x42\x45\x33\x60\x5e\xc5\x59\x46\xb0\x90\x75\xbb\x5d\x16\x03\x1b\xf6\xde\xf4\x14\xf6\x61\x37\xd9\xf5\xd3\x43\x9c\x81\xc1\xc1\x0b\x11\x15\x8a\x6c\x41\x03\xa6\xad\x25\x0a\xb8\x01\xb4\xa5\x6b\x8b\x6c\x74\x49\xa5\x56\x1a\xcd\x8f\xdf\x59\xc8\xa5\xed\x08\xe2\x63\x7f\x78\x51\x11\x2e\xc6\xe7\x83\x8f\xfd\x87\x8b\xd5\x66\xc2\xd2\x77\xd5\x2d\x46\x47\x48\x3f\x2f\xfb\xcd\xe9\xd4\xdc\x19\x0e\x38\xca\xa8\xb4\x84\x81\xd1\xca\x42\xd5\x18\x7b\x75\x4c\xb2\x84\x2f\x52\xc2\xc0\xc4\x53\xba\x09\xf5\x7a\x4e\x31\xb5\x57\x4b\x30\x58\xb0\xe2\x58\xb3\x1b\x5c\x63\x47\x0e\xad\x8a\xc4\xfe\xe6\x2d\x83\x55\x55\x58\xf7\x8d\xf1\x9e\xd9\xff\xdc\x29\xac\xb6\x3c\x63\xfd\xb3\xfb\xe1\x8f\x83\xb2\x7e\x78\xf6\xfd\xf0\xc7\x3a\xa9\x66\xfc\x69\x70\x35\xb8\xed\xdf\xaf\x11\x4e\x2a\x4d\xd6\x09\x27\x52\x0f\xb8\xea\x3d\xa5\xd2\x47\x04\x45\x06\xf2\x0a\x51\x25\xd1\x13\x95\x74\x42\x01\x20\xcc\x7a\x22\x1f\x86\xc0\x59\x9f\x70\x42\x63\xaa\x16\x4e\x7c\x31\xfd\x96\xf7\x51\x73\x52\xdb\xbe\x31\x3b\x84\xfe\x49\xb0\xf2\x99\xcd\x71\x93\x3e\x45\xa0\xdb\x3e\x81\xd2\x16\x7c\xc6\xb4\x20\xcd\x66\x44\x98\xe1\x80\xf7\x25\x1c\x4b\xf0\x5c\x8f\x2a\x14\x56\x8a\x55\xf3\x42\xeb\x8c\x30\x22\x00\x04\xce\x77\x62\x04\x29\x41\xd8\x57\x5a\xe6\xca\x12\x1a\x51\x95\x2c\x50\x04\x36\x2c\x30\x67\xa6\x98\xe1\x99\x15\x0e\x40\xcd\xa9\x90\xc4\x5f\x0d\x8a\xda\xf5\xd4\x9a\xf6\xef\x29\xd9\xf2\x98\x3d\x5c\x9d\x0f\x3e\x0e\xaf\xca\x24\xf0\xfd\xf0\x53\x49\x84\xbd\x1c\x9c\x0f\x1f\x4a\xb7\xb9\x96\x64\x57\xcb\xf5\xd5\x66\x6b\x8e\xa2\x7f\xe9\x14\x9d\x9b\x4f\x4f\xf5\xe2\xd6\x40\xc4\x79\xe5\xb7\xb2\x0e\xb7\x2e\x24\xcf\xfd\x31\x60\x4a\xd4\xfa\x25\xda\x9a\x90\xac\x0f\xb2\x64\x43\xaa\x0f\x55\x58\xea\xfb\xaa\xea\x54\xae\x4e\xd9\xbd\x08\x41\x97\xc7\x85\x65\x29\x8c\x61\x00\xa3\x41\x93\x11\xab\xc6\xad\x55\x30\xec\x1f\xc1\x45\x9d\xe6\x52\x19\x57\x22\x10\x27\x7a\xfc\x8b\xd4\x0b\x0a\xae\xc6\x63\x74\x47\xc8\x88\x39\xeb\xc1\x8c\xaa\x79\x3e\x39\x8e\x78\x7a\x52\xe0\x13\x9e\xe0\x8c\xa6\x58\x4b\xd2\x44\x2c\x4e\x26\x09\x9f\x9c\xa4\x58\x2a\x22\x4e\xb2\xc7\x19\x44\xc0\x38\x77\xea\x89\x6f\x76\xc6\xff\xfd\xe2\x4f\xdf\x1e\x5d\xfc\xe5\xdb\x0f\xcb\x16\xb2\xa6\xfd\x1f\xb0\x08\x67\x32\x4f\x6c\xc4\x9c\x08\xd7\xc6\x1d\xf9\x9c\xac\xdb\xef\xab\xf2\x76\xed\xa6\xbf\x9e\xdd\x3c\x94\x2c\xd6\xe5\x7f\x5e\x0e\x2e\xaf\x6f\x7f\x2e\x71\xca\xfb\xeb\xdb\xfe\xa7\x12\x43\x1d\xdc\x7c\x3f\xb8\x1c\xdc\xf6\x2f\xc6\xee\xe1\x2e\xb6\xb7\x1f\x18\x7f\x66\xe5\xa5\x91\x8e\x03\x2e\xf5\x74\x8a\x3e\x72\x81\x7e\xf0\x3b\x79\x34\xc1\x12\xae\x18\x77\x67\xc9\x1e\xca\x78\x0c\x8c\x17\x91\x6c\x4e\x52\x22\x70\x62\x6d\x06\x52\x71\x81\x67\xe6\xa6\x97\x91\xc0\x2a\x9a\x23\x99\xe1\x88\xf4\x50\x04\xd4\x30\xeb\xc1\xa6\x80\xaa\xc5\x67\x55\x3b\xdf\x6d\xce\x14\x4d\x89\x53\xc1\xed\x3f\xef\xcd\x66\x6c\xb1\x39\xd7\xf7\xdf\x97\x85\xbd\x8f\x17\x3f\xdf\x0f\xc6\x77\xe7\x3f\xac\x5c\x4f\xf3\x59\x69\x64\x77\x10\x80\x74\xc6\x93\x3c\x65\xe1\xdf\xdb\x8f\x6d\x78\x75\x3f\xf8\x54\x1d\xdd\x75\xff\xbe\x4c\x19\xb7\xe5\x00\xb7\x0f\xdf\x5d\x5f\x5f\x0c\x4a\x2e\xe1\x0f\xe7\xfd\xfb\xc1\xfd\xf0\xb2\x44\x3f\xe7\x0f\xb7\x06\x8d\x70\xd5\x34\xdd\x08\x6a\x26\xaa\xa7\x15\x4e\x73\xdf\xac\xb0\x15\x27\xea\xdb\x80\x72\x73\x96\x8f\x02\xb8\x1d\x13\x0e\x06\x56\x9d\x23\x6f\x52\x8d\xcc\x48\x6b\xd9\xa1\x2a\x6f\x13\x6a\x66\xc7\x2b\x37\x7a\x15\x57\xbe\xf7\x43\x30\x50\xa0\x46\xd9\xc6\x49\xc2\x9f\x4d\x28\x6f\x4a\xf5\xad\x6c\x81\xd1\xf4\x2b\xb2\xf0\x10\x1e\xd7\x70\xbc\xf2\xb6\x90\x48\x10\x75\xc9\x73\xa6\xb6\x27\xb9\xfe\x55\x89\xef\x0c\xae\x7e\x1c\xff\xd8\x2f\x53\xe0\xf0\x62\x35\xab\x09\x9b\xa8\xb9\x8a\xfb\x57\x3f\xfb\x4b\x18\x02\xbe\x7b\x5e\x43\x35\xb2\x6b\x94\x50\x2d\xf6\x46\x58\x6b\xaf\x09\x48\x34\x88\x50\x30\x39\xa4\x7a\x72\x10\x60\x9a\x19\x7f\x92\xe1\x4f\x66\x90\xa7\xee\x8f\x4a\x7b\x12\xd6\x05\xac\xa9\x2e\x9e\x1e\xda\xb1\x5a\x35\x43\x84\x3d\x51\xc1\x01\xcf\x16\x3d\x61\x41\xb5\x34\x6e\x5a\xd6\x73\x3d\x85\xff\xdd\xac\x4d\x30\x8c\x56\x18\xd7\x1d\x17\xea\xdc\x07\xf2\x6e\x67\x0d\xa9\x0b\x68\x5d\x0e\x65\xad\x37\x74\x2c\x7f\x5b\xb3\x39\x3b\x06\xfc\x96\x27\xfc\x8f\xe4\x9c\xe2\x44\x33\x80\xfd\xc9\x8b\xfd\xab\xbb\x61\x59\x7e\x2c\xab\x19\x01\x5f\xde\x5a\x5e\x04\x43\xa5\x19\xb9\x53\x26\xee\xfe\x7a\x61\xb4\x0b\x00\x3d\x36\xe7\x36\x50\x2c\x40\x00\x72\x28\x28\x19\x16\xb2\xf2\x85\x44\x00\x84\x56\x04\x5c\xe9\x3b\x0b\xc2\x99\x9e\x38\x8d\x47\x8c\x7c\xce\x08\x93\x10\x1c\x60\xee\xb3\xc2\xd7\x2e\x8f\xd1\x70\x0a\x2c\x41\xbf\xce\x50\xce\xac\x03\x4c\x5f\xb8\x66\x90\x3d\x2d\xca\xda\x21\x78\x0d\x11\x0c\x2f\x8c\xb8\x60\xa9\x62\xf0\x23\xf6\x93\x77\xa2\xc1\xa3\x29\xd7\x0c\x48\xef\xa2\x6d\xef\x14\x61\x26\x69\x0f\x69\x85\xa5\xba\xa7\x90\x3a\xa0\x15\x4a\x1b\xc2\xa5\x39\x8d\xfd\xf3\xf5\xaf\x81\xa5\x38\xe1\xf0\x32\xa8\xbf\x0b\x2a\x57\x41\x83\x68\x9c\x18\x8f\xc9\xb8\xfd\x9d\x10\x71\x41\xac\x9f\x65\xe3\x6b\x60\x1d\x63\xbf\xc7\xf2\x71\xc9\xf7\x30\x64\x52\x61\x16\x91\xb3\x04\xcb\x2d\x83\x90\x9c\x8d\xa3\x57\x96\x38\x6e\x6f\x1f\x6e\xee\x87\xdf\xad\xe1\xf2\xd5\x8f\x97\xc3\x80\xa2\x24\x77\xee\xb9\x89\xe0\x38\x46\x9a\x7d\xce\xb8\x71\x05\x5a\xc1\xbf\x80\xfe\x36\x79\x3d\x3e\xa0\xb2\x04\x3b\x5e\xa4\x23\x58\x3b\x47\xe8\x4a\xa0\x76\x21\x50\xa4\x57\x02\x05\x26\x0f\xb7\xd5\xe0\x59\x34\x05\x49\xac\x75\x2b\x4b\xb0\x9a\x72\x91\x1a\x2e\x5f\x9a\xb4\x69\x7c\x75\xa3\x94\x29\x22\x44\x9e\x29\xea\xb0\xdc\xab\x52\x2a\x54\x78\xe7\xb3\x4b\x22\x25\x9e\x91\x5d\x1c\xd0\x75\xca\xc3\xdd\x8f\xe1\x3f\xc1\xc1\xdc\x46\xf6\x2f\x8d\xd0\x45\xbe\x3b\x7a\xba\x66\x1f\x4d\x20\xcf\x0d\x4f\x68\xb4\x65\xc0\xdd\xc7\xfe\xf0\x62\x3c\xbc\xd4\x4a\x7c\xff\x7e\x70\x51\x12\x25\xe0\x59\xff\xe3\xfd\xe0\xd6\x82\x58\xf7\xbf\xbb\x18\x8c\xaf\xae\xcf\x07\x77\xe3\xb3\xeb\xcb\x9b\x8b\xc1\x9a\xc8\x9c\xc6\xc6\x97\xad\xab\xd5\x57\x4f\x97\x7e\x81\x1d\xd6\xbc\x2c\xb4\x97\x41\xd6\x18\xa6\x09\x38\xc1\xb9\x71\x86\x63\xc4\x78\x4c\xe0\x67\xe9\xac\x33\x1e\x39\x1a\x0d\xd5\x57\x49\x82\x70\xae\x78\x8a\xc1\x6b\x93\x2c\x46\x0c\x4f\x34\x6b\xc5\x49\x12\x84\x77\x89\x9c\x31\xcd\x62\x75\x63\x06\xa2\x3d\x4a\x88\x66\xe7\x59\x90\xec\x67\xfd\x06\x53\xca\x20\xd2\x36\xc5\xe2\xd1\xb8\x99\x8a\x2e\x8b\x43\x21\x11\x96\x23\xa6\xc7\x45\xac\x61\xa8\xcd\x0a\x9f\xb6\x7a\xab\x71\x75\x52\xfc\x48\xf4\xaa\xa4\x79\x34\x47\x99\xe0\x33\x41\xa4\xb4\xb6\xe5\x08\x33\x13\x80\x60\x5f\xd7\xd7\xd0\x88\x31\xae\x97\xc2\x99\xb0\x63\x92\x11\x16\x13\x16\x51\x93\xd6\x07\xbe\x7b\x6f\xda\x9c\x09\x9c\xcd\x91\xe4\xe0\xf4\x86\x65\x07\xfb\x95\xf9\xc8\xdd\x64\x66\xc6\xe6\x71\x68\x81\x16\xb9\xe6\x13\xd7\x20\x27\x9a\x55\x86\x8f\xdd\x65\xe8\xdc\x2e\xc6\x0e\x98\x66\x09\x51\x06\xac\x1f\x96\x1c\x36\x43\xaf\x75\x69\x3f\xf4\x36\xd5\x6d\x82\xbe\xb0\xdd\x98\xb1\xb4\x23\x3a\xae\xb1\x6c\xdb\x23\x85\xbe\xc7\x2c\x4e\x74\x2b\xce\x87\x51\x3e\x8b\x90\x8a\xd2\xd7\x54\xe3\x4e\xe3\x2e\xb7\x68\x84\x73\xb9\xcb\x35\x5a\xc9\xc5\x34\x56\xc1\xa3\x22\x28\x04\xc8\xdb\x26\x62\xc2\xea\x66\x9a\x45\xe2\x84\xdb\x55\x32\xaf\xe7\xa6\xfe\x13\x82\xd1\x34\x5c\xb3\x99\xa0\x2c\xa2\x19\x4e\xb6\xd2\xfd\x2a\xc1\xf8\x36\xc6\xfd\x6b\x3a\xd5\xe4\xf3\xcd\x92\xdb\x56\x11\x91\x42\x82\xb2\x1d\xa6\xdf\xc2\x0d\x2c\x49\x36\xab\x81\xc8\x22\x9a\x04\x0b\x9e\x1b\x7f\x1c\xac\x0b\x89\x6b\x8e\xea\x71\xdd\x76\xeb\x93\x81\xcb\x01\xd0\x5b\x6c\xb6\x89\xfc\x69\x5a\xbf\x4a\x2b\xb6\x77\x13\x8c\x87\x93\x9b\xfa\x36\xeb\x76\x20\x78\xf8\xaf\x55\xb4\x73\x89\x33\x4d\x33\x16\xb6\x1f\x17\x73\xb4\x4a\x92\xad\x0a\xe6\xe2\x67\x02\xdf\xb9\xcf\x0b\x69\xbf\x1b\xc5\x12\xda\x00\xa8\xe5\x4e\x4a\x31\x04\x41\x8e\xb9\xa5\xf1\x69\xae\x65\x59\x84\x21\x0a\x01\x7d\x4d\x8e\x67\xc7\xc8\x15\x61\xe8\xa1\xfe\xcd\xcd\xe0\xea\xbc\x87\x88\x8a\xbe\x71\x31\x8b\x36\x60\x69\xc4\x14\xb7\xd2\xca\xc2\x15\xd0\x48\x89\x98\x91\xd2\x9c\x5d\x74\x13\x84\x2a\xcf\xa8\x54\x36\x7c\x56\xf3\x95\xa0\xd4\x09\x4d\xab\x62\xb6\xa1\x90\x5c\xcd\x77\x21\x0d\x2c\x65\x9e\x6a\x5d\x76\x4c\x71\x3a\x16\x3c\xd9\x85\x29\x9c\xc3\x54\x40\x5d\xf6\xe9\xf9\x14\xa7\x48\x37\x6b\x43\x41\xbc\xcb\xd1\x8b\x74\x5a\x30\xd2\x7c\x59\xdf\x9b\xc1\xbd\xe5\xbc\x0f\x36\x1e\x8d\xba\x10\x08\x48\xdf\x6f\x60\x15\x85\xd9\x78\x6c\x2d\xf5\x63\x1c\x45\x5a\xe5\xde\xf3\xa4\x82\xfa\x39\xce\x25\x60\x3b\x7a\xb1\x69\xae\xa3\x73\x37\xcc\x4c\x73\x30\x08\x06\xd6\x57\xae\xe4\x11\x2d\xda\xaf\xe9\x77\xb2\x58\xea\xd5\x55\xb8\x79\x90\xde\xa4\x62\x2e\x61\x49\x60\x27\xa5\xa9\x90\xa3\xe6\x64\x81\xe6\xf8\x89\x94\xba\x74\x09\x31\xba\xe1\x05\xcf\x45\x1d\xa3\x1b\xb1\x73\x92\x09\xa2\x25\xfd\xaa\x03\xc5\xd3\xf4\x6d\x99\x12\x3b\xba\xee\xe8\xfa\xdd\xd3\xf5\x99\x29\x94\xd4\xf7\x85\xb1\x76\x12\xe0\x4c\x63\xe3\x8c\xf3\x64\xdc\xc2\x26\xd2\x7e\xc5\x4b\x9e\xb0\x4a\xd9\x28\x80\x04\xe0\x39\xc8\x47\xa5\x6b\x93\xeb\xbb\x2e\x48\xb1\xb5\xc3\x5b\xb1\x0c\xce\x65\x16\xd4\xcb\xd9\xe5\xbc\xd7\xb5\xb2\xaa\x25\xf4\xe2\x62\xce\x99\x91\x6f\xbc\xbb\x2c\xac\x7f\x5a\x3a\x4c\x4e\x14\xa1\x6c\xa9\x1a\x9b\xa1\x67\xbd\xc0\x46\xee\xf8\x47\xce\x15\x96\xdf\x1c\x8f\x98\x16\xa2\x1e\xc9\xc2\x98\x5b\xb5\x98\xf2\x3b\x2d\x8b\x1f\x49\xc2\x24\x84\x7b\xff\xce\xb8\xe7\x34\x89\x3b\x73\xb5\x51\x4d\x4d\x11\x38\x08\xba\xf6\xbd\x40\x88\xae\x6d\xd4\x4a\x49\x45\x00\x34\xc8\xf9\x66\x2e\xf6\x99\x19\xfe\x8c\x28\x48\xb1\x56\x54\x81\xce\x14\x9b\x2a\x73\x4b\x43\x5f\x6b\xba\x32\x54\x21\x38\xf8\x49\xe2\x7c\x37\xc6\x2f\x97\xdb\x58\xcb\x19\xbd\xb6\x70\x67\x63\xde\x4f\x9c\xdd\x28\x12\x7c\xa9\x74\x1b\x96\xc8\xec\xf4\xc4\xb0\x03\xe7\xbf\x26\xec\xf8\x99\x3e\xd2\x8c\xc4\x14\x43\x04\xbc\xfe\xd7\x89\x9e\xd7\xbf\x9f\xdd\x5e\x5f\x8d\x8b\x4c\x9e\xff\x1a\xb1\x7e\x22\xb9\xcf\x52\x40\x8c\x33\x1f\x6e\x9f\x09\xe2\x44\x42\x3b\x17\xb0\xba\x16\x66\xc4\x11\x6b\x1a\x41\xcc\x23\x79\x8c\x9f\xe5\x31\x4e\xf1\xaf\x9c\x81\x2b\xbd\x0f\x7f\x9e\x25\x3c\x8f\x7f\xc2\x2a\x9a\x9f\xc0\xb9\x56\x27\xe4\x89\x30\x65\xdc\x54\x7a\xb9\x62\x48\xde\x95\x10\xad\xff\xef\x7a\xcc\x45\x52\x91\xd4\x9a\x6c\x44\x32\x85\xfe\x1f\x41\x26\x9c\xab\xfa\x4b\x8a\x4f\xa7\x92\x6c\x74\x21\x15\x4a\xda\xdd\x35\xfa\xcb\x9f\xbf\xfd\x83\x26\xa1\x6d\xd6\x78\x78\x77\x3d\xd6\xdf\xff\xfb\xb9\xfd\x5e\x6e\xc0\xee\xae\xb3\x82\xb5\x39\xe2\x31\x81\xf3\x39\x83\xdb\x4f\x80\xf3\x02\xd8\x1b\x90\x43\xb1\x8f\x75\xdc\xed\xbc\xd4\xfa\x6e\x2a\xdb\x56\x8b\x09\x2a\x76\x30\x47\x74\x84\x18\x47\xa9\x89\x35\xc5\x0c\xfd\xc7\x0f\xdf\xd5\x6f\x60\x2e\xe8\x56\x1d\x52\x0b\xd7\x10\x74\x29\xe9\xaf\x44\x22\x4d\x35\x9a\x8a\x79\xaa\xbb\x16\x44\xce\x79\x12\xa3\x67\x02\x6a\x92\x8d\x03\xf5\x5a\xb9\x20\x23\x16\x36\x01\x21\x87\x08\x27\x8a\xcf\x08\xdc\xd5\x4e\x51\x53\x44\x68\x51\xc5\x64\x69\x28\x2e\x48\xcf\x40\x7d\xdd\xfd\xc9\xc5\x56\xc3\x34\xe1\x91\x4b\x6a\xb1\x26\xb9\x78\x52\x3f\xf3\x69\xd5\xf4\x8a\x9a\x6d\xf8\xd5\x4d\xb6\x66\xdb\xfa\xa5\xb1\x49\x28\xd6\x86\x55\xdd\x99\xfa\xc1\xd0\x88\xb3\x71\x42\xd9\xe3\x56\x9b\x71\xed\x44\x39\xdd\x82\x5d\x33\xdd\xa2\xb7\x73\x1b\x0b\xc8\x06\xe7\xe3\x63\x9e\x24\x26\xb5\x25\xdc\x1e\x90\xbb\xcc\xba\x81\x30\x90\x99\x1c\x50\x12\x5b\xbf\x97\xd5\x84\x05\x61\x10\xf0\x36\x62\x93\x85\xf5\xd9\xca\x1e\x92\x79\x34\x77\x99\x79\x11\x67\x52\x8b\xd1\x5c\xa0\x88\xa7\xa9\x29\x6e\xca\x08\x52\x9c\x27\xd2\x46\xbb\xb3\x23\x85\x23\x35\x62\x45\x7f\x6b\x4e\x9e\xa9\x80\xb4\x5b\xea\x5e\x7b\x97\x4e\x51\x69\x69\xa5\xc0\x4d\xe3\x10\xb3\x01\x8c\x60\xc6\x13\x15\xa0\x3f\xf0\xe5\xb3\x64\x36\xac\x41\x33\x90\x73\x2e\xd4\x38\xae\xe5\x39\x6b\x89\xa6\xca\x08\x19\x39\x4a\x20\x68\x98\x3f\x69\xe1\x9f\x3c\x7b\xe3\xeb\xaa\x21\x68\xaa\x5e\x35\x82\x76\xc7\x68\xe5\xc8\x36\x25\xc1\x86\xb5\x32\x08\x1e\x51\x39\x26\x7c\xdd\x18\xef\xe0\xab\x33\xfd\xd1\xca\xc5\xab\x9e\x3b\x27\x04\xf1\xb8\x00\x9b\x33\xf7\xba\xcd\x08\x59\xb5\xa6\x16\x3a\xe1\xe5\x32\x47\x57\x4d\xe5\xa1\x6c\xc9\xd5\x63\x01\x93\xbd\x24\x20\x6b\x62\x31\xa1\x4a\x60\x51\x42\x0a\xf1\xfa\xa0\x24\x58\x40\x7c\xd6\x88\x19\xdc\x38\xa3\x29\xc4\x28\xa6\x12\x12\x44\xe0\x2e\x0d\x9c\x61\xa8\x9d\x12\x58\x39\xda\x45\x9e\xa3\x89\x3f\x87\xc0\xb2\x82\x34\x1c\xb3\xd3\x1d\x79\x7c\x2c\xad\x9f\xf1\x28\x2f\x04\xb9\x08\x24\x5c\x8b\xa9\x83\x28\x93\x74\x36\x57\x88\x32\x6b\x77\xc4\xc9\x8c\x0b\xaa\xe6\xa9\xec\xa1\x49\x2e\xb5\x16\x6a\x82\xd5\x4c\x3c\x0a\x51\x51\x2b\x2e\xb4\x6b\x12\x71\x5c\x69\x70\x59\x45\xd9\x82\x34\xda\x1d\xca\x41\xe5\xae\x58\x43\x38\x7d\x8f\x33\x58\x6d\x83\x42\xdd\x46\x03\x4f\x89\x4c\x1c\x20\x77\xc8\x4e\x50\x05\xa4\xe9\x1c\x00\x2a\xe4\xde\xbc\x14\xaf\x51\x88\x0b\x99\x64\x50\x41\x5c\xec\x36\x48\x5e\x65\x64\x4a\x83\xde\xe4\x9d\x4e\x69\xa6\x6a\x03\xb7\x96\x5d\x45\xb7\x01\xe6\x4f\xbb\xc5\x86\x64\x2c\xa0\x66\x40\x6a\x1b\xb1\x3b\x42\x9a\x81\xdc\x96\xf6\xde\x94\xc6\x85\x29\xd8\x44\x8f\xd5\x24\xbf\x8b\x13\xfb\x7c\x70\x77\x76\x3b\xbc\x31\x90\x13\xd7\xb7\x97\xfd\xfb\x71\x8d\x5f\xbb\xe6\xad\xcb\xfe\xed\x0f\xe7\xeb\x5f\xfb\xfe\xbe\x9c\x95\x5d\xf3\xca\xed\xdd\xea\x64\x8e\x16\x43\xac\x49\x0a\xab\xed\xe7\x14\x65\x0b\x35\xe7\xcc\x87\x28\xc4\x25\xde\x74\x84\x4c\x46\xb0\x82\x10\x22\x21\x55\x8d\xe3\xf0\x1e\xe2\x72\xd6\x4b\x98\xe5\xcd\x32\x30\x6c\x7b\x15\x8d\x36\x38\x91\x9f\x12\x3e\x01\xbf\x75\x5e\x2a\x71\xbb\x22\x02\x7d\xc7\x78\x9f\x73\x2a\xb3\x04\x2f\x96\x7a\x58\x77\xe5\x5c\xe1\x94\x40\xc4\x71\x81\x1f\xe7\x92\x45\xf4\xce\x40\x02\x93\xbf\xd7\xe9\x14\x32\x99\x14\xc5\x8a\xa0\x09\x51\xcf\x90\x37\xe7\x7e\xf5\xb6\x54\x17\x30\x22\x8f\x47\x0c\xcc\x39\x23\xbd\xc8\x71\x0e\xd1\x7e\xa3\x0f\x3d\x34\xfa\x10\x93\x27\x92\xf0\x4c\xef\xbc\xfe\xa1\xe1\x92\x19\xa4\x98\x26\x57\x5c\x79\xcb\xdc\x2e\xfb\x29\x48\x44\x33\x90\xcc\xc7\x44\xb7\xfb\x7a\x82\x47\x89\x92\x1d\x3b\x83\x31\x20\x1c\xc7\x5a\xc9\x06\x56\xe6\x86\x57\x84\x00\xb1\x60\xea\xa5\x5a\x99\x9b\x88\x14\xde\xfc\x6d\x7a\x0c\xdb\x2c\x9b\x3d\x6b\x77\x80\x3d\xbd\xa0\x4b\x76\xd7\x8b\x5c\x6b\x25\x3f\x90\x05\xa4\x60\xdc\x60\x2a\xb6\x74\xcd\xd6\xc5\xbc\xbe\x88\x93\x76\x50\xd3\xd1\x01\xb9\x6b\xeb\xd7\x61\x37\xc7\xad\x8f\xd5\x7b\x2d\x2d\xd5\xc5\x72\xf9\x8e\x5b\xaa\xad\x0f\x4d\x4a\x6a\x63\x08\x03\xaa\x2a\x5e\x19\x89\x36\xd0\xb8\xfc\x00\xef\xf4\x77\x6b\x35\x15\x2f\xae\x45\x61\x4d\x7f\xd8\x05\x9b\x1c\x5f\xcd\xc7\x27\x6b\x47\x1c\x25\x5c\x96\xb1\x72\x5a\x0f\xfa\xcc\x7e\xba\x6a\xdc\x83\x90\x7c\xb5\x5c\xb8\x51\x40\x43\xcd\xc2\x57\xc0\x20\xcd\x3d\xa3\xac\x87\xcc\xbe\xdd\x43\x14\xa2\x2d\x41\x21\x4b\x0a\xe4\x00\x16\xa3\xc2\x0d\x32\x62\x45\xcc\x8a\x44\xcf\x24\x81\x30\xb7\x88\xa7\x19\x98\xf8\xed\x70\x6d\x4b\x24\x36\x11\xc3\x3d\xc4\x73\xa5\x1b\x33\x39\x39\xce\x88\x6b\x13\x7e\x0a\xb7\x87\xf1\xbd\xd9\xe0\x77\x0f\x2c\x6d\x68\xdd\xdc\xa5\x94\xa1\x4f\x44\x41\x2b\x00\xdc\x1f\x4e\x10\xf4\x84\x6a\x08\x65\xfd\xda\xef\x70\xa2\xec\x4c\x36\xd8\xf9\x02\x38\xe5\xbb\x84\x4f\x56\x1b\x09\xa0\x71\xf4\x70\x3b\x74\x16\xc9\x22\x7e\x2a\x40\x2f\x2e\x79\x14\x07\x37\xb7\x83\xb3\xfe\xfd\xe0\xfc\x18\x3d\x48\xa2\x97\xc7\x4f\x17\xf2\xab\xbd\x4a\x62\x46\x6e\x91\x58\x98\x54\x04\x37\x19\x42\x88\x10\xa5\x2c\xe8\x35\x8c\xa3\x0c\xd3\xb2\x9a\xb0\x01\x24\x85\x5a\x43\x1d\x00\x0b\x55\xe7\x69\x23\xf3\xd6\x9d\x40\x88\x93\x1a\xbf\x9f\x28\x35\x33\xde\x74\x39\x32\x6f\x1d\xf9\x94\x23\xfa\x5e\x7a\x32\x70\xb4\xd4\x9c\x50\x81\x5a\x4d\xcb\x10\xd5\xb8\xfd\x9c\x82\x10\xf7\x4b\x9c\xad\x4e\x3f\xc5\xcf\x25\xa2\x35\xa2\x70\xe0\xbb\x7f\xe9\x73\xe0\xd8\xda\xd8\xb0\xc2\xdd\x27\x58\x38\xb4\x0c\x6f\xf5\x7c\xd3\x64\x7c\x48\x67\x24\x0b\x27\x56\x19\x84\x8d\x63\x95\x08\xce\x0e\xfc\x42\x19\x2a\x5d\x89\x3d\x34\xa5\x9f\x6d\xa3\x45\x7c\xbb\x7b\x35\x08\x78\x68\x88\xa7\x9c\xe3\xe5\x33\xb5\x81\xd8\x70\x03\xdf\xaf\x14\x22\xb9\xd4\x22\x51\xa4\xc5\x25\x41\x22\x2e\xf4\x4d\x01\xdd\x16\x5e\x88\x75\x22\x83\xc2\x42\x2f\xca\xb2\x57\x66\xd5\xe9\x2f\x6a\x90\xc4\x58\x91\x23\x2d\x7a\xad\x49\x80\xb6\x39\x32\x90\x4d\x83\x55\x00\x07\x56\xdc\x3c\x13\x32\xc3\xcc\x85\x66\x37\x0c\xd7\x5d\x79\x3b\xb0\x2a\xad\x02\x61\x48\x0f\x03\xf9\x0a\x52\x7f\x4a\xe3\x90\x19\xac\xe7\xca\x71\xd8\xe8\x97\x43\x58\xb6\x67\xec\x83\x71\x1a\x06\x9b\x67\xf1\x21\x0d\x36\xc1\x52\x21\x3b\xa6\x26\x53\x44\xa0\x22\xbe\xac\x11\xb6\xa4\xdb\xb7\x55\xde\x34\x09\x95\xb5\x58\x02\x9e\x11\xe9\x70\x53\x0c\x4a\x8c\xd6\x69\x9c\x20\x6c\x4a\x31\xfb\xb3\x6d\x6b\x32\xbb\x5b\x22\x64\x26\x10\xa4\xbf\xdc\xf4\x31\xea\xb3\x25\xbc\x2c\x17\x97\x55\x5a\x2f\x73\x27\xe1\xe4\x19\x2f\x24\xca\x84\x81\x96\x31\x91\xfb\x6e\xf2\xa0\x81\x95\x3f\xf2\xa1\x10\xca\xa5\x4e\x20\xb0\xc5\xac\x0f\x9a\x73\x72\xef\xf8\x05\x5c\x79\x95\xa8\x72\x2f\x90\x17\xcd\x15\xb6\x8a\x16\xac\x4e\x91\x71\x34\xc7\x6c\x46\xc6\xce\xc8\xba\x8d\xb6\xa4\xdb\x39\x83\x66\xce\x6d\x2b\xf5\x97\xd3\x8d\x51\x98\x6c\xfd\x17\xf3\xaa\x37\x20\xea\x43\x20\x15\x9e\x11\x64\x46\xd4\xca\x2c\x5d\x8a\x18\xb3\x60\xc3\xa0\x27\xd8\x56\x07\xe5\x28\xfa\x26\xe1\x1d\x42\x9f\x2e\xf0\x84\x24\x6f\x13\x39\x01\x5d\x5b\xe3\x3c\x78\xeb\x4c\x36\x00\x41\xcf\x60\xcf\xaf\xb0\x0c\x6b\xbd\x17\x79\x5d\x6e\xc0\xaa\x79\x96\xaa\x9f\xef\x30\x51\x57\x2b\x64\x9b\xa9\x36\x55\x10\x09\xaf\xbd\xa0\xd2\x46\x9d\x81\x2d\xbc\xfe\xaa\x36\xe5\xed\x06\x12\x14\xfc\x68\x18\xc7\xce\x15\x3f\xd6\x4e\x65\x6b\x90\x81\x96\x55\xf0\x86\x53\xc4\x38\x23\x88\xca\xe2\x65\x55\x4e\x87\xf2\x10\x3d\x5a\xc4\x37\xc6\x17\x5f\xa5\xcb\x17\x5f\x7a\x69\x4b\x4b\x01\x9e\xe0\x6d\x03\x2e\xbf\x9b\x11\xad\xa8\x62\xb1\x00\x88\x4f\xc3\x87\xcb\x32\xdd\xda\x71\xee\x5d\xe0\xbe\x77\x08\xae\x41\xa4\xae\xe2\x08\xc4\xc8\xca\xe0\x90\xc1\x41\xb5\x2f\xd9\x8f\x2c\x4c\xcd\x88\x79\xcb\x06\x10\x22\x95\x28\xc5\x19\xf8\xf4\x18\x57\xc5\x57\x06\x76\x49\xf9\x2d\xec\x39\x41\x5c\x9a\x1a\x5a\x0d\x2b\xb0\xce\xb4\xe3\xae\xdf\x62\x5d\xcb\xf0\x96\x0e\x9a\x77\x46\x9f\x08\x73\x34\xdd\x73\x67\x42\x0f\xca\x75\x9a\x2c\x8e\x30\x84\x19\x93\x38\xf4\x7c\xac\xe6\x48\xc6\x20\x73\x08\xf6\xc8\xf6\x4b\x76\x5f\x1b\x46\x63\x40\xd2\x4a\xe8\xf6\x2e\x30\x3c\xa4\x52\x8b\xdb\x6b\x32\xc1\xb1\x44\xbf\x63\x5c\xfd\x2e\x40\x36\x76\xc6\x0b\xf8\xd4\x99\xa0\x7a\x4b\x25\x5b\xe0\xd0\x5a\xc2\x41\x38\x40\xd8\x5a\xbb\xf2\xbb\xc6\x06\x14\x81\xef\x2f\x2a\x8d\x0e\x96\xb3\xe0\x9a\x6a\x5e\x75\x1e\x7b\x54\xbd\x16\xaa\x06\x4f\x53\x56\xaf\x38\xe9\x25\x43\xa7\x5c\xe7\xa2\xf7\x7b\xd1\xca\x35\xbf\x84\x08\xb0\x0b\xb5\xa5\xad\x23\xa7\xd6\x80\x20\xd7\xdb\x25\xb6\xc9\xf3\x6c\x92\xcb\x45\x39\x74\xcd\x96\xc1\x68\x40\xf9\x3d\x1e\xb1\x8f\x5c\xd8\x2b\x58\xda\x3a\x03\x13\x1c\x3d\x1e\x11\x16\x23\x9c\xab\xb9\x41\xdb\xb5\x7e\x85\x85\xa5\x06\x2d\x69\x00\xd9\x78\x28\x0d\x2a\x23\x2c\x62\x57\xf1\xe2\x89\xbb\x51\x8c\x58\xd0\x08\x54\x32\x80\x42\x4f\x50\xaa\xb6\x49\xd5\x24\x52\xeb\x57\x4d\x6b\x51\x57\x84\x75\xa9\x04\xeb\xea\x73\x56\x2a\x2a\x0b\x35\x18\x20\xc0\x89\x4f\x97\x57\x67\xe8\xac\x8d\x4e\xbf\xd3\xf4\xbc\xec\x85\xe8\x59\x8d\xc2\x98\xa4\xec\x0c\xb4\xa4\xf3\xad\xe3\xb5\x25\xd4\xe0\x69\x2e\x20\x5c\xb7\xae\xcd\xaf\xa3\x39\x4d\x0a\xdf\xc5\x37\x3d\x3f\x4c\xdd\x64\x42\x9e\x48\x62\x30\xeb\x23\x01\x91\xf9\xc6\x6a\xf8\x2d\xfa\x3f\xa6\x30\x29\xfa\xc3\x88\x7d\x02\x36\x9c\x24\x0b\x40\xd4\xf4\x2d\x63\x55\x69\xe6\xb1\x76\x00\xca\xa6\x02\xa1\xf2\x40\xcc\x5e\xcf\xf1\x13\x19\x31\xd7\xcc\xff\x41\x8f\xe8\xf7\xe8\x0f\x4d\xea\x9d\x0b\xb0\x7f\x61\x3b\xc7\xc7\x20\x7c\x3d\xb8\xe5\x2c\xa3\xb4\xfc\xc6\x99\x41\x4a\x46\xc8\x1a\x64\x0d\x0f\x8c\x4d\xd9\x13\x8f\x96\xb2\x38\xc2\x53\x8b\x05\x61\x6a\xcc\x78\x4c\xc6\xa4\xc6\xa5\xb9\x82\x49\x68\x21\xe0\x8a\xc7\x64\xad\x43\xd2\x33\xd3\x9f\xc0\x74\x23\xf3\x89\xdf\x0e\x48\xf0\xf7\xd9\xdc\xde\xfa\x50\xa6\xb4\xfa\x91\x7b\xf4\xd9\x6d\xc6\xbd\xad\x33\xd5\x85\x89\xf6\xe0\x42\xb0\x03\xa8\x77\xe8\x25\x58\x39\xf7\x7a\xf5\x38\x56\x1d\x01\xfa\x65\x3d\x73\x7b\x59\x05\xb8\xba\x50\xfb\x44\xd0\x19\xd5\xf2\x7b\x7b\x87\x2d\x70\xc2\x6d\xbc\x19\x06\x64\xb4\x95\x3b\xa3\x58\x0a\x07\xb4\x72\xe4\xe9\xaf\x70\x42\x4e\x78\x5e\x15\xe0\xed\x02\x50\x19\xba\xfb\xad\xac\xbe\xd0\x7c\x78\x66\x32\x00\xc9\x9c\x9a\x9c\xfb\xfe\xd9\x05\xd2\xa7\x83\xa7\x06\x98\x0a\x16\x2d\x57\x73\x2e\xe8\xaf\x8d\x19\x4a\xcd\x32\x7a\xe1\x69\x2d\x12\xba\xcc\x38\xcb\xd2\x3a\x10\xab\x11\x29\x54\x49\x2b\xa9\xd3\x99\xd0\x24\x07\x0c\x56\xcd\x66\xa7\x79\x62\x0a\x37\x44\x5c\xc4\xa6\x72\xba\x2c\xa5\x8f\x41\x18\xae\x13\xef\xb1\xf2\x0d\x52\x0b\x55\x69\x4b\x43\x18\x0b\xce\x4a\x01\xf4\xaf\x39\xc9\xf7\x94\x81\xf7\xa6\x31\xcb\xf7\x78\x26\x8b\x20\x64\xb3\x36\x9a\x37\x17\xeb\xfb\x0f\x3d\x53\x19\xe4\xac\x3a\xcb\xa2\x87\x80\x32\x2a\xb9\x29\x0c\xba\x91\x45\xe7\xd6\x40\xdf\xef\xc1\xa4\xf3\x1a\xf1\x1c\xcb\x32\x52\x0d\xfb\xb1\xe4\xf7\xe4\x33\x38\xab\x2c\xe2\x85\xec\x24\xae\x86\x40\x45\xfa\x78\x41\x93\xc9\x16\x4c\x6e\x59\xa8\x5e\x19\x15\x5d\x18\x50\x3c\x5b\xab\x49\xa6\x56\x1c\xd2\x2e\x9e\x05\x05\x84\xb8\x45\xf1\xb2\xaf\x81\xeb\xae\x8b\x90\xc7\x68\x29\xc5\x88\xb5\x10\xd7\xe1\x96\x70\x51\xcf\xe3\x37\x30\x40\xd8\x86\xca\x5d\x2f\xfb\xed\x9b\x4e\x84\x61\x49\x87\x7a\x24\x96\xe1\x61\xd6\x1e\x06\x5f\x09\xe4\x6d\x0c\x88\x5e\xb4\x79\xbd\x93\xe1\xc9\x71\x1c\xe1\x68\xde\x38\xa9\x09\xe7\x09\xc1\xac\x49\x7a\xad\x7d\x5c\x3d\x22\x06\xdc\x14\x58\x77\x92\x00\xc2\xaf\x5b\x02\x5b\x15\xb2\x10\xdf\x59\x0c\xc8\xec\x86\x87\x9b\xd8\x40\x37\x50\x45\x98\xb3\xfc\x50\x36\x4b\x48\x75\xad\x2c\x84\x7e\xcf\x76\x92\x44\x79\x12\x94\x85\xcc\x88\xd0\xa3\xd6\x4b\xfc\x44\x98\xd6\x19\xec\x38\x9c\x33\xe3\xd9\x25\x44\xfb\x62\x50\x3d\xdf\xb5\xf3\xa7\x41\xd6\x61\x3c\x62\x70\x70\x79\xf9\xb0\x6a\x5a\x95\x5a\xcd\x08\xed\x52\x5b\x9f\xce\x40\x88\xd8\xf8\x78\xde\x95\xcd\xc4\x1b\x9f\x49\xd3\xf7\x18\x62\x0c\x76\x76\xad\x05\xee\x97\x02\xaa\xc1\x6c\xac\x83\xe3\x7a\x25\x23\x32\x44\x6d\x94\xc3\x4e\x83\xa0\x8d\x26\x38\xa8\x17\xbd\x4b\x8a\xf2\x17\xee\x36\x68\x39\x94\x95\xae\xea\x96\x8e\x67\xb0\x4e\xae\x3a\xb7\x17\x36\x64\xbb\xec\xb2\xf5\xf9\x3d\x45\x98\xa3\x2d\xf0\xaa\x04\x06\x74\x02\xc8\x29\xff\xc9\x68\xd8\x54\x1a\x0b\x98\x2b\x73\x91\x66\x6a\x61\xab\xa2\xc1\xbd\x18\xe6\xf4\x1a\xc4\xb7\x3a\xf7\x70\xf5\x8e\x8c\x4b\x0e\xe2\xba\xce\xa0\x23\x6b\x56\xa8\x6d\xd2\x2d\x74\x88\x20\x52\x41\x6c\x68\x8a\x06\x31\x05\x66\xc7\x38\x69\xb4\x65\xed\x81\x69\x42\x9a\x6d\x81\xd2\x60\xc1\x5f\x95\xc8\x89\xe6\x5d\x38\x49\x2a\xf3\xc2\x90\x0e\xad\x7c\x91\xb9\x49\x51\x09\xb7\xbd\xb3\x3a\xc1\x13\xb2\x91\x7b\xfa\xc2\x7c\xb0\x92\x8a\xe0\x15\x88\xec\xce\xb2\x64\xd1\x2e\xa2\x3c\x0c\xbd\xab\x05\x49\x5b\x37\xb0\x10\x5a\x6d\xe5\xdd\x54\x86\x27\xdb\x6e\x88\x92\x44\xb9\xa0\x6a\x31\xb6\x46\xbf\xf6\x4c\xeb\xce\x7e\x79\x66\x3f\x6c\xa3\x51\x9f\x22\xd7\x9f\x33\x32\xc2\x3d\x25\xa8\xa9\xa0\x63\xa7\xd0\x66\xbb\xb5\x96\x5c\x0b\x9e\xb4\x6a\x61\x1d\x7a\x53\xbb\xa1\xea\x2e\xb6\x1d\x9e\xad\xcc\x31\xe6\x53\x87\x8b\xd4\x7e\x61\xab\x25\x4b\x36\xb0\x96\x3a\xf8\xe5\x4c\x50\x2e\x6c\x65\x90\x36\x41\x6d\x29\xfe\x3c\xce\xb0\xc0\x49\x42\x12\x2a\xd3\xed\x6d\xbb\x7f\xfa\xe3\xca\xd1\x9e\x99\x0a\x36\xd2\xd6\x83\xfa\x4c\xd3\x3c\x45\x2c\x4f\x27\x56\xca\xc5\xf2\x31\x04\xbf\x74\xa9\xfa\x06\xc3\xc9\x0d\xb0\x04\x18\x20\x02\x38\xd3\x11\x0b\x80\xad\xad\xa9\x02\x47\x73\x4a\x9e\x00\x76\x53\x30\x22\xe5\x31\xba\xe2\x8a\x9c\xa2\x4b\x9c\xdd\x83\xa0\x66\x4a\x4a\xce\x8c\x75\x1c\x4b\xa4\xa5\xd6\x9c\x51\xd5\x1b\x31\x8b\x86\xed\x56\xe5\x24\xe2\xcc\x20\xa2\x46\xb0\xb0\xbe\x09\x30\xf7\x3a\x68\x50\xe5\x12\x1b\xa9\x6c\x58\x6c\x81\x9f\xc7\x41\xf4\xea\xd8\x64\x07\x6c\x40\xc7\xb7\xf8\xd9\xc4\x6b\x9f\x63\x85\x4d\xb5\xd8\x55\x92\xbb\x0d\x88\xb2\x15\x84\x0c\x10\xb0\x0b\x1c\xe1\x16\x8d\xc2\xd7\x3e\x33\xd1\xa9\x5f\xd3\x63\x72\x8c\xbe\x4b\xf8\x44\xf6\x90\xf4\xa0\xd9\xf0\x50\x12\x25\x7b\xc6\x41\x05\xff\x36\xa9\x60\xdf\xb8\xd5\x2f\xf8\x3e\x94\xfd\x9b\xd2\xcf\x06\x04\x43\xfe\xe9\xf4\xe4\x24\x5d\x1c\x4d\xf2\xe8\x91\x28\xfd\x17\xc8\x14\xb5\x2b\xe4\x10\xa4\x70\x1d\x1e\xd5\xba\xd5\x59\xc6\xb2\x6a\x45\x91\x36\xad\x46\x12\xc0\x4d\xd7\x57\xba\x2f\xac\xea\xa0\x8f\x38\xab\xaf\x1a\x69\xa7\x2c\xf2\xa6\xe3\x55\x02\x5c\x7e\x1d\x6d\xc5\x14\x8e\x0d\x71\x9e\xa7\x09\x9e\x55\x54\x96\x0d\x94\x94\xeb\x94\x5a\x2a\xd2\x73\x87\x78\x0b\x7d\xca\xca\x51\x66\x5f\x39\x77\x24\xb8\x15\xad\xbb\xe5\x78\xc4\xfa\x12\x3d\x13\x53\x0f\x16\x72\x12\xc1\x3b\x91\x53\x39\xf7\x19\x89\x60\x2f\x85\x46\x0d\x1c\xae\x41\x4d\xb0\x8a\xa3\xd3\xac\x9c\xff\xc6\x6a\xa0\x38\x91\xa4\xa7\x1b\x06\x48\x34\x17\x48\x88\x9e\x05\xce\x32\x22\x46\xcc\x42\x9b\x02\x80\x37\xe7\x36\x48\xa4\x29\x9a\xbc\xd3\x28\x5f\x57\xa3\x0c\x93\x3e\xca\x09\x8b\xeb\xce\x37\xe4\x37\xae\x4c\xf5\x58\x91\x1b\xa8\x65\xd1\xb6\x91\xde\x6f\x6f\x36\x6e\x39\xe6\x75\xda\x79\xbf\x12\xa6\x0f\xe5\xa6\x53\x50\x20\x65\x51\x55\xd3\xd9\xfa\xbc\xfa\x5e\x12\x73\x00\x19\x1b\x3e\x8e\x39\x91\x81\x11\x1f\x79\x5b\x5c\x42\xa7\x44\x4b\x1f\x23\xa6\xc9\x38\x74\x38\x18\x80\x6d\x87\xb7\xad\x3b\x8d\x04\x97\xd2\x46\xde\x9b\x76\x56\xe7\x4f\xed\x50\xcb\xcf\xa0\x84\x0f\xaf\xaf\xc6\xcb\x55\xfd\x82\x67\xae\xbe\x9f\x7d\x58\x9b\x64\xdf\xd8\xd4\xda\x6a\x7e\xc5\x5a\x6c\x50\xcf\xef\xe4\xec\x62\xe8\x8b\x58\x55\xba\x5e\x2e\xe8\x17\x22\xab\x37\x97\xf4\x5b\x9e\x71\x50\xdc\xaf\xd2\xc4\x8a\xf2\x7e\xeb\x37\xab\x1c\xef\xbb\x0b\x6c\x5e\x65\xeb\xd7\xf2\x87\x32\xcd\xac\x0b\x4b\xdf\xd3\x36\x35\x5c\x2b\x11\x08\x8c\x2f\xed\x61\x07\xc1\x4b\xbf\x25\x15\x4e\xb3\x30\xe5\xd2\xe1\x86\xda\x69\x9a\xa3\xd6\x74\x09\xbe\x2a\x9e\x79\x84\x4d\x34\x4b\x75\x70\x4b\x5b\xb1\x99\xc7\xeb\xde\xc2\xa4\xef\x23\x8c\xf9\xf5\x72\x98\x93\x45\x11\xb5\x27\xad\xec\xe6\x4a\x70\x37\xd8\xfd\x27\xc4\x43\xc2\x37\x6e\xe8\xae\x49\x8a\x1e\x3a\x4a\x10\x2c\x6d\x38\x06\xe4\xf2\x55\xf2\x7c\x36\x30\x0f\xfb\x31\x9b\x6c\xe0\x23\x5f\x84\x21\xb8\x6a\x6c\x5d\xb1\xc8\x1d\x44\x2a\x04\x79\x22\x02\x68\xc7\xc6\xfc\xb0\xf2\x51\xc5\x89\x20\x38\x5e\x04\x2b\xe2\x03\x0e\x4c\xcf\x60\x1e\x93\x34\xd5\x0a\x3c\xa8\x26\x8c\x1f\xf1\xcc\xe9\x2c\xa5\xb7\xa0\x82\x06\x9d\xea\x1b\x2b\x08\x57\xd0\x5f\xb0\x23\xf2\x99\x4a\xa5\xe5\x8a\x9a\x58\x4d\xd7\x08\x48\x3c\x50\x57\x6b\x4e\xec\x0d\x37\xfa\xd0\xff\xee\xfa\xf6\x7e\x70\x3e\xfa\x50\x44\xe7\xbb\xf4\x33\x8f\x08\xe5\x00\xfe\x39\x1b\x31\x1f\x50\xeb\x01\x90\x61\x2f\x11\x8e\xe3\x02\xd9\xc0\x2a\x91\x46\x66\x5b\xc9\x91\x83\x53\xb1\x36\x94\x76\x45\x33\x0f\x90\x83\x74\xa8\x27\x6b\x85\xeb\xac\x74\x72\x4c\x26\xd5\x8a\x94\x97\x3d\x5d\x36\x21\x76\xab\x32\xba\x36\x51\x0e\x5c\x90\x91\x67\xa7\x2b\xc1\xed\x7c\x82\xcd\x25\xbc\x19\xb7\x73\x1b\xb2\xc5\xa6\x7e\xa4\x9f\x49\x7c\xdb\x20\x55\xed\x25\xa3\xa5\x55\x24\x60\xed\x2e\xe4\x8c\x6e\xa2\xf1\xfb\xa9\x3c\xe8\xef\xda\xb3\xa5\xeb\x02\x92\xad\x80\x57\x05\x6c\x55\x85\x30\x8a\x88\x50\x98\x32\x34\x85\x83\xcd\xa2\x05\x02\xc0\x0e\x02\x3e\xec\x3f\xa2\x94\x32\x40\x0e\x58\xb5\xb4\x0f\xe5\x79\x6c\x20\xb4\x5e\x0e\xaf\x1e\xee\x4b\xa2\xea\xf7\xd7\x0f\xe5\xa2\xee\xfd\x9f\x57\xca\xaa\x95\x16\x56\x05\x0b\x05\x53\x2c\xb2\x10\x2d\xca\xac\x5f\x99\xda\x89\x26\x0b\x45\x1e\x6e\x2f\x76\x92\xef\xea\x9d\x65\x8d\x18\xe1\xa1\x74\x55\x8f\x88\xd0\xe6\xd3\x98\x44\xeb\x50\x4c\xdb\xd3\x91\x89\x82\xd2\xeb\x60\xad\x89\x16\xe1\x0c\x4b\x94\x61\x61\xfd\x50\xb1\x09\x80\x2a\x57\x06\x33\x9a\xd7\x2a\x04\x89\x4f\x44\xfd\xa8\xaf\x3e\xce\xf6\x91\x05\x61\x45\x59\xf0\x8f\x92\xf1\x93\x69\x78\x83\x93\x66\x87\xb2\x22\xd5\xc5\x09\xcb\xd0\x03\xb2\x3d\x84\xb8\x0b\xc7\xa6\x42\x7c\x5f\x37\x07\x2b\xe2\xe2\x09\xb5\x4a\xca\x99\xa6\x48\x03\xa7\xea\x30\x58\x83\xe6\xf8\xd4\x7c\xdc\x12\x91\x2e\x88\x6a\xd7\x6d\x15\x4b\x89\xfa\x37\xc3\x9a\xb5\xbe\xa8\xba\x90\xbe\xac\x72\x36\x89\xf7\x66\xed\x1b\x24\x29\x48\x4f\x3c\x08\x54\x24\x3b\xd3\xdd\x60\x90\x8c\xd3\xff\xa6\x1c\x49\x70\x08\x68\xbd\x75\x2a\x43\x29\xed\x78\x0d\x30\xef\x66\x99\x78\xc5\x32\x6c\x08\x7a\x14\x0e\xc8\xa6\x81\x84\x40\x3f\xcb\x31\xc6\xbd\x10\xf8\x87\x9b\x82\xb9\x36\xb6\x60\x6f\x60\x48\xc5\x6c\xda\xa0\x21\xfd\x68\x28\xda\x83\x65\x00\xfc\x87\x2b\xc8\xe8\x62\x83\x6d\xee\x7a\x38\xdd\x90\xda\x36\x03\x50\x2a\xc6\xe7\xcc\xdf\x16\x8b\x1a\x67\xd8\xda\x1d\x40\x89\x72\x95\x12\xea\x0a\xeb\x1d\x8f\x58\x10\xb0\x22\x8d\xda\xa3\xcf\x88\x2b\x4e\x02\x15\x6f\x19\x00\x5b\x43\x92\x8e\x17\x7e\x4a\x3b\x50\x4d\x91\x57\xf3\x72\x79\x91\xa5\x7e\xec\xe9\x94\x73\xec\x12\x11\x9d\x05\xc5\xc6\x01\x86\xf6\x25\x68\x2f\x28\x28\x60\x3b\x06\x73\x34\x18\x2d\x70\x50\xae\x2e\x48\x5e\x8f\x39\x91\xec\x2b\xe5\x53\x3d\x69\x62\x4b\xa2\xe0\xaa\x7b\x40\x4b\x75\x98\xda\x96\x57\x1f\xf0\x3d\xa0\x33\x6d\xaa\x38\x04\xc7\x6a\xad\x99\xca\xf9\x78\x81\x12\xc2\x58\x24\xe8\xb4\xc9\xaa\xfe\x39\x23\xd1\x36\x10\x32\x37\x58\xe0\x94\x28\x22\x56\x85\x23\x95\x8b\x49\x83\x88\xe3\x76\xd0\xf6\x6b\x76\xd1\x54\xda\xa8\x96\x64\xf1\xda\xed\xc5\x3a\x48\x18\x3f\x8b\x8d\xd0\xaf\xf4\x34\x7e\xb4\x96\xff\x0d\x67\x61\xfb\x29\xa6\x61\xa3\xad\x02\x04\xa0\x5d\xe7\xf4\x3a\x50\x28\xf7\x4b\xa0\x22\xa5\x70\xa1\x03\xc1\x40\x59\x3f\xca\x26\xf0\x93\x75\xbc\x74\x2f\xbc\xdb\x65\x38\xb8\x14\xda\xca\xa1\x2a\xe5\x4e\x00\x95\x80\x4a\x65\x70\x40\xea\x01\x4c\x40\x68\xa9\x8b\x90\x0c\xdc\x7e\x16\xde\xae\x30\xe8\x5a\xc9\xaa\x5a\x5c\xaa\xb2\x5c\x6b\x78\xdc\xbe\xc0\x1d\x3a\x89\x66\xdf\x12\xcd\x3a\x52\x2e\x45\xd7\x6a\xea\x24\xa2\x82\x33\x63\x8b\x3e\x5b\x80\x80\xf2\x04\x21\xf7\xc8\x5e\x91\xb6\x72\x2c\x5c\xfd\x94\xf9\x7f\x95\x39\xb8\x23\xea\x90\x54\xeb\x92\x2a\x8f\x03\x17\x14\x78\xa0\x92\x50\x1a\xb0\x71\x35\x30\x5a\x13\x06\x69\xac\xfc\xc3\x2b\xe3\xc0\x82\xe4\xe6\x05\xcf\xd1\x33\x95\x73\xa4\xf8\x88\x41\x9c\xa0\xf7\x06\x28\x8e\xcc\x8b\x3d\x78\x0b\x60\x10\x64\x3e\x49\xa9\x42\x38\x98\x61\xc9\x24\xd9\xb3\xe7\x59\x7f\x00\x33\xae\xcd\xb3\xaf\x83\xe8\x59\x73\x68\xb6\xb0\xaf\x15\x8d\xec\x9a\x4a\x1f\xc4\x34\xbf\x6c\x32\x7d\xa0\xf1\x84\x1a\x66\xed\x99\xeb\xb2\xe9\x51\xbd\xb5\xc1\x82\x86\x02\xb2\x2b\x95\xaa\x72\xb7\x58\x43\xcf\x9a\x4c\xfa\x62\x23\x5a\xa5\xd2\x17\xaf\xef\x23\x97\xbe\xa9\x4c\xd9\xaa\xdc\x4a\xf7\x49\x83\xfd\xdb\xe5\xec\x2a\xee\x02\xe7\x43\x49\xe9\xa6\x51\x52\x3a\x34\x54\xb3\x22\x21\x60\xfb\xf0\xf2\x4d\xd4\xc1\x22\x3f\x2b\xa4\xa2\x20\xdd\xb2\x8c\x09\x43\xaa\x9c\x9f\x71\x05\x39\x35\x11\x94\x70\x5f\xca\xf3\x1c\xb1\x7a\x09\x64\x35\x4f\xdc\x35\x45\x63\xaf\xe8\x67\xc1\xf9\x73\xb3\xb0\x16\xad\x9f\x7c\x90\x9b\x51\x96\x6d\x31\xf6\xaa\x88\x59\xb8\xf8\x9a\x82\x93\xb4\xe0\xb1\x4d\xc2\x71\xcd\xa9\xac\x1f\xfa\x52\x02\xc5\xda\x73\x61\x2f\xdd\x3d\xaa\x76\x4b\xdc\xb9\x75\xbe\x89\x97\x91\x2d\x37\xb6\x01\xd3\xb1\xd7\xe3\x2b\xae\xda\x6d\xaa\xcc\x02\xaa\xe8\xde\xb0\x50\xab\xf0\x04\xba\xf1\x1e\xb8\x77\xed\xd8\xb1\x09\x75\xf1\x08\xdd\x95\x3d\x29\xcd\xd8\x56\xef\x7f\x89\x59\x6f\x5a\x1a\x38\xf0\x37\x0a\x1b\xef\x4b\x43\xcb\x01\xd4\x04\xb6\x61\x92\x15\x4e\xec\x85\xbb\x9c\xc5\x44\x30\x82\xd5\xfc\xf5\xb2\x2c\xce\x76\x35\x4f\x07\xe3\x7b\xd9\x8c\x8b\xb3\xbd\xd4\x85\x0f\x87\x5b\xae\x91\xbe\x76\x9c\xfa\xf5\x36\x96\x22\x1b\x7c\xe0\xab\x04\x2f\xa9\x8e\x35\x66\xc3\x00\x84\x66\x13\x2a\xdd\x29\x11\xa3\x5e\x9d\x7b\x99\x94\x94\x1a\xbb\xcf\x52\x32\x8a\x3e\xed\x61\x6d\xe5\x35\x4b\xf2\x45\xe4\x7e\xbc\x7c\x3a\xc2\xaa\x2a\xce\x79\x90\xa1\x00\xa5\xb4\x15\xa6\xcc\x72\xaf\x55\x49\x09\x5a\xa6\x4c\x71\x5d\x1e\xc2\xc1\x67\xb8\x7c\xf1\x09\x2e\x5d\xba\x43\x97\xee\x50\xb3\x47\x5d\xba\x03\x42\x87\x96\xee\xb0\x4e\x05\x5d\x65\x00\xf5\x3e\x39\xa8\xb6\x59\x2a\x71\x63\xf6\x77\x8d\x1e\xb9\x7d\x48\xbf\xb3\x21\x86\xf1\x50\xf6\x17\xfb\x43\x6d\x48\xd4\xd2\x67\xd5\xd9\x86\xf6\x4c\xb6\xa8\xba\x05\xb0\x88\x13\x8b\x43\x67\x03\x96\xcb\xf6\xa7\x55\xa6\xd2\x11\xfb\x9e\x3f\x93\x27\x22\x7a\x08\x2b\x94\x72\xa9\x80\x0f\xbb\xf8\x18\x38\x08\x25\x48\x73\x13\x07\x81\xd1\x15\x4e\x49\x6c\x2a\x1e\x06\x61\x8d\xd6\x60\x6b\x5d\xad\x75\x70\xab\x80\x1c\x6a\xb6\xc1\xc5\x4d\x8c\x98\x09\x35\x34\xe1\x6d\x20\x2b\x50\x37\x31\x20\x98\xdf\x79\x47\xf0\xef\x8e\xd1\xbd\xbe\x9f\xa8\x2c\x8f\x37\x40\x5f\x6b\x1a\xdb\x88\xcd\x04\xcf\x33\x6f\x43\xe3\x13\x53\xfa\xd6\x44\x3f\x2d\x3b\x82\x61\x30\xce\x0b\x1c\xe1\x58\xeb\xe2\xab\x09\xe7\x4d\xa2\x50\xb7\x82\x30\x0a\x09\x48\x1f\x43\x1f\x5a\x67\x43\xdd\x8d\xff\x36\x00\x6e\x59\x05\xc4\xfe\x42\xce\xe5\x73\x22\xc1\x2a\xe4\xad\xee\xa5\x3c\xf2\x32\x56\x41\xed\x38\x57\xd9\x44\xbd\xdf\xc2\xd9\xf6\xeb\x61\x10\x8a\xce\x6d\xcc\x97\x49\x52\xb5\xf7\xc4\x8b\x59\x4b\x5b\x47\xcf\x36\xf1\x8b\x9b\x5c\x64\x1c\x24\xb1\x64\xe1\x60\x1b\x2c\xd2\x5b\xc6\xb3\xdc\xc4\xb5\xd1\x30\xcc\xa9\x96\xb2\xa9\x54\x97\x58\x45\x73\xcd\xb9\x0b\xc4\xb3\x3d\xc5\xfb\x15\x5c\xf9\x65\x2d\xa8\x35\x33\x38\x0b\x7b\x6f\x70\x29\xb4\xb0\xa8\x9b\x7b\xdf\x85\xd7\x3b\x49\x22\xd5\xfd\x19\xb7\x9b\x2d\x68\x1d\xd8\x45\xdd\x27\xf6\x89\x9e\xe8\x3a\x2a\x5a\x37\xfe\x76\xb4\x55\xae\xb8\xb5\xf7\x48\xc2\x1d\x20\x64\xce\x2d\x60\x57\xf1\xa2\xad\xd0\xda\xe0\xfe\x17\x74\xbb\x2c\x20\x8b\x92\xff\xa4\xc5\x11\x6f\x71\x4d\x71\xa6\x95\x08\xc5\xf5\x2d\x29\x66\x46\x8e\x35\x71\xb2\x08\xa3\x5c\x50\x77\xf6\x2b\x39\xe1\xcd\xd4\x01\x16\xca\x93\xb0\xa2\x52\x84\x83\x62\x73\xc6\xe1\x8f\x23\x95\x63\x1f\x98\x08\x34\xe1\x8a\xa0\x9b\xfc\x77\xe7\x58\x17\x4e\xbc\xab\xd9\xd3\xb5\x84\xbd\xc3\x2e\xe3\x3a\x7c\xc3\x56\x27\x8d\xb2\x59\x00\x8e\x58\x6f\x25\x6e\x53\xfb\xa0\xf6\xcb\x76\xf5\x1b\x6a\x3f\x75\xb2\xcf\x36\xdf\xae\x00\x6f\xda\x3a\x36\xbb\x14\xe7\x6e\x03\x61\xad\xf4\x14\xc2\x56\x5a\xfb\x1d\xa0\xcf\x52\x70\xd4\x63\x2b\x4d\xfd\x97\xff\xcb\xd4\xca\x32\x4b\xf3\x5f\x88\x8b\x11\x33\xbf\xf7\x7c\x9d\x0a\xfd\x42\x01\x00\x8b\x53\x52\x40\x64\x8a\x32\x98\x1e\x40\x8a\x58\x30\x34\x03\xf6\xeb\x61\xfa\xf5\x18\x1e\xf3\x09\x11\x8c\xe8\xa1\x39\xf0\x01\xcf\xcc\x52\xcc\xf0\x0c\xa0\x85\x7b\x10\x19\x07\xe2\x6a\xa1\x8a\x18\x92\x36\xf5\x0e\x81\x5b\x69\x66\x69\xf3\x6d\x8b\xba\xbf\xd0\xa7\x11\x65\x2d\xb2\x69\x11\x5e\x51\x4f\xfd\xb7\xb6\xff\xed\x24\xf6\xfb\xfe\xdd\x0f\xe3\xdb\xc1\xdd\xf5\xc3\xed\x59\x49\x6c\x3f\xbb\x78\xb8\xbb\x1f\xdc\xd6\x3e\x2b\x72\x55\xff\xfa\x30\x78\x68\x78\xe4\x1a\xb8\xe8\x7f\x37\x28\x15\xd1\xfe\xeb\x43\xff\x62\x78\xff\xf3\xf8\xfa\xe3\xf8\x6e\x70\xfb\xe3\xf0\x6c\x30\xbe\xbb\x19\x9c\x0d\x3f\x0e\xcf\xfa\xfa\xcb\xf0\xdd\x9b\x8b\x87\x4f\xc3\xab\xb1\x0b\x3b\x0e\x1f\xfd\x74\x7d\xfb\xc3\xc7\x8b\xeb\x9f\xc6\x41\x97\xd7\x57\x1f\x87\x9f\xea\x66\xd1\xbf\xbb\x1b\x7e\xba\xba\x1c\x5c\xad\x2e\xd6\x5d\xbf\x1a\x8d\x75\x80\x83\x8b\x2c\x30\x1a\x05\x62\xd2\x64\x61\x49\x9b\xfe\x0a\xbe\x8b\x1b\x43\x8f\x47\x3d\xf7\x97\x29\xad\x7d\xa4\x59\xa0\xf3\x8b\x15\xdc\x63\xc4\xbc\xe3\xd2\x5f\xaa\x0a\xcf\xa4\x4b\x3d\x2e\x8d\xf6\x14\xf5\xe1\xac\x80\xc2\x50\xea\x14\x32\x1b\xfc\x48\x9d\xab\x1b\xe8\x30\xa1\x29\x05\xaf\x37\x3a\x42\xd5\x0d\x2f\x37\x68\xe7\x04\x43\xb0\x7e\xbb\x78\xd5\x69\x90\xd5\xac\x66\xa0\x94\x53\xe4\x38\x34\x31\xe6\x04\x83\x3d\xbb\x60\x38\xa5\x51\x35\x05\x03\xe0\x57\x51\x01\x35\x52\x6d\xb1\x44\x60\xe5\x96\xe7\x04\xfd\xf0\x97\x62\x50\xe0\xc1\xb0\x9a\x77\xbe\x54\x51\xcf\x3e\x10\xb9\x59\xd5\x75\xe4\x59\xea\xc9\x1d\x73\x6b\x5a\x86\x73\x6b\x2b\x77\x83\xbb\x29\x67\x01\xdc\x58\xc9\xf7\xa4\x8f\xb7\x99\x51\x85\xc6\x4f\xd1\x1d\x40\x9d\xc8\x42\x75\xd7\xbb\x98\x25\xf9\x8c\x32\x44\xd3\x2c\x21\x45\xcd\xf7\x09\x99\xe3\x27\xca\x5d\xf9\x0a\x53\xe5\x03\xd6\xd1\x8a\x56\xe8\x08\x35\x1e\x94\x53\xd4\x8f\x63\x59\x66\x70\x25\xca\x71\x2c\xf3\xa8\x3c\xec\x10\x21\x8c\xc5\x9e\x6d\x56\xe8\xa8\x38\x72\xb0\x62\xfb\x07\x73\x59\x66\x87\xe5\xbb\x77\x87\xeb\x5f\xaf\xe0\xd8\x91\xf2\x78\x2b\x61\xe0\x1e\xcb\x47\xc7\x9a\xd7\x09\x04\x0e\x56\x67\xb7\x1e\x2d\xbe\x4e\xdb\x4e\xfd\xca\x8e\xe1\xa0\x6d\xd7\x67\x23\x2a\xf4\x9a\x2e\xdd\x8c\x93\x4a\xe9\xae\xd6\xfd\x95\x4a\x7f\xd5\x76\xb6\x57\x6f\x4f\xbd\x34\x06\x47\x72\xec\xe9\x7f\x83\x79\xdc\xc0\xa7\xd7\xfe\xcb\x95\x22\xdb\x38\x58\xb7\x4d\x7d\x40\x4b\x49\xba\xd6\x0f\xb4\x92\x0e\xf7\x04\xef\xd4\x5e\x18\x84\xc2\x0b\x34\x02\x77\x1f\xa6\xcc\x96\xe3\x21\xde\x1f\xe5\x0a\x50\xeb\x73\xec\x4b\xc4\xe1\x09\x7f\x2a\x29\x97\x29\x91\x12\x37\x00\x96\x04\x26\xb1\x5d\x18\x83\x3f\xa1\xf6\xc3\x96\xf4\xe4\xce\xe4\xbd\xfe\x6a\x95\xd1\xe7\x36\xd4\x8c\xdd\x44\xb5\xc0\x1a\xbb\x48\x5b\x74\x6d\xf2\xed\x34\x7f\xe9\x15\xc1\x34\x5c\x04\x31\x46\x4d\xee\x9f\x96\x66\xb5\xea\x82\xd5\x56\x59\x0a\x5d\x78\x9b\xc7\xe0\x04\xad\x6f\x8d\x88\x6d\xfd\x2a\xb8\xbc\x3e\x1b\x50\x5d\xc9\xdf\x19\x56\xa0\x8e\x78\x9a\x1a\xb9\xa0\x64\x4b\xed\x21\x6c\xd2\x1c\x0b\x69\x4a\xe6\xd1\xdc\x78\x99\xf4\x95\xd1\x1b\xb1\xe7\x60\x43\x4a\x81\xc0\xfd\xb0\x25\x40\x13\xfd\xac\x8f\x1b\x7d\x2a\x85\x57\x83\xc8\x48\x21\xd6\x37\x20\x04\xe3\x10\x2c\xca\x47\xad\x21\xf0\x60\xbf\x76\x20\xf5\x2d\x6a\x05\x56\xd6\xb7\xa9\x62\xa0\x9f\x5b\x50\xa8\x6f\x07\x4d\xb9\xed\x10\x82\x5a\x81\x75\x23\xd8\x43\xa9\xc0\x57\x85\xf7\xf6\xe9\x9a\x26\xbb\x37\x9d\x58\x8c\x0a\x3d\x5d\xb7\xda\xbf\x77\x33\xfa\xbd\xf1\x3b\xe4\x0d\xa0\x26\x41\x6b\x1e\xe1\x1b\x1d\x69\x99\xd5\x25\xdb\xdb\x40\x0c\x89\x8e\x0c\x6a\xe0\x57\x10\x69\xd9\xbf\x19\x7e\xd5\x43\x5f\x85\xd9\x66\x5f\x6d\x75\x00\xed\xb8\x6d\xb9\x40\xd0\xa6\x4a\x29\x07\xe5\x63\x07\x7b\x55\x39\x89\x76\xcf\xec\x41\x44\x4d\xe7\x50\x7f\x59\xfa\x06\x9c\xd3\x50\xfe\xce\xf8\x6f\x7d\xc0\xb3\x75\x01\x19\x19\x97\xca\x9a\xb5\x8b\x47\x6c\xb2\xa8\x3a\x79\x7a\xde\xcb\xd3\xfa\x94\xee\x5c\xd2\x4d\xb7\xb7\x9c\x9e\xbc\xe7\x40\xdc\xd5\xf7\xc1\x9a\x84\xe7\xbe\x89\xb9\xe6\xd3\x80\x8b\x35\x45\x29\x74\x11\xec\x75\xb3\x2a\xd9\xcb\xdc\x62\xd6\x6e\xca\x3a\xf9\xe7\xbd\x91\x5b\x8b\xb0\xef\x7e\xdd\x8a\xd8\x88\xff\x06\xe1\xba\xa3\xb2\x97\xa5\xb2\x7d\x64\x3c\x94\x07\xb7\xf9\x05\x7a\x66\xe4\xb8\xa0\x19\x67\x70\xd5\xca\x84\x67\xf0\xa5\xba\x7f\xeb\x0b\xe6\x6e\xe8\xf3\x0d\xd6\x64\xbd\xd3\xf7\xce\x04\x0e\x18\xb7\xeb\xf2\x58\xab\x43\xed\x2b\x5b\x84\x88\x53\x93\xdd\xa8\x68\x4a\x7a\x88\xb3\x64\x11\x04\x3b\xd8\xf3\x0a\xe4\x66\x62\x94\xe6\x84\x0a\xd7\x89\xc5\x18\xdc\x28\x1d\x7e\x43\x69\xbc\x89\x46\x76\x88\x34\xb9\xea\x5f\x0e\xce\xc7\x83\xab\xfb\xe1\xfd\xcf\x35\xf8\x91\xe5\xc7\x0e\x42\x32\x78\xe1\xee\xe7\xbb\xfb\xc1\xe5\xf8\xd3\xe0\x6a\x70\xdb\xbf\x5f\x03\x2f\xb9\xaa\xb3\x26\xe8\xc2\x5c\xd6\xa9\x6f\x9b\xc0\x17\x3a\x33\x6f\x4d\xef\xcb\x20\x93\x41\x27\x94\x34\x00\x4d\x9a\xd4\x7f\x16\x13\x81\x62\xf2\x44\x12\x9e\x15\x66\xd5\xda\x05\x0b\x10\x28\x6b\xda\x5f\x85\x42\x09\x6d\x56\xd7\xf8\x14\x99\x5a\x6f\x41\xb9\x5b\xdf\x20\x88\x7c\x58\x10\xf6\x95\x42\xe4\x73\x96\xd0\x88\xaa\x20\x35\x90\x0b\xeb\x5e\x31\xee\x43\x88\x4e\x5d\x43\x5c\x7b\x8b\x46\xd9\xbb\xce\x1f\x7a\xd2\x97\xb5\x7d\x7f\xa2\x3c\x22\xda\xda\x02\x42\x7b\x50\xec\x1b\x9c\xc6\x4b\x80\x6d\x5b\x8c\xee\x25\xcc\x03\xcb\x39\x3a\x36\xbd\xaf\x01\xcc\xad\x7e\x90\xeb\x6f\xc3\x55\x71\x32\xa5\x73\xbd\x3a\x50\xa6\x1d\xa5\xbe\x71\xb8\x4b\xa9\xb0\xe6\x1e\x90\x37\x6c\xec\xfa\x86\x01\x0b\x4b\xf5\x62\x98\x89\x39\xc5\x48\x90\x94\x2b\xad\x80\x99\x88\x80\x9e\x16\xaa\x28\x4e\xe8\xaf\x80\x51\x25\xc8\x71\x10\x41\xe1\x90\xbd\x0a\xf7\x81\xc5\x8f\x38\x1e\xb1\xf3\xc1\xcd\xed\xe0\x4c\x33\xa4\x63\xf4\x20\x01\x7e\xaa\x34\xf5\x73\x4b\xde\x46\x1c\x0b\x23\x19\x28\x93\x8a\xe0\xa6\x60\x30\x22\x04\x17\xed\xf9\x83\xef\x6f\x00\xdf\xd5\x93\x37\x3c\x2b\xd9\xa6\x9c\x01\xe0\xaa\xb1\x2a\x72\x90\x33\xb0\xf7\x9c\xac\x5b\xfc\x5c\x5a\x91\x10\x7e\x03\x24\x91\xf2\xaa\xbf\xe0\x6a\x03\x80\x67\xfb\xf9\x95\xfa\xbc\x81\x6f\x57\xcd\xf3\x1e\x42\xec\xa4\x2a\xd0\x40\x0d\x60\xa8\xaf\x7a\x53\x99\x67\xa3\xa8\x28\xde\x02\xaa\xa3\x42\xfa\x13\x32\xc3\x0c\x89\x9c\xb1\x0a\x3c\x6c\x68\x69\x5b\x0e\x9a\xd9\xf4\xa8\xea\x35\xc3\x29\xcf\x19\x28\x0d\x10\xc6\x5a\x33\x18\x99\x11\xa6\xd6\x0c\xe6\xad\x80\x58\x2a\x43\x3d\x5c\x2c\x96\x9a\x81\x36\xc1\xb1\xd4\xf9\x93\xa0\xf4\xf2\x66\xd7\xb2\x0b\xca\x2b\x39\x95\xf4\xa1\xf2\xf7\x73\xbd\x96\x8d\xe5\xe3\xce\xdd\xdd\x63\xf9\xb8\xbe\xab\x98\x44\x8f\x9b\x5e\x36\xd5\xcc\xcc\xc4\x56\xae\x5e\x32\xf6\x2d\xf4\x53\x5b\x9a\x05\x0a\x96\x47\x8f\xe8\xfb\xfb\xcb\x0b\x34\xa5\x5a\xee\xd5\xd7\xca\x15\xd6\x32\xf6\x83\x48\x9c\x5d\xd8\xda\x56\x73\x91\xf8\xbb\x17\x36\xde\x89\x52\x81\x94\xa0\x6f\x34\x3c\x23\xce\xd8\x2b\x2c\xda\x5e\xa5\x34\x8b\xc0\x2c\xe6\xa9\x99\xc7\x89\xcc\xa7\x53\xfa\xf9\x58\x61\xf1\x4d\xc3\x7a\x98\xa8\x8a\xf1\xdf\xf9\x64\xac\x47\xb4\xe3\x45\x5c\xd7\x1c\xb2\x05\x95\xfd\xb2\xd9\x99\x9d\x9b\x77\xff\x2f\x9f\x40\xb6\x7b\x26\x38\x20\x00\x82\x77\xce\x46\x2a\xd8\x57\x1c\x25\x1d\x23\x97\x40\x55\x02\x39\x89\xb8\x10\xc4\x26\xc9\x9b\xda\xa2\x19\x16\x8a\x82\xb5\xd6\x81\xa4\x94\xd0\xf1\x8b\x2d\x0a\x4b\x7e\xcf\x71\x81\x44\x3d\x21\x04\x1c\x3c\x19\x4d\x36\x53\x7a\xcf\x4a\xbe\xc9\xca\x09\xb4\x91\xa7\x16\x37\x13\x0c\x32\x6b\x45\xac\xc1\x13\x61\x6a\x2f\xfa\x09\x34\x51\x93\xb6\xdf\xce\xcb\x60\x4a\x7c\x0e\xcf\x8b\xcb\xcd\x85\xf4\x86\x51\x4d\x4a\x60\xb8\xe7\x6d\xa2\x94\x75\xa9\x37\x39\xfa\x9f\x5a\xfb\x8e\xe1\xd5\xe5\x75\x59\x13\x1a\x6f\x57\xbb\x28\xf5\x5d\x84\xb5\x3a\x68\xff\x2d\x81\x7c\x24\x31\x56\x8c\x00\x40\xc2\x2a\xa7\xd5\x3d\x37\x7d\x6a\xda\xaa\x74\xb9\x76\xcb\xb7\x40\xad\x29\x35\xf3\x89\x40\x4a\xe7\x3e\x02\xd1\x37\xc9\xdd\x87\x81\x3c\x88\x04\x42\xa8\x57\x5a\xb1\x4c\x99\x71\xcd\xf9\xbc\x64\x87\x5b\xc8\xe8\x66\x30\x5a\x68\x24\x99\x20\x91\xbe\xca\x4e\xd1\x4d\x42\xb4\xe4\x95\x6b\xe9\x2b\x4f\x12\x87\xf0\xb5\x5a\x3a\xdc\x08\x95\xee\xc5\xe7\x15\xe8\x1e\x2b\x26\xe6\x10\xee\x56\xcf\x2c\x58\x83\xfd\x23\x2e\x04\xeb\x0b\x26\x64\x30\x24\x96\xb5\x48\xe0\xf0\x0b\x13\x37\x0b\xa6\x24\x5c\xba\xc8\xe8\xaf\x9a\xfd\x0a\x22\xe7\xbc\x31\xc9\x31\x9c\xed\xcb\xcc\xc1\x2d\xe5\x0b\x4e\xc2\xdd\x87\x4d\x71\xd5\x2d\xe4\x9a\xca\x1d\x58\x12\x71\x56\x4d\xd1\x57\x7f\xf0\xd1\x1f\x16\x6f\xd5\xde\xad\x76\x68\x70\x4b\x16\xa6\xb6\x10\xfb\xac\x70\x5d\x14\xca\xcc\xc2\xf8\x5e\xfd\xe7\x85\x01\xb9\x48\x09\xa0\x4a\x16\x55\xe7\x90\xbe\x6b\x9b\xb6\x58\xcf\x73\x9c\x8b\x8d\x20\x29\x0a\xd4\xf2\x4d\x38\xb7\x4d\x46\x29\x86\xa5\x17\xa1\x9e\x5d\xda\x62\x12\x20\x46\xdb\x50\x23\x59\x42\x82\xb3\x64\x63\x96\xb1\x56\xc5\x6b\x66\xca\xbb\xba\xd5\x40\x4a\x2e\x44\x99\x97\xf2\xae\x95\x28\xb0\x34\x81\x0e\x5b\x6c\x73\x6c\x31\x5b\x59\xc4\xd3\x1e\x20\x01\x2a\x01\x89\xff\x85\x03\xad\x2a\x38\x58\xa3\xf7\xba\xcc\xa7\xd2\xee\xb4\x4a\x73\x2a\x7d\xa1\x79\xc9\xf9\x8e\x1e\x38\x3d\x99\xc5\x18\x12\x47\x77\x89\xc2\x29\xcd\xdf\x78\x0f\xa0\x4d\x12\x23\x83\x5e\x60\x90\x8f\xed\xda\x79\xcf\x49\x86\x05\x61\x6a\xc4\x6e\xf5\x28\xcc\x17\x45\x24\x86\x8b\xc3\x71\x68\xf4\x50\xb3\x76\x8a\xb0\xfd\x0a\x16\xbd\x29\x10\x4e\x8e\xcd\x4b\xa0\x9a\xbe\x60\x92\xfd\x77\xe6\x1d\x83\x79\x60\x31\x7f\xf4\x54\xe9\xb4\x50\xe3\xb5\x00\x19\xcd\x29\x40\x0e\xc4\x44\xda\x0b\x89\x2a\x8b\x29\xe1\xc5\xef\x9c\x38\xfc\x65\xf8\xcc\xf3\xaf\x3a\x86\xed\x0c\x05\xcc\x19\xe8\xe4\x88\x05\x7d\xac\x80\xeb\x34\xca\xfa\x96\xaa\x04\xec\x33\x8d\xbd\xe3\x0b\xfe\x69\x76\x88\x0b\x3a\xa3\x2c\x28\x9a\x64\xa7\x97\xe2\x0c\xcc\xbb\xe6\x0c\xf2\xa9\xbf\xd3\xee\x6d\x96\xc1\x31\x8c\xf8\x7f\xfe\xfb\x6f\xc7\xb4\xc9\xfb\x21\xc7\x76\x05\x0e\x61\x27\x37\xdb\x96\x70\xe7\x03\x14\x91\x06\x74\x8a\x40\xa7\x95\xa5\xcc\x89\xe2\x57\x7b\xb9\x69\xa2\xe1\x6a\x6e\xdc\xbd\x65\x72\x07\xdf\x88\xc8\x57\x9c\x0d\x73\xc5\xbc\xed\x5a\x52\x09\xd9\x01\x7a\x24\xe6\x24\x7b\x03\x41\x58\x90\x7c\xc9\x4c\x33\x62\xc5\x27\xd2\xe0\xa1\x18\x78\x57\xf3\x43\xb1\x3a\x2d\x17\x66\x15\xef\x2f\x22\x25\x0a\x77\x78\x10\x8d\xec\xca\x67\x98\x28\x52\xdd\x7e\xe5\xa6\xad\x70\xee\x00\xe7\x70\x97\xa8\xcd\x39\x96\x2f\x17\x9a\x53\x5b\xf6\xc9\x58\xd3\x43\xe1\x61\x5d\x90\x8e\x19\xa4\xc9\xf6\xd4\x1b\x92\x4b\x22\x0c\xa7\xf3\x70\x58\x96\x12\x42\x14\x47\x88\xd1\x5c\xe3\x6b\x24\x29\xa6\x1b\xe5\x13\xe8\xf7\xeb\x31\x26\x4b\xce\x06\x3c\x23\x62\x1c\xe7\x6a\xe9\x58\xac\x8a\xf1\xd7\x1f\x9d\xe7\x6a\xb1\xbe\x7d\x99\xe0\xe5\xb2\x37\xab\x70\x3d\xf5\xfb\x0d\xcd\xae\x97\x98\x83\x10\x9f\xb2\xd4\xdc\x80\x9a\x49\x2a\xa8\x99\x36\xe6\xb4\x64\x22\x81\x1b\x98\x29\x80\xd4\x2b\x34\x29\x7b\x45\x1b\x6c\x6f\x18\x39\x9a\xe4\x85\x49\xc9\x57\x4b\x88\x8f\x47\xec\xa3\x29\x37\x02\x5a\x9e\x19\x40\x04\x09\x3f\xe4\x73\xc6\x25\x29\x65\xa0\xd5\x54\x40\xb0\x19\xa4\x76\x18\xf5\xc2\x7a\xf1\xd1\xee\xb2\xfa\x9b\xe3\x9f\x2e\x6f\xf8\xf2\x94\xeb\x29\x70\x27\x71\x30\xa2\x19\xd5\xb4\x33\xae\x3d\x69\x2f\x57\x85\xb7\x88\xe9\x02\x1c\x2c\x95\x2c\x7a\xc8\x4f\xaf\x42\x10\x09\x79\x22\x60\x4e\x87\x31\x86\x75\x2e\xca\x76\xbd\x06\x76\xb2\xee\x00\x15\xe9\x9f\xc0\x16\x50\x5c\x1d\x41\x39\x49\xae\x8e\x16\xcb\xe9\x3f\x3b\x67\xaa\xd5\x05\xa6\x6c\x20\x9e\xf7\xc3\x7a\x1f\x0b\xa2\x10\xf9\xac\x88\xad\x08\x7a\xef\x72\x09\x97\xd3\x0f\x50\x7d\x3a\x54\xb3\xec\xf8\xe2\xb5\x99\xfb\x2e\x83\xdc\x25\x4b\xc6\xee\xca\xb7\xc9\x83\x73\xcc\x62\x9b\x11\x6b\x95\x0c\x2d\x6c\xc1\xec\x8c\xd1\xcd\xe7\x0a\xd8\xbc\xce\x00\x28\xdd\xb4\x69\x10\xdd\xe1\x22\x73\x0a\xa3\x56\x59\x20\xbc\x82\x0b\x2d\xb9\xe7\x4c\xd1\x44\x13\x87\x1d\x83\x44\x53\x88\x8c\xb3\x40\x85\x10\xd9\xde\x84\x85\x47\xa5\xa4\x6c\x36\xb6\x2b\xe9\x92\x3b\xdb\x5d\x0c\x65\x9a\xba\x34\x4d\x99\x1f\xbf\x73\x0d\xad\x36\xaa\x1b\xb2\x06\x9c\x32\x97\x56\x0a\x1a\x07\xe3\x6e\x32\x16\x60\xce\x65\xa3\x8e\x69\x6c\x96\x82\x9a\xc2\xd3\x30\xd1\x4d\xec\xee\x20\xd3\x2d\xe3\x38\x14\x57\x88\xb4\xa9\xa2\x26\x01\x0c\x22\xf5\x55\x43\x2e\xac\x6c\xcc\x81\x1d\x32\x2f\xa2\xd9\xb2\x57\x3e\xd3\xbf\x92\x4e\x8b\x5d\x77\x36\x1d\x01\x27\xc9\x04\x47\x8f\x5e\x0b\xf3\xb6\x08\x2e\x5c\xd9\x00\x2d\x57\x42\x5d\x34\x43\x5c\x7a\xa0\x11\x48\x37\xa1\xb7\xd0\x20\xf9\xd8\x61\x17\x9d\x9b\x55\xb3\x10\x69\x06\xba\xc9\x8c\xde\xe4\x36\xc4\x24\x4b\xf8\x22\x6d\xb8\xcf\xaa\x29\x84\xbb\x44\xea\x34\x65\x30\xee\xf5\x2a\xab\x30\xbd\x8d\x2f\xb3\xa5\x7c\xa4\x3d\xe0\x4a\x6d\xc0\x25\x3f\x25\x7c\x02\x26\x55\x6b\x7e\x70\x39\x36\x41\xaa\x47\xf5\x3c\x6f\x9a\xf9\x53\x3d\x91\x54\x66\x89\x56\x66\x9a\x7b\x30\x39\x27\x2f\xbb\x6f\x06\xa3\x60\xbd\x75\xb0\x7d\xb4\x76\xed\xe7\x2f\x81\x60\x7c\xe1\x24\x01\xf3\xae\xe1\x5f\x15\x2b\x9b\x49\xf6\x3b\x36\x4e\x6a\xc5\x47\x4c\xe1\x99\xdb\x5c\x2b\x5c\xf2\x67\x46\x84\x9c\xd3\xac\x54\x2f\x71\xe7\xf0\x70\x4b\xd1\xf6\x3f\x26\x18\x7a\x03\xde\xc9\xb3\x23\x83\x50\xa2\xe9\x43\x66\x38\x2a\xac\xa2\x51\x82\xa5\xa4\xd3\x45\x00\x2c\xe2\x23\x6d\x21\x7d\xab\x6c\x46\x08\x4a\x94\xd5\x31\x1a\x33\xbe\xfd\x64\xd6\xef\x9e\x55\xf8\x50\x3e\x7e\x34\x0e\x11\xdc\xf4\x7d\xb2\x8c\x22\xe3\x6e\x6a\x8b\x26\xd3\x88\x44\x6b\x20\x04\xb6\xcb\x84\x5f\x09\xfe\xd3\x6c\x46\x28\x84\x49\x3b\x6c\xab\xc8\x78\xc0\x8f\x10\x0c\x47\x95\x52\x29\x61\xf3\xb5\xe2\xe4\xec\xc2\x9a\x38\x3d\x58\x08\x60\x2a\x14\x1f\xf7\x90\xdc\x09\x64\xab\x0d\x5d\x9c\x93\x84\xec\x25\xe2\x7a\x0b\x22\xa9\x86\x33\x04\xe4\xb1\x92\x34\x8a\x32\x03\xeb\x8d\x0b\x5b\x04\x82\x37\x40\xf5\xd4\x0f\xfd\x27\x33\x50\x1b\x0b\x5e\xb7\x8b\x60\x18\x84\x55\x6e\xab\xbb\xd4\x61\xfe\x99\x16\x2c\xc9\x15\xdd\x94\xe8\xaa\xe8\xd4\xcb\x2b\x87\x48\x6a\x6f\x1c\x32\xbd\x34\xae\x4f\xa4\x4d\x78\xc7\xda\x03\xb0\x15\x07\x5a\xe6\xd3\xed\xe8\xc2\x3a\x50\x15\x47\x33\xa2\x4c\xf5\xff\x98\x3e\xd1\x38\xc7\xc9\xbb\xa2\x89\xbd\x25\x7c\xec\x69\xf5\xeb\x0f\xf9\x66\xa7\xf6\x8e\x28\xe9\xae\x84\x25\x18\x45\xbb\x39\x07\xb8\x05\x87\x71\x2c\x8d\xe0\xfa\xc5\xcb\x2d\x3b\x83\x24\xd8\x91\x59\xa8\x80\xdf\x90\x40\x65\xe6\x18\xdb\x2f\x3c\x2c\x40\x09\x10\x0b\x97\x40\x04\xcd\x1a\xbd\x3d\xd7\xab\x92\xf6\x97\x2e\x7a\x6d\x4e\xe3\xd5\x51\x15\xd4\xdd\xc9\x83\x9b\xc9\x83\x0e\x64\xf3\x00\x2f\xff\xa6\x63\x70\x98\xf7\xcf\x01\x08\x87\x4b\x57\xe2\xfe\x44\xc4\x77\x44\x26\x07\x21\x29\x2e\x6d\xc5\x6b\xc9\x8b\x47\x0e\xe5\xa8\xc0\x0c\x3a\xdc\x2d\x3a\x8c\x93\x7c\x6b\xdd\x40\x2f\x77\xc1\xae\xa7\x97\xbd\xd0\x07\x00\x7e\x62\xc8\x8b\xce\x6d\x05\x11\x38\xbc\x41\x2c\xdd\x92\xef\x61\x4d\x94\xa2\x1d\x5e\xab\xf8\xc4\xa5\xe5\x7c\x89\xed\xb5\x49\x70\xad\x37\xf7\x25\x49\x6d\xd3\xb1\xec\x43\x47\x79\x61\x2f\x8e\xa5\xc6\xe0\x83\x2e\x58\xb8\xdd\x2d\x5a\x03\xad\xe3\xb6\x6c\x9f\x87\xac\xae\xec\xdb\xee\x69\xfc\x2e\xc7\x6f\x9c\x09\x32\xa5\x9f\xb7\x12\xc5\x6f\xe0\x53\xab\x5e\xea\x65\xae\x14\x92\x03\xf7\x0c\x14\x9e\x0b\x02\x1a\xed\x4a\xdb\x62\x53\x23\x56\x64\x46\xda\xb4\xc8\x47\xb2\x40\x5c\x94\x7e\xda\x16\x04\x72\xff\x45\xef\xcc\xbe\xce\x95\xca\xe4\xe9\xc9\xc9\x8c\xaa\x79\x3e\x39\x8e\x78\x6a\xe2\xf0\xb9\x98\x99\x3f\x4e\xa8\x94\x39\x91\x27\x7f\xfc\xc3\x1f\x8a\x2d\x9e\xe0\xe8\x71\x66\x60\x75\x96\xfd\x4e\xe5\x2d\x27\x58\xee\x16\xd9\xe3\x52\xd8\x5e\x38\x95\x39\xe8\xc6\x25\x8f\xea\x6f\xa4\xc2\x69\x16\x86\x82\x9a\xb2\x71\x52\xe1\xa2\x58\x05\xe4\x25\xea\x69\xa2\x39\xce\x32\xc2\x9a\xcd\x0e\x26\xd1\x74\x07\xd6\xe3\x52\x55\xed\x08\xc9\xe7\x2c\xc1\xac\x0c\xbf\x00\x95\x97\x04\x89\x08\x53\x16\x1a\xa0\x28\x25\x0d\xd4\x68\x20\x80\x0c\xff\xdf\x2c\x15\x11\xe6\x48\x65\x51\x52\xcd\x0d\xc7\x96\x37\x75\x45\x2f\x71\xb0\x74\xd5\x92\xb2\xc5\xda\x11\xb7\x6a\xab\x92\x14\xef\x96\x4b\x8b\x6f\x5e\xd2\x46\x70\x36\x26\x9f\x35\x93\x93\xdb\x02\x76\x3d\x48\x22\x51\xff\xa7\x3b\x24\x17\x4c\xe1\xcf\xa7\xe8\x92\x32\x10\x60\xbf\xe7\xb9\x90\xe8\x1c\x2f\x8e\xf8\xf4\x28\xe5\x4c\xcd\xd1\x25\xfc\xaf\xfd\xe9\x99\x90\x47\xf4\x33\xc1\xc2\xf2\x07\x5b\x92\xce\xd7\x37\xd7\x24\x24\x72\x26\x11\x79\xd2\x27\xf4\x0f\xff\x89\x52\xd3\xf2\x29\xfa\xf6\xe4\x0f\xff\x89\x7e\x07\xff\xff\xff\x47\xbf\x6b\xd0\xf4\x37\x83\xfc\x82\xca\xc5\xb7\x65\x77\x6e\xaf\xb2\x52\x5b\x54\x73\x3f\x13\xbc\xd8\xa9\xda\x96\x1f\x69\xf4\xc8\xa7\xd3\xb1\x26\x0c\x93\xc8\x37\xc6\x62\x09\x2e\x7a\x4b\xfc\x54\x6a\x6b\x4f\x9b\x4a\x76\x45\x0d\x19\xdb\xa9\x41\x7c\x70\xec\x5a\xe6\x45\xe5\x5d\x08\x22\x2a\x55\x33\xa6\x12\xbe\x22\xb1\xe6\xaa\x9b\x9c\x0e\x67\xdd\x73\xc9\xdf\xce\x82\x13\x22\xa4\x84\xf5\xd4\x7d\xe0\x5f\x18\xc5\x6a\x02\x7d\xec\x42\xd6\x1e\x87\xa5\xf0\xda\x2f\x26\x66\x12\xa6\xf6\x56\xf1\x92\x72\xa9\xf3\xf5\xa1\x92\x77\x5c\xec\xa4\x6f\x3d\x92\xc6\x54\x86\x35\xf5\x92\x5c\x0d\xdf\xb0\xb2\x3f\x64\x88\x73\xe1\x71\x8c\x8d\x5d\xc4\x56\x55\x5c\x6f\xc5\xa4\xc2\x04\x97\xb5\x3b\xf4\x7a\xea\xe7\xfe\x93\x75\xc3\x84\x48\x33\xf7\x76\x51\x2f\x0e\x46\xab\x45\x24\xcd\x12\x6b\x46\x5c\x03\x76\xb8\x6e\x43\xef\x3c\xbe\x05\x34\x0e\x61\x8f\x90\xbf\xc1\x9c\x64\x6b\x01\x04\xea\xf7\x33\x17\x11\x39\xe3\xbb\x85\xbd\x26\x94\x2d\xc5\xcb\xb7\x2f\x45\xe4\x57\xef\xc2\x16\x9d\x72\x78\xc0\x3c\x2e\x94\x05\xe3\x16\xb0\x55\x28\x02\x20\xd2\xf2\x6c\x00\xd0\x6e\x1f\x58\x97\x4b\xb5\x11\x76\xe0\xda\xc6\x70\x5c\x30\x3c\x57\x5a\xa3\x52\x51\x43\x60\xcd\x0b\x57\xc4\xae\x41\x50\xd1\xce\xe3\x08\xaa\xc4\x14\x91\x4a\x95\x6a\xec\xd8\x94\x4a\x11\x5b\x62\x95\x9a\x82\x4d\x3d\x24\x30\x04\x65\xaa\xb9\x6e\x4f\x12\x71\x34\xc5\x11\x65\xb3\x5e\x00\x53\x09\x90\x11\xe1\x75\x50\x47\xa4\xf7\x58\x3e\xee\x37\xd0\x70\xe7\x02\x96\x34\x2e\x8a\xa8\x59\x60\x19\xe3\xd8\xa0\x4b\x18\x7d\x0a\xcb\xc7\x26\x64\xa5\x25\x58\xb7\x15\xa3\xf3\x4b\xe1\xc0\xe0\x56\x8d\xcf\xa5\xa0\x93\x50\x9f\x82\x9a\x0d\xae\xa4\xb2\x05\x79\x74\x19\x7f\xd8\xa3\xb0\x54\xd1\x4d\x57\x8c\x5f\xce\xb9\x50\xe3\x2d\x71\x61\xab\x69\xf4\x8c\x1c\x25\x00\xe8\xc2\x9f\x88\x78\xa2\xe4\xb9\x0c\xaf\xba\x09\x2d\x1a\xa3\x59\x10\x55\x07\xf8\x9b\x69\xc6\x21\x85\x66\x8a\x52\xcc\x16\x86\x51\x6a\xe6\x82\xe5\xa3\xf4\x85\x5c\x91\x4c\x71\x92\xf4\x90\x20\xb9\x34\x05\x8e\x25\x49\xa6\x47\xae\x14\x46\x8c\x12\x3e\xa3\x11\x4e\xd0\x24\xe1\xd1\xa3\x34\x19\x6e\x6c\x66\x98\x54\x26\x78\x44\xa4\x0c\x24\xab\x22\x9b\xdd\xe6\x18\x42\x15\x57\x45\x44\x4a\x19\x95\x8a\x46\x4e\x64\x2a\x40\x29\x4c\x2d\xf1\x08\x83\x49\x18\x32\x36\x61\xb8\x5a\xd2\x23\x06\x9c\x33\x67\xb6\x68\x12\x5c\xd7\x16\x73\xcf\x05\x89\x37\x1d\xa0\x3d\x40\x08\x3a\x0a\x19\xab\xf2\x81\x5c\x73\xa4\xce\xec\x67\x70\x8c\x57\x91\xc0\x6d\xf9\x44\x79\x82\xf4\x27\xad\x04\x6b\x04\x31\xe5\x3e\x04\xbe\x24\xb9\xf8\xc8\xf0\x03\x43\x34\x83\x21\x37\xe0\x98\xad\xa3\x69\xbd\x8a\x20\xf2\x40\x9d\xae\xaa\xd7\x9c\xb2\x28\xc9\x63\x5f\xa9\x51\x8b\x00\x4f\x9a\x48\xdc\xf2\xe8\xb5\xd7\x82\x42\x0f\x61\x89\x9e\x49\x92\xe8\xff\x9a\x08\xf8\x23\x5f\x38\x41\xb3\x64\x53\xdc\x02\x3a\x71\x5c\xba\x89\xa2\x0e\x0e\x9d\xf2\x06\xab\xb9\xc9\xf9\x4f\xb9\x32\x45\x32\x0d\x3a\xa5\xb3\x6f\x19\x38\xc3\x49\xc2\x27\x70\xd2\x01\xb8\xd2\xe5\xb9\x06\x69\x75\x79\x14\x11\x12\x93\x18\x7d\x1d\x1c\x5c\x8f\x47\xf1\x4d\x3d\x8c\x62\x69\x45\x0e\x00\xb4\xb2\x6a\x58\x6b\x84\xae\x2c\xd7\x79\x3b\x46\x37\x15\x60\x96\xb0\x7e\x3b\xae\xc2\x74\xf5\x96\xb6\xf0\x6d\x80\x2e\x2b\x93\x78\xb9\x1d\xda\x10\xe8\xb2\xd4\xe7\x1e\x80\x2e\x2b\xf3\x6c\x88\xdd\xe7\xb3\x17\xcd\x39\xd6\x93\xba\xe0\xed\x13\xc1\x0c\x40\x98\xb9\x3b\x4b\x24\xe8\x0e\xe4\xa2\x8e\x10\x0f\x0b\xc4\xb3\x52\x0d\xf1\x6d\x41\x3c\x2b\x83\x39\x64\x10\xcf\xca\x50\x0f\x17\xc4\xb3\x66\xa0\x2d\x40\x3c\x8d\x73\x7f\xac\x89\xba\x1d\x53\x80\xc4\x96\x49\x3e\xbd\x83\x54\xef\x95\x63\x3c\x33\x81\x03\xe6\x1a\x73\x77\xb4\xc5\xb4\x86\xd1\xda\x1c\xc8\xa6\x70\xa8\x8a\x13\x62\x53\xda\xf3\xde\x37\x03\xfe\xb0\xa9\xd9\xbd\x17\x5a\xbb\xc1\x0e\x19\xe1\xcc\xe6\x94\x37\x95\x9a\x39\x9c\xec\xd9\xed\xf0\x51\x01\x83\xb0\xc4\xf2\x5b\x21\x88\x5d\x56\xaa\x36\xcc\xf9\xb3\xad\x9c\x04\x64\x68\x88\xb2\x91\x04\xa1\xd3\xb1\x55\xda\x9a\x56\x8e\x32\x45\x66\x55\x9d\xb6\x38\x34\x94\xa9\x3f\xfd\x71\x2d\x27\x32\x10\x8b\x4e\x3d\x0c\x6a\x27\x78\x67\x87\x7d\x46\x62\x14\xcd\xb5\x56\x24\xb5\xfa\xa2\xa7\x63\x6e\x56\x89\x52\x4c\x9d\x22\x95\x4b\xe3\x5a\xa2\x72\xc4\x4a\x98\xa4\xc7\xe8\x23\x14\x84\xc5\x69\xa6\xf5\x2f\x3f\x3f\xaa\x29\x69\x94\x7f\xfb\xed\x9f\x08\xfa\x16\xa5\x04\xb3\x92\x0e\x0b\x6a\x93\xbe\xfa\x00\xc3\x4f\xcd\xc9\x88\xd5\x6e\x05\x1a\x7c\x36\x35\xa6\x5c\xbc\xdf\x90\x4d\xb9\xd3\x89\xa1\xd0\x21\x8e\xe6\x48\xe6\x13\x53\xa9\x37\xb0\x61\x38\x41\xfa\x82\xcf\xc0\x51\x0d\x37\xb2\x1b\xf4\xaa\x53\xf8\xb2\x31\x00\xd6\xdd\xd8\xf6\x36\xee\xc3\x3d\x72\x24\x49\x09\xdb\xa9\xc6\x69\x66\x38\x5f\x78\xf0\xa5\xc1\x7d\xe9\x19\x1f\x82\xd6\xcf\xb0\xb5\xec\x6b\x59\x1a\xc2\x79\xc1\x4b\x96\x27\x58\xd8\xa3\x3f\x62\x5a\xd1\x10\xe4\x89\xf2\x5c\x26\x0b\x14\x73\x46\x7a\x40\x09\x79\x34\x37\x8e\x55\xad\xb3\x60\x5b\xb0\xe2\x89\xca\x5c\x2b\xb4\xd0\x96\xab\x8f\x21\x15\x36\x98\x54\x73\x0a\xfd\x68\xf5\x9b\xc0\x57\x61\x96\x1c\x6a\xa7\x45\x85\xb0\xb1\x15\x9e\xdf\x12\x36\xb6\x44\x55\x1d\x6c\xac\x87\x8d\x5d\x5e\x97\x43\x84\x8d\xad\xec\x79\x3b\xd8\xd8\xba\x2d\xdf\x02\x36\xb6\xd4\xcc\x17\x03\x1b\x5b\x59\xd1\x2f\x06\x36\xb6\x32\xaf\x0e\x36\xf6\xcb\x83\x8d\xdd\x11\x18\xb5\x9e\x17\x1b\x7c\x25\x45\xd9\x62\x63\x22\xfb\x4a\xa2\xe1\xb5\x26\xb0\xe8\xb1\x1c\xd4\xe6\xaf\xab\xdd\xc1\x58\xeb\x99\xd0\x66\x60\xac\xb5\xaa\x7a\x33\xab\xdb\x15\xe0\x09\x14\x83\x57\x06\x63\x2d\x4d\xa0\x8b\xaf\xdc\x3c\xbe\xb2\x96\xf8\x6c\xdf\x7a\x78\x2e\xe8\xb2\x7a\x21\xb7\x84\x63\x2d\xed\x4f\xab\x48\x4c\x10\xdd\xf7\x40\x89\x2f\x2b\xcd\xdf\x97\x0e\xf9\x5a\x59\x3e\x5c\x45\x69\x81\xa1\xb5\x84\xe7\xd0\xe2\x8c\x12\x1e\xfa\xff\x3b\xca\xdd\x22\x32\xb8\xb2\xbc\xde\xaf\x62\x68\xb1\x05\xa9\xb6\xa6\x50\xa7\x95\xee\x27\x51\xd6\x25\x4f\x6e\xe8\x62\x76\x83\xb8\xcb\x48\xd4\x60\x63\xa6\x29\xdd\x57\xb3\xeb\x2e\x32\x8f\x85\x05\x0a\xf9\x52\x5e\xa8\xbe\x9e\xcc\x70\x8c\x8c\x5f\x49\x87\x05\xa0\x0e\xf3\xe5\x8c\x4a\x25\x1a\x63\x9b\x96\x46\xb8\x8b\xab\x34\xcb\x5b\x07\xc4\x04\xab\x3a\xdb\xee\xb3\x94\xa4\x5c\xac\x0b\xac\xaa\xfd\xd2\x96\xba\xd9\xe6\x53\x92\xcd\x49\xaa\x25\x99\xf1\xa6\x8d\xb4\xdd\x6f\x9f\x34\x6c\x73\xd7\x4c\xa0\x63\x89\x08\x02\x47\xa8\x7e\x37\x36\x88\x94\xad\xb7\x7b\xd7\x6d\xb6\x98\x99\x1b\x3a\x84\x1c\x98\xf2\x6a\x83\x9b\x7d\xa9\xe4\xee\x06\xfa\xae\x8d\xe9\xf0\x21\x35\xeb\xa3\x36\x56\xc4\x6b\xac\xc2\x9d\x2a\xbe\xb2\x85\xa0\x37\x70\xe5\x97\xbd\xf3\x9a\x13\x86\x55\x80\x37\x0f\xf0\x68\x40\x4d\x5d\x5e\x1e\x88\xcc\x91\x44\x1c\x85\x9a\x41\x69\x30\xcb\xeb\x55\xa2\x12\xa7\x51\xee\x40\x24\xb9\x68\x8c\x32\x6d\x63\xd0\x8e\x54\x8e\x13\xd0\x24\xc2\xea\x95\xd5\x4d\x9d\x2c\x6a\xd2\x1e\xdb\x79\x4c\x28\x53\x7f\xfe\x8f\x8d\x76\x53\xab\x56\x76\xdd\xa0\xe2\x16\x8e\x22\x22\x8d\x8d\xdd\x46\x21\xe3\x09\x7f\x82\x62\x5b\xbb\xec\xaa\x3e\xca\x7a\xde\x9a\xc1\x7b\x28\xe2\xb8\x20\x75\x23\x2e\xcc\x05\xcf\x67\x73\x67\x43\xd2\x67\x46\x4f\xad\x6e\x2f\x7f\x5c\xb2\x91\x6f\xbc\x97\xdf\xe5\x34\xd9\xce\x42\x77\x57\x2a\x43\xf6\x69\x78\x8f\xe4\xdc\x9f\xd6\x09\x34\x5b\xbb\xb1\xcb\x83\x6e\xdf\xa7\xfd\xd6\xfb\x6b\xa0\x9b\x9e\x83\xdf\x9c\xf2\x24\x01\x4f\x83\x24\xe9\x13\x11\xf5\xdd\xc3\x84\xef\xe9\x66\xc8\x79\x7e\x00\xf0\x75\x91\x18\xd1\x4a\xfe\xba\x31\xa2\xa1\x44\x6e\xf4\xd5\xa0\x05\x13\xaa\xc6\x19\x61\x75\x36\xb6\x9f\x96\x2b\xc0\xbc\xb3\x80\x41\x17\x3d\xb6\xb7\xa0\x41\xb7\x24\xaf\x1c\x38\xb8\x66\x1e\x87\x1a\x3c\x58\x61\x76\x3e\x96\xaf\xb8\x66\x5c\xe0\x90\x51\x7c\xfa\x7a\x89\x47\xac\x5f\xca\xa7\x70\x95\xb2\x27\x8b\x22\x20\xdb\xe8\x10\x21\x33\x83\x3a\x1b\xd6\xb0\x02\x6e\x34\xfd\x17\x68\x3a\x06\xbc\xd6\x84\x14\xba\xb0\x41\x88\x26\x27\xf1\x11\x8e\x16\x51\x42\xa3\x40\x67\x9e\x09\x9c\xcd\xeb\x38\x9e\xdb\xf9\x0e\x75\xe7\xad\x50\x77\x9a\x0a\x52\x6d\x12\xb7\xed\xe8\x8a\xe1\x94\x74\x68\x40\x75\x68\x40\x3d\x8f\x77\xc1\x8a\xd2\x5a\x6f\x08\xa3\xb0\x7c\xee\x3a\x48\xa0\x37\x80\x04\xda\xe6\xf0\x15\x78\x3f\xa5\x63\xd7\xc1\x14\x7d\x68\x05\x53\xe4\x2f\xc1\x83\x42\x9e\x69\x3e\x8f\x6f\x8c\x68\xb2\x3c\xb0\xb7\x84\x25\xaa\x11\x17\x36\x91\x9b\x56\xe1\x12\xad\xa2\x8b\x56\xeb\xf2\xb6\x28\x41\x9b\xad\xcc\x46\x00\x40\xb5\x77\xd7\x81\xc0\x01\x35\x6f\xc3\x81\x9c\x9b\x7d\x66\xb5\x6c\x56\x3b\x34\xcc\x6c\xd9\x44\xc1\xda\x2c\xc9\xc5\xd3\xc3\xfb\x4a\x74\x29\x8a\xac\x6d\x97\xec\xd2\x77\x3e\x68\x22\xd0\x9c\x27\xb1\x03\xa1\xf0\xab\xe5\x3b\xf0\x99\x00\x7e\x81\xdc\x66\x40\xb1\x73\xd0\xb6\x8a\x82\x60\xab\x52\x5a\xfc\x26\xc2\x70\xf7\xc0\x68\xf6\x61\x45\xf0\x9c\x64\x1b\xfb\xc1\x5a\x59\x44\x96\xcd\xdf\x2b\xc6\x58\x5a\x21\xb0\x9a\xd7\x0f\x73\xad\xdd\x77\xcd\xe0\x56\x89\x1e\x81\x71\x50\xd4\x95\xfa\x34\x74\x06\x4f\x9f\xa8\x33\x44\xe0\xb0\xc7\x95\x5e\x3a\x37\xbb\x56\x9e\xba\x2a\xb1\x6c\x11\x0c\xb6\x54\xb9\x6d\x77\x70\xa0\x14\x7f\x1e\x67\x58\xe0\x24\x21\x09\x95\xe9\x8b\x05\x03\x9f\x95\xdd\xb5\xfa\xac\x0a\x6e\x4c\x44\x2c\x4f\x27\x86\x14\xdd\x40\x6c\xb1\x3f\xc5\x91\xc8\x59\x08\x6d\xe6\x37\xc6\x17\x13\xcc\xe1\x5e\x00\xab\x52\x34\x87\xaa\xad\x53\x4c\x05\x23\xb2\xb1\x46\x26\x89\x72\x41\xd5\x62\x6c\x4b\x8e\xb6\x3f\x70\x77\xf6\xcb\x33\xfb\xe1\x6a\x0f\xb7\xcb\xea\x77\xfd\xf9\x12\xa7\x19\x11\x50\x26\xc8\x15\xbc\x09\xca\xaa\x5a\xd4\x06\xe2\x6b\x0d\x41\xf8\xf3\xd2\xb5\xdd\x14\x38\x8c\x9f\xc7\x41\x46\xd5\x38\xaa\x12\xc7\xba\xc3\x5a\x87\x3b\xb5\x6a\x92\x2f\x8c\xbc\xd4\xe0\x45\x7e\x81\x2a\x23\x36\x6d\xc2\x34\xad\x07\x1c\xb8\x82\xc1\x5e\x59\x6c\x4c\x90\xf2\x6e\x95\xaa\x86\x71\x5a\xac\x9f\xba\xe0\xa3\x15\x83\xed\x07\x5f\xb5\x18\x71\xd0\xc9\x9e\x86\xad\x0f\xba\x10\x79\xa6\xe8\x64\x19\xda\x46\xed\xaf\x84\x68\x3f\x81\x34\x6b\xe7\x66\x28\x75\x6b\xea\x8a\x96\x38\xb1\x9d\x9d\x96\xff\x2d\x8e\x98\x43\x08\x32\x08\x4b\x61\x1e\xdf\x75\x4a\x95\x72\x89\x02\xc6\x00\xad\xa9\xb3\x6c\x9b\xfd\xca\x85\x7b\x60\xa8\xf4\x6a\x4c\x44\xc7\x23\xd6\x97\xe8\x99\x20\x46\x2c\x84\x44\x4d\x0d\x57\x6f\xd5\x86\xda\x4f\x13\xa2\x7b\xf2\xb1\x29\x5a\x78\xa0\x4a\xfa\xf2\x63\xa6\x8f\x29\x4e\x24\xe9\xe9\x86\xa1\x6a\xa9\xe2\x10\xfc\x89\xd1\xb3\xc0\x59\x46\xc4\x88\xd9\x2c\x0e\x70\xb8\x70\x9e\x98\xf6\x9b\x42\x5c\xed\x1a\x90\x71\x84\xa3\xf9\x2b\xed\x11\x86\x64\x9c\x68\x4e\x62\x97\x2f\x5c\xde\x1e\x37\x6f\x63\xb0\xde\x60\xb3\x86\x53\x57\x3e\xab\x67\x3b\x49\x22\xcd\x51\x7c\x99\xe9\x8c\x08\x3d\x6a\x4d\xc3\x4f\x84\x21\x3a\x75\xe3\xb0\xb1\x3b\xe8\x19\x3c\x53\x9a\xf4\x9f\x30\x4d\x4c\x02\xbe\xeb\xda\x09\x81\xc6\xfc\x3e\x62\xc6\xdd\xcd\xa2\x52\x86\x2a\x65\x54\xce\x35\xa7\xce\xc1\x27\x09\x6a\x46\x53\xe2\x0c\x7b\xda\xe4\x34\x0f\xf4\xeb\xab\x39\xe8\x13\x15\x9c\xa5\x90\x24\x63\x71\x99\xdc\xf2\x49\xa2\xfc\xf1\xa8\x4d\x71\x5c\x2b\x11\xc7\xb1\x2c\x1b\x3f\x8d\x5a\x49\x7f\x2d\x99\x5d\x8e\x4a\x59\x81\x51\x00\x2b\x04\x41\x9c\xae\xb2\xd8\x2a\xf9\xb7\x4b\x6d\x58\x4e\x6d\xa8\x5f\x9b\x43\x4c\x6f\xf0\x87\x78\xd3\x14\x87\xa6\xed\xdf\x87\x64\xbb\xc7\x54\x87\x37\xce\x09\x78\x99\x74\x80\xb7\xcd\xdf\x78\x89\xd4\x8d\x2e\xc1\xe1\x0d\x13\x1c\x5a\x5b\x6a\xcb\xb1\xd9\xcd\xc7\x76\xa3\xe4\x80\x35\x60\x4e\x75\xbd\x5c\x12\x25\x68\x24\xf7\xc1\x1f\x64\x86\x5b\x46\xb5\x81\x16\x98\xad\x91\x9a\xf4\x0b\xde\x09\x09\x71\x62\xbe\xce\xdf\x44\x10\xfc\x18\xf3\xe7\x25\x5b\x9d\x0c\xd1\x34\x2e\xb9\x16\x7b\x04\x89\xa8\x24\xa5\x48\x16\x2a\x11\x23\xd2\x1a\x3b\xf1\x88\xcd\x29\x11\x58\x44\x73\xc8\x6e\x2c\x36\xc6\x64\xc9\x1a\x40\x23\x13\xcb\x10\x7a\x9b\x36\xd8\xf4\x16\xeb\x5e\xb5\x30\x79\x7c\x3a\xbb\xe7\x7a\x24\xa9\xf9\xc4\x0b\x33\x56\xca\x08\x4d\x72\xad\xb6\x7f\xd7\x40\x7c\xbf\xd8\x2f\x1a\x8c\xef\x83\x89\x82\x2f\x5a\x06\xe4\x17\xd4\xd0\x05\xe5\xbf\x50\x50\x7e\xcd\x12\x6f\x16\x98\xbf\x95\xc9\xef\xf5\x63\x86\x5d\xcf\xaf\x11\x37\xbc\x2e\x68\x2b\x9f\x8c\x5f\xfc\xe8\xd5\xce\xb9\xed\x09\xfc\xc9\x13\x85\x91\x88\x85\xa6\xb3\x09\x89\x63\xe0\xb4\x8a\xdb\x4a\xd1\x05\xed\x38\xf3\x80\xbe\x7b\xb1\xd4\xc4\x8e\x13\xce\x66\x92\xc6\x06\x6c\x25\xc3\x50\xb1\x35\x34\x5e\x00\xb8\x00\xec\x6f\x92\x10\xe1\xbc\x12\x02\x7d\x2d\x29\xb3\x68\x8a\xfe\xb7\x98\x13\xc9\xbe\x52\xc6\x58\x80\xd9\x02\x3d\x32\xfe\x9c\x90\x78\x06\x3b\x54\x1d\xcc\x11\xa2\xa4\x87\xa8\xf2\x9f\x09\x40\x23\xe0\xb9\x1a\xe9\xb1\x43\xac\x99\xd1\x00\x88\xfd\x36\xa8\x89\xee\x9b\xf9\xe6\x18\xa1\x21\x43\x53\x1c\xa9\x1e\x92\xf9\xa4\x68\x3f\xe6\xa6\xc8\xb5\xd6\xbe\x83\x89\x17\x8d\x74\x31\xe3\x35\x9d\xd7\x9f\x0d\xc7\x1d\x34\xb9\xf6\x13\x8a\x77\x8a\xad\x7b\xc2\xbb\x40\x8c\x5e\xe6\xd2\x06\x61\x20\xce\xfc\xd1\xb7\xf0\x4a\x1e\x23\x1a\xf0\x3e\x0d\xde\x32\xe3\x71\xa3\xad\xb3\x32\x95\x4d\xc7\x52\x04\x42\x5a\x41\xc9\x3a\xaa\xa0\x5d\xb3\xdc\x5a\x6a\x92\x4a\x10\x9c\x5a\xe7\x80\xbe\x6a\x40\xac\x31\x61\x90\x7a\xf4\x54\x18\x09\x73\x93\x2d\xbe\xa0\xec\x51\xef\x6e\x81\x8a\x0d\xf5\xe5\xa1\xe7\xba\x4d\xcb\xf4\x8d\x47\xce\x38\x33\x0e\xc2\x9d\xe4\x4e\x3a\x63\x38\xd9\xd0\xc6\xb1\xb4\x72\xcb\x3e\x3d\x27\x67\x59\x71\x41\x4b\x11\xc6\xd8\x87\x4c\x8f\x1b\xd9\x90\x2a\xf3\x0d\xe5\x3d\x8c\x62\x92\x11\x16\x13\x16\x2d\x80\x44\x18\x20\xe7\x08\x86\x13\x84\xe1\x3b\x9c\x1c\xa3\x73\x93\x5f\xe3\x25\x3c\x7b\xad\xc3\x85\x9e\x62\x46\xa7\x5a\x4f\x00\x23\xac\x1d\xe5\x88\x99\x61\x3a\x1f\x48\x50\xb4\xdf\xaf\x58\xdd\xce\xe8\x1b\xe4\x6a\x47\x54\x62\x56\xfe\x1e\xad\xbe\x70\xa0\xb7\x55\xbb\xa3\x9b\x73\x35\x08\x64\x3e\x39\x82\x7f\x97\x12\xce\x1c\x50\x4f\x81\x22\x43\x12\x02\xe6\x40\xeb\xf1\x82\x8b\xb1\x09\x58\x6e\x1f\x7e\xbb\x35\x79\x1c\x41\x1f\x25\xa5\x26\xa5\x8c\xa6\x79\x1a\x38\xef\x4c\xc5\x82\xc8\xda\x2f\x4d\x26\x46\xa6\xf5\x80\xc8\x81\x97\x23\x7d\xb9\xb2\x05\x9a\xd1\x27\xc2\x46\x2c\xe3\x94\xa9\x63\x74\xc5\x15\x09\x4a\x44\x18\xe8\x28\x9e\x29\x9a\x1a\xb4\x53\x41\xf4\x39\x30\xa0\xd8\x00\x34\x39\xc7\xaa\x87\xe2\x1c\x8e\x2a\x23\x4a\xb3\x0e\x7d\xe3\x2a\xd8\x19\x88\x8f\x16\x23\x66\x6e\xba\x29\xa6\x49\x2e\x88\x95\x59\xb1\xc9\x8b\x29\x86\x5c\x8c\xcc\x22\xa1\x05\x93\x48\xe9\x6c\xae\xf4\x16\x69\x19\xcf\xfa\x1b\xe7\x9a\x1b\xf1\x11\x9b\x10\x84\x51\xc6\x25\x55\xf4\xc9\xfb\x2f\xe9\x14\x61\x29\xc1\x82\x72\x8c\xce\x4b\xf6\x7f\x2a\x41\xf5\x6e\x8a\xab\xa5\x6c\x6c\x6d\xcf\xcd\xf9\x38\x3b\x6f\x64\xa9\x17\xbb\xca\x78\x22\x79\x92\xab\xd0\x05\x5b\xbf\xb7\x85\x69\xdc\x01\xf7\x83\x81\x98\x4f\x47\xcc\xd1\xb5\x3c\x46\x7d\x89\x24\xd7\xbb\x24\xcd\x56\x46\x82\x2a\x22\xa8\x41\x71\x22\xca\x6c\x82\x3f\xa7\xfe\x0c\xa4\x58\x3c\x6a\x11\x2a\xb4\xc0\x1b\x4c\xd1\x92\xb5\x63\x62\x24\x24\x80\xb5\x0a\xb7\x03\x4c\xff\x88\x71\x76\xc4\xc8\x0c\xaf\xdb\x91\x11\x2b\x6d\x09\xfa\x9a\x4e\x0b\x85\xb4\xc9\xe7\x18\xac\xdd\x18\x22\x9f\x9a\x76\xc9\x74\xdc\xb4\x49\xd3\x84\xe3\x35\x6e\xe3\x69\x71\xe8\xd1\xdf\xf9\xc4\x8c\x51\xeb\xfd\x5c\x81\x14\xa8\xd5\xab\x29\x17\x64\x8e\x59\xdc\x73\x9b\x55\x1e\x1b\xdc\x8c\xd6\xd4\xe6\x94\x31\x90\x04\x1d\x88\x30\x31\x58\x4c\x98\x05\x7b\x61\x15\x37\xbb\x15\xc5\x3e\x6c\x74\x57\xf8\xd6\xa0\xf6\x89\x31\x40\x18\x96\xb7\xc8\xec\x11\x97\x34\xcd\x92\x22\xa7\x29\xb0\x8d\x4e\xb5\x88\xe5\x78\x24\x7f\x02\xd3\x95\xd3\xda\xe0\x56\xb7\x3b\xa7\xe9\xac\x66\xe4\x9e\x91\xc2\xad\xe1\x6c\x5e\xa6\x0c\x66\xc0\xc2\xbe\x96\x44\xff\x53\x91\x42\xed\x33\xc2\xfa\x88\x39\x11\xe4\x1b\xe0\x32\xb6\xd9\xc0\x78\xa6\x45\x68\x03\xf3\x6a\xd7\x0f\x45\xc6\xc9\x5d\x3a\x27\xf6\x30\xb8\x57\x6b\x2e\xaa\xef\x28\xc3\xa5\xcc\xdb\x2d\x04\xbf\x24\xdf\x28\xb9\x2a\x70\xfb\x2d\x9a\x6a\x9a\x28\xbc\xae\xcc\xc8\x06\x94\x60\xf6\x99\x20\xdd\x9d\xa5\x66\x57\xf1\x06\x43\x44\xc0\x9c\x24\x19\x8a\xe9\x14\xcc\x52\x0a\xd8\xb7\x07\x16\x33\x58\xf0\xfa\xb0\xa7\x39\x33\x20\x71\xc6\x23\xf2\x6c\xf1\xb6\xed\xd5\x58\x34\x7e\x3c\x62\x43\xf5\x95\xd4\x22\x3a\x67\x33\x7d\xd1\xc4\x4f\x54\x16\x45\x4e\x22\xce\x64\x9e\x12\x61\xbb\xd0\x37\xb2\xa6\x48\x5b\x20\x00\x3b\x19\x4a\x8f\x4d\xef\xfd\x13\x4e\x68\xec\x0a\xf1\xe8\x1f\xcd\x99\xd3\xa3\x94\xce\xa3\x58\x13\x12\x66\x37\x37\xd6\x6b\xf5\x66\x62\xfd\x8f\xa1\xe4\x8e\xd2\x42\xc8\xc7\xd6\x56\x7f\x52\x15\xf1\xed\xaa\xaf\x10\xef\x27\x4b\x93\x42\xab\x05\x23\xbb\x0a\xe7\xeb\x50\x0c\x1d\xa2\x6e\x6e\x42\x80\x75\x3f\xce\xe8\x63\x06\xb7\x11\xfb\xa9\x4c\xd0\x8e\xda\x70\x96\x50\xbc\x27\x14\x64\x03\xa9\xb0\x16\x2f\xcc\x75\xc0\x85\xd5\x70\xec\x9d\xd3\xbc\xb5\xe7\x3b\x96\x89\x90\x11\x4e\x96\x77\x78\x85\xbd\xd9\xbc\xbf\x5a\x09\xb0\xc7\xcd\xb4\xbd\x32\xe9\x37\xe2\x49\xb2\x49\x09\x93\xca\xcc\xcf\x8a\xcf\x57\x8f\xa8\xe8\x47\x6f\x80\xdb\x0b\x38\x35\xe6\xf2\xc6\x89\x35\xa5\x48\x65\x77\x29\x7c\xc9\xa8\x61\x0b\xcb\x5a\x47\x8c\x4f\xa1\xc8\x4d\xd2\x14\xd5\x95\x09\x9e\xd2\x4d\x50\x96\x4d\xa0\xd3\xad\xb3\x8b\xaf\xb1\x32\x38\xeb\x39\x88\xa6\x86\xbc\x6c\x8f\x90\xaf\x87\xad\xb8\xb9\xe2\x0c\xa5\x38\xdb\x6a\xc1\xd7\x79\x85\xfa\x28\x35\x2e\x39\xbb\x7a\x80\xb7\x48\xa0\x5e\x0c\x2c\xf2\x33\x5e\x14\xa9\xd1\x4d\xf8\xb9\x6c\x23\x72\x78\xd0\xaf\x0f\xd9\x94\x6f\x70\x38\x8b\x54\x66\x7b\xfa\xb0\xa3\xd9\xe0\xfc\x79\x2f\x85\xd9\x7d\xb3\xa6\x6d\xce\xe3\x59\x1d\x51\x6f\x7c\x32\xdd\x0a\xbe\xa4\x8d\x32\x64\x22\xa1\x79\x72\x93\xbb\xb5\x7c\xb4\x82\x16\x11\x0c\x67\xf5\x52\x5d\x96\xe8\x70\xef\x6b\x54\x69\x07\x19\x53\xb8\x0b\xa6\xbe\xa9\x6f\xf5\x15\xd6\xcc\x1e\x92\x56\x8b\xb5\x23\x76\xc3\x66\x38\xc0\xae\x47\x8f\xfa\x5b\x7f\x42\xd7\x16\x39\x68\xbf\x18\xc0\xcd\xa4\xb5\x73\x15\x91\x99\x36\x45\x6d\x4a\x13\x2d\x62\x0f\x6b\x0c\x9c\x2e\x41\xcc\x07\x54\x99\x50\x79\x27\x3d\xe5\x82\x06\x85\x41\x9d\x8c\x84\x28\x14\x28\x09\x9d\x3c\x81\x42\x0f\xa6\xc5\x39\x7f\x36\xd1\xe9\x82\x6a\x9e\x65\x84\x55\x05\xe6\x1e\xcd\x0b\xa8\xb5\x96\x18\x63\x93\xff\x80\x9b\x98\x41\x6c\x6b\x1f\x17\xa3\x6a\xd8\xd2\x7d\x94\x78\x6a\x9f\x7f\xe7\x7a\xbd\xd7\x5f\x2c\xef\x4d\xed\x08\xef\xcb\xad\x6f\x3c\x3a\x2f\xe5\x6f\x1e\x30\xf5\x11\x3e\x75\x4a\x0f\x46\x53\x41\xc0\xc1\x9f\x7a\x4c\x0d\x03\xaa\xcb\x39\xdc\x77\x77\xe7\x3f\x9c\x3c\x0c\x11\x51\x11\x4a\xe8\x23\x19\xb1\x48\x3e\xf5\xb4\x78\xfc\x8f\x9c\x28\xfd\x73\x83\x47\x80\xa6\x84\x49\xe0\x04\x54\x2d\x61\x0f\xd5\x2f\xa4\x5b\x18\xfd\xdf\xf3\xf2\xf7\x2b\x48\x7e\x29\x7d\x18\x68\xd7\xd5\xbb\x01\x32\x85\x92\x1e\x66\x69\x65\x0d\xc5\x18\x5b\xe4\xa0\xae\x1a\xe6\x16\xe9\x42\xec\xef\x39\xdb\x50\xe8\x3a\x2b\x3e\x0a\x46\xd1\x20\xd3\xa5\x19\x06\xac\xeb\xcd\xf2\x90\xcc\x37\xb5\xad\xaf\x63\x22\x45\x5a\xb6\xb3\x2d\x17\x85\x43\x91\x12\x84\x00\x0b\xf1\xf4\x64\xef\x7a\x8b\xc4\xe1\x27\x16\x7c\x74\x3c\x62\x97\xce\xe3\x5c\xfc\x2a\x0b\x3d\x3c\x9d\x04\x10\xe0\xe5\x56\xa0\xd9\x98\x4a\xff\x03\x14\x74\x91\x79\xa2\x4c\x45\xbb\x29\x65\x38\xf1\x03\x35\x4f\xea\xb8\x84\xc0\x2c\x9a\xef\x6a\x42\xa6\xd3\x31\x49\x36\x91\x44\x87\xd3\x41\x22\x35\x7d\x47\x8f\x0d\xa7\x73\x9b\x9a\x8d\xc5\x64\x6c\x25\x5a\x53\xf7\x09\x15\x26\x68\x9c\x98\x8a\x72\x04\x81\x8f\xb2\x9a\x3d\x66\x00\x22\xf4\x2e\x5a\x49\xdd\xb8\x28\x4d\xda\x86\x0f\xc9\x86\x5e\x10\x56\x23\x26\x72\x06\xc5\x26\x7c\xc4\x02\x46\x05\x5e\x78\xe4\xfc\x07\xd6\x9b\x33\xd3\x6c\xc2\xc0\x71\x9b\x97\xb5\x7e\xc6\x73\x09\xb6\x9a\x94\x28\x7d\x41\x7d\x0d\x75\x60\x4d\xc8\x50\x0f\x65\x82\xa6\x60\x6e\x95\xdf\xd4\x6c\xdd\x19\x56\x38\xe1\xb3\xbe\x50\x74\x8a\x23\x75\x8f\x77\xd2\xc0\xb1\x6d\x66\xdb\xf0\x53\x37\x0c\x34\x3c\xd7\x8b\x3f\x23\x8c\x08\x98\xa8\xd6\xc9\xeb\x8f\x30\x3c\xd9\x8a\x73\x83\x95\xcd\x1a\x46\xa5\xb7\x58\xe0\x5c\xf1\x54\xeb\xb7\x38\x49\x16\x3d\x63\x91\x25\x68\x8e\xe5\xdc\x6d\xb4\x31\xa6\xb5\xb9\x9b\xec\xe2\x9e\xe1\x68\x4e\xee\xa0\x2a\x72\xdd\xe2\x56\x46\xf9\x81\xb0\x3c\xfd\x70\x8a\xfe\xa7\x98\xe3\x59\xff\xec\xfb\xc1\xf8\x7c\x78\xd7\xff\xee\x62\x70\x1e\xcc\xc7\x3e\xb9\x1c\xde\xdd\x2d\xff\xfa\xfd\xf0\x7e\xf9\xc7\x9b\xeb\x9b\x87\x8b\xfe\x7d\x5d\x2b\x17\xd7\xd7\x3f\x3c\xdc\x8c\x3f\xf6\x87\x17\x0f\xb7\x83\x9a\x4f\x1f\xee\x9b\x1f\xde\xfd\x30\xbc\xb9\x19\x9c\xbb\x55\xf9\x5b\x70\xba\xc0\x7a\x0c\xa9\x17\xf5\xd3\xa8\x1e\xc0\x23\x54\x7e\xf1\x14\x3d\x54\x4b\x1f\xd8\x58\x64\x83\x63\xf1\x8c\xa5\xe6\x61\x10\x0a\x3f\x62\xc8\x7d\xae\x17\xa5\xe9\x53\x13\xae\x13\xcd\x09\x4a\x38\x7f\xcc\x33\xcb\xda\x4c\x7c\x18\xe3\xc6\xf0\x43\x64\xd0\xda\xf7\xc3\xfb\xd3\xe5\x12\x0c\xbe\xb1\x00\x31\xcb\x9d\x01\x18\x17\x76\xec\x14\x6c\x29\x0e\x9a\xbf\xb0\xde\x06\x3d\xf8\x9d\x59\xd5\x8f\x69\x0d\x33\x55\xe9\x26\x8e\x6d\xd1\x5f\x37\xb1\xa0\xe1\xf2\xbe\xae\x5a\x4d\xbf\x1c\xa6\xf6\x14\x9a\x90\x08\xe7\x26\xa8\x49\xdf\x53\x42\x70\x11\x0e\xb8\xa0\x87\xfd\x35\x6a\xe9\xa8\xb6\xc1\xca\x9e\xe9\x89\xcb\x47\x9a\x65\x24\xfe\xb0\x2c\xbf\x94\xab\xc3\xda\x9a\xe4\x7c\x8a\x82\x33\xa9\xf5\x7a\xd0\xf9\x5d\xe1\x94\xf9\xc2\x7b\xd2\x20\x70\xa3\x08\x65\x01\x20\x67\x7d\x27\xf8\xc2\x16\x14\x5c\x63\x58\xa1\x67\x02\x29\xd5\xb9\xad\x1c\x65\x74\x6f\x7d\xb6\xa1\x3b\x63\xd3\x76\x75\xe0\x4a\xa9\xd6\x8d\xcc\x78\x1f\x02\xb7\xfe\x5e\x92\x3a\x46\xbc\x43\x5e\xec\xb9\x69\x14\xb8\xb3\x8b\x79\x83\x11\x37\x04\x37\xb8\xdb\xa0\xc6\x42\xbe\x42\xbe\x5a\xbe\x91\xd6\x5c\x16\x9a\x6d\xb7\x19\x8f\xc3\x02\x29\x01\x5c\xb7\x1f\x58\x09\x04\x79\xed\x5a\xdd\xf3\x18\x2f\x34\x71\x40\xac\xb1\xcc\xb3\x8c\x0b\x85\x1a\xda\x30\x6e\x7c\x33\x3e\xb8\x73\xec\x3c\x3c\x8f\x83\x46\xb4\x84\x21\x6b\x6a\x69\xb4\x83\x47\xb0\xeb\x5a\x30\x8e\x30\x40\x16\x14\x41\x5f\xf7\x28\x2d\xa9\xd4\x25\x0a\xad\x13\x7e\x77\xc9\x30\xc8\xf4\x05\xdf\xb6\x0c\x5f\x5d\xef\xd7\xae\x85\xda\x2d\x4f\xc8\x54\x8d\x6b\xbd\x3e\x2b\x0c\x9c\xba\x45\xd6\x84\x28\x43\x67\xf3\x3d\xb4\xd8\x5e\x4b\xf8\xa3\x0d\xec\xd1\xaa\x41\x60\x21\x10\x9c\x2b\x23\x9f\x16\x3a\x0c\x72\xab\x09\xe6\x05\xdb\xa9\xcd\x05\xf3\x42\xa0\x96\xf9\x8d\x3f\xd4\xa7\x4d\x1d\x8f\xd8\x00\x02\x28\x0a\x45\xc4\xa5\x88\x81\x16\xb0\x56\xfe\x2f\x15\x1d\x7d\xd5\x68\xcd\x66\x84\xd7\x82\xee\x6d\xbd\xfc\x64\x81\x8a\xc2\xb2\xa5\xef\xda\x9c\x1e\x63\xf5\x76\x22\xa0\x99\xb0\x2d\xe3\xae\x48\x66\x2d\xf3\x66\x9e\x45\xa4\x0f\xc4\x87\xe9\xae\x8e\xd1\x4f\xce\xf2\x03\x81\xaf\x45\x4d\x66\x1b\xbb\x91\xe0\x85\x03\x85\xac\x5b\xd8\x7d\xe0\x2c\xee\x3b\x14\x76\xf5\x02\x7b\x40\xa7\x9a\x55\x2e\x29\xe0\x8c\x19\x8b\xec\x06\x69\x1f\x67\xfe\xa3\x3b\xb2\x3a\x2a\xe0\x23\x94\xe1\xb4\x91\x55\x20\x74\xb0\x64\xf1\xbf\xcc\x66\x99\x4c\x54\x57\x58\xcb\x96\x45\xb4\x1e\x54\x7d\x7e\xc0\x03\x68\x12\x55\xd1\x94\x26\x09\xc8\x01\xc7\xa8\x0f\xe5\x81\x21\x91\x53\x5f\x85\x2e\xc0\x82\xce\x18\x5f\x97\x63\xd6\x40\x4c\x51\x40\x4c\x77\xcd\xc4\x24\x81\x9a\x8a\x3c\xfe\xfd\x50\xd4\x1e\x30\x5d\x34\x6f\xc1\xcb\x88\xd8\xed\x91\x5c\x36\x50\xde\xdf\x22\x3a\x7a\x69\xb8\xc1\x87\xff\xaa\x1f\xfa\xa7\x1c\x0b\xcc\x14\xc4\xfc\x5a\xd1\x5d\x90\x20\xf5\x88\x7c\x86\xf8\x0c\x66\x0c\xc1\xf0\x53\xb8\xb9\xce\xe5\x0f\xe1\x5e\x88\xc6\x3d\x44\x8f\xc9\x31\x54\x67\x13\x5a\x96\x98\x14\x6f\xce\xb5\xe4\x30\x62\x4b\xb1\x8c\xc7\xa8\x9f\x48\x6e\xbf\x20\x2c\x4a\xa0\x1c\x77\x10\x9e\xec\x29\xdf\xba\x95\x26\x0b\x50\x50\x60\x2b\x8b\xe6\xb9\x7d\x10\x7c\x08\x45\xc6\xc0\x27\x9e\xc0\x49\x2f\x7e\xff\x3d\xcf\x8c\xb7\xa2\x29\x4e\xe2\x05\xcb\x39\x2c\x5d\x43\x2f\xb6\x49\xa6\x54\xe0\xaa\x0d\x82\x37\x60\x63\x8a\x18\xd3\x00\x81\x05\x7d\x8d\x15\x4a\x08\x96\x0a\xfd\xe1\x9b\x8d\x62\x43\xdc\x04\x0b\xee\x6a\x8f\x6f\x91\x28\xe6\x52\x0d\x42\xe1\xce\x77\x0c\xb5\xe3\xb0\x50\x08\x23\x46\x9e\xc3\xc8\x52\x0e\xc1\xc0\xae\x20\x1c\x09\x72\x5b\x4d\x3c\x99\xc9\xcc\x87\x6c\x0d\xa3\x32\x35\xf0\x11\x07\x77\x6c\xdd\xa7\x76\x58\x35\x94\x65\x95\x27\x1b\xe2\x09\x90\x5c\x45\xd0\xff\x1c\xab\x11\xb3\x9c\xd5\x85\x8d\x04\x69\x5e\xfd\x24\x29\x07\xda\x63\xc8\x25\x61\x7a\xc2\x50\x9f\xfd\xd8\x2f\xd0\x15\xa8\x5f\x3e\xda\xb9\x64\xa7\x2b\x0e\x8b\x89\xc7\xf3\x78\x47\x61\xdb\xb5\xd2\x4e\x9d\x7d\xf9\x15\x85\xe0\x9a\xee\x2f\x4c\xa1\xfc\x16\xc2\x30\xa9\x1b\xf2\x9a\x83\xb5\x6c\xd3\x5f\x21\x1b\xef\xbb\x83\xf6\xa2\x72\xbd\x7d\x1c\xae\xd9\x67\x5e\x63\x6e\x6f\xd8\xdc\x40\xb6\xd8\x45\x01\xf7\x61\xf7\xaf\xe5\xf1\x2d\x0d\x7d\x18\x43\xd2\xdf\x7a\x2e\x58\x24\xd1\x39\xd6\x61\x62\xaf\xe3\x20\xa7\x27\x48\x21\x80\xe0\x3f\xc7\xf8\xec\x9b\x0d\x9e\xd7\xec\x7d\x4f\xbf\x57\xcc\xdf\x4d\xc5\x07\xc1\x2d\x4f\xbc\x59\xd8\xeb\xc7\x7f\xc7\x11\x44\xfa\x43\x4f\x2e\xc7\x60\x19\x90\xc9\xc1\x58\x63\x30\xe6\xd7\x8a\x87\x99\xe0\x11\x91\xf2\x18\x0d\xe0\xa2\xb1\xff\x44\x78\xea\x1c\x12\xc1\xcb\x23\xa6\x35\x13\x87\xdf\x12\xb4\x5f\x26\xf1\xba\x13\x60\xc0\xe0\x76\xf2\xe5\xa4\xeb\x6b\x94\x34\x69\x13\x0e\x8b\x0e\xda\x80\xb2\x06\x68\x30\x3b\x45\x31\x8f\x1e\x89\x38\x11\x24\xa6\xf2\x14\x7c\xeb\xaa\xd1\xa9\x97\x6a\x6d\x7b\x67\x49\xa3\x29\x50\x60\x4d\x52\xdc\x99\xe9\xdf\x06\x58\xbb\xf0\xda\x1e\xa2\x53\x50\x27\x5c\x4e\x86\x09\x42\x76\x70\x37\x84\x29\xb1\x80\xb8\x7e\x6f\xca\xaa\x2c\x84\xd3\x34\xb4\xd0\xd6\x94\x4d\x24\xf6\x11\x83\xb3\xe5\xb4\xef\xe7\x44\x12\x17\x70\x60\x26\xa5\xb8\x8d\x65\x36\xec\x22\xc3\x6a\x2e\x21\x75\xb5\xbc\x06\x56\xe9\x82\x4f\xf5\x0a\xe1\x0c\xe2\x15\x8c\x95\xa2\xf8\xc8\x27\x58\x4a\x45\x93\x64\xc4\x18\x21\xb1\x44\x90\x65\xfa\x55\x6d\x86\xbc\xfe\xb4\x87\x70\x1c\xa3\xff\xfd\xf5\xc7\x8b\x9f\xef\x07\xe3\xe1\x15\x18\xad\x87\x17\x83\x6f\x7a\xfe\xc7\xeb\x87\x7b\xff\xab\xb1\xb0\x3c\x11\x81\x52\xfc\x08\x2a\x1e\x93\xc4\x26\x4f\x90\x11\x0b\x47\xea\xb0\x03\xf4\x13\x49\x5c\xa4\xab\x15\x53\x3c\x84\xa2\xdd\xc3\xc6\x8a\xc5\xc6\xe6\xb7\x81\xf2\x7b\xeb\x3f\x59\x4d\x83\x8e\x78\x7c\x17\x4e\x0c\x84\x1c\x19\x2c\x83\x64\x72\xab\xfb\x16\x04\x47\xd8\x8c\xb2\xa6\x78\x3c\xc2\x9e\x5e\x52\x88\xff\x81\x2c\x7e\xd4\xea\xf5\x0d\xa6\xa2\x35\xed\xd5\xa3\x01\xb9\x13\xa3\xf5\x74\x2c\xab\x87\x4a\x1a\x59\xd8\x64\xdb\x34\xc6\x7c\xd6\x01\xc1\xbd\xf9\x74\x2d\xbc\x14\xf9\xac\x84\x43\xa9\xf0\xf9\x1c\x0e\xca\xc9\x5f\x34\x05\x0d\x8e\xd8\xfd\xf5\xf9\xf5\x29\x22\x09\x9e\x70\x08\xe5\xb7\x21\x41\xae\x09\xbb\x60\x11\x4f\x83\x86\x4a\x08\x25\x3d\x94\x15\x08\x25\xa1\x11\xed\xd8\xb4\xb1\x06\xa9\x24\xe3\x62\x19\xdf\x63\xbf\x2a\xa0\x9d\xec\x0d\x17\x6d\xae\x7f\xfd\x1a\x2c\x1d\xcf\xb4\x22\x57\xe1\xbc\xf6\x6e\x9e\x12\x6c\x6a\xe9\x1b\xb7\x90\xb5\xe5\xdb\x00\xd6\x24\x29\xd5\x53\xd4\x07\x47\x1e\x5b\x17\x7c\xf1\x26\x67\xe8\x87\xbf\x48\x34\xc9\xd5\x88\x95\xdb\xe0\x0c\xf5\x7f\xba\x43\xdf\x61\x15\xcd\xbf\x19\xb1\x6b\xad\x66\xfe\xf0\x97\x06\x28\xa5\x8d\xd1\x09\xf5\x9a\x9c\x63\x85\x2f\x38\x8e\x29\x9b\xd5\x41\x13\x16\xf5\x63\x06\xf7\xfd\x53\x74\x6d\x75\xf8\x22\x13\xc4\xa7\x04\x07\x0d\x01\x43\x86\x89\x38\x2e\x02\xac\x9c\x95\xe1\xdb\x8c\x66\x06\x17\xd6\x88\xdd\x1b\x4c\x46\xcd\x55\xa9\x42\x19\xb7\x35\x8c\xb4\x56\x66\xd0\x2a\xb1\xcb\x90\x22\xc9\x02\xe9\xd5\x01\x32\xf6\x9b\x61\xe5\x31\x90\x67\x96\x99\xfd\x88\x81\x82\xee\x73\x53\x12\x1e\xe1\x04\x62\xf2\x8e\x02\x9b\x9e\x56\xdb\x79\x0e\xf9\xe1\xa6\xe8\xf9\xa2\x1c\x3a\xeb\x21\x0b\xbc\x50\x16\x6e\x14\x18\x00\x60\x1f\xad\x37\x36\xe5\x9a\xe3\x18\x2c\x36\x30\xbe\x25\x66\x75\xf4\x87\x1e\x9b\xcd\x2c\x8b\x7e\xea\xd3\xb6\x78\xce\x1c\x16\x49\x04\xe6\x7b\xb6\x80\xf0\x6d\x28\x3a\xc2\x21\xf4\xa3\xe0\xce\x96\x28\x97\x76\xd1\xdf\x89\xc1\x67\x23\x66\x22\x05\x4b\xfb\x12\xa2\xf7\x04\xbd\x73\x06\x81\x8c\xcb\xb9\x62\x79\x66\x03\x1b\xad\xac\x9f\x09\x72\xe4\x33\xa0\xe2\xd2\x9a\xea\x1b\xf6\x18\xdd\x86\xea\x75\xcc\xa3\x3c\x75\xc8\xca\x90\x3d\x55\x94\x95\x2f\x49\x3c\xe6\x62\x5f\x47\xf1\x80\xd2\xa2\x08\xa4\x8f\xb7\xd6\x8f\x0d\xc1\xf4\xc3\x4f\x97\x25\xf5\x66\xc1\x17\x78\xc7\x6e\x51\x6b\xa6\xa1\x71\x56\x6e\xa9\xd4\xda\xce\x79\x89\x57\x05\xfa\x2b\x17\x20\x6c\x91\xcf\x19\x07\x23\xb7\x49\xcf\xe2\xf1\x57\x12\x0d\x6f\xb4\x04\xa4\x35\x5e\x7f\x06\x73\xa9\x4c\x70\x19\xa4\xeb\x98\xaf\x4d\xba\x40\x0f\x7d\x8b\x46\xf9\xb7\xdf\xfe\x29\x42\x9f\xdd\x1f\x7f\xfe\xcf\xff\xfc\xd3\x9f\x37\x49\x27\x71\x0a\x39\xb4\x5b\xac\x91\x2f\x27\x55\x16\x89\xc2\x1d\x58\xe6\x54\x3b\xec\x82\x3d\x80\x4d\xcb\xbf\x0d\xca\x63\x10\x3b\x84\x67\xf6\x84\xcb\xf0\x64\xa2\xd2\xd1\x2c\x22\x09\x24\x51\xbd\x32\x87\xf0\xc2\xae\x95\xe8\xff\xd7\x0a\xb0\xb2\xb1\x3e\x2a\xdb\xc5\x38\xd1\xc4\x8b\xd7\xba\x11\xf4\xb5\xb5\xff\x29\x70\x20\x7e\xe3\x2e\x38\x9e\xc4\x44\x98\x31\x79\x93\x9d\x37\x24\x02\x73\x20\x9f\xb3\x84\xc7\x0e\x1e\xb5\xc8\x05\xa4\x20\x20\x0c\x3e\x63\xcd\xb9\x7b\x16\x46\xcb\x7c\x64\x3c\x2f\x53\x1c\x19\x54\x50\x89\xbe\xfe\x7c\xaa\x7f\xeb\xa1\xc5\x29\x04\x91\xf6\xd0\xaf\xa7\x16\x2d\x07\x0b\x35\xd6\x3f\x7d\xe3\x64\x6d\xdb\x04\x0c\x9a\x4a\xf4\xd5\xc9\x13\x16\xa6\x66\xf4\x89\x19\xd1\x57\x96\xb3\xfa\xba\x78\xa1\x6c\x9e\x70\xfe\x68\x03\x6c\x97\x3e\x3c\x71\xc0\x6b\x40\xde\xde\x6f\x62\xb6\xde\x27\xe6\x2b\x74\x04\x2f\x10\x74\x9c\x4d\xd0\xf1\xdf\x25\x67\xe8\x78\x81\xd3\xc4\xfe\xea\x9e\xda\xf8\x5f\x2c\x6d\x4e\x5c\xec\x83\x7c\x92\x85\xb1\x94\x7e\x97\xf0\x09\xcc\xea\xd2\xcd\xd4\x44\xd0\xc2\x40\x8b\xdb\xa7\xb8\xb0\xec\x44\x5c\x22\x2a\xe0\x07\xa5\x5c\x99\x57\x80\xc7\xd5\xcd\xea\xb3\x1f\xd2\x7f\x1b\xbf\x30\x2c\x8a\x4b\xe2\x33\xc6\x61\x1f\xbd\xa6\x1b\xfd\x8c\xbe\xb6\x2c\xe8\x1b\x7d\xc7\xd8\x70\x65\xb3\x0c\x75\x1d\x2c\x7c\x07\x3f\x07\x1d\x50\x86\x4c\x5a\xe6\x8a\x2f\x7f\x3d\x39\x3e\x3e\xf6\x5f\x43\xd6\xfa\xff\x8b\xa8\x92\x24\x99\x9a\x96\xdc\x0d\xb6\x18\xb1\x4b\x57\x78\xc1\x19\xaf\x0b\x48\xc7\x4c\x70\xc5\x23\x9e\xa0\xa3\xc2\xa0\x1b\xf3\x48\xa2\x7f\xd7\x62\x6d\xb0\x94\xf0\xa3\xd6\xe3\x1a\x60\x60\x0d\xd2\xf3\x2b\x1d\x2a\x6b\x10\xaf\x1e\xab\x10\xc5\xcd\x2b\xb6\x58\x86\x55\x3c\x80\x16\x34\xe5\x9c\x58\xa4\x37\x21\xf4\xcb\xe4\xb3\x82\x47\x0d\x40\x7a\xb5\xa1\xec\xf5\x37\xe5\x12\xbb\x2d\xf0\xf4\x0c\x59\x37\x2c\x80\xc5\xbb\xb2\x9c\xc1\xcc\xb3\x17\xba\x4f\xf4\xe5\xc2\xc2\x52\x00\x32\x4f\x53\x2c\x16\x27\xc5\x69\x5b\x26\xce\x02\x69\x0d\x78\x4c\xe2\x16\x00\x5c\xb8\x89\x3d\x5a\x36\x8a\xc1\x8a\x97\xee\x46\xf3\x67\x37\x82\x5a\x86\x01\x62\x01\x61\x11\x8f\x2d\x5d\x17\xd9\xa7\x65\x89\xc5\xbf\xb3\x2c\xab\xb8\x88\x18\x59\x18\xe3\x98\x32\x10\x1e\xf6\x0d\xf7\x71\x03\xfb\xe6\x63\xa8\x8a\x4b\x66\x1b\xb8\x47\x87\xd7\x77\xee\x9b\xf6\x97\x2e\xac\x43\x59\x64\xc7\x49\x88\x8f\xc7\x66\x48\xe0\xe7\xe2\xfa\x85\xd8\x0e\x63\x9d\xc9\x7d\x6e\xae\xf9\xf7\x19\xbf\xa1\x89\xbe\xb5\x80\xc6\x8f\x47\xac\xf4\x73\x0f\x91\x84\xa6\x94\xf9\xd8\x3a\xc3\xdc\xf9\xd4\x48\xcf\x8f\x54\xe9\x2d\x93\xf1\xa3\xe6\x60\x0e\xd7\x29\x50\xa9\xfa\x6c\xe1\x48\xc7\x3b\xa6\xac\x05\x22\x97\x7a\x5c\x85\x8e\xae\x85\x59\xdd\xc4\x91\x15\x48\x69\x40\x78\x70\x7e\x47\x4c\xb7\xe6\xce\x52\x11\x2e\x1c\xb4\x17\x34\x77\xe4\x00\xf1\x03\x0e\x00\x7d\x94\x62\x7e\xbd\xfc\x5b\x23\xa0\x0c\x58\x9e\xee\x9a\x6c\x62\xc3\x87\xdf\xca\x4c\x77\x23\x88\xbb\xa9\x6c\xe2\x12\x61\x79\xea\x0e\xd4\x06\x14\x37\xb0\xe2\x4f\x4c\xa2\x04\x1b\xa4\x1a\xdd\x10\x44\x3e\xf6\x8c\x83\x34\x0b\xfa\x32\xd7\x8b\xe9\xc6\xd4\xd8\x49\x08\xfb\xda\xfc\xfb\x1b\x64\xef\x86\x6f\x7b\xf6\x3e\x17\xd2\x23\x80\x98\x3d\x87\x1a\x8d\x24\x36\x36\x74\x40\x25\x9e\x61\x11\x1b\x6b\x79\xa8\x55\x98\x0c\x5e\x2d\x7f\x2d\x78\x8e\x9e\xa9\x9c\x8f\xd8\x3d\x77\x06\x47\xc4\xb8\xc7\x75\xee\x81\x32\xba\xd4\x1f\x96\xc0\x04\x60\xd4\x75\x14\xa0\x99\xf0\x4e\xb9\x46\x10\x05\x3b\x66\x3c\x26\xbb\x01\x18\xdd\x17\xbe\x0a\xe7\xbf\x16\xc4\xe4\x83\xc1\x4d\xd1\x94\x4e\x4b\xa4\xdc\xd0\x36\x5f\xdd\x78\xb8\x87\x6c\x3b\x50\x12\xf8\x79\x23\x74\xed\x10\x1b\xcc\xdf\x6a\xd0\x8a\xd3\x38\x83\x6c\xe0\xd2\xda\x7b\xb4\xe4\x5d\x37\x21\xaa\x41\x2b\x6a\x75\xf7\x9b\xb9\x47\xb0\xec\x3e\xc0\x18\xa3\x99\xe0\x79\xe6\x53\xe6\x5d\xba\x9f\xd9\x06\x2b\xd3\x0c\xd9\x94\x9f\x5a\x9d\xea\x82\xb2\x47\x43\xf1\x2f\xb5\x47\x06\x10\x9b\xc4\x25\x18\x37\x57\xa5\x15\xe6\x70\x84\x28\x8b\x92\x1c\x2e\x3e\xa9\x70\xf4\x68\x40\xbd\x9b\x8c\xbe\xfa\x9b\xf1\xfa\x64\xca\x06\x89\x29\x4f\x12\xdb\x6d\x71\x81\x16\x65\xac\x9f\x28\x46\x18\x3d\xdc\x0e\xeb\xfb\x7e\xa4\xcb\xce\x9c\xfa\xdb\xb3\x4c\x20\xf0\x3f\x3f\xd0\x8d\xe2\x2e\x2b\xb0\x78\xa4\x44\xea\xde\xb8\xd4\x04\xba\x6a\x88\x54\x69\x05\x22\xbe\xad\x31\xed\x6f\x4c\xa7\xb3\x2c\x1f\xeb\x85\x4a\x36\x09\x10\xd0\xa3\xf8\x74\xf3\xd0\x0f\xbe\x5b\x45\x2a\x9f\x6e\x1e\x50\xd0\x87\x01\x3c\x4c\x48\xa4\x7c\xa4\xf1\x31\x3a\x2b\x70\x88\xab\x92\x79\x4c\x9e\x68\x64\x52\x5c\x7b\x5a\x2a\x1a\x31\x80\xf7\xd4\xba\xce\x91\xc3\x84\x42\x9f\x6e\x1e\x2c\x92\x94\x87\x9b\xb2\x90\xca\x00\x61\xb1\xd9\xb5\x53\x01\xd6\x64\x9c\x1d\x81\xc4\x86\x45\x5c\x78\x3b\x7a\xa0\x5c\xff\x7f\xec\xbd\x5b\x73\x1b\x49\x72\x36\x7c\xbf\xbf\xa2\x22\x7c\xa1\xd1\xf7\x81\xe0\x68\xf6\xb5\x63\xad\x08\x5f\x50\x14\xb5\xc3\x5d\x89\xd2\xf2\x30\xb3\x7e\x0d\x07\x54\xe8\x2e\x00\x65\x36\xaa\xa0\xae\x6e\x72\x60\xaf\xff\xfb\x1b\x95\x99\x75\xe8\x23\xba\x01\x52\x1a\xaf\xe7\xc2\xde\x11\xd1\x5d\x5d\xe7\xca\xca\x7c\xf2\x79\x12\xbe\x2d\x4a\x32\x30\x1e\x5e\x4d\xdd\x98\x5c\x87\x48\x88\xad\x96\x9e\x29\x6b\x2b\x61\x96\x01\xa8\x7f\x34\xf5\xe9\x5b\x3a\xf5\x18\x70\x00\x74\xda\x51\x9b\xbf\xf4\x19\x7e\x5c\xed\x18\xcf\x17\xb2\xc8\xed\x35\x0c\x5f\x86\xa1\x70\x77\x8f\x85\xbb\x51\x05\xcb\x88\x04\x5b\x60\x80\xa5\x2a\xcc\x4c\x45\x19\x2c\x3e\x2b\x18\x93\x17\xa4\x62\x40\x87\x07\xd8\x1b\x47\xcf\x95\x64\xba\x4c\xdd\xb1\x9a\x7b\x01\x98\xdd\x16\x8d\xa8\x99\x02\x66\x12\x7b\xb6\x82\xf0\x79\x38\xfb\x5f\xb3\xcf\xea\x41\xa6\x92\x9f\x14\xc2\x64\xfc\xa4\xf8\x3f\x9f\x27\xb5\x3f\xf1\x57\xdf\x7f\xff\x19\xb5\x6c\xba\x68\x17\xfc\x34\x3a\xda\xc1\xd3\x1e\xa7\x70\xc5\xcf\xed\x2c\x3d\x62\x9c\xde\xcb\x7b\xc1\x3e\xe3\x70\x7f\x26\x02\xbf\xc3\x86\x6d\xa6\xda\xc6\x8d\x1d\x32\x6c\x40\xa7\xda\x3e\x6e\xac\x67\xd8\x5e\xad\xa6\xff\xb8\x5a\xd8\xd1\xfa\x61\x35\x7d\xf5\x3d\xfc\x67\x6d\x8c\xf6\x2d\x5e\x9f\x3d\xd3\x56\xed\x96\x8d\xa8\x65\x59\xfa\xbd\x68\xa6\xf6\x6f\x46\x6c\xdc\x5e\x04\xb3\xb6\x6d\xe1\xf3\x42\x1c\x9b\xdd\x8a\xbc\x8e\x23\xd0\xd7\x0d\xc2\xcc\xde\x88\xe0\x91\x6c\x93\x81\x29\x12\xe0\x9e\xdd\xb4\x97\x31\x00\x17\x7e\x1c\xc1\xc7\x03\xcf\x0f\x6b\x4f\xed\xd9\x3d\xcd\xe9\xaf\x66\x26\xc4\x08\x06\x99\x1b\xfb\xf8\xc0\x4a\x56\x1e\xed\xab\xe3\x23\x47\x45\x9d\x26\x91\x7b\x4a\xb7\xf5\x31\xab\xc8\x4d\x47\x74\x99\x18\x9f\xf7\xe7\x6b\xe2\xa0\x95\xfe\x7e\xed\xbe\xbb\xa2\xb5\x14\x0b\xf6\xf8\xa8\x5b\xcb\xc4\x8f\x5c\x11\x47\x42\xe1\xec\x95\x7a\xbe\x19\x4c\x12\x1a\x3e\xfc\x96\x5e\xfe\xd0\xa0\x0c\xf5\xe6\xe5\x07\xc8\xcc\xf6\x64\x58\x1b\xae\xac\xb5\xe6\xbe\xda\x11\x58\xc2\x5b\xfe\x41\x55\xba\xdb\x1e\x54\x21\xfc\xe2\x40\x2d\x5b\xfa\x94\x2b\xe5\x11\x63\xab\x3c\xc3\xd8\x41\xb1\x06\xb7\x72\xd0\x80\x73\xdb\x5c\x70\x2f\xa3\x5e\x5c\xc6\xf3\x15\x3a\xbd\x8c\x28\xcc\xcb\x96\x11\x0e\x79\x6c\x47\x8c\xf0\x01\x3a\xdb\x31\x96\x05\x5c\x2a\x7d\x2b\xcd\xd7\xb2\x4a\x18\xed\x6f\x5a\x5e\xb1\x3e\x62\x43\x0d\xc9\x75\x89\xce\x51\x5d\x21\xb5\x6b\xa5\x9b\x07\x6b\xac\xd4\x7b\x3d\x1e\xc7\x37\x9e\xe5\xc5\xa9\xbe\x53\xce\x2e\x56\x6e\x21\x80\xeb\xbc\xbb\x0e\xe3\x75\xdd\x7b\xaa\x40\x42\xc7\x5d\x35\x98\xa9\x33\xf7\x48\x60\x6c\x34\x12\xbd\x2c\x98\x8e\x58\x2e\x30\xc3\x05\x7c\x66\x3c\xf4\x3a\x35\xae\xa3\x11\x63\x13\xf2\x6b\x4d\xb8\x33\x22\x0f\xa7\x11\xa9\xc0\x79\x5e\xe6\x5e\x05\xbe\x07\x91\xb7\xc1\x8e\x47\x7c\xfc\xc6\x35\x91\x8a\x72\x7d\xd9\xf6\xe1\xe1\x17\x15\x2a\x08\x12\x8e\x08\x55\x8b\x79\x01\xd9\x2e\x4c\xd3\x40\xfc\x59\xfb\x58\x73\xb5\x16\x47\xed\xc6\x92\x6f\xe6\xb9\xee\x96\x28\x1c\xd0\x4d\xae\x88\x8a\xcf\x7e\x8d\x92\x45\x3b\xf6\xa5\xe4\x19\x1e\x6e\x8a\xa6\xa3\xab\x36\xb8\x3f\x7e\xf8\x27\x76\x06\xa7\x0f\xfb\x00\xfb\x22\x80\xb6\xa0\xb4\x42\x33\xb9\xd9\x8a\xdc\x68\xc5\x3b\xb5\x3a\xef\xff\x60\xe6\xa4\x37\x66\xaf\xc6\xba\x6c\x6a\x8b\x8d\x68\x49\x4b\x69\x71\xa3\x38\xbb\x2f\x17\x22\x57\x02\xf5\x48\xe1\x39\xe6\x9e\x1b\x54\x5d\xcd\xcb\x62\xfd\xc3\x3c\xc9\xe4\x60\x11\x34\xc8\x18\x3d\xb3\xaf\x9d\xe3\x5b\x7d\x0d\xa8\x94\x5f\xa9\xba\x62\xf8\x1b\xc3\xdf\xa6\xec\x0d\x4f\xee\x85\x4a\xd9\x36\x2b\x57\x92\x08\x62\xd0\xdc\x97\xd5\x8b\x7d\xb5\x61\x68\x5b\x60\xf9\xf6\x18\x9a\xa9\x0d\xbf\x47\x62\x72\x32\x22\xed\xcd\xa1\x8b\x5e\xd0\xbb\x4a\xe6\xb2\x39\x77\xf7\x8e\x96\x3f\x0f\x9b\xc5\xd4\xe7\x9e\x29\x31\x5f\xee\x71\xad\x09\x65\x54\xf1\xd4\x8c\x58\xb8\x7e\xb6\x36\x78\xbc\x1c\xd7\x8a\x57\xa6\xa5\xca\xe0\xea\x85\x10\x1e\x90\xeb\x97\x8a\x71\xa0\x02\x7b\x61\x58\xb9\x75\xf6\x19\xc4\x96\x32\x40\xfa\xe0\x10\xd8\x1f\xb6\x32\xb9\x47\x6c\x29\x64\x4f\x30\xdf\xbc\x86\x80\x21\x13\x01\xe4\xd8\xb6\x35\x2c\x91\x08\xe7\x38\xdc\x4a\x83\x9b\x7f\xcf\x3c\x1d\x98\x19\x52\xac\x85\x9a\x1f\x40\x11\x3f\x7c\xd0\x2a\x59\x20\x64\x06\xfb\x18\x9d\xef\xc2\x52\x49\x12\x05\x0c\x77\x6c\xcf\x7f\x2c\x97\x35\x33\x5a\x1a\x66\x78\x21\x8d\xdd\xcb\x5a\x7b\x3c\xd0\x0f\x1d\xd3\xeb\x7c\x1c\xe7\x51\x0b\xdf\x51\xad\x2f\x7c\xa6\xd9\x94\xbd\x83\xc8\x46\x74\x33\xd0\x9e\x3d\xa8\x6b\xc3\x2a\xd6\xa2\x93\x46\xf7\x29\x20\x9a\xae\x05\xd1\xf3\xbd\x01\x2b\x9f\x55\x38\x65\x67\x21\xa2\x8c\xfc\x49\x18\x2b\xde\xd3\x22\x91\x19\x71\xc8\xe4\x1b\x14\x7c\x01\xd4\x15\x4c\x20\x06\x96\x94\xb1\x7f\x0f\xaa\x20\xbe\x9a\x8f\x90\xb8\xcf\xef\x85\xea\xf3\xb0\x0f\xaf\x21\x86\x40\x7a\x5d\x02\x3e\xb6\xa2\x31\xbc\x72\x48\x05\x87\x2f\xbb\x40\x59\x25\x97\xa7\xb6\xcb\xed\x35\x24\xb9\xa7\x74\x41\x8c\xb0\x11\xe9\xd5\xe3\x5a\x9b\x78\x9d\xb9\xf1\xc3\x9b\x6c\x5e\x7a\xe5\x07\x48\xb7\xf4\x1d\x8c\x38\x4b\xa5\x63\x4e\x2c\xa8\xb5\x5f\xa4\xe8\xd6\xf1\xe3\xcd\xdc\x16\x0a\xdd\x00\xc8\x04\x57\x54\x73\x35\xff\xf9\x0f\xe6\x23\xac\xd8\xa7\x60\x5f\x69\x97\xda\x3e\x3e\xf3\xe9\xc0\x98\xaf\xc7\xf4\x06\x9d\x6e\x9e\x7a\xbe\xa0\xad\x4e\x59\x98\x5e\xe3\x45\xb9\xbf\x7d\xb3\x6a\x62\xde\x83\xda\xb6\x6f\x66\x7f\x88\x80\x61\x6c\x51\xca\x2c\x45\xfa\xbc\xc8\x20\xd4\xce\xe2\x00\x4e\x7b\x38\xfe\xa5\xf1\xe7\x49\xfb\x1c\xfb\xa4\xd3\x63\x26\xd6\x78\x8a\xd4\xe6\xbc\x1e\x90\x37\x62\x62\xf0\xce\x66\x7f\x4f\x6c\x75\x37\xe2\x3f\x9d\x9b\xaa\x88\x5b\x4f\x85\x01\xe2\xb5\x28\x97\x37\xa0\x18\xd5\xc5\x42\x14\x89\xa9\xb8\xb4\x62\x3b\xce\xf6\x33\x3e\xc9\xad\x6b\x50\x08\x31\x14\x8e\x7f\xce\xfe\x74\xf3\xf1\xea\x64\xc3\x73\xb3\xe6\xc0\xf2\xe0\xca\x9a\x38\x11\x4e\xbc\x1e\x3b\x24\x83\x54\x33\x75\xc2\x56\x7a\x82\xb8\x99\xd7\x6c\x5d\x14\x5b\xf3\xfa\xf4\x74\x25\x8b\x75\xb9\x98\x26\x7a\x73\x1a\xba\xe6\x94\x6f\xe5\xe9\x22\xd3\x8b\xd3\x5c\x40\xe6\xc4\xc9\xab\xe9\x0f\xaf\x60\x64\x4e\x1f\x5e\x9d\x02\x5a\x62\xba\xd2\xff\xf0\xfe\x87\x7f\xfe\xfd\x3f\xd9\x82\xb7\xbb\x62\xad\xd5\x6b\x02\xe5\xf4\x96\x7d\x82\x56\xf9\x29\xbe\x52\xfb\xca\x3f\x4f\xbf\x8f\xab\x41\x8f\x6e\x74\x2a\x32\x73\xfa\xf0\x6a\xee\x06\x66\xba\xdd\xfd\x96\x6b\xf0\xcd\x72\x0d\xee\x65\xf1\x5b\xae\xc1\x37\xcd\x35\x18\x6e\xe1\xf8\x3d\x06\xc8\x9b\xc3\xfe\x68\xff\xee\xf7\x48\xe7\x7a\xdf\xb7\x0f\xb5\x1c\x0e\x71\x26\xd8\x11\x47\xc4\xbd\x18\x75\xc5\xae\x35\xd7\x5f\x1d\x3a\x5c\x6c\x63\x05\x54\x3a\x8d\xf9\x51\xc4\x17\x80\xec\x93\x09\x90\xf3\xa3\x4b\x70\xcb\x65\x5b\x06\x01\x21\x58\x8f\xe9\xbf\xe7\x94\x99\x78\x6a\x7d\x09\x6a\xee\x81\xda\x12\x19\xbe\xed\xf0\xb6\xfa\xd1\x69\x4a\x3c\x85\x12\xc3\x40\x6d\x6e\x4f\x30\x8f\x93\x07\xea\xe2\xea\xd5\x51\x8d\x35\x37\x87\x01\xb7\xcf\x90\xc6\xd5\xc7\xe9\x10\xf5\x2a\x8d\xfb\xa0\x3b\x38\x1c\x33\x8e\x3d\x87\x1c\x01\xdf\xb6\xcc\xb7\xda\x08\x33\x65\xef\x6a\xea\xb5\x01\x8c\x7e\xfd\xee\x9c\xbd\xfa\xc3\x3f\xff\x7e\xa6\xbe\x6b\x39\xb7\x61\xbf\xd7\xf9\x8a\xb0\xf1\x70\x5a\x6f\xb8\x29\x44\x7e\x9a\x2f\x93\x53\xdc\xe5\x4e\xed\xfb\x27\xf4\xd1\x13\xbd\x3c\xf1\x34\xf3\x27\xc4\xb8\x3d\xdd\xa4\xe3\x48\x63\x2a\x53\x0f\xcf\x1a\x3a\x68\x0c\x1c\x4a\x48\x2f\xa7\x97\x5e\x50\x04\x73\x17\x51\x7b\x48\x2f\x5b\xfe\xe3\x4d\xa6\x17\xe6\xa5\x27\xb5\xe4\xc6\x7d\x23\xb0\xcc\x75\x2f\xcd\xa7\x51\x9c\x70\x53\xe4\x39\x1d\x15\x6e\x2f\x89\xaf\x23\x63\x3a\xbe\x7d\xb1\x85\xe3\x1e\x39\x76\x78\xae\x4b\xe5\x18\xfb\xb5\x12\x7a\x09\xd0\x0d\xb0\x84\x1d\xf2\x0c\x7c\xb5\x80\x67\xf2\x7c\x3a\xb9\xd8\xe2\x01\x03\x51\x85\xee\xee\x3e\x52\xb5\x62\x5f\x3f\x3f\x87\x6a\xc5\xb1\xfd\x4e\x1b\xca\x37\xea\xf0\x63\xe1\xe1\xb8\x94\xc6\xa0\x2a\xec\xf3\x7b\x23\xa8\x7e\x1f\x08\x8a\x72\x81\x20\x7e\xcb\x73\x30\xd2\xc4\x49\xa1\x4f\x80\x88\x0c\xe8\xad\x50\x47\xa6\x0b\x56\x01\x91\xe7\x31\xc7\xa4\x7d\x7e\x40\x3d\xd1\x30\xff\x25\xaa\x28\xd9\x24\x06\x69\x99\x09\x66\x2b\x95\x12\x39\xc5\xd4\xf6\x9e\xa8\x23\xe3\xd2\xf1\x50\xf6\xa3\x6c\xc3\x4d\x34\xd6\xf8\xf0\x39\x56\x3c\xda\x04\xa6\x0c\xac\xcf\xb5\xde\x68\x6b\xce\xe8\xd2\x44\x3f\xe2\xed\x05\x0e\xe1\x4e\xdb\x6b\xc3\xb7\x48\x3c\xfa\xed\x5a\x63\x97\x96\xfd\x09\x9d\x7a\xf1\x43\xa3\x64\x93\x16\x55\xa1\x98\x3d\xf5\xf7\x0a\x1f\xfd\xf3\x06\x50\x0f\xa8\x3d\x0a\xf2\xdf\xc4\xdb\x2f\xff\xd3\xde\x6b\xec\x94\xf2\x37\x05\x7f\x72\x23\x48\x07\xf9\x75\x63\x48\x9a\xb3\xe6\x3b\x19\x30\xca\xcd\xc8\x31\xf0\x89\x23\x43\x06\x80\x2b\x4c\xa5\x70\x39\x14\x27\xad\x49\x14\x5d\xeb\xd2\x89\x6d\xa7\x73\xc7\x01\x3d\xae\xaa\x37\xbe\x00\xa2\x7b\x6e\xd6\x3b\x50\xe8\x41\xc6\x0d\xf6\x31\x6e\x08\xce\xb6\xe8\x02\x6e\x8e\x5f\x8c\x20\x9a\x35\xa6\xef\xe0\x23\x38\x39\x1b\x3d\x18\xad\x85\xae\x0e\x1c\xe7\x62\xeb\xf3\x58\xb5\x61\x76\x91\x75\x34\x64\x64\xda\x5a\x36\x2e\x8f\xfe\xc5\x07\xbf\xbe\x10\xd2\xb8\x28\xe1\xf7\xab\x8f\xb7\x31\x5a\x43\x62\x6b\x4f\x92\xb5\x48\xee\xc1\x61\x82\x47\x9e\x17\xe2\x25\x86\xd3\x99\x0a\x72\x8e\x85\x76\xd0\x83\x9d\x57\xb8\xf0\x2a\x2f\x3a\x67\xa9\x34\xdb\x8c\xef\x20\xc8\xab\x30\xf7\x2a\x04\x88\x7d\xd2\xa2\xdd\x0a\xf6\xf9\x8b\x87\x8f\xb4\x1d\x95\xb3\xf0\xde\xd8\xbe\x0c\x60\xda\xd0\x99\xcd\xfd\x80\x19\xb1\xe1\xaa\x90\xc9\x4c\x6d\x04\x57\x31\x2a\x8f\x82\xdc\xb6\x93\x53\x2d\x88\x03\x7e\xb9\x14\x49\x11\x48\x64\xc1\x78\xf7\x3d\xb5\x6f\x0d\x8e\x6b\xbb\x5f\x79\xbd\x4d\xff\x11\x70\xbf\x18\xa3\xcf\xf5\x03\x6d\xc3\xee\x68\x3c\x30\x78\x03\xf2\x9f\x74\xe4\xba\xcb\x20\xfc\xcb\xcd\x29\xb6\x10\xc5\xa3\x00\x8e\x14\x4a\xea\x6e\xb3\xf1\x8f\x96\x80\x39\x4e\xd1\xbd\x5d\x0b\x3f\x42\x82\xe1\x02\x8b\xc1\x64\x9e\xcc\x4d\xd5\x58\xd9\x5e\x50\x9a\x39\x78\x7b\x5e\x90\xdf\xea\x05\x1c\xd3\xf6\xf6\x98\x3f\x88\x74\xa6\xaa\x54\x79\x64\x33\x86\x05\xc7\x82\xb8\xe1\xd3\xec\x36\xae\x8f\x07\xf9\xf2\x2f\x80\x1e\x28\x10\x03\xfb\x44\xea\x1e\xb1\x45\x6c\xf4\x73\xde\xaa\x9c\xce\x6b\x6c\xdd\x0f\x80\x64\x09\xe3\xc4\xcb\x48\xeb\xb4\x82\xa7\xf0\x93\xd2\x13\x81\x21\x4b\xa8\x07\xc0\x92\x5f\xb2\xe1\xe9\x6c\x2b\x63\xa6\x1c\x43\xc6\xb2\xcc\x90\xf9\xb9\x2b\x0f\x81\x78\x01\x5d\x36\xdf\xb7\xcb\xea\xf4\x7e\x35\x16\xe9\x45\x7a\xd8\x43\x04\x46\xc6\xbd\xce\xcd\x7a\xa1\x4c\x09\x26\x85\x93\x8a\x03\xc7\xf3\x4a\x14\x70\x9a\xa7\x65\x86\x84\x0f\xe0\x31\x07\x8e\x41\x9e\x65\x4c\x16\x66\xa6\x3c\x25\x22\x26\x1b\xc0\x0e\xeb\x5c\xea\x4e\x65\x5c\x79\xad\x72\xf8\x99\x2b\xb0\xc3\x64\x22\x8b\x06\x84\x7b\x17\xcb\x2b\x6d\xb7\x82\x63\x7e\x32\x0e\xdb\x4c\xc5\x77\xae\xfa\x20\x50\x32\x2f\xcf\x24\xef\x51\x81\x7f\x8a\xa9\x7b\x66\x3f\x71\x10\x6e\x01\x5b\x67\x2f\x5c\x4e\x39\x19\x6b\x4b\x9c\x28\x84\xb4\xb4\xb7\x9a\xc2\x38\x1f\x79\xb8\xb7\x42\x9e\x42\x52\x66\x3c\xc7\x04\x8d\x65\x99\x31\xb9\x8c\x44\xa0\x61\x0c\x90\x10\xcf\x0e\x57\xa2\xe1\xac\x76\x5e\x72\xc3\x37\x22\xe2\xe2\x20\xf7\x4e\x16\x61\x28\x90\xe5\x1f\x83\xf3\xb6\xac\x97\x53\xf6\x36\x50\x7e\xe2\x08\xc3\x9a\x88\x88\x74\xa5\xc1\xed\xcf\xd7\x37\x4a\x23\x87\xd6\xd9\x2a\x6a\x65\x57\xa4\x5f\x75\x1d\x23\x08\x82\x1c\xe3\x00\x1a\x4e\x8e\xa5\x1f\x35\xdc\x4a\x23\x61\x5f\xad\xc1\x36\xfc\x82\xe8\xa8\xa0\x3b\x15\x46\x56\x32\x26\x21\x3e\xa0\xa2\x9e\xe4\xb9\xa5\xb2\x9b\x1e\xcd\x69\x18\xc7\x91\x55\x8d\x14\xdc\xc6\x57\x34\x9a\x39\x31\x1c\x67\x48\xcf\xae\x78\x31\x16\x9b\xe3\x93\x71\xc6\x57\xb4\x15\x07\x35\xa4\x9a\xb0\x7b\x8c\xac\xa7\x17\xda\x3f\xa0\xa2\x5e\xce\x3f\x68\xbc\xc0\x56\x21\x78\xb2\xae\xe6\xc5\x3b\xf6\x5a\xdf\x02\xc8\x8b\x82\xf5\x38\x3e\xa5\xff\x2c\xcc\x39\x10\xb1\x63\xb6\xfa\x53\xf6\x51\x09\x44\xce\xe9\x65\x74\xa8\x50\x05\x48\xed\x0e\x04\x44\xfc\x2e\xb7\xb0\x15\x53\xf7\x8e\x2e\xc8\x2e\xb9\x09\xe3\xa1\x74\xd8\xf5\x70\xda\xe0\x2e\xd2\x61\x4b\xb6\xc9\xed\x1c\x61\x5e\x0e\x4b\xba\x6f\xbf\xf3\x47\x00\xd4\xf1\x3b\x40\x5b\x3b\x86\x0f\x4b\x2f\x92\xdc\xdf\xe2\x1c\x7c\xbc\x3a\x6f\x18\xc2\x49\xf7\xf5\xef\xa7\x75\x15\x85\x38\x42\x9c\xee\xee\xea\xed\xc5\xbb\xcb\xab\xaa\xa2\xdc\x5f\xee\x2e\xee\xaa\x7f\xb9\xbe\xbb\xba\xba\xbc\xfa\x63\xfc\xa7\x9b\xbb\xf3\xf3\x8b\x8b\xb7\xd5\xe7\xde\x9d\x5d\xbe\xaf\x3d\x67\xff\x54\x7d\xe8\xec\xcd\xc7\xeb\x9a\x86\x9d\x13\xa0\x8b\xfe\x74\x7b\xf9\xe1\xe2\xed\xfc\xe3\x5d\x45\x06\xef\xed\xbf\x5e\x9d\x7d\xb8\x3c\x9f\xb7\xd4\xe7\xfa\xe2\xfc\xe3\x4f\x17\xd7\x7b\x54\xec\x42\x7b\x5b\xbb\xf4\x29\xe0\x63\x07\x6b\x1a\x9e\xb1\x65\x2e\x85\x4a\xb3\x1d\x62\xef\xdd\xcd\xb6\x06\xa6\x8d\xcf\x5e\xb9\x11\xba\x3c\x06\x42\x7f\xbb\x16\x4c\x3f\x88\x1c\x98\x8d\xb0\x34\xa2\x41\x08\x59\xd4\xf5\xaf\xe6\xa2\xc8\x9b\x51\x81\xde\x4c\xa1\x22\xdf\xf9\x5c\xb4\xbe\xea\x04\x56\x3c\xfa\x08\xdb\x8a\xbc\xaf\x2e\x60\x19\xe5\xe5\xb6\x90\x8b\xee\xa4\x88\xd1\xc9\xc4\x43\xef\xde\xc8\xe1\xda\x4e\x78\x75\xd5\xbe\x31\x56\x72\x03\x8e\x01\x1e\x43\x09\x87\x4a\x75\xfa\xb7\x1d\x58\x73\x5b\x2e\x32\x99\x30\x99\xd6\xfd\x29\x94\xe3\x0f\x2e\xe3\x3a\xd5\xf3\x56\xe4\x60\xaa\xda\x1b\xc0\x36\x17\x27\xbc\x2c\xd6\x48\x4b\x48\xa9\x08\x24\xcc\x31\x53\x46\x24\xb9\xc0\x58\x80\x30\xe0\xa4\x45\x8d\xc6\xe8\x4b\x50\x19\x62\xe5\x48\x81\x00\x6c\x1a\xc9\x6e\x74\xc4\x08\xf0\x4d\x2c\x7d\x84\x93\x14\x9f\xef\xed\x1a\xaa\xb1\x34\x75\x81\x7e\x38\xe1\xf1\x47\xa7\xf4\x68\xdb\x6d\x77\x6a\xaf\x74\x88\x83\xec\x72\x37\xda\x9b\xb1\x6f\x8e\xc5\x13\xa5\x9a\xcc\x40\xa5\xd3\x4f\xe7\xb9\x80\x43\x84\xa0\x00\xce\x7f\x01\xd0\x15\xca\xf5\x80\x14\x0f\x7b\x55\x5b\x88\x35\xcf\x96\x68\x71\xd8\xa1\x69\x67\x4a\xc0\xf2\x6f\xf5\xbd\x50\xd7\x38\x60\xdf\x64\x3b\x54\x78\xf3\x09\x3c\x2d\xde\x23\x14\x5c\x98\xb6\x8e\x6e\x56\xb9\x5c\x37\x30\xa6\x0a\xbc\x27\x44\x3f\x63\x4a\x47\x60\x61\x77\x69\x72\xcb\xa5\xfc\xc5\x16\x38\x53\xa2\x95\x87\x1a\xf0\x42\x8e\x31\xcf\xef\xcb\x80\x8d\x42\xda\xb1\x7b\xa1\x40\x23\x12\x25\xe4\xf7\xce\xd9\x71\xfe\xf3\xe6\x58\xf4\x38\xf4\xc1\xe7\x27\x2b\xd2\x99\x71\x94\xc7\xf5\x53\x81\x39\x36\x9e\x57\x00\xe6\xcd\xf9\xfb\xcb\x8b\xab\xdb\xf9\xf9\xf5\xc5\xdb\x8b\xab\xdb\xcb\xb3\xf7\x37\x43\x97\xdf\x53\xe4\x45\xd5\x56\x5f\x3d\x3d\xc8\xef\x10\xa7\xb4\xf2\x42\x7a\xae\x6f\x54\x58\x76\x30\x24\xfb\x6b\x2f\xd3\xed\x3c\x95\x26\xb1\xc7\xdf\x6e\x2e\x54\x0a\x04\xfe\x07\x4d\xd5\xf6\xa2\xea\xad\xf0\x4f\x30\xff\x84\xdb\x41\xf0\xb4\x7b\x70\x33\xda\xff\x0e\xa8\x3b\x70\x43\xe6\xc2\x2e\xfe\xb4\xc2\x9b\x30\xdd\xaf\xda\x64\x8b\x3b\xae\x6d\xd5\x22\xea\x6d\xc2\xfa\x4a\x63\x4a\xa0\x67\x70\x8f\x01\xe4\xb0\xa3\x57\x88\x55\x35\x56\x11\x90\x91\x02\x36\x93\x66\xa6\x36\x5c\xa5\xbc\xd0\xf9\xae\xa3\x89\xc3\x36\xcf\x78\xd9\x54\xb7\xd0\xf8\xc8\x56\x42\xa4\x6e\x14\xf0\x51\xae\xea\x53\x09\xb5\x06\x6e\x3f\xfe\xf9\xe2\xea\x66\x7e\x71\xf5\xd3\xfc\xd3\xf5\xc5\xbb\xcb\xbf\x7a\x24\xe4\x96\x9b\x36\xc5\xdb\x6d\x2e\xec\xee\xe2\xa8\x9b\x5a\xf7\x17\x94\xa1\x75\xe5\x90\xf4\xa0\x5c\xce\x94\xdb\x59\xf2\x50\xfc\x3a\xd7\xe5\x6a\xdd\x5e\x50\xbd\x96\x9f\xce\x6e\x7f\x3c\xa8\x9a\x40\xac\x87\x5a\x95\xb8\xda\x9a\x88\x50\xb9\xa4\x7d\x0f\x61\xa4\xb5\xea\x01\x3d\x24\x3c\xda\x16\x65\xe8\xd8\xd1\x0e\xba\xbd\x34\x37\xad\x5e\xe3\xbf\xe5\xf1\xae\x09\x74\x1b\xed\x9b\x95\x63\x04\x10\xca\x28\x79\xdc\x28\xed\x75\xcb\xdf\x2a\x27\xd8\x0f\x27\x99\x58\xad\x44\x8a\xd3\xab\x5e\x30\xf9\xe0\x68\x0b\x4c\xc2\xb9\xde\xd6\x8b\x24\x4a\x7a\xc4\xc1\xec\xf1\x5e\xc3\x37\xf0\x4f\xfe\x95\xf6\xbd\xe2\x9c\xc8\x71\x20\xbe\x59\x70\xd5\x11\x48\x7e\x68\x22\x34\x07\x6d\x45\x1f\x73\xe6\x93\x9f\xc8\x61\xe2\x42\x06\x61\x1d\x74\x01\x5e\x8e\xc7\x85\xfa\x7a\x5c\x8b\x6d\xc6\x13\xe1\x73\x18\x90\xd5\x14\xee\xf5\x87\x04\xf0\x48\xfa\x55\x91\xbf\x25\x92\x84\x0d\x6a\x57\x6d\x53\x00\x3c\xb7\xd7\x6e\x3f\x7e\x7e\xd7\x4a\xef\xc5\x8d\xb8\x0c\xc1\xd1\x8c\xda\x7b\x04\x7d\x47\x5f\x14\x08\x5a\x76\xc2\x92\x47\x4d\x87\xda\x97\x7f\xa2\x81\xc7\x3b\x73\xd5\xd1\xcd\x1d\x5b\xa8\x9f\x1e\xde\x74\xec\xf3\x17\x16\x45\xde\x4b\x30\xfc\x14\xe1\x88\x4f\xb9\xde\x48\x23\xce\x8a\x22\x97\x8b\x32\x56\x58\x1d\x09\x98\xab\x5c\x4e\x42\x83\xb7\xb9\x4e\xcb\xc4\x51\x02\x41\x6b\x03\xec\x87\xbc\x7c\xce\xea\x48\xd9\x89\x9d\x7d\x74\x73\x13\xe9\x09\x00\xfa\x91\xb3\xaa\x2d\xc6\xe6\x36\xc6\x0e\xdf\xdf\x27\x77\x94\x1f\x33\x25\x5b\x26\x45\x77\x67\xba\x39\x30\x2c\xb1\x96\xb9\xc7\xc1\x02\xee\x40\x4d\xd1\x74\x59\x70\x0c\xa0\x57\x6d\x94\x2e\x06\x10\x7f\xd4\x8c\x03\x77\x0d\xc3\xc6\x54\x33\x66\xd0\x6e\x58\x73\x83\xe6\x7c\x91\xac\xab\x15\x87\xd6\x54\x99\x50\xeb\xd5\xf5\xe6\xf1\x71\x6e\x93\x41\x61\xb4\x09\x3a\x1a\x24\x39\xb6\x2b\xaa\x96\x5e\xa2\x77\x9c\xb7\x3b\xb6\x18\xfd\x8d\x0e\x0f\x03\xd8\x47\x33\x5e\xaa\x64\xcd\xb6\x19\xc7\x64\xf2\x35\x37\x38\xa5\x1d\x96\x84\x2f\x64\x26\x0b\x60\xe9\xc1\x10\x67\xad\x87\xed\x35\x8f\xe7\xf7\x8e\xec\x9c\x07\x4a\xa6\xbe\x49\x7f\x24\x66\xd7\xb7\xea\xab\xa2\x76\xc3\x92\x8d\xb7\xa1\x61\xd3\x92\x10\xbb\x61\x38\xec\x46\x0c\xd3\x32\xb4\x65\xdc\xc8\x52\x89\x9f\xea\xaf\x57\xfa\xbb\xc5\x7a\x19\x8f\x58\x21\x15\x8f\x11\xa7\x4f\x5d\xe3\xa3\x75\x65\x2d\x33\xcd\x3b\x74\xe6\x5d\xd9\x28\xd9\xd1\x55\x76\xaa\xcb\x45\x17\x49\x3c\xd6\xaa\xbf\xf4\xbe\x60\x88\x5b\xb7\x4f\xe5\x2c\x8d\x37\x40\x5e\x88\x42\x8e\xf3\xf7\x44\x8d\xe6\x85\x38\x81\xd7\xdb\x0b\xa7\x0c\xc3\xc1\x6d\x6e\x4c\xb4\x20\x1c\xe5\x8d\x36\xc0\x12\xb6\xcd\xae\xda\xe9\x7c\x0c\x26\xfc\xc8\xf1\x92\x6a\xcf\x54\xda\xaf\x45\xf3\xfb\x1f\x5a\xba\xa5\xd1\xe8\xbf\x94\xdc\xee\x87\x1f\x97\x37\xc8\x95\x73\x4c\xa3\x0b\xd9\x5c\x56\xed\xdb\x4f\xfd\xab\xb7\xd5\xf0\x5a\x3c\xf1\x07\x67\x22\xb7\xb5\xe6\xc6\xbe\x3d\x7c\x17\xba\xac\xb8\xd1\xb6\xb9\xd4\xc0\x19\xa3\x97\xc8\xc0\xd8\x4d\x21\xdc\xfa\xdd\x23\x7a\xf2\x4b\x29\x4a\x61\x27\xd0\xa2\x4c\x57\x4d\x2f\xf7\x08\x4b\x39\x34\x69\xad\x1f\xd9\xa6\x4c\xd6\xcc\x15\xce\x52\x91\xf1\x5d\xa5\x69\x60\x24\x16\x1a\xf8\x3c\x47\x51\x67\x45\x2c\xcc\x49\x69\x0a\xbd\x01\x80\x71\x28\x37\x2f\x15\xac\x72\xc6\xdd\xea\x6a\xdb\xdf\x2b\xec\x72\x07\x86\x36\x6f\x3e\x5d\x9c\x5f\xbe\xbb\xac\xc5\x15\xcf\x6e\xfe\x1c\xff\xfb\xe7\x8f\xd7\x7f\x7e\xf7\xfe\xe3\xcf\xf1\xdf\xde\x9f\xdd\x5d\x9d\xff\x38\xff\xf4\xfe\xec\xaa\x12\x7d\x3c\xbb\x3d\xbb\xb9\xb8\xdd\x13\x60\x6c\x7e\xb5\x7b\x20\x78\x44\x7e\xe7\x20\xcf\x4e\xd9\xc1\xf9\x19\xe8\xab\xaf\xd9\x99\xa3\x02\xac\x90\x55\xba\x20\x31\xa0\x4a\x32\x04\xc7\x61\x2c\xf9\x2d\x2f\xf8\x39\x2f\x78\xa6\x57\x53\x76\xc6\x08\x10\x8e\x40\x7f\x63\x2d\x24\xe2\x49\xb3\xa3\x83\x45\x58\x33\x29\x09\x77\xf8\x20\x5d\xab\x97\xc4\x50\x98\x89\x58\xe4\xc4\x65\xb5\xcd\xd4\xc5\x83\x50\x45\x09\x24\xb4\x3c\xcb\x18\x7d\xd6\x3d\x10\x65\xec\xbb\x5a\x1a\xb9\x91\x19\xcf\x83\xca\xe8\x47\x2a\x0b\x6e\x29\xae\xae\x9e\xa0\xa9\x99\x0e\xee\x2e\x72\x77\x97\x0c\xea\x7d\xfe\xfe\x12\xec\xbe\xa4\x70\x12\x5a\xee\xe3\x33\x85\x0c\x78\xf4\xc5\x0d\x87\xe4\x93\x42\x93\x67\x15\x3f\x4f\x0f\x77\x4f\xc4\xa3\xa8\xc0\x5d\x0c\xe2\xb9\x6e\x94\xbe\x92\xee\x3f\x2e\x54\x91\xef\x06\x1b\x73\xb7\x90\x6d\x6d\xc0\x20\x27\x2c\x5b\x55\x79\x14\x1d\x5f\xcc\x95\x7e\x05\x16\x9e\x03\x5a\x52\x5c\xc6\x87\x5f\x10\xd7\xd2\x71\xe9\xc8\xec\xc9\xfb\x6b\xed\x87\x98\x10\x07\x7a\x61\xa1\x4b\x95\x1a\x42\xdd\x6d\xa4\x3a\xdd\xf0\x5f\x5e\xba\x96\x22\xc1\x84\xd7\xff\x01\xf2\x30\x91\xd9\xeb\xd7\xce\x6e\x72\xfd\xdd\x35\x53\x3d\xfd\xb5\xdf\x44\x76\x3b\x2b\xdc\xf5\xc2\xc5\x1c\xf1\x83\x0f\x62\xd7\x36\x7e\x0d\x0d\x37\x16\x13\x91\x43\x21\xdb\x5c\xd8\x07\x3d\x38\x31\x43\xcc\xa9\xff\x37\x24\x21\x54\x74\x66\xdb\xf7\xee\x38\xde\x7f\xd4\xb2\x69\x45\x1a\x0c\x37\x7c\x06\x8b\xf0\xd1\x97\xec\x98\x21\xee\xc0\xb9\xbc\x29\xe9\x82\x02\xaa\x76\xb0\xfe\x43\x2f\xd8\x12\x32\x90\x30\xd1\x8e\xe5\x02\x42\x1c\x30\x14\x4e\x35\x02\x28\xa6\x1a\x60\x06\x37\x05\x32\x61\xc0\xf1\xaf\xec\x1d\x53\x7c\x29\x29\x76\xfb\xea\xfb\x71\xe7\x6c\x81\xd4\xe3\xc8\x35\x5b\x27\xe5\xf6\x67\x39\xd4\xab\x54\xb2\x8d\x77\xee\xba\x54\xf6\x28\x7e\x0a\xd8\xcb\xf0\xb8\x66\xed\xa3\xf4\xcf\xbd\x49\x42\xce\x25\x9f\xe3\xf3\xcf\x46\x23\xfa\x53\x8d\x3d\x94\x3e\x07\x90\x74\x2a\x3d\x3e\xd0\x16\x3c\xb9\x7f\xe4\x79\x8a\x7e\x5b\xc0\xa1\x4c\xd9\x8f\xfa\x51\x3c\x88\x7c\xc2\x12\x91\x17\x9c\xa8\xbb\x0c\x04\xe2\x61\x41\x51\x39\x33\x05\x19\x1a\xc8\x83\xa6\x4c\x99\x0b\x56\xc8\xd5\xda\x5e\xa2\x23\x18\x85\xce\xed\x76\x54\x20\x6b\xe3\x56\x24\x44\x96\xd4\xd1\x01\xcb\x8c\x3f\x34\xb9\xc8\x0e\x61\x79\x60\x97\x3e\xcd\xd4\xc5\x29\x9d\x12\x4f\x1f\xf0\x85\x3a\x8c\x36\x4d\xa4\xb7\x99\xb0\x95\xce\xb8\x5a\x4d\xa7\x53\x60\x9d\x7f\x39\x6a\xa2\x53\x81\x71\xe4\xd3\xc3\xab\x33\xad\x8d\xc8\x76\x9e\xe0\xc7\x27\xc0\x00\xe2\xf2\x97\x42\x28\x23\xd1\xcf\xd3\x32\xfd\x6f\xea\x51\x81\xaf\x1b\x44\x69\xbf\x9e\x8f\x4e\xaf\xec\x28\x07\x84\xfd\x46\x94\x84\xcf\xb7\xdf\xbc\x0e\x4a\x17\x6e\x2f\x4b\x69\x35\x36\x07\xf6\x27\x2d\x3b\x62\xf8\x07\xf1\xee\xb5\x96\x44\x24\x25\x07\xe5\x0d\xb6\xf7\x59\x23\x95\xf3\x88\x2c\xce\x9e\x84\xcc\x91\xb9\x98\x43\x1c\x01\x37\xf5\xe1\x1e\xbd\x2c\xf6\x6b\x0d\xb5\x36\x68\x64\xae\x6b\x48\x4a\x1f\x63\x3a\x61\xba\x5c\xb6\x83\x1b\x97\xcf\x7c\x05\x77\x7a\x1a\x85\x03\x2a\xd1\x0e\xc8\xc1\x0a\xe1\x12\x4f\x1e\x15\x45\x47\x4c\xa1\x73\xbe\x12\x6c\x23\x52\x59\x6e\x5a\x37\x1b\x5f\xdd\x63\x70\x7f\x3a\x2b\x37\xdd\x34\x7e\xc7\x1a\xd0\xa1\x92\xf8\x5f\xe7\xf0\xb9\xc1\x06\xf4\x99\x87\xb4\x3b\xc9\x37\xaa\x2f\xfa\xfe\xa9\xaf\xed\x49\x99\x4b\x03\x84\x93\x87\xa4\x3c\xfa\x62\xb0\x68\x88\x9c\xee\xb6\xe8\x73\xae\x8c\xee\x89\x0b\x69\xd1\x2b\x06\x47\x15\xc2\xad\xdd\x87\x42\x1d\x4d\x38\x5e\xf8\x29\xd7\x65\x83\x6c\x67\x50\x84\x1b\xcc\xc6\x88\x06\x9e\xe0\x4e\x50\x20\x61\x32\x0a\xcd\x96\x2e\x89\xee\x5e\x44\xb4\x64\x29\x10\xc4\x3f\x22\xc7\xcd\x9f\xff\x60\x1c\x7a\x83\x00\x36\xc1\x62\x29\xc2\x47\x30\x20\xf2\xf0\xca\xe1\xaa\xb0\x85\x58\x04\x90\x87\xa5\x5c\x15\xad\x05\x04\xd8\x21\x94\x85\xaf\xfc\xc4\xcb\xac\xfd\x71\x2a\x1f\x1e\x45\x01\xc1\xb3\x9f\x6f\x18\x76\x35\x51\x89\xe7\x7d\x15\x8d\x0a\xd9\x8f\xec\x82\xee\x9a\x1f\x60\x09\x56\xc6\x01\x3b\xdd\x71\xc9\xdb\x6e\x17\x45\xb2\x0e\x96\x07\x90\xa7\x79\xd2\x37\x52\x87\xa5\x76\x6e\x02\x39\x3a\x82\x66\x63\xf4\xa1\x5c\x29\x1d\xeb\x7a\x68\x25\x20\x32\x65\x37\x20\x1d\x17\xcb\x64\xb1\x1f\xe2\x35\x92\x31\x6c\xdf\x54\x2b\x34\x42\x77\xa8\x9d\x95\x00\x23\x5c\x29\x24\xf2\x0c\x39\x7c\x2c\xde\x89\x48\x6c\xb4\x4e\x9a\x5d\x65\x6e\x98\xa9\xea\xa7\x1a\x9d\xe4\x30\x58\x32\x17\xc8\x75\x6b\xac\xf5\x56\xc8\x07\xbb\x50\x9b\xd3\xda\x4f\x50\xd8\x01\x9a\x73\x6f\xa6\xb0\xda\x11\x61\xee\xbd\xd8\x99\x58\xd9\x94\x66\x14\xeb\x9a\x90\xd2\xb6\x87\xc6\x6b\xff\x50\x40\xc7\xcd\xf3\xa0\x4f\x36\xec\x2c\xc3\x8f\x7e\xb0\x2f\xf7\x80\x3b\x1b\x85\xdb\x39\x18\xb2\x14\x83\x4f\x91\xb6\x89\xd0\xcf\x34\x86\x01\xbf\x05\xe8\xbc\x18\x7f\x17\xa7\x9c\xc0\xc5\xd7\xde\x6f\x67\x8a\x38\xb5\xa3\x43\xce\x6e\x38\xcd\x61\xa3\xd4\x69\x64\xf2\xdd\x55\x68\x5f\x80\xf6\xd0\x51\x40\x56\x3f\xe9\x82\xad\x4e\x18\x7b\xa6\xe0\xd3\x98\x5c\xea\x7c\x78\xad\x1f\x3c\x10\x14\x48\x83\xdb\x09\x04\x8c\x32\xb8\xf0\x49\x62\xfe\x43\x89\x5c\xbc\xfd\x24\xc2\x76\xdf\x99\x6a\xc5\xe0\x39\x04\xde\xcd\xc5\xf9\xf5\xc5\xed\x57\x03\x0a\x3a\x94\xde\x68\xa4\xa0\xab\xe7\xdb\x8b\x77\x67\x77\xef\x6f\xe7\x6f\x2f\xaf\x9f\x03\x2a\x48\x3f\x1d\x80\x15\xbc\x21\xaa\xfe\x73\xad\x0a\xf1\xcb\x51\x67\x72\x5e\xaa\x39\x1f\x91\xb3\xe2\xc5\x3a\xfa\xcc\x1d\x2c\xb4\x29\x35\xe0\x75\x00\x88\x77\x12\x4f\x34\xaf\x2c\xb0\x0c\x4e\xc3\xa5\xcc\x32\x48\xe1\xf5\xee\x75\x4a\x0f\xb3\x9d\x0a\xfb\x8f\xa3\xda\xa4\x3d\x75\xa6\x16\x15\x25\x08\x70\xf9\xad\xed\x25\x18\x93\x77\xb7\xb6\x03\x72\x09\xa9\x91\x7d\x6a\x04\x2b\xa9\x44\xa8\x06\xca\xd9\x97\x8a\x75\x52\x48\xd3\x20\x3e\x27\x24\x8a\x0c\xaf\xa1\xb6\xa6\x9b\x71\x95\xf9\xe9\xcc\x4f\xf7\xa3\x6f\x21\x2e\x62\xa9\xd0\x30\xad\xac\xe6\x9b\xf6\xa9\x7b\x1a\x96\x00\xf4\xbb\x1d\x49\x0e\x31\x08\x50\x8c\x0f\x03\x49\x03\x81\x2a\x45\x21\x38\x71\x2f\x11\x3a\xa4\x97\xb5\x7e\xb6\x5b\xa1\xed\x6b\x09\x91\x0a\x4e\xac\x24\x49\x56\x9a\x42\xe4\xe4\x36\x39\xfb\xf9\x66\xa6\xde\xd8\xe3\xeb\x25\x9d\x42\xa4\x64\x83\x9f\x40\xe0\x8a\xae\x7c\xdf\x59\x28\xf1\x0e\xf6\x1d\xfa\xa8\x37\x82\x2b\xc3\x60\x69\x64\x99\xc8\xc3\xcc\xc0\xfa\x08\x91\x92\xa2\x2b\xd0\xb0\x86\xf7\x5f\x32\x42\x25\xda\xae\xb0\xf5\xa5\x5f\x73\xb1\xd1\x45\x73\x3e\x75\x65\x88\x03\x54\xf8\x39\x67\x4e\x4b\xc6\xca\xd0\x59\x44\x28\xeb\xd6\x49\x54\xcd\x1f\x19\x34\x97\x6e\xb1\xb8\xdf\xa6\xd2\x13\x4e\xa5\x01\xe7\x7a\x7c\x4a\xb0\xb5\xb6\x1b\xa8\x97\x79\x09\x61\x66\xcf\x50\x91\x01\xe8\xcb\x76\x63\xeb\xa9\x53\x93\x3a\x3c\x06\xfb\x01\x45\x1d\x07\xad\x3d\x6b\xa1\xc2\x09\x9a\x5a\x2e\xb6\xd3\xab\xa2\xf8\x3c\x94\x73\x67\x0e\x64\xa8\x74\xe1\xc8\x23\x3c\xae\x8f\x40\x8a\xf6\x01\xcf\x5a\xd2\x5b\x47\x62\x02\x71\x56\xca\xfc\x48\x25\xb2\xdb\x18\x0c\x59\x49\xa7\xc5\x5a\xc4\x89\xf8\x2e\xf9\xde\x93\x77\x8c\x99\x7c\x87\x6b\x5d\x56\xe7\x9c\x27\x82\x3c\x08\xec\x70\xf5\xf1\xea\x22\x86\x2a\x5c\x5e\xdd\x5e\xfc\xf1\xe2\xba\x92\x88\xfd\xfe\xe3\x59\x25\x99\xfa\xe6\xf6\xba\x96\x43\xfd\xe6\xe3\xc7\xf7\x17\x0d\xcc\xc3\xc5\xed\xe5\x87\x4a\xe1\x6f\xef\xae\xcf\x6e\x2f\x3f\x56\x9e\x7b\x73\x79\x75\x76\xfd\xaf\xf1\x5f\x2e\xae\xaf\x3f\x5e\xd7\xbe\x77\x77\xde\x8f\x9e\xa8\x34\xa3\xdd\xfd\x13\x82\xb3\x11\x27\x66\xeb\x32\xae\x6a\x81\x1e\xb1\x8a\x07\x22\xcf\xf6\x4d\x47\x97\x67\x9d\xc6\x54\xf9\xb8\x30\x6c\x55\x47\xcd\xba\xa7\x17\x2f\xad\x74\xdd\x96\x1f\xb7\xed\xd9\x53\x6d\xfe\x14\x48\xc0\x5e\x03\xd0\x7f\xa5\xe6\xb8\x25\xad\x60\xec\xda\x2d\x44\xb0\x56\xbc\x53\xba\x47\xa5\xcf\x5e\x53\xf7\x8d\x7d\xf5\x0c\x1c\x4c\x7b\xa8\x6c\x9e\x8a\xc6\xa2\xaf\xd2\xd1\xc7\x5c\x96\xb8\x4c\x9d\xa1\xe0\x7e\x8c\x0e\x6e\x68\x86\x9d\x39\xd1\x74\xec\x52\x99\x6c\xcf\x37\xe9\xa7\x4d\x1b\x5b\x7f\xfa\x48\xb3\xee\x35\x8e\x8d\x11\xf5\x06\xae\xa3\x31\xf5\xbe\xe5\xe6\x7e\x6c\xbd\xe9\x23\xcd\x7a\x83\xd9\x77\x50\xbd\xc1\xe1\x5d\xb4\xf3\x9f\x8c\xd8\xc4\xe2\x62\xaa\xd5\xf3\xc9\xd9\xfe\x91\x48\xcc\x75\x58\x1d\xed\x02\x78\xde\xeb\xe5\x96\x0f\x0f\x64\x40\x6d\xfc\x72\xe5\x35\x3a\xf0\x1b\xf8\x15\x5a\xb8\xc8\x05\xbf\x4f\xf5\x23\x8d\x47\x1d\x19\xca\x06\xed\xe6\xd5\x0e\xb2\x7b\xb8\x3b\x22\x8a\x9c\x22\x50\x88\x52\x0b\xc5\x03\x4c\x4e\x12\xa1\x35\xda\x60\x91\x0a\x69\x9d\x41\x06\x38\x7b\x54\x18\x9d\x99\x42\x6b\xbe\x4d\xc9\xd4\x8e\xaa\xad\x11\x71\x3e\x40\x53\xbd\x0d\x8d\xc1\x75\x13\x0d\x2c\x25\x70\x94\x39\x80\xe9\x16\x39\xdc\x99\xa0\x43\xa4\x02\x67\x72\x6e\x2f\x3c\xb9\x48\xa4\x11\x91\x9a\x53\xeb\x89\xfd\xe5\x38\xed\x87\x82\x17\xad\x6e\xd7\xc1\xfe\x70\x9e\x14\x25\xcf\xd8\x97\x52\xe4\x3b\xa2\xce\x43\x5f\x25\xfe\x25\xe1\x0a\x33\x45\x0a\xb1\xd9\x42\x3a\x76\x9c\xe2\x30\x53\x3f\x03\x50\x02\x87\xe0\x85\x61\x7f\x04\xc8\x83\x7b\x98\x0e\xe1\x0d\x2f\xe0\x2c\xfe\x0b\x7e\xc3\xff\x36\x9d\xa9\x8a\x3a\x4a\xf4\x56\x45\x28\x65\x3a\x53\x4e\x9e\x20\xd5\x89\x99\xc2\x8d\x6f\xaa\xf3\xd5\x29\x09\xfb\xda\xc9\xae\xef\x17\x5a\xdf\x9f\x0a\x75\x0a\x3e\xa9\xe2\x94\x97\x85\x3e\x05\xb8\x14\x8e\xbf\x39\x75\xfa\x9f\x4e\x40\xd5\x9c\xae\xe5\x83\x80\xff\x37\x5d\x17\x9b\xec\x1f\xcc\x76\xfd\xcb\xc9\x2a\xcb\x4f\xec\xbb\x27\xf1\xbb\x27\xee\xdd\x13\xf7\xee\x89\x7d\x0d\xff\xdf\x76\x87\xe1\x1d\xf1\x0b\xb7\x67\xd9\x64\xa6\xa4\x32\x22\x2f\xc0\xfa\x79\xcc\x65\x11\x64\x68\x76\xec\xc5\x7f\xfd\x17\x9b\xe6\xfc\x11\x53\x19\xdf\xf2\x82\x7f\x42\xff\xe2\x7f\xff\xf7\x0b\x08\xa8\x62\x52\xcf\x96\xe7\x5f\x4a\x51\xcc\x94\x11\x76\x11\xb2\xff\x6f\xa6\x20\x02\xbb\xd9\xcd\x0b\xf4\xbb\xa2\x0f\x32\x35\xec\x5f\xb0\xcc\x4b\xa4\x91\x4c\x8d\x2d\xa9\x23\x9d\x40\xf2\xac\x45\x32\xba\xc3\x45\xff\x25\x7b\x4b\xcf\x8f\x58\xd6\x5f\xb2\xea\xaa\x76\x42\x28\xe6\x4b\x06\x07\x68\xa6\xb9\x03\x6b\x31\x3f\x79\xe1\x9e\x4c\x95\x6b\x5b\x23\x0d\x68\xc0\xb3\x86\xe9\xdb\xd7\xca\x0d\x52\x59\x3b\xcf\x7d\x63\x1b\x81\x58\x41\x88\x43\x40\xf4\x5c\xda\x15\x72\x83\x9e\x50\xb0\xdc\xb0\xe5\x60\x93\x52\xe8\xdc\x97\x87\x8e\x0b\xf3\xfb\xd7\xa7\xa7\x13\xb6\x32\xf0\x3f\x8b\x2f\xf0\x3f\x80\x1e\x7a\x2a\x36\xd6\x46\x67\x7a\x20\x5c\x73\x94\xf7\x8f\xc4\x53\xa0\xe8\xbe\x06\x01\x78\x6d\x9a\xbe\x29\x55\x9a\x89\x90\x02\x59\x09\x89\x64\xda\x49\xd6\xa3\x63\xac\x2e\xb5\x02\x63\xbc\x10\x09\xb7\x1b\x5f\xe3\xdb\x08\x2e\xd5\xcb\x42\x28\xf4\x86\xe5\x41\x89\x8d\xa3\xe7\x0a\xcc\x62\x80\x42\xf2\x82\x20\xe7\x02\xfe\x08\x1f\x01\x46\xed\x49\xfd\x27\xb6\xd3\x25\x91\x43\x03\xe5\x69\x2a\x92\x0c\x18\xf8\x1d\xed\x0b\xcb\x45\x51\xe6\x8a\x71\xb6\xe5\x2a\xe5\x06\x66\xe0\x32\x87\x68\x67\xce\x78\xb3\xa2\x13\x84\xe3\xea\xb2\x00\x32\x23\x44\x16\xc4\x3d\x81\xec\xdd\x51\x9d\x27\x51\x25\xf0\x4c\x00\x12\xe1\xc6\x8b\xd3\x99\x72\x5a\x61\x84\x85\x43\x4f\x59\xa2\xb7\x3b\xa2\xaa\xa9\x77\xba\x74\x9e\x33\xea\xee\x49\xc0\x9b\xd4\x9f\x9d\x30\x59\x0d\xad\x01\x51\x78\x11\xa9\x1d\x3b\xbd\xe8\xef\x84\x4a\x74\x2a\x72\xf3\xd2\x2e\x43\xe9\xef\x1d\x68\x3f\x48\x13\x06\x03\x76\x29\x7b\xb8\x91\xb7\xd0\x16\xef\x15\x75\x6c\xef\x54\xa8\xa5\xdb\xec\x9c\xfd\x4b\xe5\xd7\x8e\x82\x69\xab\x2f\xfd\xe7\x57\x45\xc4\xc4\xb8\x4e\x77\xe7\x3c\xdc\x05\x81\x4b\x36\xde\x71\xb1\x50\xb4\x71\xc8\x38\x71\xd2\xb2\xb2\x00\xf5\xba\x5c\x98\x62\xa6\xe8\x04\x9e\xb0\xa5\xe0\xd6\xce\x9b\xb0\xc4\x3c\xe0\x66\x8c\xc7\x7d\xf1\xa8\x03\x06\xc7\xe9\x92\x00\x18\xb6\x52\x78\x70\x12\xe3\x63\x80\x28\xe0\x49\x81\x00\x83\x4e\x15\x72\x67\xaa\x40\x67\xb5\x6e\x88\x07\xf4\x83\x93\xb9\xa8\x4b\x4a\xc5\x2a\x2b\xd0\x13\x3b\x0c\x14\xb3\x7a\x3d\xf0\x07\xbb\xf1\x60\xeb\x10\x06\x12\x6d\x8e\x60\x71\x13\x96\x16\xd7\x59\x88\xe1\xc6\x5c\xe3\xe0\x9b\xe9\x5a\x54\x3d\x1d\x01\x15\x38\xcc\x6f\x61\x5f\xdd\xeb\xb0\x32\x22\x77\x1a\x1c\xd8\x56\x64\x06\x5c\xcb\x3c\x3d\xd9\xf2\xbc\xd8\xb9\xe9\x9b\xc9\x05\x50\xf7\x67\xf2\x5e\xb0\xb3\x3c\xd7\x8f\x4f\xdd\x0b\x9d\x5b\x4b\xd7\x0d\xfb\x18\x24\xfb\xd8\x5b\x7e\x2b\x2f\x68\xdd\xdd\x71\x18\x07\x69\x97\xe3\xa3\xf5\x3b\xb9\x28\xf2\xdd\xdc\x4e\xc4\xcd\xb6\x73\xa7\x18\x94\x34\x31\xdc\xc8\x1d\x47\x6f\x5a\x73\x61\x74\xd2\x9b\x56\x46\xf5\xd7\x43\x6f\xda\xc2\x5c\xda\xa4\x37\xbd\xbc\xba\xbc\xbd\x3c\x7b\x7f\xf9\x7f\x6b\x25\xfe\x7c\x76\x79\x7b\x79\xf5\xc7\xf9\xbb\x8f\xd7\xf3\xeb\x8b\x9b\x8f\x77\xd7\xe7\x17\xfd\x7c\x45\xcd\xda\x07\x13\xfc\x84\xc5\xdf\x79\xcd\x6e\x23\xa0\x06\x26\x1b\x90\xfd\x4d\xda\x95\x30\xab\xec\x62\x96\x6a\x35\x81\x85\xfa\x9a\x5d\xe4\xf9\xe5\x86\xaf\xc4\xa7\x32\xcb\x00\x4e\x85\x99\x3d\xe7\xb9\x80\x8b\xe7\x84\x7d\xd2\xe9\x65\xf4\x1e\xa4\x23\xb6\x36\x03\xbe\xcf\xd3\x34\x17\xc6\xe0\xe7\x27\xf4\xfd\x08\x3c\xe4\x53\x1d\x09\x3c\xc7\x1f\xb8\xcc\xec\xfd\xed\x35\x7b\xc3\x93\x7b\xbd\x5c\x62\xfa\xcc\xc4\x27\x4e\xb1\x2f\xa5\x2e\x38\x13\xbf\x24\xc0\xd1\xd5\x3e\x4f\xde\xeb\xd5\x37\x80\x2a\x0f\x08\x4f\x75\x5c\x52\x40\xa3\x6c\xde\x7e\x9c\xb7\x6f\x04\xd4\xca\x0f\xf8\xea\x3b\x7c\xb3\xdd\x41\x59\x64\x4f\x90\x1e\xff\x5e\xaf\xda\x15\x63\xc0\xba\x26\x99\x1b\x0a\x24\x24\x44\xb6\xa1\x57\xcc\x48\x75\x3f\x53\x3f\xaf\x85\x62\xba\xcc\xf1\x4f\x70\xcd\xb7\x66\x66\x56\x9a\xb5\x00\x09\xd9\x09\x7b\x14\x6c\xc3\x77\x68\x36\xc3\x9d\xc0\xcb\x5c\xc0\x94\x81\x53\xc4\xbe\x9d\x49\x65\x77\x8b\xad\x74\x79\x09\xf5\xa1\x7f\x8a\x1b\x97\x63\xa8\xe3\xc7\x13\xc8\xf6\x9d\xa7\x15\x7c\x1e\xb8\xca\x02\x6e\xd2\x01\x84\x68\xe7\x06\x15\x4d\xad\xef\xcb\x6d\xe0\xb2\x7c\xe1\x82\x93\xd0\xdd\x0f\x5a\xa6\x2c\x2d\xb7\x99\x4c\xfc\xbe\xfb\xa8\xf3\x4e\xc2\x5e\x4c\xa0\x19\x7e\xea\xd4\xd3\xc2\xfa\x1a\xd6\x92\x9d\x13\x21\xe9\x7a\xa8\x7b\x9f\x99\xbc\x98\x49\x95\x64\x25\xe8\x83\x95\x46\xe4\x27\x45\x2e\x57\x2b\x30\xc0\x5d\xae\xdf\xaf\x9f\xdd\x38\xb0\x27\x1e\x9f\xd6\x16\x27\x9d\x67\x7a\x25\x13\x9e\xc5\xe0\xe6\x80\x8a\xf0\xf4\xa9\x6e\xd9\x93\x7a\x2a\xe4\x41\xb8\x0a\x75\x32\x20\x6d\x73\x01\x0c\xbe\x73\xd8\xca\xe7\xb4\xdd\x1d\x53\xef\x25\xb3\x17\x74\xac\x57\x4c\x6e\xea\xc2\x0b\xee\x84\x0b\xdf\x76\x12\x5a\x60\x62\xa2\xbc\x36\xd3\x8f\x4a\xe4\x60\xc1\x02\xec\xc3\xb6\x54\x69\xb0\x4d\xbc\xac\x96\xc7\x27\x3b\x59\xb9\xa5\x07\x62\x63\xe6\xec\x4a\x3e\x08\xf5\xf5\xd9\xa8\xa3\x0f\x24\x3c\x59\x8b\xb9\xb3\xcb\x9f\x7a\xcb\xf2\x07\xc0\xc8\xcd\xca\xe9\x5b\xc4\x5b\xa9\x0f\x6f\xc2\xd5\x09\x6b\xdc\xdc\xbb\x30\x90\xd8\x93\x91\x65\x2b\x31\x4f\x45\x72\xff\xd5\xb7\xe6\x00\xb2\x72\x15\x61\x9c\xbd\x15\xc9\x3d\xbb\xbb\xbe\xc4\x6c\x60\x59\x30\xbb\x15\x98\x75\xd0\xeb\xe9\xbc\xbb\x15\x7c\xf5\x0c\x8c\x4e\x43\x05\x87\x02\xc7\xbc\x97\x59\xb3\x15\x22\x40\x14\xe4\x4b\xda\x4d\x92\x72\x69\x00\x08\xc6\x0b\x27\x43\x03\x8e\x78\x66\x36\xa0\x3a\x53\x16\x91\x54\x5b\xc6\x17\x22\xeb\x60\x5c\xdc\xea\x74\xee\xe2\x24\xc7\x82\x79\x1a\x65\x39\x3f\x06\x45\x1d\x5d\x1e\x03\xb7\x16\xeb\x2d\x3d\xc8\xee\xff\x60\x22\x7a\x0d\x1d\x13\x3f\xc3\xbd\x9e\x1b\x48\xef\x5e\xca\x95\x8b\xb6\xc9\x25\x69\xe3\x60\x42\x3f\xa8\xc0\xdb\xfd\xd2\x96\xf4\x49\xa7\x04\xd3\xf3\x24\x66\xd6\x0a\x12\xe4\x3d\x09\xb8\x8a\xb8\x0a\x5e\x29\xdf\x80\x6f\xc0\x14\x82\xa7\x4c\x2f\xc9\x9b\xb8\xdd\x66\x12\x28\x7d\x53\x64\x0f\x07\xf6\x0c\x53\x45\xc7\xc7\xa5\xb9\xca\x46\x24\x1f\x9f\x1c\x10\xaf\x4b\x45\x15\x36\x0c\xcc\x60\x98\x03\x39\xda\xfc\x81\x77\x73\x8b\x3d\xbb\xd4\x55\x47\x7d\x7c\x34\xb9\xca\xe5\x89\xf3\x93\x36\x1c\xf2\x15\xe0\xb1\xee\x12\xf2\x13\x9e\x25\x25\xc5\xc9\x40\x1f\xdc\xc9\x7e\xf7\x23\x08\x43\xd4\xcf\x0e\x74\xd5\xeb\x5f\x37\x32\x8f\x95\xc5\xf3\x09\x5a\x87\xfa\x14\xfa\xdd\x8b\xab\x4c\x2f\x60\xe6\x74\xa3\x04\x7b\x4e\x2c\xbb\x5d\xe7\x32\x1d\x63\xef\xb8\x3e\xf9\xe8\x5f\xed\xab\xe0\x47\xe7\xfa\xf1\x5f\x72\xf3\x9e\x11\x03\x7d\x0c\x69\xa8\xe5\xf5\xef\x73\x3e\x40\xc4\xd4\xf8\x90\xa9\xbf\x9e\x14\xa4\xbf\x00\xd3\xca\x9f\x4f\x1d\x7e\x86\x6a\x5b\x8e\x1a\xe8\x26\x53\xcc\x9e\xbe\x0c\xe4\x32\xfd\x83\x7c\x04\xdd\x07\x6e\x65\x9e\xf3\xa3\xdb\xb3\xa8\x52\x91\xce\x0f\x68\xc3\x05\xbd\x3b\xac\x2d\xbe\xa7\xb1\x7a\xe0\x03\x54\x27\xd6\x54\x48\x79\x9e\x86\x76\x4c\x60\xbd\x27\x7c\x0b\x6e\x78\x08\x6b\x3c\xbc\x9a\xba\x6f\x5c\x87\xec\x22\xbb\x5f\x62\xce\x3f\xe2\xb7\x75\x8b\x78\xc9\xbe\x79\xe4\x27\x29\xc2\xbb\xed\xcc\x09\xd3\xb5\x92\x77\x33\x68\xee\xd6\x67\x98\xdb\xc0\x8f\x99\x5c\xcf\xb1\x77\x94\x85\x0e\xd1\x1e\x68\xcf\x25\xf0\xc5\xc6\x19\x7d\xb0\x41\x5e\xa6\x1d\x48\x11\x67\x7e\xbb\x4d\x68\x04\xfe\x78\x14\x02\x7a\x9b\x0b\x17\x37\xdc\x89\xc2\xf3\x3a\x64\x4e\x10\x0e\xc2\x62\xbe\xd5\x55\x62\x1b\xc7\x5d\xe1\xc9\xc8\x20\x88\x45\xa6\x7e\xa2\x37\x5b\xad\x00\x96\x84\x59\x6a\x33\x45\x85\x3b\x59\x6f\x1f\x59\xab\xa4\x3a\x4e\xc8\xa1\x89\x89\x33\xc2\xe8\xec\x81\x42\xa8\x91\xfa\x04\x08\x02\xda\x0a\x9e\xdb\xbb\xa1\xce\x91\x60\xcb\x9d\xec\x90\x09\x50\xd3\xb6\xce\xc5\x4a\x9a\x42\xc4\xd9\xa1\xf1\xfb\x4f\x26\x43\x5a\x71\x9e\xf4\x75\x7d\xa7\x0c\xe9\xbe\x5b\x90\xdd\x9f\x46\xd4\x67\xb7\x15\xe9\xa5\x7f\xaf\x7f\x32\xd4\x12\xf8\xc3\x76\x58\x39\xef\x70\x0e\xe0\xed\xcf\x20\xd5\x97\xf1\xba\x11\x7e\x90\x88\x84\x89\x07\x40\xa3\x1d\xa2\x55\xc9\x73\xae\x0a\x21\xcc\x4c\x51\xe0\x19\x29\xeb\x62\x56\x96\x1a\x10\xd2\xdf\x6d\x12\x6d\x0a\x64\x80\x82\x57\x96\x5c\x66\x65\xde\xe9\x6e\xc0\x59\x79\x10\xed\x44\x5f\x2f\x9d\x43\xb1\xac\x6d\xd0\x7c\x02\x73\xb4\x8a\x3c\x6b\x4a\x3d\x6c\x5c\xcd\xef\xed\x68\x82\x3b\x5c\x86\x8f\xb7\xf7\x35\x77\xe4\x34\xff\xc1\xcc\xb7\x7a\xc4\x8e\xf7\xe7\x3f\x98\x4f\xba\x23\x1b\xdc\x7c\x69\xf8\x44\x7b\xe0\x13\x5f\xba\x94\x34\xb8\xb9\x87\xc8\xe3\x3e\x57\xcc\x20\x36\xce\xbd\xf1\xc9\xce\xbd\x0b\x66\xed\x9a\xab\x34\xb3\x26\x2f\x2f\x6a\x27\x50\xc0\x79\xdb\x2b\x51\xe1\x36\xc7\xee\xa4\x3e\xc8\x91\x99\x27\x8d\x04\xcb\x7d\xfd\x54\xcb\xcc\xec\xc5\x52\xd6\xbe\x52\xcd\x97\x6c\xcb\xd3\x09\x36\x0c\xe9\xd7\xfa\x05\xfb\xcd\xed\x97\x8b\xb8\xee\x5f\xc9\x7c\xa9\xae\xb5\xa5\x5c\xfd\x0a\x1c\x09\x1f\x9a\x47\x42\x42\x7b\x0e\x1d\xd4\x3e\xbb\xe1\xc8\x5d\x07\x12\xc9\xec\xae\x1d\x13\x70\xcf\x14\xe9\x78\x23\xba\x00\xc2\xca\xc8\xb7\x66\xd8\x2b\x9f\x5d\xfc\xea\x1f\x1d\xdb\xd6\x8e\x2d\x61\x52\x01\xa5\x9d\x4e\x92\x32\x87\xd0\x3f\xb9\x27\x99\xc0\x43\xd8\x8c\x22\x92\x01\xd3\xc3\x03\xb6\xd0\x4e\x6c\x33\x93\xbc\x3f\xba\xd2\xa8\x5b\x70\x43\xa2\x22\xb9\x3f\xf4\x49\x68\x2a\x37\x05\x33\x85\xd8\xb6\x6e\xbf\x15\xeb\xb2\x2a\xba\x7f\x84\x7d\x19\x24\xff\x07\x2e\x9d\x11\x87\xd1\x59\xe4\x32\xfa\xd3\xcd\xc7\x2b\xb6\xe5\x3b\xc0\x3e\x16\x9a\xe1\xa3\x40\x38\x5a\xdf\xa8\xf6\x8d\x40\xb5\xf1\xd5\x5d\x05\xfb\xd4\x81\xa8\xdb\xe3\x13\xf4\xc5\xa6\xb1\x08\x73\x86\xa6\xa4\xdd\xb3\x72\x9d\x9d\x6c\x33\xae\x22\x78\xbb\x99\xb2\xda\xe7\x63\x3c\x83\x8f\x6c\x12\x62\x0c\x2a\x00\xfe\x0a\x9a\x0b\x79\xd9\x0a\x80\x06\xde\x1d\x37\xa1\x8e\x83\x30\x74\xee\x11\xbd\xc0\xce\x0f\x28\xdf\xc1\x13\xbb\x4c\x90\x3d\xc3\xc1\x32\x3c\xb2\x87\x1b\x00\xdd\x76\x32\x80\xf3\x24\xe3\xc6\xf4\xa2\x74\x9e\x83\xc2\x3e\xce\x5a\xdc\xbf\x7d\x55\xeb\x89\x30\x42\xe0\x36\xc1\x7b\xa9\xff\x19\xd8\x12\xdc\xd6\x15\xd4\xba\x22\x7b\x3f\x52\x8d\x20\xe8\x03\xf1\x45\xc1\xfb\xc8\x04\x79\x2f\x76\xce\xc3\x45\x5b\x15\xdf\x88\x89\x77\xb6\x7a\x6f\x62\x04\xfa\x6b\x16\x3c\x53\x80\x8a\x7d\x17\x57\x8f\xbd\xd3\x7a\x82\xf8\x4c\xfa\x38\xc7\x62\x79\x8c\x70\x9a\xa9\x77\x5a\x4f\xb9\xbf\xc4\x52\xfd\x69\xbb\xa9\x7f\x90\x50\x51\x80\x39\xac\x0d\xe7\xf0\xb5\xf9\xa3\x54\xa8\x2b\x27\x37\xf6\x02\x45\xfd\x04\x33\x0a\x2a\xe4\x64\xcc\xf5\xa3\x61\x29\x52\xca\x94\xd2\xac\x21\xec\x82\x71\x4e\xf8\x3e\x1d\x29\x08\xc8\xca\xb9\x32\x76\x0d\x43\xa8\x46\x3c\x08\xf2\xd7\x56\x30\x06\x97\x6f\xdf\x7b\xd8\x12\xae\x4b\x52\x9a\xec\x58\x6d\xd1\xa5\xe3\x98\xcb\x39\xc0\xcd\x47\x10\xda\x91\x83\xf3\x03\xdf\xf6\x25\xc3\x1e\x5d\xe2\xbe\x51\xf2\x84\x5a\xf5\x1b\x15\x48\x50\x83\xf8\x5c\x25\x23\x36\xee\xbd\x3b\x75\xe4\x89\xd3\xca\x69\xbf\x5f\x2b\x65\xb0\x83\x61\xe4\x56\xb1\xff\xb8\x89\xb8\x2d\x3d\x64\xd0\xdf\x05\xed\xc6\x0e\xd2\x5e\x40\xca\x87\x4b\x7a\xca\x6e\x84\x60\x9f\xa1\xa7\xec\xc7\x3e\x93\x74\x24\xa0\xa0\x0b\x2e\x5b\x95\xbd\xe0\xe9\x4b\xb5\xd4\xc7\xed\xff\xf9\xaa\x81\xb2\x3d\xaa\x57\xda\xeb\x79\x2c\x8e\x17\x3c\xfd\xea\x79\x69\x45\x06\x1d\x0c\xb5\xb1\xfe\x14\xfc\x4d\x94\x6c\xec\x6a\x6a\x4d\x32\x18\xe2\x43\x88\xeb\x6a\x93\xc4\xb6\x72\x82\x64\xec\xf7\x4a\x3f\x2a\xdc\x8f\xe9\x4b\xec\x3b\xbb\xfe\xc0\x66\xc1\xb8\x10\x5a\x82\x25\xee\x86\x2f\x81\x1d\xfe\xcc\xff\x9b\xdd\x60\x08\x1c\xeb\x0c\x9a\x4f\x06\xec\x5d\x52\x6b\x82\x03\xfc\xbb\xb3\x09\x7b\x33\x61\xe7\x13\x36\x9d\x4e\x5f\x4e\x50\x90\x9e\x6a\x84\xaf\xe0\xd6\x5f\xf0\x95\x2d\x9b\x54\x70\x96\xd1\x07\x40\xd7\xcd\xda\x27\x8e\x04\x91\x87\xa7\x22\xaf\x9a\x6b\x02\xa6\x66\x53\x1e\x19\xc1\x85\x92\xb5\x96\xa1\x52\x80\x3c\x17\x89\xce\x1d\x76\xdd\x14\x3a\x77\x38\xdc\x07\x9e\x73\xa9\x80\xb1\x82\x37\xb3\x10\xe8\xcb\x11\x67\xbd\xf8\x85\x6f\xa0\xfd\x52\x79\xda\x5e\xdb\x4d\xb7\xbe\xfe\xc5\x6e\x4b\x71\xb6\xc7\x5c\x16\x85\x35\xc8\xcc\x4c\xdd\xb0\xd7\xff\xc2\xce\xb6\xdb\x4c\xb0\x33\xf6\x37\xf6\x86\x2b\xae\x38\x7b\xc3\xfe\xc6\xce\xb9\x2a\x78\xa6\xcb\xad\x60\xe7\xec\x6f\xb6\xdb\x6c\x79\x57\xda\x5a\x40\xbb\x09\xe3\x4c\x95\x19\x1a\x7a\xdf\x39\x8c\xeb\x4b\xdf\x2e\x1e\x46\x67\x21\x8a\x47\x21\x14\x33\x7a\x43\x47\xe1\x5f\xfd\xe9\x6f\xa4\x5a\x65\xa2\xa0\xf9\x50\x45\x23\xe3\x07\x4e\xa0\xa5\xaf\x67\xca\xfb\xa9\xff\x6a\x6b\xfc\x57\xf6\x37\x76\x55\x66\x99\xad\x92\xdd\x68\xec\x44\x7a\xcd\x5c\x76\x98\x50\xd3\x47\x79\x2f\xb7\x22\x95\x1c\xf2\xc3\xec\xbf\x4e\x6f\x61\xb4\xe7\x65\xa0\x02\x8d\xd7\xb4\xd7\xd1\x3a\x66\xeb\x79\x16\xae\x09\xaf\xf2\x16\x5b\x2b\x9d\x20\x94\xf8\xd5\xf1\x46\x70\x20\x40\xa6\xf5\x40\x77\x14\xd4\x40\x8b\x03\x94\x07\x6d\x01\xb5\xc3\xd6\x95\xd5\x72\x14\xc4\x87\xfa\xb1\x9b\x2c\x48\x23\x7e\x45\x73\xfc\xa7\x46\x17\x0d\xe6\xde\x27\xf9\xa7\x0a\x7b\x07\xd8\x92\x81\xc1\x6c\x50\x6c\xd7\x0b\x49\xfd\x54\xd5\x86\xac\x74\xb1\x96\x83\x44\x34\x6b\x95\xbd\xa3\x9b\x00\xe6\xdd\xda\x65\x2a\xb3\x53\xbb\x54\x4f\xaf\xb4\x12\x8c\x1b\x23\x57\xc8\xba\x06\x0e\x1d\x54\x9f\x74\x46\xc1\x6d\xd5\x64\x8d\x96\x00\xd8\x07\xb6\x4a\x88\xd8\x2d\xec\x2e\x60\x87\x20\xdb\xcd\x94\x7d\x83\x4e\x24\xc8\xde\x91\x9e\x9c\x1b\xbf\x46\xdc\xd7\xee\x5b\xb4\x21\x47\x85\xb7\x4c\xb0\x3e\x6a\x80\x23\x26\x1c\x65\xa2\x1e\x11\xf1\xb9\x8a\x88\x29\xa9\x34\xc7\x5a\x84\x70\x8e\x85\xc8\xb4\x5a\xd9\x59\xd1\xb5\x09\xe8\x0d\x97\xc7\xe0\xe5\xe2\x2a\x60\x61\x9d\x35\xb0\x87\x25\x3d\x42\x43\x62\xcf\x49\x99\x06\x97\x8e\x29\x17\xd6\x8e\xf0\xd1\x06\x7f\x1a\x52\xe3\xba\x78\x12\x8e\x83\xcd\xdc\x19\x91\x03\x7b\x3c\x02\xb7\x7c\x24\x0b\x0f\xce\xc0\x21\x84\x2d\x1a\xb6\xa8\x7a\xf1\xfe\xed\xde\x2f\x8a\x94\x35\x18\x23\x06\xcc\xc7\x6f\x09\xfd\x1f\x92\x10\xf0\xee\xec\xf2\x7d\xed\xb9\x66\x42\x40\x4b\xd6\xc0\xed\xe5\x87\x8b\xb7\xf3\x8f\x77\xb7\x8d\xe7\x6c\x69\xf4\xa7\x3d\x39\x01\x9d\xbd\xf7\x14\xa8\xe8\x2f\xa8\x62\x35\xd7\x4b\x97\x20\x3e\xfc\x4c\x6f\xe8\x88\x0d\x03\xdf\x15\xd1\xfd\x2a\xd6\xdb\x6a\x4e\x9c\x4e\x9a\x0b\x35\xa7\x68\xdb\xb0\xca\xd6\x3b\xec\xa3\x7a\x87\xaf\x7f\xd2\x99\x4c\xfa\xb1\xbc\xee\xb8\x5a\xeb\xc7\x16\x70\xe4\x42\x00\xb8\x9d\x5c\x7e\x54\x29\xb4\xd0\x0b\x91\x14\x21\x9a\xdc\x6c\xdc\xff\x6a\xfc\xe0\xfe\x3b\x38\x7a\xe2\x7c\xb7\x81\xae\xb0\x8f\x4f\xc3\xd9\x0a\xbc\xc1\x20\x97\x81\xee\x75\xf0\xed\x01\x6e\x23\xe1\x14\x75\xa8\xf4\x3c\x6c\xd0\x8f\x6b\x9d\x91\x47\x0e\x39\x98\x67\x6a\x2b\xf2\x44\x03\xee\x0e\xe9\x3d\x34\x4b\xd6\x32\x4b\x83\x26\xd5\x77\x90\xa8\x00\x70\xe2\x97\xa4\x36\x2a\x3c\x7e\xc2\x15\xdf\x73\xea\xba\x69\xf7\x16\x57\xf7\x51\xd8\xa3\xa7\x44\x1e\xf7\x4d\xfb\x9f\x09\x21\x8b\x5d\x41\xac\x69\xb5\x48\xb8\xed\xf4\x4a\x7d\x46\x39\xf5\xed\x71\x4b\x72\x43\x49\xb8\x38\x15\xb5\x71\xa5\x69\x56\xef\x4a\xe0\xd2\x46\x4f\x2a\xc2\xc0\x8c\x80\xea\x6c\x04\x47\x5b\x2c\x30\xdb\xd2\xa0\xce\x54\x88\xfd\xbf\x30\xb1\x5d\xd6\x3a\xce\xe8\x7f\x75\xd8\xe6\x09\x7b\x51\x69\xe8\x0b\xe0\x5a\x56\x1a\xbe\x47\xf1\xd9\x4a\xd7\xc0\x74\x9d\x30\x59\xcc\x94\x34\x38\x33\x73\x91\x89\x07\x5b\xbb\x38\x3e\x40\x88\x35\x77\x77\x76\xcd\x86\xf4\x18\xee\x58\x15\x68\xda\xd0\x22\xcc\x63\xce\x5e\x0c\x4c\xa6\xc2\x58\xbb\x11\xd4\x86\xc4\x2f\x76\x01\x48\x08\x7f\x21\xb4\x29\x15\xca\xd5\x0f\x10\x4f\x28\xd1\x3d\x53\x97\x4b\x48\x6d\x87\x84\xfa\x34\xc5\x5b\xa8\xd3\x9f\xf1\x04\x8a\x92\xe2\x01\x9a\xee\xe4\x6e\x20\x48\x2c\x17\x57\x92\x78\x10\xf9\xae\x00\xa7\x2e\xf4\xab\x12\xbc\x58\x33\x59\x4c\x80\xf9\xd2\xed\x94\x33\xc5\xd3\x94\x32\x82\xb1\x38\xdb\x35\x30\xef\x7b\xc6\x99\x7e\x5f\xe8\x87\x3e\xc3\xf6\x58\xec\x26\xae\xea\x6d\xc6\xd5\x1c\x4f\x90\x6f\x80\xde\x8c\x74\x8c\xbb\xc2\xf8\xe5\x62\xee\xd9\xba\x9e\xa4\x9e\x91\xd4\x7d\xac\x2e\x6e\xed\x58\xf7\xa1\x49\x05\x9c\xbb\x08\xc4\x0e\xde\x4f\x43\xc8\x99\x9c\x39\x74\xc1\xf0\x5d\x20\x00\x3b\x79\x0d\x65\xe3\x66\xeb\x3e\x64\xa7\x9b\x01\xbf\x56\xec\xdd\x90\x91\xaf\x9d\x21\xf5\x61\x1f\x0f\xfb\x6a\x58\x88\x07\x41\xbf\xf6\x54\xeb\x79\xe1\x5f\x9d\x7e\x94\x26\x0c\xcc\xb5\x36\x8a\xf0\x12\x78\x1c\xfd\x70\xde\xcd\xd3\xae\x53\x1d\xdf\xc3\x74\x0b\x42\xfa\x29\x7d\xd4\xb0\x4f\x0d\xf5\x94\x04\x4a\x09\xa8\xd7\x94\x5d\x2a\xe6\xcc\xbd\x09\x7b\x81\x13\xcb\xbc\x20\x17\x24\x89\x9d\x13\x5c\x22\xa5\xd5\x43\x49\xf8\x75\x98\x11\xa6\x42\x85\xe5\x86\x91\xa0\x5e\xc6\xd6\x67\xed\x97\x37\x12\x52\xb1\x0e\x61\xdb\xc0\x28\xe2\x02\x0b\x70\x99\x04\x70\xed\xde\xa1\xd1\xae\x83\x37\x3b\x34\xd8\xc5\xbb\xd8\x1b\xf7\xa2\xed\xa2\x6d\x49\xe7\xa9\xfb\x9d\xe9\x7c\xa6\x5c\x69\xe4\x92\x34\x28\x11\x57\x2f\x2a\xca\x0c\x21\x9b\x3f\x9a\xa9\x10\x0c\x76\xaa\x80\x20\x36\x19\x68\xa5\xeb\xbb\x00\xe0\x60\x16\x1e\x83\x08\x3a\x04\xe1\x6b\xd6\xf0\xb0\x13\x7c\x83\xc7\x7c\x9d\x7a\x36\xcb\x6c\xa7\xc8\xc2\x31\xdd\x46\x59\x5b\xa6\x04\xbe\xe6\x65\x69\x37\xa3\x88\xd4\x7a\xa6\x6c\xe7\xb1\xa5\x04\xf4\x3e\xf5\xcb\x4c\x7d\xd0\xc6\x91\x84\x98\xd0\x1f\x2e\xb4\x4c\xdd\xf6\xc2\x8b\x23\xd2\x1f\xde\xc2\xa1\x4d\x3e\x7f\xa4\xfb\xf2\x47\x0b\xa4\xeb\x11\xd3\xcf\x4e\x97\x79\x68\x54\xc2\xd5\x4c\xfd\x87\xed\x1e\x14\xe8\x57\x6e\x58\xf5\x12\x97\x30\x8c\x20\x04\x4b\x3e\x63\xa1\xdf\xfd\xe3\xcb\xcf\x2f\x31\xbd\xa6\x34\xa0\x47\x3b\xa9\x1e\x20\x5e\xdf\xa0\xcc\x32\x88\x44\xbb\x16\x78\x8e\x9d\xf0\x89\x5e\x24\x16\x5d\xea\xe6\xaa\x6a\x62\x0c\x59\xe8\x7d\x33\x38\x38\x9f\xcf\x58\xc2\x8b\x64\x7d\xe2\x6c\x39\xda\xc6\xdc\xe9\x47\xc3\x87\x79\x30\xd6\xd2\x6a\xa7\xf8\xb7\x17\xce\x7c\xe3\x49\x47\x2b\xf3\xc5\x36\x01\xb0\x54\xb7\x75\xbd\x2b\xcf\x89\x8c\x93\x13\x91\x20\x55\x3b\xcf\x3f\xee\xd4\x26\xc3\x8d\x93\xbc\xe4\x8a\x6f\x44\xca\x5e\x40\x22\xe8\x0b\x37\xf8\x33\xb5\x5d\x4c\xb3\xdd\xb2\x20\xe6\x3a\xdb\x29\x53\xd0\x65\xdb\x73\xca\xcd\xd3\xe6\x35\x69\x4f\x67\x77\x5e\xb4\xda\x6d\x1d\xdf\x37\xfe\x4b\xc3\x0d\x16\xf4\x71\xf9\xde\xb9\xa9\xa2\xc2\xaa\x02\x11\xdc\xdc\x4f\xd8\x22\xe7\x0a\x24\x75\xd2\xd8\xa8\x0a\xab\x13\x2e\xcf\x48\x0b\xe7\x32\xc3\x14\xcf\x76\x90\x01\x32\x99\x29\xe4\xd0\x03\xb2\xf5\x5d\x92\xc9\x84\xad\x72\xbe\x5d\xd7\xec\x20\xf1\x20\x54\x01\xca\xcc\xd7\x82\x9b\xe3\xa2\xf5\x79\xbd\x04\x36\x38\x9e\x72\xa6\xe0\xf6\xc1\x55\x8d\xf5\x18\xaa\xd7\x71\xb4\x00\x42\x4f\xa4\xf3\x71\x8c\x47\x7b\x79\x79\x2b\x6c\x8f\x44\x3d\x06\x11\x48\xdb\x38\xe6\xbe\xba\x2f\xfc\x8d\xfd\x4a\x64\x3c\x0e\xd3\x79\x6c\xc8\xde\x93\xfb\x1c\x45\xd1\x7a\x59\xb5\x22\x79\x60\x2d\x0a\x9e\x6b\xcc\x6b\x24\x4f\x85\x03\xc2\xfb\x8d\x63\x42\xca\x99\x40\xdf\xc8\xfe\x52\x2e\x74\xe6\xf8\x2f\x2f\xdf\x32\x9d\x83\xf4\x4c\xa1\xe9\x4f\x32\xed\xb2\x0e\xa4\x4a\xc5\x2f\x47\x91\xd0\xf4\x1f\xf4\xce\x6c\xb6\x9f\x89\x14\x4e\xea\x8d\x85\xdd\x29\x17\xf6\x10\x2e\xdc\xcd\xb8\xf1\x94\xa9\x83\x55\xcf\xb2\x62\x0d\x08\x52\x4c\xd2\x08\x9d\xba\xe1\x3b\x96\xac\xb9\x5a\x45\xae\x09\x00\xf4\x89\xad\xce\x51\xa2\xf5\x01\xd8\x1e\x75\xee\x92\xfc\x29\x75\x9d\x32\x45\x7c\x20\x01\x01\xda\xda\xe5\xa7\xf3\xd5\x2a\x17\x2b\x48\x64\x9c\xa9\x0a\xf9\x06\x30\x5d\x3a\x75\x18\xfc\x4e\x1f\x77\xc1\xd3\x10\x00\x75\xdd\x06\x8b\x7c\xe7\x33\xbf\x49\xdf\x38\xac\xe7\x7a\xb7\x4e\x98\x14\xd3\x09\xfb\x21\x80\xd2\x45\xa2\x95\x4f\x1d\xef\xc8\x1b\xae\xb9\xfc\xd9\x9e\xab\x43\x93\x29\xa8\xbd\xee\xf0\x5b\x43\x25\xb9\x75\xd2\xf4\xe6\xde\x17\xbc\x28\x47\x9c\x41\xa4\x84\x7f\x6e\x5f\xbe\xc1\x77\xfb\xe6\xf5\x39\x22\xc6\x1d\x4b\x9b\x7d\xde\x9e\x9c\xf6\xdb\x81\xc5\xbd\xad\xaf\xf7\x3a\x90\x33\xdd\xed\x40\x7e\x0a\x53\xdd\x51\xf1\xec\xf7\x21\x67\x1d\xf4\x32\x3d\x6d\x1a\xeb\x22\x76\xb8\x6e\x4a\x4d\x31\xf5\x6b\x6c\xcb\x0e\xb0\xcd\x75\x5a\x26\x22\xb5\x2b\x17\xee\x43\x88\x88\xf1\x2c\x37\x95\x4d\xb2\xed\xa0\xad\x50\x75\xc1\xa9\xfb\xb5\x7c\x0e\x83\xd8\xd1\x7d\xf7\xdf\x75\xf8\x1b\x9c\xc5\xd7\xd6\xe9\xf1\xfa\xc4\x7e\xca\x47\x9e\x53\xfe\xf3\x55\x4e\x73\x9d\xcb\x95\x54\xbc\xd0\x39\xfb\xce\xe7\xb2\xbf\xf4\x42\x68\xdd\x16\xc2\xc8\x6d\xa2\xd2\x45\xb8\x4d\x7c\x55\xc3\xa3\x6d\x92\xda\xa7\x4c\xc1\x37\xdb\x98\x25\xd8\xcb\xcc\x53\xcf\x64\xd8\x09\xde\x36\x01\xdf\xa9\x34\x21\x6f\x73\xa6\x28\xe2\x80\xe3\xa6\xf3\x98\xe6\xbe\xf3\x6c\xde\x96\xc5\xfc\x40\xe6\x2b\x7c\x79\x9c\xe3\x89\x60\x08\x1f\xf8\xb6\x9f\x4b\x88\x93\xcb\x01\x13\xd7\xbc\xf6\xbe\xb3\x54\xaa\xf3\xb3\x5f\x48\x66\x24\xb7\x71\x3d\x74\x7e\xfd\xde\x05\x8a\xc2\x7d\xb0\x72\xc1\x82\x81\x40\x52\x55\x4c\x04\xc2\xab\xbd\xdf\xd6\xec\x29\xee\x08\x88\xce\x33\x5d\xa6\x8c\x36\x35\x0a\xc3\xe7\x53\x3c\x1d\x81\xe5\x78\x3a\xed\x4a\x6c\x1a\x29\x70\xed\xf7\x1f\x78\xaf\x7d\x05\xc2\x6f\x1d\x3b\x70\xef\xd2\xa7\x9e\x7d\xb6\xa1\xa7\x9e\x86\xb1\xf7\xdb\xf1\xa8\xb1\xf7\x5e\x70\xa0\x5c\x1c\xe7\x20\x85\xfb\xa8\x4c\x33\x58\x6f\x71\x00\xa1\x85\x14\xba\x12\x98\x35\xf7\x47\x7f\xce\xf1\x10\xf4\x7f\x6a\xcb\x73\xa1\x8a\x39\x7c\x71\xdc\xc7\xe0\x23\x9f\xe0\xf5\x8a\xc1\x34\xc8\x11\xfc\x6f\xb7\x1a\xfd\xfb\x8e\x5f\xe9\xdf\xd9\x0d\xf9\xb4\xec\x7e\x25\x01\x44\x6a\xee\xd9\x77\x12\x30\x47\x51\x2c\xd4\x0f\x5c\xc7\x70\x51\x83\x0e\xe8\xbd\xa8\x41\x95\xad\x7d\x50\x83\x42\xed\x21\x54\x0d\xa5\x90\x7b\x8f\xb2\xc2\xed\x56\xeb\xfe\x16\x69\x2e\x5c\x55\xfe\x0d\xfc\xb8\x76\xfc\x32\xf6\x9f\x22\xd7\x21\x03\x08\x9d\x55\x71\xc1\xbd\xf6\xfa\xe1\x72\xd1\x68\x8f\xa3\x50\x71\xac\xd4\x09\x7f\x21\x0a\x2b\xf4\x28\x2c\x76\xee\x3a\xd2\x11\x42\xda\x8a\x64\xde\x21\xcb\x32\xa8\x2a\xd1\xc5\x33\x96\x59\x91\xb5\xc3\xcc\x2d\xd0\x53\xf0\x57\x50\x6a\xcd\x86\x6f\x09\xdf\x47\x50\xe2\x7a\xf0\x66\x0a\x8d\xf8\xb7\xbf\xfe\xfb\x54\x76\x24\xf9\x42\xd5\xc7\xc2\xa5\x7c\xe5\xdf\xe5\x52\xa8\x14\x82\xb1\x3c\x6d\x2a\x86\xa9\x8a\x77\xbe\xb2\x3d\xdb\x69\xf8\x24\x19\xc1\xed\x47\xad\x99\xe3\x24\xfa\x0a\x11\xfd\xb0\xc9\xfa\xe5\x5b\x89\xf7\x75\x99\x12\x66\x9e\xee\x14\xdf\xc8\xe4\xab\xd6\x71\x27\x45\x96\x42\x15\xe9\xeb\xfb\xa2\x52\xa9\x48\xee\xc7\xda\x04\x07\xeb\x1d\x88\xe4\x9e\xfd\x78\xfb\xe1\x3d\xca\xdb\x4a\x33\x53\x57\xbc\x90\x0f\xe2\x2e\xcf\x7c\x38\x80\x08\xac\xf2\xcc\xad\x91\x2a\xff\x76\xc4\xf5\xe4\xc8\xba\x9d\xe1\x10\xcb\x23\x6c\x76\x27\x8b\x32\xb9\x17\xc5\x69\xce\x55\xaa\x37\xd8\x8c\x53\x53\x2e\x97\xf2\x97\x69\xc1\xf3\x0e\xad\x04\xf4\x23\x7c\x43\x3b\x37\x28\x60\x15\xc1\xe6\x45\x53\xf7\x11\x12\x7d\x49\x57\xbd\x62\xdc\x62\x5e\x1a\xdf\x08\x20\xbb\x64\x55\x9d\x11\x28\x05\x73\x67\x41\x8e\xd3\x18\x42\xd0\x6b\x12\xfb\xfe\x1c\x19\xf7\x9f\xa3\x5a\x55\x05\xe7\x5d\xa5\x82\xc4\xe5\x86\xdf\xe3\xfd\x70\x95\x0b\x63\x26\xcc\x68\xa8\xf1\x4c\x39\x2c\xba\xcb\x97\x02\xdc\x0b\xd0\xe5\x66\x3b\x96\xe8\xad\x04\x45\x50\xdf\xae\xb5\x7e\x04\x3f\x7d\x9c\x29\x0a\x22\xce\xa5\x2a\x64\xc6\xf8\xb2\x20\x27\x3e\x68\x03\x38\x2d\x30\x33\x9d\x29\x08\xc5\x26\xd0\x7c\x80\x48\xf8\xf0\x8b\x6f\x84\x61\x4b\x9e\xc8\x4c\x16\xc4\x58\x06\x49\x46\xdc\xb6\xd7\x9e\x07\xb6\x2f\x73\xbe\xe3\x59\xb8\x58\xf1\xac\x0c\xc9\xb1\x27\x46\xf4\x30\x62\x4a\x33\x47\x07\xc1\xd7\xa0\xe0\x93\x71\xf0\x01\xd9\xc3\xcf\xec\xc7\xaf\x6a\xa7\xe8\xef\xe2\xff\xad\xdc\xc3\xfb\xac\x82\x23\x2e\xe4\xc7\x1c\x8e\xcd\x2b\xb7\x17\xd0\x0e\x76\x86\x4c\x1d\x3e\xb8\x62\x8a\x87\xf4\x53\x7f\x3c\x42\xcc\xa4\xe3\xd2\x3f\x75\xb2\x67\xcd\x2f\x8c\xe8\xbd\x76\x23\xf1\x2b\xb9\x33\xba\x28\xdd\x87\x54\xdf\x79\xe3\x3f\x69\x9d\x1d\xeb\x91\x27\x52\x06\xa9\xd5\x1c\x94\x80\x8f\xb9\x4e\xe2\x04\xf0\x8e\xad\xcb\xb7\x3e\xe6\xee\x39\xd2\xab\xfa\x61\x04\x07\xa3\x2a\xc0\x46\x06\x95\xe8\x41\x8a\x9b\x6d\x0b\xe8\x62\x24\xe2\x1d\xca\x40\xb4\x96\x33\xed\x9b\x21\x82\x88\x9f\x83\x87\x3a\x02\x8f\x6c\xad\x86\xa3\x9c\x75\xa8\xdb\x5b\xfb\x94\x77\xdc\xc5\x7c\xd3\xbe\x1f\xa3\x6f\xbb\xfe\xdc\x70\x45\x9e\x3f\xb2\xe2\x67\x2a\xb2\xd8\x91\x13\xcd\xa5\x14\xf8\x5e\x6b\xf3\xe7\x55\xa6\xe1\xd1\xfe\xbc\x63\x44\x05\x7a\x77\xce\xb7\xb1\x3c\x20\x60\x41\x12\xbd\x59\x48\xe5\x58\x09\xc8\xc9\x0d\x57\x8d\x33\xc7\xd9\xea\x03\x12\xee\xca\x80\xa2\x31\xb5\xbe\xf7\x66\x4e\x4c\x7f\x1b\x6f\x59\xfb\xae\xe3\xf1\xfd\xee\x69\xf5\x0f\x3a\x22\x8d\xf5\x16\xd8\x03\x24\x7b\xe4\x3b\x03\x12\xda\xc2\xee\x8a\x4b\x74\xec\x56\xeb\x3f\x89\xcc\x0f\xc7\x07\x3c\x53\xd0\x43\x25\x29\xeb\x53\x5b\x24\x31\x00\x64\x4e\x2c\x3c\x70\x7d\xbd\x30\xed\x9d\xf3\x6d\x62\x35\x79\x6f\xac\x06\x83\xd0\xff\x33\xc2\x33\x3d\x4e\xe0\x23\x7d\xd1\xd1\x31\x89\x16\x23\xc1\x84\x20\x71\xcb\x87\xa8\x27\x6c\xc3\xa5\xa2\x65\x80\x82\x8c\xa9\x58\x94\xab\x55\xa7\x8b\xf4\xd7\x1f\x6b\xa9\xae\x93\xbf\x7b\x5f\x78\x2f\x5b\xdd\x53\x78\x8b\x2f\xdd\x97\xd0\x7d\x6d\xef\x7d\x5f\xc7\x41\xfc\x0d\xbd\xf1\xad\x21\xb1\xc6\x24\x7a\x1a\x6f\xfc\xe5\x10\x6f\xbc\xc3\x76\x41\x8a\x1d\x5d\xa7\x1d\xfe\xe6\x37\x37\xfd\xd7\x71\xd3\x0f\x9a\x14\x48\xeb\x32\x97\x55\x03\xbd\xa7\x86\x07\x32\x1f\x7a\x32\x60\xa8\x15\xb2\x8b\xd9\xdd\x3d\x35\x6c\xc1\x93\x67\xa0\x42\x84\xd3\xf1\x78\x7f\xe0\x1e\xf0\xcb\x8d\xde\x08\x06\x9f\x32\x28\xe5\xc3\x28\x8b\x71\x02\x68\x55\xdb\xc0\x80\x18\x21\x3c\x0a\x1c\xa7\x88\x5c\x49\x83\x51\xfd\x9d\x12\x8f\xcc\x9e\x56\x93\x18\xbe\x17\x0d\x0f\x68\xbc\xbd\xb4\xd6\x61\x05\xeb\xef\x29\x1b\x72\xb1\xe2\x79\x0a\x19\x26\xb4\x24\x33\x9e\xdc\xdb\xff\x86\xfa\xd1\x17\x09\x62\xe8\xe4\x26\x10\xf6\x1a\x4a\x93\x2a\x41\x32\x3c\xc7\xea\xed\xeb\x87\xaf\x1b\xc6\x93\x5c\x1b\x74\x1a\x79\x69\x64\xc8\x70\x06\x03\xf6\x41\xa6\x25\xcf\xf0\x8b\x9d\x9e\xf6\xb1\xf0\xb5\x3a\xe0\x28\x52\x31\x6b\xa2\xd9\x68\x38\x90\xa3\x08\xba\x71\x3a\x53\x6f\x7d\xc0\xe4\x35\xbb\x33\x82\x50\x66\xc6\xf1\xc0\xf7\xd6\xf4\xd9\xcc\x87\x06\x26\xb0\xd3\x86\xe8\xe9\x00\x07\xb2\x8e\x3a\xc2\x74\xf7\xc4\x1e\x42\xcd\x63\x06\x65\x34\x31\xf0\x65\x24\xa5\x1e\xba\x05\xef\x09\xb9\xe0\xe9\x2e\x66\xe3\x93\x8a\x41\x94\x8e\xf1\x74\x23\x95\x5d\x04\x4e\xae\xd3\x9f\x34\x8e\xb9\x1f\x21\xc7\xa0\x6a\x95\x65\xb5\x4d\xd0\x30\x25\xac\x71\xc9\x73\x99\xed\xe0\x3e\xb1\xcd\xc5\x49\xf4\x9d\x68\x7c\x28\xe3\x09\x34\x08\x88\x46\xa4\x34\x62\x59\x66\x78\xeb\x80\x7b\xb9\x6f\x00\xed\x48\x77\x97\x13\x6b\x70\x14\xa4\x25\x13\x7d\x18\x15\x1a\x9f\x22\x7b\xa4\x11\xad\x1c\x17\x71\x0b\x6c\x91\x39\x80\xdc\xd7\xfa\xd1\xa5\xba\x3d\xf2\x80\x65\xee\x3a\x5d\x9f\x2c\xca\xd2\x6f\x87\xba\x1b\xa0\xdb\xa7\x22\xca\x37\x1f\x5a\xa3\xdf\x44\xea\xf7\x26\xa9\xa0\x39\x24\x72\x1c\x3c\xd7\xa5\xc1\x8c\x39\x3b\x96\x70\x7e\x39\x47\x47\xd5\x71\xcd\x7c\xeb\xa4\xd1\x8a\xcd\xca\xef\xbf\xff\xbd\x60\xdf\x43\x0a\x21\xdd\x47\x30\x3e\x06\x7c\x91\x58\x3a\x6c\xd9\xfe\x03\x02\xc9\x24\x1b\x23\xc2\xda\x20\xaa\x2e\x5f\x1f\x40\x9e\x3c\x59\x33\x53\x2e\x10\xc1\xc8\x29\xc4\xc2\x95\xe7\x9d\x7e\xaf\x01\x8c\x88\x27\xbb\xab\xfd\xff\x92\x80\x02\xca\x7e\xcc\xd4\x56\x23\x35\x3a\x40\x3f\x17\x82\x6d\x78\x7e\x0f\x2a\xae\xe8\x9e\x07\x2a\xf8\xef\xa4\x98\x56\xc3\x0b\x2f\x2b\xf5\xa1\x80\x0e\x52\x1e\xb3\xbc\x54\xca\xc9\x52\x31\x6b\x98\x06\x5f\xff\x64\xa6\x16\x65\x7c\xf7\xac\x04\x0b\xc2\xd4\x82\x80\x01\x6c\xb6\x1a\xb8\x42\xa8\x52\xdc\x84\x7a\x4d\xd9\x80\xa8\xc1\x4c\x3d\x71\xd8\x60\x9f\xc3\xef\x13\xd9\x60\xce\x99\x17\xe5\x2b\x40\x73\x63\xe5\x64\x18\x0e\x9c\xf6\x60\xe4\x7c\x02\xf9\xe4\x09\xfb\x51\x3e\x88\x09\xbb\xd9\xf2\xfc\x7e\xc2\xde\x62\xf8\xef\x4f\x7a\xd1\xe6\xc3\x6b\x10\x4a\x1c\xed\xc7\x3b\xcc\x8d\xd5\x47\xb4\xd2\x6e\xfd\xff\xdc\x20\x06\x60\x5d\xb1\xef\xff\x99\x88\xbc\x0e\xae\x8f\xbf\x77\x4f\xc4\x9e\x30\xf5\x6f\xe0\xb5\xbf\xcb\x5b\x71\x3f\xcd\xc7\xef\xe2\xff\x75\xfb\x97\xb3\xb8\xc0\xf6\xa4\x5d\xae\x15\x95\xf6\xeb\x4a\x6c\x96\x69\xfd\x50\x6e\xe6\x37\x0f\x5b\x0a\x94\x3e\x9e\xfa\xd4\xf6\x11\xa0\x7b\x7a\xd5\xf5\xd7\x79\xa6\x4d\x99\xf7\x2f\xfe\xeb\x6a\xad\xdd\xd7\x5b\xa8\x3e\x61\xb2\x6d\x16\x02\x58\x0b\x86\xc2\x4f\xf0\xb1\xf9\x7f\xe8\xc5\x1c\xb0\x56\xc7\xad\xf0\xb6\xe2\x3c\x81\xb0\x4e\x2a\x55\x0d\x27\xe4\xcd\x56\x00\xe3\x54\x30\x45\x43\x40\xa0\x36\xc3\xbc\x6b\x64\xa6\x1c\xe7\x3a\x66\xcc\xe6\xb9\x00\x72\xe8\x5c\x80\xd4\x1f\xdb\xf2\xdc\x03\x1e\x9c\x45\x14\xdd\x7c\x02\x28\x26\xce\x72\x83\x64\x55\xba\x6f\x2d\x84\x50\xbe\xb7\xc7\x98\x12\x40\x84\x5c\xeb\x7d\x42\xbb\x3d\x0a\x47\xbd\xdf\x21\x4b\xda\x78\x2f\xba\x0b\x82\xc9\xbd\x12\x45\xb4\x9b\xd7\x4c\x8b\xca\xd2\xac\x44\xa8\x7e\x55\x88\xff\xd6\x18\x74\x8d\x9c\xab\xe2\x40\x19\x14\xd3\x7b\x0a\x7f\xf9\x27\x5e\xac\xf1\x42\xbb\xd1\x85\xc0\x3d\x13\x59\x82\x70\xbe\xa0\xd7\x79\x91\xe9\x05\x68\xec\xd9\x5f\xba\xee\x86\x09\x2d\xed\x41\x5d\xd7\x1c\xb0\x21\x3b\x83\xdd\x4d\x20\xd3\x36\x17\x06\x08\x57\x9a\x51\xaa\xa1\xf8\xe4\x71\x97\xee\x66\x75\xed\xa6\xff\xb6\x71\xd9\x6e\x8a\x32\xd8\x65\x0d\x60\xd5\x8b\x03\x32\x68\x1a\x12\x17\x44\x56\x4c\x61\x60\xe4\x2b\xad\xb5\xd7\x49\xb9\xcf\xd4\x19\xfe\x12\x1d\x02\x3c\xa8\x2c\x79\x3c\x28\xa9\xf6\xfa\xf5\x87\xe9\xab\xec\x2c\x46\x20\x92\x87\x60\x12\x7c\x99\x70\x19\x98\x40\x56\xa3\x2a\x64\x2e\x98\x02\x14\xc2\x4c\x99\x72\x71\x12\x88\x49\xec\x2d\xee\x01\xc8\x74\x8c\xd8\x72\xb8\xca\x00\x5f\xd1\x49\xcb\x31\x8c\x9e\xc9\xa0\x96\xe2\x08\xfc\x78\x46\x9b\x3f\xe4\x4a\x62\x66\xbc\x6f\xbb\x2f\xc7\x5e\xd6\xe0\x16\xed\xe0\x4a\x78\xd8\xf5\xed\x17\xa0\xe7\x04\x19\x98\xd7\x88\xa2\xf8\xd6\x07\x78\x1c\x0d\x1d\x7a\x74\x43\x3c\x6d\xa6\xfe\x7f\x77\x36\x74\x83\x8a\x47\xcc\x74\xdb\x33\xf6\x88\xea\x04\x3b\x57\xea\xe6\xae\x90\x91\x11\xd8\x5d\xa9\xc6\x94\x6f\x2b\x95\x3b\x5c\x4b\x2c\xea\xa1\x29\x5d\x16\x7e\x7d\x90\x26\xa2\xfb\x86\xaf\xdd\x08\xc1\x5e\xe7\x62\xf9\xfa\x73\x2e\x96\x73\x37\xd2\x53\x68\xd0\xd4\xb6\xa8\x49\xfa\x3d\x70\x72\x98\xad\x56\xed\xe4\x87\x7b\xc8\x49\x6b\x4d\xc2\x72\xa2\x36\xc9\x25\x0b\xfa\xa6\xb6\x3d\xc0\x00\x21\xd2\x3a\x1b\x79\xa3\x66\x5f\xfd\x98\xeb\x42\x82\x0d\x80\x5a\x75\xc8\x60\xfe\xfd\x1f\x6f\x95\x3e\x1b\x72\xbc\xdd\x56\x21\x33\x6e\xb3\xe7\xca\x1f\x78\xdd\xb8\xd0\xaf\x8b\x4e\x87\x01\x34\x5b\xfe\xa8\x88\xc7\x66\x94\xeb\x69\xd8\xb1\x56\x03\x10\x45\xc7\x5a\x03\x03\x17\x56\x99\x72\x9e\x3e\xe9\x95\x14\x27\x91\xfe\x3c\xcf\xb2\x58\x53\x21\x44\xda\x66\x2a\xe4\xa5\x5a\xab\x35\xcb\x9c\x0b\xaf\x62\x6f\x78\xc9\x5b\x53\xf0\x42\x4c\x1c\xe9\x0a\xd1\x15\x52\x3c\xec\x64\xc1\x41\xdc\xd8\xab\x68\xed\x5b\xcd\x4f\x75\x89\xfc\x95\xe5\x45\xef\x89\x3c\xe3\x67\xe7\xf7\xa2\x01\x67\xde\x5b\xd7\xf6\x48\x47\x44\x29\x01\x8b\xd9\xed\xb2\x09\xcf\x73\x87\xf2\xa7\xaf\x32\x7b\x57\x5a\xf2\xa4\xe2\xe6\xec\xa8\xe7\x5a\x24\xf7\x5b\x2d\xd5\xe8\xbd\xa8\x42\x71\x01\x93\xbd\x60\xa1\x34\x7f\x3b\x1c\x74\x38\x56\xec\x49\x6c\x88\x01\x78\x85\x83\x86\x06\x32\x36\xce\xbc\x56\x72\xf7\xb4\x7b\x6a\xff\x85\x08\x67\xc3\x33\xf8\x62\x5b\xe2\x43\xb5\x53\x85\xb7\x38\x76\x2a\x4c\xa0\xbc\x91\xfd\x35\xb0\xb3\x39\xab\x50\x18\xb6\x76\x29\xb8\x20\x7f\xf3\x0c\xfd\xe6\x19\xfa\x1f\xee\x19\xfa\x9a\x6e\x21\xc0\xc6\x3c\xa7\x4f\xa8\x27\x40\x7e\xc4\x72\xf4\x5f\x1d\x9d\xe3\xd8\x6a\x1d\x4f\x22\xd9\xe7\x28\xd3\xb1\x09\xf4\x77\x44\x18\xb6\x7f\x16\x3c\xb9\x17\xaa\x33\x46\xef\xe8\x8b\x3a\x15\x38\x9f\x16\xc1\xd2\xc6\xbe\x14\xbd\xdd\x0f\x65\x09\x50\x27\x22\x0d\x6e\x23\x04\xb1\xeb\x04\x6c\x4f\xdb\xf0\x13\x00\x8d\xe9\xdc\x13\x5b\x1b\xca\xc2\xc3\x60\x24\xd2\x24\x21\x58\xaa\x46\x05\x3d\x14\x13\xe7\x3e\x3c\xdf\x6a\x9d\xb5\x42\xe3\x9e\xb4\x03\x1b\x89\x32\x43\x3b\xef\x12\x8d\x51\x13\x03\xc6\x5c\x2f\x86\xa4\x8b\x90\xa2\x81\xf9\x18\xa0\x85\x01\xb3\x29\x2d\x21\x97\x32\x74\x47\x24\xb0\xc7\xbd\xc3\x85\x30\x62\x0b\x91\x70\x90\xfe\x74\xe0\xbd\x84\xfb\xec\x93\x98\x14\xa9\x91\x0e\x62\x9a\xdf\xe9\x88\x5a\x42\xb9\x73\xd9\x26\x7c\x31\x76\x71\xd5\x2c\x04\x07\x2d\xc7\x9a\x3b\x24\x89\xa3\x5d\xdc\x27\x69\xeb\x38\xa6\xe7\xa0\xbf\x37\xec\x84\x6b\xdd\x77\x2e\xa9\xa0\x73\x28\x67\xf8\x46\xfa\x23\xa4\xe3\x6c\x06\x22\x77\x66\xea\xcc\x2b\x9d\x06\xec\x97\x47\xee\x61\xb8\x14\x31\x8b\x8d\xa1\x41\x2e\xc7\x70\x73\x99\x30\x53\x26\x6b\x60\xab\xac\xee\x53\xf1\xbe\xd5\x5c\xb1\x93\x99\xb2\x17\x22\x70\xb5\x6c\x38\xe4\xc5\x3f\x5a\x63\xd5\xc8\xff\x14\x1e\x9e\x45\xe4\x5d\x31\x22\x0b\x2f\x4e\x5a\xb5\xa2\xd7\x1c\x71\x28\x02\x2c\x02\xa6\xa4\xdc\xa6\xbc\x10\xd3\x59\x40\xdb\x48\xf4\x74\x3a\x94\x07\x99\xcc\x26\x6e\x58\x8c\x63\xac\xed\xb4\x99\x5c\x8a\x64\x97\x34\x74\x80\xfa\x69\x22\x7e\xbb\xb6\xfd\xba\xae\x6d\xc8\xb2\x8b\x39\x83\x63\xba\x96\xaa\x7a\x1d\x5e\x3f\xae\x73\x05\x8b\x6a\x62\x46\xf4\xf3\x57\xbc\x76\xb6\xd8\xc0\xe3\xec\xf9\xc1\xf7\xa0\xfe\xe3\x2c\x5c\x6c\xc3\x61\x1d\x51\x20\x34\xcc\xc2\x38\xb8\x58\xc4\x53\xc7\x1a\xb4\x83\xc3\xfa\xdd\x2c\x33\xbf\x2a\x70\xd2\x90\x8b\xab\xb5\xb8\x3d\x5c\xe9\xca\x59\xda\x4a\xe0\x79\xd7\x63\x71\x47\xac\xee\xbc\x78\x61\x7c\xaf\x57\x77\x40\x87\xfd\x7f\x2f\x4d\xf1\x53\x4d\x33\xf4\x30\xd1\xd1\x67\x33\x4d\x5d\x55\xb1\x9a\x43\x2d\xaa\xeb\xaa\xcd\xa3\x97\x6e\xce\xc1\xe5\xc9\xa9\xc4\xd9\x7a\x8f\xb9\x07\x7d\xf6\xfd\xf5\x19\x8f\xa6\xc7\x9c\x6f\xb7\x22\x77\x07\x79\xc3\xd6\x02\xc9\x35\xf8\x0a\x68\x26\xae\x05\x6a\x75\xd7\x6e\xb9\x76\x2b\xa9\x15\x0d\x8f\x41\xd7\x4d\xdb\x47\xee\xaa\xcc\xb2\xce\x91\xdb\xaf\xe4\x74\x75\xf7\xfe\xfd\xfc\xa7\xb3\xf7\x77\x17\xae\xf9\xad\xca\x48\xd1\x63\x9d\x7d\xe2\x6b\x42\x7d\x12\xb4\x17\xed\x67\x85\xd3\x0b\xd7\xa1\xd5\xe8\xe4\x2a\xb3\xac\xaa\x9a\x35\x53\x9f\xa9\x1c\x80\x69\xa3\x22\xa8\xed\x37\xd6\xdb\x71\xd5\xef\xc3\x63\x9f\x6d\xe1\x9f\xf1\xdd\x13\x16\x1a\xf1\x1a\xb4\x1d\x49\x33\xae\xbd\x5f\x29\x1b\xe6\x88\xe5\x80\x60\xe0\xae\xe5\xf0\xd4\xba\x80\x87\x2d\x8f\x3b\x05\x8c\xe4\x22\x75\x72\x7e\x4f\xb2\x3a\xb0\xef\x3e\x57\xe3\xd4\x7e\x2f\x4f\xf1\x4a\x03\xe5\x4e\x50\xcd\x0d\x34\xaa\x83\xe0\xd9\x4c\xa1\x0f\xd4\xd6\xa9\xd0\xdd\x75\x62\x97\x64\xde\x66\x5c\xad\x4a\xbe\xb2\xd6\xad\xfb\xf8\x4c\x6d\xe4\x6a\x8d\x3c\x20\xe5\x36\xe0\x93\x39\x53\x40\x17\x53\x9b\x42\x35\x7c\xb2\x54\x33\x45\x6d\x52\xab\x50\x3c\x62\x65\xff\x74\xe3\x9b\x43\xa0\x74\x2c\x88\x04\xe9\xd4\x4c\xe1\xe0\x22\x3f\x89\x8b\x84\xc0\x8d\x85\x17\xf5\xa9\xcb\x21\x76\x89\x3a\xfd\x76\x4f\x5f\x41\x4c\x66\xa6\x7c\x8a\x2e\x7a\x8e\xa8\x0d\x91\x70\x09\x56\x69\xff\x7e\xe2\x06\xc3\xad\x09\xaa\x5b\xfb\xac\x3f\xfa\x0c\xb0\x0b\x6e\x3e\x42\x7d\xba\xb9\x8d\x0d\xf4\x16\xf2\x68\xe3\xe8\xe2\x6d\x80\xbc\xec\xf6\xda\xb8\x76\xe1\x33\x9d\xd0\x56\x5d\x2e\xb2\x11\x55\xc2\xe7\x7b\x2b\x85\x5b\x72\x7f\xa5\x06\x5c\x87\xaf\x6b\x4b\xcb\x4e\xd3\xbe\xcf\x2e\xb4\xee\x18\x97\x27\x0c\x28\x56\x2a\x45\x2f\xec\xeb\x8c\x32\x29\x0e\x99\x2f\x03\x92\x15\xeb\x5d\xe4\x76\x9f\xbe\x0a\x65\xd2\x1c\x54\x9d\x60\x3f\x0d\xae\x91\xb7\x10\xe8\xb0\x1b\xb5\xc3\xd2\x39\x57\xd9\x60\x3b\xb6\x49\x8a\x27\x39\x19\x67\x89\xdb\x8b\x5d\x3c\xa8\xb1\x6c\xe7\xff\xc4\x4f\xa2\x49\x18\xb9\x09\x54\x32\x29\x73\x63\xb7\x4b\xda\xef\x68\xd7\xd6\x39\xe3\x33\xe5\x52\xd5\xdc\x76\x7c\xe6\xc0\xb9\xb9\xff\x2b\x26\x80\x6e\x91\x4f\x1f\x2c\xd6\x82\x69\x25\xdc\x6e\x38\x53\x4e\xfb\x7b\xc2\xf8\xc2\x38\x49\x6d\xae\x76\x5e\xe7\x5a\x7a\xfa\x22\xae\x18\xa0\x9e\xf7\xef\x79\x35\x33\xa0\x72\xce\xff\xce\xfe\xdf\x7f\xff\xee\xff\x05\x00\x00\xff\xff\x30\x03\x1f\xec\x8e\xb8\x04\x00") +var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x7b\x73\xeb\xb8\x95\x2f\x0c\xff\x3f\x9f\x02\x67\xcf\xa9\xea\xee\x44\xb6\x3b\xc9\x4c\xde\x94\xa7\x4e\xbd\x8f\xda\xd6\xde\xad\xd3\xbe\xc5\x97\xee\xe9\x67\x94\x52\x43\x24\x24\x21\x26\x01\x06\x00\xed\xad\x4e\xe5\xbb\x3f\x85\x85\x0b\x41\x8a\x94\xa8\x8b\x6d\x79\x37\x67\xaa\xd2\xde\x22\x89\xeb\xc2\xc2\xba\xfe\xd6\x3f\xff\x0d\xa1\x0f\xf2\x19\xcf\x66\x44\x7c\x38\x45\x1f\xfe\x78\xfc\xed\x87\x9e\xfe\x8d\xb2\x29\xff\x70\x8a\xf4\x73\x84\x3e\x28\xaa\x12\xa2\x9f\x4f\x93\x85\x22\x34\x4e\x4e\x24\x11\x4f\x34\x22\x27\x38\x4e\x29\x3b\xce\x04\x57\x1c\x3e\x44\xe8\xc3\x13\x11\x92\x72\xa6\x5f\xb7\x7f\x22\xc6\x15\x92\x44\x7d\xf8\x37\x84\xfe\x05\xcd\xcb\x68\x4e\x52\x22\x3f\x9c\xa2\xff\x31\x1f\xcd\x95\xca\x5c\x03\xfa\x6f\xa9\xdf\xfd\x1b\xbc\x1b\x71\x26\xf3\xd2\xcb\x38\xcb\x12\x1a\x61\x45\x39\x3b\xf9\xbb\xe4\xac\x78\x37\x13\x3c\xce\xa3\x96\xef\x62\x35\x97\xc5\x1c\x4f\x70\x46\x4f\x9e\xfe\x70\x82\x23\x45\x9f\xc8\x38\xc1\x39\x8b\xe6\xe3\x2c\xc1\x4c\x9e\xfc\x93\xc6\x7a\x8e\x7f\x27\x91\xfa\x17\xfc\x23\xe6\x29\xa6\xcc\xfc\xcd\x70\x4a\xfe\xe5\xdb\x41\xe8\xc3\x8c\xa8\xe0\x9f\x7a\xb6\x79\x9a\x62\xb1\xd0\x2b\xf2\x91\xa8\x68\x8e\xd4\x9c\x20\xd3\x0f\x72\x4b\xc4\xa7\x08\xa3\x53\x41\xa6\xa7\xbf\x08\x32\x1d\xbb\x85\x3e\x36\x0b\x7c\x01\xa3\xb9\x49\x30\xfb\xe5\xd8\x2e\x13\xb4\xcc\x33\x22\x60\x6e\xc3\x58\xb7\xfe\x89\xa8\x3e\x34\x5b\xbc\x1f\xbe\x2d\x88\xcc\x38\x93\x44\x96\x86\x87\xd0\x87\x3f\x7e\xfb\x6d\xe5\x27\x84\x3e\xc4\x44\x46\x82\x66\xca\xee\x65\x1f\xc9\x3c\x8a\x88\x94\xd3\x3c\x41\xae\xa5\x70\x30\x66\xaa\x7a\x63\xf1\x52\x63\x08\x7d\xf8\xdf\x82\x4c\x75\x3b\xff\x7e\x12\x93\x29\x65\x54\xb7\x2b\x0d\xfd\x04\xa3\x2d\x7d\xf5\xaf\x7f\xab\xfb\xfb\x5f\xc1\x8c\x32\x2c\x70\x4a\x14\x11\xc5\x8e\x9b\xff\xab\xcc\x45\xef\x91\xee\xbc\xd8\xc7\xea\xc0\x2b\xb3\xbd\xc2\x29\xd1\x7b\xa2\x77\xca\x7e\x01\x7f\x0b\x22\x79\x2e\x22\x82\x26\x24\xe1\x6c\x26\x91\xe2\x4b\x6b\x40\xa1\x05\x4d\x5e\xd5\x27\x82\xfc\x23\xa7\x82\xe8\xbd\x52\x22\x27\x95\xa7\x6a\x91\xc1\x20\xa5\x12\x94\xcd\xc2\xa5\xf8\x57\xaf\xd5\xd4\x0c\x55\x6e\x30\x33\xf3\x41\xe3\xc4\x46\xac\xef\x5e\x89\x30\x43\x13\x82\xf4\x59\xa4\x31\x11\x24\x46\x58\x22\x8c\x64\x3e\x91\x44\xa1\x67\xaa\xe6\x94\xe9\x7f\x67\x24\xa2\x53\x1a\xb9\x35\x3b\x9c\xb5\x81\x3f\x57\xaf\xcc\x83\x24\x42\x0f\xfc\x89\xc6\x24\x46\x4f\x38\xc9\x09\x9a\x72\x51\x5a\x9e\xe3\x11\xbb\x9f\xeb\x75\x48\x27\x94\xc1\xc9\xd3\x6b\xe9\x28\xe4\xf7\x6e\xb9\x7e\x8f\x74\x7f\x28\x67\xf4\x1f\x39\x49\x16\x88\xc6\x84\x29\x3a\xa5\x44\x56\x5b\xfb\x3d\x87\xfe\x71\x82\x8e\x90\x5e\x67\x22\x14\xac\x37\x67\x8a\x7c\x56\x12\x1d\xa1\x84\x3e\x12\xf4\xd5\x05\x95\x0a\xf5\x6f\x86\x5f\xf5\xd0\x57\xe6\xbc\x20\xe0\x4d\x5f\xbd\xc2\x0a\xfb\xbf\xff\x16\x1c\x3d\x85\x67\xd5\x43\xf7\xa1\xaf\x4f\xf3\x9d\xb9\x1a\x8a\x16\xfe\xf6\x6f\x61\x3b\x76\xbf\x56\xf3\xdb\x82\xd9\x5a\x4e\xdb\x96\xbf\xc2\x32\x95\x59\xab\xd4\x3b\xb4\x2b\x67\xd5\xed\x56\x59\xab\x7c\x5f\xbc\x55\x4f\xe1\xa5\xf9\xeb\x2e\xcc\x15\x2b\xa0\x7a\x4c\x99\x39\x24\xfe\xcc\x08\xa9\xcf\x89\xa3\xde\x03\x61\x29\xbb\xf0\xda\x60\x66\x01\xbb\x75\x5c\x34\x58\x95\x03\x9c\x77\x42\x53\xba\x6e\x7f\x87\x2c\xd6\x22\x97\x65\x76\x2c\x4f\x27\x44\xe8\x65\x70\x6c\x0f\x66\x3b\xd1\x6c\x50\xe5\x82\x91\xb8\xc5\x34\xff\x91\x13\xb1\x58\x31\xcf\x29\x4e\x64\xd3\x44\x29\x53\x44\xcb\xb7\x95\xc7\x53\x2e\x52\xac\xec\x0b\x7f\xfe\x8f\x4d\x17\x42\xf1\x47\xb2\x6e\xff\x87\x66\x37\x23\x2c\x81\x0c\xd2\x3c\x51\x34\x4b\x08\xca\xf0\x8c\x48\xbb\x22\x79\xa2\x64\x0f\x5e\xd3\x32\x35\x11\x47\xfe\x06\x82\x1e\xdc\xcd\x9b\x4b\xf8\x05\x4d\xbd\x00\xc9\xc8\x67\x05\x2d\x8d\x18\xdc\xbd\xb0\x44\xe1\x8d\xf2\x02\x4b\xb9\x1d\xcd\x48\x2e\xd4\x78\xb2\x38\x7e\x24\x4b\xfd\x36\x52\x0e\x66\x08\x2b\x25\xe8\x24\x57\x44\xcf\x5b\xb7\xe1\xee\x4e\x60\x8f\xe6\x82\x6e\xc3\x1a\xde\x6e\xc2\x31\x15\x24\x82\xb9\x6d\x72\x60\xfc\x57\x7a\xde\x5a\x7f\x59\x98\xd9\x3f\x92\x05\xc8\x23\x35\x2b\xe0\xb7\x7c\xc4\x46\x0c\x1d\xa1\xf3\xc1\xdd\xd9\xe0\xea\x7c\x78\xf5\xe9\x14\x7d\xb7\x40\x31\x99\xe2\x3c\x51\x3d\x34\xa5\x24\x89\x25\xc2\x82\x40\x93\x24\xd6\x32\x87\x1e\x0c\x61\x31\x65\x33\xc4\x45\x4c\xc4\xcb\x2d\x63\xe5\x29\x61\x79\x5a\xb9\x57\xe0\xf7\x62\xf4\x95\x2f\xb4\x88\xe1\x1f\x95\x9e\xfc\x6d\x69\x81\x61\xc6\xba\xef\xa0\xb5\x57\x13\x6a\xa2\x39\x4d\x62\x41\xd8\x89\xc2\xf2\x71\x4c\x3e\x93\x28\x37\x77\xf2\x3f\xcb\x3f\x8c\xb5\x64\xca\x63\x52\xfe\xa5\xf4\x8f\x42\x14\xda\xf8\x53\xaf\xa5\x6e\xfc\x25\xe8\xb4\xed\xbe\x83\x5f\x68\x5c\xfb\x36\xfc\xb2\x66\x0e\xee\x9d\x15\x83\x75\xaf\x34\x8e\xca\xbd\x60\x25\xbe\xda\x77\x04\x51\x62\x31\xc6\x4a\x91\x34\x53\x1b\xea\xeb\x18\x25\x5a\xae\x5c\x25\x47\x5e\xf1\x98\x0c\x5c\x7f\xbf\x20\x23\xce\x92\x18\x4d\x16\x96\x6b\x4d\x89\x20\x2c\x22\xcd\x2d\xdc\x63\xf9\x58\xb4\xb0\x4e\x18\x2d\xf5\x27\x3f\x72\xa1\x3f\x7f\x0f\x02\x69\x69\xe0\xaf\x21\x93\x6e\x7b\xe2\xbe\x38\x0b\xc1\x96\xfc\xa3\xb3\x27\xec\xbe\x92\x6d\xad\x0f\x5c\x20\xb9\x90\x8a\xa4\x6b\xed\x10\xef\x67\x21\xec\x05\x71\xa8\x03\xae\xdc\x51\xbf\x81\x53\x5f\xbe\x71\xbb\xe3\xbd\xc1\x92\xed\xcb\x8a\x78\xe8\xf3\x74\x3e\x9c\xd5\x53\xbd\x73\xdb\x17\x38\x31\xde\xc5\x34\x4b\xb2\xe0\xbe\x07\xf9\x42\xe6\x86\xc6\xbd\x72\xab\x3d\x86\x01\xac\x51\x34\xcb\x76\x68\x7f\xfe\xf4\xa7\xa1\x85\xc6\x98\xe3\xd4\x9c\xca\xc0\x58\x85\x22\x2e\x8c\x2c\x18\xdb\xf3\x6e\x74\xcd\xfe\x7d\xff\x6e\x70\x7f\x8a\xfa\x28\xc6\x0a\xeb\x03\x2e\x48\x26\x88\x24\x4c\x81\x1e\xaf\xbf\x57\x0b\x94\xf2\x98\x24\x46\xe3\xfc\xa8\x25\x5f\x74\x8e\x15\x3e\xc3\x0a\x27\x7c\x76\x8c\xfa\xf0\x4f\xfd\x31\x95\x08\x27\x92\x23\xec\xc8\x8a\xc4\xae\x09\xcc\x62\xc7\x5a\x30\x8a\x78\x9a\xd1\xc4\xdb\xe0\xbd\x71\x85\xb2\x98\x3e\xd1\x38\xc7\x09\xe2\x13\xcd\x55\xb4\x86\x3c\x78\x22\x4c\xe5\x38\x49\x16\x08\x27\x09\xb2\xdd\xba\x17\x90\x9c\xf3\x3c\x89\x75\xbb\x6e\x94\x92\xa6\x34\xc1\x42\xab\xe0\x66\xb4\xd7\xb6\x2d\x74\x3f\x27\x7e\xac\x30\x2e\xbd\x9a\x29\x7e\x24\x12\x51\x85\x32\x2e\x25\x9d\x24\xc5\x99\x7f\x18\x22\x18\xf7\xd9\xc5\x10\xf4\xf9\x48\x21\x6e\x78\xa8\xeb\xdc\xda\x6f\x5c\x8f\x29\x66\x8c\x40\xc7\x5c\xcd\x89\xb0\xdd\xdb\x97\xdf\x5a\x35\x7f\xb8\xba\xbb\x19\x9c\x0d\x3f\x0e\x07\xe7\xcb\xba\xf9\x7d\xff\xee\x87\xe5\x5f\x7f\xba\xbe\xfd\xe1\xe3\xc5\xf5\x4f\xcb\x4f\x2e\xfa\x0f\x57\x67\xdf\x8f\x6f\x2e\xfa\x57\xcb\x0f\x2d\x59\xb5\x56\xf3\xc3\x91\x6d\x78\xb6\x3a\x9b\xe6\x4b\xd9\x34\x7b\x5f\xae\x51\x73\x4a\x13\xd0\x41\x5b\x1b\x34\xbd\x0d\xc1\x7e\x89\x32\x2c\xa5\x91\x8c\xcc\x08\x8e\x47\xec\x92\x0b\xcd\xc0\xa6\x5c\xf3\x08\x2d\x3d\x29\x91\x47\x8a\xb2\x99\xff\xe8\x14\x8d\xf2\x6f\xbf\xfd\x53\x74\x41\xd9\x23\xfc\x45\x0e\x71\x71\x3a\x8b\x6f\x67\xf1\xfd\x6d\x59\x7c\xb5\xe8\x73\x12\x1a\x7a\xf7\x1b\x32\xa4\x85\x0b\x96\xe5\x0a\x44\x09\x9e\x2b\xfd\xa7\xee\x12\xc8\x63\x45\xe0\x50\x3b\x83\xe2\x27\xa2\xfc\x8b\x5a\xb4\x79\x0f\x76\xc4\x9f\xb8\x78\x9c\x26\xfc\xd9\x0f\xfc\x13\x51\x7a\xec\xb7\xb6\x97\x2e\x94\xa8\x0b\x25\x7a\xdb\x50\xa2\x83\x32\xe6\xbd\x3c\xf3\x2b\x5b\xfe\x0c\x07\x6c\xf0\x64\x35\x3a\xaa\x1a\xfc\x50\x81\x9b\xe9\x55\xb8\x66\xd9\x99\xb3\x86\x73\x96\x5e\x7e\x2f\xdc\xb3\x34\xe8\xd7\xe7\x9c\xbf\x09\x7f\x4b\xe7\x4e\xd9\x72\xa1\xde\x25\x83\x6d\x79\x77\xbc\x9a\x33\xe4\xe5\x19\xfe\x52\x6c\xc3\x26\xc1\x0c\x1b\x44\x2f\xb4\x0e\x57\x58\x13\x9f\x50\x1b\x90\x50\x17\x81\xb0\x1c\x72\x50\x1b\x63\xb0\x5b\x50\xc1\xb6\x77\x53\xfb\x30\x81\x4f\x44\x95\x5e\x7e\x2f\x77\x53\x69\xd0\xaf\x7f\x37\xfd\x46\xa3\x03\xba\x70\x80\x17\x5c\xba\x2f\xfd\x46\x3b\x5c\x87\xff\x6f\xc0\xc3\xdf\xb9\xf4\x37\x5a\xa3\x2f\xcb\x87\xff\xa5\x3a\xed\xdf\xa7\x97\xbe\x73\xcb\x77\x6e\xf9\xb7\xf0\x9f\xbc\x3f\xb7\xfc\xcb\xaa\xa7\xc5\xf1\x1a\x3b\x5a\xb0\xfa\x5a\x70\x28\xff\xd5\xc2\x49\x03\x7f\x39\x95\x6f\xd3\xa0\xf1\x46\x1d\xee\xbc\x18\xdf\x00\x8e\xd0\x2f\x96\x90\xd6\xa8\x73\x4b\xdf\xbd\x07\x75\x6e\x79\xd0\x2f\xaf\xc3\xbd\x19\xf3\x7d\xa1\xcb\xf3\x9d\xb0\x81\xcd\x6f\xcb\x2f\x58\x26\xef\x64\xf1\x97\xcf\xc6\x3f\x98\x09\xbd\x1f\xd9\xfb\x0d\x2e\xde\x96\xb7\xee\xde\x73\xb2\x6a\xae\xd9\xe0\x76\x5a\x97\x61\x55\xfd\x9a\x12\xf9\xc7\x77\x79\xdf\xbe\x46\x92\x55\x77\xe1\x76\x17\xae\x6d\xaa\xbb\x70\xbf\xe0\x0b\xf7\xe0\xe0\x6f\x0e\x26\x02\xb4\x0b\x22\xef\x80\x31\xba\x18\xf2\x3d\x2e\x4e\x17\x43\xde\xc5\x90\xff\xc6\x62\xc8\x77\xd1\x9e\xb6\xc5\xa2\x7c\x0b\x3d\xaa\x53\xa3\x3a\x35\x2a\xfc\xbd\x53\xa3\x3a\x35\xaa\x53\xa3\xbe\x70\x14\xd1\x4e\x87\x6a\xbf\x10\x9d\x0e\xd5\x7a\xa9\x3a\x1d\x6a\xc5\xe2\x74\x3a\x54\xa7\x43\xfd\xb6\x74\x28\xf2\x44\x98\x92\x90\x8c\x16\x6a\x14\x1f\x32\x2e\x9b\x35\xa1\x90\x3b\xd4\x68\x41\xd0\x66\x39\x29\x0c\x02\x97\x7e\x41\x73\x2c\x11\x8f\xa2\x5c\x54\xce\x40\x55\x0f\x3a\x13\x04\x2b\x02\x2d\xe8\x0f\xdf\x83\xfe\xb3\x3c\xdd\xd7\x8a\xc1\x9f\xf0\x78\x89\xda\xcd\x41\xa8\x7b\xb2\x5a\x1e\xd9\xdb\xd4\xff\x91\x93\x76\xea\xdf\x0b\x12\xb5\xc2\xf2\x71\xcf\x44\x5d\xca\xb5\xd8\x8a\xa8\xa1\x85\xf7\x42\xd4\xcb\xd3\xfd\xcd\x10\x75\xdd\xd4\x0f\x81\xa8\x9f\x6d\x1e\xff\x9e\x09\x7b\x09\x1e\x60\x2b\xe2\xf6\xad\xbc\x17\x02\xaf\x9f\xf6\x6f\x86\xc8\x9b\xa6\xff\xb6\x84\xee\x53\x24\x5b\x93\xf8\xbd\xa0\xb3\x99\x56\x33\x40\xc3\xd3\xa4\xb8\xbe\x46\x50\x91\x14\xb8\x96\xac\xfd\xab\xef\x81\xa4\xfd\x60\xcd\xd8\x7f\x33\xb4\xbc\x34\xef\x03\x21\xe2\x13\x41\x22\xfe\x04\xf5\xc2\xda\x11\xf3\x2d\x01\x0a\x06\x7e\x9d\x09\xf2\x44\x79\x2e\x93\xc5\x91\xc8\x19\x72\xcc\x1f\xf9\xe6\x8d\xb5\xfa\x99\x26\x09\xe2\x4c\xeb\x5f\x0a\x0b\xe5\x1e\x6b\xfd\x5b\xf0\x14\x4e\x45\x82\xa5\x42\x8f\x8c\x3f\x33\x34\xc5\x34\xc9\x05\x41\x19\xa7\x4c\x1d\x8f\xd8\x90\xa1\x5b\x33\x46\xc8\x1b\xe8\xa1\x5c\xea\xb3\x14\x61\xc6\xb8\x42\xd1\x1c\xb3\x19\x41\x98\x2d\x6c\x02\x6e\x41\x19\x88\x0b\x94\x67\x31\xd6\x8a\xef\x9c\x54\xa3\xf4\xfc\x18\xc1\x7c\x47\x25\xa2\x12\x91\xcf\x4a\x90\x94\x24\x0b\xdd\x87\xa6\x7d\xc5\x91\x5d\x1f\x33\x54\x9b\xce\x47\x84\xe0\x42\x42\xc6\xc1\x64\xf1\x2b\x66\x8a\x32\x82\x40\x51\x92\xc6\x34\x77\x84\x2e\xb8\x04\xb3\xcd\x0f\x7f\x91\x28\x4a\x72\xa9\x88\xe8\xa1\x49\x3e\x93\x5a\x53\xcc\x12\xac\xa6\x5c\xa4\x7a\x84\x94\x49\x85\x27\x34\xa1\x6a\xd1\x43\x29\x8e\xe6\xa6\x2d\x58\x03\xd9\x1b\xb1\x98\x3f\x33\xa9\x04\xc1\xbe\x77\xf7\x10\x7d\x1d\x3e\x33\x04\x20\xbf\xe9\x41\xda\x21\x4d\xb5\xba\x1b\x0c\xbf\xd8\x71\xb3\x27\xba\x11\x12\xa3\x09\x89\x70\x2e\xad\x87\x41\x89\x05\x22\x9f\xe7\x38\x97\xb0\x77\x7a\x7a\x36\x67\x23\xe2\x69\x96\x10\x45\x10\x9d\x22\x25\x28\x89\x11\x9e\x61\xaa\x97\xee\x8e\xac\x00\x41\xf7\x44\x6f\x37\xd0\x52\xfd\x2f\xa0\x7e\xa7\x5c\x10\x14\x13\x85\x69\xb2\xd2\xeb\x64\xbf\xed\xb8\xdc\x7b\xe2\x72\xe5\x0d\x3f\x08\x36\x67\x40\xfc\xf7\x70\x69\x33\x6b\xba\x8f\x70\xb2\xe3\xfd\x7d\x6b\x07\xd5\xd1\xf6\xfb\xa2\x6d\xb3\x6b\x87\x43\xdc\xaf\x16\x83\xdd\xbe\xa2\x45\x51\xcd\xe2\x5d\xd1\xf4\x6b\x84\x05\x74\x0e\xe7\xce\xe1\xdc\xb8\x32\xef\xd3\xe1\x7c\x30\x1e\xa3\xce\xe7\xfc\x42\x3e\x67\x2a\x3b\xa7\x73\xe7\x74\x6e\xbb\x40\x9d\xd3\xb9\x73\x3a\xbf\x5f\xa7\xf3\x4b\xe2\x3e\xef\x15\xdd\xf9\x5d\x89\xd6\x9d\x58\xdd\x89\xd5\x1d\x84\xb3\x9f\xda\xbe\x58\x98\xfb\xfa\x43\x4c\x12\xa2\x48\xb3\x3d\x8b\x88\x54\x6b\x0b\xe6\x7a\xa6\x4c\xcb\x71\x33\x41\xa4\xdc\x95\x21\xf9\x86\xdf\x27\x5b\xf2\xc3\xef\xa0\xe6\x3b\x3e\xd5\xf1\xa9\x6d\xa6\x76\x38\xa6\xd9\xe0\x30\xbf\x96\x6d\xd6\xf3\xdf\x2c\x6f\x96\xfe\x1e\x8c\x1b\xb2\xf0\x8b\x1a\x0a\xd7\x52\xbb\xe2\xfe\x70\x5b\x3a\xdf\x91\x1f\x9b\xbe\xde\x27\x33\x36\x63\xef\x38\x71\xc7\x89\x3b\x4e\xfc\xbe\x39\xb1\x3b\xc9\x6f\xea\x22\x33\x7e\xba\x71\x96\x60\x36\xa6\xb1\x3c\xf9\x67\xa1\xcb\xbf\x94\x87\x4c\x1f\xa8\xd8\xa4\x98\xfa\x94\x4e\xf1\x8b\xfe\x24\x29\x0c\xe6\x1e\x33\x73\x8d\x13\xcd\xd8\xd8\x6f\x12\xcc\x86\xf1\xbb\xf0\xa3\xd5\xce\xfe\x35\x7c\x6a\xbb\xf0\x71\xac\xc0\xd3\x81\x29\x33\x26\xbc\x22\xaf\xb6\x64\xa0\x3c\x8c\x13\xbe\x0b\x57\x0f\x26\x16\x30\x76\xc7\xaf\x83\x45\x39\xbc\x69\x77\x7e\x9d\x2e\x97\xb0\xf3\x5c\xb4\x9c\x70\xe7\xb9\x38\x5c\xcf\xc5\x5b\xb9\x23\x5f\xf9\x78\xbe\x96\x58\xd7\x3e\x08\xdf\x44\xab\x41\x50\x6b\x9e\x25\x1c\xc7\xab\x5c\x31\x85\xe0\x15\x82\xa3\xac\x8d\xc4\x2f\x3e\x7b\x0f\xc2\x5a\x31\xda\xdf\x58\x24\xdf\xf2\xc4\x0f\x45\x4b\x79\xc5\x50\xbe\x7a\x12\xdf\x40\x25\x79\x1f\xf8\xa9\xc5\x78\xbb\xd0\xbe\xce\xa2\xf4\xf6\x16\xa5\x2e\xb4\xaf\x53\x01\x0f\x4c\x05\xec\x42\xfb\xba\xd0\xbe\x4e\x41\x5e\x3d\xed\x4e\x41\xfe\x22\x42\xfb\x5a\x89\xda\x2f\x88\xbd\xb9\xbb\xd0\xdd\xc9\xdc\xee\xbd\x4e\xe6\xee\x64\xee\x2f\x54\xe6\x3e\x8c\x15\xee\x04\xee\x4e\xe0\xee\x04\xee\x4e\xe0\xee\x04\xee\xbd\x2f\x63\x27\x70\xbf\x66\x81\xce\x7a\xa9\x7b\x4d\x92\xcd\x7b\xf5\xe5\x74\xe2\x76\x27\x6e\x1f\xb6\xb8\x7d\x30\x13\x7a\x3f\x65\x1e\xdb\xcd\xa7\x2b\x52\xde\x15\x29\xef\x8a\x94\xbf\x78\x91\x72\xf7\x75\x8b\x8c\x0f\x7b\xb8\x14\x56\xb9\x34\x80\x8f\x82\xcc\xa8\x54\xc0\xfe\xdb\xc8\x2b\xeb\x13\x3d\xde\xab\x9c\xd2\xa5\x7a\xf8\xa7\x9d\xd4\xd2\x49\x2d\xbf\x51\xa9\xe5\x80\x62\xc1\x0e\x22\x63\x25\xc5\x2a\x9a\xe3\x49\x42\xc6\xde\xe8\x23\xdb\xea\xc1\x17\x54\x2a\x89\xa2\x5c\x2a\x9e\x36\x5f\x2e\x97\xae\x87\xbe\xef\xe0\x8c\xb3\x29\x9d\xe5\xe6\x6e\x31\xe0\x9c\xc1\x89\x2e\x24\xc1\x45\x46\xd6\x79\xaa\x6a\x5a\x7f\x17\xd7\x52\xfd\xd0\x5f\xeb\x76\xda\x44\x70\x2f\x8c\x7c\x56\xea\xd6\xb2\xd6\xf8\x76\x70\x77\xfd\x70\x7b\x36\x38\x45\xfd\x2c\x4b\xa8\xb1\xbb\x1b\x52\xa0\xbf\xea\x49\x21\x85\xe5\x63\xb1\x97\xc2\x90\xb9\xc1\xb0\x05\x43\xbf\x96\x8d\xd1\x11\x3a\xbb\x78\xb8\xbb\x1f\xdc\x36\x34\x68\x09\x05\xf2\x56\x49\x9a\x25\x58\x91\x18\x3d\xe6\x13\x22\x18\xd1\xd2\x8e\x45\xba\x2d\xcc\xff\xa6\xd1\xc1\x7f\x0f\xce\x1e\xee\x87\xd7\x57\xe3\xbf\x3e\x0c\x1e\x06\xa7\xc8\x51\x9c\x6e\x56\x8f\x4b\x8f\x22\x5e\x30\x9c\x6a\x0d\x44\xff\x50\x64\xca\xfe\x23\x27\x39\x41\x58\x4a\x3a\x63\x29\x01\x44\xe0\x52\x8b\x6e\xc0\x17\xfd\xef\x06\x17\xe5\x96\xe7\x24\x84\xdf\x45\x09\x9e\x90\xc4\xfa\x23\xc0\xc4\xae\x09\x3d\x80\x2a\x36\x8e\x8a\xdc\xac\xea\x5f\x1f\xfa\x17\xc3\xfb\x9f\xc7\xd7\x1f\xc7\x77\x83\xdb\x1f\x87\x67\x83\xb1\x95\x2a\xcf\xfa\xba\xdf\x52\x4f\x56\xf8\x44\xff\xc8\x71\xa2\xb5\x13\x3e\x75\x78\xbc\xe8\x79\x4e\x18\xca\x19\x50\x9c\x51\x79\xb4\x1e\xe4\x3b\xd5\xa7\xcc\xcc\xe8\xe6\xe2\xe1\xd3\xf0\x6a\x7c\xfd\xe3\xe0\xf6\x76\x78\x3e\x38\x45\x77\x24\x01\xa5\xc0\x2d\x3a\xec\x62\x96\xe4\x33\xca\x10\x4d\xb3\x84\xe8\xd5\xc0\x36\x9b\x78\x8e\x9f\x28\x17\xf6\xe8\xce\xe8\x13\x61\x66\x1d\xe1\xcc\x42\xfb\x4e\xf8\x1e\x07\x4b\x77\x7d\xf5\x71\xf8\xe9\x14\xf5\xe3\xd8\xcf\x41\x42\x1b\x25\xca\x71\xb0\xce\x47\xe5\x61\x6b\xe6\x00\xdd\x1b\x22\xe2\x4f\x44\x08\x1a\x93\x0a\x1d\xf5\xef\xee\x86\x9f\xae\x2e\x07\x57\xf7\xb0\x62\x4a\xf0\x44\xa2\x39\x7f\x06\x53\x36\xcc\x10\x2c\xdc\x4f\x98\x26\xd0\x99\xdb\x2c\xce\xd0\xf3\x9c\x82\xfb\x03\x80\x99\x7d\xcf\x46\x3f\x13\x39\x7b\x73\xeb\x6c\xe9\xe0\x2d\xab\x2d\xd5\x93\xb4\xfc\x46\xe5\x58\xac\x7a\xa1\x44\xe5\xcb\x2f\xae\xa3\xd6\xe5\x2f\x2a\xe4\xd6\xac\xac\x2d\xd1\x4b\xf3\x4c\x8b\xbd\x6e\xad\xab\x95\xd7\xf0\xf5\xae\x59\xa2\x04\x8d\xe4\xcb\x42\x3d\x89\x9c\x29\x9a\x12\x64\x3b\xb3\x87\x73\x8f\xf0\x4f\x97\xa6\xe1\xf7\x70\xc1\x2e\x95\x72\xf8\x44\x94\x1d\x7e\xa7\x02\x76\x2a\xe0\x61\xa8\x80\xef\x2d\xdb\x3f\x26\xd9\x72\x87\x95\x89\xc1\x3b\xc6\xeb\xb5\x14\xa4\x61\xec\x89\xd6\xa2\x9a\x90\x27\x92\x80\x94\xa7\x04\xd6\x4a\xa3\x95\x5d\x26\x82\xe0\x47\x2d\xf0\xc5\xfc\x39\x94\x5c\x6a\x90\xfb\xd1\x7e\x6e\xe1\x36\x41\x1c\x7f\xfa\xe3\xeb\x5d\x16\x7a\xb9\xe3\xd7\x28\xe1\x7d\x0b\x41\x32\x2b\x31\x02\x83\x04\xfb\x5f\xac\x25\x78\xcd\x6d\x11\x7c\xf1\x1e\x2e\x8a\x70\xb8\x07\xa4\x75\xdd\x86\x4a\xb0\x63\xa1\x29\x51\x38\xc6\x0a\xeb\x43\x33\x23\xea\x18\x5d\x33\x78\x76\x8f\xe5\x63\x0f\xb9\x2b\x4f\xb3\x95\xc2\xca\xf0\x0a\xa9\xf5\xef\xc4\x80\xbf\x39\x1f\xef\xae\xef\xee\xfa\xae\x5f\x99\x2e\xcc\xb3\x61\x85\xf7\x75\x31\x6e\xe4\xf3\xda\xdf\xfd\x65\x5a\x7c\xbf\x57\xd8\xeb\x3a\xb9\xf6\x7a\xa1\x99\xca\x59\xdd\x6d\x65\xfe\xaf\xbb\xad\xba\xdb\xaa\xbb\xad\x0e\x60\x85\xdf\xdc\x61\x58\xc3\xdd\xdf\xd4\x63\xb8\x4e\x3b\xdd\x1a\xf2\xae\xd0\x46\x37\x01\xbd\xfb\xa5\x2d\xb6\x5d\xf1\x0d\x7d\x1f\x3e\xc2\x60\x92\xaf\x91\xd6\xb6\xd7\xcb\xdc\xe4\x8b\x74\xfa\xe9\x0b\xde\xf8\x1d\x02\xe1\x5e\x11\x08\x0f\x63\xae\x2f\x92\x02\xf7\x36\x16\xd3\xb7\x4f\x7b\xeb\xa0\x06\xbb\xc4\xae\x2e\xb1\x0b\x7e\xef\xa0\x06\xf7\x47\xad\x2f\x2b\x5d\xf3\x98\x8c\x2b\x51\x02\xfe\x9f\xe3\xaa\xe7\xa7\xf4\x24\x74\x03\x95\x1e\x14\x99\x6e\xd0\x3a\x8d\xf7\x59\x44\xea\x8a\xc7\xa4\x75\x24\x41\xe9\xe5\x03\x97\xc1\xdd\x3c\x8d\x2c\x5e\x1a\xf8\x0b\x4b\xe2\x0d\x5b\xfe\x25\x1a\x76\x6a\x08\xb8\xb3\xf2\xac\x5d\xa8\x2f\x35\xbe\xa0\xe0\x50\xef\xc8\x53\xd1\x8e\x8d\xbb\x98\xc6\x71\x03\x33\xaf\x7f\xee\x59\x7a\xfd\xe3\x97\xc1\x0c\x6a\xcf\xd1\xc1\xac\x12\xbe\xfd\x3e\xec\x2a\xe1\x88\x5f\xc3\xb2\xb2\x72\xef\xbf\x38\xae\xbe\x8a\x92\x3b\xde\xde\x72\xb9\xbe\x54\x0e\xdf\x41\xfc\xac\xb2\x75\x74\x18\x3a\x9d\xa9\xe5\x70\x26\xdc\x99\x5a\xde\xb5\xa9\xc5\xb8\x68\xc7\x19\x16\x84\xa9\x1a\x91\xba\x7a\x9d\xc0\xeb\x21\xe6\x82\x93\x3a\xa0\x01\xa4\x25\x5a\x64\x2f\x64\x7f\x55\x7d\x59\xb6\x17\x2b\x18\x04\x99\x90\x27\xff\x2c\xfe\xf6\xc2\x7a\xa9\x02\xc4\x8a\xe8\x24\x83\xf5\x2f\xf5\x1d\x9d\xdb\x40\xa5\xdd\x73\x25\xb1\x2a\x89\x82\x10\x44\xbd\x36\x9e\xe9\xc6\xbc\xfd\xbe\x52\x24\x97\x06\xfd\xba\xb1\x4d\xcb\x1b\xdf\xee\x00\xb9\x9d\xa1\x26\xdd\x2f\xc8\x29\xd3\xd2\x28\x9f\x16\x17\x83\x44\xcf\x34\x49\x00\x51\x04\x32\x1e\x9b\x6e\x80\xdf\x5c\xc4\x43\xe3\xce\xbf\x69\xdc\x43\x1d\x77\xa8\x63\x09\x6d\xec\xa9\xfb\xca\x99\x76\xc4\x06\xe9\xac\xa0\x0d\xad\x31\xc0\x7e\x19\x9c\xe0\x13\x51\xaf\xc5\x06\xb6\x3d\xfb\x2b\xcf\xbd\x20\x53\x22\x08\x8b\xc8\x01\x7a\xdb\x37\x09\x03\xf9\xc9\x4c\xd2\xc6\x80\x78\x28\x81\x70\xaa\x8a\x5b\x3d\xad\x24\xea\x76\x99\xe4\x5d\x26\x79\x97\x49\x5e\x3d\xea\x5d\x26\x79\x97\x49\x5e\x9b\x03\x11\x93\x84\x28\xd2\x28\x55\x9c\xc3\xe3\xb7\x92\x2a\x4c\xef\x5f\x86\x60\x61\xe6\xd2\xc9\x16\xbf\x19\xcd\xc2\x6d\xf8\x41\x68\x16\xe6\xac\xad\x33\x3f\x94\x7e\xac\x09\xb1\x7e\x75\x93\xc4\x36\x4c\xa3\x64\x97\x38\x87\xd7\xdf\x25\xeb\xa8\x0e\xbd\xb3\x51\xa0\x60\xeb\x5e\x8e\x93\x2c\x1d\x81\x76\x13\xb7\x1e\xc3\xf7\x3b\xef\x43\xe1\xa0\x4d\x74\x7f\xa8\x7c\x74\xeb\xa4\x94\x43\xb1\xd8\x7c\x41\x3c\xb2\xb3\xde\xbc\x71\xae\xc4\x12\x33\x7c\xb7\xd3\xed\x8c\x55\x9d\xb1\xaa\x33\x56\x75\xc6\xaa\xce\x58\x85\x3a\x63\xd5\xc6\xc6\xaa\x2f\x48\xa6\xea\x0c\x57\x9d\x58\xb5\xbf\xe9\x1e\xaa\x96\x79\x48\xd6\xba\xd6\x28\xe9\x45\x0e\xd5\xda\xc8\x7b\x3b\xed\x5f\xd6\x84\xdc\xdf\xb8\x11\xbc\x1f\x7e\x25\x5f\x9a\x25\xed\x12\x58\xec\x76\xf4\x8b\x8d\x2b\xee\x4a\x87\xd6\xae\x55\x17\xf6\xbc\x62\x71\xba\xb0\xe7\x2e\xec\xf9\xe0\xc2\x9e\xf7\xae\xac\x64\x5c\xae\x02\x24\x32\xa5\xb3\x56\xe6\x3f\xbb\x3b\x1b\x12\x8d\x80\x14\x0c\xca\x71\x4c\xb2\x84\x2f\xc0\x92\xb2\xe2\x3a\x77\x5d\xdc\x2c\x49\xd4\x87\x7e\xa3\xbb\x91\xbf\x96\xce\x71\x28\x32\x69\x31\xef\x83\x90\x42\x4f\xfe\x59\x49\xe7\x6f\x85\x97\xc9\x10\xf9\x4c\x25\xdc\x4a\xeb\x09\x7b\xc4\xea\x9f\x04\xa5\x0b\xed\x3d\x38\xc9\x55\x90\xbb\x27\xb5\x60\x95\x11\xa1\x16\xc1\x9b\x24\xcd\xd4\xe2\xbf\x46\x8c\x2a\xef\x61\xa3\x33\xc6\x85\xe1\x6a\xfa\xe3\x39\x66\x71\x42\x84\xbe\x54\x5d\x3b\x11\x66\x8c\x2b\x10\x37\x60\x06\x31\x7a\xa2\xd8\x08\x27\xfd\x9b\x61\x6b\x3f\xf3\x3b\x3a\x5d\xaf\x5d\xac\x6e\xcd\x5d\xf7\x29\xe1\x13\xa8\x60\x99\x97\x75\x7a\xdd\x40\xe7\x19\x2d\xed\xdc\x5b\x31\x04\x85\xe5\x63\x15\x38\xa4\x9c\x85\x3e\x5e\x09\x25\xb2\xe6\xdd\x12\xc6\xfc\xea\x57\x2b\x70\x23\xe5\x67\x16\x80\x04\x1e\xc3\x90\xab\xe3\x70\x3f\x86\x1d\xba\xdf\x8a\x96\xdd\x2f\xae\x74\x37\xfc\x28\x88\x12\x8b\x31\x56\x4a\x33\x99\x7d\x62\x9c\xdc\x63\xf9\xd8\x1a\xe3\xa4\xf4\xf2\x81\xb3\x9c\x12\xc6\x49\x79\xe0\x2f\xce\x72\x5a\x52\xe7\x1a\xce\xf4\xfe\xf2\xe3\xdb\x9e\xb5\x0d\x26\xfe\x5b\xc9\x95\x6f\xc7\x7b\xd6\x99\x69\xdf\x63\xde\xfc\x2a\x66\x7a\x30\x23\xac\xf0\xf3\x2f\xf1\xe4\x96\x6f\xa7\xee\x88\xae\x5a\xa3\x2f\xae\x10\x6e\x45\xe8\x58\x33\xb7\x77\x52\x10\xb7\x2a\x37\xed\x7b\x54\x2f\x63\xe6\x0e\x76\x63\x93\x18\xa0\x61\x19\xad\xdc\x9f\x21\x17\x15\x54\x94\x9e\x9d\x43\xa2\x35\x95\x61\x42\x7c\xc4\x85\x91\xbc\x62\x7b\x66\x8d\xd9\xce\x80\xf9\x9e\xa2\x3e\x8a\x6d\x6d\x7e\x41\x32\x41\x24\x61\xca\xa8\xda\xa6\xde\x95\x2b\xef\x4f\x99\xb5\x10\x9d\x63\x85\xcf\xb0\xc2\x09\x9f\x1d\xa3\xbe\x2f\xec\x4f\x25\xc2\x89\xe4\x08\x3b\xc2\x21\xb1\x6b\x02\xb3\xd8\xb1\x07\x8c\x22\x9e\x66\x34\xf1\x48\xed\xde\x8a\x4f\x59\x4c\x9f\x68\x9c\xe3\xc4\x23\x63\x8f\xd8\xe0\x89\x30\x95\x83\x0a\x87\x93\x04\xd9\x6e\xdd\x0b\x81\x7e\xee\x46\x29\x69\x4a\x13\x2c\x90\xe2\x76\xb4\xd7\xb6\x2d\x74\x3f\x27\x7e\xac\x0e\x05\x1c\xa5\xf8\x91\x48\x44\x15\xca\xb8\x94\x74\x92\x14\xc7\xf8\x61\x88\x60\xdc\x67\x17\x43\x30\x8d\x46\x0a\x71\xc3\x07\x5d\xe7\xd6\x4f\xe0\x7a\x4c\x31\x63\x04\x3a\xe6\x6a\x4e\x84\xed\xde\xbe\xfc\xd6\x56\xce\xb7\xc6\x88\x6e\xb6\x98\x86\x23\x7b\x3b\xa5\xb3\xb5\xc6\xd9\x56\xdd\x6c\xa7\x6b\x36\x2b\x9a\x2f\xe0\xa5\x6d\xaf\x0d\x5e\x50\x59\x56\x07\xdf\x85\xcb\xb6\x34\xe2\xd7\xc0\x47\xfb\x8d\x2a\x82\x9d\x16\xf8\x22\xeb\xf6\xa5\xaa\x80\x07\xae\xff\x75\xc8\x6e\x1d\x8a\x7d\x17\x80\xb1\xc7\xc5\xe9\x02\x30\xba\x00\x8c\x2f\x36\x00\xa3\x59\x9b\xa0\xf1\xce\xe9\x7a\x1b\x56\x90\xf2\x46\x01\xf1\x0b\x88\x52\x58\x3e\xb6\xad\x29\xa5\x45\xe5\x61\xfc\x2e\xa4\xfa\xda\x09\xbf\x86\x74\xdf\xd5\x29\xda\x6b\x9d\xa2\x83\x9b\x76\x27\xf8\x75\x82\x5f\x27\xdb\xb4\x9c\x70\x27\xdb\x1c\xae\x6c\xf3\x56\x0a\xcb\x97\x04\xa1\xab\x85\xa7\x52\x66\xcc\xca\x00\x5b\x03\x47\x03\xee\x81\x3c\x4b\x38\x8e\xd7\x05\xe1\xfc\x82\x0a\xb9\x66\x85\x68\x66\xda\xd5\x1f\x1c\xb8\x64\xb6\x14\x7f\x63\x46\xfe\x5b\x88\xa9\x6d\x9c\xfa\x9b\x86\xd5\x02\xfd\x42\x30\x59\x29\x28\xed\xa5\xb4\x90\x2a\x4d\xb7\x52\x38\xe4\x1f\x0f\x9c\xaa\xfd\x96\xbe\x86\x7a\xf1\x05\x3b\x08\x3a\x27\xc0\x6f\xb3\xf0\xf9\xc1\x48\xad\x9d\x6a\xd7\x65\x55\x76\x46\xfd\x4e\xf1\xed\x14\xdf\xbd\x2f\xe3\x21\x29\xbe\x6f\x28\x51\x9b\x34\x91\x17\x29\x63\xb8\x9d\x6c\xdd\x89\xd6\x9d\x68\xdd\x89\xd6\x5f\xac\x68\x7d\x18\x2b\xdc\xc9\xd5\x9d\x5c\xdd\xc9\xd5\x9d\x5c\xdd\xc9\xd5\x7b\x5f\xc6\x4e\xae\xae\xc8\xd5\xf0\x97\x4b\x93\xde\x54\xc8\x6e\x2d\x5c\xb7\xc8\x89\x7e\x2f\x92\x75\x27\x55\x77\x52\xf5\x61\x4b\xd5\x07\x33\xa1\x2f\x2f\x11\xb2\x4b\x25\xec\x52\x09\xbb\x54\xc2\xb7\x48\x25\x74\xbc\x64\x95\x84\xb2\x2c\x58\xfc\xb8\xc4\x81\x0e\x56\xb6\x28\x46\xbb\x6d\x78\xc7\xbe\x96\xda\x01\xcd\x6f\x53\x69\xaa\xf4\x9b\x6b\xe8\x80\xea\x4f\xf5\x9c\xb4\xa0\x19\x85\x1b\xdf\x7a\x84\xb0\x9f\xec\x9b\xef\x0b\x0c\x7c\x79\xd4\x5d\xfd\x29\x14\xec\x5a\x57\x7f\xea\x05\xe7\xed\x0e\xd7\x9a\x99\x3b\x1a\x35\x36\xde\x77\x3a\xed\x37\x07\x97\x6b\x3e\xe9\x6f\x1a\x2e\x57\x7b\x93\x2c\x25\xef\x9c\xfc\xb3\xf6\xa2\x78\x83\xb2\x5b\x1b\xdf\x0e\x9f\x88\xfa\x52\xae\x86\xae\xec\x56\x57\x1f\x62\x4f\xd3\xdd\x8a\xf5\xbf\xdb\xd9\x76\x45\xc6\xba\x22\x63\x5d\x91\xb1\xae\xc8\x58\x57\x64\x0c\xfd\xc6\x8b\x8c\x6d\x2c\x3e\x9a\x71\x7c\x29\x12\x64\x57\x64\xac\x13\x22\xf7\x37\xdd\xdf\x96\x10\x79\x80\x16\x84\x83\xa8\xa6\xe6\x2d\x08\x6f\x8e\xfb\xe1\x46\xd2\x16\xfb\xc3\x2d\x68\x87\xff\x61\xff\xaf\xc3\xff\xe8\xf0\x3f\x1a\x66\xdd\x05\xb3\x76\xf8\x1f\xa8\x0b\xd7\xec\xc2\x35\x0f\x39\x5c\xb3\xc5\x36\x76\xf8\x1f\x2d\xc5\xb9\x17\xc2\x00\x71\x32\xd7\x46\x38\x20\x3f\x2d\x2b\x1a\x07\x2b\xa5\xb9\xb1\xfe\x76\x70\x40\x6a\xa7\x7d\x10\x2a\xc9\x2b\xe2\x80\xd4\xd1\x75\x6b\x05\xe4\x7d\xe0\x81\xb8\xd1\x76\x89\x8b\x5d\x88\xf5\xe1\x87\x58\x1f\x5c\xe2\xe2\xc1\x48\xb2\x9d\xba\xd7\xe5\x2e\x76\xb9\x8b\x9d\x32\xdc\x29\xc3\x7b\x5f\xc6\x43\x52\x86\xdf\x58\xc2\x7e\x41\x5c\x90\xdd\x64\xed\x4e\xd4\x36\xef\x75\xa2\x76\x27\x6a\x7f\xa1\xa2\xf6\x61\xac\x70\x27\x67\x77\x72\x76\x27\x67\x77\x72\x76\x27\x67\xef\x7d\x19\x3b\x39\xfb\xd5\x70\x42\xea\x84\xed\x96\xf9\x36\xef\x49\xd2\xee\xa4\xec\x4e\xca\x3e\x6c\x29\xfb\x60\x26\xd4\x61\x86\x74\x98\x21\x1d\x66\x48\x87\x19\xb2\x95\x7c\xf3\x6f\xf6\x58\x7e\x08\x6e\x62\x7f\x65\x7f\xf8\x2e\xe1\x93\xfb\x45\x46\xf4\x7f\xcf\x69\x4a\x98\x04\x69\x94\xaa\x45\x28\xcf\x34\xac\xfc\xf2\x9a\x7f\xb8\x1b\x5e\x7d\xba\x08\xb3\x69\x3e\x5c\x3e\x5c\xdc\x0f\x6f\xfa\xb7\x7e\x5d\xfc\xac\xc2\xb5\xb0\xdf\x95\x44\x32\x4b\xf2\xb7\x44\xeb\x9e\x70\x6a\xee\x14\x56\xb9\xdc\x6e\x64\xb7\x83\xbb\xc1\xed\x8f\x90\x0d\x34\x3e\x1f\xde\xf5\xbf\xbb\x28\x11\x44\xe9\x79\xff\xec\xaf\x0f\xc3\xdb\xe6\xe7\x83\xff\x1e\xde\xdd\xdf\x35\x3d\xbd\x1d\x5c\x0c\xfa\x77\xcd\x5f\x7f\xec\x0f\x2f\x1e\x6e\x07\x2b\xd7\x63\xe5\x68\x57\x2b\x21\x12\x16\x09\xe2\xfc\x51\x64\xb9\x86\x28\xd6\x10\x79\xf1\xd1\xb1\xc3\xba\xbe\x4e\xd1\x83\xd5\xe9\xa9\x6d\xdc\x30\xd8\xa0\x21\xa3\x8c\xc4\x54\xe2\x49\x42\xe2\xa5\x96\xdc\x1a\x36\xb5\x84\x4b\x83\x7a\xd6\xda\xb3\x17\x39\x35\xcf\x8b\x0c\x2f\x40\x90\xa3\xa8\x08\x8b\x6b\xfa\x30\xfb\xd0\xd8\x03\xd3\xbc\x8b\x3e\x91\x52\x4f\x51\x2e\x04\x61\x2a\x59\x20\xf2\x99\x4a\x25\x97\x1a\x75\xdb\xd7\xd4\xac\xbd\x53\x7d\x83\x73\x2c\xd1\x84\x10\x56\x1e\xbf\x20\x09\xc1\xb2\x66\xcc\x76\xf7\xdb\x2d\x8b\xdf\x2b\x6b\x8d\x31\x97\xd1\x14\xd3\x24\x17\xa4\x72\x5a\x78\x9a\x61\x41\x25\x67\x83\xcf\xfa\x2e\xd3\x07\xf9\x1a\x3e\xe7\x62\xbb\x13\x33\xf8\x6b\x48\xc1\x57\xe5\x7f\x7e\xba\x2f\xff\xab\x74\xe6\x2f\xee\xcb\xff\x5a\x4d\xeb\x41\xc3\x55\xca\x3e\x42\x9f\xee\x4f\xd1\x27\x08\x71\x12\xe8\x7e\x8e\x0d\xc5\x5e\xdc\x9f\xa2\x0b\x22\x25\xfc\x52\x7c\xac\xa8\x4a\x60\x6e\xdf\x51\x86\xc5\x02\xb9\xe9\x9b\x44\x57\x1c\xcd\x11\xf1\x4b\x53\x5d\x3c\xf6\xf7\x9c\x81\xea\x5e\xac\xde\x05\x9f\xd1\x08\x27\xbb\x2d\x62\xff\xaa\xc4\x07\xae\x6f\x57\x2e\x45\xf8\xf6\xf2\x5a\xf4\xaf\xce\x21\x89\xd4\x0d\xb5\x66\xe6\x57\x44\x6a\x22\x89\x38\x8b\xad\x97\x46\xdf\xfe\x8b\x40\xa8\xff\x3b\x87\x44\xdc\x5c\x52\x36\xd3\x2d\xa2\x13\x74\x7d\x3b\x62\xd7\x22\x36\x86\x50\xa2\xa5\x61\x43\x73\x54\x22\xc6\x15\xa2\x69\xc6\x85\xc2\x4c\x69\x45\x00\xc4\x00\xbb\x22\x86\x03\x9c\xf1\x34\xcd\x15\xd6\x07\x6d\x69\x51\x99\x31\x87\xdc\x11\x35\x8c\xc1\xb5\x52\xb3\x86\x46\x4e\x28\xe6\x92\x09\xdd\xbe\x96\x51\xca\x3a\x34\x8d\x97\x54\x59\xd7\x04\x16\x02\x97\xa5\x89\x0f\x54\x91\xb4\xfa\x7e\xcb\x20\xcf\x7f\xd5\x1a\x08\xce\x4c\x52\x05\x11\x7d\x11\xcd\xa9\x22\x91\xd2\x47\x70\x2b\x9a\x78\xb8\xfa\xe1\xea\xfa\xa7\x50\x82\xf8\xd0\xbf\x3c\xff\xf3\x7f\x94\x7e\xb8\xbd\x5c\xfa\x61\xfc\xe3\x9f\x97\x7e\xf9\xff\xad\xa4\xa7\x6a\x4f\x4b\x7a\x7e\x30\x97\x23\x10\xa9\xc1\x26\xec\xa6\x8a\x68\x8a\x67\x04\xc9\x3c\xd3\x14\x20\x8f\xcb\xfb\xab\x45\xca\x0b\x8e\x63\xca\x66\x26\x03\xf4\x82\x2a\x22\x70\x72\x89\xb3\x8f\xce\x7e\xbd\xc5\xea\xfc\xdf\xbb\x52\xbe\xee\x87\x9f\xfb\x97\x61\xc6\xef\x87\x9b\xdb\xeb\xfb\xeb\x95\xb3\x2e\xb5\xb0\x7c\x8c\xf4\xe3\x53\xf8\x5f\x74\x82\x74\xeb\x5e\xf2\x4d\x89\xc2\x5a\x23\x40\x5f\x9b\xa4\x39\x9f\x48\x43\x59\x02\xa7\x26\x13\x34\xa5\x70\xa5\x18\x0b\xde\x37\x46\xb8\xf6\xda\x83\x3f\x37\xe6\x03\xd0\x96\xdd\xa5\xcc\x62\x2c\x62\xf4\x77\x59\x4d\x1f\x07\xc3\xb1\xf9\x81\xc4\xe8\x08\xcd\x95\xca\xe4\xe9\xc9\xc9\xf3\xf3\xf3\xb1\x7e\xfb\x98\x8b\xd9\x89\xfe\xe3\x88\xb0\xe3\xb9\x4a\x13\x93\x2e\xaf\x57\xe1\x14\xdd\x08\xae\xaf\x10\x50\xd0\x89\xa0\x38\xa1\xbf\x92\x18\x4d\x0c\xff\xe3\x53\xf4\x4b\xc4\x05\x39\x2e\x36\xc6\x1a\x95\xec\x3d\x62\x0d\x4f\x27\xfa\xa5\x1a\x66\x52\xdd\x4f\x14\x93\x88\xc6\x56\xcc\x20\x2c\xe2\x60\x79\x34\xbe\x0a\xdd\x9e\xcb\x34\xd4\x1a\x4d\x96\xab\x62\x39\x03\x65\x05\xc7\x24\xc8\x76\x57\xbc\x4c\x70\x5a\xf1\x19\x1a\xb5\x35\xd7\x2a\xba\xbe\x5b\x31\xdc\xaa\xee\xd5\x4c\x4f\x38\xe2\x09\x9a\xe4\xd3\x29\x11\xa1\x43\xba\xa7\xb5\x19\x2a\x91\x20\x11\x4f\x53\x90\x18\xf4\x57\xb9\x34\x54\x0d\x2b\x66\x47\x7b\x3c\x62\xb0\xff\x5a\xcd\x01\x0a\x88\x39\xb0\x3a\x46\x48\x8c\x30\x5b\x98\x6e\x26\xf9\x34\x6c\xdf\xc0\x50\xe0\x18\x51\x35\x62\xfd\x24\x41\x82\xa4\x5c\x91\x20\x87\x12\x9c\x67\xe5\x05\x07\x16\x29\x48\x96\xe0\x88\xc4\x86\x1e\x12\x1e\xe1\x04\x4d\x69\x42\xe4\x42\x2a\x92\x86\x0d\x7c\x0d\xb6\x1a\xbd\x66\x54\xa2\x98\x3f\xb3\x84\x63\x3b\x8f\xea\x67\xdf\x94\x4f\xe3\xc0\x41\x04\x0c\x84\xe0\x02\xfe\xe7\x07\xca\xe2\xbd\x71\xa8\x87\xbb\xc1\x6d\xf8\xef\xbb\x9f\xef\xee\x07\x97\x9b\x71\x1f\x4f\x59\x30\x3c\xd0\xe1\x4f\xd1\x9d\x59\x04\x2e\xb4\x44\x24\x1a\x26\x75\x69\x49\xa9\xf8\x81\xc7\x5b\x72\xdf\xcb\xfe\xd5\x43\xbf\xc4\x51\xee\xce\xbe\x1f\x9c\x3f\x54\xf4\x01\x3b\xbf\x92\x0c\x6f\xd4\xbf\xf0\xb7\xb3\xef\x87\x17\xe7\xe3\x1a\x85\xf1\xc3\xed\xe0\xec\xfa\xc7\xc1\x6d\xa1\xdb\xd5\x2e\x51\x65\x30\x55\x66\x75\x6f\x98\xd2\x9c\xc7\x68\xb2\xa8\x07\x84\xd0\x92\x73\x02\xbe\xd8\x02\x12\xc5\xb4\x7a\x0a\xbc\xc9\x61\x73\x14\x5f\xa4\x3c\x26\x3d\xfb\x0e\x20\x69\x18\xe3\x8a\x91\x98\xeb\x1b\xd6\xbd\x63\x16\x18\x2a\x0c\xc8\x85\x5f\xb8\x53\xd4\x47\x52\xbf\x98\xeb\x43\x2d\xe8\x6c\x06\x86\xc3\xca\x50\x4d\x6b\xf6\x53\x58\x5e\xf8\xce\xec\x7f\x26\x38\x9c\x73\xdd\xad\xb5\x38\x7b\xab\x84\xf9\x10\x50\x57\xca\x2d\x0a\x0c\x06\x87\x9a\xa1\xb9\xcd\xd2\x8b\xd0\xb8\x5e\xe6\x3c\x1a\x7b\x91\x3e\x5c\xc0\xb6\xa4\xb1\x77\x66\x82\x3c\x51\x9e\x07\x9f\x5a\x60\x8f\xd2\x8e\xd7\x36\x5f\x2c\x00\x2c\x9b\x31\x8a\x54\x9a\xf1\xe4\x51\xdb\x82\x66\x61\x4f\xd0\xc2\x54\xf0\xb4\xa6\x8d\xf2\x31\x19\x5e\xdf\x29\x81\x15\x99\x2d\xce\x2d\xcb\xd8\xfe\x78\x9c\x5f\xff\x74\x75\x71\xdd\x3f\x1f\x0f\xfa\x9f\xca\x27\xde\x3f\xb9\xbb\xbf\x1d\xf4\x2f\xcb\x8f\xc6\x57\xd7\xf7\x63\xf7\xc6\x4a\x92\x6f\xe8\x60\xf9\x9e\x2e\xbf\x78\x8a\x34\xcb\x05\xd6\xe8\x00\xef\x02\xfe\x38\x21\x53\x2e\x0c\x9f\x4f\x5d\xe8\x82\x15\x61\xdc\xda\x5a\x5d\xac\x32\x8b\x53\xb0\x8c\xd5\x35\x69\xac\xde\x4a\x10\x9c\xc2\x3d\x81\x19\x1a\xb0\xf8\xe8\x7a\x7a\x74\x67\x7e\x4c\xb1\x78\x24\xc2\x7f\xfa\x2c\xa8\x52\x84\x95\x54\x3a\xec\x86\xec\x95\xc4\xa2\x83\x63\x74\xab\xf9\xbe\x7e\xdf\x5f\x6a\x9a\xd8\x63\xa2\x30\x4d\xa4\x1d\x6c\x69\x5d\x4f\xd1\x05\x16\xb3\xc2\x0e\xf7\x35\x9f\x4e\x4d\x63\xdf\x98\x61\xe8\x3b\xac\x34\x8b\x1a\xde\xab\x49\xc3\xdd\x8b\xd0\x9f\x7d\xd9\xcb\xc3\xcb\x54\xf5\x90\xed\x46\x53\x0f\x37\xb0\xe2\x46\x63\x2f\xe9\x86\xf6\x49\x0d\xad\xc1\xc4\xcd\xe3\xd5\x97\x4c\x7d\xdb\xcb\xe4\x54\x7e\xb1\x86\x9c\x4c\x2e\x95\xde\xf9\xa9\xd6\x36\x6b\x68\x89\x7c\xa6\xd6\x60\x10\x8e\xbb\x42\x42\x45\x33\x60\x5e\xc5\x59\x46\xb0\x90\x75\xbb\x5d\x16\x03\x1b\xf6\xde\xf4\x14\xf6\x61\x37\xd9\xf5\xd3\x43\x9c\x81\xc1\xc1\x0b\x11\x15\x8a\x6c\x41\x03\xa6\xad\x25\x0a\xb8\x01\xb4\xa5\x6b\x8b\x6c\x74\x49\xa5\x56\x1a\xcd\x8f\xdf\x59\xc8\xa5\xed\x08\xe2\x63\x7f\x78\x51\x11\x2e\xc6\xe7\x83\x8f\xfd\x87\x8b\xd5\x66\xc2\xd2\x77\xd5\x2d\x46\x47\x48\x3f\x2f\xfb\xcd\xe9\xd4\xdc\x19\x0e\x38\xca\xa8\xb4\x84\x81\xd1\xca\x42\xd5\x18\x7b\x75\x4c\xb2\x84\x2f\x52\xc2\xc0\xc4\x53\xba\x09\xf5\x7a\x4e\x31\xb5\x57\x4b\x30\x58\xb0\xe2\x58\xb3\x1b\x5c\x63\x47\x0e\xad\x8a\xc4\xfe\xe6\x2d\x83\x55\x55\x58\xf7\x8d\xf1\x9e\xd9\xff\xdc\x29\xac\xb6\x3c\x63\xfd\xb3\xfb\xe1\x8f\x83\xb2\x7e\x78\xf6\xfd\xf0\xc7\x3a\xa9\x66\xfc\x69\x70\x35\xb8\xed\xdf\xaf\x11\x4e\x2a\x4d\xd6\x09\x27\x52\x0f\xb8\xea\x3d\xa5\xd2\x47\x04\x45\x06\xf2\x0a\x51\x25\xd1\x13\x95\x74\x42\x01\x20\xcc\x7a\x22\x1f\x86\xc0\x59\x9f\x70\x42\x63\xaa\x16\x4e\x7c\x31\xfd\x96\xf7\x51\x73\x52\xdb\xbe\x31\x3b\x84\xfe\x49\xb0\xf2\x99\xcd\x71\x93\x3e\x45\xa0\xdb\x3e\x81\xd2\x16\x7c\xc6\xb4\x20\xcd\x66\x44\x98\xe1\x80\xf7\x25\x1c\x4b\xf0\x5c\x8f\x2a\x14\x56\x8a\x55\xf3\x42\xeb\x8c\x30\x22\x00\x04\xce\x77\x62\x04\x29\x41\xd8\x57\x5a\xe6\xca\x12\x1a\x51\x95\x2c\x50\x04\x36\x2c\x30\x67\xa6\x98\xe1\x99\x15\x0e\x40\xcd\xa9\x90\xc4\x5f\x0d\x8a\xda\xf5\xd4\x9a\xf6\xef\x29\xd9\xf2\x98\x3d\x5c\x9d\x0f\x3e\x0e\xaf\xca\x24\xf0\xfd\xf0\x53\x49\x84\xbd\x1c\x9c\x0f\x1f\x4a\xb7\xb9\x96\x64\x57\xcb\xf5\xd5\x66\x6b\x8e\xa2\x7f\xe9\x14\x9d\x9b\x4f\x4f\xf5\xe2\xd6\x40\xc4\x79\xe5\xb7\xb2\x0e\xb7\x2e\x24\xcf\xfd\x31\x60\x4a\xd4\xfa\x25\xda\x9a\x90\xac\x0f\xb2\x64\x43\xaa\x0f\x55\x58\xea\xfb\xaa\xea\x54\xae\x4e\xd9\xbd\x08\x41\x97\xc7\x85\x65\x29\x8c\x61\x00\xa3\x41\x93\x11\xab\xc6\xad\x55\x30\xec\x1f\xc1\x45\x9d\xe6\x52\x19\x57\x22\x10\x27\x7a\xfc\x8b\xd4\x0b\x0a\xae\xc6\x63\x74\x47\xc8\x88\x39\xeb\xc1\x8c\xaa\x79\x3e\x39\x8e\x78\x7a\x52\xe0\x13\x9e\xe0\x8c\xa6\x58\x4b\xd2\x44\x2c\x4e\x26\x09\x9f\x9c\xa4\x58\x2a\x22\x4e\xb2\xc7\x19\x44\xc0\x38\x77\xea\x89\x6f\x76\xc6\xff\xfd\xe2\x4f\xdf\x1e\x5d\xfc\xe5\xdb\x0f\xcb\x16\xb2\xa6\xfd\x1f\xb0\x08\x67\x32\x4f\x6c\xc4\x9c\x08\xd7\xc6\x1d\xf9\x9c\xac\xdb\xef\xab\xf2\x76\xed\xa6\xbf\x9e\xdd\x3c\x94\x2c\xd6\xe5\x7f\x5e\x0e\x2e\xaf\x6f\x7f\x2e\x71\xca\xfb\xeb\xdb\xfe\xa7\x12\x43\x1d\xdc\x7c\x3f\xb8\x1c\xdc\xf6\x2f\xc6\xee\xe1\x2e\xb6\xb7\x1f\x18\x7f\x66\xe5\xa5\x91\x8e\x03\x2e\xf5\x74\x8a\x3e\x72\x81\x7e\xf0\x3b\x79\x34\xc1\x12\xae\x18\x77\x67\xc9\x1e\xca\x78\x0c\x8c\x17\x91\x6c\x4e\x52\x22\x70\x62\x6d\x06\x52\x71\x81\x67\xe6\xa6\x97\x91\xc0\x2a\x9a\x23\x99\xe1\x88\xf4\x50\x04\xd4\x30\xeb\xc1\xa6\x80\xaa\xc5\x67\x55\x3b\xdf\x6d\xce\x14\x4d\x89\x53\xc1\xed\x3f\xef\xcd\x66\x6c\xb1\x39\xd7\xf7\xdf\x97\x85\xbd\x8f\x17\x3f\xdf\x0f\xc6\x77\xe7\x3f\xac\x5c\x4f\xf3\x59\x69\x64\x77\x10\x80\x74\xc6\x93\x3c\x65\xe1\xdf\xdb\x8f\x6d\x78\x75\x3f\xf8\x54\x1d\xdd\x75\xff\xbe\x4c\x19\xb7\xe5\x00\xb7\x0f\xdf\x5d\x5f\x5f\x0c\x4a\x2e\xe1\x0f\xe7\xfd\xfb\xc1\xfd\xf0\xb2\x44\x3f\xe7\x0f\xb7\x06\x8d\x70\xd5\x34\xdd\x08\x6a\x26\xaa\xa7\x15\x4e\x73\xdf\xac\xb0\x15\x27\xea\xdb\x80\x72\x73\x96\x8f\x02\xb8\x1d\x13\x0e\x06\x56\x9d\x23\x6f\x52\x8d\xcc\x48\x6b\xd9\xa1\x2a\x6f\x13\x6a\x66\xc7\x2b\x37\x7a\x15\x57\xbe\xf7\x43\x30\x50\xa0\x46\xd9\xc6\x49\xc2\x9f\x4d\x28\x6f\x4a\xf5\xad\x6c\x81\xd1\xf4\x2b\xb2\xf0\x10\x1e\xd7\x70\xbc\xf2\xb6\x90\x48\x10\x75\xc9\x73\xa6\xb6\x27\xb9\xfe\x55\x89\xef\x0c\xae\x7e\x1c\xff\xd8\x2f\x53\xe0\xf0\x62\x35\xab\x09\x9b\xa8\xb9\x8a\xfb\x57\x3f\xfb\x4b\x18\x02\xbe\x7b\x5e\x43\x35\xb2\x6b\x94\x50\x2d\xf6\x46\x58\x6b\xaf\x09\x48\x34\x88\x50\x30\x39\xa4\x7a\x72\x10\x60\x9a\x19\x7f\x92\xe1\x4f\x66\x90\xa7\xee\x8f\x4a\x7b\x12\xd6\x05\xac\xa9\x2e\x9e\x1e\xda\xb1\x5a\x35\x43\x84\x3d\x51\xc1\x01\xcf\x16\x3d\x61\x41\xb5\x34\x6e\x5a\xd6\x73\x3d\x85\xff\xdd\xac\x4d\x30\x8c\x56\x18\xd7\x1d\x17\xea\xdc\x07\xf2\x6e\x67\x0d\xa9\x0b\x68\x5d\x0e\x65\xad\x37\x74\x2c\x7f\x5b\xb3\x39\x3b\x06\xfc\x96\x27\xfc\x8f\xe4\x9c\xe2\x44\x33\x80\xfd\xc9\x8b\xfd\xab\xbb\x61\x59\x7e\x2c\xab\x19\x01\x5f\xde\x5a\x5e\x04\x43\xa5\x19\xb9\x53\x26\xee\xfe\x7a\x61\xb4\x0b\x00\x3d\x36\xe7\x36\x50\x2c\x40\x00\x72\x28\x28\x19\x16\xb2\xf2\x85\x44\x00\x84\x56\x04\x5c\xe9\x3b\x0b\xc2\x99\x9e\x38\x8d\x47\x8c\x7c\xce\x08\x93\x10\x1c\x60\xee\xb3\xc2\xd7\x2e\x8f\xd1\x70\x0a\x2c\x41\xbf\xce\x50\xce\xac\x03\x4c\x5f\xb8\x66\x90\x3d\x2d\xca\xda\x21\x78\x0d\x11\x0c\x2f\x8c\xb8\x60\xa9\x62\xf0\x23\xf6\x93\x77\xa2\xc1\xa3\x29\xd7\x0c\x48\xef\xa2\x6d\xef\x14\x61\x26\x69\x0f\x69\x85\xa5\xba\xa7\x90\x3a\xa0\x15\x4a\x1b\xc2\xa5\x39\x8d\xfd\xf3\xf5\xaf\x81\xa5\x38\xe1\xf0\x32\xa8\xbf\x0b\x2a\x57\x41\x83\x68\x9c\x18\x8f\xc9\xb8\xfd\x9d\x10\x71\x41\xac\x9f\x65\xe3\x6b\x60\x1d\x63\xbf\xc7\xf2\x71\xc9\xf7\x30\x64\x52\x61\x16\x91\xb3\x04\xcb\x2d\x83\x90\x9c\x8d\xa3\x57\x96\x38\x6e\x6f\x1f\x6e\xee\x87\xdf\xad\xe1\xf2\xd5\x8f\x97\xc3\x80\xa2\x24\x77\xee\xb9\x89\xe0\x38\x46\x9a\x7d\xce\xb8\x71\x05\x5a\xc1\xbf\x80\xfe\x36\x79\x3d\x3e\xa0\xb2\x04\x3b\x5e\xa4\x23\x58\x3b\x47\xe8\x4a\xa0\x76\x21\x50\xa4\x57\x02\x05\x26\x0f\xb7\xd5\xe0\x59\x34\x05\x49\xac\x75\x2b\x4b\xb0\x9a\x72\x91\x1a\x2e\x5f\x9a\xb4\x69\x7c\x75\xa3\x94\x29\x22\x44\x9e\x29\xea\xb0\xdc\xab\x52\x2a\x54\x78\xe7\xb3\x4b\x22\x25\x9e\x91\x5d\x1c\xd0\x75\xca\xc3\xdd\x8f\xe1\x3f\xc1\xc1\xdc\x46\xf6\x2f\x8d\xd0\x45\xbe\x3b\x7a\xba\x66\x1f\x4d\x20\xcf\x0d\x4f\x68\xb4\x65\xc0\xdd\xc7\xfe\xf0\x62\x3c\xbc\xd4\x4a\x7c\xff\x7e\x70\x51\x12\x25\xe0\x59\xff\xe3\xfd\xe0\xd6\x82\x58\xf7\xbf\xbb\x18\x8c\xaf\xae\xcf\x07\x77\xe3\xb3\xeb\xcb\x9b\x8b\xc1\x9a\xc8\x9c\xc6\xc6\x97\xad\xab\xd5\x57\x4f\x97\x7e\x81\x1d\xd6\xbc\x2c\xb4\x97\x41\xd6\x18\xa6\x09\x38\xc1\xb9\x71\x86\x63\xc4\x78\x4c\xe0\x67\xe9\xac\x33\x1e\x39\x1a\x0d\xd5\x57\x49\x82\x70\xae\x78\x8a\xc1\x6b\x93\x2c\x46\x0c\x4f\x34\x6b\xc5\x49\x12\x84\x77\x89\x9c\x31\xcd\x62\x75\x63\x06\xa2\x3d\x4a\x88\x66\xe7\x59\x90\xec\x67\xfd\x06\x53\xca\x20\xd2\x36\xc5\xe2\xd1\xb8\x99\x8a\x2e\x8b\x43\x21\x11\x96\x23\xa6\xc7\x45\xac\x61\xa8\xcd\x0a\x9f\xb6\x7a\xab\x71\x75\x52\xfc\x48\xf4\xaa\xa4\x79\x34\x47\x99\xe0\x33\x41\xa4\xb4\xb6\xe5\x08\x33\x13\x80\x60\x5f\xd7\xd7\xd0\x88\x31\xae\x97\xc2\x99\xb0\x63\x92\x11\x16\x13\x16\x51\x93\xd6\x07\xbe\x7b\x6f\xda\x9c\x09\x9c\xcd\x91\xe4\xe0\xf4\x86\x65\x07\xfb\x95\xf9\xc8\xdd\x64\x66\xc6\xe6\x71\x68\x81\x16\xb9\xe6\x13\xd7\x20\x27\x9a\x55\x86\x8f\xdd\x65\xe8\xdc\x2e\xc6\x0e\x98\x66\x09\x51\x06\xac\x1f\x96\x1c\x36\x43\xaf\x75\x69\x3f\xf4\x36\xd5\x6d\x82\xbe\xb0\xdd\x98\xb1\xb4\x23\x3a\xae\xb1\x6c\xdb\x23\x85\xbe\xc7\x2c\x4e\x74\x2b\xce\x87\x51\x3e\x8b\x90\x8a\xd2\xd7\x54\xe3\x4e\xe3\x2e\xb7\x68\x84\x73\xb9\xcb\x35\x5a\xc9\xc5\x34\x56\xc1\xa3\x22\x28\x04\xc8\xdb\x26\x62\xc2\xea\x66\x9a\x45\xe2\x84\xdb\x55\x32\xaf\xe7\xa6\xfe\x13\x82\xd1\x34\x5c\xb3\x99\xa0\x2c\xa2\x19\x4e\xb6\xd2\xfd\x2a\xc1\xf8\x36\xc6\xfd\x6b\x3a\xd5\xe4\xf3\xcd\x92\xdb\x56\x11\x91\x42\x82\xb2\x1d\xa6\xdf\xc2\x0d\x2c\x49\x36\xab\x81\xc8\x22\x9a\x04\x0b\x9e\x1b\x7f\x1c\xac\x0b\x89\x6b\x8e\xea\x71\xdd\x76\xeb\x93\x81\xcb\x01\xd0\x5b\x6c\xb6\x89\xfc\x69\x5a\xbf\x4a\x2b\xb6\x77\x13\x8c\x87\x93\x9b\xfa\x36\xeb\x76\x20\x78\xf8\xaf\x55\xb4\x73\x89\x33\x4d\x33\x16\xb6\x1f\x17\x73\xb4\x4a\x92\xad\x0a\xe6\xe2\x67\x02\xdf\xb9\xcf\x0b\x69\xbf\x1b\xc5\x12\xda\x00\xa8\xe5\x4e\x4a\x31\x04\x41\x8e\xb9\xa5\xf1\x69\xae\x65\x59\x84\x21\x0a\x01\x7d\x4d\x8e\x67\xc7\xc8\x15\x61\xe8\xa1\xfe\xcd\xcd\xe0\xea\xbc\x87\x88\x8a\xbe\x71\x31\x8b\x36\x60\x69\xc4\x14\xb7\xd2\xca\xc2\x15\xd0\x48\x89\x98\x91\xd2\x9c\x5d\x74\x13\x84\x2a\xcf\xa8\x54\x36\x7c\x56\xf3\x95\xa0\xd4\x09\x4d\xab\x62\xb6\xa1\x90\x5c\xcd\x77\x21\x0d\x2c\x65\x9e\x6a\x5d\x76\x4c\x71\x3a\x16\x3c\xd9\x85\x29\x9c\xc3\x54\x40\x5d\xf6\xe9\xf9\x14\xa7\x48\x37\x6b\x43\x41\xbc\xcb\xd1\x8b\x74\x5a\x30\xd2\x7c\x59\xdf\x9b\xc1\xbd\xe5\xbc\x0f\x36\x1e\x8d\xba\x10\x08\x48\xdf\x6f\x60\x15\x85\xd9\x78\x6c\x2d\xf5\x63\x1c\x45\x5a\xe5\xde\xf3\xa4\x82\xfa\x39\xce\x25\x60\x3b\x7a\xb1\x69\xae\xa3\x73\x37\xcc\x4c\x73\x30\x08\x06\xd6\x57\xae\xe4\x11\x2d\xda\xaf\xe9\x77\xb2\x58\xea\xd5\x55\xb8\x79\x90\xde\xa4\x62\x2e\x61\x49\x60\x27\xa5\xa9\x90\xa3\xe6\x64\x81\xe6\xf8\x89\x94\xba\x74\x09\x31\xba\xe1\x05\xcf\x45\x1d\xa3\x1b\xb1\x73\x92\x09\xa2\x25\xfd\xaa\x03\xc5\xd3\xf4\x6d\x99\x12\x3b\xba\xee\xe8\xfa\xdd\xd3\xf5\x99\x29\x94\xd4\xf7\x85\xb1\x76\x12\xe0\x4c\x63\xe3\x8c\xf3\x64\xdc\xc2\x26\xd2\x7e\xc5\x4b\x9e\xb0\x4a\xd9\x28\x80\x04\xe0\x39\xc8\x47\xa5\x6b\x93\xeb\xbb\x2e\x48\xb1\xb5\xc3\x5b\xb1\x0c\xce\x65\x16\xd4\xcb\xd9\xe5\xbc\xd7\xb5\xb2\xaa\x25\xf4\xe2\x62\xce\x99\x91\x6f\xbc\xbb\x2c\xac\x7f\x5a\x3a\x4c\x4e\x14\xa1\x6c\xa9\x1a\x9b\xa1\x67\xbd\xc0\x46\xee\xf8\x47\xce\x15\x96\xdf\x1c\x8f\x98\x16\xa2\x1e\xc9\xc2\x98\x5b\xb5\x98\xf2\x3b\x2d\x8b\x1f\x49\xc2\x24\x84\x7b\xff\xce\xb8\xe7\x34\x89\x3b\x73\xb5\x51\x4d\x4d\x11\x38\x08\xba\xf6\xbd\x40\x88\xae\x6d\xd4\x4a\x49\x45\x00\x34\xc8\xf9\x66\x2e\xf6\x99\x19\xfe\x8c\x28\x48\xb1\x56\x54\x81\xce\x14\x9b\x2a\x73\x4b\x43\x5f\x6b\xba\x32\x54\x21\x38\xf8\x49\xe2\x7c\x37\xc6\x2f\x97\xdb\x58\xcb\x19\xbd\xb6\x70\x67\x63\xde\x4f\x9c\xdd\x28\x12\x7c\xa9\x74\x1b\x96\xc8\xec\xf4\xc4\xb0\x03\xe7\xbf\x26\xec\xf8\x99\x3e\xd2\x8c\xc4\x14\x43\x04\xbc\xfe\xd7\x89\x9e\xd7\xbf\x9f\xdd\x5e\x5f\x8d\x8b\x4c\x9e\xff\x1a\xb1\x7e\x22\xb9\xcf\x52\x40\x8c\x33\x1f\x6e\x9f\x09\xe2\x44\x42\x3b\x17\xb0\xba\x16\x66\xc4\x11\x6b\x1a\x41\xcc\x23\x79\x8c\x9f\xe5\x31\x4e\xf1\xaf\x9c\x81\x2b\xbd\x0f\x7f\x9e\x25\x3c\x8f\x7f\xc2\x2a\x9a\x9f\xc0\xb9\x56\x27\xe4\x89\x30\x65\xdc\x54\x7a\xb9\x62\x48\xde\x95\x10\xad\xff\xef\x7a\xcc\x45\x52\x91\xd4\x9a\x6c\x44\x32\x85\xfe\x1f\x41\x26\x9c\xab\xfa\x4b\x8a\x4f\xa7\x92\x6c\x74\x21\x15\x4a\xda\xdd\x35\xfa\xcb\x9f\xbf\xfd\x83\x26\xa1\x6d\xd6\x78\x78\x77\x3d\xd6\xdf\xff\xfb\xb9\xfd\x5e\x6e\xc0\xee\xae\xb3\x82\xb5\x39\xe2\x31\x81\xf3\x39\x83\xdb\x4f\x80\xf3\x02\xd8\x1b\x90\x43\xb1\x8f\x75\xdc\xed\xbc\xd4\xfa\x6e\x2a\xdb\x56\x8b\x09\x2a\x76\x30\x47\x74\x84\x18\x47\xa9\x89\x35\xc5\x0c\xfd\xc7\x0f\xdf\xd5\x6f\x60\x2e\xe8\x56\x1d\x52\x0b\xd7\x10\x74\x29\xe9\xaf\x44\x22\x4d\x35\x9a\x8a\x79\xaa\xbb\x16\x44\xce\x79\x12\xa3\x67\x02\x6a\x92\x8d\x03\xf5\x5a\xb9\x20\x23\x16\x36\x01\x21\x87\x08\x27\x8a\xcf\x08\xdc\xd5\x4e\x51\x53\x44\x68\x51\xc5\x64\x69\x28\x2e\x48\xcf\x40\x7d\xdd\xfd\xc9\xc5\x56\xc3\x34\xe1\x91\x4b\x6a\xb1\x26\xb9\x78\x52\x3f\xf3\x69\xd5\xf4\x8a\x9a\x6d\xf8\xd5\x4d\xb6\x66\xdb\xfa\xa5\xb1\x49\x28\xd6\x86\x55\xdd\x99\xfa\xc1\xd0\x88\xb3\x71\x42\xd9\xe3\x56\x9b\x71\xed\x44\x39\xdd\x82\x5d\x33\xdd\xa2\xb7\x73\x1b\x0b\xc8\x06\xe7\xe3\x63\x9e\x24\x26\xb5\x25\xdc\x1e\x90\xbb\xcc\xba\x81\x30\x90\x99\x1c\x50\x12\x5b\xbf\x97\xd5\x84\x05\x61\x10\xf0\x36\x62\x93\x85\xf5\xd9\xca\x1e\x92\x79\x34\x77\x99\x79\x11\x67\x52\x8b\xd1\x5c\xa0\x88\xa7\xa9\x29\x6e\xca\x08\x52\x9c\x27\xd2\x46\xbb\xb3\x23\x85\x23\x35\x62\x45\x7f\x6b\x4e\x9e\xa9\x80\xb4\x5b\xea\x5e\x7b\x97\x4e\x51\x69\x69\xa5\xc0\x4d\xe3\x10\xb3\x01\x8c\x60\xc6\x13\x15\xa0\x3f\xf0\xe5\xb3\x64\x36\xac\x41\x33\x90\x73\x2e\xd4\x38\xae\xe5\x39\x6b\x89\xa6\xca\x08\x19\x39\x4a\x20\x68\x98\x3f\x69\xe1\x9f\x3c\x7b\xe3\xeb\xaa\x21\x68\xaa\x5e\x35\x82\x76\xc7\x68\xe5\xc8\x36\x25\xc1\x86\xb5\x32\x08\x1e\x51\x39\x26\x7c\xdd\x18\xef\xe0\xab\x33\xfd\xd1\xca\xc5\xab\x9e\x3b\x27\x04\xf1\xb8\x00\x9b\x33\xf7\xba\xcd\x08\x59\xb5\xa6\x16\x3a\xe1\xe5\x32\x47\x57\x4d\xe5\xa1\x6c\xc9\xd5\x63\x01\x93\xbd\x24\x20\x6b\x62\x31\xa1\x4a\x60\x51\x42\x0a\xf1\xfa\xa0\x24\x58\x40\x7c\xd6\x88\x19\xdc\x38\xa3\x29\xc4\x28\xa6\x12\x12\x44\xe0\x2e\x0d\x9c\x61\xa8\x9d\x12\x58\x39\xda\x45\x9e\xa3\x89\x3f\x87\xc0\xb2\x82\x34\x1c\xb3\xd3\x1d\x79\x7c\x2c\xad\x9f\xf1\x28\x2f\x04\xb9\x08\x24\x5c\x8b\xa9\x83\x28\x93\x74\x36\x57\x88\x32\x6b\x77\xc4\xc9\x8c\x0b\xaa\xe6\xa9\xec\xa1\x49\x2e\xb5\x16\x6a\x82\xd5\x4c\x3c\x0a\x51\x51\x2b\x2e\xb4\x6b\x12\x71\x5c\x69\x70\x59\x45\xd9\x82\x34\xda\x1d\xca\x41\xe5\xae\x58\x43\x38\x7d\x8f\x33\x58\x6d\x83\x42\xdd\x46\x03\x4f\x89\x4c\x1c\x20\x77\xc8\x4e\x50\x05\xa4\xe9\x1c\x00\x2a\xe4\xde\xbc\x14\xaf\x51\x88\x0b\x99\x64\x50\x41\x5c\xec\x36\x48\x5e\x65\x64\x4a\x83\xde\xe4\x9d\x4e\x69\xa6\x6a\x03\xb7\x96\x5d\x45\xb7\x01\xe6\x4f\xbb\xc5\x86\x64\x2c\xa0\x66\x40\x6a\x1b\xb1\x3b\x42\x9a\x81\xdc\x96\xf6\xde\x94\xc6\x85\x29\xd8\x44\x8f\xd5\x24\xbf\x8b\x13\xfb\x7c\x70\x77\x76\x3b\xbc\x31\x90\x13\xd7\xb7\x97\xfd\xfb\x71\x8d\x5f\xbb\xe6\xad\xcb\xfe\xed\x0f\xe7\xeb\x5f\xfb\xfe\xbe\x9c\x95\x5d\xf3\xca\xed\xdd\xea\x64\x8e\x16\x43\xac\x49\x0a\xab\xed\xe7\x14\x65\x0b\x35\xe7\xcc\x87\x28\xc4\x25\xde\x74\x84\x4c\x46\xb0\x82\x10\x22\x21\x55\x8d\xe3\xf0\x1e\xe2\x72\xd6\x4b\x98\xe5\xcd\x32\x30\x6c\x7b\x15\x8d\x36\x38\x91\x9f\x12\x3e\x01\xbf\x75\x5e\x2a\x71\xbb\x22\x02\x7d\xc7\x78\x9f\x73\x2a\xb3\x04\x2f\x96\x7a\x58\x77\xe5\x5c\xe1\x94\x40\xc4\x71\x81\x1f\xe7\x92\x45\xf4\xce\x40\x02\x93\xbf\xd7\xe9\x14\x32\x99\x14\xc5\x8a\xa0\x09\x51\xcf\x90\x37\xe7\x7e\xf5\xb6\x54\x17\x30\x22\x8f\x47\x0c\xcc\x39\x23\xbd\xc8\x71\x0e\xd1\x7e\xa3\x0f\x3d\x34\xfa\x10\x93\x27\x92\xf0\x4c\xef\xbc\xfe\xa1\xe1\x92\x19\xa4\x98\x26\x57\x5c\x79\xcb\xdc\x2e\xfb\x29\x48\x44\x33\x90\xcc\xc7\x44\xb7\xfb\x7a\x82\x47\x89\x92\x1d\x3b\x83\x31\x20\x1c\xc7\x5a\xc9\x06\x56\xe6\x86\x57\x84\x00\xb1\x60\xea\xa5\x5a\x99\x9b\x88\x14\xde\xfc\x6d\x7a\x0c\xdb\x2c\x9b\x3d\x6b\x77\x80\x3d\xbd\xa0\x4b\x76\xd7\x8b\x5c\x6b\x25\x3f\x90\x05\xa4\x60\xdc\x60\x2a\xb6\x74\xcd\xd6\xc5\xbc\xbe\x88\x93\x76\x50\xd3\xd1\x01\xb9\x6b\xeb\xd7\x61\x37\xc7\xad\x8f\xd5\x7b\x2d\x2d\xd5\xc5\x72\xf9\x8e\x5b\xaa\xad\x0f\x4d\x4a\x6a\x63\x08\x03\xaa\x2a\x5e\x19\x89\x36\xd0\xb8\xfc\x00\xef\xf4\x77\x6b\x35\x15\x2f\xae\x45\x61\x4d\x7f\xd8\x05\x9b\x1c\x5f\xcd\xc7\x27\x6b\x47\x1c\x25\x5c\x96\xb1\x72\x5a\x0f\xfa\xcc\x7e\xba\x6a\xdc\x83\x90\x7c\xb5\x5c\xb8\x51\x40\x43\xcd\xc2\x57\xc0\x20\xcd\x3d\xa3\xac\x87\xcc\xbe\xdd\x43\x14\xa2\x2d\x41\x21\x4b\x0a\xe4\x00\x16\xa3\xc2\x0d\x32\x62\x45\xcc\x8a\x44\xcf\x24\x81\x30\xb7\x88\xa7\x19\x98\xf8\xed\x70\x6d\x4b\x24\x36\x11\xc3\x3d\xc4\x73\xa5\x1b\x33\x39\x39\xce\x88\x6b\x13\x7e\x0a\xb7\x87\xf1\xbd\xd9\xe0\x77\x0f\x2c\x6d\x68\xdd\xdc\xa5\x94\xa1\x4f\x44\x41\x2b\x00\xdc\x1f\x4e\x10\xf4\x84\x6a\x08\x65\xfd\xda\xef\x70\xa2\xec\x4c\x36\xd8\xf9\x02\x38\xe5\xbb\x84\x4f\x56\x1b\x09\xa0\x71\xf4\x70\x3b\x74\x16\xc9\x22\x7e\x2a\x40\x2f\x2e\x79\x14\x07\x37\xb7\x83\xb3\xfe\xfd\xe0\xfc\x18\x3d\x48\xa2\x97\xc7\x4f\x17\xf2\xab\xbd\x4a\x62\x46\x6e\x91\x58\x98\x54\x04\x37\x19\x42\x88\x10\xa5\x2c\xe8\x35\x8c\xa3\x0c\xd3\xb2\x9a\xb0\x01\x24\x85\x5a\x43\x1d\x00\x0b\x55\xe7\x69\x23\xf3\xd6\x9d\x40\x88\x93\x1a\xbf\x9f\x28\x35\x33\xde\x74\x39\x32\x6f\x1d\xf9\x94\x23\xfa\x5e\x7a\x32\x70\xb4\xd4\x9c\x50\x81\x5a\x4d\xcb\x10\xd5\xb8\xfd\x9c\x82\x10\xf7\x4b\x9c\xad\x4e\x3f\xc5\xcf\x25\xa2\x35\xa2\x70\xe0\xbb\x7f\xe9\x73\xe0\xd8\xda\xd8\xb0\xc2\xdd\x27\x58\x38\xb4\x0c\x6f\xf5\x7c\xd3\x64\x7c\x48\x67\x24\x0b\x27\x56\x19\x84\x8d\x63\x95\x08\xce\x0e\xfc\x42\x19\x2a\x5d\x89\x3d\x34\xa5\x9f\x6d\xa3\x45\x7c\xbb\x7b\x35\x08\x78\x68\x88\xa7\x9c\xe3\xe5\x33\xb5\x81\xd8\x70\x03\xdf\xaf\x14\x22\xb9\xd4\x22\x51\xa4\xc5\x25\x41\x22\x2e\xf4\x4d\x01\xdd\x16\x5e\x88\x75\x22\x83\xc2\x42\x2f\xca\xb2\x57\x66\xd5\xe9\x2f\x6a\x90\xc4\x58\x91\x23\x2d\x7a\xad\x49\x80\xb6\x39\x32\x90\x4d\x83\x55\x00\x07\x56\xdc\x3c\x13\x32\xc3\xcc\x85\x66\x37\x0c\xd7\x5d\x79\x3b\xb0\x2a\xad\x02\x61\x48\x0f\x03\xf9\x0a\x52\x7f\x4a\xe3\x90\x19\xac\xe7\xca\x71\xd8\xe8\x97\x43\x58\xb6\x67\xec\x83\x71\x1a\x06\x9b\x67\xf1\x21\x0d\x36\xc1\x52\x21\x3b\xa6\x26\x53\x44\xa0\x22\xbe\xac\x11\xb6\xa4\xdb\xb7\x55\xde\x34\x09\x95\xb5\x58\x02\x9e\x11\xe9\x70\x53\x0c\x4a\x8c\xd6\x69\x9c\x20\x6c\x4a\x31\xfb\xb3\x6d\x6b\x32\xbb\x5b\x22\x64\x26\x10\xa4\xbf\xdc\xf4\x31\xea\xb3\x25\xbc\x2c\x17\x97\x55\x5a\x2f\x73\x27\xe1\xe4\x19\x2f\x24\xca\x84\x81\x96\x31\x91\xfb\x6e\xf2\xa0\x81\x95\x3f\xf2\xa1\x10\xca\xa5\x4e\x20\xb0\xc5\xac\x0f\x9a\x73\x72\xef\xf8\x05\x5c\x79\x95\xa8\x72\x2f\x90\x17\xcd\x15\xb6\x8a\x16\xac\x4e\x91\x71\x34\xc7\x6c\x46\xc6\xce\xc8\xba\x8d\xb6\xa4\xdb\x39\x83\x66\xce\x6d\x2b\xf5\x97\xd3\x8d\x51\x98\x6c\xfd\x17\xf3\xaa\x37\x20\xea\x43\x20\x15\x9e\x11\x64\x46\xd4\xca\x2c\x5d\x8a\x18\xb3\x60\xc3\xa0\x27\xd8\x56\x07\xe5\x28\xfa\x26\xe1\x1d\x42\x9f\x2e\xf0\x84\x24\x6f\x13\x39\x01\x5d\x5b\xe3\x3c\x78\xeb\x4c\x36\x00\x41\xcf\x60\xcf\xaf\xb0\x0c\x6b\xbd\x17\x79\x5d\x6e\xc0\xaa\x79\x96\xaa\x9f\xef\x30\x51\x57\x2b\x64\x9b\xa9\x36\x55\x10\x09\xaf\xbd\xa0\xd2\x46\x9d\x81\x2d\xbc\xfe\xaa\x36\xe5\xed\x06\x12\x14\xfc\x68\x18\xc7\xce\x15\x3f\xd6\x4e\x65\x6b\x90\x81\x96\x55\xf0\x86\x53\xc4\x38\x23\x88\xca\xe2\x65\x55\x4e\x87\xf2\x10\x3d\x5a\xc4\x37\xc6\x17\x5f\xa5\xcb\x17\x5f\x7a\x69\x4b\x4b\x01\x9e\xe0\x6d\x03\x2e\xbf\x9b\x11\xad\xa8\x62\xb1\x00\x88\x4f\xc3\x87\xcb\x32\xdd\xda\x71\xee\x5d\xe0\xbe\x77\x08\xae\x41\xa4\xae\xe2\x08\xc4\xc8\xca\xe0\x90\xc1\x41\xb5\x2f\xd9\x8f\x2c\x4c\xcd\x88\x79\xcb\x06\x10\x22\x95\x28\xc5\x19\xf8\xf4\x18\x57\xc5\x57\x06\x76\x49\xf9\x2d\xec\x39\x41\x5c\x9a\x1a\x5a\x0d\x2b\xb0\xce\xb4\xe3\xae\xdf\x62\x5d\xcb\xf0\x96\x0e\x9a\x77\x46\x9f\x08\x73\x34\xdd\x73\x67\x42\x0f\xca\x75\x9a\x2c\x8e\x30\x84\x19\x93\x38\xf4\x7c\xac\xe6\x48\xc6\x20\x73\x08\xf6\xc8\xf6\x4b\x76\x5f\x1b\x46\x63\x40\xd2\x4a\xe8\xf6\x2e\x30\x3c\xa4\x52\x8b\xdb\x6b\x32\xc1\xb1\x44\xbf\x63\x5c\xfd\x2e\x40\x36\x76\xc6\x0b\xf8\xd4\x99\xa0\x7a\x4b\x25\x5b\xe0\xd0\x5a\xc2\x41\x38\x40\xd8\x5a\xbb\xf2\xbb\xc6\x06\x14\x81\xef\x2f\x2a\x8d\x0e\x96\xb3\xe0\x9a\x6a\x5e\x75\x1e\x7b\x54\xbd\x16\xaa\x06\x4f\x53\x56\xaf\x38\xe9\x25\x43\xa7\x5c\xe7\xa2\xf7\x7b\xd1\xca\x35\xbf\x84\x08\xb0\x0b\xb5\xa5\xad\x23\xa7\xd6\x80\x20\xd7\xdb\x25\xb6\xc9\xf3\x6c\x92\xcb\x45\x39\x74\xcd\x96\xc1\x68\x40\xf9\x3d\x1e\xb1\x8f\x5c\xd8\x2b\x58\xda\x3a\x03\x13\x1c\x3d\x1e\x11\x16\x23\x9c\xab\xb9\x41\xdb\xb5\x7e\x85\x85\xa5\x06\x2d\x69\x00\xd9\x78\x28\x0d\x2a\x23\x2c\x62\x57\xf1\xe2\x89\xbb\x51\x8c\x58\xd0\x08\x54\x32\x80\x42\x4f\x50\xaa\xb6\x49\xd5\x24\x52\xeb\x57\x4d\x6b\x51\x57\x84\x75\xa9\x04\xeb\xea\x73\x56\x2a\x2a\x0b\x35\x18\x20\xc0\x89\x4f\x97\x57\x67\xe8\xac\x8d\x4e\xbf\xd3\xf4\xbc\xec\x85\xe8\x59\x8d\xc2\x98\xa4\xec\x0c\xb4\xa4\xf3\xad\xe3\xb5\x25\xd4\xe0\x69\x2e\x20\x5c\xb7\xae\xcd\xaf\xa3\x39\x4d\x0a\xdf\xc5\x37\x3d\x3f\x4c\xdd\x64\x42\x9e\x48\x62\x30\xeb\x23\x01\x91\xf9\xc6\x6a\xf8\x2d\xfa\x3f\xa6\x30\x29\xfa\xc3\x88\x7d\x02\x36\x9c\x24\x0b\x40\xd4\xf4\x2d\x63\x55\x69\xe6\xb1\x76\x00\xca\xa6\x02\xa1\xf2\x40\xcc\x5e\xcf\xf1\x13\x19\x31\xd7\xcc\xff\x41\x8f\xe8\xf7\xe8\x0f\x4d\xea\x9d\x0b\xb0\x7f\x61\x3b\xc7\xc7\x20\x7c\x3d\xb8\xe5\x2c\xa3\xb4\xfc\xc6\x99\x41\x4a\x46\xc8\x1a\x64\x0d\x0f\x8c\x4d\xd9\x13\x8f\x96\xb2\x38\xc2\x53\x8b\x05\x61\x6a\xcc\x78\x4c\xc6\xa4\xc6\xa5\xb9\x82\x49\x68\x21\xe0\x8a\xc7\x64\xad\x43\xd2\x33\xd3\x9f\xc0\x74\x23\xf3\x89\xdf\x0e\x48\xf0\xf7\xd9\xdc\xde\xfa\x50\xa6\xb4\xfa\x91\x7b\xf4\xd9\x6d\xc6\xbd\xad\x33\xd5\x85\x89\xf6\xe0\x42\xb0\x03\xa8\x77\xe8\x25\x58\x39\xf7\x7a\xf5\x38\x56\x1d\x01\xfa\x65\x3d\x73\x7b\x59\x05\xb8\xba\x50\xfb\x44\xd0\x19\xd5\xf2\x7b\x7b\x87\x2d\x70\xc2\x6d\xbc\x19\x06\x64\xb4\x95\x3b\xa3\x58\x0a\x07\xb4\x72\xe4\xe9\xaf\x70\x42\x4e\x78\x5e\x15\xe0\xed\x02\x50\x19\xba\xfb\xad\xac\xbe\xd0\x7c\x78\x66\x32\x00\xc9\x9c\x9a\x9c\xfb\xfe\xd9\x05\xd2\xa7\x83\xa7\x06\x98\x0a\x16\x2d\x57\x73\x2e\xe8\xaf\xab\x68\x1b\x0b\x45\xa7\x38\x52\xe3\xbd\xd4\x71\x69\x26\xa6\xbe\xed\x67\x78\xde\xda\xd4\x77\x87\x9f\x48\x10\x02\x08\x01\x7e\xb6\x15\xe9\x5d\xa9\x55\x7e\xcb\x05\x62\xfc\xb9\x00\xa6\x72\xdf\x03\x16\x73\x90\x3a\x81\xb5\xd2\x93\x41\x0c\xaf\xa4\x40\x9f\x00\x13\xf5\x95\x32\x69\x91\x00\x31\x6e\x00\x9e\x34\x79\xce\x31\x8b\x13\x77\x85\x20\x6e\x62\x6a\x16\xcf\x78\xb1\x91\x57\x3b\x8c\x6c\x2c\xf2\xe4\xcc\xf6\x97\x95\x20\xe0\x01\x46\x52\x53\x25\x65\xaf\x4e\x15\x45\x93\x1c\xa0\x6d\xf5\x9a\x4c\xf3\xc4\xd4\xc3\x88\xb8\x88\x4d\x41\x7a\x59\xca\xca\x83\xe8\x66\xa7\x35\x61\xe5\x1b\xa4\x16\x01\xd4\x56\xdc\x30\x86\xb1\x95\x72\xfd\x5f\x73\x92\xef\x29\xb1\xf1\x4d\x43\xc1\xef\xf1\x4c\x16\xb1\xdd\x66\x6d\xf4\x95\x57\xac\xef\x3f\xf4\x4c\x65\x90\x0a\xec\x0c\xb6\x1e\x59\xcb\x58\x3a\x4c\xbd\xd5\x8d\x0c\x65\xb7\xa6\xa2\xc0\x1e\x2c\x65\xaf\x11\x26\xb3\x2c\x7a\xd6\x70\x75\x4b\x7e\x4f\x3e\x31\x16\xbd\x8e\xf9\xc9\x95\x66\xa8\x08\x75\x2f\x68\x89\xda\xe2\xee\x58\xd6\x55\x56\x06\x9b\x17\x76\x29\x7f\x5b\xd4\xe4\xa8\x2b\x0e\xd9\x2c\xcf\x82\x02\xf0\xde\xa2\x78\xd9\x97\x16\x76\xb7\x70\xc8\x63\xb4\xf0\x67\xb4\x05\x08\x97\x71\x4b\xb8\xa8\xbf\x3a\x37\xb0\xeb\xd8\x86\xca\x5d\x2f\x87\x43\x34\x9d\x08\xc3\x92\x0e\xf5\x48\x2c\xa3\xee\xac\x3d\x0c\xbe\xc0\xca\xdb\xd8\x65\xbd\xc4\xf8\x7a\x27\xc3\x93\xe3\x38\xc2\xd1\xbc\x71\x52\x13\xce\x13\x82\x59\x93\x52\x50\xfb\xb8\x7a\x44\x0c\x66\x2c\xb0\xee\x24\x01\xe0\x64\xb7\x04\xb6\xd8\x66\xa1\x15\xb1\x18\x00\xef\x0d\x0f\x37\x21\x97\x6e\xa0\x8a\x30\x67\x50\xa3\x6c\x96\x90\xea\x5a\xd9\xca\x04\x3d\xdb\x49\x12\xe5\x49\x50\x6d\x33\x23\x42\x8f\x5a\x2f\xf1\x13\x61\x5a\x15\xb3\xe3\x70\x3e\xa2\x67\x97\x67\xee\x6b\x6c\xf5\x7c\xd7\xce\x4d\x09\xc9\x9c\xf1\x88\xc1\xc1\xe5\xe5\xc3\xaa\x69\x55\x6a\xed\x2d\x34\xf7\x6d\x7d\x3a\x03\x21\x62\xe3\xe3\x79\x57\xb6\xbe\x6f\x7c\x26\x4d\xdf\x63\x08\xdd\xd8\xd9\x63\x19\x78\xb5\x0a\x04\x0c\xb3\xb1\x0e\xe5\xec\x95\x6c\xf3\x10\x0c\x53\x8e\xe6\x0d\x62\x61\x9a\x50\xb6\x5e\xf4\x2e\x29\xaa\x8a\xb8\xdb\xa0\xe5\x50\x56\x46\x00\xb4\xf4\xe7\x83\xd1\x77\xd5\xb9\xbd\xb0\x52\x7d\xd9\x13\xee\xd3\xa6\x8a\xe8\x51\x5b\x37\x57\x09\x0c\xa0\x0f\x90\xaa\xff\x93\x31\x5c\x50\x69\x84\x7b\x57\x3d\x24\xcd\xd4\xc2\x16\x9b\x83\x7b\xb1\x24\xef\x03\x90\x5e\x9d\xd7\xbd\x7a\x47\xc6\x25\xbf\x7b\x5d\x67\xd0\x91\xb5\xd6\xd4\x36\xe9\x16\x3a\x04\x66\xa9\x00\x61\x34\x05\xd9\x98\xba\xbd\x63\x9c\x34\x9a\x08\xf7\xc0\x34\x41\x39\x2a\xc0\x2f\x2c\xa6\xae\x12\x39\xd1\xbc\x0b\x27\x49\x65\x5e\x18\xb2\xcc\x95\xaf\xdd\x37\x29\x0a\x0c\xb7\x8f\x01\x48\xf0\x84\x6c\xe4\xf5\xbf\x30\x1f\xac\xa4\x22\x78\x05\x02\xe6\xb3\x2c\x59\xb4\x0b\xd4\x0f\xb5\xdf\x5a\xec\xb9\x75\x03\x0b\x11\xeb\x56\xde\x4d\x65\xd4\xb7\xed\x86\x28\x49\x94\x0b\xaa\x16\x63\x6b\x4b\x6d\xcf\xb4\xee\xec\x97\x67\xf6\xc3\x36\x86\x8a\x53\xe4\xfa\x73\xb6\x5b\xb8\xa7\x04\x35\x85\x89\xec\x14\xda\x6c\x37\xce\xd5\xbc\x16\x93\x6a\xd5\xc2\x3a\x50\xac\x76\x43\xd5\x5d\x6c\x3b\x3c\x5b\xf0\x64\xcc\xa7\x0e\x6e\xaa\xfd\xc2\x56\x2b\xc1\x6c\x60\x84\x76\xa8\xd6\x99\xa0\x5c\xd8\x82\x2b\x6d\x62\x05\x53\xfc\x79\x9c\x61\x81\x93\x84\x24\x54\xa6\xdb\x9b\xcc\xff\xf4\xc7\x95\xa3\x3d\x33\x85\x81\xa4\x2d\xb3\xf5\x99\xa6\x79\x8a\x58\x9e\x4e\xac\x94\x8b\xe5\x63\x88\x29\xea\x10\x10\x0c\x34\x96\x1b\x60\x09\x87\x41\x04\x28\xb1\x23\x16\xe0\x85\x5b\x53\x05\x8e\xe6\x94\x3c\x01\x9a\xa9\x60\x44\xca\x63\x74\xc5\x15\x39\x45\x97\x38\xbb\x07\x41\xcd\x54\xea\x9c\x19\xa7\x03\x96\x48\x4b\xad\x39\xa3\xaa\x37\x62\x16\x64\xdc\xad\xca\x49\xc4\x99\x01\x9a\x8d\x60\x61\x7d\x13\x60\x45\x77\x88\xab\xca\xe5\x8b\x52\xd9\xb0\xd8\x02\x3f\x8f\x83\xa0\xe0\xb1\x49\xba\xd8\x80\x8e\x6f\xf1\xb3\x09\x83\x3f\xc7\x0a\x9b\x22\xbc\xab\x24\x77\x1b\x67\x66\x0b\x33\x19\x7c\x65\x17\x8f\xc3\x2d\xc8\x87\x2f\x29\x67\x82\x7e\xbf\xa6\xc7\xe4\x18\x7d\x97\xf0\x89\xec\x15\xa6\x2a\xf3\x50\x12\x25\x7b\xc6\xef\x07\xff\x36\x19\x76\xdf\xb8\xd5\x2f\xf8\x3e\x54\x53\x9c\xd2\xcf\x06\x5b\x44\xfe\xe9\xf4\xe4\x24\x5d\x1c\x4d\xf2\xe8\x91\x28\xfd\x17\xc8\x14\xb5\x2b\xe4\x80\xb9\x70\x1d\xcc\xd7\xba\xd5\x59\x86\x08\x6b\x45\x91\x36\x5b\x49\x12\x80\xa3\xd7\x57\xba\xaf\x57\xeb\x10\xa5\x38\xab\x2f\xc6\x69\xa7\x2c\xf2\xa6\xe3\x55\xc2\xb1\x7e\x1d\x6d\xc5\xd4\xe3\x0d\xe1\xb3\xa7\x09\x9e\x55\x54\x96\x0d\x94\x94\xeb\x94\x5a\x2a\xd2\x73\x87\x30\x16\x7d\xca\xca\xc1\x7b\x5f\x39\x2f\x2f\x78\x6b\xad\x17\xeb\x78\xc4\xfa\x12\x3d\x13\x53\x66\x17\x52\x3d\xc1\xe9\x93\x53\x39\xf7\x89\x9e\x60\x86\x86\x46\x0d\xca\xb0\x01\xa3\xb0\x8a\xa3\xd3\xac\x9c\x5b\xcc\x6a\xa0\x38\x91\xa4\xa7\x1b\x06\x93\xaa\x8b\xcf\x44\xcf\x02\x67\x19\x11\x23\x66\x11\x63\x01\x17\x9d\x73\x1b\x7b\xd3\x14\xa4\xdf\x69\x94\xaf\xab\x51\x06\x6b\x4f\xca\x79\xa0\xeb\xce\x37\xa4\x8d\xae\x5a\xe1\xba\x4c\x48\xb7\x7c\x5a\x16\x6d\x1b\x40\xff\xf6\x66\xe3\x96\x63\x5e\xa7\x9d\xf7\x2b\xd9\x0f\x50\xc5\x3b\x05\x05\x52\x16\xc5\x4a\x9d\xad\xcf\xab\xef\x25\x31\x07\x00\xc7\xe1\xe3\x98\x13\x19\x18\xf1\x91\xb7\xc5\x25\x74\x4a\xb4\xf4\x31\x62\x9a\x8c\x43\x87\x83\xc1\x2d\x77\x30\xe6\xba\xd3\x48\x70\x29\x6d\x42\x83\x69\x67\x75\x5a\xda\x0e\x25\x12\x0d\xf8\xfa\xf0\xfa\x6a\xbc\x5c\x2c\x31\x78\xe6\xca\x26\xda\x87\xb5\xd8\x05\x8d\x4d\xad\x2d\x92\x58\xac\xc5\x06\x65\x12\x4f\xce\x2e\x86\xbe\x36\x58\xa5\xeb\xe5\x3a\x89\x21\x60\x7d\x73\xa5\xc4\xe5\x19\x07\x35\x13\x2b\x4d\xac\xa8\x9a\xb8\x7e\xb3\xca\x61\xd4\xbb\xa0\x11\x56\xb6\x7e\x2d\x7f\x28\xd3\xcc\xba\x68\xff\x3d\x6d\x53\xc3\xb5\x12\x81\xc0\xf8\xd2\x81\x0b\x20\x78\xe9\xb7\xa4\xc2\x69\x16\x66\xb2\x3a\x38\x56\x3b\x4d\x73\xd4\x9a\x2e\xc1\x57\x85\x89\x8f\xb0\x09\x12\xaa\x0e\x6e\x69\x2b\x36\xf3\x78\xdd\x5b\xf4\xf9\x7d\x44\x87\xbf\x5e\x6a\x78\xb2\x28\x82\x21\xa5\x95\xdd\x5c\x65\xf3\x06\xbb\xff\x84\x78\xa4\xfd\xc6\x0d\xdd\x35\xf7\xd3\x23\x72\x09\x82\xa5\x75\x7f\x43\x8a\x64\x25\x7d\x6a\x03\xf3\xb0\x1f\xb3\x49\xb2\x3e\xf2\xb5\x2d\x82\xab\xc6\x96\x6b\x8b\xdc\x41\xa4\x42\x90\x27\x22\x80\x76\x6c\x28\x15\x2b\x1f\x55\x9c\x08\x82\xe3\x45\xb0\x22\x3e\x8e\xc3\xf4\x0c\xe6\x31\x49\x53\xad\xc0\x83\x6a\xc2\xf8\x11\xcf\x9c\xce\x52\x7a\x0b\x0a\x93\xd0\xa9\xbe\xb1\x82\x28\x10\xfd\x05\x3b\x22\x9f\xa9\x54\x5a\xae\xa8\x09\x81\x75\x8d\x80\xc4\x03\xe5\xca\xe6\xc4\xde\x70\xa3\x0f\xfd\xef\xae\x6f\xef\x07\xe7\xa3\x0f\x45\xd2\x83\xcb\xea\xf3\x40\x5b\xae\x6e\x02\x67\x23\xe6\xe3\x94\x3d\xae\x34\xec\x25\xc2\x71\x5c\x00\x46\x58\x25\xd2\xc8\x6c\x2b\x39\x72\x70\x2a\xd6\x46\x28\xaf\x68\xe6\x01\x52\xbb\x0e\xf5\x64\xad\x70\x9d\x95\x4e\x8e\x49\x50\x5b\x91\x49\xb4\xa7\xcb\x26\x84\xc4\x55\x46\xd7\x26\xca\x61\x36\x32\xf2\xec\x74\x25\xb8\x9d\x4f\xb0\xb9\x84\x37\xe3\x76\x6e\x43\xb6\xd8\xd4\x8f\xf4\x33\x89\x6f\x1b\xa4\xaa\xbd\x24\x0a\xb5\x0a\xb0\xac\xdd\x85\x9c\xd1\x4d\x34\x7e\x3f\x95\x07\xfd\x5d\x7b\xb6\x74\x5d\x20\xdd\x15\xa8\xb5\x00\x59\xab\x10\x46\x11\x11\x0a\x53\x86\xa6\x70\xb0\x59\xb4\x40\x80\x83\x42\xc0\x87\xfd\x47\x94\x52\x06\x80\x0c\xab\x96\xf6\xa1\x3c\x8f\x0d\x84\xd6\xcb\xe1\xd5\xc3\x7d\x49\x54\xfd\xfe\xfa\xa1\x5c\x2b\xbf\xff\xf3\x4a\x59\xb5\xd2\xc2\xaa\x60\xa1\x60\x8a\x45\x72\xa7\x05\xef\xf5\x2b\x53\x3b\xd1\x64\xa1\xc8\xc3\xed\xc5\x4e\xf2\x5d\xbd\xb3\xac\x11\x7a\x3d\x94\xae\xea\x81\x26\xda\x7c\x1a\x93\x68\x1d\x38\x6c\x7b\x3a\x32\x51\x50\x7a\x1d\xac\x35\xd1\x02\xc7\x61\x89\x32\x2c\xac\x1f\x2a\x36\x01\x50\xe5\x82\x6b\x46\xf3\x5a\x05\xcc\xf1\x89\xa8\x1f\xf5\xd5\xc7\xd9\x3e\x92\x4b\xac\x28\x0b\xfe\x51\x32\x7e\x32\x0d\x6f\x70\xd2\xec\x50\x56\x64\x10\x39\x61\x19\x7a\x40\xb6\x87\x10\xce\xe2\xd8\x14\xde\xef\xeb\xe6\x60\x45\x5c\x98\xa6\x56\x49\x39\xd3\x14\x69\x50\x6a\x1d\xb4\x6d\xd0\x1c\x9f\x9a\x8f\x5b\x02\xfd\x05\xc9\x02\xba\xad\x62\x29\x51\xff\x66\x58\xb3\xd6\x17\x55\x17\xd2\x97\x55\x25\x28\xf1\xde\xac\x7d\x63\x4f\x05\x59\x9f\x07\x01\x36\x65\x67\xba\x1b\xba\x94\x71\xfa\xdf\x94\x23\x09\x0e\x01\x04\xb9\x4e\x65\x28\x65\x73\xaf\xc1\x3b\xde\x2c\xc1\xb1\x58\x86\x0d\xb1\xa4\xc2\x01\xd9\xec\x9a\x10\x3f\x69\x39\x74\xbb\x17\xe2\x29\x71\x53\x87\xd8\xc6\x16\xec\x0d\x63\xaa\x98\x4d\x1b\x90\xa9\x1f\x0d\x45\x7b\x0c\x12\x40\x55\x71\x75\x2e\x5d\xc8\xb5\x85\x04\x08\xa7\x1b\x52\xdb\x66\xb8\x54\xc5\xf8\x9c\xf9\xdb\x42\x7c\xe3\x0c\x5b\xbb\x03\x28\x51\xae\x00\x45\x5d\xbd\xc2\xe3\x11\x0b\x02\x56\xa4\x51\x7b\xf4\x19\x71\x35\x5f\xa0\x90\x30\x03\xbc\x70\xc8\x7d\xf2\xc2\x4f\x69\x07\xaa\xc8\x03\x6a\x5e\xae\xda\xb2\xd4\x8f\x3d\x9d\x72\x8e\x5d\x7e\xa7\xb3\xa0\xd8\x38\xc0\xd0\xbe\x04\xed\x05\x75\x1a\x6c\xc7\x60\x8e\x06\xa3\x05\x0e\xaa\x00\x06\x98\x00\x31\x27\x92\x7d\xa5\x7c\x06\x2d\x4d\x16\x2e\xa4\xba\xe2\x1e\xd0\x52\x1d\xa6\xb6\xe5\xd5\x07\x7c\x0f\xa0\x57\x9b\x2a\x0e\xc1\xb1\x5a\x6b\xa6\x72\x3e\x5e\xa0\x84\x30\x16\x09\x3a\x6d\xb2\xaa\x7f\xce\x48\xb4\x0d\x32\xcf\x0d\x16\x38\x25\x8a\x88\x55\xe1\x48\xe5\x1a\xdd\x20\xe2\xb8\x1d\xb4\xfd\x9a\x5d\x34\x05\x4c\xaa\x95\x6e\xbc\x76\x7b\xb1\x0e\x69\xc7\xcf\x62\x23\x50\x31\x3d\x8d\x1f\xad\xe5\x7f\xc3\x59\xd8\x7e\x8a\x69\xd8\x68\xab\x00\x58\x69\xd7\x39\xbd\x0e\xc2\xcc\xfd\x12\x56\x4b\x29\x5c\xe8\x40\xa0\x65\xd6\x8f\xb2\x09\x53\x66\x1d\x2f\xdd\x0b\xef\x76\x19\x0e\x2e\x33\xb9\x72\xa8\x4a\xb9\x13\x40\x25\xa0\x52\x19\x78\x95\x7a\x5c\x18\x10\x5a\xea\x22\x24\x03\xb7\x9f\x45\x0d\x2c\x0c\xba\x56\xb2\xaa\xd6\xec\xaa\x2c\xd7\x1a\x1e\xb7\x2f\xcc\x8c\x4e\xa2\xd9\xb7\x44\xb3\x8e\x94\x4b\xd1\xb5\x9a\x3a\x89\xa8\xc0\xf7\xd8\x5a\xda\x16\x77\xa1\x3c\x41\x48\xe9\xb2\x57\xa4\x2d\xc8\x0b\x57\x3f\x65\xfe\x5f\x65\x0e\xee\x88\x3a\x24\xd5\xba\x5c\xd5\xe3\xc0\x05\x05\x1e\xa8\x24\x94\x06\x6c\x5c\x0d\x8c\xd6\x84\x41\x1a\x2b\xff\xf0\xca\x38\xb0\x20\x67\x7c\xc1\x73\xf4\x4c\xe5\x1c\x29\x3e\x62\x10\x27\xe8\xbd\x01\x8a\x23\xf3\x62\x0f\xde\x02\x74\x09\x99\x4f\x52\xaa\x10\x0e\x66\x58\x32\x49\xf6\xec\x79\xd6\x1f\xc0\x8c\x6b\xe1\x0b\xea\x90\x8f\xd6\x1c\x9a\x2d\xec\x6b\x45\x23\xbb\x22\x14\x04\x31\xcd\x2f\x8b\x51\x10\x68\x3c\xa1\x86\x59\x7b\xe6\x3a\x90\x02\x54\x6f\x6d\xb0\x58\xac\x00\x98\x4b\xa5\xaa\xdc\x2d\xd6\xd0\xb3\x06\xa0\xa0\xd8\x88\x56\x08\x05\xc5\xeb\xfb\x80\x28\x68\xaa\xfe\xb6\x2a\x65\xd5\x7d\xd2\x60\xff\x76\xa9\xd0\x8a\xbb\xc0\xf9\x50\x52\xba\x69\x94\x94\x0e\x0d\x2c\xae\x48\x08\xd8\x3e\xbc\xbc\x29\x7a\x19\xce\x78\xc4\x59\x4c\x37\x88\x17\x86\x0a\x5f\x93\x7c\xda\x67\x8b\xf5\xd8\x43\x69\x18\xa8\x6f\xed\x25\x81\x24\x52\x8f\x7a\xb9\x56\x65\x2d\xda\x0f\x29\x3d\x48\x09\x2d\xc3\x01\x91\xea\xed\xc4\xb8\x82\xbc\x9f\x08\xaa\xf7\x2f\xe5\xa2\x8e\x58\xbd\x94\xb4\x9a\x6f\xef\x9a\x46\xb2\x57\xe0\xbb\x80\x47\xb8\x59\x58\xab\xdb\x4f\x3e\x10\xcf\x28\xf4\xb6\x0e\x7f\x55\x0c\x2e\xdc\x90\x4d\x01\x54\x5a\x38\xda\x26\xd7\xbc\x86\x73\xd4\x0f\x7d\x29\xc9\x63\xed\xd9\xb5\x82\xc1\x1e\xd5\xcf\xa5\x1b\xa4\x75\x4e\x8c\x97\xe3\xed\x8d\x61\x83\xba\x63\x6f\x6b\xa8\xb8\x93\xb7\x29\x30\x0c\x80\xb2\x7b\x83\xc1\xad\x22\x53\xe8\xc6\x7b\xe0\x82\xb6\x63\xc7\x26\x1c\xc7\x83\xb3\x57\xf6\xa4\x34\x63\x13\x52\xf9\x22\xb3\xde\xb4\x2a\x74\xe0\x13\x15\x36\x26\x99\x86\xd6\x0d\x28\x07\x6d\x43\x39\x2b\xb7\x85\x17\x40\x73\x16\x13\xc1\x08\x56\xf3\xd7\xcb\x04\x39\xdb\xd5\x84\x1e\x8c\xef\x65\xb3\x42\xec\x48\x71\x39\x39\x64\x97\xe1\x96\xcb\xe3\xaf\x1d\xa7\x7e\xbd\x8d\x35\xcb\x06\x48\xf8\x02\xd1\x4b\xea\x6d\x8d\x69\x33\xc0\x1f\xda\x84\x4a\x77\x4a\x16\xa9\x57\x39\x5f\x26\x6d\xa6\xc6\x36\xb5\x94\x30\xa3\x4f\x7b\x58\x56\x7b\xcd\x92\x7c\x11\xf9\x29\x2f\x9f\x32\xb1\xaa\x80\x77\x1e\x64\x51\x40\x15\x75\x85\x29\xb3\xdc\x6b\x55\xe2\x84\x96\x7b\x53\x5c\x97\x2b\x71\xf0\x59\x38\x5f\x7c\x12\x4e\x97\x92\xd1\xa5\x64\xd4\xec\x51\x97\x92\x81\xd0\xa1\xa5\x64\xac\x53\x41\x57\x19\x69\xbd\xdf\x10\x0a\xad\x96\xaa\x1b\x99\xfd\x5d\xa3\x47\x6e\x9f\x76\xe0\xec\x9c\x61\xcc\x96\xfd\xc5\xfe\x50\x1b\xb6\xb5\xf4\x59\x75\xb6\xa1\xcd\x95\x2d\xaa\xae\x0b\x2c\xe2\xc4\x42\x10\xda\xa0\xea\xb2\x8d\x6c\x95\x39\x77\xc4\xbe\xe7\xcf\xe4\x89\x88\x1e\xc2\x0a\xa5\x1c\x70\xad\x8a\x18\x1e\x38\x08\x25\x34\x7b\x13\xab\x81\xd1\x15\x4e\x49\x6c\x8a\x5d\x06\xa1\x97\xd6\xa8\x6c\xdd\xc1\x75\x48\xbb\x00\x1a\x6b\xb6\xc1\xc5\x76\x8c\x98\x09\x87\x34\x21\x78\x20\x2b\x50\x37\x31\x20\x98\xdf\x79\x67\xf5\xef\x8e\xd1\xbd\xbe\x9f\xa8\x2c\x8f\x37\x00\xde\x6b\x1a\xdb\x88\xcd\x04\xcf\x33\x6f\xe7\xe3\x13\x53\xf5\xd8\x44\x68\x2d\x3b\xab\x61\x30\xce\x53\x1d\xe1\x58\xeb\xe2\xab\x09\xe7\x4d\x22\x65\xb7\x82\x59\x0a\x09\x48\x1f\x43\x1f\xfe\x67\xc3\xf1\x8d\x8f\x39\x00\x97\x59\x85\xc1\xff\x42\x0e\xf0\x73\x22\xc1\x2a\xe4\x3d\x03\xa5\x5c\xf7\x32\x9e\x42\xed\x38\x57\xd9\x6d\xbd\x6f\xc5\xf9\x1f\xea\xa1\x1a\x8a\xce\x6d\x5c\x9a\x49\xa4\xb5\xf7\xc4\x8b\x59\x74\x5b\x47\xf8\x36\xf1\x8b\x9b\x5c\x64\x1c\x24\xb1\x64\xe1\xa0\x25\x2c\xc8\x5f\xc6\xb3\xdc\xc4\xde\xd1\x30\x14\xab\x96\xb2\xa9\x54\x97\x58\x45\x73\xcd\xb9\x0b\x54\xb6\x3d\xc5\x24\x16\x5c\xf9\x65\xad\xbc\x35\x33\x38\x0b\x7b\x6f\x70\x7b\xac\xa2\x9e\x20\xc6\xd0\x07\x72\x7a\x49\x22\xd5\xfd\x19\xd7\xa0\xad\x65\x1e\xd8\x45\xdd\x27\xf6\x89\x9e\xe8\x3a\x2a\x5a\x37\xfe\x76\xb4\x55\x2e\xb6\xb6\xf7\x68\xc7\x1d\x60\x6e\xce\x2d\xa8\x58\xf1\xa2\x2d\xce\xdb\x10\xa2\x20\xe8\x76\x99\x4a\xb6\x40\xc2\x93\x16\x47\xbc\xc5\x35\xc5\x99\x56\x22\x14\xd7\xb7\xa4\x98\x19\x39\xd6\xc4\xf2\x22\x8c\x72\x41\xdd\xd9\xaf\xe4\xad\x37\x53\x07\x58\x28\x4f\xc2\x62\x5a\x11\x0e\xea\x0c\x9a\xa0\x04\x1c\xa9\x1c\xfb\xe0\x49\xa0\x09\x57\xff\xde\xe4\xe8\x3b\xe7\xbf\x70\xe2\x5d\xcd\x9e\xae\x25\xec\x1d\x76\x19\xd7\x61\x30\xb6\x3a\x69\x94\xcd\x02\x00\xc7\x7a\x2b\x71\x9b\xb2\x17\xb5\x5f\xb6\x2b\xdd\x51\xfb\xa9\x93\x7d\xb6\xf9\x76\x05\xc0\xd4\xd6\xf1\xe3\xa5\x58\x7c\x1b\xac\x6b\xa5\xa7\x10\x5a\xd3\xda\xef\x00\x78\x98\x42\x30\x01\xb6\xd2\xd4\x7f\xf9\xbf\x4c\x99\x34\xb3\x34\xff\x85\xb8\x18\x31\xf3\x7b\xcf\x97\x28\xd1\x2f\x14\xd8\xbf\x38\x25\x05\x8c\xa7\x28\x03\xfe\x01\xec\x89\x05\x6c\x33\x38\xcf\xbe\x42\x83\x1e\xc3\x63\x3e\x21\x82\x11\x3d\x34\x07\x90\xe0\x99\x59\x8a\x19\x9e\x01\xaa\x74\x0f\xa2\xf7\x40\x5c\x2d\x54\x11\x43\xd2\xa6\xd4\x25\x70\x2b\xcd\x2c\x6d\x4e\x70\x51\xf2\x19\xfa\x34\xa2\xac\x05\xb5\x2d\x42\x40\xea\xa9\xff\xd6\xf6\xbf\x9d\xc4\x7e\xdf\xbf\xfb\x61\x7c\x3b\xb8\xbb\x7e\xb8\x3d\x2b\x89\xed\x67\x17\x0f\x77\xf7\x83\xdb\xda\x67\x45\x3e\xed\x5f\x1f\x06\x0f\x0d\x8f\x5c\x03\x17\xfd\xef\x06\xa5\xfa\xe9\x7f\x7d\xe8\x5f\x0c\xef\x7f\x1e\x5f\x7f\x1c\xdf\x0d\x6e\x7f\x1c\x9e\x0d\xc6\x77\x37\x83\xb3\xe1\xc7\xe1\x59\x5f\x7f\x19\xbe\x7b\x73\xf1\xf0\x69\x78\x35\x76\xa1\xd1\xe1\xa3\x9f\xae\x6f\x7f\xf8\x78\x71\xfd\xd3\x38\xe8\xf2\xfa\xea\xe3\xf0\x53\xdd\x2c\xfa\x77\x77\xc3\x4f\x57\x97\x83\xab\xd5\x75\xda\xeb\x57\xa3\xb1\x04\x74\x70\x91\x05\x46\xa3\x40\x4c\x9a\x2c\x2c\x69\xd3\x5f\xc1\x77\x71\x63\xe8\xf1\xa8\xe7\xfe\x32\x55\xd5\x8f\x34\x0b\x74\x7e\xb1\x82\x7b\x8c\x98\x77\xae\xfa\x4b\x55\xe1\x99\x74\xe9\xd1\xa5\xd1\x9e\xa2\x3e\x9c\x15\x50\x18\x4a\x9d\x42\xf6\x85\x1f\xa9\x73\xc7\x03\x1d\x26\x34\xa5\xe0\x99\x47\x47\xa8\xba\xe1\xe5\x06\xed\x9c\x60\x08\xd6\x6f\x17\xaf\x3a\x0d\xb2\x9a\x79\x0d\x94\x72\x8a\x1c\x87\x26\xc6\x9c\x60\xf0\x71\x17\x0c\xa7\x34\xaa\xa6\x89\x00\x44\x2c\x2a\xe0\x50\xaa\x2d\x96\x08\xac\xdc\xf2\x9c\xa0\x1f\xfe\x52\x0c\x0a\x3c\x18\x56\xf3\xce\x97\x8a\x29\xda\x07\x22\x37\xab\xba\x8e\x3c\x4b\x3d\xb9\x63\x6e\x4d\xcb\x70\x6e\x6d\xd1\x76\x70\x37\xe5\x2c\x80\x44\x2b\xf9\x9e\xf4\xf1\x36\x33\xaa\xd0\xf8\x29\xba\x03\x38\x16\x59\xa8\xee\x7a\x17\xb3\x24\x9f\x51\x86\x68\x9a\x25\xc0\x63\x8c\x3e\x3f\x21\x73\xfc\x44\xb9\xab\x5c\x62\x0a\xbc\xc0\x3a\x5a\xd1\x0a\x1d\xa1\xc6\x83\x72\x8a\xfa\x71\x2c\xcb\x0c\xae\x44\x39\x8e\x65\x1e\x95\x87\x1d\xa2\x98\xb1\xd8\xb3\xcd\x0a\x1d\x15\x47\x0e\x56\x6c\xff\x80\x33\xcb\xec\xb0\x7c\xf7\xee\x70\xfd\xeb\x15\x1c\x3b\x52\x1e\x6f\x25\x0c\xdc\x63\xf9\xe8\x58\xf3\x3a\x81\xc0\x41\xff\xec\xd6\xa3\xc5\x00\x6a\xdb\xa9\x5f\xd9\x31\x1c\xb4\xed\xfa\x6c\x44\xae\x5e\xd3\xa5\x9b\x71\x52\xa9\xda\xd6\xba\xbf\x52\xd5\xb7\xda\xce\xf6\xea\xed\xa9\x97\xc6\xe0\x48\x8e\x3d\xfd\x6f\x30\x8f\x1b\xf8\xf4\xda\x7f\xb9\x52\x64\x1b\x07\xeb\xb6\xa9\x0f\x68\x29\x91\xd8\xfa\x81\x56\xd2\xe1\x9e\x20\xa8\xda\x0b\x83\x50\x73\x83\x46\xe0\xee\xc3\x94\xd9\x4a\x4c\xc4\xfb\xa3\x5c\xed\x71\x7d\x8e\x7d\x75\x40\x3c\xe1\x4f\x25\xe5\x32\x25\x52\xe2\x06\x50\x95\xc0\x24\xb6\x0b\x63\xf0\x27\xd4\x7e\xd8\x92\x9e\xdc\x99\xbc\xd7\x5f\xad\x32\xfa\xdc\x86\x9a\xb1\x9b\xa8\x16\x58\x63\x17\x0d\x8c\xae\x4d\x4e\xa0\xe6\x2f\xbd\x22\x98\x86\x8b\x20\xc6\xa8\xc9\xfd\xd3\xd2\xac\x56\x5d\xb0\xda\x02\x5b\xa1\x0b\x6f\xf3\x18\x9c\xa0\xf5\xad\x51\xbb\xad\x5f\x05\x97\xd7\x67\x03\xaa\x2b\xf9\x3b\xc3\xe2\xe3\x11\x4f\x53\x23\x17\x94\x6c\xa9\x3d\x84\x4d\x2a\x66\x21\x4d\xc9\x3c\x9a\x1b\x2f\x93\xbe\x32\x7a\x23\xf6\x1c\x6c\x48\x29\x58\xb9\x1f\xb6\x04\x88\xa7\x9f\xf5\x71\xa3\x4f\xa5\x10\x70\x10\x19\x29\xc4\x23\x07\x84\x60\x1c\x82\x45\xe5\xb0\x35\x04\x1e\xec\xd7\x0e\xa4\xbe\x45\x99\xc8\xca\xfa\x36\x15\x8b\xf4\x73\x0b\x6a\x34\xee\xa0\x29\xb7\x1d\x42\x50\x26\xb2\x6e\x04\x7b\xa8\x12\xf9\xaa\x10\xe4\x3e\xa5\xd4\x64\x20\xa7\x13\x8b\xa3\xa1\xa7\xeb\x56\xfb\xf7\x6e\x46\xbf\x37\x7e\x87\xbc\x01\x78\x25\x68\xcd\xa3\x90\xa3\x23\x2d\xb3\x3a\x40\x00\x1b\x88\x21\xd1\x91\x41\x36\xfc\x0a\xa2\x41\xfb\x37\xc3\xaf\x7a\xe8\xab\x30\x23\xee\xab\xad\x0e\xa0\x1d\xb7\xad\x14\x09\xda\x54\x29\x2d\xa2\x7c\xec\x60\xaf\x2a\x27\xd1\xee\x99\x3d\x88\xa8\xe9\x1c\xea\x2f\x4b\xdf\x80\x73\x1a\x2a\x1f\x1a\xff\xad\x0f\xca\xb6\x2e\x20\x23\xe3\x52\x59\xb3\x76\xf1\x88\x4d\x16\x55\x27\x4f\xcf\x7b\x79\x5a\x9f\xd2\x9d\xab\xf9\xe9\xf6\x96\x53\xa8\xf7\x1c\x2c\xbc\xfa\x3e\x58\x93\x94\xdd\xf7\x25\x67\x0a\x2e\xd6\x14\xa5\xd0\x45\xd9\xd7\xcd\xaa\x64\x2f\x73\x8b\x59\xbb\x29\xeb\xe4\x9f\xf7\x46\x6e\x2d\x42\xd3\xfb\x75\x2b\x62\xb3\x12\x1a\x84\xeb\x8e\xca\x5e\x96\xca\xf6\x91\x95\x51\x1e\xdc\xe6\x17\xe8\x99\x91\xe3\x82\x66\x9c\xc1\x55\x2b\x13\x9e\xc1\x97\x4a\x3e\xae\xaf\x95\xbc\xa1\xcf\x37\x58\x93\xf5\x4e\xdf\x3b\x13\x38\x60\xdc\xae\xcb\x63\xad\x0e\xb5\xaf\x6c\xa1\x24\x4e\x4d\x06\xa6\xa2\x29\xe9\x99\xca\x5c\x45\xb0\x83\x3d\xaf\x40\x6e\x26\x46\x69\x4e\xa8\x70\x9d\x58\x1c\xc4\x8d\x52\xf6\x37\x94\xc6\x9b\x68\x64\x87\x48\x93\xab\xfe\xe5\xe0\x7c\x3c\xb8\xba\x1f\xde\xff\x5c\x83\x71\x59\x7e\xec\x60\x2e\x83\x17\xee\x7e\xbe\xbb\x1f\x5c\x8e\x3f\x0d\xae\x06\xb7\xfd\xfb\x35\x10\x98\xab\x3a\x6b\x82\x57\xcc\x65\x9d\xfa\xb6\x09\xc4\xa2\x33\xf3\xd6\xf4\xbe\x0c\x84\x19\x74\x42\x49\x03\x18\xa6\x81\x27\x60\x31\x11\x28\x26\x4f\x24\xe1\x59\x61\x56\xad\x5d\xb0\x00\x25\xb3\xa6\xfd\x55\x48\x99\xd0\x66\x75\x8d\x4f\x91\x29\xf3\x17\x54\x3a\xf6\x0d\x82\xc8\x87\x05\x61\x5f\x29\x44\x3e\x67\x09\x8d\xa8\x0a\xd2\x17\xb9\xb0\xee\x15\xe3\x3e\x84\xe8\xd4\x35\xc4\xb5\xb7\x68\x94\xbd\xeb\xfc\xa1\x27\x7d\x59\xdb\xf7\x27\xca\xa3\xb6\xad\x2d\x72\xb4\x07\xc5\xbe\xc1\x69\xbc\x04\x2a\xb7\xc5\xe8\x5e\xc2\x3c\xb0\x9c\xa3\x63\x53\x10\x1b\x00\xe7\xea\x07\xb9\xfe\x36\x5c\x15\x27\x53\x3a\xd7\xab\x03\x65\xda\x51\xea\x1b\x87\xbb\x94\x6a\xaa\xee\x01\x1d\xc4\xc6\xae\x6f\x18\xb0\xb0\x54\xd3\x86\x99\x98\x53\x8c\x04\x49\xb9\xd2\x0a\x98\x89\x08\xe8\x69\xa1\x8a\xe2\x84\xfe\x0a\x38\x5a\x82\x1c\x07\x11\x14\x0e\x7d\xac\x70\x1f\x58\x8c\x8b\xe3\x11\x3b\x1f\xdc\xdc\x0e\xce\x34\x43\x3a\x46\x0f\x12\x20\xb2\x4a\x53\x3f\xb7\xe4\x6d\xc4\xb1\x30\x92\x81\x32\xa9\x08\x6e\x0a\x06\x23\x42\x70\xd1\x9e\x3f\xf8\xfe\x06\xf0\x5d\x3d\x79\xc3\xb3\x92\x6d\xca\x19\x00\xae\x1a\x0b\x62\x07\x39\x03\x7b\xcf\xc9\xba\xc5\xcf\xa5\x15\x09\x21\x42\x40\x12\x29\xaf\xfa\x0b\xae\x36\x80\x8c\xb6\x9f\x5f\xa9\xcf\x1b\xf8\x76\xd5\x3c\xef\x21\xc4\x4e\xaa\x02\xb1\xd4\x80\x9a\xfa\xca\x3c\x95\x79\x36\x8a\x8a\xe2\x2d\xe0\x44\x2a\xa4\x3f\x21\x33\xcc\x90\xc8\x19\xab\x40\xd8\x86\x96\xb6\xe5\xa0\x99\x4d\x8f\xaa\x5e\x33\x9c\xf2\x9c\x99\xd2\xb2\x7a\x54\x35\x83\x91\x19\x61\x6a\xcd\x60\xde\x0a\x2c\xa6\x32\xd4\xc3\xc5\x8b\xa9\x19\x68\x13\x64\x4c\x9d\x3f\x09\xaa\x6e\x6f\x76\x2d\xbb\xa0\xbc\x92\x53\x49\x1f\x2a\x7f\x3f\xd7\x6b\xd9\x58\x3e\xee\xdc\xdd\x3d\x96\x8f\xeb\xbb\x8a\x49\xf4\xb8\xe9\x65\x53\xcd\xcc\x4c\x6c\xd1\xf2\x25\x63\xdf\x42\x3f\xb5\xe5\x63\xa0\x56\x7d\xf4\x88\xbe\xbf\xbf\xbc\x40\x53\xaa\xe5\x5e\x7d\xad\x5c\x61\x2d\x63\x3f\x88\xc4\xd9\x85\xad\x6d\x35\x17\x89\xbf\x7b\x61\xe3\x9d\x28\x15\x48\x09\xfa\x46\xc3\x33\xe2\x8c\xbd\xc2\x22\x02\x56\xca\xc7\x08\xcc\x62\x9e\x9a\x79\x9c\xc8\x7c\x3a\xa5\x9f\x8f\x15\x16\xdf\x34\xac\x87\x89\xaa\x18\xff\x9d\x4f\xc6\x7a\x44\x3b\x5e\xc4\x75\xcd\x21\x5b\x4b\xdb\x2f\x9b\x9d\xd9\xb9\x79\xf7\xff\xf2\x09\x64\xbb\x43\xc2\xbe\xf3\xce\xd9\x48\x05\xfb\x8a\xa3\xa4\xa2\xb8\x74\x09\x88\x25\xe2\x42\x10\x9b\x24\x6f\xea\x9f\x66\x58\x28\x0a\xd6\x5a\x07\xe4\x52\x42\xf0\x2f\xb6\x28\xac\xf6\x3e\xc7\x05\x5a\xf6\x84\x10\x70\xf0\x64\x34\xd9\x4c\xe9\x3d\x2b\xf9\x26\x2b\x27\xd0\x46\x9e\x5a\x6c\x4f\x30\xc8\xac\x15\xb1\x06\x4f\x84\xa9\xbd\xe8\x27\xd0\x44\x4d\xda\x7e\x3b\x2f\x83\x29\x43\x3a\x3c\x2f\x2e\x37\x17\xd2\x1b\x46\x35\x29\x81\xe1\x9e\xb7\x89\x52\xd6\xa5\xde\xe4\xe8\x7f\x6a\xed\x3b\x86\x57\x97\xd7\x65\x4d\x68\xbc\x5d\xed\xa2\xca\x7b\x11\xd6\xea\xca\x0f\x6c\x09\x36\x24\x89\xb1\x62\x04\x20\x17\x56\x39\xad\xee\xb9\xe9\x53\xd3\x56\xa5\xcb\xb5\x5b\xbe\x05\xb2\x4e\xa9\x99\x4f\x04\x52\x3a\xf7\x11\x88\xbe\x49\xee\x3e\x0c\xe4\x41\x24\x10\x42\xbd\xd2\x8a\x65\x4a\xa1\x6b\xce\xe7\x25\x3b\xdc\x42\x46\x37\x83\xd1\x42\x23\xc9\x04\x89\xf4\x55\x76\x8a\x6e\x12\xa2\x25\xaf\x5c\x4b\x5f\x79\x92\x38\x14\xb2\xd5\xd2\xe1\x46\xc8\x79\x2f\x3e\xaf\x40\xf7\x58\x31\x31\x87\xc2\xb7\x7a\x66\xc1\x1a\xec\x1f\x71\x21\x58\x5f\x30\x21\x83\x21\xb1\xac\x45\x02\x87\x5f\x98\xb8\x59\x30\x25\xe1\xd2\x45\x46\x7f\xd5\xec\x57\x10\x39\xe7\x8d\x49\x8e\xe1\x6c\x5f\x66\x0e\x6e\x29\x5f\x70\x12\xee\x3e\x6c\x8a\xab\x6e\x21\xd7\x54\xee\xc0\x92\x88\xb3\x6a\x8a\xbe\x42\x85\x8f\xfe\xb0\x98\xb0\xf6\x6e\xb5\x43\x83\x5b\xb2\x30\xb5\x85\xf8\x6c\x85\xeb\xa2\x50\x66\x16\xc6\xf7\xea\x3f\x2f\x0c\xc8\x45\x4a\x00\x55\xb2\xa8\x8c\x87\xf4\x5d\xdb\xb4\xc5\x7a\x9e\xe3\x5c\x6c\x04\x49\x51\x20\xab\x6f\xc2\xb9\x6d\x32\x4a\x31\x2c\xbd\x08\xf5\xec\xd2\x16\xbc\x00\x31\xda\x86\x1a\xc9\x12\x5a\x9d\x25\x1b\xb3\x8c\xb5\x2a\x5e\x33\x53\xde\xd5\xad\x06\x52\x72\x21\xca\xbc\x94\x77\xad\x44\x81\xa5\x09\x74\xf8\x67\x9b\xe3\x9f\xd9\xea\x27\x9e\xf6\x00\xad\x50\x09\x48\xfc\x2f\x1c\x68\x55\xc1\xc1\x1a\xbd\xd7\x65\x3e\x95\x76\xa7\x55\x9a\x53\xe9\x0b\xcd\x4b\xce\x77\xf4\xc0\xe9\xc9\x2c\xc6\x90\x38\xba\x4b\x14\x4e\x69\xfe\xc6\x7b\x00\x6d\x92\x18\x19\xf4\x02\x83\xce\x6c\xd7\xce\x7b\x4e\x32\x2c\x08\x53\x23\x76\xab\x47\x61\xbe\x28\x22\x31\x5c\x1c\x8e\x43\xcc\x87\xba\xba\x53\x84\xed\x57\xb0\xe8\x4d\x81\x70\x72\x6c\x5e\x02\xd5\xf4\x05\x93\xec\xbf\x33\xef\x18\xcc\x03\x8b\xf9\xa3\xa7\x4a\xa7\x85\x1a\xaf\x05\xc8\x68\x4e\x01\x72\x20\x26\xd2\x5e\x48\x54\x59\x4c\x09\x2f\x7e\xe7\xc4\x61\x44\xc3\x67\x9e\x7f\xd5\x31\x6c\x67\x28\x60\xce\x40\x27\x47\x2c\xe8\x63\x05\xa4\xa8\x51\xd6\xb7\x54\x25\x60\x9f\x69\xec\x1d\x5f\xf0\x4f\xb3\x43\x5c\xd0\x19\x65\x41\x61\x27\x3b\xbd\x14\x67\x60\xde\x35\x67\x90\x4f\xfd\x9d\x76\x6f\xb3\x0c\x8e\x61\xc4\xff\xf3\xdf\x7f\x3b\xa6\x4d\xde\x0f\x39\xb6\x2b\x70\x08\x3b\xb9\xd9\xb6\x84\x3b\x1f\xa0\x88\x34\xa0\x53\x04\x3a\xad\x2c\x65\x4e\x14\xbf\xda\xcb\x4d\x13\x0d\x57\x73\xe3\xee\x2d\x93\x3b\xf8\x46\x44\xbe\xe2\x6c\x98\x2b\xe6\x6d\xd7\x92\x4a\xc8\x0e\xd0\x23\x31\x27\xd9\x1b\x08\xc2\xa2\xe9\x4b\x66\x9a\x11\x2b\x3e\x91\x06\x0f\xc5\x40\xd0\x9a\x1f\x8a\xd5\x69\xb9\x30\xab\x78\x7f\x11\x29\x51\xb8\xc3\x83\x68\x64\x57\xe2\xc3\x44\x91\xea\xf6\x2b\x37\x6d\x85\x73\x07\x58\x8c\xbb\x44\x6d\xce\xb1\x7c\xb9\xd0\x9c\xda\xd2\x54\xc6\x9a\x1e\x0a\x0f\xeb\x82\x74\xcc\x20\x4d\xb6\xa7\xde\x90\x5c\x12\x61\x38\x9d\x87\xc3\xb2\x94\x10\x22\x4d\x42\x8c\xe6\x1a\x5f\x23\x49\x31\xdd\x28\x9f\x40\xbf\x5f\x8f\x83\x59\x72\x36\xe0\x19\x11\xe3\x38\x57\x4b\xc7\x62\x55\x8c\xbf\xfe\xe8\x3c\x57\x8b\xf5\xed\xcb\x04\x2f\x97\xe6\x59\x85\x3d\xaa\xdf\x6f\x68\x76\xbd\xc4\x1c\x84\xf8\x94\xa5\xe6\x06\x64\x4f\x52\x41\xf6\xb4\x31\xa7\x25\x13\x09\xdc\xc0\x4c\x01\xa4\x5e\xa1\x49\xd9\x2b\xda\xe0\x8f\xc3\xc8\xd1\x24\x2f\x4c\x4a\xbe\xa2\x43\x7c\x3c\x62\x1f\x4d\x49\x14\xd0\xf2\xcc\x00\x22\x48\xf8\x21\x9f\x33\x2e\x49\x29\x03\xad\xa6\x4a\x83\xcd\x20\xb5\xc3\xa8\x17\xd6\x8b\x8f\x76\x97\xd5\xdf\x1c\xa3\x75\x79\xc3\x97\xa7\x5c\x4f\x81\x3b\x89\x83\x11\xcd\xa8\xa6\x9d\x71\xed\x49\x7b\xb9\x4a\xc1\x45\x4c\x17\xe0\x60\xa9\x64\xd1\x43\x7e\x7a\x15\x82\x48\xc8\x13\x01\x73\x3a\x8c\x31\xac\xc5\x51\xb6\xeb\x35\xb0\x93\x75\x07\xa8\x48\xff\x04\xb6\x80\xe2\xea\x08\xca\x49\x72\x75\xb4\x58\x4e\xff\xd9\x39\x53\xad\x2e\x30\x65\x03\xf1\xbc\x1f\xd6\x24\x59\x10\x85\xc8\x67\x45\x6c\xd5\xd2\x7b\x97\x4b\xb8\x9c\x7e\x80\xea\xd3\xa1\x9a\x65\xc7\x17\xaf\x1f\xdd\x77\x19\xe4\x2e\x59\x32\x76\x57\xbe\x4d\x1e\x9c\x63\x16\xdb\x8c\x58\xab\x64\x68\x61\x0b\x66\x67\x8c\x6e\x3e\x57\xc0\xe6\x75\x06\x60\xee\xa6\x4d\x83\x3a\x0f\x17\x99\x53\x18\xb5\xca\x02\xe1\x15\x5c\x68\xc9\x3d\x67\x8a\x26\x9a\x38\xec\x18\x24\x9a\x42\x64\x9c\x05\x2a\x84\xc8\xf6\x26\x2c\x3c\x2a\x25\x65\xb3\xb1\x5d\x49\x97\xdc\xd9\xee\x62\x28\xd3\xd4\xa5\x69\xca\xfc\xf8\x9d\x6b\x68\xb5\x51\xdd\x90\x35\xe0\x94\xb9\xb4\x52\xd0\x38\x18\x77\x93\xb1\x00\x73\x2e\x1b\x75\x4c\x63\xb3\x14\xd4\x14\xc7\x86\x89\x6e\x62\x77\x07\x99\x6e\x19\xc7\xa1\xb8\x42\xa4\x4d\x15\x35\x09\x60\x10\xa9\xaf\x1a\x72\x61\x65\x63\x0e\xec\x90\x79\x11\xcd\x96\xe6\xf2\x99\xfe\x95\x74\x5a\xec\xba\xb3\xe9\x08\x38\x49\x26\x38\x7a\xf4\x5a\x98\xb7\x45\x70\xe1\x4a\x1b\x68\xb9\x12\x6a\xb7\x19\xe2\xd2\x03\x8d\x40\xba\x09\xbd\x85\x06\xc9\xc7\x0e\xbb\xe8\xdc\xac\x9a\x85\x48\x33\xd0\x4d\x66\xf4\x26\xb7\x21\x26\x59\xc2\x17\x69\xc3\x7d\x56\x4d\x21\xdc\x25\x52\xa7\x29\x83\x71\xaf\x57\x59\x85\xe9\x6d\x7c\x99\x2d\xe5\x23\xed\x01\x57\x6a\x03\x2e\xf9\x29\xe1\x13\x30\xa9\x5a\xf3\x83\xcb\xb1\x09\x52\x3d\xaa\xe7\x79\xd3\xcc\x9f\xea\x89\xa4\x32\x4b\xb4\x32\xd3\xdc\x83\xc9\x39\x79\xd9\x7d\x33\x18\x05\xeb\xad\x83\xed\xa3\xb5\x6b\x3f\x7f\x09\x04\xe3\x0b\x27\x09\x98\x77\x0d\xff\xaa\x58\xd9\x4c\xb2\xdf\xb1\x71\x52\x2b\x3e\x62\x0a\xcf\xdc\xe6\x5a\xe1\x92\x3f\x33\x22\xe4\x9c\x66\xa5\x9a\x8e\x3b\x87\x87\x5b\x8a\xb6\xff\x31\xc1\xd0\x1b\xf0\x4e\x9e\x1d\x19\x84\x12\x4d\x1f\x32\xc3\x51\x61\x15\x8d\x12\x2c\x25\x9d\x2e\x02\x60\x11\x1f\x69\x0b\xe9\x5b\x65\x33\x42\x50\x46\xad\x8e\xd1\x98\xf1\xed\x27\xb3\x7e\xf7\xac\xc2\x87\xf2\xf1\xa3\x71\x88\xe0\xa6\xef\x93\x65\x14\x19\x77\x53\x5b\x34\x99\x46\x24\x5a\x03\x21\xb0\x5d\x26\xfc\x4a\xf0\x9f\x66\x33\x42\x21\x4c\xda\x61\x5b\x45\xc6\x03\x7e\x84\x60\x38\xaa\x94\x4a\x09\x9b\xaf\x15\x27\x67\x17\xd6\xc4\xe9\xc1\x42\x00\x53\xa1\xf8\xb8\x87\xe4\x4e\x20\x5b\x6d\xe8\xe2\x9c\x24\x64\x2f\x11\xd7\x5b\x10\x49\x35\x9c\x21\x20\x8f\x95\xa4\x51\x94\x19\x58\x6f\x5c\xd8\x22\x10\xbc\x01\xaa\xa7\x7e\xe8\x3f\x99\x81\xda\x58\xf0\xba\x5d\x04\xc3\x20\xac\x72\x5b\xdd\xa5\x0e\xf3\xcf\xb4\x60\x49\xae\xe8\xa6\x44\x57\x45\xa7\x5e\x5e\x39\x44\x52\x7b\xe3\x90\xe9\xa5\x71\x7d\x22\x6d\xc2\x3b\xd6\x1e\x80\xad\x38\xd0\x32\x9f\x6e\x47\x17\xd6\x81\xaa\x38\x9a\x11\xc0\x64\xa1\x2c\xa6\x4f\x34\xce\x71\xf2\xae\x68\x62\x6f\x09\x1f\x7b\x5a\xfd\xfa\x43\xbe\xd9\xa9\xbd\x23\x4a\xba\x2b\x61\x09\x46\xd1\x6e\xce\x01\x6e\xc1\x61\x1c\x4b\x23\xb8\x7e\xf1\x72\xcb\xce\x20\x09\x76\x64\x16\x2a\xe0\x37\x24\x50\x99\x39\xc6\xf6\x0b\x0f\x0b\x50\x02\xc4\xc2\x25\x10\x41\xb3\x46\x6f\xcf\xf5\xaa\xa4\xfd\xa5\x8b\x5e\x9b\xd3\x78\x75\x54\x05\x75\x77\xf2\xe0\x66\xf2\xa0\x03\xd9\x3c\xc0\xcb\xbf\xe9\x18\x1c\xe6\xfd\x73\x00\xc2\xe1\xd2\x95\xb8\x3f\x11\xf1\x1d\x91\xc9\x41\x48\x8a\x4b\x5b\xf1\x5a\xf2\xe2\x91\x43\x39\x2a\x30\x83\x0e\x77\x8b\x0e\xe3\x24\xdf\x5a\x37\xd0\xcb\x5d\xb0\xeb\xe9\x65\x2f\xf4\x01\x80\x9f\x18\xf2\xa2\x73\x5b\x41\x04\x0e\x6f\x10\x4b\xb7\xe4\x7b\x58\x13\xa5\x68\x87\xd7\x2a\x3e\x71\x69\x39\x5f\x62\x7b\x6d\x12\x5c\xeb\xcd\x7d\x49\x52\xdb\x74\x2c\xfb\xd0\x51\x5e\xd8\x8b\x63\xa9\x31\xf8\xa0\x0b\x16\x6e\x77\x8b\xd6\x40\xeb\xb8\x2d\xdb\xe7\x21\xab\x2b\xfb\xb6\x7b\x1a\xbf\xcb\xf1\x1b\x67\x82\x4c\xe9\xe7\xad\x44\xf1\x1b\xf8\xd4\xaa\x97\x7a\x99\x2b\x85\xe4\xc0\x3d\x03\x85\xe7\x82\x80\x46\xbb\xd2\xb6\xd8\xd4\x88\x15\x99\x91\x36\x2d\xf2\x91\x2c\x10\x17\xa5\x9f\xb6\x05\x81\xdc\x7f\xd1\x3b\xb3\xaf\x73\xa5\x32\x79\x7a\x72\x32\xa3\x6a\x9e\x4f\x8e\x23\x9e\x9a\x38\x7c\x2e\x66\xe6\x8f\x13\x2a\x65\x4e\xe4\xc9\x1f\xff\xf0\x87\x62\x8b\x27\x38\x7a\x9c\x19\x58\x9d\x65\xbf\x53\x79\xcb\x09\x96\xbb\x45\xf6\xb8\x14\xb6\x17\x4e\x65\x0e\xba\x71\xc9\xa3\xfa\x1b\xa9\x70\x9a\x85\xa1\xa0\xa6\x6c\x9c\x54\xb8\x28\x56\x01\x79\x89\x7a\x9a\x68\x8e\xb3\x8c\xb0\x66\xb3\x83\x49\x34\xdd\x81\xf5\xb8\x54\x55\x3b\x42\xf2\x39\x4b\x30\x2b\xc3\x2f\x40\xe5\x25\x41\x22\xc2\x94\x85\x06\x28\xca\x5d\x03\x35\x1a\x08\x20\xc3\xff\x37\x4b\x45\x84\x39\x52\x59\x94\x54\x73\xc3\xb1\xe5\x4d\x5d\xd1\x4b\x1c\x2c\x5d\xb5\xa4\x6c\xb1\x76\xc4\xad\xda\xaa\x24\xc5\xbb\xe5\xf2\xe7\x9b\x97\xb4\x11\x9c\x8d\xc9\x67\xcd\xe4\xe4\xb6\x80\x5d\x0f\x92\x48\xd4\xff\xe9\x0e\xc9\x05\x53\xf8\xf3\x29\xba\xa4\x0c\x04\xd8\xef\x79\x2e\x24\x3a\xc7\x8b\x23\x3e\x3d\x4a\x39\x53\x73\x74\x09\xff\x6b\x7f\x7a\x26\xe4\x11\xfd\x4c\xb0\xb0\xfc\xc1\x96\xa4\xf3\x35\xd8\x35\x09\x89\x9c\x49\x44\x9e\xf4\x09\xfd\xc3\x7f\xa2\xd4\xb4\x7c\x8a\xbe\x3d\xf9\xc3\x7f\xa2\xdf\xc1\xff\xff\xff\xd1\xef\x1a\x34\xfd\xcd\x20\xbf\xa0\x72\xf1\x6d\xd9\x9d\xdb\xab\xac\xd4\x16\x15\xe7\xcf\x04\x2f\x76\xaa\xb6\xe5\x47\x1a\x3d\xf2\xe9\x74\xac\x09\xc3\x24\xf2\x8d\xb1\x58\x82\x8b\xde\x12\x3f\x95\xda\xda\xd3\xa6\x92\x5d\x51\x43\xc6\x76\x6a\x10\x1f\x1c\xbb\x96\x79\x51\x79\x17\x82\x88\x4a\xd5\x8c\xa9\x84\xaf\x48\xac\xb9\xea\x26\xa7\xc3\x59\xf7\x5c\xf2\xb7\xb3\xe0\x84\x08\x29\x61\x3d\x75\x1f\xf8\x17\x46\xb1\x9a\x40\x1f\xbb\x90\xb5\xc7\x61\x29\xbc\xf6\x8b\x89\x99\x84\xa9\xbd\x55\xbc\xa4\x5c\xea\x7c\x7d\xa8\xe4\x1d\x17\x3b\xe9\x5b\x8f\xa4\x31\x95\x61\x4d\xbd\x24\x57\xc3\x37\xac\xec\x0f\x19\xe2\x5c\x78\x1c\x63\x63\x17\xb1\x55\x15\xd7\x5b\x31\xa9\x30\xc1\x65\xed\x0e\xbd\x9e\xfa\xb9\xff\x64\xdd\x30\x21\xd2\xcc\xbd\x5d\xd4\x8b\x83\xd1\x6a\x11\x49\xb3\xc4\x9a\x11\xd7\x80\x1d\xae\xdb\xd0\x3b\x8f\x6f\x01\x8d\x43\xd8\x23\xe4\x6f\x30\x27\xd9\x5a\x00\x81\xfa\xfd\xcc\x45\x44\xce\xf8\x6e\x61\xaf\x09\x65\x4b\xf1\xf2\xed\x4b\x11\xf9\xd5\xbb\xb0\x45\xa7\x1c\x1e\x30\x8f\x0b\x65\xc1\xb8\x05\x6c\x15\x8a\x00\x88\xb4\x3c\x1b\x00\xb4\xdb\x07\xd6\xe5\x52\x6d\x84\x1d\xb8\xb6\x31\x1c\x17\x0c\xcf\x95\xd6\xa8\x54\xd4\x10\x58\xf3\xc2\x15\xb1\x6b\x10\x54\xb4\xf3\x38\x82\x2a\x31\x45\xa4\x52\xa5\x1a\x3b\x36\xa5\x52\xc4\x96\x58\xa5\xa6\x60\x53\x0f\x09\x0c\x41\x99\x6a\xae\xdb\x93\x44\x1c\x4d\x71\x44\xd9\xac\x17\xc0\x54\x02\x64\x44\x78\x1d\xd4\x11\xe9\x3d\x96\x8f\xfb\x0d\x34\xdc\xb9\x80\x25\x8d\x8b\x22\x6a\x16\x58\xc6\x38\x36\xe8\x12\x46\x9f\xc2\xf2\xb1\x09\x59\x69\x09\xd6\x6d\xc5\xe8\xfc\x52\x38\x30\xb8\x55\xe3\x73\x29\xe8\x24\xd4\xa7\xa0\x66\x83\x2b\xa9\x6c\x41\x1e\x5d\xc6\x1f\xf6\x28\x2c\x55\x74\xd3\x15\xe3\x97\x73\x2e\xd4\x78\x4b\x5c\xd8\x6a\x1a\x3d\x23\x47\x09\x00\xba\xf0\x27\x22\x9e\x28\x79\x2e\xc3\xab\x6e\x42\x8b\xc6\x68\x16\x44\xd5\x01\xfe\x66\x9a\x71\x48\xa1\x99\xa2\x14\xb3\x85\x61\x94\x9a\xb9\x60\xf9\x28\x7d\x21\x57\x24\x53\x9c\x24\x3d\x24\x48\x2e\x4d\x81\x63\x49\x92\xe9\x91\x2b\x85\x11\xa3\x84\xcf\x68\x84\x13\x34\x49\x78\xf4\x28\x4d\x86\x1b\x9b\x19\x26\x95\x09\x1e\x11\x29\x03\xc9\xaa\xc8\x66\xb7\x39\x86\x50\xc5\x55\x11\x91\x52\x46\xa5\xa2\x91\x13\x99\x0a\x50\x0a\x53\x4b\x3c\xc2\x60\x12\x86\x8c\x4d\x18\xae\x96\xf4\x88\x01\xe7\xcc\x99\x2d\x9a\x04\xd7\xb5\xc5\xdc\x73\x41\xe2\x4d\x07\x68\x0f\x10\x82\x8e\x42\xc6\xaa\x7c\x20\xd7\x1c\xa9\x33\xfb\x19\x1c\xe3\x55\x24\x70\x5b\x3e\x51\x9e\x20\xfd\x49\x2b\xc1\x1a\x41\x4c\xb9\x0f\x81\x2f\x49\x2e\x3e\x32\xfc\xc0\x10\xcd\x60\xc8\x0d\x38\x66\xeb\x68\x5a\xaf\x22\x88\x3c\x50\xa7\xab\xea\x35\xa7\x2c\x4a\xf2\xd8\x57\x6a\xd4\x22\xc0\x93\x26\x12\xb7\x3c\x7a\xed\xb5\xa0\xd0\x43\x58\xa2\x67\x92\x24\xfa\xbf\x26\x02\xfe\xc8\x17\x4e\xd0\x2c\xd9\x14\xb7\x80\x4e\x1c\x97\x6e\xa2\xa8\x83\x43\xa7\xbc\xc1\x6a\x6e\x72\xfe\x53\xae\x4c\x91\x4c\x83\x4e\xe9\xec\x5b\x06\xce\x70\x92\xf0\x09\x9c\x74\x00\xae\x74\x79\xae\x41\x5a\x5d\x1e\x45\x84\xc4\x24\x46\x5f\x07\x07\xd7\xe3\x51\x7c\x53\x0f\xa3\x58\x5a\x91\x03\x00\xad\xac\x1a\xd6\x1a\xa1\x2b\xcb\x75\xde\x8e\xd1\x4d\x05\x98\x25\xac\xdf\x8e\xab\x30\x5d\xbd\xa5\x2d\x7c\x1b\xa0\xcb\xca\x24\x5e\x6e\x87\x36\x04\xba\x2c\xf5\xb9\x07\xa0\xcb\xca\x3c\x1b\x62\xf7\xf9\xec\x45\x73\x8e\xf5\xa4\x2e\x78\xfb\x44\x30\x03\x10\x66\xee\xce\x12\x09\xba\x03\xb9\xa8\x23\xc4\xc3\x02\xf1\xac\x54\x43\x7c\x5b\x10\xcf\xca\x60\x0e\x19\xc4\xb3\x32\xd4\xc3\x05\xf1\xac\x19\x68\x0b\x10\x4f\xe3\xdc\x1f\x6b\xa2\x6e\xc7\x14\x20\xb1\x65\x92\x4f\xef\x20\xd5\x7b\xe5\x18\xcf\x4c\xe0\x80\xb9\xc6\xdc\x1d\x6d\x31\xad\x61\xb4\x36\x07\xb2\x29\x1c\xaa\xe2\x84\xd8\x94\xf6\xbc\xf7\xcd\x80\x3f\x6c\x6a\x76\xef\x85\xd6\x6e\xb0\x43\x46\x38\xb3\x39\xe5\x4d\xa5\x66\x0e\x27\x7b\x76\x3b\x7c\x54\xc0\x20\x2c\xb1\xfc\x56\x08\x62\x97\x95\xaa\x0d\x73\xfe\x6c\x2b\x27\x01\x19\x1a\xa2\x6c\x24\x41\xe8\x74\x6c\x95\xb6\xa6\x95\xa3\x4c\x91\x59\x55\xa7\x2d\x0e\x0d\x65\xea\x4f\x7f\x5c\xcb\x89\x0c\xc4\xa2\x53\x0f\x83\xda\x09\xde\xd9\x61\x9f\x91\x18\x45\x73\xad\x15\x49\xad\xbe\xe8\xe9\x98\x9b\x55\xa2\x14\x53\xa7\x48\xe5\xd2\xb8\x96\xa8\x1c\xb1\x12\x26\xe9\x31\xfa\x08\x05\x61\x71\x9a\x69\xfd\xcb\xcf\x8f\x6a\x4a\x1a\xe5\xdf\x7e\xfb\x27\x82\xbe\x45\x29\xc1\xac\xa4\xc3\x82\xda\xa4\xaf\x3e\xc0\xf0\x53\x73\x32\x62\xb5\x5b\x81\x06\x9f\x4d\x8d\x29\x17\xef\x37\x64\x53\xee\x74\x62\x28\x74\x88\xa3\x39\x92\xf9\xc4\x54\xea\x0d\x6c\x18\x4e\x90\xbe\xe0\x33\x70\x54\xc3\x8d\xec\x06\xbd\xea\x14\xbe\x6c\x0c\x80\x75\x37\xb6\xbd\x8d\xfb\x70\x8f\x1c\x49\x52\xc2\x76\xaa\x71\x9a\x19\xce\x17\x1e\x7c\x69\x70\x5f\x7a\xc6\x87\xa0\xf5\x33\x6c\x2d\xfb\x5a\x96\x86\x70\x5e\xf0\x92\xe5\x09\x16\xf6\xe8\x8f\x98\x56\x34\x04\x79\xa2\x3c\x97\xc9\x02\xc5\x9c\x91\x1e\x50\x42\x1e\xcd\x8d\x63\x55\xeb\x2c\xd8\x16\xac\x78\xa2\x32\xd7\x0a\x2d\xb4\xe5\xea\x63\x48\x85\x0d\x26\xd5\x9c\x42\x3f\x5a\xfd\x26\xf0\x55\x98\x25\x87\xda\x69\x51\x21\x6c\x6c\x85\xe7\xb7\x84\x8d\x2d\x51\x55\x07\x1b\xeb\x61\x63\x97\xd7\xe5\x10\x61\x63\x2b\x7b\xde\x0e\x36\xb6\x6e\xcb\xb7\x80\x8d\x2d\x35\xf3\xc5\xc0\xc6\x56\x56\xf4\x8b\x81\x8d\xad\xcc\xab\x83\x8d\xfd\xf2\x60\x63\x77\x04\x46\xad\xe7\xc5\x06\x5f\x49\x51\xb6\xd8\x98\xc8\xbe\x92\x68\x78\xad\x09\x2c\x7a\x2c\x07\xb5\xf9\xeb\x6a\x77\x30\xd6\x7a\x26\xb4\x19\x18\x6b\xad\xaa\xde\xcc\xea\x76\x05\x78\x02\xc5\xe0\x95\xc1\x58\x4b\x13\xe8\xe2\x2b\x37\x8f\xaf\xac\x25\x3e\xdb\xb7\x1e\x9e\x0b\xba\xac\x5e\xc8\x2d\xe1\x58\x4b\xfb\xd3\x2a\x12\x13\x44\xf7\x3d\x50\xe2\xcb\x4a\xf3\xf7\xa5\x43\xbe\x56\x96\x0f\x57\x51\x5a\x60\x68\x2d\xe1\x39\xb4\x38\xa3\x84\x87\xfe\xff\x8e\x72\xb7\x88\x0c\xae\x2c\xaf\xf7\xab\x18\x5a\x6c\x41\xaa\xad\x29\xd4\x69\xa5\xfb\x49\x94\x75\xc9\x93\x1b\xba\x98\xdd\x20\xee\x32\x12\x35\xd8\x98\x69\x4a\xf7\xd5\xec\xba\x8b\xcc\x63\x61\x81\x42\xbe\x94\x17\xaa\xaf\x27\x33\x1c\x23\xe3\x57\xd2\x61\x01\xa8\xc3\x7c\x39\xa3\x52\x89\xc6\xd8\xa6\xa5\x11\xee\xe2\x2a\xcd\xf2\xd6\x01\x31\xc1\xaa\xce\xb6\xfb\x2c\x25\x29\x17\xeb\x02\xab\x6a\xbf\xb4\xa5\x6e\xb6\xf9\x94\x64\x73\x92\x6a\x49\x66\xbc\x69\x23\x6d\xf7\xdb\x27\x0d\xdb\xdc\x35\x13\xe8\x58\x22\x82\xc0\x11\xaa\xdf\x8d\x0d\x22\x65\xeb\xed\xde\x75\x9b\x2d\x66\xe6\x86\x0e\x21\x07\xa6\xbc\xda\xe0\x66\x5f\x2a\xb9\xbb\x81\xbe\x6b\x63\x3a\x7c\x48\xcd\xfa\xa8\x8d\x15\xf1\x1a\xab\x70\xa7\x8a\xaf\x6c\x21\xe8\x0d\x5c\xf9\x65\xef\xbc\xe6\x84\x61\x15\xe0\xcd\x03\x3c\x1a\x50\x53\x97\x97\x07\x22\x73\x24\x11\x47\xa1\x66\x50\x1a\xcc\xf2\x7a\x95\xa8\xc4\x69\x94\x3b\x10\x49\x2e\x1a\xa3\x4c\xdb\x18\xb4\x23\x95\xe3\x04\x34\x89\xb0\x7a\x65\x75\x53\x27\x8b\x9a\xb4\xc7\x76\x1e\x13\xca\xd4\x9f\xff\x63\xa3\xdd\xd4\xaa\x95\x5d\x37\xa8\xb8\x85\xa3\x88\x48\x63\x63\xb7\x51\xc8\x78\xc2\x9f\xa0\xd8\xd6\x2e\xbb\xaa\x8f\xb2\x9e\xb7\x66\xf0\x1e\x8a\x38\x2e\x48\xdd\x88\x0b\x73\xc1\xf3\xd9\xdc\xd9\x90\xf4\x99\xd1\x53\xab\xdb\xcb\x1f\x97\x6c\xe4\x1b\xef\xe5\x77\x39\x4d\xb6\xb3\xd0\xdd\x95\xca\x90\x7d\x1a\xde\x23\x39\xf7\xa7\x75\x02\xcd\xd6\x6e\xec\xf2\xa0\xdb\xf7\x69\xbf\xf5\xfe\x1a\xe8\xa6\xe7\xe0\x37\xa7\x3c\x49\xc0\xd3\x20\x49\xfa\x44\x44\x7d\xf7\x30\xe1\x7b\xba\x19\x72\x9e\x1f\x00\x7c\x5d\x24\x46\xb4\x92\xbf\x6e\x8c\x68\x28\x91\x1b\x7d\x35\x68\xc1\x84\xaa\x71\x46\x58\x9d\x8d\xed\xa7\xe5\x0a\x30\xef\x2c\x60\xd0\x45\x8f\xed\x2d\x68\xd0\x2d\xc9\x2b\x07\x0e\xae\x99\xc7\xa1\x06\x0f\x56\x98\x9d\x8f\xe5\x2b\xae\x19\x17\x38\x64\x14\x9f\xbe\x5e\xe2\x11\xeb\x97\xf2\x29\x5c\xa5\xec\xc9\xa2\x08\xc8\x36\x3a\x44\xc8\xcc\xa0\xce\x86\x35\xac\x80\x1b\x4d\xff\x05\x9a\x8e\x01\xaf\x35\x21\x85\x2e\x6c\x10\xa2\xc9\x49\x7c\x84\xa3\x45\x94\xd0\x28\xd0\x99\x67\x02\x67\xf3\x3a\x8e\xe7\x76\xbe\x43\xdd\x79\x2b\xd4\x9d\xa6\x82\x54\x9b\xc4\x6d\x3b\xba\x62\x38\x25\x1d\x1a\x50\x1d\x1a\x50\xcf\xe3\x5d\xb0\xa2\xb4\xd6\x1b\xc2\x28\x2c\x9f\xbb\x0e\x12\xe8\x0d\x20\x81\xb6\x39\x7c\x05\xde\x4f\xe9\xd8\x75\x30\x45\x1f\x5a\xc1\x14\xf9\x4b\xf0\xa0\x90\x67\x9a\xcf\xe3\x1b\x23\x9a\x2c\x0f\xec\x2d\x61\x89\x6a\xc4\x85\x4d\xe4\xa6\x55\xb8\x44\xab\xe8\xa2\xd5\xba\xbc\x2d\x4a\xd0\x66\x2b\xb3\x11\x00\x50\xed\xdd\x75\x20\x70\x40\xcd\xdb\x70\x20\xe7\x66\x9f\x59\x2d\x9b\xd5\x0e\x0d\x33\x5b\x36\x51\xb0\x36\x4b\x72\xf1\xf4\xf0\xbe\x12\x5d\x8a\x22\x6b\xdb\x25\xbb\xf4\x9d\x0f\x9a\x08\x34\xe7\x49\xec\x40\x28\xfc\x6a\xf9\x0e\x7c\x26\x80\x5f\x20\xb7\x19\x50\xec\x1c\xb4\xad\xa2\x20\xd8\xaa\x94\x16\xbf\x89\x30\xdc\x3d\x30\x9a\x7d\x58\x11\x3c\x27\xd9\xc6\x7e\xb0\x56\x16\x91\x65\xf3\xf7\x8a\x31\x96\x56\x08\xac\xe6\xf5\xc3\x5c\x6b\xf7\x5d\x33\xb8\x55\xa2\x47\x60\x1c\x14\x75\xa5\x3e\x0d\x9d\xc1\xd3\x27\xea\x0c\x11\x38\xec\x71\xa5\x97\xce\xcd\xae\x95\xa7\xae\x4a\x2c\x5b\x04\x83\x2d\x55\x6e\xdb\x1d\x1c\x28\xc5\x9f\xc7\x19\x16\x38\x49\x48\x42\x65\xfa\x62\xc1\xc0\x67\x65\x77\xad\x3e\xab\x82\x1b\x13\x11\xcb\xd3\x89\x21\x45\x37\x10\x5b\xec\x4f\x71\x24\x72\x16\x42\x9b\xf9\x8d\xf1\xc5\x04\x73\xb8\x17\xc0\xaa\x14\xcd\xa1\x6a\xeb\x14\x53\xc1\x88\x6c\xac\x91\x49\xa2\x5c\x50\xb5\x18\xdb\x92\xa3\xed\x0f\xdc\x9d\xfd\xf2\xcc\x7e\xb8\xda\xc3\xed\xb2\xfa\x5d\x7f\xbe\xc4\x69\x46\x04\x94\x09\x72\x05\x6f\x82\xb2\xaa\x16\xb5\x81\xf8\x5a\x43\x10\xfe\xbc\x74\x6d\x37\x05\x0e\xe3\xe7\x71\x90\x51\x35\x8e\xaa\xc4\xb1\xee\xb0\xd6\xe1\x4e\xad\x9a\xe4\x0b\x23\x2f\x35\x78\x91\x5f\xa0\xca\x88\x4d\x9b\x30\x4d\xeb\x01\x07\xae\x60\xb0\x57\x16\x1b\x13\xa4\xbc\x5b\xa5\xaa\x61\x9c\x16\xeb\xa7\x2e\xf8\x68\xc5\x60\xfb\xc1\x57\x2d\x46\x1c\x74\xb2\xa7\x61\xeb\x83\x2e\x44\x9e\x29\x3a\x59\x86\xb6\x51\xfb\x2b\x21\xda\x4f\x20\xcd\xda\xb9\x19\x4a\xdd\x9a\xba\xa2\x25\x4e\x6c\x67\xa7\xe5\x7f\x8b\x23\xe6\x10\x82\x0c\xc2\x52\x98\xc7\x77\x9d\x52\xa5\x5c\xa2\x80\x31\x40\x6b\xea\x2c\xdb\x66\xbf\x72\xe1\x1e\x18\x2a\xbd\x1a\x13\xd1\xf1\x88\xf5\x25\x7a\x26\x88\x11\x0b\x21\x51\x53\xc3\xd5\x5b\xb5\xa1\xf6\xd3\x84\xe8\x9e\x7c\x6c\x8a\x16\x1e\xa8\x92\xbe\xfc\x98\xe9\x63\x8a\x13\x49\x7a\xba\x61\xa8\x5a\xaa\x38\x04\x7f\x62\xf4\x2c\x70\x96\x11\x31\x62\x36\x8b\x03\x1c\x2e\x9c\x27\xa6\xfd\xa6\x10\x57\xbb\x06\x64\x1c\xe1\x68\xfe\x4a\x7b\x84\x21\x19\x27\x9a\x93\xd8\xe5\x0b\x97\xb7\xc7\xcd\xdb\x18\xac\x37\xd8\xac\xe1\xd4\x95\xcf\xea\xd9\x4e\x92\x48\x73\x14\x5f\x66\x3a\x23\x42\x8f\x5a\xd3\xf0\x13\x61\x88\x4e\xdd\x38\x6c\xec\x0e\x7a\x06\xcf\x94\x26\xfd\x27\x4c\x13\x93\x80\xef\xba\x76\x42\xa0\x31\xbf\x8f\x98\x71\x77\xb3\xa8\x94\xa1\x4a\x19\x95\x73\xcd\xa9\x73\xf0\x49\x82\x9a\xd1\x94\x38\xc3\x9e\x36\x39\xcd\x03\xfd\xfa\x6a\x0e\xfa\x44\x05\x67\x29\x24\xc9\x58\x5c\x26\xb7\x7c\x92\x28\x7f\x3c\x6a\x53\x1c\xd7\x4a\xc4\x71\x2c\xcb\xc6\x4f\xa3\x56\xd2\x5f\x4b\x66\x97\xa3\x52\x56\x60\x14\xc0\x0a\x41\x10\xa7\xab\x2c\xb6\x4a\xfe\xed\x52\x1b\x96\x53\x1b\xea\xd7\xe6\x10\xd3\x1b\xfc\x21\xde\x34\xc5\xa1\x69\xfb\xf7\x21\xd9\xee\x31\xd5\xe1\x8d\x73\x02\x5e\x26\x1d\xe0\x6d\xf3\x37\x5e\x22\x75\xa3\x4b\x70\x78\xc3\x04\x87\xd6\x96\xda\x72\x6c\x76\xf3\xb1\xdd\x28\x39\x60\x0d\x98\x53\x5d\x2f\x97\x44\x09\x1a\xc9\x7d\xf0\x07\x99\xe1\x96\x51\x6d\xa0\x05\x66\x6b\xa4\x26\xfd\x82\x77\x42\x42\x9c\x98\xaf\xf3\x37\x11\x04\x3f\xc6\xfc\x79\xc9\x56\x27\x43\x34\x8d\x4b\xae\xc5\x1e\x41\x22\x2a\x49\x29\x92\x85\x4a\xc4\x88\xb4\xc6\x4e\x3c\x62\x73\x4a\x04\x16\xd1\x1c\xb2\x1b\x8b\x8d\x31\x59\xb2\x06\xd0\xc8\xc4\x32\x84\xde\xa6\x0d\x36\xbd\xc5\xba\x57\x2d\x4c\x1e\x9f\xce\xee\xb9\x1e\x49\x6a\x3e\xf1\xc2\x8c\x95\x32\x42\x93\x5c\xab\xed\xdf\x35\x10\xdf\x2f\xf6\x8b\x06\xe3\xfb\x60\xa2\xe0\x8b\x96\x01\xf9\x05\x35\x74\x41\xf9\x2f\x14\x94\x5f\xb3\xc4\x9b\x05\xe6\x6f\x65\xf2\x7b\xfd\x98\x61\xd7\xf3\x6b\xc4\x0d\xaf\x0b\xda\xca\x27\xe3\x17\x3f\x7a\xb5\x73\x6e\x7b\x02\x7f\xf2\x44\x61\x24\x62\xa1\xe9\x6c\x42\xe2\x18\x38\xad\xe2\xb6\x52\x74\x41\x3b\xce\x3c\xa0\xef\x5e\x2c\x35\xb1\xe3\x84\xb3\x99\xa4\xb1\x01\x5b\xc9\x30\x54\x6c\x0d\x8d\x17\x00\x2e\x00\xfb\x9b\x24\x44\x38\xaf\x84\x40\x5f\x4b\xca\x2c\x9a\xa2\xff\x2d\xe6\x44\xb2\xaf\x94\x31\x16\x60\xb6\x40\x8f\x8c\x3f\x27\x24\x9e\xc1\x0e\x55\x07\x73\x84\x28\xe9\x21\xaa\xfc\x67\x02\xd0\x08\x78\xae\x46\x7a\xec\x10\x6b\x66\x34\x00\x62\xbf\x0d\x6a\xa2\xfb\x66\xbe\x39\x46\x68\xc8\xd0\x14\x47\xaa\x87\x64\x3e\x29\xda\x8f\xb9\x29\x72\xad\xb5\xef\x60\xe2\x45\x23\x5d\xcc\x78\x4d\xe7\xf5\x67\xc3\x71\x07\x4d\xae\xfd\x84\xe2\x9d\x62\xeb\x9e\xf0\x2e\x10\xa3\x97\xb9\xb4\x41\x18\x88\x33\x7f\xf4\x2d\xbc\x92\xc7\x88\x06\xbc\x4f\x83\xb7\xcc\x78\xdc\x68\xeb\xac\x4c\x65\xd3\xb1\x14\x81\x90\x56\x50\xb2\x8e\x2a\x68\xd7\x2c\xb7\x96\x9a\xa4\x12\x04\xa7\xd6\x39\xa0\xaf\x1a\x10\x6b\x4c\x18\xa4\x1e\x3d\x15\x46\xc2\xdc\x64\x8b\x2f\x28\x7b\xd4\xbb\x5b\xa0\x62\x43\x7d\x79\xe8\xb9\x6e\xd3\x32\x7d\xe3\x91\x33\xce\x8c\x83\x70\x27\xb9\x93\xce\x18\x4e\x36\xb4\x71\x2c\xad\xdc\xb2\x4f\xcf\xc9\x59\x56\x5c\xd0\x52\x84\x31\xf6\x21\xd3\xe3\x46\x36\xa4\xca\x7c\x43\x79\x0f\xa3\x98\x64\x84\xc5\x84\x45\x0b\x20\x11\x06\xc8\x39\x82\xe1\x04\x61\xf8\x0e\x27\xc7\xe8\xdc\xe4\xd7\x78\x09\xcf\x5e\xeb\x70\xa1\xa7\x98\xd1\xa9\xd6\x13\xc0\x08\x6b\x47\x39\x62\x66\x98\xce\x07\x12\x14\xed\xf7\x2b\x56\xb7\x33\xfa\x06\xb9\xda\x11\x95\x98\x95\xbf\x47\xab\x2f\x1c\xe8\x6d\xd5\xee\xe8\xe6\x5c\x0d\x02\x99\x4f\x8e\xe0\xdf\xa5\x84\x33\x07\xd4\x53\xa0\xc8\x90\x84\x80\x39\xd0\x7a\xbc\xe0\x62\x6c\x02\x96\xdb\x87\xdf\x6e\x4d\x1e\x47\xd0\x47\x49\xa9\x49\x29\xa3\x69\x9e\x06\xce\x3b\x53\xb1\x20\xb2\xf6\x4b\x93\x89\x91\x69\x3d\x20\x72\xe0\xe5\x48\x5f\xae\x6c\x81\x66\xf4\x89\xb0\x11\xcb\x38\x65\xea\x18\x5d\x71\x45\x82\x12\x11\x06\x3a\x8a\x67\x8a\xa6\x06\xed\x54\x10\x7d\x0e\x0c\x28\x36\x00\x4d\xce\xb1\xea\xa1\x38\x87\xa3\xca\x88\xd2\xac\x43\xdf\xb8\x0a\x76\x06\xe2\xa3\xc5\x88\x99\x9b\x6e\x8a\x69\x92\x0b\x62\x65\x56\x6c\xf2\x62\x8a\x21\x17\x23\xb3\x48\x68\xc1\x24\x52\x3a\x9b\x2b\xbd\x45\x5a\xc6\xb3\xfe\xc6\xb9\xe6\x46\x7c\xc4\x26\x04\x61\x94\x71\x49\x15\x7d\xf2\xfe\x4b\x3a\x45\x58\x4a\xb0\xa0\x1c\xa3\xf3\x92\xfd\x9f\x4a\x50\xbd\x9b\xe2\x6a\x29\x1b\x5b\xdb\x73\x73\x3e\xce\xce\x1b\x59\xea\xc5\xae\x32\x9e\x48\x9e\xe4\x2a\x74\xc1\xd6\xef\x6d\x61\x1a\x77\xc0\xfd\x60\x20\xe6\xd3\x11\x73\x74\x2d\x8f\x51\x5f\x22\xc9\xf5\x2e\x49\xb3\x95\x91\xa0\x8a\x08\x6a\x50\x9c\x88\x32\x9b\xe0\xcf\xa9\x3f\x03\x29\x16\x8f\x5a\x84\x0a\x2d\xf0\x06\x53\xb4\x64\xed\x98\x18\x09\x09\x60\xad\xc2\xed\x00\xd3\x3f\x62\x9c\x1d\x31\x32\xc3\xeb\x76\x64\xc4\x4a\x5b\x82\xbe\xa6\xd3\x42\x21\x6d\xf2\x39\x06\x6b\x37\x86\xc8\xa7\xa6\x5d\x32\x1d\x37\x6d\xd2\x34\xe1\x78\x8d\xdb\x78\x5a\x1c\x7a\xf4\x77\x3e\x31\x63\xd4\x7a\x3f\x57\x20\x05\x6a\xf5\x6a\xca\x05\x99\x63\x16\xf7\xdc\x66\x95\xc7\x06\x37\xa3\x35\xb5\x39\x65\x0c\x24\x41\x07\x22\x4c\x0c\x16\x13\x66\xc1\x5e\x58\xc5\xcd\x6e\x45\xb1\x0f\x1b\xdd\x15\xbe\x35\xa8\x7d\x62\x0c\x10\x86\xe5\x2d\x32\x7b\xc4\x25\x4d\xb3\xa4\xc8\x69\x0a\x6c\xa3\x53\x2d\x62\x39\x1e\xc9\x9f\xc0\x74\xe5\xb4\x36\xb8\xd5\xed\xce\x69\x3a\xab\x19\xb9\x67\xa4\x70\x6b\x38\x9b\x97\x29\x83\x19\xb0\xb0\xaf\x25\xd1\xff\x54\xa4\x50\xfb\x8c\xb0\x3e\x62\x4e\x04\xf9\x06\xb8\x8c\x6d\x36\x30\x9e\x69\x11\xda\xc0\xbc\xda\xf5\x43\x91\x71\x72\x97\xce\x89\x3d\x0c\xee\xd5\xda\x8b\x4a\x51\x2d\x66\x7f\x47\x01\xa1\xea\x7c\x47\xd8\x79\xca\x62\xd2\x58\xcc\xa9\x15\xd7\x68\xba\x5b\x0c\x43\x1d\x6f\x5b\x7f\xe1\x7e\x4e\x24\x41\xea\xd9\x03\xa5\x69\xbd\x0a\x4c\x96\x82\x24\xe4\x09\x17\x77\x9c\xef\xcb\xb2\xcb\x08\xcb\x86\xf2\x28\x80\x36\xa6\xc7\xbf\x7d\xe2\xb0\x1f\xdf\xb5\x1e\xca\x13\x4e\x6c\xe2\x86\xf5\x95\xcb\xe6\x0d\x1b\x9e\xef\x14\x43\x6a\x5b\xa9\x5b\xcf\x66\x11\xc3\xf5\xfd\x03\x59\xd4\xaf\xc8\x1a\x10\xbf\x55\xd9\xd8\x7e\xd9\x37\xb0\x55\xdf\x14\xdf\x2c\xaf\x71\xe3\xca\xfd\x50\x9a\xf2\x1b\x24\x11\xdd\x2c\x55\x80\x86\x3f\x65\x3e\x9d\xd2\xcf\xa0\xd5\xba\x9b\xc4\x69\x1e\x91\xe0\x52\x73\x31\x90\x55\x90\xdb\x3c\xe3\x48\xde\x25\xa1\xa8\xf6\x4b\xad\x65\x6d\x4c\xd1\x8d\xab\xfd\xd7\x9c\x88\x9d\xd6\xdb\x93\xea\x26\xe1\x88\xc1\x29\xa9\xd7\x11\x5d\xa3\x0a\xb7\x8c\x49\x0a\x5b\xbd\xc7\x0d\x4b\xb7\x1e\xfe\xbb\xf6\xb3\x89\x61\xbe\x9b\x0f\x24\xe4\xda\x2b\x6d\x6a\x45\x7c\x9a\x8f\x4d\x76\x45\x79\x34\x7f\xeb\x59\x80\x71\x6c\x03\xa7\x7c\xaa\x2f\x76\x31\x23\xc6\x31\x62\x6a\x36\x29\x5b\x69\x20\xd0\xd4\x6d\x63\x94\xcd\x46\xcc\xad\xad\xec\x21\x13\x26\x5e\x61\xa8\x25\x6c\x77\x1c\x7c\xea\x09\xbb\x9d\x49\xd5\xf8\xd5\x19\x91\x52\x5f\x8c\x52\x09\x4c\x99\xf5\xe1\xb8\xf5\x91\x23\x86\x8e\xaa\x71\xea\x3d\xb0\x23\xf4\x5c\xb6\x67\xaf\x18\xa0\x1c\xb1\x6b\x63\x9d\xf9\x23\xfa\x5a\xe1\x99\xb9\x25\x00\xbd\x11\x27\x80\xfb\x08\x5a\x82\xd5\xca\x83\xe4\x00\x7f\x22\x69\xfc\xcd\xe9\xaa\x3e\x8d\x0d\xe1\x6b\x68\x06\x0e\xb9\x5e\xc3\x62\x81\xe8\xb4\xf8\x07\x89\xbf\x59\xd5\x52\xf1\xd1\x23\x59\xf4\xaa\x8b\xdc\x7c\x6f\xdc\xe3\x9d\x22\x34\x5f\xea\xe2\x80\x41\xb7\x77\x52\xe2\x09\x49\x7e\x2c\x26\x8a\x56\xb2\xa2\xef\x28\xc3\xbb\xf1\xa0\xda\xe1\xb5\x8b\x40\x9f\x2c\x9a\xea\xb6\xd5\xb0\x9e\xad\x11\x47\xfa\x46\x96\x25\x48\x77\x67\x25\x76\x57\xd5\x0f\x43\xd4\xe3\x9c\x24\x19\x8a\xe9\x14\x5c\x6f\x0a\xe8\xc5\x83\xa7\x9a\x7a\x37\x5a\xa1\x49\x73\x66\x80\x70\x4d\xd4\xc7\xb3\x3d\xe9\x96\x65\x14\x8d\x1f\x8f\xd8\x50\x7d\x25\x91\x54\x82\xb3\x99\x56\xa6\xe3\x27\x2a\x8b\x42\x6e\xfa\x40\xe6\x29\x11\xb6\x0b\x2a\x8d\xd4\x6d\x8b\x20\x61\x77\xb1\xe9\xb1\xe9\xab\x0f\x04\x1f\x57\x6c\x50\xff\x68\xf4\x0a\x3d\x4a\xe9\xa2\xa6\x6a\xc2\xde\xed\xe6\x56\x78\xe7\x2b\x9b\x2e\x7f\x0c\xad\x93\x28\x2d\x0c\x99\x8e\x5f\x9e\x54\xcd\x98\x76\xd5\x57\x98\x30\x37\xbe\x10\xda\x5e\x04\xae\x6a\x40\x6e\xd2\x9c\x74\x3f\xce\xb1\x65\x06\xb7\x91\x8a\x55\x99\xa0\x1d\xb5\xd1\x9e\x42\x13\x26\xa1\x60\xff\x90\x0a\x2b\x1a\xd9\x5b\x80\x0b\x6b\xc5\xb5\x7a\x75\xf3\xd6\xee\xaa\x93\xc8\x08\x27\xcb\x3b\xbc\xc2\xa7\x6e\xde\x5f\x6d\xe8\xb4\xc7\xcd\xb4\xbd\x12\xd8\x24\xe2\x49\xb2\x49\x99\xb6\xca\xcc\xcf\x8a\xcf\x57\x8f\xa8\xe8\x47\x6f\x80\xdb\x0b\x38\x35\xc6\x40\x81\x13\xeb\x2e\x92\xca\xee\x52\xf8\x92\xb9\xd4\x16\x56\x7d\x1c\x31\x3e\x85\x42\x7e\x49\x53\xe4\x7a\x26\x78\x4a\x37\xa9\x24\x61\x82\xb9\x6f\x9d\xef\x7f\x8d\x27\xc5\x45\x08\x80\xf9\xcd\x90\x97\xed\x11\x30\x09\xb0\x35\xa9\xad\x38\x43\x29\xce\xb6\x5a\xf0\x75\x91\x2f\x7d\x94\x9a\xb0\x23\xbb\x7a\x80\x29\x4d\xa0\x26\x1e\x2c\xf2\x33\x5e\x14\xf0\x2f\x4d\x35\x02\xd8\x46\xe4\xf0\xa0\x5f\x1f\xb2\x29\xdf\xe0\x70\x16\x70\x2d\xf6\xf4\x61\x47\xb3\xc1\xf9\xf3\x91\x18\x66\xf7\xcd\x9a\xb6\x39\x8f\x67\x75\x44\xbd\xf1\xc9\x74\x2b\xf8\x92\x7e\xd8\x90\x89\x04\xdf\xfc\x6b\x93\xbb\xb5\x7c\xb4\x82\x16\x11\x0c\x67\xf5\x52\x5d\x96\xe8\x70\xef\x6b\x54\x69\x07\x9e\x15\x09\x63\x37\xf5\xad\xbe\xc2\x9a\xd9\x43\xd2\x6a\xb1\x76\xc4\xa7\xda\xac\xd6\x81\xeb\xd1\x57\x36\xd8\x59\x93\x5b\xb7\x18\xc0\xcd\xa4\xd5\x1a\x8a\xec\x13\x9b\x86\x3f\xa5\x09\x91\xc7\x68\x58\xe3\xc4\x75\x49\xf0\x3e\x68\xdc\xa4\x03\x3a\xe9\x29\x17\x34\x28\x7e\xee\x64\x24\x44\xa1\x08\x5b\x18\xc8\x12\x38\x2d\xc0\x7d\x3a\xe7\xcf\x26\x03\x4f\x50\xcd\xb3\x8c\xb0\xaa\xc0\xa5\xa5\x79\x01\xb5\x1e\x21\xe3\x50\xf3\x1f\x70\x93\x17\xa1\xd5\x1c\xef\x0c\x0b\x2d\x10\xd5\x2d\xdd\x47\x19\xcb\xf6\x18\x03\xae\xd7\x7b\xfd\x45\x1b\xa5\xc0\xbd\xbb\xc3\xe8\xbc\x94\xbf\xb9\x3d\xf2\x23\x7c\xea\x0c\xbb\x18\x4d\x05\x01\x2d\x3b\xf5\xb8\x61\xa6\x70\x00\xe7\x70\xdf\xdd\x9d\xff\x70\xf2\x30\x44\x44\x45\x28\xa1\x8f\x64\xc4\x22\xf9\x04\x4a\xdf\x3f\x72\xa2\xf4\xcf\x0d\x46\x20\x9a\x12\x26\x81\x13\x50\xd5\x52\x5f\x73\x0b\xa3\xff\x7b\x5e\xfe\xbe\x8d\x56\xee\xb1\x2e\x35\xed\xba\x9a\x7e\x40\xa6\x50\xb6\xcc\x2c\x6d\x8d\x5d\xf3\x3b\xe3\x6f\x1d\xd4\x55\xfc\xde\x22\x25\x9a\xfd\x3d\x67\x1b\x0a\x5d\x67\xc5\x47\xc1\x28\x1a\x64\xba\x34\xc3\x50\xcf\x63\xb3\x5c\x6b\xf3\x4d\x6d\xeb\xeb\x98\x48\x01\x3d\xe3\xfc\xe7\x45\x71\x74\xa4\x04\x21\xc0\x42\x3c\x3d\xd9\xbb\xde\xa2\x8d\xf9\x89\x05\x1f\x1d\x8f\xd8\xa5\x8b\xaa\x2b\x7e\x95\x85\xaf\x21\x9d\x04\x65\x4e\xca\xad\x40\xb3\x31\x95\xfe\x07\x28\x5a\x27\xf3\x44\x99\xaa\xbd\x53\xca\x70\xe2\x07\x6a\x9e\xd4\x71\x09\x81\x59\x34\xdf\xd5\x4d\x4e\xa7\x63\x92\x6c\x22\x89\x0e\xa7\x83\x44\x6a\xfa\x8e\x1e\x1b\x4e\xe7\x36\x75\xa9\x8b\xc9\xd8\x6a\xfb\xa6\xb6\x25\x2a\xdc\xec\x38\x31\x55\x73\x09\x82\x38\xac\x6a\x86\xbc\x01\xc1\xd2\xbb\x68\x25\x75\x13\x86\x65\x52\x53\x7d\xda\x19\xf4\x82\xb0\x1a\x31\x91\x33\x28\xa8\xe5\xa3\x32\x31\x2a\x6a\xa2\x44\x2e\x46\xc2\x46\xac\xcc\x34\x9b\x30\x25\x47\xcc\xcb\x5a\x3f\xe3\xb9\x04\x7f\x54\x4a\x94\xbe\xa0\xbe\x86\x5a\xf7\x26\x2c\xba\x87\x32\x41\x53\x70\x29\xcb\x6f\x6a\xb6\xee\x0c\x2b\x9c\xf0\xd9\xbe\xad\x4a\x5b\xa6\xd8\xb8\x61\xa0\xe1\xb9\x5e\xfc\x19\x61\x44\xc0\x44\xc1\x96\x5d\x7b\x84\x5b\x58\xb9\x1b\x38\x37\x78\x12\xad\xf3\x57\x7a\x8b\x05\xce\x15\x4f\xb5\x7e\x8b\x93\x64\xd1\x33\x5e\x67\x82\xe6\x58\xce\xdd\x46\x1b\x87\x61\x9b\xbb\xc9\x2e\xee\x19\x8e\xe6\xe4\x4e\x61\x95\xd7\x46\x66\x55\x46\xf9\x81\xb0\x3c\xfd\x70\x8a\xfe\xa7\x98\xe3\x59\xff\xec\xfb\xc1\xf8\x7c\x78\xd7\xff\xee\x62\x70\x1e\xcc\xc7\x3e\xb9\x1c\xde\xdd\x2d\xff\xfa\xfd\xf0\x7e\xf9\xc7\x9b\xeb\x9b\x87\x8b\xfe\x7d\x5d\x2b\x17\xd7\xd7\x3f\x3c\xdc\x8c\x3f\xf6\x87\x17\x0f\xb7\x83\x9a\x4f\x1f\xee\x9b\x1f\xde\xfd\x30\xbc\xb9\x19\x78\x2b\xfd\xdf\x82\xd3\x05\x1e\x72\x3d\xd1\x86\x69\x54\x0f\xe0\x11\x2a\xbf\x78\x8a\x1e\xaa\xe5\x9d\x6c\xbe\x95\xc1\xea\x7a\xc6\x52\xf3\x30\x48\xf7\x03\x4b\x6b\xb1\x28\x4d\x9f\x9a\x90\xe4\x68\x4e\x50\xc2\xf9\x63\x9e\x59\xd6\x66\x8c\xea\x8c\x1b\xc3\x0f\x91\x41\x6b\xdf\x0f\xef\x4f\x97\xcb\x4c\xf9\xc6\x02\x54\x50\x6f\x43\x7e\xc6\x06\x21\x00\xd8\x29\xd8\x52\x5c\xf9\xa1\xc2\x43\x1d\xf4\xe0\x77\x66\x55\x3f\xa6\x35\xcc\x54\xa5\x9b\xd8\x44\x4b\x17\x13\x0b\x1a\x2e\xef\xeb\xaa\xd5\xf4\xcb\x61\xea\x6b\xa2\x09\x89\x70\x6e\x02\xb7\xf5\x3d\x25\x04\x17\xe1\x80\x0b\x7a\xd8\x5f\xa3\x96\x8e\x6a\x1b\xac\xec\x99\x9e\xb8\x7c\xa4\x59\x46\xe2\x0f\xcb\xf2\x4b\xb9\x02\xbe\x84\xd3\xa7\xfb\x0c\xce\xa4\xd6\xeb\x41\xe7\x77\xc5\xe1\xe6\x0b\x1f\x2d\x04\xc1\xa9\x45\xb8\x2e\x14\xab\xd0\x77\x82\x2f\xde\x45\x21\xfc\x07\x2b\xf4\x4c\x00\x36\x26\xb7\xd5\x31\x8d\xee\xad\xcf\x36\x74\x67\xfc\xf6\xae\xd6\x6d\x09\x4e\xa6\x91\x19\xef\x43\xe0\xd6\xdf\x4b\xb2\x99\xb3\x6d\x2d\xf6\xc7\xb9\x69\x14\xb8\xb3\x8b\xeb\x87\x11\xef\xd3\x39\x57\x73\x23\xad\xb9\x2c\x34\xdb\x6e\x33\x1e\x87\x77\x56\x2a\xe2\xd1\x7e\x60\xa5\x42\x0f\x6b\xd7\xea\x9e\xc7\x78\xa1\x89\x03\x82\x13\x64\x9e\x65\x5c\x28\xd4\xd0\x86\x09\x55\x34\xe3\x83\x3b\xc7\xce\xc3\xf3\x38\x68\x44\x4b\x18\xb2\xa6\x5e\x58\x3b\x08\x28\xbb\xae\x81\x8f\x2b\x48\x02\x02\x45\xd0\xd7\x76\x4c\x4b\x2a\x75\x89\x42\xeb\x84\xdf\x5d\xb2\x28\x33\x7d\xc1\xb7\x2d\x35\x5c\xd7\xfb\xb5\x6b\xa1\x76\xcb\x13\x32\x55\xe3\x0d\x9d\x52\xd0\x22\x6b\x42\xcd\xa3\xb3\xf9\x1e\x5a\x6c\xaf\x25\xfc\xd1\x06\x2f\x6b\xd5\x20\xb0\x10\x08\xce\x95\x91\x4f\x0b\x1d\x06\xb9\xd5\x04\xf3\x82\xed\xd4\xe6\xbb\x7b\x21\x50\xcb\xfc\x26\xe6\xcb\xa7\x86\x1f\x8f\xd8\x00\x82\x44\x0b\x45\xc4\xa5\xc1\x83\x16\xb0\x56\xfe\x2f\x15\x56\x7f\xd5\x8c\x94\x66\x14\xfb\x82\xee\x4d\x68\x21\x49\x16\xa8\x28\x9e\x5f\xfa\xae\xcd\xe9\x31\x56\x6f\x27\x02\x9a\x09\x9b\xa3\x23\x15\xc9\xac\x65\xde\xcc\xb3\x88\x66\x06\xaf\xb0\xee\xea\x18\xfd\xe4\x2c\x3f\x90\xdc\xe3\x93\x5d\x5c\x7c\x6a\x82\x17\x0e\xf8\xba\x6e\x61\xf7\x81\x25\xbd\xef\x74\x9f\xd5\x0b\xec\x41\x2b\x6b\x56\xb9\xa4\x80\x33\x66\x2c\xb2\x1b\x84\x0b\x9d\xf9\x8f\xee\xc8\xea\xc8\xc7\x8f\x50\x6a\xdc\x46\x8f\x83\xd0\xc1\x92\xc5\xff\x32\x9b\x65\xd0\x36\x5c\x30\x85\x2d\xfd\x6c\x3d\xa8\xfa\xfc\x80\x07\xd0\x80\x71\xa0\x29\x4d\x12\x90\x03\x8e\x51\x9f\x2d\x1c\x58\x85\xbe\x0a\x5d\x10\x29\x9d\x31\xbe\x2e\x8f\xbe\x81\x98\xa2\x80\x98\xee\x9a\x89\xc9\xc4\x69\x14\x58\x45\xfb\xa1\xa8\x3d\xe0\xd6\x69\xde\x82\x97\xab\x7e\xb4\x47\xab\xdb\x40\x79\x0f\x6f\xf3\xd7\xca\x00\x5b\x1a\x6e\xf0\xe1\xbf\xea\x87\xfe\x29\xc7\x02\x33\x05\x79\x4d\x56\x74\x17\x24\x48\xaf\x26\x9f\x21\x06\x95\x19\x43\x30\xfc\x14\x6e\xae\x73\xf9\x9b\x30\x31\x1a\xf7\x10\x3d\x26\xc7\x50\x81\x56\x68\x59\x62\x52\xbc\x39\xd7\x92\xc3\x88\x2d\xe5\x6b\x1c\xa3\x7e\x22\xb9\xfd\x82\xb0\x28\xe1\x12\x42\x70\x27\x21\x38\x38\x50\xbe\x75\x2b\x4d\x16\xa0\xa0\xc0\x56\x16\xcd\x73\xfb\x20\xf8\x10\x0a\xa9\x82\x4f\x3c\x81\x93\x5e\xfc\xfe\x7b\x9e\x19\x6f\x45\x53\x9c\xc4\x0b\x96\xac\x5a\xba\x86\x5e\x6c\x93\x4c\x39\xe4\x55\x1b\x04\x6f\xc0\xc6\x14\x79\x34\x01\xca\x1c\xfa\x1a\x2b\x94\x10\x2c\x15\xfa\xc3\x37\x1b\xc5\x86\xb8\x09\x16\xdc\xd5\x1e\xdf\x22\x19\xde\xa5\x53\x86\xc2\x9d\xef\x18\xea\xe3\x62\xa1\x10\x46\x8c\x3c\x87\xd9\x33\x1c\x12\x9e\x5c\xd1\x5b\x12\xe0\x77\x98\x98\x79\x83\x3e\x04\x19\xa9\x46\x65\x6a\xe0\x23\xae\xa4\x83\x75\x9f\xda\x61\xd5\x50\x56\xcf\x47\x9f\x41\xb8\xb9\x7e\xa9\x48\x6c\x9c\x63\x35\x62\x96\xb3\xba\xb0\x91\x20\x95\xbd\x9f\x24\xe5\x64\x42\x0c\xf9\xb2\x4c\x4f\x58\x8f\x3e\x3e\xf6\x0b\x74\x05\xea\x97\xcf\xe8\x2a\xd9\xe9\x8a\xc3\x62\x72\x0e\x3c\xa6\x63\xd8\x76\xad\xb4\x53\x67\x5f\x7e\x45\x21\xb8\xa6\xfb\x0b\x3e\xa3\x11\x4e\x5a\x08\xc3\xa4\x6e\xc8\x6b\x0e\xd6\xb2\x4d\x7f\x85\x6c\xbc\xef\x0e\xda\x8b\xca\xf5\xf6\x71\xb8\x66\x9f\x79\x8d\xb9\xbd\x61\x73\x03\xd9\x62\x17\x05\xdc\xa7\x16\xbe\x96\xc7\xb7\x34\xf4\x61\x0c\xc0\x06\xeb\xb9\x60\x01\x14\xe0\x58\x87\xc9\x2f\x8b\x83\xbc\xe5\x20\x4d\xd2\x06\x7b\x1a\xc6\x67\xdf\x6c\xf0\xbc\x66\xef\x7b\xfa\xbd\x62\xfe\x6e\x2a\x3e\x08\x6e\x79\xe2\xcd\xc2\x5e\x3f\xfe\x3b\x8e\x20\x9b\x11\x7a\x72\x79\x94\xcb\xa0\x93\xae\x54\x07\x06\x63\x7e\xad\x78\x98\x09\x1e\x11\x29\x8f\xd1\x00\x2e\x1a\xfb\x4f\x84\xa7\xce\x21\x11\xbc\x3c\x62\x5a\x33\x71\x18\x75\x41\xfb\x65\x12\xaf\x3b\x01\x06\xf0\x76\x27\x5f\x4e\xba\xbe\x0e\x5b\x93\x36\xe1\xf0\x76\xa1\x0d\x28\xdd\x84\x06\xb3\x53\x14\xf3\xe8\x91\x88\x13\x41\x62\x2a\x4f\xc1\xb7\xae\x1a\x9d\x7a\xa9\xd6\xb6\x77\x96\x34\x9a\x02\x05\xd6\x24\xfe\x9f\x99\xfe\x6d\xe8\xbf\x4b\x21\xea\x21\x3a\x05\x75\xc2\xe5\x9d\x9a\x44\x2b\x07\xe9\x47\x98\x12\x0b\x13\x95\xec\x4c\x59\x95\x85\x70\x9a\x86\x16\xda\x9a\x32\xa6\xc5\x3e\x62\x70\xb6\x9c\xb6\xc9\xcc\xb1\x01\x07\x66\x52\x8a\xdb\x7c\x2d\xc3\x2e\x32\xac\xe6\x12\xe0\x39\xca\x6b\x60\x95\x2e\xf8\x54\xaf\x10\xce\x20\x5e\xc1\x58\x29\x8a\x8f\x3c\x88\x84\x54\x34\x49\x46\xcc\x24\x58\x00\x92\xc6\x57\xb5\x28\x40\xfa\xd3\x1e\xc2\x71\x8c\xfe\xf7\xd7\x1f\x2f\x7e\xbe\x1f\x8c\x87\x57\x60\xb4\x1e\x5e\x0c\xbe\xe9\xf9\x1f\xaf\x1f\xee\xfd\xaf\xc6\xc2\xf2\x44\x04\x4a\xf1\x23\xa8\x78\x4c\x12\x9b\x20\x4a\x46\x2c\x1c\xa9\xc3\x47\xd2\x4f\x24\x71\x91\xae\x56\x4c\xf1\x30\xd1\x76\x0f\x9b\xc0\x55\x2d\x6c\xe6\x06\xca\xef\xad\xff\x64\x35\x0d\x3a\xe2\xf1\x5d\x38\x31\x10\xf2\x80\xb1\x0c\x00\x73\xac\xee\x5b\x10\x1c\x61\x33\xca\x9a\xe2\xf1\x08\x7b\x7a\x49\x21\xfe\x07\xb2\x80\x80\xf0\x1b\x4c\x45\x6b\xda\xab\x47\x3c\x74\x27\x46\xeb\xe9\x58\x56\x0f\x95\x34\xb2\xb0\xc9\x28\x6e\x8c\xf9\xac\x03\xbb\x7d\xf3\xe9\x5a\x08\x4d\xf2\x59\x09\x87\xc4\xe5\x73\x56\x1d\x5c\xa5\xbf\x68\x0a\x1a\x1c\xb1\xfb\xeb\xf3\xeb\x53\x44\x12\x3c\xe1\x90\xae\x68\x43\x82\x5c\x13\x76\xc1\x22\x9e\x06\x0d\x95\x50\xd8\x7a\x28\x2b\x50\xd8\x42\x23\xda\xb1\x69\x63\x0d\x1a\x5b\xc6\xc5\x32\x86\xd9\x7e\x55\x40\x3b\xd9\x1b\x2e\xda\x5c\xff\xfa\x35\x93\xbf\x91\x69\x45\xae\xc2\x79\xed\xdd\x3c\x25\x18\x10\x3a\xac\x5b\xc8\xda\xf2\x6d\x00\x6b\x92\x94\x6a\x46\xeb\x83\x23\x8f\xad\x0b\xbe\x78\x93\x33\xf4\xc3\x5f\x24\x9a\xe4\x6a\xc4\xca\x6d\x70\x86\xfa\x3f\xdd\xa1\xef\xb0\x8a\xe6\xdf\x8c\x18\xe4\x0f\xfe\xf0\x97\x06\xb8\xc8\x8d\x11\x98\xf5\x9a\x9c\x63\x85\x2f\x38\x8e\x29\x9b\xd5\xc1\x2f\x17\x35\xf2\x06\xf7\xfd\x53\x74\x6d\x75\xf8\x22\xdb\x55\x39\xd8\x93\xa0\x21\x60\xc8\x30\x11\xc7\x45\x80\x95\xb3\x32\x44\xad\xd1\xcc\xe0\xc2\x1a\xb1\x7b\x83\x3b\xad\xb9\x2a\x55\x28\xe3\xb6\x4e\xa3\xd6\xca\x0c\x22\x37\x76\x59\xe0\x24\x59\x20\xbd\x3a\x40\xc6\x7e\x33\xac\x3c\x06\xf2\xcc\x32\xb3\x1f\x31\x50\xd0\x7d\xfe\x6d\xc2\x23\x9c\x40\x4c\xde\x51\x60\xd3\xd3\x6a\x3b\xcf\x01\x03\x07\x82\x61\xd8\xa2\x1c\x3a\xeb\x61\x99\xbc\x50\x16\x6e\x14\x18\x00\x60\x1f\xad\x37\x36\xe5\x9a\xe3\x18\xbc\x59\x30\xbe\x25\x66\x75\xf4\x87\x1e\x7f\xd6\x2c\x8b\x7e\xea\x53\xd3\x79\xce\x1c\xde\x5a\x04\xe6\x7b\xb6\x80\xf0\x6d\x28\xac\xc6\x21\xf4\xa3\xe0\xce\x96\x28\x97\x76\xd1\xdf\x89\xc1\x67\x23\x66\x22\x05\x4b\xfb\x12\x22\x14\x06\xbd\x73\x06\x81\x8c\xcb\xf9\xf0\x79\x66\x03\x1b\xad\xac\x9f\x09\x72\xe4\xb3\xbc\xe3\xd2\x9a\xea\x1b\xf6\x18\xdd\x86\xea\x75\xcc\xa3\x3c\x75\xd5\x23\x20\x43\xdc\x46\xc0\xd9\x4b\xd4\x53\x88\xb9\xd8\xd7\x51\x3c\x20\xd1\x29\x02\x10\x39\xad\xf5\x63\x43\x30\xfd\xf0\xd3\x65\x49\xbd\x59\xf0\x05\xde\xb1\x5b\xd4\x9a\x69\x68\x9c\x95\x5b\x2a\xb5\xb6\x33\xf6\xc2\x55\x81\x70\xcf\x05\x08\x5b\xe4\x73\xc6\xc1\xc8\x6d\x12\xa0\x79\xfc\x95\x44\xc3\x1b\x2d\x01\x69\x8d\xd7\x9f\xc1\x5c\x2a\x13\x5c\x66\xf2\x94\xe1\x6b\x93\x2e\xd0\x43\xdf\xa2\x51\xfe\xed\xb7\x7f\x8a\xd0\x67\xf7\xc7\x9f\xff\xf3\x3f\xff\xf4\xe7\x4d\xd2\x49\x9c\x42\x0e\xed\x16\x6b\xe4\x4b\x66\x96\x45\xa2\x70\x07\x96\x39\xd5\x0e\xbb\x60\x0f\x60\xd3\xf2\x6f\x83\x64\x1d\xc4\x0e\xe1\x99\x3d\xe1\x32\x3c\x99\xa8\x74\x34\x8b\x48\x02\x49\x54\xaf\xcc\x21\xbc\xb0\x6b\x25\xfa\xff\xb5\x02\x90\x75\xac\x8f\xca\x76\x31\x4e\x34\xf1\xe2\xb5\x6e\x04\x7d\x6d\xed\x7f\x0a\x1c\x88\xdf\xb8\x0b\x8e\x27\x31\x11\x66\x4c\xde\x64\xe7\x0d\x89\xc0\x1c\xc8\xe7\x2c\xe1\xb1\x83\x80\x2f\xf0\x0e\x28\x08\x08\x83\xcf\x58\x73\xee\x9e\x85\x0a\xb5\xf9\xa5\xe0\x79\x99\xe2\x88\xd8\x5c\xe8\xaf\x3f\x9f\xea\xdf\x7a\x68\x71\x0a\x41\xa4\x3d\xf4\xeb\xa9\x45\x04\xc4\x42\x8d\xf5\x4f\xdf\x38\x59\xdb\x36\x01\x83\xa6\x12\x7d\x75\xf2\x84\xc5\x09\xb0\xe7\x13\x33\xa2\xaf\x2c\x67\xf5\xb5\x7f\x43\xd9\x3c\xe1\xfc\xd1\x06\xd8\x2e\x7d\x78\xe2\xc0\x65\x81\xbc\xbd\xdf\xc4\x6c\xbd\x07\x1f\x52\xe8\x08\x5e\x20\xe8\x38\x9b\xa0\xe3\xbf\x4b\xce\xd0\xf1\x02\xa7\x89\xfd\xd5\x3d\xb5\xf1\xbf\x58\xda\x9c\xb8\xd8\x07\xf9\x24\x0b\x63\x29\xfd\x2e\xe1\x13\x98\xd5\xa5\x9b\xa9\x89\xa0\x85\x81\x16\xb7\x4f\x71\x61\xd9\x89\x38\xb0\x0d\xc0\x48\x4c\xb9\x32\xaf\xd8\xf4\xd6\xe5\x59\x7d\xf6\x43\xfa\x6f\xe3\x17\x86\x45\x71\x49\x7c\xc6\x38\xec\xa3\xd7\x74\xa3\x9f\xd1\xd7\x96\x05\x7d\xa3\xef\x18\x1b\xae\x6c\x96\xa1\xae\x83\x85\xef\xe0\xe7\xa0\x03\xca\x90\x49\xcb\x5c\xf1\xe5\xaf\x27\xc7\xc7\xc7\xfe\x6b\x40\xe6\xf9\x7f\x11\x55\x92\x24\x53\xd3\x92\xbb\xc1\x16\x23\x76\xe9\x8a\x4b\x39\xe3\x75\x01\x5b\x9d\x09\xae\x78\xc4\x13\x74\x54\x18\x74\x63\x1e\x49\xf4\xef\x5a\xac\x0d\x96\x12\x7e\xd4\x7a\x5c\x03\xd4\xbd\xa9\x66\xf1\x4a\x87\xca\x1a\xc4\xab\xc7\x2a\x44\xaa\xf5\x8a\x2d\x96\x61\x32\x32\xd0\x82\xa6\x9c\x13\x8b\x66\x2b\x84\x7e\x99\x7c\x56\xf0\xa8\x01\x2c\xb8\x36\x94\xbd\xfe\xa6\x5c\x62\xb7\x05\x66\xb0\x21\xeb\x86\x05\xb0\x98\x9e\x96\x33\x98\x79\xf6\x42\xf7\x89\xbe\x5c\x58\x58\xee\x48\xe6\x69\x8a\xc5\xe2\xa4\x38\x6d\xcb\xc4\x59\xa0\xc9\x02\x8f\x49\xdc\x02\x80\x0b\x37\xb1\x47\xcb\x46\x31\x58\xf1\xd2\xdd\x68\xfe\xec\x46\x50\xaf\x39\x40\x65\x22\x2c\xe2\xb1\xa5\xeb\x22\xfb\xb4\x2c\xb1\xf8\x77\x96\x65\x15\x17\x11\x23\x0b\x63\x1c\x53\x06\xa6\xcc\xbe\xe1\x3e\x6e\x60\xdf\x7c\x0c\x95\xff\xc9\x6c\x03\xf7\xe8\xf0\xfa\xce\x7d\xd3\xfe\xd2\x85\x75\x28\x8b\xec\x38\x09\x31\x80\xd9\x0c\x09\xfc\x5c\x5c\xbf\x10\xdb\x61\xac\x33\xb9\xcf\xcd\x35\xff\x3e\xe3\x37\x34\xd1\xb7\x16\xd0\xf8\xf1\x88\x95\x7e\xee\x21\x92\xd0\x94\x32\x1f\x5b\x67\x98\x3b\x9f\x1a\xe9\xf9\x91\x2a\xbd\x65\x32\x7e\xd4\x1c\xcc\x61\x57\x06\x2a\x55\x9f\x2d\x1c\xe9\x78\xc7\x94\xb5\x40\xe4\x52\x8f\xab\xd0\xd1\x21\x6b\x9f\xc6\xe4\xc8\x0a\xa4\x34\x20\x3c\x38\xbf\xff\x1f\x7b\x6f\xda\xdd\xc6\x91\xa4\x8d\x7e\xef\x5f\x91\xd7\xef\x07\x49\xef\x80\xa0\xe5\x9e\x99\xe3\xd1\x1c\x9f\x73\x61\x8a\xb2\xd9\xa6\x28\x36\x17\xbb\xe7\x36\xfa\x40\x89\xaa\x04\x90\xc3\x42\x66\xb9\x16\xd2\xe8\xe5\xbf\xdf\x93\x11\x91\x4b\xad\xa8\x22\x48\xc9\xd3\xe3\x0f\x33\x6d\x11\x40\xee\x4b\x64\xc4\x13\xcf\x33\x57\xa6\x34\xbb\x97\x3c\x5c\x38\x28\x2f\x28\xee\xc8\x8a\xfe\x04\x27\x00\xd4\x51\xc1\xfc\x3a\xfb\xb7\xc5\x40\x39\x55\xe5\xf6\xd0\x64\x13\x82\x0f\x7f\x2e\x37\xdd\x65\x26\xec\x4d\x45\x89\x4b\x42\x95\x5b\xbb\xa1\x46\xac\xb8\x53\x32\x7f\x62\x11\x25\x1c\xd9\xf8\x4c\x41\x80\x7c\x9c\x60\x80\x34\x0d\xea\xc2\xeb\x05\xab\x41\x1d\xc1\x44\xa8\x97\xf8\xef\x57\x8c\xee\x86\x2f\x27\x74\x9f\x67\xb9\x63\x39\xc3\x39\x07\x1d\x6a\x11\xa3\x0f\x1d\x94\x17\xd6\x3c\x8b\xd1\x5b\x1e\xbe\x2a\x30\x83\xd7\xd8\x5f\x3b\x5d\xb2\x07\x99\x6f\xe6\xea\x46\x5b\x87\x23\x53\xda\x69\x57\x4c\xe0\x31\xda\xa8\x8f\xe7\x70\x08\x40\xab\xdb\x56\x80\x39\x84\x0f\xca\x35\x02\x14\xec\x42\xe9\x58\x1c\x46\xd2\x78\xe3\x63\x15\x36\x7e\x9d\x09\xcc\x07\x83\x9b\xa2\x2b\x9d\x56\xe4\xf9\x48\xdf\x7c\x7d\xe2\xe1\x1e\xa2\x72\x4c\xad\xfa\x61\x94\x82\x48\xc8\x7f\xea\x6e\x35\x28\xc5\xbe\x38\x83\x6c\xe0\xca\xd8\x3b\x45\x88\x43\x27\x21\x6a\x61\x64\x1c\x74\xf7\x63\xdf\x23\x18\x76\x07\x30\xe6\x6c\x9d\xe9\x32\x75\x29\xf3\x36\xdd\x0f\xa7\x81\x6c\x9a\x33\xb5\xd2\x6f\xe8\x4d\x75\x2e\xd5\x1d\xae\xf8\xe7\x9a\x23\x14\xfd\x10\x71\x85\xaa\xd6\x2a\xd1\x43\x1f\x8e\x98\x54\x51\x52\xc2\xc5\x97\x17\x3c\xba\x43\xe1\x92\x2e\xa7\xaf\xf9\xcd\x62\x7f\x32\x65\x87\xc5\x54\x26\x09\x55\xeb\x2f\x50\x20\x83\x03\x17\xd0\xbd\xe4\x8c\xb3\xdb\xab\xb3\xf6\xba\xef\x64\x33\x98\xd3\x7e\x7b\x56\x17\x08\xfc\xbf\x1f\xe4\x28\xdc\x65\x8d\xfa\x57\x54\x96\xba\x73\x2e\x75\x11\xcb\xe3\x22\x2d\xcc\x03\x22\xbe\x6a\x71\xed\x8f\x5e\xa7\xeb\xb4\x5c\x98\x81\x4a\xc6\x00\x04\x4c\x2b\xbe\xbb\xbc\x9d\x05\xbf\xeb\x5b\x2a\xdf\x5d\xde\xb2\xa0\x0e\x24\x75\x4e\x44\x54\x38\xa4\xf1\x94\x9d\x78\xad\x85\xba\x65\x1e\x8b\x7b\x19\x61\x8a\xeb\xc4\x58\x45\x73\x05\x14\xe6\xe6\xad\x73\x64\x79\x2f\xd9\x77\x97\xb7\xc4\x96\xe9\xf9\x6d\x50\x36\x02\x28\x2c\xc6\x5d\x3b\x35\xf2\x70\xa5\xd5\x11\x52\xfb\x64\xb1\x8f\x76\x4c\xe0\x71\x1d\xf1\xb4\x28\xc9\xc0\xb8\x7f\x3d\xb5\x73\x72\xe5\x23\x21\xa6\x59\x7a\xae\x8c\xad\x84\x59\x06\xa0\x70\x66\x3a\xdd\x9c\xda\xda\xa0\x1e\x02\x0e\x80\x41\x3b\xe8\xf0\x97\x2e\xc3\x8f\xab\x1d\xe3\xd9\x52\x16\x99\x79\x86\xe1\x8f\x27\xc8\x44\xb6\xb1\x2a\x56\x38\x6f\xde\x32\x22\x51\x3a\x98\x60\xa9\x8a\x7c\xae\x82\x0c\x16\x97\x15\x8c\xc9\x0b\x52\x31\xa0\xfc\x05\xec\x8d\xa5\x20\x8d\x12\x5d\xc6\xf6\x5a\xcd\x9c\xc8\xdd\x2e\x45\x23\x6a\xae\x80\x99\xc4\xdc\xad\xda\x98\xa1\xfe\xee\x7f\xc3\x3e\xaa\x7b\x19\x4b\x7e\x54\x88\x3c\xe1\x47\xc5\xbf\x7e\x9c\xd4\xfe\xc4\x5f\x7f\xf9\xe5\x47\xd4\xeb\xeb\xa2\x5d\x08\xd8\x95\x0e\x74\xf0\xb4\xc7\x29\x1c\x4f\xa1\x59\xa5\x07\xcc\xd3\xb9\xbc\x13\xec\x23\x4e\xf7\x47\x22\x29\x7e\xdc\xb4\xcd\x55\xdb\xbc\xb1\xc7\x4c\x1b\x50\xc6\xb7\xcf\x1b\xeb\x99\xb6\xd7\xeb\xe9\xbf\xad\x97\x66\xb6\xbe\x5a\x4f\x5f\x7f\x09\xff\x59\x9b\xa3\x7d\x9b\xd7\x65\xcf\xb4\x35\xbb\xe5\x20\x6a\xd9\x96\xee\x2c\x9a\xab\xfd\x87\x11\x1b\x77\x16\xc1\xaa\x6d\xdb\xf8\xbc\x10\x87\x66\xb7\x22\x77\xf5\x08\xf4\x75\x83\x14\xbc\x37\x22\x78\x20\xa3\xb6\x67\xc3\x06\xb8\x67\x37\xb5\x77\x08\xc0\x85\x0f\x47\xf0\xf1\xc0\xf7\x87\xf5\xa7\xf6\xdd\x3d\xdd\xe9\x6f\x66\x22\xc4\x08\x06\x99\x6b\xf3\xf5\x81\x8d\xac\x7c\xb5\xaf\x8d\x0f\x1c\x55\x03\x9b\x62\x35\x31\xbd\xd6\xc7\xec\x22\xbb\x1c\xd1\x65\x92\xbb\xbc\x3f\xd7\x12\x0b\xad\x74\xef\x6b\x5b\xef\x9a\xf6\x52\x28\x4a\xe8\xa2\x6e\x2d\x0b\x3f\x70\x45\x1c\x08\x85\x33\x4f\xea\xc5\x76\x30\x11\xba\xaf\xf8\x2d\xfd\xf8\x7d\x83\x16\xdd\x99\x97\xef\x21\x33\xdb\x91\x61\x6d\xb9\x32\xd6\x9a\xad\xb5\x23\xb0\x84\xaf\xfc\x47\x35\xe9\x36\x7d\x54\x83\xb0\xc6\x81\x7a\xfd\x54\x95\x2d\xe5\x01\x63\xab\x3c\xc1\xd8\x41\xb1\x01\xb7\xb2\xd7\xb9\xb5\xc7\x9c\x77\x2f\xa3\x26\x6e\xc2\xb3\x35\x3a\xbd\x72\x51\xe4\xaf\x5a\x66\xd8\xe7\xb1\x1d\x30\xc3\xd6\xec\x5a\x8c\xe3\xf9\xb0\xf6\x18\xb8\x54\xfa\x76\x9a\x6b\x65\x55\x14\xc3\xbd\xb4\x6c\xfd\x21\xe3\xbb\x4f\xae\x8b\x74\x86\x0a\x52\xc0\xc7\xda\xcd\x83\x75\x20\x1d\xec\x05\xdf\x3a\x96\x17\x2a\xcd\xe6\xec\x62\xe3\x96\x02\xf4\x5c\xba\xdb\x30\x88\xeb\x75\x68\x13\x88\x91\xb6\xab\x05\x73\x35\xb3\x5f\xf1\xac\xd4\xb9\x44\x2f\x0b\xa6\x23\x96\x4b\xcc\x70\x01\x9f\x19\xf7\xa3\x4e\x9d\xeb\xe8\xc4\xd8\x84\xfc\x5a\x17\x6e\x73\x91\xf9\xdb\xc8\xb3\x96\x86\xfd\xe8\xa8\x79\x18\x6b\x71\xef\x89\x6e\xbb\x48\x45\xd9\xb1\x6c\xab\x78\xf8\x43\x85\x0a\x22\xc2\x6a\x44\x31\x40\x5e\x40\xb2\xf3\xcb\xd4\x93\x9b\xd7\x2a\x6b\xee\xd6\xe2\xa0\xd3\x58\xf2\xed\x22\xd3\xdd\x32\xcc\x03\x86\xc9\x16\x51\xf1\xd9\x6f\x50\x96\x71\xc7\x7e\x2e\x79\x82\x97\x9b\xa2\xe5\x68\x9b\x0d\xee\x8f\xaf\xfe\x9d\xcd\xe0\xf6\x61\xef\xe1\x5c\x04\xd0\x16\x94\x56\x68\x26\xb7\xa9\xc8\x72\xad\x78\xa7\x1e\xf9\xdd\xd7\xf9\x82\x34\x55\xcd\xd3\x58\x97\x4d\xfd\xd4\x11\x3d\x69\x29\x2d\xec\x14\x67\x77\xe5\x52\x64\x4a\xa0\xe6\x3a\x7c\x8f\xd9\xef\x0d\x6a\xae\xe6\x65\xb1\xf9\x6a\x11\x25\x72\xb0\xd0\x2b\x64\x8c\xce\xcc\xcf\x4e\xf0\x57\x7d\x1d\xa8\x94\x5f\x69\xba\x62\xf8\x19\xc3\xcf\xa6\xec\x5b\x1e\xdd\x09\x15\xb3\x34\x29\xd7\x92\x08\x62\xd0\xdc\x97\xd5\x87\x7d\xb5\x63\x68\x5b\x60\xf9\xe6\x1a\x9a\xab\x2d\xbf\x43\xf1\x15\x32\x22\xcd\xcb\xa1\x8b\x5e\xd0\xb9\x4a\x16\xb2\xb9\x76\xf7\xce\x96\xbb\x0f\x9b\xc5\xd4\xd7\x5e\x5e\x62\xbe\xdc\xc3\x46\x13\xca\xa8\xe2\xa9\x19\xb1\x71\xdd\x6a\x6d\xf0\x78\x59\xae\x15\xa7\xbe\x4f\x8d\xc1\xdd\x0b\x21\x3c\x10\x10\x2a\x15\xe3\x40\x05\xf6\x22\x67\x65\x6a\xed\x33\x88\x2d\x25\x80\xf4\xc1\x29\x30\x1f\xa4\x32\xba\x43\x6c\x29\x64\x4f\x30\xd7\xbd\x86\x48\x33\x13\x1e\xe4\xd8\x76\x34\xac\x90\x08\xe7\x30\xdc\x4a\x43\x7f\x68\xcf\x3a\x1d\x98\x19\x52\x6c\x84\x5a\x3c\x42\x06\x67\xf8\xa4\x55\xb2\x40\xc8\x0c\x76\x31\x3a\x37\x84\xa5\x92\x44\x7b\xed\xdf\xd8\x4e\xe3\x41\xae\x6a\x66\xb4\xcc\x59\xce\x0b\x99\x9b\xb3\xac\x75\xc4\x3d\xfd\xd0\x21\xa3\xce\xc7\x71\x1e\xb5\xf0\x1d\xd5\xc6\xc2\x65\x9a\x4d\xd9\x3b\x88\x6c\x04\x2f\x03\xed\xd8\x83\xba\x0e\xac\x62\x23\x3a\x69\x74\x9f\x02\xa2\x69\x7b\x10\x7c\xbf\x37\x60\xe5\xb2\x0a\xa7\x6c\xe6\x23\xca\xc8\x9f\x84\xb1\xe2\x3d\x3d\x12\x49\x2e\x1e\xb3\xf8\x06\x05\x5f\x00\x75\x05\x0b\x88\x81\x25\x95\x9b\xbf\x7b\x3e\x75\xd7\xcc\x07\x48\xdc\xe7\x77\x42\xf5\x79\xd8\x87\xb7\x10\x43\x20\xbd\x2e\x01\x17\x5b\xd1\x18\x5e\x79\x4c\x03\x87\x6f\x3b\x4f\x59\x25\x57\xc7\x66\xc8\xcd\x33\x24\xba\xa3\x74\x41\x8c\xb0\x11\xe9\xd5\xc3\x46\xe7\xe1\x3e\xb3\xf3\x87\x2f\xd9\xac\x74\xea\x56\x90\x6e\xe9\x06\x18\x71\x96\x4a\x87\x9c\x58\xd0\x6a\xb7\x49\xd1\xad\xe3\xe6\x9b\xd9\x23\x14\x86\x01\x90\x09\xb6\xa8\x96\xdd\xac\xd2\xf2\xa9\xd4\x53\xf6\x13\x51\x37\x47\xb8\xd1\xa0\x1f\xbe\xce\x3f\x40\x7d\x4f\x41\x07\x83\x7e\xbe\xa7\x4f\xc5\x7a\x64\x10\xda\x81\x8c\xad\xff\x51\x43\x9a\x06\x5d\x94\xa9\x8e\x99\x5f\xef\x5d\xb9\x2e\x4a\x69\x04\x99\xfe\x0a\xbb\x15\x34\x6e\x70\xdf\xf6\x6d\xb5\xf7\x01\x52\x8d\x2d\x4b\x99\xc4\xc8\xe7\x17\x58\xa8\xda\x9a\x40\x20\x24\x04\xf6\x88\xcc\xdd\x05\xd7\xb2\xe8\x7f\xf8\x3a\xbf\xd4\xf1\x21\x0b\x6b\x3c\x67\x6b\x73\x5d\x0f\x48\x64\xc9\x43\x34\xd1\x76\xff\x48\xa4\xba\x3b\x05\x21\x5e\xe4\x55\xe5\xdc\x9e\x06\x03\xe6\x6c\x59\xae\xae\x41\xa6\xb3\x8b\x16\x29\x50\xb0\xb3\x79\xce\x66\x9e\x4d\x35\x2e\xeb\xae\x6b\x52\x08\xc2\xe4\xed\x11\xce\xfe\x70\xfd\xe1\xe2\x68\xcb\xb3\x7c\xc3\x81\x76\xc2\x96\x35\xb1\xca\xe7\xf8\x5e\xb7\xd0\x0a\xa9\xe6\xea\x88\xad\xf5\x04\x81\x3c\x6f\xd8\xa6\x28\xd2\xfc\xcd\xf1\xf1\x5a\x16\x9b\x72\x39\x8d\xf4\xf6\xd8\x0f\xcd\x31\x4f\xe5\xf1\x32\xd1\xcb\xe3\x4c\x40\x2a\xc7\xd1\xeb\xe9\x57\xaf\x61\x66\x8e\xef\x5f\x1f\x03\x7c\x63\xba\xd6\xff\xe7\xfc\xab\xff\xf8\xfd\xbf\x9b\x82\xd3\x5d\xb1\xd1\xea\x0d\xa1\x84\x7a\xcb\x3e\xc2\x67\xc2\x31\xfe\xa4\x56\xcb\x7f\x4c\xbf\x0c\x9b\x41\x5f\xdd\xea\x58\x24\xf9\xf1\xfd\xeb\x85\x9d\x98\x69\xda\xa1\x2d\xf1\x5b\xf2\xc3\x27\x48\x7e\xb8\x93\xc5\x6f\xc9\x0f\x9f\x35\xf9\x61\xb8\xc9\xe5\xce\x18\x60\x93\xf6\xe7\xa3\xf9\xbb\x3b\x23\x6d\x2c\x60\xdf\x39\xd4\x72\x39\x84\xa9\x69\x07\x5c\x11\x23\xa5\xde\x6a\xdd\x75\x6f\x99\x0e\x9f\xdf\x58\x45\x97\xce\xd7\xc5\x28\x26\x0e\x80\x1a\xca\x08\xd4\x02\xd0\x47\x99\x72\xd9\x96\xd2\x10\x28\xdc\x1c\x30\x84\xa8\xb8\xd1\x4e\x3b\x36\x44\x98\x8a\xb4\x99\x44\xbc\x78\x12\x89\xaa\xd6\x3a\x10\x95\x39\xba\xfc\x86\xdd\x3d\xc0\x34\x26\x9c\xf2\x41\x23\xfa\x8c\x62\x22\x4f\xad\x22\x42\xdd\x7d\xa4\x82\x48\x82\xbf\xb6\xa8\x6a\xfd\x60\x95\x43\x9e\x42\x6f\xc3\x23\xc6\x87\x69\x6d\xe0\x22\x85\xb6\xd8\x76\x75\x34\x63\xc3\xf3\xc7\xc1\xf3\x67\x48\xd6\xeb\xa2\xb1\x88\x6d\x96\xb9\xad\xd0\xde\xc6\x96\xff\xc8\x5c\xee\x96\x66\x31\x2d\xb3\x54\xe7\x22\x9f\xb2\x77\x3a\x43\x62\x2d\x62\xbd\xf1\x29\x07\x57\xef\x4e\xd8\xeb\xaf\xff\xe3\xf7\x73\xf5\xb2\xc5\x18\x82\x4b\x54\x67\x6b\xca\x80\x00\x13\x68\xcb\xf3\x42\x64\xc7\xd9\x2a\x3a\xc6\xab\xe3\xd8\xfc\xfe\x88\x2a\x3d\xd2\xab\x23\x27\x26\x70\x44\xbc\xea\xd3\x6d\xfc\xaa\x0b\x1b\xd8\x6e\x70\x7f\xb6\x47\xcf\xac\xc3\x30\x6f\x9b\xdf\xfd\x07\x6b\x65\x0b\xa1\x21\x42\x56\x48\x0e\x16\x0b\x92\x21\xea\x95\x93\xbf\xc1\x4c\x5b\x54\xca\xd2\xab\x96\xff\xf8\x36\xd1\xcb\xfc\x95\xa3\x60\xe5\xb9\xad\xc3\x73\x22\xb6\x9d\xdb\x8d\x3d\x77\xc8\xeb\x9b\x86\xe2\x39\xdd\x6a\xf6\x4c\x0c\xa7\x6d\xcc\xc0\xb7\x1f\x1a\xde\x16\x44\x46\x28\x9e\xe9\x52\x59\x7d\x09\xad\x84\x5e\x01\xd0\x08\x9e\x49\x16\x27\x09\x91\x05\x40\xdf\x39\xf6\xa7\x4c\xa4\x68\x7d\x40\x0c\xac\x7b\xb8\x0f\xd4\x58\xd9\x37\xce\xcf\xa1\xb1\x72\xe8\xb8\xd3\xc1\xf8\x99\x06\xfc\xd0\x64\x06\xdc\x4a\x63\x30\x40\xe6\xfb\x7b\xe3\xfd\xee\x1c\xf0\x1a\xcf\x5e\xce\x20\xe5\x19\x58\xf0\xe2\xa8\xd0\x47\x40\x9b\x07\x64\x6c\xa8\x7a\xd4\x05\x02\x02\x9c\xc4\x98\xeb\xde\x7c\x7f\x40\x3b\xf1\xd5\xf6\x4b\xd0\x50\x32\x58\x73\x24\x11\x27\x50\xb8\x54\x4a\x64\x14\x01\xde\x6b\x19\x8c\x44\x51\x84\x53\xd9\x8f\x09\xf7\x6e\x8a\x50\x91\xc6\x65\x04\xf2\xe0\x10\x98\x32\x78\x9a\x6c\xf4\x56\x1b\x5b\x57\x97\x79\xf0\x21\x3e\x6d\xc1\x98\xe8\x34\xcc\xb7\x3c\x45\x7b\xf5\xf3\xf5\xc6\x6c\x2d\xf3\x11\xba\xa0\xc3\x2f\x8d\x12\xf9\x5a\x56\x65\x8d\xf6\xb4\xdf\xe9\xd1\xf4\xaf\x1b\xc0\xe8\x6c\x21\xe4\xb7\xe1\xf7\xc2\xaa\x4c\xc8\xbf\x9a\x47\xaf\x59\x52\xee\x19\xe9\x2c\x10\x84\x94\x21\x1b\x74\x08\xa0\xb4\xb7\x6e\x27\x5f\x4b\xb9\x1d\x39\x07\x2e\xcd\x69\xc8\x04\x70\x85\x89\x3f\x36\xe3\xe7\xa8\x35\xe5\xa7\x6b\x5f\x82\x5f\xad\x34\x2f\x13\xcb\x58\x3e\xae\xa9\xd7\xae\x00\x22\x27\x6f\xb6\xdb\x13\x3e\x42\x7e\x18\x8e\x31\x1e\x08\xd6\xb6\xe8\x82\x19\x8f\xdf\x8c\x20\xf1\x36\x66\xec\xa0\x12\x5c\x9c\x8d\x11\x0c\xf6\x42\xd7\x00\x8e\xf3\xbf\xf6\xb9\x33\xdb\x10\xe6\xc8\x91\xeb\xf3\x87\x4d\x2b\x1b\x9e\x05\xf7\xc3\x7b\x2f\x23\x0c\x00\xdc\x65\x09\x9f\x5f\x7c\xb8\x09\xb1\x45\x12\x7b\x7b\x14\x6d\x44\x74\x07\xde\x34\xbc\xf2\x70\x33\x50\x3a\x3c\x00\x9e\xbd\xf8\x68\xa1\x2d\x50\x66\xe7\xf4\x58\x9c\x26\x91\xce\x58\x2c\xf3\x34\xe1\x3b\x80\x24\x28\xcc\x14\xf4\x70\x06\x97\x62\x6b\x8e\x82\x7d\xc1\x84\xe1\x33\x6d\x66\x65\xe6\x7f\x37\x76\x2c\x3d\xf4\xdb\x0f\x66\xf3\x3c\x60\xb9\xd8\x72\x55\xc8\x68\xae\xb6\x82\xab\x10\x43\x4a\x90\x0c\x33\xc8\xb1\x16\xa4\x58\xb0\x5a\x89\xa8\xf0\x94\xc7\xf0\x08\x71\x23\xb5\x6f\x0f\x8e\xeb\xbb\xdb\x79\xbd\x5d\xff\xde\x0a\x24\xcb\x2d\x20\x94\x69\x0d\xd1\xd5\xf8\xc8\x50\x23\x88\xd5\xd2\x95\x6b\x1f\xb5\xf0\x2f\xbb\xa6\xd8\x52\x14\x0f\x02\x18\x7d\x88\x82\xa0\xcd\xc6\x3f\x58\xb0\xe8\x90\xf4\xbd\x99\x63\x00\x24\x82\xf7\x06\x85\x2f\x6d\xb0\x10\xfa\xe8\xa8\x07\x55\x8d\x43\xf0\x05\x91\x22\x80\x2b\xf0\x05\x39\x35\x5f\xc0\x35\x6d\x5e\xc1\xd9\xbd\x88\xe7\xaa\x4a\xec\x48\x36\xa3\xdf\x70\xcc\x4b\x71\x3e\xcd\x69\x63\xc7\x78\x50\xa0\xe7\x14\xc8\xac\x3c\x8d\xb5\x4b\xfb\xef\x91\x06\xc5\x4e\x3f\xe7\xab\xca\xaa\x12\x0f\x7d\x0c\x7b\xb5\x4e\x92\xda\x23\x65\xde\x0a\xfa\xc7\x2d\x4a\x47\x5b\x87\x9c\xb6\x0e\xae\x4d\x4e\xeb\x86\x1b\xbc\xad\x8c\xb9\xb2\x7c\x2e\xab\x32\x41\x9e\xf2\xae\xac\x19\x62\xb1\xb4\xb9\xa7\x9f\x2f\x07\xd9\x39\x5d\x59\xa0\x6e\xea\x40\x3a\x01\x74\x1e\xcf\x3a\xbb\xea\x85\xca\x4b\x30\x29\xac\xb0\x21\x44\x25\xd6\xa2\x80\xdb\x3c\x2e\x13\xa4\x27\x81\x70\x0a\x30\x62\xf2\x24\x61\xb2\xc8\xe7\xca\x11\x78\x62\x6a\x0c\x9c\xb0\x36\xde\x12\xd3\x93\x0b\xaa\x80\x62\xe1\x63\xae\xc0\x0e\x93\x91\x2c\x1a\x09\x07\xbb\x50\x0c\x2c\x4d\x05\xc7\x6c\x7a\x9c\xb6\xb9\x0a\xdf\x5c\xf5\x49\xa0\xd4\x73\xd0\x8f\x7f\x8a\x2c\xf0\x1e\xc7\xad\xa9\xe2\x51\x28\x1b\xec\x9d\x79\x70\x59\x9d\x6f\x6c\x2d\x31\xf8\x10\x2e\xd8\xbc\x6a\x8a\xdc\x06\x50\xfc\xbb\x15\xb2\x6a\xa2\x32\xe1\x19\xa6\x13\xad\xca\x84\xc9\x55\x20\x59\x0e\x73\x80\xf4\x8d\x66\xba\x22\x0d\x77\xb5\x0d\xa1\xe4\x7c\x2b\x02\xe6\x18\x72\xef\x24\x01\xe2\x07\x35\x29\x10\x4a\x62\xca\x7a\x35\x65\x6f\x3d\x41\x2d\xce\x30\xec\x89\x80\xf6\x59\xe6\x78\xfc\xb9\xf6\x06\xa4\x07\xa8\xe5\x2f\x57\xe6\x49\xf9\x22\xd8\x75\x1d\x33\x08\xf2\x31\xe3\xe0\x44\x56\x3c\xa8\x1f\xe3\xde\x4a\x7a\x62\x7e\x5a\x03\x19\xb9\x0d\xd1\xd1\x40\x7b\x2b\x8c\x6c\x64\x48\x99\xfd\x88\x86\x3a\x4a\xf2\x96\xc6\x6e\x7b\x14\xd2\x61\x1e\x47\x36\x35\xd0\x1b\x1c\xdf\xd0\x60\xe5\x84\xe0\xb1\x21\x23\xbb\xe6\xc5\x58\x24\x99\x4b\x1d\x1b\xdf\xd0\x56\xd4\xde\x90\x66\xc2\xe9\x31\xb2\x9d\x33\xf3\x9b\x47\x36\x34\x2f\x97\x47\x78\x40\x3b\x45\x22\x38\x2a\x04\x8f\x36\x55\x16\x07\xcb\xb5\xec\x7a\x00\x59\x7c\xb0\x1f\xc7\x13\x50\xcc\xfc\x9a\x03\xc9\x45\x66\x9a\x3f\x65\x1f\x94\x40\x9c\xa7\x5e\x05\x97\x0a\x35\x80\xb4\x19\x41\xee\xc6\x9d\x72\x4b\xd3\x30\x75\x67\xc9\xad\xcc\x96\x9b\x30\xee\x4b\x87\x53\x0f\x97\x0d\x9e\x22\x1d\xb6\x64\x9b\x38\xd4\x01\xe6\xe5\x30\x8a\x88\xf6\x37\x7f\x00\x97\x1e\x7f\x02\xb4\xf5\x63\xf8\xb4\xf4\xe6\x3d\xb8\x57\x9c\x4d\x76\xa8\xae\x1b\x86\xe0\xe7\x7d\xe3\x7b\xb9\xa9\x62\x66\x47\x48\x29\xde\x5e\xbc\x3d\x7d\x77\x76\x51\xd5\x3f\xfc\xe3\xed\xe9\x6d\xf5\x2f\x57\xb7\x17\x17\x67\x17\xdf\x85\x7f\xba\xbe\x3d\x39\x39\x3d\x7d\x5b\xfd\xde\xbb\xd9\xd9\x79\xed\x7b\xe6\x4f\xd5\x2f\xcd\xbe\xfd\x70\x55\x53\x5c\xb4\x72\x89\xc1\x9f\x6e\xce\xde\x9f\xbe\x5d\x7c\xb8\xad\x88\x36\xbe\xfd\xaf\x8b\xd9\xfb\xb3\x93\x45\x4b\x7b\xae\x4e\x4f\x3e\xfc\x78\x7a\xb5\x47\x73\xd1\xf7\xb7\x75\x48\x9f\x02\x5b\xf8\x68\x05\xce\x19\x5b\x65\x52\xa8\x38\xd9\x61\xa6\x88\x7d\xd9\xd6\xa0\xdf\xe1\xdd\x2b\xb7\x42\x97\x87\x24\x7c\xdc\x6c\x04\xd3\xf7\x22\x03\x1e\x2e\x2c\x8d\x48\x3b\x7c\xce\x7f\xbd\xd6\x4c\x14\x59\x33\x2a\xd0\x9b\xd7\x56\x64\x3b\x97\x39\xd9\xd7\x1c\xcf\xe1\x48\x95\xb0\x54\x64\x7d\x6d\x01\xcb\x28\x2b\xd3\x42\x2e\xbb\x53\x78\x46\xa7\xbe\x0f\x7d\x7b\x23\xe3\x70\x3b\x3d\xdb\x45\xfb\xc1\x58\xc9\x64\x39\x04\x26\x0f\x25\x3c\x56\x58\xd6\xfd\xda\x42\x8b\xd3\x72\x99\xc8\x88\xc9\xb8\xee\x4f\x21\x46\x0a\x70\x19\xd7\x89\xc9\x53\x91\x81\xa9\x6a\x5e\x00\x69\x26\x8e\x78\x59\x6c\x90\x44\x93\x12\x67\x48\x46\x66\xae\x72\x11\x65\x02\x63\x01\x22\x07\x27\x2d\x2a\x8a\x06\x35\x41\x63\x88\x43\x26\x06\xba\xba\x69\x20\x12\xd3\x11\x23\xc0\x5f\x62\xe9\x23\x9c\xa4\xf8\xfd\xde\xa1\xa1\x16\x4b\xd4\x2c\x0d\x60\x61\x70\xc3\xe3\x87\x56\x97\xd4\xf4\xdb\x9c\xd4\x4e\x97\x13\x27\xd9\x66\x1a\xb5\x77\x63\xdf\x1a\x0b\x17\x4a\x35\xf5\x86\x4a\xa7\x8f\x4e\x32\x01\x97\x08\x41\x1a\xac\xff\x02\x70\x4d\x94\x99\x04\x09\x49\xe6\xa9\xb6\x14\x1b\x9e\xac\xd0\xe2\x30\x53\xd3\xce\xeb\x81\xe5\xdf\xe8\x3b\xa1\xae\x70\xc2\x3e\xcb\x71\xa8\xf0\xe5\xe3\x59\x85\x9c\x47\xc8\xbb\x30\x4d\x1b\xed\xaa\xb2\x99\x99\x60\x4c\x15\xf8\x4e\x08\x3e\xc6\x04\x24\xaf\x19\x60\x93\x3a\x57\x2b\xf9\x8b\x29\x70\xae\x44\x2b\x6b\x3a\x80\xc9\x2c\xbf\xa3\x3b\x97\x01\x38\x87\x24\x79\x77\x42\x81\xa2\x29\xd0\xf3\xed\x5f\xb3\xe3\xfc\xe7\xcd\xb9\xe8\x71\xe8\x83\xcf\x4f\x56\x84\x5e\xc3\x28\x8f\x1d\xa7\x02\x33\xc2\x1c\x0b\x06\xac\x9b\x93\xf3\xb3\xd3\x8b\x9b\xc5\xc9\xd5\xe9\xdb\xd3\x8b\x9b\xb3\xd9\xf9\xf5\xd0\xed\xf7\x14\x59\x7c\xb5\xdd\x57\x4f\x66\x73\x27\xc4\x31\xed\x3c\x9f\x4c\xee\x3a\xe5\xb7\x1d\x4c\xc9\xfe\xd6\xcb\x38\x5d\xc4\x32\x8f\xcc\xf5\xb7\x5b\x08\x15\x83\xdc\xc4\xa3\x96\x6a\x7b\x51\xf5\x5e\xb8\x6f\x30\xf7\x0d\x7b\x82\xe0\x6d\x77\x6f\x57\xb4\xfb\x1c\x20\x99\xe0\x86\xcc\x84\xd9\xfc\x71\x85\xe5\x63\xba\x5f\x63\xcc\x14\x77\x58\xdf\xaa\x45\xd4\xfb\x84\xed\x95\x79\x5e\x02\x99\x88\xfd\x1a\xe0\x51\x3b\x46\x85\x38\x80\x43\xcd\x0b\x19\xe8\xb5\x33\x99\xcf\xd5\x96\xab\x98\x17\x3a\xdb\x75\x74\x71\xd8\xe1\x19\x6e\x9b\xea\x11\x1a\x5e\xd9\x4a\x88\xd8\xce\x02\x7e\x95\xab\xfa\x52\x42\x65\x8c\x9b\x0f\x3f\x9c\x5e\x5c\x2f\x4e\x2f\x7e\x5c\x5c\x5e\x9d\xbe\x3b\xfb\x93\x83\xc9\xa6\x3c\x6f\xd3\x67\x4e\x33\x61\x4e\x17\x4b\x34\xd6\x7a\xbe\xa0\x68\xb2\x2d\x87\x84\x32\xe5\x6a\xae\xec\xc9\x92\xf9\xe2\x37\x99\x2e\xd7\x9b\xf6\x82\xea\xad\xbc\x9c\xdd\x7c\xff\xa8\x66\x02\x0d\x24\x2a\xab\xe2\x6e\x6b\xc2\x85\xe5\x8a\xce\x3d\xc4\x18\xd7\x9a\x07\x64\xa6\xf0\xd5\xb6\x28\x43\xc7\x89\xf6\xa8\xd7\x4b\xf3\xd0\xea\x35\xfe\x5b\xbe\xde\xb5\x80\x6e\x82\x73\xb3\x72\x8d\x00\x7c\x1d\x05\xba\x1b\xa5\xbd\x69\xf9\x5b\xe5\x06\xfb\xea\x28\x11\xeb\xb5\x88\x71\x79\xd5\x0b\x26\x1f\x1c\x1d\x81\x91\xbf\xd7\xdb\x46\x91\x24\x74\x0f\xb8\x98\x1d\xde\x6b\xf8\x01\x7e\xe9\x7e\xd2\x7e\x56\x9c\x10\x95\x13\xc4\x37\x0b\xae\x3a\x02\xc9\xfb\xf3\xc1\xda\x8b\xff\x90\x31\x97\xaa\x47\x0e\x13\x1b\x32\xf0\xfb\xa0\x0b\xf0\x72\x38\xbe\xd5\xb5\xe3\x4a\xa4\x09\x8f\x84\x4b\x70\x41\x0e\x5e\x78\xd7\x3f\x26\x80\x47\x42\xc5\x8a\xfc\x2d\x81\x80\xb1\xd7\x66\x6b\x5b\x02\xe0\xb9\xbd\xb2\xe7\xf1\xf3\xbb\x56\x7a\x1f\x6e\xc4\xbc\x09\x8e\x66\x54\x8a\xa4\xbc\x08\xf4\x45\x81\xfc\x6a\x27\x66\x7d\xd4\x72\xa8\xd5\xfc\x23\x4d\x3c\xbe\x99\xab\x8e\x6e\x6e\xb9\x6d\xdd\xf2\x70\xa6\x63\x9f\xbf\xb0\x28\xb2\x5e\x3a\xec\xa7\x08\x47\x5c\x66\x7a\x2b\x73\x31\x2b\x8a\x4c\x2e\xcb\x50\x0f\x78\x24\x60\xae\xf2\x38\xf1\x1d\x4e\x33\x1d\x97\x91\x25\xb0\x82\xde\x7a\xd8\x0f\x79\xf9\xac\xd5\x11\xb3\x23\xb3\xfa\xe8\xe5\x26\xe2\x23\xc8\xf6\x40\x86\xb5\xb6\x18\x9b\x3d\x18\x3b\x7c\x7f\x97\xf6\x2a\x7f\xe2\x9c\xd1\xee\xc1\xb4\x6b\x60\x58\x1a\x38\xb3\x5f\x07\x0b\xb8\x03\x35\x45\xcb\x65\xc9\x31\x80\x5e\xb5\x51\xba\xf8\x6a\xdc\x55\x33\x0e\xdc\x35\x0c\x1b\x53\x4d\xa7\x42\xbb\x61\xc3\x73\x34\xe7\x8b\x68\x53\x6d\x38\xf4\xa6\xca\xdb\x5b\x6f\xae\x33\x8f\x0f\x73\x9b\x0c\x0a\xa3\x4d\xd0\xd1\x20\xc9\xb1\x5d\xd1\x60\x75\x82\xd2\x9d\xfe\x7b\x4c\xb9\x58\xfc\x5c\x8a\x31\xba\xca\x36\x55\xe3\x8f\xf0\xb3\xbd\x80\x14\x89\xd8\x2d\xe7\x7b\x2d\xe4\xd6\x58\x40\x3c\x8b\x36\x6c\xc9\x73\x22\x04\x0c\xd9\x12\x50\x00\x9e\x49\xf3\x2b\x1e\x15\x24\x88\x6b\xab\xb5\xa2\xb8\x37\x16\x0a\x69\xcc\x5a\xef\xf5\x68\x5b\x6e\xfb\x06\x60\x8c\xf7\xda\x36\xe3\xec\xed\xa8\x18\x42\x68\x87\xbb\x77\x32\x5e\xb1\x70\x3b\x25\xbc\x54\xd1\x86\xa5\x09\x47\x42\x89\x0d\xcf\xf1\xa0\xb0\x08\x1d\xbe\x94\x89\x2c\x80\xa9\x0b\x03\xc7\xb5\x75\x6b\x1e\xcf\x3c\xbb\xb3\x82\x07\xdc\xd3\xb2\xf5\x1d\x25\x07\x22\xa1\x5d\xaf\x3e\x29\x16\xda\x1f\x84\xe1\xe1\x3e\x6c\xb3\x13\x0e\xda\x4f\x87\xb9\xde\x60\xb3\xfb\xbe\x8c\x8b\x0e\x51\x89\x97\xf5\x9f\xd7\xc6\x1b\x29\x20\x0f\xa2\xe9\xed\xcd\xcb\x7a\x16\xd0\xb9\xcf\x2a\xeb\xbf\x46\x9b\x1d\x6e\x31\x82\xc7\x03\x9f\x48\xba\x68\x84\x11\x53\x17\x36\x6a\xdd\xf7\xab\x44\xf3\xa2\x3f\xcb\x0d\x75\x8a\xba\xca\x8e\x75\xb9\xec\x52\xc6\xc0\x56\x3d\x3e\x87\xce\x1e\xff\x4f\xe5\x73\x0f\xef\x51\x5e\x08\x73\xfa\x3e\x6e\x40\xcd\xaf\x8f\xe0\xe7\xed\x85\x53\x16\xf3\x68\x46\x0a\xb7\x0c\xbc\x5a\x9e\xb3\xfd\x01\x92\xda\xb2\x9d\xea\x46\xde\x41\x39\x8f\x87\xcd\x97\x54\x7b\x96\xd2\x7e\x01\xae\xdf\x7f\x35\x24\x1b\xf1\x8f\x25\x37\x17\xc0\x87\xd5\x35\x12\x84\x1d\xd2\xe9\x42\x36\xb7\x55\xfb\x31\x50\xaf\xf5\xa6\x1a\xa5\x0d\x17\xfe\x60\xb6\x83\xb6\xde\x5c\x9b\x5f\x0f\x3f\x76\xcf\x2a\xde\xd8\x34\x93\x1a\x88\xb2\xf4\xaa\x62\x6b\xb4\x9c\xc4\xad\xf5\x1e\x30\x92\x3f\x97\xa2\x14\x66\x01\x2d\xcb\x78\xdd\x0c\x96\x8c\x78\x70\xf9\x2e\x6d\xf4\x03\xdb\x96\xd1\x86\xd9\xc2\x59\x2c\x12\xbe\xab\x9a\x51\xe6\xad\x51\x68\x20\x31\x1e\xc5\x17\x18\x50\xcf\x47\x65\x5e\xe8\x2d\xe0\xd4\x7d\xb9\x59\xa9\x60\x97\x33\x6e\x77\x57\xdb\x85\x56\xa1\xd4\x7c\x64\x84\xfc\xfa\xf2\xf4\xe4\xec\xdd\x59\x2d\x3c\x3d\xbb\xfe\x21\xfc\xf7\x4f\x1f\xae\x7e\x78\x77\xfe\xe1\xa7\xf0\x6f\xe7\xb3\xdb\x8b\x93\xef\x17\x97\xe7\xb3\x8b\x4a\x10\x7b\x76\x33\xbb\x3e\xbd\xd9\x13\xa7\x6e\xd6\xda\x3d\x11\x3c\x60\xfc\xb4\xc8\x79\x2b\x67\x63\xdd\x55\x54\xeb\x1b\x36\xb3\xfc\xa7\x15\x86\x5e\x8b\x35\x00\x70\x52\x82\x18\x4b\x84\x24\xbc\xe5\x05\x3f\xe1\x05\x4f\xf4\x7a\xca\x66\x8c\xf2\x0a\x30\x5f\x24\x37\x26\x21\x91\x43\x9a\xd9\xc1\x22\x8c\x5d\x18\x79\x57\x90\xd7\xeb\xd6\x2b\xa2\x65\x4d\x44\xa8\xec\x64\x93\x3c\xe7\xea\xf4\x5e\xa8\xa2\x04\x43\x9b\x27\x09\xa3\x6a\xed\x17\x02\x56\x10\xdb\xca\x5c\x6e\x65\xc2\x33\x2f\xad\xfc\x81\xca\x82\xc7\xae\x6d\xab\x63\xa5\x6b\x52\x4e\x58\x7f\xc0\xed\x19\x83\x76\x9f\x9c\x9f\x81\xa1\x1b\x15\x56\x37\xd0\x56\x3e\x57\x48\xfb\x49\x35\x6e\x39\xe4\x30\x15\x9a\x1c\xf4\x58\x3d\x7d\xb9\x7b\x21\x1e\x64\x58\xd9\x50\xd6\x73\x39\x26\x5c\x23\xed\x7f\x9c\xaa\x22\xdb\x0d\xb6\x5e\x6f\x80\xd1\x21\x87\x77\x1d\x41\x22\xab\x72\xcb\xe8\x3f\x65\xb6\xf4\x0b\x30\x69\x2d\x5e\x97\xc2\x7b\x2e\x8a\x87\xf0\xa8\x8e\x27\x51\x62\x6e\xde\x5f\xeb\x38\x84\x2c\x60\x30\x0a\x4b\x5d\xaa\x38\x27\xf0\xe6\x56\xaa\xe3\x2d\xff\xe5\x95\xed\x29\x92\xd8\x38\xd1\x33\x60\x4c\x14\x89\x79\x0f\xee\xcc\x21\xd7\x3f\x5c\x73\xd5\x33\x5e\xfb\xdf\x04\xf6\x64\x05\x97\x81\xf7\xef\x20\x0c\xf5\x5e\xec\xda\xe6\xaf\x21\x5c\xc9\x42\xf5\x05\x28\x24\xcd\x84\xf9\xa2\xc3\xb8\x26\x08\x5d\x76\xff\x86\x5c\x96\x8a\xb8\x76\xfb\xd9\x1d\xc2\x46\x0e\xda\x36\xad\x80\x95\xe1\x86\xcf\x60\xe5\x51\xaa\xc9\xcc\x19\xc2\x57\x6c\xe4\x84\x72\x77\x28\x2e\x6f\x26\xeb\xbf\xf5\x92\xad\x20\x91\x8d\xfc\x04\x99\x80\x48\x19\x4c\x85\x95\xca\x01\x5e\xbd\x06\x26\xc6\x2e\x81\x44\xe4\x10\x3f\x52\xe6\x51\x2d\x7e\x2e\x09\x02\xf0\xfa\xcb\x71\xf7\x6c\x81\x7a\x0b\x48\xb0\x5d\x57\x22\x70\x77\x39\xb4\xab\x54\xb2\x8d\x6c\xf3\xaa\x54\xe6\x2a\x7e\x0a\xf4\xd4\xf0\xf0\x78\xad\x52\xfa\xe7\xde\x5c\x33\x1b\xd9\xc9\xf0\xfb\xcf\xc6\x9d\xfc\x63\x8d\x32\x99\xaa\x83\xcc\x06\x2a\x3d\xbc\xd0\x96\x3c\xba\x7b\xe0\x59\x8c\xee\x7f\x80\x33\x4d\xd9\xf7\xfa\x41\xdc\x8b\x6c\xc2\x22\x91\x15\x9c\xf8\x0a\x73\xc0\x73\xc0\x86\xa2\x72\xe6\x0a\x12\x7d\x90\xfc\x51\xe5\x65\x26\x58\x21\xd7\x9b\x42\x64\x21\x1a\x47\x67\xe6\x38\x2a\x90\xaa\x36\x15\x11\x11\xb2\x75\x0c\xc0\x2a\xe1\xf7\x4d\x02\xc6\xc7\x30\xc9\xb0\x33\x97\xad\x6c\xc3\xdd\x56\x7e\xac\x0f\x3f\x45\x03\x46\x87\x26\x52\x68\x4d\xd8\x5a\x27\x5c\xad\xa7\xd3\x29\x48\x6d\xbc\x1a\xb5\xd0\xa9\xc0\x30\x80\xee\x50\xfa\x89\xd6\xb9\x48\x76\x8e\x44\xcc\xe5\x51\x01\x70\xf7\x97\x42\xa8\x5c\xa2\x63\xab\x65\xf9\x5f\xd7\x83\x4b\x9f\x36\x16\xd7\xfe\x3c\x1f\x9d\xa5\xdb\x51\x0e\xa8\x99\x8e\x28\x09\xbf\xdf\xfe\xf2\x7a\x54\xd6\x79\x7b\x59\x4a\xab\xb1\xa9\xd4\x3f\x6a\xd9\x01\x05\x79\x14\xd9\x68\x6b\x49\x44\x84\xf4\xa8\xf4\xd3\xf6\x31\x6b\x64\x04\x1f\x90\x0c\xdc\x93\xd7\x3b\x32\xa5\x77\x88\x23\xe0\xba\x3e\xdd\xa3\xb7\xc5\x7e\x81\xb5\xd6\x0e\x8d\x4c\x99\xf6\xdc\x06\x63\x4c\x27\xcc\xba\x4c\x76\xf0\xe2\x72\x09\xd4\x10\x1e\x88\x83\xa8\x52\x25\x68\x06\xa9\x7c\x3e\xea\xe6\x08\xea\x82\x20\x5b\x5e\xe8\x8c\xaf\x05\xdb\x8a\x58\x96\xdb\xd6\xc3\xc6\x35\xf7\x10\xf8\xa8\x4e\xca\x6d\x37\x55\xe8\xa1\x06\xb4\x6f\x24\xfe\xd7\x09\x54\x37\x9c\x43\xc7\x65\x46\x58\x9d\x4b\x6a\x2f\x86\x90\x68\xac\xcd\x4d\x99\xc9\x1c\x58\x76\x1f\x93\x39\xeb\x8a\xc1\xa2\x21\x00\xbf\x4b\xd1\xc9\x5e\x99\xdd\x23\x1b\x19\xa5\x9f\xe4\x38\xab\x10\xb5\xef\xbe\x14\xea\xa0\xd4\xf1\x6a\x77\x99\x2e\x1b\xdc\x53\x83\x80\x12\x60\x36\x06\xda\x17\x84\x9a\x83\x02\x09\xda\x53\x68\xb6\xb2\xb9\x98\x77\x22\xa0\x3e\x8c\x41\x15\xe3\x01\x29\x9f\x7e\xf8\x3a\xb7\x20\x20\xc2\x69\x79\x8b\xa5\xf0\x95\x60\x04\xe8\xfe\xb5\x85\xe7\x61\x0f\xb1\x08\x20\x28\x8c\xb9\x2a\x5a\x0b\xf0\xe8\x55\x28\x0b\x7f\xf2\x23\x2f\x93\xf6\xaf\x53\xf9\xf0\x55\x54\x4d\x9d\xfd\x74\xcd\x70\xa8\x49\x3f\x21\xeb\x6b\x68\x50\xc8\x7e\x80\x20\x0c\xd7\xe2\x11\x96\x60\x65\x1e\x70\xd0\xad\x80\x86\x19\x76\x51\x44\x1b\x6f\x79\x00\x41\xa3\x23\x96\x24\x49\x6c\xea\xe7\xd6\x2b\x42\x20\xf6\x3a\x04\xb1\xca\xb5\xd2\xa1\x98\x91\x56\x02\x42\x71\xe6\x00\xd2\x61\xb1\x4c\x16\xfb\x91\x82\x23\x59\x09\xf7\x2d\xb5\x42\x23\x02\x8c\xfa\x59\x89\x53\xc3\x93\x42\x22\x5d\x95\x85\x59\xe3\x9b\x88\x14\x96\xeb\x4a\x01\x55\x02\x90\xb9\xaa\x56\xd5\x18\x24\x0b\xe5\x93\x99\x40\x82\xef\xdc\x58\x6f\x85\xbc\x37\x1b\xb5\xb9\xac\xdd\x02\x85\x13\xa0\xb9\xf6\x28\x6c\xcb\x02\x96\xf0\x3b\xb1\xcb\x43\x39\x67\x5a\x51\xac\x6b\x41\x4a\xd3\x1f\x9a\xaf\xfd\x53\x01\x03\xb7\xc8\xbc\x28\xe3\xb0\xbb\x0c\x2b\x7d\x6f\x7e\xdc\x83\x11\x6e\x14\x6e\xd6\xa0\x4f\x76\xf5\x3e\x45\x3a\x26\xfc\x38\xd3\x1c\x7a\x18\x20\x80\x3c\x43\x18\x67\x98\xb9\x04\x0f\x5f\xf3\xbe\x9d\x2b\x12\x12\x08\x2e\x39\x73\xe0\x34\xa7\x8d\x32\xf0\x91\xbe\x7c\x57\x61\x0f\x02\x6a\x55\x4b\x33\x5b\xad\xd2\x46\x97\x41\x19\x0f\x96\x07\x54\x8d\x39\xca\xd6\x87\xd7\x5a\xe1\x23\xb1\xa5\x34\xb9\x9d\x78\xd2\x20\x11\x10\xbf\x49\xec\xa2\xa8\x0b\x8e\xaf\x9f\x48\x98\xe1\x9b\xa9\x56\x28\xa7\x05\x72\x5e\x9f\x9e\x5c\x9d\xde\x7c\x32\xbc\xa9\x05\x7b\x8e\x06\x9c\xda\x76\xbe\x3d\x7d\x37\xbb\x3d\xbf\x59\xbc\x3d\xbb\x7a\x0e\xc4\x29\x7d\xf4\x08\xc8\xe9\x35\xe9\x93\x9c\x68\x55\x88\x5f\x0e\xba\x93\xb3\x52\x2d\xf8\x88\xd4\x27\xa7\x50\xd4\x67\xee\x60\xa1\x4d\x7d\x15\x27\x7e\x42\xdc\xb6\x84\x3a\xb1\x72\x2a\x2b\xef\x34\x5c\xc9\x24\x81\x4c\x70\xe7\x5e\xa7\x2c\x43\x33\xa8\x70\xfe\x58\x3a\x5f\x3a\x53\xe7\x6a\x59\x91\xbf\x01\x97\xdf\xc6\x3c\x82\x31\x07\x3c\x35\x03\x90\x49\xc8\xb0\xed\x93\x60\x59\x4b\x25\x7c\x33\x60\xd6\x4c\xfb\x3a\x69\xea\x69\x12\x9f\x13\x59\x47\x86\xd7\x50\x5b\xd3\xae\xb8\xca\xfa\xb4\xe6\xa7\xfd\xd0\xf5\x10\x37\xb1\x54\x68\x98\x56\x76\xf3\x75\xfb\xd2\x3d\xf6\x5b\x00\xc6\xdd\xcc\x24\x87\x18\x44\x5e\xf0\xac\xf0\x13\x49\x13\x81\xd2\x6c\x3e\x38\x71\x27\x11\x81\xa6\x57\xb5\x71\x36\x47\xa1\x19\x6b\x09\x91\x0a\x4e\xe4\x36\x51\x52\xe6\x85\xc8\xc8\x6d\x32\xfb\xe9\x7a\xae\xbe\x35\xd7\xd7\x2b\xba\x85\x48\xbe\x0b\xab\x40\xa4\x8e\xae\xd4\x6f\x2d\x94\xf0\x04\x7b\x89\x3e\xea\xad\xe0\x2a\x67\xb0\x35\x92\x44\x64\x7e\x65\x60\x7b\x84\x88\x49\xc6\x1a\xa8\x9e\xfd\xef\x5f\x31\x02\xb7\x9a\xa1\x30\xed\xa5\x4f\x33\xb1\xd5\x45\x73\x3d\x75\x11\x0d\x00\xe2\xfc\x39\x57\x4e\x4b\xe2\xd3\xd0\x55\x44\x60\xfd\xd6\x45\x54\x4d\x43\x1a\xb4\x96\x6e\xb0\xb8\xdf\x96\xd2\x13\x2e\xa5\x01\xf7\x7a\x78\x4b\xb0\x8d\x36\x07\xa8\xd3\xb6\xf2\x61\x66\x47\x74\x92\x00\xca\xcd\x0c\x63\xeb\xad\x53\xd3\x77\x3d\x04\xfb\x01\x45\x1d\x86\xd0\x9e\xb5\x30\x2a\x79\x21\x41\x1b\xdb\xe9\x95\x8e\x7d\x1e\xe6\xc2\x99\xc5\xaa\x2a\x5d\x58\x0e\x12\x07\x0f\x25\xac\xab\xf9\x82\x23\xbf\xe9\x6d\x23\x11\xca\x58\x2b\x65\x71\xa0\xfc\xe2\x4d\x88\xa9\xad\x64\x65\x63\x2b\x42\x3e\x07\xcb\xe1\xe0\x38\x60\xc6\x2c\xbe\xc7\x0b\xfc\x56\xd7\x9c\xe3\x13\x7d\x14\xd8\xe1\xe2\xc3\xc5\x69\x08\x55\x38\xbb\xb8\x39\xfd\xee\xf4\xaa\x92\xcf\x7f\xfe\x61\x56\xc9\xc9\xbf\xbe\xb9\xaa\xa5\xe2\x7f\xfb\xe1\xc3\xf9\x69\x03\xf3\x70\x7a\x73\xf6\xbe\x52\xf8\xdb\xdb\xab\xd9\xcd\xd9\x87\xca\xf7\xbe\x3d\xbb\x98\x5d\xfd\x57\xf8\x97\xd3\xab\xab\x0f\x57\xb5\xfa\x6e\x4f\xfa\xd1\x13\x95\x6e\xb4\xbb\x7f\x7c\x70\x36\xa0\x56\x6d\xdd\xc6\x55\x01\xe4\x03\x76\xf1\x40\xe4\xd9\xbe\xe5\x68\xd3\xf5\xe3\x50\x8e\x03\x37\x86\x69\xea\xa8\x55\xf7\xf4\x8a\xcd\x95\xa1\x4b\xf9\x61\xc7\x9e\xb9\xd5\x16\x4f\x81\x04\xec\x35\x00\x5d\x2d\x35\xc7\x2d\x09\xa4\xe3\xd0\xa6\x10\xc1\x5a\xf3\x4e\xbd\x32\x15\x3f\x7b\x4b\x6d\x1d\xfb\xda\xe9\xa9\xbc\xf6\x30\x22\x3d\x15\x1b\x4a\x5f\xa3\x83\xca\x2c\xd9\x80\x8c\xad\xa1\x60\x3f\x0c\x61\xf7\xa6\x1b\x66\xe5\x04\xcb\xb1\x4b\x5a\xb7\x3d\x6d\xa9\x9f\x7d\x6f\x6c\xfb\xa9\x92\x66\xdb\x6b\x54\x2d\x23\xda\x0d\x94\x59\x63\xda\x7d\xc3\xf3\xbb\xb1\xed\xa6\x4a\x9a\xed\x06\xb3\xef\x51\xed\x06\x87\x77\xd1\x4e\xa3\x33\xe2\x10\x0b\x8b\xa9\x36\xcf\xe5\xf8\xbb\xaf\x04\x0a\xd6\xc3\xda\x68\x36\xc0\xf3\x3e\x2f\x53\x3e\x3c\x90\x01\xad\x71\xdb\x95\xd7\x58\xe5\xaf\xe1\x53\xe8\xe1\x32\x13\xfc\x2e\xd6\x0f\x34\x1f\x75\x64\x28\x1b\x74\x9a\x57\x07\xc8\x9c\xe1\xf6\x8a\x28\x32\x8a\x40\x21\x4a\xcd\x17\x0f\x30\x39\x49\xbc\xe8\x68\x83\x05\xd2\xcb\x75\x22\x22\xa0\x7e\x52\x7e\x76\xe6\x0a\xad\xf9\x36\xf9\x66\x33\xab\xa6\x45\x44\x1d\x02\x5d\x75\x36\x34\x06\xd7\xf3\x60\x62\x29\x0f\xa8\xcc\x00\x4c\xb7\xcc\xe0\xcd\x04\x03\x22\x15\x38\x93\x33\xf3\xe0\xc9\x44\x24\x73\x11\x28\xc6\xb5\xde\xd8\x3f\x1f\x26\x85\x52\xf0\xa2\xd5\xed\x3a\xd8\x1f\xce\xa3\xa2\xe4\x09\x83\x74\x25\x62\x60\x44\x5f\x25\xfe\x25\xe2\x0a\x53\x63\x0a\xb1\x4d\x21\xab\x3f\xcc\xe9\x98\xab\x9f\x00\x28\x81\x53\xf0\x22\x67\xdf\x01\xe4\xc1\x7e\x99\x2e\xe1\x2d\x2f\xe0\x2e\xfe\x23\xd6\xe1\x3e\x9b\xce\x55\x45\x81\x29\xf8\x55\x45\x8c\x69\x3a\x57\x56\xad\x23\xd6\x51\x3e\x85\x17\xdf\x54\x67\xeb\x63\x52\x33\x37\x8b\x5d\xdf\x2d\xb5\xbe\x3b\x16\xea\x18\x7c\x52\xc5\x31\x2f\x0b\x7d\x0c\x70\x29\x9c\xff\xfc\xd8\x8a\x1e\x5b\xd5\xe8\xfc\x78\x23\xef\x05\xfc\xbf\xe9\xa6\xd8\x26\xff\x27\x4f\x37\xbf\x1c\xad\x93\xec\xc8\xfc\xf6\x28\xfc\xed\x91\xfd\xed\x91\xfd\xed\x91\xf9\x19\xfe\xbf\x74\x87\xe1\x1d\xf1\x0b\x37\x77\xd9\x64\xae\xa4\xca\x45\x56\x80\xf5\xf3\x90\xc9\xc2\x4b\x5d\xed\xd8\x8b\xbf\xfd\x8d\x4d\x33\xfe\x80\x19\xb1\x6f\x79\xc1\x2f\xd1\xbf\xf8\x8f\x7f\xbc\x80\x80\x2a\x66\x31\xa5\x3c\xfb\xb9\x14\xc5\x5c\xe5\xc2\x6c\x42\xf6\x7f\xe7\x0a\x22\xb0\xdb\xdd\xa2\x40\xbf\x2b\xfa\x20\xe3\x9c\x7d\x83\x65\x9e\x21\x1b\x69\x9c\x9b\x92\x3a\xd2\x09\x24\x4f\x5a\x74\xf2\x3b\x5c\xf4\x3f\x27\x6f\xe9\xfb\x23\xb6\xf5\xcf\x49\x75\x57\x5b\xb1\xa5\xfc\xe7\x04\x2e\xd0\x44\x73\x0b\xd6\x62\x6e\xf1\xc2\x3b\x99\x1a\xd7\xb6\x47\x1a\xd0\x80\x67\x0d\xd3\xb7\xef\x95\x6b\x64\x44\xb7\x9e\xfb\xc6\x31\x02\xb1\x02\x1f\x87\x80\xe8\xb9\x34\x3b\xe4\x1a\x3d\xa1\x60\xb9\x61\xcf\xc1\x26\xa5\xd0\xb9\x2b\x0f\x1d\x17\xf9\xef\xdf\x1c\x1f\x4f\xd8\x3a\x87\xff\x59\xfe\x0c\xff\x03\xe8\xa1\xa7\x22\xf5\x6d\x0c\xa6\x03\xc2\x35\x67\x79\xff\x4c\x3c\x05\x8a\xee\x53\xf0\xc8\xd7\x96\xe9\xb7\xa5\x8a\x13\xe1\x53\x1b\x2b\x21\x91\x44\x9b\x99\xb4\x13\xd5\x54\x1e\x82\x39\x5e\x8a\x88\x9b\x83\xaf\x51\x37\x82\x4b\xf5\xaa\x10\x0a\xbd\x61\x99\x57\x7b\xe4\xe8\xb9\x02\xb3\x18\xa0\x90\xbc\x20\xc8\xb9\x80\x3f\x42\x25\x40\xcc\x3e\xa9\x7f\xc4\x76\xba\x24\x8e\x71\x60\xce\x8d\x45\x94\x80\x90\x83\x65\x0f\x62\x99\x28\xca\x4c\x31\xce\x52\xae\x62\x9e\xc3\x0a\x5c\x65\x10\xed\xcc\x18\x6f\x36\x74\x82\x70\x5c\x5d\x16\xc0\x89\x85\xc8\x82\x70\x24\x90\x04\x3e\x68\xf3\x24\x68\x04\xde\x09\xc0\x45\xdd\xf8\xe1\x74\xae\xac\x1e\x21\x61\xe1\xd0\x53\x16\xe9\x74\x47\x8c\x47\xf5\x41\x97\xd6\x73\x46\xc3\x3d\xf1\x78\x93\xfa\x77\x27\x4c\x56\x43\x6b\xc0\x37\x5f\x04\x12\xef\x56\x24\xff\xa5\x50\x91\x8e\x45\x96\xbf\x32\xdb\x50\xba\x77\x07\xda\x0f\x32\xf7\x93\x01\xa7\x94\xb9\xdc\xc8\x5b\x68\x8a\x77\x02\x53\x66\x74\x2a\x0c\xe5\x6d\x76\xce\xfe\xad\xf2\x6b\x47\xc1\xb4\xb5\x97\xfe\xf3\x93\x22\x62\x42\x5c\xa7\x7d\x73\x3e\xde\x05\x81\x5b\x36\x3c\x71\xb1\x50\xb4\x71\xc8\x38\xb1\x7a\xda\xb2\x00\x85\xcc\x4c\xe4\xc5\x5c\xd1\x0d\x3c\x61\x2b\xc1\x8d\x9d\x37\x61\x51\x7e\x8f\x87\x31\x5e\xf7\xc5\x83\xf6\x18\x1c\x2b\x6f\x03\x60\xd8\x4a\xe1\xde\x49\x8c\x5f\xe3\x94\x81\x8d\x00\x83\xae\x17\xba\x33\x55\x60\xb0\x5a\x0f\xc4\x47\x8c\x83\x55\x4b\xa9\x2b\xac\x85\x62\x3d\x30\x12\x3b\x0c\x14\xb3\x7a\x3b\xf0\x03\x73\xf0\x60\xef\x10\x06\x12\x1c\x8e\x60\x71\x13\x96\x16\xf7\x99\x8f\xe1\x86\x94\xf5\xe0\x9b\xe9\xda\x54\x3d\x03\x01\x0d\x78\x9c\xdf\xc2\xfc\x74\xaf\xc3\x2a\x17\x99\x95\x72\xc1\xbe\x22\xc1\xe4\x46\x66\xf1\x51\xca\xb3\x62\x67\x97\x6f\x22\x97\xa0\x00\x91\xc8\x3b\xc1\x66\x59\xa6\x1f\x9e\x7a\x14\x3a\x8f\x96\xae\x17\xf6\x21\x48\xf6\xb1\xaf\xfc\x56\x7a\xd9\xba\xbb\xe3\x71\x54\xb6\x5d\x8e\x8f\xd6\x7a\x32\x51\x64\xbb\x85\x59\x88\xdb\xb4\xf3\xa4\x18\x94\x34\x31\xdc\xc8\x1d\xc7\x92\x5b\x73\x61\x74\xb2\xe4\x56\x66\xf5\xd7\xc3\x92\xdb\x42\x80\xdb\x64\xc9\x3d\xbb\x38\xbb\x39\x9b\x9d\x9f\xfd\x7f\xb5\x12\x7f\x9a\x9d\xdd\x9c\x5d\x7c\xb7\x78\xf7\xe1\x6a\x71\x75\x7a\xfd\xe1\xf6\xea\xe4\xb4\x9f\xf6\xaa\xd9\x7a\x6f\x82\x1f\xb1\xb0\x9e\x37\xec\x26\x00\x6a\x60\xb2\x01\xd9\xdf\xa4\x8f\x0b\xab\xca\x6c\x66\xa9\xd6\x13\xd8\xa8\x6f\xd8\x69\x96\x9d\x6d\xf9\x5a\x5c\x96\x49\x02\x70\x2a\xcc\xec\x39\xc9\x04\x3c\x3c\x27\xec\x52\xc7\x67\xc1\xef\x20\x1d\xb1\xb5\x1b\x50\x3f\x8f\xe3\x4c\xe4\x39\x56\x3f\xa1\xfa\x03\xf0\x90\x4b\x75\x24\xf0\x1c\xbf\xe7\x32\x31\xef\xb7\x37\xec\x5b\x1e\xdd\xe9\xd5\x0a\xd3\x67\x26\x2e\x71\x8a\xfd\x5c\xea\x82\x33\xf1\x4b\x04\x54\x6f\xed\xeb\xe4\x5c\xaf\x3f\x03\x54\x79\x40\x78\xaa\xe3\x91\x02\x52\x77\x8b\xf6\xeb\xbc\xfd\x20\xa0\x5e\xbe\xc7\x9f\xbe\xc3\x5f\xb6\x3b\x28\x8b\xe4\x09\xd2\xe3\xcf\xf5\xba\x5d\x78\x08\xac\x6b\x52\x4b\xa2\x40\x42\x44\xec\x22\x7a\xcd\x72\xa9\xee\xe6\xea\xa7\x8d\x50\x4c\x97\x19\xfe\x09\x9e\xf9\xc6\xcc\x4c\xca\x7c\x23\x40\xa6\x7a\xc2\x1e\x04\xdb\xf2\x1d\x9a\xcd\xf0\x26\x70\x6a\x29\xb0\x64\xe0\x16\x31\xbf\x4e\xa4\x32\xa7\x45\x2a\x6d\x5e\x42\x7d\xea\x9f\xe2\xc5\x65\x89\x0e\xf9\xe1\x3c\xc4\x7d\xf7\x69\x05\x9f\x07\xae\x32\x8f\x9b\xb4\x00\x21\x3a\xb9\x41\x54\x56\xeb\xbb\x32\xf5\x94\xa8\x2f\x6c\x70\x12\x86\xfb\x5e\xcb\x98\xc5\x65\x9a\xc8\xc8\x9d\xbb\x0f\x3a\xeb\xe4\x7d\xc6\x04\x9a\xe1\xb7\x4e\x3d\x2d\xac\xaf\x63\x2d\xd9\x39\x01\x92\xae\x87\x01\xfa\x99\x39\xb0\x99\x54\x51\x52\x82\xcc\x5c\x99\x8b\xec\xc8\x49\x47\xbb\x5c\xbf\x5f\x3f\x49\xb6\x27\xe1\x3c\x3c\xad\x2d\x4c\x3a\x4f\xf4\x5a\x46\x3c\x09\xc1\xcd\x1e\x15\xe1\x58\x78\xed\xb6\x27\x31\x61\xc8\x83\xb0\x0d\xea\x24\xd2\x4a\x33\x01\x44\xd0\x0b\x38\xca\x17\x74\xdc\x1d\xd2\xee\x15\x33\x0f\x74\x6c\x57\xc8\x91\x6b\xc3\x0b\xf6\x86\xf3\x75\x5b\x25\x36\x30\x31\x51\xc2\x9f\xe9\x07\x25\x32\xb0\x60\x01\xf6\x61\x7a\xaa\x34\xd8\x26\x4e\x9d\xcd\xe1\x93\xad\x3a\xe1\xca\x01\xb1\x31\x73\x76\x2d\xef\x85\xfa\xf4\xa4\xe6\x41\x05\x11\x8f\x36\x62\x61\xed\xf2\xa7\x3e\xb2\xdc\x05\x30\xf2\xb0\xb2\x32\x29\xe1\x51\xea\xc2\x9b\xf0\x74\xc2\x16\x37\xcf\x2e\x0c\x24\xf6\x64\x64\x99\x46\x2c\x62\x11\xdd\x7d\xf2\xa3\xd9\x83\xac\x6c\x43\x18\x67\x6f\x45\x74\xc7\x6e\xaf\xce\x30\x1b\x58\x16\xcc\x1c\x05\xf9\xc6\xcb\x3e\x75\xbe\xdd\x0a\xbe\x7e\x06\x0a\xab\xa1\xba\x55\x5e\xaa\xc0\xa9\xf5\x99\x06\x11\x20\x0a\xf2\x25\xcd\x21\x49\xb9\x34\x00\x04\xe3\x85\x55\x33\x02\x47\x3c\xcb\xb7\x20\x5e\x54\x16\x81\xe2\x5f\xc2\x97\x22\xe9\x20\xee\x4c\x75\xbc\xb0\x71\x92\x43\xc1\x3c\x8d\xb2\xac\x1f\x83\xa2\x8e\x36\x8f\x81\x1b\x8b\xf5\x86\xbe\xc8\xee\xbe\xce\x03\x7a\x0d\x1d\xf2\x87\xc3\xbb\x9e\xe7\x90\xde\xbd\x92\x6b\x1b\x6d\x93\x2b\x92\x58\xc2\x84\x7e\x63\x07\xc3\x79\x69\x4a\xba\xd4\x31\xc1\xf4\x1c\x17\x9e\xb1\x82\x04\x79\x4f\x3c\xae\x22\x6c\x82\xc5\x01\x42\xbd\x66\x47\x08\x1e\x33\xbd\x22\x6f\x62\x9a\x26\x12\x98\xa1\x63\x24\xa1\x07\xf6\x8c\xbc\x8a\x8e\x0f\x4b\xb3\x8d\x0d\x48\x3e\x2e\x2d\x10\xaf\x4b\x8c\x17\x0e\x0c\xcc\x60\x58\x00\x1b\xdc\xe2\x9e\x77\x93\xa9\x3d\xbb\x62\x5a\x47\x7b\x5c\x34\xb9\x4a\x09\x5b\x21\xed\x23\x5f\x01\x5e\xeb\x36\x21\x3f\xe2\x49\x54\x52\x9c\x0c\xe4\xf2\xad\x0a\x7e\x3f\x82\xd0\x47\xfd\xcc\x44\x57\xbd\xfe\x75\x23\xf3\x50\x75\x45\x97\xa0\xf5\x58\x9f\x42\xbf\x7b\x71\x9d\xe8\x25\xac\x9c\x6e\x94\x60\xcf\x8d\x65\x8e\xeb\x4c\xc6\x63\xec\x1d\x3b\x26\x1f\xdc\x4f\xfb\x1a\xf8\xc1\xba\x7e\x5c\x4d\x76\xdd\x33\x12\x32\xa8\x31\x37\x8e\xa3\x40\x58\x91\xaa\x6a\xf5\x79\x52\x90\x8c\x07\x2c\x2b\x77\x3f\x75\xf8\x19\xaa\x7d\x39\x68\xa2\x9b\x4c\x31\x7b\xc6\xd2\x93\xcb\xf4\x4f\xf2\x01\x74\x1f\x78\x94\x39\xce\x8f\x6e\xcf\xa2\x8a\x45\xbc\x78\x44\x1f\x4e\xe9\xb7\xc3\xfa\xe2\x46\x1a\x9b\x07\x3e\x40\x75\x64\x4c\x85\x98\x67\xb1\xef\xc7\x04\xf6\x7b\xc4\x53\x70\xc3\x43\x58\xe3\xfe\xf5\xd4\xd6\x71\xe5\xb3\x8b\xcc\x79\x89\x39\xff\x88\xdf\xd6\x2d\x1a\x38\xfb\xd6\x91\x5b\xa4\x08\xef\x36\x2b\xc7\x2f\xd7\x4a\xde\xcd\xa0\xb5\x5b\x5f\x61\xf6\x00\x3f\x64\x71\x3d\xc7\xd9\x51\x16\xda\x47\x7b\xa0\x3f\x67\x40\x3b\x1c\x66\xf4\xc1\x01\x79\x16\x77\x20\x45\xac\xf9\x6d\x0f\xa1\x11\xf8\xe3\x51\x08\xe8\x34\x13\x36\x6e\xb8\x13\x85\xe3\x75\x48\xac\xae\x20\x84\xc5\x5c\xaf\xab\xc4\x36\x96\xbb\xc2\x91\x91\x41\x10\x8b\x4c\xfd\x48\x6f\x53\xad\x00\x96\x84\x59\x6a\x73\x45\x85\x5b\x75\x78\x17\x59\xab\xa4\x3a\x4e\xc8\xa1\x89\x89\x33\x22\xd7\xc9\x3d\x85\x50\x03\x11\x13\xd0\x95\x34\x0d\x3c\x31\x6f\x43\x9d\x21\xc1\x96\xbd\xd9\x21\x13\xa0\x26\x91\x9e\x89\xb5\xcc\x0b\x11\x66\x87\x86\xbf\x7f\x32\x35\xdb\x8a\xf3\xa4\x6f\xe8\x3b\xd5\x6c\xf7\xbd\x82\xcc\xf9\x34\xa2\x3d\xbb\x54\xc4\x67\xee\x77\xfd\x8b\xa1\x96\xc0\xef\x8f\xc3\xca\x7d\x87\x6b\x00\x5f\x7f\x39\x52\x7d\xe5\x4e\x7e\xc4\x4d\x12\x91\x30\x71\x0f\x68\x34\x53\xb4\x2e\x79\xc6\x55\x21\x44\x3e\x57\x14\x78\x46\xca\xba\x90\x95\xa5\x06\x84\x74\x6f\x9b\x48\xe7\x05\x32\x40\xc1\x4f\x56\x5c\x26\x65\xd6\xe9\x6e\xc0\x55\xf9\x28\xda\x89\xbe\x51\x3a\x81\x62\x59\xdb\xa4\xb9\x04\xe6\x60\x17\x39\xd6\x94\x7a\xd8\xb8\x9a\xdf\xdb\xd1\x05\x7b\xb9\x0c\x9f\x6f\xe7\x6b\xee\xc8\x69\xfe\x3a\x5f\xa4\x7a\xc4\x89\xf7\xc3\xd7\xf9\xa5\xee\xc8\x06\xcf\x7f\x6e\xf8\x44\x7b\xe0\x13\x3f\x77\x09\xb2\xf0\xfc\x0e\x22\x8f\xfb\x5c\x31\x83\xd8\x38\xf7\xc6\x27\x3b\xcf\x2e\x58\xb5\x1b\xae\xe2\xc4\x98\xbc\xbc\xa8\xf3\x5e\x3b\x9c\xb7\x79\x12\x15\xf6\x70\xec\x4e\xea\x83\x1c\x99\x45\xd4\x48\xb0\xdc\x37\x4e\xb5\xcc\xcc\x5e\x2c\x65\xad\x96\x6a\xbe\x64\x5b\x9e\x8e\xb7\x61\x48\x06\xd9\x6d\xd8\xcf\x6e\xbf\x9c\x86\x6d\xff\x44\xe6\x4b\x75\xaf\xad\xe4\xfa\x57\xe0\x48\x78\xdf\xbc\x12\x22\x3a\x73\xe8\xa2\x76\xd9\x0d\x07\x9e\x3a\x90\x48\x66\x4e\xed\x90\x71\x7c\xae\x48\x0e\x1e\xd1\x05\x10\x56\x46\xbe\xb5\x9c\xbd\x76\xd9\xc5\xaf\xff\xcd\xb2\x6d\xed\xd8\x0a\x16\x15\x50\xda\xe9\x28\x2a\x33\x08\xfd\x93\x7b\x92\x09\xbc\x84\xf3\x51\x44\x32\x60\x7a\x38\xc0\x16\xda\x89\x6d\x66\x92\xf3\x47\x57\x3a\x75\x03\x6e\x48\x14\xb6\x77\x97\x3e\xe9\x95\x65\x79\xc1\xf2\x42\xa4\xad\xc7\x6f\xc5\xba\xdc\xa5\x62\xa6\x94\x2e\xea\xf9\x29\xa3\xed\x4b\xee\x4a\x19\xb8\x75\x46\x5c\x46\xb3\xc0\x65\xf4\x87\xeb\x0f\x17\x2c\xe5\x3b\xc0\x3e\x16\x9a\xe1\x57\x81\x70\xb4\x7e\x50\xed\x9b\x81\x6a\xe7\xab\xa7\x0a\x8e\xa9\x05\x51\xb7\xc7\x27\xa8\xc6\xa6\xb1\x08\x6b\x86\x96\xa4\x39\xb3\x32\x9d\x1c\xa5\x09\x57\x01\xbc\x3d\x9f\xb2\x5a\xf5\x21\x9e\xc1\x45\x36\x09\x31\x06\x0d\x00\x7f\x05\xad\x85\xac\x6c\x05\x40\x03\xef\x8e\x5d\x50\x87\x41\x18\x3a\xcf\x88\x5e\x60\xe7\x7b\x54\x81\x41\x4d\x04\x64\xcf\xb0\xb0\x0c\x87\xec\xe1\x39\x80\x6e\x3b\x19\xc0\x79\x94\xf0\x3c\xef\x45\xe9\x3c\x0b\x95\x7c\x90\xb5\xb8\xff\xf8\xaa\xb6\x13\x61\x84\xc0\x6d\x82\xef\x52\xf7\x31\xb0\x25\xd8\xa3\xcb\x8b\xbe\x05\xf6\x7e\xa0\x06\x41\xd0\x07\xe2\x8b\x82\xdf\x23\x13\xe4\x9d\xd8\x59\x0f\x17\x1d\x55\x7c\x2b\x26\xce\xd9\xea\xbc\x89\x01\xe8\xaf\x59\xf0\x5c\x01\x2a\xf6\x5d\xd8\x3c\xf6\x4e\xeb\x09\xe2\x33\xa9\x72\x8e\xc5\xf2\x10\xe1\x34\x57\xef\xb4\x9e\x72\xf7\x88\xa5\xf6\xd3\x71\x53\xaf\x90\x50\x51\x80\x39\xac\x4d\xe7\xf0\xbd\xf9\xbd\x54\x28\x4f\x28\xb7\xe6\x01\x45\xe3\x04\x2b\x0a\x1a\x64\xd5\xf0\xf5\x43\xce\x62\xa4\x94\x29\x65\xbe\x81\xb0\x0b\xc6\x39\xa1\x7e\xba\x52\x10\x90\x95\x71\x95\x9b\x3d\x0c\xa1\x1a\x71\x2f\xc8\x5f\x5b\xc1\x18\x9c\xbd\x3d\x77\xb0\x25\xdc\x97\x24\xdd\xd1\xb1\xdb\x82\x47\xc7\x21\x8f\x73\x80\x9b\x8f\x20\xb4\x23\x07\xe7\x7b\x9e\xf6\x25\xc3\x1e\x5c\xe2\xbe\x59\x72\x84\x5a\xf5\x17\x15\x28\x99\x83\x86\x61\x25\x23\x36\x1c\xbd\x5b\x75\xe0\x8d\xd3\xca\x69\xbf\x5f\x72\x67\xb0\x83\x61\xe4\x51\xb1\xff\xba\x09\xb8\x2d\x1d\x64\xd0\xbd\x05\xcd\xc1\x0e\x0a\x71\x40\xca\x87\x5b\x7a\xca\xae\x85\x60\x1f\x61\xa4\x4c\x65\x1f\x49\x81\x14\x50\xd0\x05\x97\xad\x02\x71\xf0\xed\x33\xb5\xd2\x87\x9d\xff\xd9\xba\x81\xb2\x3d\x68\x54\xda\xdb\x79\x28\x8e\x17\x3c\xfd\xea\x79\x69\x45\x06\x5d\x0c\xb5\xb9\xbe\xf4\xfe\x26\x4a\x36\xb6\x2d\x35\x26\x19\x4c\xf1\x63\x88\xeb\x6a\x8b\xc4\xf4\x72\x82\x64\xec\x77\x4a\x3f\x28\x3c\x8f\xa9\x26\xf6\xd2\xec\x3f\xb0\x59\x30\x2e\x84\x96\x60\x89\xa7\xe1\x2b\x60\x87\x9f\xb9\x7f\xb3\x6b\x0c\x81\x63\x9b\x41\x3a\x2c\x07\x7b\x97\x44\xbf\xe0\x02\x7f\x39\x9b\xb0\x6f\x27\xec\x64\xc2\xa6\xd3\xe9\xab\x09\x13\x3c\xda\xd8\x16\xe1\x4f\xf0\xe8\x2f\xf8\xda\x94\x4d\xb2\x3f\xab\xa0\x02\x90\x07\x34\xf6\x89\x25\x41\xe4\xfe\x5b\x81\x57\xcd\x76\x01\x53\xb3\x29\x8f\x8c\xe0\x42\xd1\x46\x4b\xdf\x28\x40\x9e\x8b\x48\x67\x16\xbb\x9e\x17\x3a\xb3\x38\xdc\x7b\x9e\x71\xa9\x80\xb1\x82\x37\xb3\x10\xa8\xe6\x80\xb3\x5e\xfc\xc2\xb7\xd0\x7f\xa9\x1c\x6d\xaf\x19\xa6\x1b\xd7\xfe\x62\x97\x52\x9c\xed\x21\x93\x45\x61\x0c\xb2\x7c\xae\xae\xd9\x9b\x6f\xd8\x2c\x4d\x13\xc1\x66\xec\xef\xec\x5b\xae\xb8\xe2\xec\x5b\xf6\x77\x76\xc2\x55\xc1\x13\x5d\xa6\x82\x9d\xb0\xbf\x9b\x61\x33\xe5\x5d\x68\x63\x01\xed\x26\x8c\x33\x55\x26\x68\xe8\xbd\xb4\x18\xd7\x57\xae\x5f\xdc\xcf\xce\x52\x14\x0f\x42\x28\x96\xeb\x2d\x5d\x85\x7f\x72\xb7\x7f\x2e\xd5\x3a\x11\x05\xad\x87\x2a\x1a\x19\x2b\x38\x82\x9e\xbe\x99\x2b\xe7\xa7\xfe\x93\x69\xf1\x9f\xd8\xdf\xd9\x45\x99\x24\xa6\x49\xe6\xa0\x31\x0b\xe9\x0d\xb3\xd9\x61\x42\x4d\x1f\xe4\x9d\x4c\x45\x2c\x39\xe4\x87\x99\x7f\x1d\xdf\xc0\x6c\x2f\x4a\x4f\x05\x1a\xee\x69\x27\xc7\x76\xc8\xd1\xf3\x2c\x5c\x13\x4e\x2c\x30\xb4\x56\x3a\x41\x28\xe1\x4f\xc7\x1b\xc1\x9e\x00\x99\xf6\x03\xbd\x51\x50\x4a\x2f\x0c\x50\xb6\xd7\xef\x54\xbf\x52\xf3\x5f\xad\xf4\x1f\x83\xd4\xbf\xfa\xc6\xc3\xb7\x11\x8c\x53\x9c\x1c\x9f\x9c\x09\x0f\x19\xc8\x25\xc4\x7d\xb7\x03\xc9\x0f\x5b\x36\x3e\x3b\x31\xbc\x6d\x9e\xd2\x68\x8d\x16\x7c\x3d\x61\xa9\xd3\x91\xb2\x9b\xca\x05\xb6\x71\x1f\xa3\x66\x02\x19\x9b\x2f\x2d\x80\xc8\xac\x65\xca\x3f\x3c\x8e\xf5\x96\x4b\xf5\x0a\xea\xb0\xd4\x79\x7b\x06\xaa\xe5\xb9\xb2\x7f\x84\x6e\x78\x2f\x9a\xb1\x9b\xda\xbf\x6a\xec\xd4\x24\xdc\xda\xb6\xc3\x81\x1a\x66\x5e\xe1\xf4\x13\x3e\x87\x7e\x6c\x2c\xd1\xc1\xda\x07\xa4\x37\x56\x61\x4f\x01\x5b\xde\x33\xc8\x0d\x8a\xad\x3b\xe5\xb2\x1f\xab\x12\xaf\x95\x21\xd6\x72\x90\x16\x6e\xad\xb1\xb7\xf4\x12\xc3\xbc\x67\x73\x4c\xca\xe4\xd8\x1c\x95\xc7\x17\x5a\x09\xc6\xf3\x5c\xae\x91\xf5\x0e\x1c\x6a\x28\x22\x6b\x8d\xb2\x9b\xea\x93\x21\x38\x82\xc0\x3e\x33\x4d\x42\xc4\x74\x61\x4e\x61\x33\x05\xc9\x6e\xae\xcc\x2f\xc8\x22\x80\xec\x29\xe9\xc8\xd1\xb1\x36\xe2\x1e\xb7\x75\xd1\x85\x18\x14\xde\xb2\xc0\xfa\xa8\x19\x0e\x58\x70\xb4\x13\x0f\x88\xb8\x5d\x04\xc4\xa0\x54\x9a\x65\x8d\x42\x38\xcd\x52\x24\x5a\xad\xcd\xaa\xe8\x3a\x84\xe1\x14\x78\xa2\x26\x60\x61\x9d\x2d\x30\xc6\x0a\x7d\x85\xa6\xc4\xd8\x29\x32\xf6\x2e\xb5\xbc\x5c\x1a\x3b\xce\x45\x7b\x9c\x35\x42\x9d\xeb\xe2\xa9\x38\x0c\xb6\x74\x6b\xce\x60\x9d\x59\xe0\x9c\x8b\x24\xa2\xe1\xe2\x39\x9c\xb0\x47\xc3\x36\x55\x6f\xbe\x45\xbb\xf7\x91\x22\x95\x0d\xc6\x8e\x01\xeb\xf1\x73\xa6\x5e\x0c\x49\xc8\x78\x37\x3b\x3b\xaf\x7d\xaf\x99\x90\xd1\x92\xb5\x71\x73\xf6\xfe\xf4\xed\xe2\xc3\xed\x4d\xe3\x7b\xa6\x34\xfa\xd3\x9e\x9c\x8c\xce\xd1\x7b\x0a\x54\xfa\xcf\xa8\x22\xb6\xd0\x2b\x9b\xa0\x3f\xfc\x82\x6c\xe8\xb8\x0d\x03\x3f\x16\xc1\xfb\x36\xd4\x3b\x6b\x2e\x9c\x4e\x9a\x11\xb5\xa0\x68\xe7\xb0\xc6\xd6\x07\xec\x83\x7a\x87\x3f\xbf\xd4\x89\x8c\xfa\xb1\xd4\xf6\xba\x32\x76\x4d\x13\x9c\xba\x14\x90\x5c\x40\x2e\x57\x6a\x14\xbe\x90\x0a\x11\x15\x3e\x9a\xdf\xec\xdc\xff\x6a\xfc\xe6\x7e\x1f\x08\x7a\x42\xdd\xb0\x81\x3c\xb8\xc3\x07\xc0\xdd\x0a\xbc\xcd\x20\x57\x82\x76\x26\xf8\x56\x01\x37\x13\x71\x8a\xfa\x54\x46\x1e\x0e\xe8\x87\x8d\x4e\xc8\x23\x8a\x1c\xd8\x73\x95\x8a\x2c\xd2\x80\x7b\x44\x7a\x15\xcd\xa2\x8d\x4c\x62\xaf\x09\xf6\x12\x12\x45\x00\xce\xfd\x8a\xe4\x6d\x85\xc3\xaf\xd8\xe2\x7b\x6e\x5d\xbb\xec\xde\xe2\xee\x3e\x08\xfb\xf5\x94\xc8\xef\xbe\x65\xff\x13\x21\x94\x71\x28\x88\xb5\xae\x86\x44\x00\xc3\x3b\x6c\xcf\xa8\xa0\x8a\xb9\x6e\x49\xee\x29\xf2\x0f\xd7\xa2\x36\xaf\xb4\xcc\xea\x43\x09\x5c\xe6\xe8\xc9\x46\x18\x5e\x2e\xa0\x39\x5b\xc1\xd1\x16\xf3\xcc\xc2\x34\xa9\x73\xe5\xb1\x17\x2f\xf2\xd0\x2e\x6b\x9d\x67\xf4\x7f\x5b\x6c\xf9\x84\xbd\xa8\x74\xf4\x05\x70\x5d\x2b\x0d\xf5\x51\x7c\xbc\x32\x34\xb0\x5c\x27\x4c\x16\x73\x65\x5e\x4d\x66\x65\x66\x22\x11\xf7\xa6\x75\x61\x7c\x86\x10\x83\xd6\x77\x61\xbb\x0d\xe9\x49\xdc\xb2\x5a\xd0\xb2\xa1\x4d\x98\x85\x9c\xc9\x18\x18\x8e\x45\x6e\xec\x46\x50\x7b\x12\xbf\x98\x0d\x20\x21\xfc\x88\xd0\xb2\x58\x28\xdb\x3e\x40\x9c\xa1\xd2\xfe\x5c\x9d\xad\x80\x5a\x00\x08\x0d\xe2\x18\xbd\x00\x56\xff\xc7\x11\x58\x4a\x8a\xc7\x68\xf2\x89\xd8\x89\x20\x75\x66\xdc\x49\xe2\x5e\x64\xbb\x02\x9c\xea\x30\xae\x4a\xf0\x62\xc3\x64\x31\x01\xe6\x51\x7b\x52\xce\x15\x8f\x63\xca\xc8\xc6\xe2\x82\x07\x65\xe7\x3c\xd3\xe7\x4b\x7d\xdf\x67\xd8\x1e\x8a\x9d\xc5\x5d\x9d\x26\x5c\x2d\xf0\x06\xf9\x0c\xe8\xd9\x40\x38\xbb\x0b\x46\x51\x2e\x17\x8e\x2d\xed\x49\xda\xe9\xce\xfb\x2b\x0b\x1e\xa6\xc7\x45\xb9\xb4\x15\x4d\x2a\xe0\xe8\xa5\x27\xd6\x70\x7e\x32\x42\x2e\x65\xcc\xa2\x3b\x86\x9f\x02\x1e\x58\xcb\x6b\x28\x27\xbb\x5a\xf7\x21\x6b\xed\x0a\xf8\xb5\x62\x1f\x87\xcc\x7c\xed\x0e\xa9\x4f\xfb\x78\xd8\x5d\xc3\x42\x7c\x14\xf4\x6e\x4f\xb3\x9e\x17\x7e\xd7\xe9\x47\x69\xc2\xf0\x6c\x6f\x83\x08\x3b\x81\xf7\xd1\x0f\xea\x5c\x58\xed\xc2\xe8\xe1\x3b\x4c\xb7\x20\xd4\x9f\x32\x46\x00\xe7\xd4\x50\x4f\x89\xa7\xf4\x80\x76\x4d\xd9\x99\x62\xd6\xdc\x9b\xb0\x17\xb8\xb0\xf2\x17\xe4\x02\x26\x75\x7d\x82\xab\xc4\xb4\x7b\x88\x04\xa1\x0e\xf3\xc2\x54\x34\xbf\xdd\x30\x12\xd7\xcb\x98\xfb\xac\xe3\xf2\xad\x84\x54\xb8\xc7\xb0\x9d\x60\x14\x77\x89\x05\xd8\x4c\x8e\xc0\x19\x49\xdd\x85\x68\x82\xef\xb0\x8d\x37\xb2\x6f\xed\x0f\xcd\x10\xa5\x25\xdd\xa7\xf6\x73\xa6\xb3\xb9\xb2\xa5\x91\x4b\x38\x47\x89\xbe\x7a\x51\x41\x66\x0e\xd9\xfc\xc1\x4a\x85\x60\xbc\x55\x65\x04\xb1\x4f\x4f\xeb\x5d\x3f\x05\x00\x87\xb4\x74\x18\x50\xd0\x81\xf0\xb5\x19\xc3\xc3\x2c\xf0\x2d\x5e\xf3\x75\xea\xdf\x24\x31\x83\x22\x0b\xcb\x34\x1c\x64\xcd\xe5\x25\xf0\x65\xaf\x4a\x73\x18\x05\xa4\xe2\x73\x65\x06\x8f\xad\x24\x64\x4f\xd0\xb8\xcc\xd5\x7b\x9d\x5b\x92\x96\xdc\x8f\x87\x0d\xed\xd3\xb0\xbd\x70\xe2\x94\xf4\x87\xb7\x70\x69\x53\xcc\x05\xe9\xd6\xdc\xd5\x02\xe9\x92\xc4\xb4\xb4\xd3\x65\xe6\x3b\x15\x71\x35\x57\xff\x6d\x86\x07\x9e\x53\x5c\xd9\x69\xd5\x2b\xdc\xc2\x30\x83\x10\xac\xfa\x88\x85\xbe\xfc\xb7\x57\x1f\x5f\x61\x7a\x53\x99\x83\x1e\xf0\xa4\x7a\x81\x38\x7d\x89\x32\x49\x00\x09\x60\x7b\xe0\x38\x8e\x7c\x15\xbd\x48\x38\x7a\xd4\x2d\x54\xd5\xc4\x18\xb2\xd1\x87\x39\xd6\x67\x2c\xe2\x45\xb4\x39\xb2\xb6\x1c\x1d\x63\xf6\xf6\xa3\xe9\xc3\x3c\x24\x63\x69\xb5\x4b\x2c\x98\x07\x67\xb6\x75\xa4\xaf\x95\xf5\x62\xba\x00\x0e\xf8\x9b\xba\xde\x98\xe3\xa4\xc6\xc5\x89\x48\x9c\xaa\x9d\xe7\xbe\x6e\xd5\x3e\xfd\x8b\x93\xa2\x14\x8a\x6f\x45\xcc\x5e\x40\x22\xee\x0b\x3b\xf9\x73\x95\x2e\xa7\xc9\x6e\x55\x10\x73\xa0\x19\x94\x29\xe8\xe2\xed\xb9\xe5\x16\x71\xf3\x99\xb4\x67\xb0\x3b\x1f\x5a\xed\xb6\x8e\x1b\x1b\x57\xd3\x70\x83\x05\x7d\x5c\x6e\x74\xae\xab\xa8\xbc\xaa\x40\x07\xcf\xef\x26\x6c\x99\x71\x05\x92\x46\x71\x68\x54\xf9\xdd\x09\x8f\x67\xa4\xe5\xb3\x99\x79\x8a\x27\x3b\xc8\xc0\x99\xcc\x15\x72\x18\x02\xd9\xfd\x2e\x4a\x64\xc4\xd6\x19\x4f\x37\x35\x3b\x48\xdc\x0b\x55\x80\x32\xf6\x95\xe0\xf9\x61\x68\x89\xac\x5e\x02\x1b\x1c\xcf\x9a\x29\x78\x7d\x70\x55\x63\x9d\x86\xe6\x75\x5c\x2d\x80\x90\x14\xf1\x62\x1c\xe3\xd4\x5e\x5e\xe4\x0a\xdb\x26\x51\xbf\x41\x04\xd8\x74\x8e\xd9\x5a\xf7\xc1\x0f\x70\x5c\x89\x0c\xc9\x62\x6a\x0f\x85\x4c\x38\x72\xa5\x83\x28\x72\xcf\xaa\x56\x24\xf7\xac\x51\xde\x73\x4d\x81\x37\xf4\x54\xd8\x44\x04\x77\x70\x4c\x48\xb9\x14\xe8\x33\xd9\x1f\xcb\xa5\x4e\x2c\xff\xe8\xd9\x5b\xa6\x33\x90\xfe\x29\x34\xfd\x49\xc6\x5d\xd6\x81\x54\xb1\xf8\xe5\x20\x12\xa0\xfe\x8b\xde\x9a\xcd\xa6\x9a\x40\x61\xa6\xde\x59\x38\x9d\x32\x61\x2e\xe1\xc2\xbe\x8c\x1b\xdf\xca\xeb\x60\xe1\x59\x52\x6c\x00\xc1\x8b\x49\x32\x7e\x50\xb7\x7c\xc7\xa2\x0d\x57\xeb\xc0\x35\x01\x80\x4a\x91\xea\x0c\x25\x72\xef\x81\x6d\x53\x67\x96\x64\x81\xa8\x03\x28\x53\xc7\x05\x12\x10\x20\xaf\x2d\x3f\x00\x5f\xaf\x33\xb1\x86\x44\xd2\xb9\xaa\x90\x9f\x00\xd3\xa8\x55\xe7\xc1\x7a\xfa\xb8\x23\x9e\x86\x80\xa9\xeb\x35\x58\x64\x3b\x97\x79\x4f\xfa\xd2\x7e\x3f\xd7\x87\x75\xc2\xa4\x98\x4e\xd8\x57\x3e\x29\x40\x44\x5a\xb9\xd4\xfd\x8e\xbc\xed\x9a\xcb\x9f\xed\x79\x3a\x34\x99\x9a\xda\xdb\x0e\x9f\x35\x54\xaa\x5b\x17\x4d\x2f\xf7\x41\xc1\x8b\x72\xc4\x1d\x74\xc2\x0b\x9e\xe8\xf5\x89\xf9\xf1\x35\xfe\xb6\x6f\x5d\x9f\x20\x62\xdf\xb2\xe4\x99\xef\x9b\x9b\xd3\xd4\xed\x59\xf4\xdb\xc6\x7a\xaf\x03\x39\xd1\xdd\x0e\xe4\xa7\x30\xd5\x2d\x15\xd2\x7e\x1f\x72\xd2\x41\xef\xd3\xd3\xa7\xb1\x2e\x62\x8b\xab\xa7\xd4\xa0\xbc\xfe\x8c\x6d\x39\x01\xd2\x4c\xc7\x65\x24\x62\xb3\x73\xe1\x3d\x84\x88\x24\xc7\x32\x54\x39\x24\xdb\x2e\xda\x0a\x55\x1a\xdc\xba\x9f\xca\xe7\x30\x88\x9d\xde\x0d\xff\x6d\x87\xbf\xc1\x5a\x7c\x6d\x83\x1e\xee\x4f\x1c\xa7\x6c\xe4\x3d\xe5\xaa\xaf\x72\xca\xeb\x4c\xae\xa5\xe2\x85\xce\xd8\x4b\xc7\x25\xf0\xca\x09\xd1\x75\x5b\x08\x23\x8f\x89\xca\x10\xe1\x31\xf1\x49\x0d\x8f\xb6\x45\x6a\xbe\x95\x17\x7c\x9b\x86\x2c\xcd\x4e\xe6\x9f\x46\x26\xc1\x41\x70\xb6\x09\xf8\x4e\x65\xee\xf3\x66\xe7\x8a\x22\x0e\x38\x6f\x3a\x0b\x65\x06\x3a\xef\xe6\xb4\x2c\x16\x8f\x64\x1e\xc3\x1f\x8f\x73\x3c\x11\x0c\xe1\x3d\x4f\xfb\xb9\x9c\x38\xb9\x1c\x30\x71\x90\xdc\x11\xde\x52\xa9\xae\xcf\x7e\x21\x9f\x91\xdc\xd2\xf5\xd0\xf9\xd5\xb9\x0d\x14\xf9\xf7\x60\xe5\x81\x05\x13\x81\xa4\xb6\x98\x88\x85\x4f\x7b\x77\xac\x99\x5b\xdc\x12\x40\x9d\x24\xba\x8c\x19\x1d\x6a\x14\x86\xcf\xa6\x78\x3b\x02\xcb\xf4\x74\xda\x95\x58\x36\x52\x60\xdc\x9d\x3f\xf0\xbb\xf6\x1d\x08\x9f\x75\x9c\xc0\xbd\x5b\x9f\x46\xf6\xd9\xa6\x9e\x46\x1a\xe6\xde\x1d\xc7\xa3\xe6\xde\x79\xc1\x81\xf2\x72\x9c\x83\x14\xde\xa3\x32\x4e\x60\xbf\x85\x01\x84\x16\x52\xee\x4a\x60\x36\xbf\x3b\xb8\x3a\xcb\x03\xd1\x5f\x55\xca\x33\xa1\x8a\x05\xd4\x38\xae\x32\xa8\xe4\x12\x7e\x5e\x31\x98\x06\x39\x82\xff\x7c\xa3\xd1\xbf\x6f\xf9\xad\xfe\xc2\xae\xc9\xa7\x65\xce\x2b\x09\x20\xde\xfc\x8e\xbd\x94\x80\x39\x0a\x62\xa1\x6e\xe2\x3a\xa6\x8b\x3a\xf4\x88\xd1\x0b\x3a\x54\x39\xda\x07\x75\xc8\xb7\x1e\x42\xd5\x50\x0a\xb9\xf7\x28\x2b\xdf\x1c\xb5\xf6\x6f\x81\xe6\xc5\x45\xe5\xdf\xc0\x4f\x6c\xe6\x2f\x61\x7f\x15\x99\xf6\x19\x58\xe8\xac\x0a\x0b\xee\xb5\xd7\x1f\x2f\xd7\x8d\xf6\x38\x0a\x45\x87\x4a\xa9\xf0\x17\xa2\x10\x43\x8f\xc2\x72\x67\x9f\x23\x1d\x21\xa4\x54\x44\x8b\x0e\x59\x9c\x41\x4d\x09\x1e\x9e\xa1\xcc\x8d\xac\x5d\x66\x76\x83\x1e\x83\xbf\x82\x52\x9b\xb6\x3c\x25\x7c\x1f\x41\xb9\xeb\xc1\x9b\x29\x74\xe2\xcf\x7f\xfa\xcb\x54\x76\x24\x59\x43\xd3\xc7\xc2\xa5\x5c\xe3\xdf\x65\x52\xa8\x18\x82\xb1\x3c\x6e\x2a\xb6\xa9\x8a\x77\xbe\x72\x3c\x9b\x65\xf8\x24\x19\xd9\xed\x57\x6d\xbe\xc0\x45\xf4\x09\x22\xfa\xfe\x90\x75\xdb\xb7\x12\xef\xeb\x32\x25\xf2\x45\xbc\x53\x7c\x2b\xa3\x4f\xda\xc6\x9d\x14\x49\x0c\x4d\xa4\xda\xf7\x45\xa5\x62\x11\xdd\x8d\xb5\x09\x1e\xad\x37\x21\xa2\x3b\xf6\xfd\xcd\xfb\x73\x94\x17\x96\xf9\x5c\x5d\xf0\x42\xde\x8b\xdb\x2c\x71\xe1\x00\x82\x49\x67\x89\xdd\x23\x55\xfe\xf3\x80\x6b\xcb\x92\xa5\x5b\xc3\x21\x94\xa7\xd8\xee\x8e\x96\x65\x74\x27\x8a\xe3\x8c\xab\x58\x6f\xb1\x1b\xc7\x79\xb9\x5a\xc9\x5f\xa6\x05\xcf\x3a\xb4\x2a\xd0\x8f\xf0\x19\xed\x5c\xaf\x40\x56\x78\x9b\x17\x4d\xdd\x07\x48\xb4\x26\x5d\xfb\x8a\x71\x8b\x79\x81\x7c\x2b\x80\x6c\x94\x55\x75\x5e\xa0\x14\xcc\x5d\x06\x39\xd4\x3c\xa7\x0c\x06\x4d\x62\xeb\x1f\x03\xe3\xfe\x63\xd0\x2a\x1f\xc2\x0e\x1b\xe5\x25\x46\xb7\xfc\x0e\xdf\x87\xeb\x4c\xe4\xf9\x84\xe5\x1a\x5a\x3c\x57\x36\x17\xc0\xe6\xab\x01\xee\x05\xe8\x8a\x93\x1d\x8b\x74\xea\x40\xeb\xd8\xaf\x8d\x7e\x00\x3f\x7d\x98\xa9\x0b\x22\xda\xa5\x2a\x64\xc2\xf8\xaa\x20\x27\x3e\x68\x33\x58\x2d\xb6\x7c\x3a\x57\x10\x8a\x8d\xa0\xfb\x00\x91\x70\xe1\x17\xd7\x89\x9c\xad\x78\x24\x13\x59\x10\x63\x1c\x24\x79\x71\xd3\x5f\x73\x1f\x98\xb1\xcc\xf8\x8e\x27\xfe\x61\xc5\x93\xd2\x27\x27\x1f\xe5\xa2\x87\x91\x54\xe6\x0b\x74\x10\x3c\xdf\x06\xf7\x28\x40\x19\x06\x1f\x90\xbd\x7d\x66\x2a\xbf\xa8\xdd\xa2\xbf\x0b\xff\xb7\xf2\x0e\xef\xb3\x0a\x0e\x78\x90\x1f\x72\x39\x36\x9f\xdc\x4e\xc0\xdc\xdb\x19\x32\xb6\xf8\xe0\x8a\x29\xee\xd3\x7f\xdd\xf5\x08\x31\x93\x8e\x47\xff\xd4\xca\xce\x35\x6b\x18\x31\x7a\xed\x46\xe2\x27\x72\x67\x74\x51\xea\x0f\x69\xbe\xf5\xc6\x5f\x6a\x9d\x1c\xea\x91\x27\x52\x0c\xa9\xd5\x02\x94\x98\x0f\x79\x4e\xe2\x02\x70\x8e\xad\xb3\xb7\x2e\xe6\xee\x38\xea\xab\xfa\x6d\x04\x07\xa3\x26\xc0\x41\x06\x8d\xe8\x41\x8a\xe7\x69\x0b\xe8\x62\x24\xe2\x1d\xca\x40\xb4\x96\x35\xed\x9b\x21\x82\x80\x1f\x85\xfb\x36\x02\x8f\x6f\xad\x85\xa3\x9c\x75\xa8\x9b\x5c\xab\xca\x39\xee\x42\xbe\x6f\x37\x8e\x41\xdd\x76\x3c\xb7\x5c\x91\xe7\x8f\xac\xf8\xb9\x0a\x2c\x76\xe4\xa4\xb3\x29\x05\x6e\xd4\xda\xfc\x79\x95\x65\x78\xb0\x3f\xef\x10\x51\x87\xde\x93\xf3\x6d\x28\xcf\x08\x58\x90\x48\x6f\x97\x52\x59\x56\x08\x72\x72\xc3\x53\x63\x66\x39\x73\x5d\x40\xc2\x3e\x19\x50\xb4\xa7\x36\xf6\xce\xcc\x09\xe9\x87\xc3\x23\x6b\xdf\x73\x3c\x7c\xdf\x3d\xad\xfe\x44\x47\xa4\xb1\xde\x03\x73\x81\x24\x0f\x7c\x97\x83\x84\xb9\x30\xa7\xe2\x0a\x1d\xbb\xd5\xf6\x4f\x02\xf3\xc3\xf2\x31\xcf\x15\x8c\x10\xf2\x75\xd9\x83\xd4\x9c\xac\xb0\x00\x13\x2b\xd6\xee\xb9\xd6\x5e\xe4\xed\x83\xf3\x79\x62\x35\x59\x6f\xac\x06\x83\xd0\xff\x33\xc2\x33\x3d\x4e\xe0\x03\x7d\xd1\xc1\x35\x89\x16\x23\xc1\x84\x20\x71\xcb\x85\xa8\x27\x6c\xcb\xa5\xa2\x6d\x80\x82\x98\xb1\x58\x96\xeb\x75\xa7\x8b\xf4\xd7\x1f\x6b\xa9\xee\x93\x7f\x7a\x5f\x78\x2f\x5b\xe0\x53\x78\x8b\xcf\x6c\x4d\xe8\xbe\x36\xef\xbe\x4f\xe3\x20\xfe\x8c\xde\xf8\xd6\x90\x58\x63\x11\x3d\x8d\x37\xfe\x6c\x88\x37\xde\x62\xbb\x20\xc5\x8e\x9e\xd3\x16\x7f\xf3\x9b\x9b\xfe\xd3\xb8\xe9\x07\x2d\x0a\xa4\xd5\x59\xc8\xaa\x81\xde\xd3\xc2\x47\x32\x4f\x3a\x32\x66\x68\x15\xb2\xbb\x99\xd3\x3d\xce\xd9\x92\x47\xcf\x40\x45\x09\xb7\xe3\xe1\xfe\xc0\x3d\xe0\x97\x6b\xbd\x15\x0c\xaa\xca\x51\x4a\x89\x51\x16\xe3\x04\xd0\xaa\xa6\x83\x1e\x31\x42\x78\x14\xb8\x4e\x11\xb9\x12\x7b\xa3\xfa\xa5\x12\x0f\xcc\xdc\x56\x93\x10\xbe\x17\x4c\x0f\x68\xec\xbd\x32\xd6\x61\x05\xeb\xef\x28\x33\x32\xb1\xe6\x59\x0c\x19\x26\xb4\x25\x13\x1e\xdd\x99\xff\x86\xf6\x51\x8d\x04\x31\xb4\xd9\xfa\x08\x7b\xf5\xa5\x49\x15\x21\x19\xa1\x65\x55\x77\xed\xc3\x9f\xe7\x8c\x47\x99\xce\xd1\x69\xe4\xa4\xa9\x21\xc3\x19\x0c\xd8\x7b\x19\x97\x3c\xc1\x1a\x3b\x3d\xed\x63\xe1\x6b\x75\xc0\x51\xa0\x22\xd7\x44\xb3\xd1\x74\x20\x47\x14\x0c\xe3\x74\xae\xde\xba\x80\xc9\x1b\x76\x9b\x0b\x42\x99\xe5\x96\x87\xbf\xb7\xa5\xcf\x66\x3e\x34\x30\x81\x9d\x36\x44\xcf\x00\x58\x90\x75\x30\x10\x79\xf7\x48\xec\x21\x34\x3d\x64\x52\x46\x13\x33\x9f\x05\x52\xf6\x7e\x58\xf0\x9d\x90\x09\x1e\xef\x42\x36\x44\xa9\x18\x44\xe9\x18\x8f\xb7\x52\x99\x4d\x60\xe5\x52\xdd\x4d\x63\x95\x13\x10\x72\x0c\xaa\x62\x49\x52\x3b\x04\x73\xa6\x84\x31\x2e\x79\x26\x93\x1d\xbc\x27\xd2\x4c\x1c\x05\xf5\x04\xf3\x43\x19\x4f\xa0\x01\x41\x34\x2e\x65\x2e\x56\x65\x82\xaf\x0e\x78\x97\xbb\x0e\xd0\x89\x74\x7b\x36\x31\x06\x47\x41\x5a\x3e\x41\xc5\xa8\x90\xf9\x14\xd9\x23\x8d\x68\xe5\xb8\x88\x9b\x67\xeb\xcc\x00\xe4\xbe\xd1\x0f\x36\xd5\xed\x81\x7b\x2c\x73\xd7\xed\xfa\x64\x51\x96\x7e\x3b\xd4\xbe\x00\xed\x39\x15\x50\xee\xb9\xd0\x1a\x7d\x26\x62\x77\x36\x49\x05\xdd\x21\x91\x69\xef\xb9\x2e\x73\xcc\x98\x33\x73\x09\xf7\x97\x75\x74\x54\x1d\xd7\xcc\xf5\x4e\xe6\x5a\xb1\x79\xf9\xe5\x97\xbf\x17\xec\x4b\x48\x21\xa4\xf7\x08\xc6\xc7\x80\xaf\x13\x4b\x87\x23\xdb\x55\x20\x90\xcc\xb3\x31\x23\xac\x0d\xa2\x6a\xf3\xf5\x01\xe4\xc9\xa3\x0d\xcb\xcb\x25\x22\x18\x39\x85\x58\xb8\x72\xbc\xdf\xe7\x1a\xc0\x88\x78\xb3\xdb\xd6\xff\x2f\x09\x28\xa0\xec\xca\x5c\xa5\x1a\xa9\xe9\x01\xfa\xb9\x14\x6c\xcb\xb3\x3b\x50\xd1\x45\xf7\x3c\x50\xf1\xbf\x94\x62\x5a\x0d\x2f\xbc\xaa\xb4\x87\x02\x3a\x48\x39\xcd\xb2\x52\x29\x2b\x0b\xc6\x8c\x61\xea\x7d\xfd\x93\xb9\x5a\x96\xe1\xdb\xb3\x12\x2c\xf0\x4b\x0b\x02\x06\x70\xd8\x6a\xe0\x0a\xa1\x46\xf1\xdc\xb7\x6b\xca\x06\x44\x0d\xe6\xea\x89\xc3\x06\xfb\x1c\x7e\x97\x64\x83\x59\x67\x5e\x90\xaf\x00\xdd\x0d\x95\xab\x61\x3a\x70\xd9\x83\x91\x73\x09\xf2\xd5\x13\xf6\xbd\xbc\x17\x13\x76\x9d\xf2\xec\x6e\xc2\xde\x62\xf8\xef\x0f\x7a\xd9\xe6\xc3\x6b\x10\x4a\x1c\xec\xc7\x7b\x9c\x1b\xab\x8f\x68\xa5\xdd\xfa\xff\xa9\x41\x0c\xc0\xba\x62\xdf\xff\x33\x11\x79\x1d\x5c\x1f\xff\xec\x9e\x88\x3d\x61\xea\xdf\xc0\x6b\xff\x94\xaf\xe2\x7e\x9a\x8f\xdf\x85\xff\x6b\xcf\x2f\x6b\x71\x81\xed\x49\xa7\x5c\x2b\x2a\xed\xd7\x95\xd8\x2c\xe3\xfa\xa5\xdc\xcc\x6f\x1e\xb6\x15\x28\x7d\x3c\x76\xa9\xed\x23\x40\xf7\xf4\x53\x3b\x5e\x27\x89\xce\xcb\xac\x7f\xf3\x5f\x55\x5b\x6d\x6b\x6f\xa1\x5a\x85\xc5\xb6\x5d\x0a\x60\x2d\x18\x0a\x3f\xc1\xaf\x2d\xfe\x5b\x2f\x17\x80\xb5\x3a\x6c\x87\xb7\x15\xe7\x08\x9c\x75\x54\x69\xaa\xbf\x21\xaf\x53\x01\x8c\x53\xde\x14\xf5\x01\x81\xda\x0a\x73\xae\x91\xb9\xb2\x9c\xf7\x98\x31\x9b\x65\x02\xc8\xb9\x33\x01\x52\x8b\x8c\x38\x06\x93\x5d\x60\x11\x05\x2f\x1f\x0f\x8a\x09\xb3\xdc\x20\x59\x95\xde\x5b\x4b\x21\x94\x1b\xed\x31\xa6\x04\x10\x51\xd7\x46\x9f\xd0\x6e\x0f\xc2\x4a\x1f\x74\xc8\xc2\x36\x7e\x17\xbc\x05\xc1\xe4\x5e\x8b\x22\x38\xcd\x6b\xa6\x45\x65\x6b\x56\x22\x54\xbf\x2a\xc4\x7f\x6b\x0c\xba\x46\xce\x55\x71\xa0\x0c\x8a\xe9\x3d\x85\xbf\xfc\x92\x17\x1b\x7c\xd0\x6e\x75\x21\xf0\xcc\x44\x96\x20\x5c\x2f\xe8\x75\x5e\x26\x7a\x09\x1a\x87\x45\x0f\x87\x63\x44\x5b\x7b\xd0\xd0\x35\x27\x6c\xc8\xc9\x60\x4e\x13\xc8\xb4\xcd\x44\x0e\x84\x2b\xcd\x28\xd5\x50\x7c\xf2\xb8\x47\x77\xb3\xb9\xe6\xd0\x7f\xdb\x78\x6c\x37\x45\x31\xcc\xb6\x06\xb0\xea\xe9\x23\x32\x68\x1a\x12\x23\x44\x16\x4d\x61\x60\xe4\x8b\xad\xf5\xd7\x4a\xe9\xcf\xd5\x0c\x3f\x09\x2e\x01\xee\x55\xae\x1c\x1e\x94\x54\x93\xdd\xfe\xc3\xf4\x55\x36\x0b\x11\x88\xe4\x21\x98\x78\x5f\x26\x3c\x06\x26\x90\xd5\xa8\x0a\x99\x09\xa6\x00\x85\x30\x57\x79\xb9\x3c\xf2\xc4\x24\xe6\x15\x77\x0f\x64\x3a\xb9\x48\x39\x3c\x65\x80\xaf\xe8\xa8\xe5\x1a\x46\xcf\xa4\x57\xab\xb1\x04\x7e\x3c\xa1\xc3\x1f\x72\x25\x31\x33\xde\xf5\xdd\x95\x63\x1e\x6b\xf0\x8a\xb6\x70\x25\xbc\xec\xfa\xce\x0b\xd0\xd3\x82\x0c\xcc\x2b\x44\x51\x7c\xee\x0b\x3c\x8c\x86\x0e\xbd\xba\x21\x9e\x36\x57\xff\x62\xef\x86\x6e\x50\xf1\x88\x95\x6e\x46\xc6\x5c\x51\x9d\x60\xe7\x4a\xdb\xec\x13\x32\x30\x02\xbb\x1b\xd5\x58\xf2\x6d\xa5\x72\x8b\x6b\x09\x45\x55\x34\xa5\xcb\xc2\xa7\xf7\x32\x0f\xe8\xd6\xa1\xb6\x6b\x21\xd8\x9b\x4c\xac\xde\x7c\xcc\xc4\x6a\x61\x67\x7a\x0a\x1d\x9a\x9a\x1e\x35\x49\xd7\x07\x2e\x8e\x3c\xd5\xaa\x9d\xfc\x70\x0f\x39\x69\xad\x4b\x58\x4e\xd0\x27\xb9\x62\x5e\x5f\xd6\xf4\x07\x18\x20\x44\x5c\x67\x83\x6f\xb4\xec\x93\x5f\x73\x5d\x48\xb0\x01\x50\xab\x0e\x19\xd2\x7f\xfe\xeb\xad\x32\x66\x43\xae\xb7\x9b\x2a\x64\xc6\x1e\xf6\x5c\xb9\x0b\xaf\x1b\x17\xfa\x69\xd1\xe9\x30\x81\x79\xca\x1f\x14\xf1\xd8\x8c\x72\x3d\x0d\xbb\xd6\x6a\x00\xa2\xe0\x5a\x6b\x60\xe0\xfc\x2e\x53\xd6\xd3\x27\x9d\x92\xe5\x24\xd0\xff\xe7\x49\x12\x6a\x5a\xf8\x48\xdb\x5c\xf9\xbc\x54\x63\xb5\x26\x89\x75\xe1\x55\xec\x0d\x27\x39\x9c\x17\xbc\x10\x13\x4b\xba\x42\x74\x85\x14\x0f\x3b\x5a\x72\x10\x97\x76\x2a\x66\xfb\x76\xf3\x53\x3d\x22\x7f\x65\x79\xd1\x7b\x22\xcf\x58\xed\xe2\x4e\x34\xe0\xcc\x7b\xdb\xda\x1e\xe9\x08\x28\x25\x60\x33\xdb\x53\x36\xe2\x59\x66\x51\xfe\x54\x2b\xb3\x84\xe3\xe1\xab\xa4\xa3\x9d\x1b\x11\xdd\xa5\x5a\xaa\xd1\x67\x51\x85\xe2\x02\x16\x7b\xc1\x7c\x69\xee\x75\x38\xe8\x72\xac\xd8\x93\xd8\x91\x1c\xe0\x15\x16\x1a\xea\xc9\xd8\x38\x73\x5a\xd5\xdd\xcb\xee\xa9\xfd\x17\xc2\xdf\x0d\xcf\xe0\x8b\x6d\x89\x0f\xd5\x6e\x15\xde\xe2\xd8\xa9\x30\x81\xf2\x46\xf6\xd7\xc0\xc1\xe6\xac\x42\x61\xd8\x3a\xa4\xe0\x82\xfc\xcd\x33\xf4\x9b\x67\xe8\x7f\xb8\x67\xe8\x53\xba\x85\x00\x1b\xf3\x9c\x3e\xa1\x9e\x00\xf9\x01\xdb\xd1\xd5\x3a\x3a\xc7\xb1\xd5\x3a\x9e\x04\xb2\xdb\x41\xa6\x63\x13\xe8\x6f\x89\x30\xcc\xf8\x2c\x79\x74\x27\x54\x67\x8c\xde\xd2\x17\x75\x2a\xa0\x3e\x2d\x82\xa5\x8d\x7d\x29\xf8\x75\x3f\x94\xc5\x43\x9d\x88\x34\xb8\x8d\x10\xc4\xec\x13\xb0\x3d\x4d\xc7\x8f\x00\x34\xa6\x33\x47\x6c\x9d\x53\x16\x1e\x06\x23\x91\x26\x09\xc1\x52\x35\x2a\xe8\xa1\x98\x38\x5b\xf1\x22\xd5\x3a\x69\x85\xc6\x3d\xe9\x00\x36\x12\x65\x86\x0e\xde\x19\x1a\xa3\x79\x08\x18\xb3\xa3\xe8\x93\x2e\x7c\x8a\x06\xe6\x63\x80\x16\x06\xac\xa6\xb8\x84\x5c\x4a\x3f\x1c\x81\xc0\x21\x77\x0e\x17\xc2\x88\x2d\x45\xc4\x41\x7a\xd5\x82\xf7\x22\xee\xb2\x4f\x42\x52\xa4\x46\x3a\x48\xde\xac\xa7\x23\x6a\x09\xe5\x2e\x64\x9b\xf0\xc5\xd8\xcd\x55\xb3\x10\x2c\xb4\x1c\x5b\x6e\x91\x24\x96\x76\x71\x9f\xa4\xb0\xe5\x98\x5e\x80\xfe\xe1\xb0\x1b\xae\xf5\xdc\x39\xa3\x82\x4e\xa0\x9c\xe1\x07\xe9\xf7\x90\x8e\xb3\x1d\x88\xdc\x99\xab\x99\x53\x9a\xf5\xd8\x2f\x87\xdc\xc3\x70\x29\x62\x16\x1b\x53\x83\x5c\x8e\xfe\xe5\x32\x61\x79\x19\x6d\x80\xad\xb2\x7a\x4e\x85\xe7\x56\x73\xc7\x4e\xe6\xca\x3c\x88\xc0\xd5\xb2\xe5\x90\x17\xff\x60\x8c\xd5\x5c\xfe\x55\x38\x78\x16\x91\x77\x85\x88\x2c\x7c\x38\x69\xd5\x8a\x5e\xb3\xc4\xa1\x08\xb0\xf0\x98\x92\x32\x8d\x79\x21\xa6\x73\x8f\xb6\x91\xe8\xe9\xb4\x28\x0f\x32\x99\xf3\xb0\x63\x21\x8e\xb1\x76\xd2\x26\x72\x25\xa2\x5d\xd4\xd0\x01\xea\xa7\x89\xf8\xed\xd9\xf6\xeb\x7a\xb6\x21\xcb\x2e\xe6\x0c\x8e\x19\x5a\x6a\xea\x95\xff\xf9\x61\x83\x2b\x58\xd0\x92\x7c\xc4\x38\x7f\xc2\x67\x67\x8b\x0d\x3c\xce\x9e\x1f\xfc\x0e\xea\xbf\xce\xfc\xc3\xd6\x5f\xd6\x01\x05\x42\xc3\x2c\x0c\x83\x8b\x45\xb8\x74\x8c\x41\x3b\x38\xac\xdf\xcd\x32\xf3\xab\x02\x27\x0d\x79\xb8\x1a\x8b\xdb\xc1\x95\x2e\xac\xa5\xad\x04\xde\x77\x3d\x16\x77\xc0\xea\xce\x8b\x17\xb9\x1b\xf5\xea\x09\x68\xb1\xff\x33\xb5\x3b\x28\x01\x73\x97\x8a\x45\x99\x25\x07\xc1\x8d\x6f\xaf\xce\x8f\x9d\xb5\x01\x96\x73\xa7\xee\x51\x51\x13\x67\xb6\xaa\xc0\x22\x26\x38\x68\xa4\x13\xb6\x2c\x57\x2b\xd0\x2f\x21\x60\xa8\x3d\x8c\x40\x1b\xbe\xcc\x0b\x7b\x9f\x20\xd3\x0c\xcf\x8b\xb9\xd2\x4a\xb0\xf9\x17\xc7\xf3\x2f\xcc\x55\x96\xf1\xa8\x10\x19\x92\x0c\x24\x3c\x2f\x58\x2e\xd6\x60\x6a\x51\xa5\xb7\x57\xe7\x90\x95\x58\x6c\xb0\x38\xf7\x64\xc5\x7c\x4f\xe4\x7c\x06\xad\x1f\x20\xa8\x56\x81\xe6\x15\xb4\xfd\x25\xcf\x99\x54\x73\xf5\xd1\x14\x71\xbc\xd6\x7a\x9d\x88\xa9\x9d\x90\xe9\x5b\x72\x3d\x7e\x7c\x85\x2d\x80\x9f\x87\xb0\x7e\x73\x21\x72\xa5\x95\x8c\x78\x02\x09\x39\x73\x05\x56\xf3\xc4\x74\x06\x5c\xa3\xf3\x2f\xa6\xf3\x2f\x18\x84\x4f\x0b\xc6\xa3\x48\xa4\x85\x88\x51\x5c\xf4\x4c\xb1\x14\xf0\x8b\x91\x98\xb0\x42\xf0\x6d\x6e\x29\x9d\x59\x6a\xde\x98\xf0\x34\x64\x52\x11\xd2\x69\x29\x15\xcf\x76\x08\x66\x42\xb9\x70\x4a\xfe\xd8\xcd\x95\xf8\x05\xe8\x3f\x25\x30\x80\x96\xb9\xa3\xa5\x21\x61\x02\xd3\xe5\x99\xda\x4d\xd9\xf7\xc8\xd0\x80\x14\xa8\xb7\x57\xe7\x96\xde\x88\x72\x40\xe7\x2a\x8f\x36\x62\x2b\xd8\xc7\x4d\x51\xa4\x1f\x27\xf8\xbf\xf9\x47\x88\x38\x2a\xcd\xf0\xd3\x09\x33\x53\x64\x0c\x55\x8b\x97\x4f\x76\xa0\xe2\x5a\xa6\x24\xf9\x3e\x57\xc0\xc5\x9e\x85\xe8\x5e\x33\xda\x50\x63\xf0\x04\xaf\xe0\xc2\xcd\x29\x0e\xf2\x8a\x6f\xcc\xe0\xfc\x5f\x76\xb6\xf2\x55\x9a\x01\xb4\xea\x5e\xae\x55\x60\x90\xe4\x90\xb2\x35\x35\x3f\x98\x29\xf6\xfd\xcd\xcd\x25\xfb\xee\xf4\xc6\x1a\x3b\xb7\x57\xe7\xb8\x2e\x80\x4e\x85\x71\xf6\xe7\xfa\x14\xdf\xec\x52\xf1\x97\x3f\xff\x65\xae\x98\x55\x09\x57\x76\xa4\x71\x47\x4f\x90\x12\x16\xf0\x4e\x10\x98\x05\x2a\x67\xa8\x0f\x25\x77\xa8\xf9\x19\x5a\xe7\x0f\xe4\x2d\x80\x3b\x2a\xd1\xfa\xae\x4c\x9d\x9b\x3b\xb4\xc3\x4c\x85\xb7\x57\xe7\x50\x3a\xd0\x29\x15\x1b\x50\x30\x13\xce\xfb\x02\x13\xcf\x6d\x63\xcc\x7f\xdf\x6b\x19\x33\xae\x76\xe6\xb7\x58\x34\x2c\xcb\x4c\xac\x74\x26\x26\xf6\x9b\xa6\x00\x5e\xc8\xa5\x4c\x64\xb1\x83\x53\xca\x2a\xcb\xa7\x96\x23\xdf\x14\x60\x5e\x33\x04\xf0\x36\x0b\x0c\x85\x64\x5f\xde\xe6\x21\x02\x1c\x26\xcd\xa9\x13\xe2\x43\xc7\xfc\x76\x99\x09\x7e\x67\x56\x37\x95\x30\x7d\x45\xaa\xad\xe2\x0d\xde\x31\xab\x52\x45\xb8\x34\x4c\x1b\x68\xf5\xd3\xcb\x29\xd9\x05\xf2\xfd\x36\x5c\xbe\x5a\xc9\x48\xf2\x84\x4e\x8e\x65\xb9\x02\xd9\x18\x9e\x93\x64\x11\x82\x0f\x4d\x21\xf0\xca\xb0\x92\xf9\xb8\xa0\x96\x62\x2d\x11\x70\xfc\x20\x8b\x0d\xe6\x15\x4c\x71\x9e\x79\x2a\xf3\x69\xa4\xb7\xb0\xdf\xae\x61\x29\xe5\xf4\xe8\x05\x1c\x78\x6d\x9d\xb3\x97\x16\x6a\xb7\x4d\x8b\x1d\xad\xbd\x57\x6c\x2b\xd7\x9b\x02\x84\x5c\xa0\x76\x80\x44\xc8\x6d\x9a\xc0\xa3\x8f\x22\x8c\x16\xef\x9b\x8b\x2d\x57\x85\x8c\xba\x62\x4a\xad\xa2\xdc\xc3\x30\x9e\xcb\x5d\xd1\xef\xc7\x7b\x4f\x3c\xfb\x1c\x29\xf4\x83\x13\x99\xd5\x0f\x64\x3a\x03\x41\x5e\x26\x20\xf0\xaf\x8b\xbe\xee\x7b\x42\x7d\x9c\xa9\xdd\x47\x4f\x42\xca\x55\xa0\x7d\xd5\x53\xbb\xdd\xff\x3c\xd1\x34\x6b\x8c\xcf\x15\xa0\x3a\xcd\x81\x41\x72\xb0\xbd\x77\x8c\xbb\x52\xcc\xcc\x5e\xda\x45\x93\xc8\x25\xd4\x4d\x67\x45\xce\xf2\x32\x85\x7c\x82\x42\xb3\x94\x47\x77\xc7\xa5\x32\xff\x63\x0e\x43\xdc\xee\x79\x48\x4e\x34\x57\x7a\xc5\xca\x02\x37\x8e\x5d\xc2\xe0\x14\x09\x5c\x01\xfe\x81\xb6\x15\xc5\x46\xc7\x2e\x2f\xcc\x94\x09\xe3\x67\x5a\x74\x4a\xf4\xd2\xaf\xdf\xb0\x4b\x53\xa1\x59\xc4\x54\x37\x77\xdd\x97\x8a\x9d\xfc\xcb\xbf\xc0\xf7\xcd\xe0\xbe\xd3\x9a\xad\xb4\x66\xdf\xb0\xe9\x74\xfa\x9f\xf8\x37\x53\x28\x57\x3b\xfa\x17\x57\xbb\xa9\x29\xee\x5d\xa6\xb7\x2f\x57\x5a\xbf\xa2\xbf\x83\x6c\xb2\xf9\x0f\xb9\x62\x2f\xcd\x97\x6e\xa1\xaa\x1b\xfd\x72\x5e\x7e\xf9\xe5\x57\xff\x6e\xbe\xfa\x8a\xfd\x0d\xbf\x13\x7c\xfd\x1f\x61\x53\xbf\xda\xd3\xd4\x3f\xf0\x7b\x3e\xa4\xad\xec\x1b\xb8\x6b\x4c\x01\xbd\x6d\x94\xf9\xcb\x77\x5a\x4f\xe1\xf5\x1f\xb6\x0e\x8b\x35\xdf\xc0\x56\x04\xdf\xfa\xcf\xa0\xd9\xcc\xb6\xfb\xf7\x7b\xda\x8d\xa8\x7a\xd7\x72\x2c\xfe\x9d\xd6\x2f\xa7\x53\x73\x6e\xd1\xb8\x62\xab\x5f\xbe\xaa\x0e\x34\x74\xa0\xd9\x7e\xf3\xf1\x19\x36\xff\xed\xe9\xf5\xc9\xd5\xd9\xe5\xcd\x87\xab\x57\x6f\x6c\x0f\xfc\x0c\x04\xbf\x67\x56\xdc\xda\x35\xfc\x5f\xf7\x34\xfc\x3b\x6d\xdb\x0c\x8d\x7e\xf3\x0d\xc3\xd9\x4c\x97\xd3\x77\x5a\xff\x6d\x3a\x9d\xfe\x83\x3e\xe6\x6a\x37\x31\x17\x93\xf9\x4e\x8a\x47\xf9\x7b\x9e\xe5\x1b\x9e\x98\x3e\x05\x6d\x70\x9d\x68\x2d\xd1\x16\x27\x57\xb5\xc2\x6e\xd5\xd6\x17\x07\x95\xc1\xc4\xc2\xb7\xfe\x9f\x6f\x98\x92\x89\x9f\xbe\xa0\x0e\x98\xa7\x1b\xa0\x96\x88\xee\xdc\x76\x71\x2a\x9d\xcb\x1d\x4b\xeb\x1b\x17\xf3\xce\x76\x56\xa1\xc0\x1c\xf7\x73\xf5\xa2\xe5\x44\x3f\x36\xa6\xdd\x14\x3e\x30\x17\xd4\x0b\xab\xdf\x6e\xaf\x05\xa7\xac\x85\x23\x0b\x81\x68\xdc\xad\x8a\x72\xd4\xda\xec\x43\x77\xe1\x05\x64\x55\x60\x76\xbe\x38\x7e\x41\x89\x42\xbe\x8a\x2a\x91\xfc\xfc\x8b\x95\xd6\xd3\x25\xcf\xa0\x75\xbf\x1c\xef\xa6\x7f\x9d\x7f\x81\xfd\x41\xe3\x03\x0d\x23\x28\x7c\xfe\x05\x7c\x0a\xcb\x61\xae\xfe\x70\xfd\xe1\x62\xae\xbe\xf9\xe6\x9b\x6f\x70\xb4\xcc\xbf\x5b\x62\x2f\xe6\xba\x82\xe3\x16\xed\x94\x32\xb7\x92\x92\x62\x5d\x26\x3c\x9b\xab\xf6\x70\x4d\x2c\xfc\xa1\x39\xf1\xc1\x1b\x5a\x67\x13\xab\x6e\x01\x22\x65\xf6\x8c\x43\xdf\xe4\xc7\xff\xd7\x34\xf9\x23\x99\x88\xee\x90\x0f\x87\x60\x6a\x17\xf3\x1b\xbb\x54\xcd\x60\x9b\xf5\xeb\xed\xac\x95\x4c\x04\x6d\x5c\xbb\xb8\x2f\x45\x96\x6b\xe5\xd7\x0c\x3d\x08\x80\xdb\x0c\x02\x00\xec\x1b\xf6\xfa\x3f\x6b\x9f\x9a\x79\xb0\x1f\x7e\x55\x39\x09\x18\xf3\x45\xcd\xbf\x80\x56\xcf\xbf\x78\xc3\xe6\x5f\xb4\xad\x9b\x6a\xc3\xa6\xd8\x94\xf9\x17\x13\x5f\x00\x34\xe3\x82\x6f\xb1\x90\xf2\xcb\x2f\x7f\x1f\x61\x13\x30\x75\x2d\xf8\xa6\x69\x52\xf7\x17\x83\x26\x9e\xd5\x42\x67\x76\x20\x6c\x0a\xe4\x83\x48\x92\xa3\x3b\xa5\x1f\x50\xe9\x1b\xe2\x44\x94\xa5\xcc\x70\x79\x54\x27\x97\xb4\xc9\x6a\x33\x6e\x93\x36\x5d\x35\x4e\xde\x0e\x26\x74\xae\x3e\xc2\xd2\xb1\x33\x4a\x74\x44\x40\x07\xea\x6a\x82\x47\x0d\xad\x04\x9b\x63\x41\x0b\x61\xae\xa0\x18\x37\xe7\xec\x25\x00\xbf\xa8\x2b\x0d\xcb\xda\x3e\x9e\xfe\xf2\xe7\xbf\xbc\x7a\x73\xc8\x3c\x55\x8b\xab\x4c\x15\xf4\x07\xcb\x78\x3d\xfd\xea\xf5\x57\xf9\xfc\x0b\x1a\xf5\xf6\x27\xf6\xb9\xcc\x8b\x1f\x6b\x16\xd8\x23\xe4\xc6\x8d\xe1\xf0\x5c\xc1\x0b\xdb\x54\x6c\xe6\xd0\xa0\xc5\x55\x35\xac\xa0\x57\xd6\xad\x03\x8f\x33\x2b\xc4\x6e\xda\x3d\xca\xbc\x73\xe3\x85\x8f\x2d\xf6\x90\xf1\x34\x15\x99\xf5\x95\x37\xc2\x19\xa0\x6a\x0e\xb5\xd8\xa3\xbf\xed\x30\x33\xcb\xa6\x56\x34\x7c\x0d\x86\x6e\xda\x3e\x73\x17\x65\x92\x74\xce\xdc\x7e\xb1\xe4\x8b\xdb\xf3\xf3\xc5\x8f\xb3\xf3\xdb\x53\xdb\xfd\x56\xf1\xe1\xe0\x6b\x9d\x63\xe2\x5a\x42\x63\x82\xb8\xaa\x02\xb0\x54\xe5\x56\x64\x96\x29\xcc\xf7\x1a\x71\x24\x65\x92\x54\x85\xa9\xe7\xea\x23\x95\x03\xc7\x40\xa9\xa4\x35\x53\x7a\x07\xae\x5a\x3f\x7c\xed\xa3\x29\xfc\x23\xfe\xf6\x88\xf9\x4e\xbc\x61\x17\xae\xd6\x8e\x71\x25\xc2\x89\x03\xb6\x03\xe6\xdb\x76\x6d\x87\xa7\x96\xde\x7f\xdc\xf6\xb8\x55\x20\xfa\x65\x4e\x5e\x54\xcc\x7f\x92\xdd\x81\x63\xf7\xb1\x0a\x05\x77\xee\xd2\x18\xa3\x86\x50\xee\x04\x05\xd3\xf3\x82\x38\x8b\x71\xcc\xe6\x0a\x0f\x62\xd3\xa6\x42\x77\xb7\x89\x9d\x51\x04\x29\xe1\x6a\x5d\xf2\xb5\xc8\x27\xcc\x56\x3e\x57\xf6\x75\x6a\xdf\x3a\x0e\x98\x03\x8c\xac\xb5\x25\x54\x4b\x01\x96\x6a\xae\xa8\x4f\x70\xc3\x52\xf1\x98\x8e\xfa\x87\x6b\xd7\x1d\xca\xfb\xc6\x82\x48\xf3\x5d\xcd\x15\x4e\x2e\xfa\xc6\x2c\xd8\x10\xcc\x8e\xe6\xdd\xc4\x01\x1e\x8c\xef\xba\x98\x15\x7a\x0d\xb0\xc7\xb9\x72\x2c\x58\x08\xce\xb0\xef\x35\xaf\x0d\x8a\x4d\xda\x7f\x9e\xd8\xc9\xb0\x7b\x82\xda\xd6\xbe\xea\x0f\xbe\x03\xcc\x86\x5b\xb4\xbe\xe5\xfb\x97\xad\x3f\xc6\x06\x02\x72\x78\x70\x70\x74\x51\x23\x02\xf5\x59\x7b\x6b\x6c\xbf\xf0\x3b\x9d\xd9\xa3\xba\x5c\x26\x23\x9a\x84\xdf\xef\x6d\x14\x1e\xc9\xfd\x8d\x1a\xe0\x91\xbe\xaa\x6d\x2d\xb3\x4c\xfb\xaa\x5d\x6a\xdd\x31\x2f\x4f\x88\xd9\xad\x34\x8a\x7e\xb0\x6f\x30\xca\xa8\x78\xcc\x7a\x19\xc0\x07\x54\x1f\x22\x7b\xfa\xf4\x35\x28\x91\xf9\xa3\x9a\xe3\xed\xa7\xc1\x2d\x72\x16\x02\x5d\x76\xa3\x4e\x58\xba\xe7\x2a\x07\x6c\xc7\x31\x69\x9f\x29\x98\xde\x22\x24\x1e\x2f\x66\xf3\x4c\x60\x13\x99\xf5\x3f\x71\x8b\x68\xe2\x67\x6e\x02\x8d\x8c\xca\x2c\x37\xc7\x25\x9d\x77\x74\x6a\xeb\x8c\xf1\xb9\xb2\x6c\x30\xf6\x38\x9e\x59\x7f\x70\xe6\xfe\x8a\x1c\x4b\x29\x4a\xd6\x41\x50\xa8\x00\x2f\x39\x9d\x86\x73\x75\xcf\x33\xc9\x15\x60\x9a\x97\x39\xe8\x0d\xc3\x93\x6e\xc7\xe8\x03\x47\xc0\x91\x87\x4e\xe6\x3d\x67\x5e\xcd\x0c\xa8\xdc\xf3\xbf\x33\xff\xf7\x8f\xdf\xfd\xff\x01\x00\x00\xff\xff\x8b\xc2\xd9\xfd\x45\xd9\x04\x00") func adminSwaggerJsonBytes() ([]byte, error) { return bindataRead( @@ -93,7 +93,7 @@ func adminSwaggerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "admin.swagger.json", size: 309390, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} + info := bindataFileInfo{name: "admin.swagger.json", size: 317765, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json index 853bb7e3a3..72ffbd861b 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/signal.swagger.json @@ -338,6 +338,13 @@ "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." diff --git a/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java index a911efd93e..102ff472f0 100644 --- a/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java +++ b/flyteidl/gen/pb-java/flyteidl/admin/ExecutionOuterClass.java @@ -14154,6 +14154,55 @@ public interface ExecutionMetadataOrBuilder extends * .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); } /** *
@@ -14175,6 +14224,7 @@ private ExecutionMetadata(com.google.protobuf.GeneratedMessageV3.Builder buil
     private ExecutionMetadata() {
       mode_ = 0;
       principal_ = "";
+      artifactIds_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
@@ -14270,6 +14320,15 @@ private ExecutionMetadata(
 
               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)) {
@@ -14285,6 +14344,9 @@ private ExecutionMetadata(
         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();
       }
@@ -14488,6 +14550,7 @@ private ExecutionMode(int value) {
       // @@protoc_insertion_point(enum_scope:flyteidl.admin.ExecutionMetadata.ExecutionMode)
     }
 
+    private int bitField0_;
     public static final int MODE_FIELD_NUMBER = 1;
     private int mode_;
     /**
@@ -14706,6 +14769,66 @@ public flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder getSystemMetad
       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() { @@ -14741,6 +14864,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (systemMetadata_ != null) { output.writeMessage(17, getSystemMetadata()); } + for (int i = 0; i < artifactIds_.size(); i++) { + output.writeMessage(18, artifactIds_.get(i)); + } unknownFields.writeTo(output); } @@ -14777,6 +14903,10 @@ public int getSerializedSize() { 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; @@ -14817,6 +14947,8 @@ public boolean equals(final java.lang.Object obj) { if (!getSystemMetadata() .equals(other.getSystemMetadata())) return false; } + if (!getArtifactIdsList() + .equals(other.getArtifactIdsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -14850,6 +14982,10 @@ public int hashCode() { 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; @@ -14983,6 +15119,7 @@ private Builder( private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { + getArtifactIdsFieldBuilder(); } } @java.lang.Override @@ -15018,6 +15155,12 @@ public Builder clear() { systemMetadata_ = null; systemMetadataBuilder_ = null; } + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + } else { + artifactIdsBuilder_.clear(); + } return this; } @@ -15044,6 +15187,8 @@ public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata build() { @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_; @@ -15067,6 +15212,16 @@ public flyteidl.admin.ExecutionOuterClass.ExecutionMetadata buildPartial() { } 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; } @@ -15137,6 +15292,32 @@ public Builder mergeFrom(flyteidl.admin.ExecutionOuterClass.ExecutionMetadata ot 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; @@ -15165,6 +15346,7 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private int mode_ = 0; /** @@ -15989,6 +16171,336 @@ public flyteidl.admin.ExecutionOuterClass.SystemMetadataOrBuilder getSystemMetad } 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) { @@ -28438,118 +28950,120 @@ public flyteidl.admin.ExecutionOuterClass.WorkflowExecutionGetMetricsResponse ge "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\036flyteidl/core/ident" + - "ifier.proto\032\033flyteidl/core/metrics.proto" + - "\032\034flyteidl/core/security.proto\032\036google/p" + - "rotobuf/duration.proto\032\037google/protobuf/" + - "timestamp.proto\032\036google/protobuf/wrapper" + - "s.proto\"\237\001\n\026ExecutionCreateRequest\022\017\n\007pr" + - "oject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\014\n\004name\030\003 \001(" + - "\t\022+\n\004spec\030\004 \001(\0132\035.flyteidl.admin.Executi" + - "onSpec\022)\n\006inputs\030\005 \001(\0132\031.flyteidl.core.L" + - "iteralMap\"\177\n\030ExecutionRelaunchRequest\0226\n" + - "\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExecut" + - "ionIdentifier\022\014\n\004name\030\003 \001(\t\022\027\n\017overwrite" + - "_cache\030\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRecoverR" + - "equest\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workf" + - "lowExecutionIdentifier\022\014\n\004name\030\002 \001(\t\0223\n\010" + - "metadata\030\003 \001(\0132!.flyteidl.admin.Executio" + - "nMetadata\"Q\n\027ExecutionCreateResponse\0226\n\002" + + "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" + + "\"\237\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\"\177\n\030ExecutionRelaunchRequest\0226\n\002id\030\001 \001" + + "(\0132*.flyteidl.core.WorkflowExecutionIden" + + "tifier\022\014\n\004name\030\003 \001(\t\022\027\n\017overwrite_cache\030" + + "\004 \001(\010J\004\010\002\020\003\"\224\001\n\027ExecutionRecoverRequest\022" + + "6\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExec" + + "utionIdentifier\022\014\n\004name\030\002 \001(\t\0223\n\010metadat" + + "a\030\003 \001(\0132!.flyteidl.admin.ExecutionMetada" + + "ta\"Q\n\027ExecutionCreateResponse\0226\n\002id\030\001 \001(" + + "\0132*.flyteidl.core.WorkflowExecutionIdent" + + "ifier\"U\n\033WorkflowExecutionGetRequest\0226\n\002" + "id\030\001 \001(\0132*.flyteidl.core.WorkflowExecuti" + - "onIdentifier\"U\n\033WorkflowExecutionGetRequ" + - "est\0226\n\002id\030\001 \001(\0132*.flyteidl.core.Workflow" + - "ExecutionIdentifier\"\243\001\n\tExecution\0226\n\002id\030" + - "\001 \001(\0132*.flyteidl.core.WorkflowExecutionI" + - "dentifier\022+\n\004spec\030\002 \001(\0132\035.flyteidl.admin" + - ".ExecutionSpec\0221\n\007closure\030\003 \001(\0132 .flytei" + - "dl.admin.ExecutionClosure\"M\n\rExecutionLi" + - "st\022-\n\nexecutions\030\001 \003(\0132\031.flyteidl.admin." + - "Execution\022\r\n\005token\030\002 \001(\t\"X\n\016LiteralMapBl" + - "ob\022/\n\006values\030\001 \001(\0132\031.flyteidl.core.Liter" + - "alMapB\002\030\001H\000\022\r\n\003uri\030\002 \001(\tH\000B\006\n\004data\"1\n\rAb" + - "ortMetadata\022\r\n\005cause\030\001 \001(\t\022\021\n\tprincipal\030" + - "\002 \001(\t\"\360\005\n\020ExecutionClosure\0225\n\007outputs\030\001 " + - "\001(\0132\036.flyteidl.admin.LiteralMapBlobB\002\030\001H" + - "\000\022.\n\005error\030\002 \001(\0132\035.flyteidl.core.Executi" + - "onErrorH\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001H\000\0227\n\016" + - "abort_metadata\030\014 \001(\0132\035.flyteidl.admin.Ab" + - "ortMetadataH\000\0224\n\013output_data\030\r \001(\0132\031.fly" + - "teidl.core.LiteralMapB\002\030\001H\000\0226\n\017computed_" + - "inputs\030\003 \001(\0132\031.flyteidl.core.LiteralMapB" + - "\002\030\001\0225\n\005phase\030\004 \001(\0162&.flyteidl.core.Workf" + - "lowExecution.Phase\022.\n\nstarted_at\030\005 \001(\0132\032" + - ".google.protobuf.Timestamp\022+\n\010duration\030\006" + - " \001(\0132\031.google.protobuf.Duration\022.\n\ncreat" + - "ed_at\030\007 \001(\0132\032.google.protobuf.Timestamp\022" + - ".\n\nupdated_at\030\010 \001(\0132\032.google.protobuf.Ti" + - "mestamp\0223\n\rnotifications\030\t \003(\0132\034.flyteid" + - "l.admin.Notification\022.\n\013workflow_id\030\013 \001(" + - "\0132\031.flyteidl.core.Identifier\022I\n\024state_ch" + - "ange_details\030\016 \001(\0132+.flyteidl.admin.Exec" + - "utionStateChangeDetailsB\017\n\routput_result" + - "\">\n\016SystemMetadata\022\031\n\021execution_cluster\030" + - "\001 \001(\t\022\021\n\tnamespace\030\002 \001(\t\"\332\003\n\021ExecutionMe" + - "tadata\022=\n\004mode\030\001 \001(\0162/.flyteidl.admin.Ex" + - "ecutionMetadata.ExecutionMode\022\021\n\tprincip" + - "al\030\002 \001(\t\022\017\n\007nesting\030\003 \001(\r\0220\n\014scheduled_a" + - "t\030\004 \001(\0132\032.google.protobuf.Timestamp\022E\n\025p" + - "arent_node_execution\030\005 \001(\0132&.flyteidl.co" + - "re.NodeExecutionIdentifier\022G\n\023reference_" + - "execution\030\020 \001(\0132*.flyteidl.core.Workflow" + - "ExecutionIdentifier\0227\n\017system_metadata\030\021" + - " \001(\0132\036.flyteidl.admin.SystemMetadata\"g\n\r" + - "ExecutionMode\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_WORK" + - "FLOW\020\004\022\r\n\tRECOVERED\020\005\"G\n\020NotificationLis" + - "t\0223\n\rnotifications\030\001 \003(\0132\034.flyteidl.admi" + - "n.Notification\"\262\006\n\rExecutionSpec\022.\n\013laun" + - "ch_plan\030\001 \001(\0132\031.flyteidl.core.Identifier" + - "\022-\n\006inputs\030\002 \001(\0132\031.flyteidl.core.Literal" + - "MapB\002\030\001\0223\n\010metadata\030\003 \001(\0132!.flyteidl.adm" + - "in.ExecutionMetadata\0229\n\rnotifications\030\005 " + - "\001(\0132 .flyteidl.admin.NotificationListH\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.Annotations\0228\n\020secu" + - "rity_context\030\n \001(\0132\036.flyteidl.core.Secur" + - "ityContext\022/\n\tauth_role\030\020 \001(\0132\030.flyteidl" + - ".admin.AuthRoleB\002\030\001\022;\n\022quality_of_servic" + - "e\030\021 \001(\0132\037.flyteidl.core.QualityOfService" + - "\022\027\n\017max_parallelism\030\022 \001(\005\022C\n\026raw_output_" + - "data_config\030\023 \001(\0132#.flyteidl.admin.RawOu" + - "tputDataConfig\022=\n\022cluster_assignment\030\024 \001" + - "(\0132!.flyteidl.admin.ClusterAssignment\0221\n" + - "\rinterruptible\030\025 \001(\0132\032.google.protobuf.B" + - "oolValue\022\027\n\017overwrite_cache\030\026 \001(\010\022\"\n\004env" + - "s\030\027 \001(\0132\024.flyteidl.admin.Envs\022\014\n\004tags\030\030 " + - "\003(\tB\030\n\026notification_overridesJ\004\010\004\020\005\"b\n\031E" + - "xecutionTerminateRequest\0226\n\002id\030\001 \001(\0132*.f" + + "onIdentifier\"\243\001\n\tExecution\0226\n\002id\030\001 \001(\0132*" + + ".flyteidl.core.WorkflowExecutionIdentifi" + + "er\022+\n\004spec\030\002 \001(\0132\035.flyteidl.admin.Execut" + + "ionSpec\0221\n\007closure\030\003 \001(\0132 .flyteidl.admi" + + "n.ExecutionClosure\"M\n\rExecutionList\022-\n\ne" + + "xecutions\030\001 \003(\0132\031.flyteidl.admin.Executi" + + "on\022\r\n\005token\030\002 \001(\t\"X\n\016LiteralMapBlob\022/\n\006v" + + "alues\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\rAbortMeta" + + "data\022\r\n\005cause\030\001 \001(\t\022\021\n\tprincipal\030\002 \001(\t\"\360" + + "\005\n\020ExecutionClosure\0225\n\007outputs\030\001 \001(\0132\036.f" + + "lyteidl.admin.LiteralMapBlobB\002\030\001H\000\022.\n\005er" + + "ror\030\002 \001(\0132\035.flyteidl.core.ExecutionError" + + "H\000\022\031\n\013abort_cause\030\n \001(\tB\002\030\001H\000\0227\n\016abort_m" + + "etadata\030\014 \001(\0132\035.flyteidl.admin.AbortMeta" + + "dataH\000\0224\n\013output_data\030\r \001(\0132\031.flyteidl.c" + + "ore.LiteralMapB\002\030\001H\000\0226\n\017computed_inputs\030" + + "\003 \001(\0132\031.flyteidl.core.LiteralMapB\002\030\001\0225\n\005" + + "phase\030\004 \001(\0162&.flyteidl.core.WorkflowExec" + + "ution.Phase\022.\n\nstarted_at\030\005 \001(\0132\032.google" + + ".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\nupda" + + "ted_at\030\010 \001(\0132\032.google.protobuf.Timestamp" + + "\0223\n\rnotifications\030\t \003(\0132\034.flyteidl.admin" + + ".Notification\022.\n\013workflow_id\030\013 \001(\0132\031.fly" + + "teidl.core.Identifier\022I\n\024state_change_de" + + "tails\030\016 \001(\0132+.flyteidl.admin.ExecutionSt" + + "ateChangeDetailsB\017\n\routput_result\">\n\016Sys" + + "temMetadata\022\031\n\021execution_cluster\030\001 \001(\t\022\021" + + "\n\tnamespace\030\002 \001(\t\"\213\004\n\021ExecutionMetadata\022" + + "=\n\004mode\030\001 \001(\0162/.flyteidl.admin.Execution" + + "Metadata.ExecutionMode\022\021\n\tprincipal\030\002 \001(" + + "\t\022\017\n\007nesting\030\003 \001(\r\0220\n\014scheduled_at\030\004 \001(\013" + + "2\032.google.protobuf.Timestamp\022E\n\025parent_n" + + "ode_execution\030\005 \001(\0132&.flyteidl.core.Node" + + "ExecutionIdentifier\022G\n\023reference_executi" + + "on\030\020 \001(\0132*.flyteidl.core.WorkflowExecuti" + + "onIdentifier\0227\n\017system_metadata\030\021 \001(\0132\036." + + "flyteidl.admin.SystemMetadata\022/\n\014artifac" + + "t_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_WO" + + "RKFLOW\020\004\022\r\n\tRECOVERED\020\005\"G\n\020NotificationL" + + "ist\0223\n\rnotifications\030\001 \003(\0132\034.flyteidl.ad" + + "min.Notification\"\262\006\n\rExecutionSpec\022.\n\013la" + + "unch_plan\030\001 \001(\0132\031.flyteidl.core.Identifi" + + "er\022-\n\006inputs\030\002 \001(\0132\031.flyteidl.core.Liter" + + "alMapB\002\030\001\0223\n\010metadata\030\003 \001(\0132!.flyteidl.a" + + "dmin.ExecutionMetadata\0229\n\rnotifications\030" + + "\005 \001(\0132 .flyteidl.admin.NotificationListH" + + "\000\022\025\n\013disable_all\030\006 \001(\010H\000\022&\n\006labels\030\007 \001(\013" + + "2\026.flyteidl.admin.Labels\0220\n\013annotations\030" + + "\010 \001(\0132\033.flyteidl.admin.Annotations\0228\n\020se" + + "curity_context\030\n \001(\0132\036.flyteidl.core.Sec" + + "urityContext\022/\n\tauth_role\030\020 \001(\0132\030.flytei" + + "dl.admin.AuthRoleB\002\030\001\022;\n\022quality_of_serv" + + "ice\030\021 \001(\0132\037.flyteidl.core.QualityOfServi" + + "ce\022\027\n\017max_parallelism\030\022 \001(\005\022C\n\026raw_outpu" + + "t_data_config\030\023 \001(\0132#.flyteidl.admin.Raw" + + "OutputDataConfig\022=\n\022cluster_assignment\030\024" + + " \001(\0132!.flyteidl.admin.ClusterAssignment\022" + + "1\n\rinterruptible\030\025 \001(\0132\032.google.protobuf" + + ".BoolValue\022\027\n\017overwrite_cache\030\026 \001(\010\022\"\n\004e" + + "nvs\030\027 \001(\0132\024.flyteidl.admin.Envs\022\014\n\004tags\030" + + "\030 \003(\tB\030\n\026notification_overridesJ\004\010\004\020\005\"b\n" + + "\031ExecutionTerminateRequest\0226\n\002id\030\001 \001(\0132*" + + ".flyteidl.core.WorkflowExecutionIdentifi" + + "er\022\r\n\005cause\030\002 \001(\t\"\034\n\032ExecutionTerminateR" + + "esponse\"Y\n\037WorkflowExecutionGetDataReque" + + "st\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowE" + + "xecutionIdentifier\"\336\001\n WorkflowExecution" + + "GetDataResponse\022,\n\007outputs\030\001 \001(\0132\027.flyte" + + "idl.admin.UrlBlobB\002\030\001\022+\n\006inputs\030\002 \001(\0132\027." + + "flyteidl.admin.UrlBlobB\002\030\001\022.\n\013full_input" + + "s\030\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014fu" + + "ll_outputs\030\004 \001(\0132\031.flyteidl.core.Literal" + + "Map\"\177\n\026ExecutionUpdateRequest\0226\n\002id\030\001 \001(" + + "\0132*.flyteidl.core.WorkflowExecutionIdent" + + "ifier\022-\n\005state\030\002 \001(\0162\036.flyteidl.admin.Ex" + + "ecutionState\"\220\001\n\033ExecutionStateChangeDet" + + "ails\022-\n\005state\030\001 \001(\0162\036.flyteidl.admin.Exe" + + "cutionState\022/\n\013occurred_at\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022\021\n\tprincipal\030\003 \001(\t\"" + + "\031\n\027ExecutionUpdateResponse\"k\n\"WorkflowEx" + + "ecutionGetMetricsRequest\0226\n\002id\030\001 \001(\0132*.f" + "lyteidl.core.WorkflowExecutionIdentifier" + - "\022\r\n\005cause\030\002 \001(\t\"\034\n\032ExecutionTerminateRes" + - "ponse\"Y\n\037WorkflowExecutionGetDataRequest" + - "\0226\n\002id\030\001 \001(\0132*.flyteidl.core.WorkflowExe" + - "cutionIdentifier\"\336\001\n WorkflowExecutionGe" + - "tDataResponse\022,\n\007outputs\030\001 \001(\0132\027.flyteid" + - "l.admin.UrlBlobB\002\030\001\022+\n\006inputs\030\002 \001(\0132\027.fl" + - "yteidl.admin.UrlBlobB\002\030\001\022.\n\013full_inputs\030" + - "\003 \001(\0132\031.flyteidl.core.LiteralMap\022/\n\014full" + - "_outputs\030\004 \001(\0132\031.flyteidl.core.LiteralMa" + - "p\"\177\n\026ExecutionUpdateRequest\0226\n\002id\030\001 \001(\0132" + - "*.flyteidl.core.WorkflowExecutionIdentif" + - "ier\022-\n\005state\030\002 \001(\0162\036.flyteidl.admin.Exec" + - "utionState\"\220\001\n\033ExecutionStateChangeDetai" + - "ls\022-\n\005state\030\001 \001(\0162\036.flyteidl.admin.Execu" + - "tionState\022/\n\013occurred_at\030\002 \001(\0132\032.google." + - "protobuf.Timestamp\022\021\n\tprincipal\030\003 \001(\t\"\031\n" + - "\027ExecutionUpdateResponse\"k\n\"WorkflowExec" + - "utionGetMetricsRequest\0226\n\002id\030\001 \001(\0132*.fly" + - "teidl.core.WorkflowExecutionIdentifier\022\r" + - "\n\005depth\030\002 \001(\005\"H\n#WorkflowExecutionGetMet" + - "ricsResponse\022!\n\004span\030\001 \001(\0132\023.flyteidl.co" + - "re.Span*>\n\016ExecutionState\022\024\n\020EXECUTION_A" + - "CTIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B=Z;githu" + - "b.com/flyteorg/flyte/flyteidl/gen/pb-go/" + - "flyteidl/adminb\006proto3" + "\022\r\n\005depth\030\002 \001(\005\"H\n#WorkflowExecutionGetM" + + "etricsResponse\022!\n\004span\030\001 \001(\0132\023.flyteidl." + + "core.Span*>\n\016ExecutionState\022\024\n\020EXECUTION" + + "_ACTIVE\020\000\022\026\n\022EXECUTION_ARCHIVED\020\001B=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() { @@ -28566,6 +29080,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( 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(), @@ -28644,7 +29159,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( 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", }); + 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 @@ -28715,6 +29230,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( 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(); diff --git a/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java index 8642e176d2..ae781f6903 100644 --- a/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java +++ b/flyteidl/gen/pb-java/flyteidl/admin/LaunchPlanOuterClass.java @@ -10142,6 +10142,31 @@ public interface LaunchPlanMetadataOrBuilder extends */ 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(); } /** *
@@ -10210,6 +10235,19 @@ private LaunchPlanMetadata(
                   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)) {
@@ -10334,6 +10372,39 @@ public flyteidl.admin.Common.NotificationOrBuilder getNotificationsOrBuilder(
       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() { @@ -10354,6 +10425,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < notifications_.size(); i++) { output.writeMessage(2, notifications_.get(i)); } + if (launchConditions_ != null) { + output.writeMessage(3, getLaunchConditions()); + } unknownFields.writeTo(output); } @@ -10371,6 +10445,10 @@ public int getSerializedSize() { 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; @@ -10393,6 +10471,11 @@ public boolean equals(final java.lang.Object obj) { } 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; } @@ -10412,6 +10495,10 @@ public int hashCode() { 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; @@ -10563,6 +10650,12 @@ public Builder clear() { } else { notificationsBuilder_.clear(); } + if (launchConditionsBuilder_ == null) { + launchConditions_ = null; + } else { + launchConditions_ = null; + launchConditionsBuilder_ = null; + } return this; } @@ -10605,6 +10698,11 @@ public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata buildPartial() { } else { result.notifications_ = notificationsBuilder_.build(); } + if (launchConditionsBuilder_ == null) { + result.launchConditions_ = launchConditions_; + } else { + result.launchConditions_ = launchConditionsBuilder_.build(); + } result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -10683,6 +10781,9 @@ public Builder mergeFrom(flyteidl.admin.LaunchPlanOuterClass.LaunchPlanMetadata } } } + if (other.hasLaunchConditions()) { + mergeLaunchConditions(other.getLaunchConditions()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -11177,6 +11278,159 @@ public flyteidl.admin.Common.Notification.Builder addNotificationsBuilder( } 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) { @@ -14563,60 +14817,62 @@ public flyteidl.admin.LaunchPlanOuterClass.ActiveLaunchPlanListRequest getDefaul "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\037google/protobu" + - "f/timestamp.proto\032\036google/protobuf/wrapp" + - "ers.proto\"n\n\027LaunchPlanCreateRequest\022%\n\002" + - "id\030\001 \001(\0132\031.flyteidl.core.Identifier\022,\n\004s" + - "pec\030\002 \001(\0132\036.flyteidl.admin.LaunchPlanSpe" + - "c\"\032\n\030LaunchPlanCreateResponse\"\225\001\n\nLaunch" + - "Plan\022%\n\002id\030\001 \001(\0132\031.flyteidl.core.Identif" + - "ier\022,\n\004spec\030\002 \001(\0132\036.flyteidl.admin.Launc" + - "hPlanSpec\0222\n\007closure\030\003 \001(\0132!.flyteidl.ad" + - "min.LaunchPlanClosure\"Q\n\016LaunchPlanList\022" + - "0\n\014launch_plans\030\001 \003(\0132\032.flyteidl.admin.L" + - "aunchPlan\022\r\n\005token\030\002 \001(\t\"J\n\004Auth\022\032\n\022assu" + - "mable_iam_role\030\001 \001(\t\022\"\n\032kubernetes_servi" + - "ce_account\030\002 \001(\t:\002\030\001\"\355\005\n\016LaunchPlanSpec\022" + - ".\n\013workflow_id\030\001 \001(\0132\031.flyteidl.core.Ide" + - "ntifier\022;\n\017entity_metadata\030\002 \001(\0132\".flyte" + - "idl.admin.LaunchPlanMetadata\0223\n\016default_" + - "inputs\030\003 \001(\0132\033.flyteidl.core.ParameterMa" + - "p\022/\n\014fixed_inputs\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.flyteidl.admin.Labels\0220\n\013annotati" + - "ons\030\007 \001(\0132\033.flyteidl.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.AuthR" + - "oleB\002\030\001\0228\n\020security_context\030\n \001(\0132\036.flyt" + - "eidl.core.SecurityContext\022;\n\022quality_of_" + - "service\030\020 \001(\0132\037.flyteidl.core.QualityOfS" + - "ervice\022C\n\026raw_output_data_config\030\021 \001(\0132#" + - ".flyteidl.admin.RawOutputDataConfig\022\027\n\017m" + - "ax_parallelism\030\022 \001(\005\0221\n\rinterruptible\030\023 " + - "\001(\0132\032.google.protobuf.BoolValue\022\027\n\017overw" + - "rite_cache\030\024 \001(\010\022\"\n\004envs\030\025 \001(\0132\024.flyteid" + - "l.admin.Envs\"\217\002\n\021LaunchPlanClosure\022.\n\005st" + - "ate\030\001 \001(\0162\037.flyteidl.admin.LaunchPlanSta" + - "te\0224\n\017expected_inputs\030\002 \001(\0132\033.flyteidl.c" + - "ore.ParameterMap\0224\n\020expected_outputs\030\003 \001" + - "(\0132\032.flyteidl.core.VariableMap\022.\n\ncreate" + - "d_at\030\004 \001(\0132\032.google.protobuf.Timestamp\022." + - "\n\nupdated_at\030\005 \001(\0132\032.google.protobuf.Tim" + - "estamp\"u\n\022LaunchPlanMetadata\022*\n\010schedule" + - "\030\001 \001(\0132\030.flyteidl.admin.Schedule\0223\n\rnoti" + - "fications\030\002 \003(\0132\034.flyteidl.admin.Notific" + - "ation\"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\030LaunchPlanUpdateResponse\"L\n\027ActiveLau" + - "nchPlanRequest\0221\n\002id\030\001 \001(\0132%.flyteidl.ad" + - "min.NamedEntityIdentifier\"\203\001\n\033ActiveLaun" + - "chPlanListRequest\022\017\n\007project\030\001 \001(\t\022\016\n\006do" + - "main\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*" + - "+\n\017LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006ACTI" + - "VE\020\001B=Z;github.com/flyteorg/flyte/flytei" + - "dl/gen/pb-go/flyteidl/adminb\006proto3" + "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\"\203\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*+\n\017" + + "LaunchPlanState\022\014\n\010INACTIVE\020\000\022\n\n\006ACTIVE\020" + + "\001B=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() { @@ -14636,6 +14892,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( 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); @@ -14686,7 +14943,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_admin_LaunchPlanMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_LaunchPlanMetadata_descriptor, - new java.lang.String[] { "Schedule", "Notifications", }); + new java.lang.String[] { "Schedule", "Notifications", "LaunchConditions", }); internal_static_flyteidl_admin_LaunchPlanUpdateRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_flyteidl_admin_LaunchPlanUpdateRequest_fieldAccessorTable = new @@ -14718,6 +14975,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( 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(); } diff --git a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java new file mode 100644 index 0000000000..9d3cbf73cb --- /dev/null +++ b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java @@ -0,0 +1,20259 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/artifact/artifacts.proto + +package flyteidl.artifact; + +public final class Artifacts { + private Artifacts() {} + 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 ArtifactOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.Artifact) + 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.artifact.ArtifactSpec spec = 2; + */ + boolean hasSpec(); + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + flyteidl.artifact.Artifacts.ArtifactSpec getSpec(); + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder(); + + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + java.util.List + getTagsList(); + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + int getTagsCount(); + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + java.lang.String getTags(int index); + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + com.google.protobuf.ByteString + getTagsBytes(int index); + + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + boolean hasSource(); + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + flyteidl.artifact.Artifacts.ArtifactSource getSource(); + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder getSourceOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.Artifact} + */ + public static final class Artifact extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.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() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @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: { + flyteidl.core.ArtifactId.ArtifactID.Builder subBuilder = null; + if (artifactId_ != null) { + subBuilder = artifactId_.toBuilder(); + } + artifactId_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifactId_); + artifactId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.artifact.Artifacts.ArtifactSpec.Builder subBuilder = null; + if (spec_ != null) { + subBuilder = spec_.toBuilder(); + } + spec_ = input.readMessage(flyteidl.artifact.Artifacts.ArtifactSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(spec_); + spec_ = 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.artifact.Artifacts.ArtifactSource.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = input.readMessage(flyteidl.artifact.Artifacts.ArtifactSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_Artifact_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_Artifact_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.Artifact.class, flyteidl.artifact.Artifacts.Artifact.Builder.class); + } + + private int bitField0_; + public static final int ARTIFACT_ID_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactID artifactId_; + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public boolean hasArtifactId() { + return artifactId_ != null; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + return artifactId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + return getArtifactId(); + } + + public static final int SPEC_FIELD_NUMBER = 2; + private flyteidl.artifact.Artifacts.ArtifactSpec spec_; + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public boolean hasSpec() { + return spec_ != null; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec getSpec() { + return spec_ == null ? flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder() { + return getSpec(); + } + + public static final int TAGS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList tags_; + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_; + } + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+     * references the tag field in ArtifactTag
+     * 
+ * + * repeated string tags = 3; + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + + public static final int SOURCE_FIELD_NUMBER = 4; + private flyteidl.artifact.Artifacts.ArtifactSource source_; + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public boolean hasSource() { + return source_ != null; + } + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public flyteidl.artifact.Artifacts.ArtifactSource getSource() { + return source_ == null ? flyteidl.artifact.Artifacts.ArtifactSource.getDefaultInstance() : source_; + } + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder getSourceOrBuilder() { + return getSource(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (artifactId_ != null) { + output.writeMessage(1, getArtifactId()); + } + if (spec_ != null) { + output.writeMessage(2, getSpec()); + } + for (int i = 0; i < tags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_.getRaw(i)); + } + if (source_ != null) { + output.writeMessage(4, getSource()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (artifactId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifactId()); + } + if (spec_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSpec()); + } + { + int dataSize = 0; + for (int i = 0; i < tags_.size(); i++) { + dataSize += computeStringSizeNoTag(tags_.getRaw(i)); + } + size += dataSize; + size += 1 * getTagsList().size(); + } + if (source_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getSource()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.Artifact)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.Artifact other = (flyteidl.artifact.Artifacts.Artifact) obj; + + if (hasArtifactId() != other.hasArtifactId()) return false; + if (hasArtifactId()) { + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + } + if (hasSpec() != other.hasSpec()) return false; + if (hasSpec()) { + if (!getSpec() + .equals(other.getSpec())) return false; + } + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (hasSource() != other.hasSource()) return false; + if (hasSource()) { + if (!getSource() + .equals(other.getSource())) return false; + } + if (!unknownFields.equals(other.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 (hasArtifactId()) { + hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactId().hashCode(); + } + if (hasSpec()) { + hash = (37 * hash) + SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSpec().hashCode(); + } + if (getTagsCount() > 0) { + hash = (37 * hash) + TAGS_FIELD_NUMBER; + hash = (53 * hash) + getTagsList().hashCode(); + } + if (hasSource()) { + hash = (37 * hash) + SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getSource().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.Artifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.Artifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.Artifact parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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(flyteidl.artifact.Artifacts.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; + } + /** + * Protobuf type {@code flyteidl.artifact.Artifact} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.Artifact) + flyteidl.artifact.Artifacts.ArtifactOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_Artifact_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_Artifact_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.Artifact.class, flyteidl.artifact.Artifacts.Artifact.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.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) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (artifactIdBuilder_ == null) { + artifactId_ = null; + } else { + artifactId_ = null; + artifactIdBuilder_ = null; + } + if (specBuilder_ == null) { + spec_ = null; + } else { + spec_ = null; + specBuilder_ = null; + } + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + if (sourceBuilder_ == null) { + source_ = null; + } else { + source_ = null; + sourceBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_Artifact_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.Artifact getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.Artifact.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.Artifact build() { + flyteidl.artifact.Artifacts.Artifact result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.Artifact buildPartial() { + flyteidl.artifact.Artifacts.Artifact result = new flyteidl.artifact.Artifacts.Artifact(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (artifactIdBuilder_ == null) { + result.artifactId_ = artifactId_; + } else { + result.artifactId_ = artifactIdBuilder_.build(); + } + if (specBuilder_ == null) { + result.spec_ = spec_; + } else { + result.spec_ = specBuilder_.build(); + } + if (((bitField0_ & 0x00000004) != 0)) { + tags_ = tags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.tags_ = tags_; + if (sourceBuilder_ == null) { + result.source_ = source_; + } else { + result.source_ = sourceBuilder_.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.artifact.Artifacts.Artifact) { + return mergeFrom((flyteidl.artifact.Artifacts.Artifact)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.Artifact other) { + if (other == flyteidl.artifact.Artifacts.Artifact.getDefaultInstance()) return this; + if (other.hasArtifactId()) { + mergeArtifactId(other.getArtifactId()); + } + if (other.hasSpec()) { + mergeSpec(other.getSpec()); + } + if (!other.tags_.isEmpty()) { + if (tags_.isEmpty()) { + tags_ = other.tags_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureTagsIsMutable(); + tags_.addAll(other.tags_); + } + onChanged(); + } + if (other.hasSource()) { + mergeSource(other.getSource()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.Artifact parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.Artifact) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private flyteidl.core.ArtifactId.ArtifactID artifactId_; + 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 artifactIdBuilder_ != null || artifactId_ != null; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + if (artifactIdBuilder_ == null) { + return artifactId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } else { + return artifactIdBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder setArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactId_ = value; + onChanged(); + } else { + artifactIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder setArtifactId( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdBuilder_ == null) { + artifactId_ = builderForValue.build(); + onChanged(); + } else { + artifactIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder mergeArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (artifactId_ != null) { + artifactId_ = + flyteidl.core.ArtifactId.ArtifactID.newBuilder(artifactId_).mergeFrom(value).buildPartial(); + } else { + artifactId_ = value; + } + onChanged(); + } else { + artifactIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder clearArtifactId() { + if (artifactIdBuilder_ == null) { + artifactId_ = null; + onChanged(); + } else { + artifactId_ = null; + artifactIdBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdBuilder() { + + onChanged(); + return getArtifactIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + if (artifactIdBuilder_ != null) { + return artifactIdBuilder_.getMessageOrBuilder(); + } else { + return artifactId_ == null ? + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } + } + /** + * .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) { + artifactIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + getArtifactId(), + getParentForChildren(), + isClean()); + artifactId_ = null; + } + return artifactIdBuilder_; + } + + private flyteidl.artifact.Artifacts.ArtifactSpec spec_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder> specBuilder_; + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public boolean hasSpec() { + return specBuilder_ != null || spec_ != null; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec getSpec() { + if (specBuilder_ == null) { + return spec_ == null ? flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } else { + return specBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder setSpec(flyteidl.artifact.Artifacts.ArtifactSpec value) { + if (specBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + spec_ = value; + onChanged(); + } else { + specBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder setSpec( + flyteidl.artifact.Artifacts.ArtifactSpec.Builder builderForValue) { + if (specBuilder_ == null) { + spec_ = builderForValue.build(); + onChanged(); + } else { + specBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder mergeSpec(flyteidl.artifact.Artifacts.ArtifactSpec value) { + if (specBuilder_ == null) { + if (spec_ != null) { + spec_ = + flyteidl.artifact.Artifacts.ArtifactSpec.newBuilder(spec_).mergeFrom(value).buildPartial(); + } else { + spec_ = value; + } + onChanged(); + } else { + specBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder clearSpec() { + if (specBuilder_ == null) { + spec_ = null; + onChanged(); + } else { + spec_ = null; + specBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec.Builder getSpecBuilder() { + + onChanged(); + return getSpecFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder() { + if (specBuilder_ != null) { + return specBuilder_.getMessageOrBuilder(); + } else { + return spec_ == null ? + flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder> + getSpecFieldBuilder() { + if (specBuilder_ == null) { + specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder>( + getSpec(), + getParentForChildren(), + isClean()); + spec_ = null; + } + return specBuilder_; + } + + 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; + } + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_.getUnmodifiableView(); + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * 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; + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public Builder addTags( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public Builder addAllTags( + java.lang.Iterable values) { + ensureTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); + onChanged(); + return this; + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * repeated string tags = 3; + */ + public Builder clearTags() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * references the tag field in ArtifactTag
+       * 
+ * + * 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.artifact.Artifacts.ArtifactSource source_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSource, flyteidl.artifact.Artifacts.ArtifactSource.Builder, flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder> sourceBuilder_; + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public boolean hasSource() { + return sourceBuilder_ != null || source_ != null; + } + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public flyteidl.artifact.Artifacts.ArtifactSource getSource() { + if (sourceBuilder_ == null) { + return source_ == null ? flyteidl.artifact.Artifacts.ArtifactSource.getDefaultInstance() : source_; + } else { + return sourceBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public Builder setSource(flyteidl.artifact.Artifacts.ArtifactSource value) { + if (sourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; + onChanged(); + } else { + sourceBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public Builder setSource( + flyteidl.artifact.Artifacts.ArtifactSource.Builder builderForValue) { + if (sourceBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + sourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public Builder mergeSource(flyteidl.artifact.Artifacts.ArtifactSource value) { + if (sourceBuilder_ == null) { + if (source_ != null) { + source_ = + flyteidl.artifact.Artifacts.ArtifactSource.newBuilder(source_).mergeFrom(value).buildPartial(); + } else { + source_ = value; + } + onChanged(); + } else { + sourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public Builder clearSource() { + if (sourceBuilder_ == null) { + source_ = null; + onChanged(); + } else { + source_ = null; + sourceBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public flyteidl.artifact.Artifacts.ArtifactSource.Builder getSourceBuilder() { + + onChanged(); + return getSourceFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + public flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder getSourceOrBuilder() { + if (sourceBuilder_ != null) { + return sourceBuilder_.getMessageOrBuilder(); + } else { + return source_ == null ? + flyteidl.artifact.Artifacts.ArtifactSource.getDefaultInstance() : source_; + } + } + /** + * .flyteidl.artifact.ArtifactSource source = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSource, flyteidl.artifact.Artifacts.ArtifactSource.Builder, flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder> + getSourceFieldBuilder() { + if (sourceBuilder_ == null) { + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSource, flyteidl.artifact.Artifacts.ArtifactSource.Builder, flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); + source_ = null; + } + return sourceBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.Artifact) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.Artifact) + private static final flyteidl.artifact.Artifacts.Artifact DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.Artifact(); + } + + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.Artifact getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CreateArtifactRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.CreateArtifactRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + boolean hasArtifactKey(); + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + flyteidl.core.ArtifactId.ArtifactKey getArtifactKey(); + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder(); + + /** + * string version = 3; + */ + java.lang.String getVersion(); + /** + * string version = 3; + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + boolean hasSpec(); + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + flyteidl.artifact.Artifacts.ArtifactSpec getSpec(); + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder(); + + /** + * map<string, string> partitions = 4; + */ + int getPartitionsCount(); + /** + * map<string, string> partitions = 4; + */ + boolean containsPartitions( + java.lang.String key); + /** + * Use {@link #getPartitionsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getPartitions(); + /** + * map<string, string> partitions = 4; + */ + java.util.Map + getPartitionsMap(); + /** + * map<string, string> partitions = 4; + */ + + java.lang.String getPartitionsOrDefault( + java.lang.String key, + java.lang.String defaultValue); + /** + * map<string, string> partitions = 4; + */ + + java.lang.String getPartitionsOrThrow( + java.lang.String key); + + /** + * string tag = 5; + */ + java.lang.String getTag(); + /** + * string tag = 5; + */ + com.google.protobuf.ByteString + getTagBytes(); + + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + boolean hasSource(); + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + flyteidl.artifact.Artifacts.ArtifactSource getSource(); + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder getSourceOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.CreateArtifactRequest} + */ + public static final class CreateArtifactRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.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() { + version_ = ""; + tag_ = ""; + } + + @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: { + 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.artifact.Artifacts.ArtifactSpec.Builder subBuilder = null; + if (spec_ != null) { + subBuilder = spec_.toBuilder(); + } + spec_ = input.readMessage(flyteidl.artifact.Artifacts.ArtifactSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(spec_); + spec_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + partitions_ = com.google.protobuf.MapField.newMapField( + PartitionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; + } + com.google.protobuf.MapEntry + partitions__ = input.readMessage( + PartitionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + partitions_.getMutableMap().put( + partitions__.getKey(), partitions__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + tag_ = s; + break; + } + case 50: { + flyteidl.artifact.Artifacts.ArtifactSource.Builder subBuilder = null; + if (source_ != null) { + subBuilder = source_.toBuilder(); + } + source_ = input.readMessage(flyteidl.artifact.Artifacts.ArtifactSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(source_); + source_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 4: + return internalGetPartitions(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateArtifactRequest.class, flyteidl.artifact.Artifacts.CreateArtifactRequest.Builder.class); + } + + private int bitField0_; + public static final int ARTIFACT_KEY_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactKey artifactKey_; + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public boolean hasArtifactKey() { + return artifactKey_ != null; + } + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey getArtifactKey() { + return artifactKey_ == null ? flyteidl.core.ArtifactId.ArtifactKey.getDefaultInstance() : artifactKey_; + } + /** + *
+     * Specify just project/domain on creation
+     * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKeyOrBuilder getArtifactKeyOrBuilder() { + return getArtifactKey(); + } + + public static final int VERSION_FIELD_NUMBER = 3; + private volatile java.lang.Object version_; + /** + * string version = 3; + */ + 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 = 3; + */ + 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 SPEC_FIELD_NUMBER = 2; + private flyteidl.artifact.Artifacts.ArtifactSpec spec_; + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public boolean hasSpec() { + return spec_ != null; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec getSpec() { + return spec_ == null ? flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder() { + return getSpec(); + } + + public static final int PARTITIONS_FIELD_NUMBER = 4; + private static final class PartitionsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> partitions_; + private com.google.protobuf.MapField + internalGetPartitions() { + if (partitions_ == null) { + return com.google.protobuf.MapField.emptyMapField( + PartitionsDefaultEntryHolder.defaultEntry); + } + return partitions_; + } + + public int getPartitionsCount() { + return internalGetPartitions().getMap().size(); + } + /** + * map<string, string> partitions = 4; + */ + + public boolean containsPartitions( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetPartitions().getMap().containsKey(key); + } + /** + * Use {@link #getPartitionsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getPartitions() { + return getPartitionsMap(); + } + /** + * map<string, string> partitions = 4; + */ + + public java.util.Map getPartitionsMap() { + return internalGetPartitions().getMap(); + } + /** + * map<string, string> partitions = 4; + */ + + public java.lang.String getPartitionsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetPartitions().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, string> partitions = 4; + */ + + public java.lang.String getPartitionsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetPartitions().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int TAG_FIELD_NUMBER = 5; + private volatile java.lang.Object tag_; + /** + * string tag = 5; + */ + 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 = 5; + */ + 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 SOURCE_FIELD_NUMBER = 6; + private flyteidl.artifact.Artifacts.ArtifactSource source_; + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public boolean hasSource() { + return source_ != null; + } + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public flyteidl.artifact.Artifacts.ArtifactSource getSource() { + return source_ == null ? flyteidl.artifact.Artifacts.ArtifactSource.getDefaultInstance() : source_; + } + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder getSourceOrBuilder() { + return getSource(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (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 (spec_ != null) { + output.writeMessage(2, getSpec()); + } + if (!getVersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetPartitions(), + PartitionsDefaultEntryHolder.defaultEntry, + 4); + if (!getTagBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tag_); + } + if (source_ != null) { + output.writeMessage(6, getSource()); + } + 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 (spec_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSpec()); + } + if (!getVersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_); + } + for (java.util.Map.Entry entry + : internalGetPartitions().getMap().entrySet()) { + com.google.protobuf.MapEntry + partitions__ = PartitionsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, partitions__); + } + if (!getTagBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, tag_); + } + if (source_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getSource()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.CreateArtifactRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.CreateArtifactRequest other = (flyteidl.artifact.Artifacts.CreateArtifactRequest) obj; + + if (hasArtifactKey() != other.hasArtifactKey()) return false; + if (hasArtifactKey()) { + if (!getArtifactKey() + .equals(other.getArtifactKey())) return false; + } + if (!getVersion() + .equals(other.getVersion())) return false; + if (hasSpec() != other.hasSpec()) return false; + if (hasSpec()) { + if (!getSpec() + .equals(other.getSpec())) return false; + } + if (!internalGetPartitions().equals( + other.internalGetPartitions())) return false; + if (!getTag() + .equals(other.getTag())) return false; + if (hasSource() != other.hasSource()) return false; + if (hasSource()) { + if (!getSource() + .equals(other.getSource())) return false; + } + if (!unknownFields.equals(other.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 (hasSpec()) { + hash = (37 * hash) + SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSpec().hashCode(); + } + if (!internalGetPartitions().getMap().isEmpty()) { + hash = (37 * hash) + PARTITIONS_FIELD_NUMBER; + hash = (53 * hash) + internalGetPartitions().hashCode(); + } + hash = (37 * hash) + TAG_FIELD_NUMBER; + hash = (53 * hash) + getTag().hashCode(); + if (hasSource()) { + hash = (37 * hash) + SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getSource().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.CreateArtifactRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.CreateArtifactRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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(flyteidl.artifact.Artifacts.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; + } + /** + * Protobuf type {@code flyteidl.artifact.CreateArtifactRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.CreateArtifactRequest) + flyteidl.artifact.Artifacts.CreateArtifactRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 4: + return internalGetPartitions(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 4: + return internalGetMutablePartitions(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateArtifactRequest.class, flyteidl.artifact.Artifacts.CreateArtifactRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.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 (artifactKeyBuilder_ == null) { + artifactKey_ = null; + } else { + artifactKey_ = null; + artifactKeyBuilder_ = null; + } + version_ = ""; + + if (specBuilder_ == null) { + spec_ = null; + } else { + spec_ = null; + specBuilder_ = null; + } + internalGetMutablePartitions().clear(); + tag_ = ""; + + if (sourceBuilder_ == null) { + source_ = null; + } else { + source_ = null; + sourceBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.CreateArtifactRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactRequest build() { + flyteidl.artifact.Artifacts.CreateArtifactRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactRequest buildPartial() { + flyteidl.artifact.Artifacts.CreateArtifactRequest result = new flyteidl.artifact.Artifacts.CreateArtifactRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (artifactKeyBuilder_ == null) { + result.artifactKey_ = artifactKey_; + } else { + result.artifactKey_ = artifactKeyBuilder_.build(); + } + result.version_ = version_; + if (specBuilder_ == null) { + result.spec_ = spec_; + } else { + result.spec_ = specBuilder_.build(); + } + result.partitions_ = internalGetPartitions(); + result.partitions_.makeImmutable(); + result.tag_ = tag_; + if (sourceBuilder_ == null) { + result.source_ = source_; + } else { + result.source_ = sourceBuilder_.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.artifact.Artifacts.CreateArtifactRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.CreateArtifactRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.CreateArtifactRequest other) { + if (other == flyteidl.artifact.Artifacts.CreateArtifactRequest.getDefaultInstance()) return this; + if (other.hasArtifactKey()) { + mergeArtifactKey(other.getArtifactKey()); + } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + onChanged(); + } + if (other.hasSpec()) { + mergeSpec(other.getSpec()); + } + internalGetMutablePartitions().mergeFrom( + other.internalGetPartitions()); + if (!other.getTag().isEmpty()) { + tag_ = other.tag_; + onChanged(); + } + if (other.hasSource()) { + mergeSource(other.getSource()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.CreateArtifactRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.CreateArtifactRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + 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_; + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public boolean hasArtifactKey() { + return artifactKeyBuilder_ != null || artifactKey_ != null; + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .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(); + } + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .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; + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .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; + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .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; + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public Builder clearArtifactKey() { + if (artifactKeyBuilder_ == null) { + artifactKey_ = null; + onChanged(); + } else { + artifactKey_ = null; + artifactKeyBuilder_ = null; + } + + return this; + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .flyteidl.core.ArtifactKey artifact_key = 1; + */ + public flyteidl.core.ArtifactId.ArtifactKey.Builder getArtifactKeyBuilder() { + + onChanged(); + return getArtifactKeyFieldBuilder().getBuilder(); + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .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_; + } + } + /** + *
+       * Specify just project/domain on creation
+       * 
+ * + * .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 = 3; + */ + 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 = 3; + */ + 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 = 3; + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + version_ = value; + onChanged(); + return this; + } + /** + * string version = 3; + */ + public Builder clearVersion() { + + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + * string version = 3; + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + version_ = value; + onChanged(); + return this; + } + + private flyteidl.artifact.Artifacts.ArtifactSpec spec_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder> specBuilder_; + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public boolean hasSpec() { + return specBuilder_ != null || spec_ != null; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec getSpec() { + if (specBuilder_ == null) { + return spec_ == null ? flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } else { + return specBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder setSpec(flyteidl.artifact.Artifacts.ArtifactSpec value) { + if (specBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + spec_ = value; + onChanged(); + } else { + specBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder setSpec( + flyteidl.artifact.Artifacts.ArtifactSpec.Builder builderForValue) { + if (specBuilder_ == null) { + spec_ = builderForValue.build(); + onChanged(); + } else { + specBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder mergeSpec(flyteidl.artifact.Artifacts.ArtifactSpec value) { + if (specBuilder_ == null) { + if (spec_ != null) { + spec_ = + flyteidl.artifact.Artifacts.ArtifactSpec.newBuilder(spec_).mergeFrom(value).buildPartial(); + } else { + spec_ = value; + } + onChanged(); + } else { + specBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public Builder clearSpec() { + if (specBuilder_ == null) { + spec_ = null; + onChanged(); + } else { + spec_ = null; + specBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpec.Builder getSpecBuilder() { + + onChanged(); + return getSpecFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + public flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder getSpecOrBuilder() { + if (specBuilder_ != null) { + return specBuilder_.getMessageOrBuilder(); + } else { + return spec_ == null ? + flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance() : spec_; + } + } + /** + * .flyteidl.artifact.ArtifactSpec spec = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder> + getSpecFieldBuilder() { + if (specBuilder_ == null) { + specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSpec, flyteidl.artifact.Artifacts.ArtifactSpec.Builder, flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder>( + getSpec(), + getParentForChildren(), + isClean()); + spec_ = null; + } + return specBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> partitions_; + private com.google.protobuf.MapField + internalGetPartitions() { + if (partitions_ == null) { + return com.google.protobuf.MapField.emptyMapField( + PartitionsDefaultEntryHolder.defaultEntry); + } + return partitions_; + } + private com.google.protobuf.MapField + internalGetMutablePartitions() { + onChanged();; + if (partitions_ == null) { + partitions_ = com.google.protobuf.MapField.newMapField( + PartitionsDefaultEntryHolder.defaultEntry); + } + if (!partitions_.isMutable()) { + partitions_ = partitions_.copy(); + } + return partitions_; + } + + public int getPartitionsCount() { + return internalGetPartitions().getMap().size(); + } + /** + * map<string, string> partitions = 4; + */ + + public boolean containsPartitions( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetPartitions().getMap().containsKey(key); + } + /** + * Use {@link #getPartitionsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getPartitions() { + return getPartitionsMap(); + } + /** + * map<string, string> partitions = 4; + */ + + public java.util.Map getPartitionsMap() { + return internalGetPartitions().getMap(); + } + /** + * map<string, string> partitions = 4; + */ + + public java.lang.String getPartitionsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetPartitions().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * map<string, string> partitions = 4; + */ + + public java.lang.String getPartitionsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetPartitions().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearPartitions() { + internalGetMutablePartitions().getMutableMap() + .clear(); + return this; + } + /** + * map<string, string> partitions = 4; + */ + + public Builder removePartitions( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutablePartitions().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutablePartitions() { + return internalGetMutablePartitions().getMutableMap(); + } + /** + * map<string, string> partitions = 4; + */ + public Builder putPartitions( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutablePartitions().getMutableMap() + .put(key, value); + return this; + } + /** + * map<string, string> partitions = 4; + */ + + public Builder putAllPartitions( + java.util.Map values) { + internalGetMutablePartitions().getMutableMap() + .putAll(values); + return this; + } + + private java.lang.Object tag_ = ""; + /** + * string tag = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + public Builder setTag( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + tag_ = value; + onChanged(); + return this; + } + /** + * string tag = 5; + */ + public Builder clearTag() { + + tag_ = getDefaultInstance().getTag(); + onChanged(); + return this; + } + /** + * string tag = 5; + */ + public Builder setTagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + tag_ = value; + onChanged(); + return this; + } + + private flyteidl.artifact.Artifacts.ArtifactSource source_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSource, flyteidl.artifact.Artifacts.ArtifactSource.Builder, flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder> sourceBuilder_; + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public boolean hasSource() { + return sourceBuilder_ != null || source_ != null; + } + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public flyteidl.artifact.Artifacts.ArtifactSource getSource() { + if (sourceBuilder_ == null) { + return source_ == null ? flyteidl.artifact.Artifacts.ArtifactSource.getDefaultInstance() : source_; + } else { + return sourceBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public Builder setSource(flyteidl.artifact.Artifacts.ArtifactSource value) { + if (sourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; + onChanged(); + } else { + sourceBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public Builder setSource( + flyteidl.artifact.Artifacts.ArtifactSource.Builder builderForValue) { + if (sourceBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + sourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public Builder mergeSource(flyteidl.artifact.Artifacts.ArtifactSource value) { + if (sourceBuilder_ == null) { + if (source_ != null) { + source_ = + flyteidl.artifact.Artifacts.ArtifactSource.newBuilder(source_).mergeFrom(value).buildPartial(); + } else { + source_ = value; + } + onChanged(); + } else { + sourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public Builder clearSource() { + if (sourceBuilder_ == null) { + source_ = null; + onChanged(); + } else { + source_ = null; + sourceBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public flyteidl.artifact.Artifacts.ArtifactSource.Builder getSourceBuilder() { + + onChanged(); + return getSourceFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + public flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder getSourceOrBuilder() { + if (sourceBuilder_ != null) { + return sourceBuilder_.getMessageOrBuilder(); + } else { + return source_ == null ? + flyteidl.artifact.Artifacts.ArtifactSource.getDefaultInstance() : source_; + } + } + /** + * .flyteidl.artifact.ArtifactSource source = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSource, flyteidl.artifact.Artifacts.ArtifactSource.Builder, flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder> + getSourceFieldBuilder() { + if (sourceBuilder_ == null) { + sourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactSource, flyteidl.artifact.Artifacts.ArtifactSource.Builder, flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder>( + getSource(), + getParentForChildren(), + isClean()); + source_ = null; + } + return sourceBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.CreateArtifactRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateArtifactRequest) + private static final flyteidl.artifact.Artifacts.CreateArtifactRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.CreateArtifactRequest(); + } + + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.CreateArtifactRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactSourceOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ArtifactSource) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + boolean hasWorkflowExecution(); + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecution(); + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionOrBuilder(); + + /** + * string node_id = 2; + */ + java.lang.String getNodeId(); + /** + * string node_id = 2; + */ + com.google.protobuf.ByteString + getNodeIdBytes(); + + /** + * .flyteidl.core.Identifier task_id = 3; + */ + boolean hasTaskId(); + /** + * .flyteidl.core.Identifier task_id = 3; + */ + flyteidl.core.IdentifierOuterClass.Identifier getTaskId(); + /** + * .flyteidl.core.Identifier task_id = 3; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTaskIdOrBuilder(); + + /** + * uint32 retry_attempt = 4; + */ + int getRetryAttempt(); + + /** + *
+     * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+     * 
+ * + * string principal = 5; + */ + java.lang.String getPrincipal(); + /** + *
+     * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+     * 
+ * + * string principal = 5; + */ + com.google.protobuf.ByteString + getPrincipalBytes(); + } + /** + * Protobuf type {@code flyteidl.artifact.ArtifactSource} + */ + public static final class ArtifactSource extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ArtifactSource) + ArtifactSourceOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactSource.newBuilder() to construct. + private ArtifactSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactSource() { + nodeId_ = ""; + principal_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactSource( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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 (workflowExecution_ != null) { + subBuilder = workflowExecution_.toBuilder(); + } + workflowExecution_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workflowExecution_); + workflowExecution_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nodeId_ = s; + break; + } + case 26: { + 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 32: { + + retryAttempt_ = input.readUInt32(); + break; + } + case 42: { + 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.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactSource.class, flyteidl.artifact.Artifacts.ArtifactSource.Builder.class); + } + + public static final int WORKFLOW_EXECUTION_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier workflowExecution_; + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public boolean hasWorkflowExecution() { + return workflowExecution_ != null; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecution() { + return workflowExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecution_; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionOrBuilder() { + return getWorkflowExecution(); + } + + public static final int NODE_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object nodeId_; + /** + * string node_id = 2; + */ + 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 = 2; + */ + 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 TASK_ID_FIELD_NUMBER = 3; + private flyteidl.core.IdentifierOuterClass.Identifier taskId_; + /** + * .flyteidl.core.Identifier task_id = 3; + */ + public boolean hasTaskId() { + return taskId_ != null; + } + /** + * .flyteidl.core.Identifier task_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getTaskId() { + return taskId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : taskId_; + } + /** + * .flyteidl.core.Identifier task_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTaskIdOrBuilder() { + return getTaskId(); + } + + public static final int RETRY_ATTEMPT_FIELD_NUMBER = 4; + private int retryAttempt_; + /** + * uint32 retry_attempt = 4; + */ + public int getRetryAttempt() { + return retryAttempt_; + } + + public static final int PRINCIPAL_FIELD_NUMBER = 5; + private volatile java.lang.Object principal_; + /** + *
+     * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+     * 
+ * + * 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; + } + } + /** + *
+     * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+     * 
+ * + * 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; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (workflowExecution_ != null) { + output.writeMessage(1, getWorkflowExecution()); + } + if (!getNodeIdBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nodeId_); + } + if (taskId_ != null) { + output.writeMessage(3, getTaskId()); + } + if (retryAttempt_ != 0) { + output.writeUInt32(4, retryAttempt_); + } + if (!getPrincipalBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, principal_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (workflowExecution_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWorkflowExecution()); + } + if (!getNodeIdBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nodeId_); + } + if (taskId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTaskId()); + } + if (retryAttempt_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, retryAttempt_); + } + if (!getPrincipalBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, 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.artifact.Artifacts.ArtifactSource)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ArtifactSource other = (flyteidl.artifact.Artifacts.ArtifactSource) obj; + + if (hasWorkflowExecution() != other.hasWorkflowExecution()) return false; + if (hasWorkflowExecution()) { + if (!getWorkflowExecution() + .equals(other.getWorkflowExecution())) return false; + } + if (!getNodeId() + .equals(other.getNodeId())) return false; + if (hasTaskId() != other.hasTaskId()) return false; + if (hasTaskId()) { + if (!getTaskId() + .equals(other.getTaskId())) return false; + } + if (getRetryAttempt() + != other.getRetryAttempt()) 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 (hasWorkflowExecution()) { + hash = (37 * hash) + WORKFLOW_EXECUTION_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowExecution().hashCode(); + } + hash = (37 * hash) + NODE_ID_FIELD_NUMBER; + hash = (53 * hash) + getNodeId().hashCode(); + if (hasTaskId()) { + hash = (37 * hash) + TASK_ID_FIELD_NUMBER; + hash = (53 * hash) + getTaskId().hashCode(); + } + hash = (37 * hash) + RETRY_ATTEMPT_FIELD_NUMBER; + hash = (53 * hash) + getRetryAttempt(); + hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; + hash = (53 * hash) + getPrincipal().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ArtifactSource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactSource parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ArtifactSource prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.ArtifactSource} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ArtifactSource) + flyteidl.artifact.Artifacts.ArtifactSourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactSource.class, flyteidl.artifact.Artifacts.ArtifactSource.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ArtifactSource.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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 (workflowExecutionBuilder_ == null) { + workflowExecution_ = null; + } else { + workflowExecution_ = null; + workflowExecutionBuilder_ = null; + } + nodeId_ = ""; + + if (taskIdBuilder_ == null) { + taskId_ = null; + } else { + taskId_ = null; + taskIdBuilder_ = null; + } + retryAttempt_ = 0; + + principal_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSource_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSource getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ArtifactSource.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSource build() { + flyteidl.artifact.Artifacts.ArtifactSource result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSource buildPartial() { + flyteidl.artifact.Artifacts.ArtifactSource result = new flyteidl.artifact.Artifacts.ArtifactSource(this); + if (workflowExecutionBuilder_ == null) { + result.workflowExecution_ = workflowExecution_; + } else { + result.workflowExecution_ = workflowExecutionBuilder_.build(); + } + result.nodeId_ = nodeId_; + if (taskIdBuilder_ == null) { + result.taskId_ = taskId_; + } else { + result.taskId_ = taskIdBuilder_.build(); + } + result.retryAttempt_ = retryAttempt_; + 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.artifact.Artifacts.ArtifactSource) { + return mergeFrom((flyteidl.artifact.Artifacts.ArtifactSource)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ArtifactSource other) { + if (other == flyteidl.artifact.Artifacts.ArtifactSource.getDefaultInstance()) return this; + if (other.hasWorkflowExecution()) { + mergeWorkflowExecution(other.getWorkflowExecution()); + } + if (!other.getNodeId().isEmpty()) { + nodeId_ = other.nodeId_; + onChanged(); + } + if (other.hasTaskId()) { + mergeTaskId(other.getTaskId()); + } + if (other.getRetryAttempt() != 0) { + setRetryAttempt(other.getRetryAttempt()); + } + 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.artifact.Artifacts.ArtifactSource parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ArtifactSource) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier workflowExecution_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> workflowExecutionBuilder_; + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public boolean hasWorkflowExecution() { + return workflowExecutionBuilder_ != null || workflowExecution_ != null; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getWorkflowExecution() { + if (workflowExecutionBuilder_ == null) { + return workflowExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecution_; + } else { + return workflowExecutionBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public Builder setWorkflowExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (workflowExecutionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workflowExecution_ = value; + onChanged(); + } else { + workflowExecutionBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public Builder setWorkflowExecution( + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { + if (workflowExecutionBuilder_ == null) { + workflowExecution_ = builderForValue.build(); + onChanged(); + } else { + workflowExecutionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public Builder mergeWorkflowExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (workflowExecutionBuilder_ == null) { + if (workflowExecution_ != null) { + workflowExecution_ = + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(workflowExecution_).mergeFrom(value).buildPartial(); + } else { + workflowExecution_ = value; + } + onChanged(); + } else { + workflowExecutionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public Builder clearWorkflowExecution() { + if (workflowExecutionBuilder_ == null) { + workflowExecution_ = null; + onChanged(); + } else { + workflowExecution_ = null; + workflowExecutionBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getWorkflowExecutionBuilder() { + + onChanged(); + return getWorkflowExecutionFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getWorkflowExecutionOrBuilder() { + if (workflowExecutionBuilder_ != null) { + return workflowExecutionBuilder_.getMessageOrBuilder(); + } else { + return workflowExecution_ == null ? + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : workflowExecution_; + } + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier workflow_execution = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> + getWorkflowExecutionFieldBuilder() { + if (workflowExecutionBuilder_ == null) { + workflowExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( + getWorkflowExecution(), + getParentForChildren(), + isClean()); + workflowExecution_ = null; + } + return workflowExecutionBuilder_; + } + + private java.lang.Object nodeId_ = ""; + /** + * string node_id = 2; + */ + 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 = 2; + */ + 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 = 2; + */ + public Builder setNodeId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nodeId_ = value; + onChanged(); + return this; + } + /** + * string node_id = 2; + */ + public Builder clearNodeId() { + + nodeId_ = getDefaultInstance().getNodeId(); + onChanged(); + return this; + } + /** + * string node_id = 2; + */ + 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.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 = 3; + */ + public boolean hasTaskId() { + return taskIdBuilder_ != null || taskId_ != null; + } + /** + * .flyteidl.core.Identifier task_id = 3; + */ + 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 = 3; + */ + 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 = 3; + */ + 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 = 3; + */ + 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 = 3; + */ + public Builder clearTaskId() { + if (taskIdBuilder_ == null) { + taskId_ = null; + onChanged(); + } else { + taskId_ = null; + taskIdBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.Identifier task_id = 3; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getTaskIdBuilder() { + + onChanged(); + return getTaskIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.Identifier task_id = 3; + */ + 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 = 3; + */ + 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 int retryAttempt_ ; + /** + * uint32 retry_attempt = 4; + */ + public int getRetryAttempt() { + return retryAttempt_; + } + /** + * uint32 retry_attempt = 4; + */ + public Builder setRetryAttempt(int value) { + + retryAttempt_ = value; + onChanged(); + return this; + } + /** + * uint32 retry_attempt = 4; + */ + public Builder clearRetryAttempt() { + + retryAttempt_ = 0; + onChanged(); + return this; + } + + private java.lang.Object principal_ = ""; + /** + *
+       * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+       * 
+ * + * 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; + } + } + /** + *
+       * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+       * 
+ * + * 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; + } + } + /** + *
+       * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+       * 
+ * + * string principal = 5; + */ + public Builder setPrincipal( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + principal_ = value; + onChanged(); + return this; + } + /** + *
+       * Uploads, either from the UI or from the CLI, or FlyteRemote, will have this.
+       * 
+ * + * string principal = 5; + */ + public Builder clearPrincipal() { + + principal_ = getDefaultInstance().getPrincipal(); + onChanged(); + return this; + } + /** + *
+       * Uploads, either from the UI or from the CLI, or FlyteRemote, will have 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; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.ArtifactSource) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactSource) + private static final flyteidl.artifact.Artifacts.ArtifactSource DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ArtifactSource(); + } + + public static flyteidl.artifact.Artifacts.ArtifactSource getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactSource(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSource getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactSpecOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ArtifactSpec) + 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(); + + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + boolean hasType(); + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + flyteidl.core.Types.LiteralType getType(); + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder(); + + /** + * string short_description = 3; + */ + java.lang.String getShortDescription(); + /** + * string short_description = 3; + */ + com.google.protobuf.ByteString + getShortDescriptionBytes(); + + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + boolean hasUserMetadata(); + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + com.google.protobuf.Any getUserMetadata(); + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + com.google.protobuf.AnyOrBuilder getUserMetadataOrBuilder(); + + /** + * string metadata_type = 5; + */ + java.lang.String getMetadataType(); + /** + * string metadata_type = 5; + */ + com.google.protobuf.ByteString + getMetadataTypeBytes(); + } + /** + * Protobuf type {@code flyteidl.artifact.ArtifactSpec} + */ + public static final class ArtifactSpec extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ArtifactSpec) + ArtifactSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactSpec.newBuilder() to construct. + private ArtifactSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactSpec() { + shortDescription_ = ""; + metadataType_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactSpec( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + shortDescription_ = s; + break; + } + case 34: { + com.google.protobuf.Any.Builder subBuilder = null; + if (userMetadata_ != null) { + subBuilder = userMetadata_.toBuilder(); + } + userMetadata_ = input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(userMetadata_); + userMetadata_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + metadataType_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactSpec.class, flyteidl.artifact.Artifacts.ArtifactSpec.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_; + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public boolean hasType() { + return type_ != null; + } + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public flyteidl.core.Types.LiteralType getType() { + return type_ == null ? flyteidl.core.Types.LiteralType.getDefaultInstance() : type_; + } + /** + *
+     * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+     * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+     * type to all Literals is a lot of work.
+     * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public flyteidl.core.Types.LiteralTypeOrBuilder getTypeOrBuilder() { + return getType(); + } + + public static final int SHORT_DESCRIPTION_FIELD_NUMBER = 3; + private volatile java.lang.Object shortDescription_; + /** + * 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; + } + } + /** + * 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; + } + } + + public static final int USER_METADATA_FIELD_NUMBER = 4; + private com.google.protobuf.Any userMetadata_; + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public boolean hasUserMetadata() { + return userMetadata_ != null; + } + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public com.google.protobuf.Any getUserMetadata() { + return userMetadata_ == null ? com.google.protobuf.Any.getDefaultInstance() : userMetadata_; + } + /** + *
+     * Additional user metadata
+     * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public com.google.protobuf.AnyOrBuilder getUserMetadataOrBuilder() { + return getUserMetadata(); + } + + public static final int METADATA_TYPE_FIELD_NUMBER = 5; + private volatile java.lang.Object metadataType_; + /** + * string metadata_type = 5; + */ + public java.lang.String getMetadataType() { + java.lang.Object ref = metadataType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + metadataType_ = s; + return s; + } + } + /** + * string metadata_type = 5; + */ + public com.google.protobuf.ByteString + getMetadataTypeBytes() { + java.lang.Object ref = metadataType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + metadataType_ = 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_ != null) { + output.writeMessage(1, getValue()); + } + if (type_ != null) { + output.writeMessage(2, getType()); + } + if (!getShortDescriptionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, shortDescription_); + } + if (userMetadata_ != null) { + output.writeMessage(4, getUserMetadata()); + } + if (!getMetadataTypeBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, metadataType_); + } + 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()); + } + if (!getShortDescriptionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, shortDescription_); + } + if (userMetadata_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUserMetadata()); + } + if (!getMetadataTypeBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, metadataType_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.ArtifactSpec)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ArtifactSpec other = (flyteidl.artifact.Artifacts.ArtifactSpec) 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 (!getShortDescription() + .equals(other.getShortDescription())) return false; + if (hasUserMetadata() != other.hasUserMetadata()) return false; + if (hasUserMetadata()) { + if (!getUserMetadata() + .equals(other.getUserMetadata())) return false; + } + if (!getMetadataType() + .equals(other.getMetadataType())) return false; + if (!unknownFields.equals(other.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 = (37 * hash) + SHORT_DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getShortDescription().hashCode(); + if (hasUserMetadata()) { + hash = (37 * hash) + USER_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getUserMetadata().hashCode(); + } + hash = (37 * hash) + METADATA_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getMetadataType().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ArtifactSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.ArtifactSpec} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ArtifactSpec) + flyteidl.artifact.Artifacts.ArtifactSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactSpec.class, flyteidl.artifact.Artifacts.ArtifactSpec.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ArtifactSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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; + } + shortDescription_ = ""; + + if (userMetadataBuilder_ == null) { + userMetadata_ = null; + } else { + userMetadata_ = null; + userMetadataBuilder_ = null; + } + metadataType_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactSpec_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSpec getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSpec build() { + flyteidl.artifact.Artifacts.ArtifactSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSpec buildPartial() { + flyteidl.artifact.Artifacts.ArtifactSpec result = new flyteidl.artifact.Artifacts.ArtifactSpec(this); + if (valueBuilder_ == null) { + result.value_ = value_; + } else { + result.value_ = valueBuilder_.build(); + } + if (typeBuilder_ == null) { + result.type_ = type_; + } else { + result.type_ = typeBuilder_.build(); + } + result.shortDescription_ = shortDescription_; + if (userMetadataBuilder_ == null) { + result.userMetadata_ = userMetadata_; + } else { + result.userMetadata_ = userMetadataBuilder_.build(); + } + result.metadataType_ = metadataType_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.ArtifactSpec) { + return mergeFrom((flyteidl.artifact.Artifacts.ArtifactSpec)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ArtifactSpec other) { + if (other == flyteidl.artifact.Artifacts.ArtifactSpec.getDefaultInstance()) return this; + if (other.hasValue()) { + mergeValue(other.getValue()); + } + if (other.hasType()) { + mergeType(other.getType()); + } + if (!other.getShortDescription().isEmpty()) { + shortDescription_ = other.shortDescription_; + onChanged(); + } + if (other.hasUserMetadata()) { + mergeUserMetadata(other.getUserMetadata()); + } + if (!other.getMetadataType().isEmpty()) { + metadataType_ = other.metadataType_; + 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.artifact.Artifacts.ArtifactSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ArtifactSpec) 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_; + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public boolean hasType() { + return typeBuilder_ != null || type_ != null; + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .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(); + } + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .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; + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .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; + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .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; + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public Builder clearType() { + if (typeBuilder_ == null) { + type_ = null; + onChanged(); + } else { + type_ = null; + typeBuilder_ = null; + } + + return this; + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .flyteidl.core.LiteralType type = 2; + */ + public flyteidl.core.Types.LiteralType.Builder getTypeBuilder() { + + onChanged(); + return getTypeFieldBuilder().getBuilder(); + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .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_; + } + } + /** + *
+       * This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but
+       * forgets to change the name, that is okay. And the reason why this is a separate field is because adding the
+       * type to all Literals is a lot of work.
+       * 
+ * + * .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 shortDescription_ = ""; + /** + * 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; + } + } + /** + * 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; + } + } + /** + * string short_description = 3; + */ + public Builder setShortDescription( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + shortDescription_ = value; + onChanged(); + return this; + } + /** + * string short_description = 3; + */ + public Builder clearShortDescription() { + + shortDescription_ = getDefaultInstance().getShortDescription(); + onChanged(); + return this; + } + /** + * 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; + } + + private com.google.protobuf.Any userMetadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> userMetadataBuilder_; + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public boolean hasUserMetadata() { + return userMetadataBuilder_ != null || userMetadata_ != null; + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public com.google.protobuf.Any getUserMetadata() { + if (userMetadataBuilder_ == null) { + return userMetadata_ == null ? com.google.protobuf.Any.getDefaultInstance() : userMetadata_; + } else { + return userMetadataBuilder_.getMessage(); + } + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public Builder setUserMetadata(com.google.protobuf.Any value) { + if (userMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + userMetadata_ = value; + onChanged(); + } else { + userMetadataBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public Builder setUserMetadata( + com.google.protobuf.Any.Builder builderForValue) { + if (userMetadataBuilder_ == null) { + userMetadata_ = builderForValue.build(); + onChanged(); + } else { + userMetadataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public Builder mergeUserMetadata(com.google.protobuf.Any value) { + if (userMetadataBuilder_ == null) { + if (userMetadata_ != null) { + userMetadata_ = + com.google.protobuf.Any.newBuilder(userMetadata_).mergeFrom(value).buildPartial(); + } else { + userMetadata_ = value; + } + onChanged(); + } else { + userMetadataBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public Builder clearUserMetadata() { + if (userMetadataBuilder_ == null) { + userMetadata_ = null; + onChanged(); + } else { + userMetadata_ = null; + userMetadataBuilder_ = null; + } + + return this; + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public com.google.protobuf.Any.Builder getUserMetadataBuilder() { + + onChanged(); + return getUserMetadataFieldBuilder().getBuilder(); + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + public com.google.protobuf.AnyOrBuilder getUserMetadataOrBuilder() { + if (userMetadataBuilder_ != null) { + return userMetadataBuilder_.getMessageOrBuilder(); + } else { + return userMetadata_ == null ? + com.google.protobuf.Any.getDefaultInstance() : userMetadata_; + } + } + /** + *
+       * Additional user metadata
+       * 
+ * + * .google.protobuf.Any user_metadata = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> + getUserMetadataFieldBuilder() { + if (userMetadataBuilder_ == null) { + userMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( + getUserMetadata(), + getParentForChildren(), + isClean()); + userMetadata_ = null; + } + return userMetadataBuilder_; + } + + private java.lang.Object metadataType_ = ""; + /** + * string metadata_type = 5; + */ + public java.lang.String getMetadataType() { + java.lang.Object ref = metadataType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + metadataType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string metadata_type = 5; + */ + public com.google.protobuf.ByteString + getMetadataTypeBytes() { + java.lang.Object ref = metadataType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + metadataType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string metadata_type = 5; + */ + public Builder setMetadataType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + metadataType_ = value; + onChanged(); + return this; + } + /** + * string metadata_type = 5; + */ + public Builder clearMetadataType() { + + metadataType_ = getDefaultInstance().getMetadataType(); + onChanged(); + return this; + } + /** + * string metadata_type = 5; + */ + public Builder setMetadataTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + metadataType_ = 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.artifact.ArtifactSpec) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactSpec) + private static final flyteidl.artifact.Artifacts.ArtifactSpec DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ArtifactSpec(); + } + + public static flyteidl.artifact.Artifacts.ArtifactSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactSpec(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CreateArtifactResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.CreateArtifactResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + boolean hasArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + flyteidl.artifact.Artifacts.Artifact getArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.CreateArtifactResponse} + */ + public static final class CreateArtifactResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.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(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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.artifact.Artifacts.Artifact.Builder subBuilder = null; + if (artifact_ != null) { + subBuilder = artifact_.toBuilder(); + } + artifact_ = input.readMessage(flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateArtifactResponse.class, flyteidl.artifact.Artifacts.CreateArtifactResponse.Builder.class); + } + + public static final int ARTIFACT_FIELD_NUMBER = 1; + private flyteidl.artifact.Artifacts.Artifact artifact_; + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public boolean hasArtifact() { + return artifact_ != null; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + return artifact_ == null ? flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.CreateArtifactResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.CreateArtifactResponse other = (flyteidl.artifact.Artifacts.CreateArtifactResponse) 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 flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.CreateArtifactResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.CreateArtifactResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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(flyteidl.artifact.Artifacts.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; + } + /** + * Protobuf type {@code flyteidl.artifact.CreateArtifactResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.CreateArtifactResponse) + flyteidl.artifact.Artifacts.CreateArtifactResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateArtifactResponse.class, flyteidl.artifact.Artifacts.CreateArtifactResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.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(); + if (artifactBuilder_ == null) { + artifact_ = null; + } else { + artifact_ = null; + artifactBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.CreateArtifactResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactResponse build() { + flyteidl.artifact.Artifacts.CreateArtifactResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateArtifactResponse buildPartial() { + flyteidl.artifact.Artifacts.CreateArtifactResponse result = new flyteidl.artifact.Artifacts.CreateArtifactResponse(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 flyteidl.artifact.Artifacts.CreateArtifactResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.CreateArtifactResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.CreateArtifactResponse other) { + if (other == flyteidl.artifact.Artifacts.CreateArtifactResponse.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 { + flyteidl.artifact.Artifacts.CreateArtifactResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.CreateArtifactResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.artifact.Artifacts.Artifact artifact_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> artifactBuilder_; + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public boolean hasArtifact() { + return artifactBuilder_ != null || artifact_ != null; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + if (artifactBuilder_ == null) { + return artifact_ == null ? flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } else { + return artifactBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder setArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifact_ = value; + onChanged(); + } else { + artifactBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder setArtifact( + flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactBuilder_ == null) { + artifact_ = builderForValue.build(); + onChanged(); + } else { + artifactBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder mergeArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (artifact_ != null) { + artifact_ = + flyteidl.artifact.Artifacts.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); + } else { + artifact_ = value; + } + onChanged(); + } else { + artifactBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder clearArtifact() { + if (artifactBuilder_ == null) { + artifact_ = null; + onChanged(); + } else { + artifact_ = null; + artifactBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder getArtifactBuilder() { + + onChanged(); + return getArtifactFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder() { + if (artifactBuilder_ != null) { + return artifactBuilder_.getMessageOrBuilder(); + } else { + return artifact_ == null ? + flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> + getArtifactFieldBuilder() { + if (artifactBuilder_ == null) { + artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.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:flyteidl.artifact.CreateArtifactResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateArtifactResponse) + private static final flyteidl.artifact.Artifacts.CreateArtifactResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.CreateArtifactResponse(); + } + + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.CreateArtifactResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetArtifactRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.GetArtifactRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + boolean hasQuery(); + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + flyteidl.core.ArtifactId.ArtifactQuery getQuery(); + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getQueryOrBuilder(); + + /** + *
+     * If false, then long_description is not returned.
+     * 
+ * + * bool details = 2; + */ + boolean getDetails(); + } + /** + * Protobuf type {@code flyteidl.artifact.GetArtifactRequest} + */ + public static final class GetArtifactRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.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: { + flyteidl.core.ArtifactId.ArtifactQuery.Builder subBuilder = null; + if (query_ != null) { + subBuilder = query_.toBuilder(); + } + query_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactQuery.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(query_); + query_ = subBuilder.buildPartial(); + } + + break; + } + case 16: { + + details_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.GetArtifactRequest.class, flyteidl.artifact.Artifacts.GetArtifactRequest.Builder.class); + } + + public static final int QUERY_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactQuery query_; + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public boolean hasQuery() { + return query_ != null; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public flyteidl.core.ArtifactId.ArtifactQuery getQuery() { + return query_ == null ? flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance() : query_; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getQueryOrBuilder() { + return getQuery(); + } + + public static final int DETAILS_FIELD_NUMBER = 2; + private boolean details_; + /** + *
+     * If false, then long_description is not returned.
+     * 
+ * + * bool details = 2; + */ + public boolean getDetails() { + return details_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (query_ != null) { + output.writeMessage(1, getQuery()); + } + if (details_ != false) { + output.writeBool(2, details_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (query_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getQuery()); + } + if (details_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, details_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.GetArtifactRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.GetArtifactRequest other = (flyteidl.artifact.Artifacts.GetArtifactRequest) obj; + + if (hasQuery() != other.hasQuery()) return false; + if (hasQuery()) { + if (!getQuery() + .equals(other.getQuery())) return false; + } + if (getDetails() + != other.getDetails()) return false; + if (!unknownFields.equals(other.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 (hasQuery()) { + hash = (37 * hash) + QUERY_FIELD_NUMBER; + hash = (53 * hash) + getQuery().hashCode(); + } + hash = (37 * hash) + DETAILS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDetails()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.GetArtifactRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.GetArtifactRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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(flyteidl.artifact.Artifacts.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; + } + /** + * Protobuf type {@code flyteidl.artifact.GetArtifactRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.GetArtifactRequest) + flyteidl.artifact.Artifacts.GetArtifactRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.GetArtifactRequest.class, flyteidl.artifact.Artifacts.GetArtifactRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.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 (queryBuilder_ == null) { + query_ = null; + } else { + query_ = null; + queryBuilder_ = null; + } + details_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.GetArtifactRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactRequest build() { + flyteidl.artifact.Artifacts.GetArtifactRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactRequest buildPartial() { + flyteidl.artifact.Artifacts.GetArtifactRequest result = new flyteidl.artifact.Artifacts.GetArtifactRequest(this); + if (queryBuilder_ == null) { + result.query_ = query_; + } else { + result.query_ = queryBuilder_.build(); + } + result.details_ = details_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.GetArtifactRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.GetArtifactRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.GetArtifactRequest other) { + if (other == flyteidl.artifact.Artifacts.GetArtifactRequest.getDefaultInstance()) return this; + if (other.hasQuery()) { + mergeQuery(other.getQuery()); + } + if (other.getDetails() != false) { + setDetails(other.getDetails()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.GetArtifactRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.GetArtifactRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.ArtifactId.ArtifactQuery query_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder> queryBuilder_; + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public boolean hasQuery() { + return queryBuilder_ != null || query_ != null; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public flyteidl.core.ArtifactId.ArtifactQuery getQuery() { + if (queryBuilder_ == null) { + return query_ == null ? flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance() : query_; + } else { + return queryBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public Builder setQuery(flyteidl.core.ArtifactId.ArtifactQuery value) { + if (queryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + query_ = value; + onChanged(); + } else { + queryBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public Builder setQuery( + flyteidl.core.ArtifactId.ArtifactQuery.Builder builderForValue) { + if (queryBuilder_ == null) { + query_ = builderForValue.build(); + onChanged(); + } else { + queryBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public Builder mergeQuery(flyteidl.core.ArtifactId.ArtifactQuery value) { + if (queryBuilder_ == null) { + if (query_ != null) { + query_ = + flyteidl.core.ArtifactId.ArtifactQuery.newBuilder(query_).mergeFrom(value).buildPartial(); + } else { + query_ = value; + } + onChanged(); + } else { + queryBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public Builder clearQuery() { + if (queryBuilder_ == null) { + query_ = null; + onChanged(); + } else { + query_ = null; + queryBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public flyteidl.core.ArtifactId.ArtifactQuery.Builder getQueryBuilder() { + + onChanged(); + return getQueryFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + public flyteidl.core.ArtifactId.ArtifactQueryOrBuilder getQueryOrBuilder() { + if (queryBuilder_ != null) { + return queryBuilder_.getMessageOrBuilder(); + } else { + return query_ == null ? + flyteidl.core.ArtifactId.ArtifactQuery.getDefaultInstance() : query_; + } + } + /** + * .flyteidl.core.ArtifactQuery query = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder> + getQueryFieldBuilder() { + if (queryBuilder_ == null) { + queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactQuery, flyteidl.core.ArtifactId.ArtifactQuery.Builder, flyteidl.core.ArtifactId.ArtifactQueryOrBuilder>( + getQuery(), + getParentForChildren(), + isClean()); + query_ = null; + } + return queryBuilder_; + } + + private boolean details_ ; + /** + *
+       * If false, then long_description is not returned.
+       * 
+ * + * bool details = 2; + */ + public boolean getDetails() { + return details_; + } + /** + *
+       * If false, then long_description is not returned.
+       * 
+ * + * bool details = 2; + */ + public Builder setDetails(boolean value) { + + details_ = value; + onChanged(); + return this; + } + /** + *
+       * If false, then long_description is not returned.
+       * 
+ * + * bool details = 2; + */ + public Builder clearDetails() { + + details_ = 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.artifact.GetArtifactRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.GetArtifactRequest) + private static final flyteidl.artifact.Artifacts.GetArtifactRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.GetArtifactRequest(); + } + + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.GetArtifactRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GetArtifactResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.GetArtifactResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + boolean hasArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + flyteidl.artifact.Artifacts.Artifact getArtifact(); + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.GetArtifactResponse} + */ + public static final class GetArtifactResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.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: { + flyteidl.artifact.Artifacts.Artifact.Builder subBuilder = null; + if (artifact_ != null) { + subBuilder = artifact_.toBuilder(); + } + artifact_ = input.readMessage(flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.GetArtifactResponse.class, flyteidl.artifact.Artifacts.GetArtifactResponse.Builder.class); + } + + public static final int ARTIFACT_FIELD_NUMBER = 1; + private flyteidl.artifact.Artifacts.Artifact artifact_; + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public boolean hasArtifact() { + return artifact_ != null; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + return artifact_ == null ? flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.GetArtifactResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.GetArtifactResponse other = (flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.GetArtifactResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.GetArtifactResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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(flyteidl.artifact.Artifacts.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; + } + /** + * Protobuf type {@code flyteidl.artifact.GetArtifactResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.GetArtifactResponse) + flyteidl.artifact.Artifacts.GetArtifactResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.GetArtifactResponse.class, flyteidl.artifact.Artifacts.GetArtifactResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_GetArtifactResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.GetArtifactResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactResponse build() { + flyteidl.artifact.Artifacts.GetArtifactResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.GetArtifactResponse buildPartial() { + flyteidl.artifact.Artifacts.GetArtifactResponse result = new flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.GetArtifactResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.GetArtifactResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.GetArtifactResponse other) { + if (other == flyteidl.artifact.Artifacts.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 { + flyteidl.artifact.Artifacts.GetArtifactResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.GetArtifactResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.artifact.Artifacts.Artifact artifact_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> artifactBuilder_; + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public boolean hasArtifact() { + return artifactBuilder_ != null || artifact_ != null; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifact() { + if (artifactBuilder_ == null) { + return artifact_ == null ? flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } else { + return artifactBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder setArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifact_ = value; + onChanged(); + } else { + artifactBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder setArtifact( + flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactBuilder_ == null) { + artifact_ = builderForValue.build(); + onChanged(); + } else { + artifactBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder mergeArtifact(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactBuilder_ == null) { + if (artifact_ != null) { + artifact_ = + flyteidl.artifact.Artifacts.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); + } else { + artifact_ = value; + } + onChanged(); + } else { + artifactBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public Builder clearArtifact() { + if (artifactBuilder_ == null) { + artifact_ = null; + onChanged(); + } else { + artifact_ = null; + artifactBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder getArtifactBuilder() { + + onChanged(); + return getArtifactFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactOrBuilder() { + if (artifactBuilder_ != null) { + return artifactBuilder_.getMessageOrBuilder(); + } else { + return artifact_ == null ? + flyteidl.artifact.Artifacts.Artifact.getDefaultInstance() : artifact_; + } + } + /** + * .flyteidl.artifact.Artifact artifact = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> + getArtifactFieldBuilder() { + if (artifactBuilder_ == null) { + artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.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:flyteidl.artifact.GetArtifactResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.GetArtifactResponse) + private static final flyteidl.artifact.Artifacts.GetArtifactResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.GetArtifactResponse(); + } + + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.GetArtifactResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SearchOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.SearchOptions) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * If true, this means a strict partition search. meaning if you don't specify the partition
+     * field, that will mean, non-partitioned, rather than any partition.
+     * 
+ * + * bool strict_partitions = 1; + */ + boolean getStrictPartitions(); + + /** + *
+     * If true, only one artifact per key will be returned. It will be the latest one by creation time.
+     * 
+ * + * bool latest_by_key = 2; + */ + boolean getLatestByKey(); + } + /** + * Protobuf type {@code flyteidl.artifact.SearchOptions} + */ + public static final class SearchOptions extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.SearchOptions) + SearchOptionsOrBuilder { + private static final long serialVersionUID = 0L; + // Use SearchOptions.newBuilder() to construct. + private SearchOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SearchOptions() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SearchOptions( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder 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: { + + strictPartitions_ = input.readBool(); + break; + } + case 16: { + + latestByKey_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_SearchOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.SearchOptions.class, flyteidl.artifact.Artifacts.SearchOptions.Builder.class); + } + + public static final int STRICT_PARTITIONS_FIELD_NUMBER = 1; + private boolean strictPartitions_; + /** + *
+     * If true, this means a strict partition search. meaning if you don't specify the partition
+     * field, that will mean, non-partitioned, rather than any partition.
+     * 
+ * + * bool strict_partitions = 1; + */ + public boolean getStrictPartitions() { + return strictPartitions_; + } + + public static final int LATEST_BY_KEY_FIELD_NUMBER = 2; + private boolean latestByKey_; + /** + *
+     * If true, only one artifact per key will be returned. It will be the latest one by creation time.
+     * 
+ * + * bool latest_by_key = 2; + */ + public boolean getLatestByKey() { + return latestByKey_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (strictPartitions_ != false) { + output.writeBool(1, strictPartitions_); + } + if (latestByKey_ != false) { + output.writeBool(2, latestByKey_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (strictPartitions_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, strictPartitions_); + } + if (latestByKey_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, latestByKey_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.SearchOptions)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.SearchOptions other = (flyteidl.artifact.Artifacts.SearchOptions) obj; + + if (getStrictPartitions() + != other.getStrictPartitions()) return false; + if (getLatestByKey() + != other.getLatestByKey()) return false; + if (!unknownFields.equals(other.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) + STRICT_PARTITIONS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStrictPartitions()); + hash = (37 * hash) + LATEST_BY_KEY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLatestByKey()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.SearchOptions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.SearchOptions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.SearchOptions prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.SearchOptions} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.SearchOptions) + flyteidl.artifact.Artifacts.SearchOptionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchOptions_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.SearchOptions.class, flyteidl.artifact.Artifacts.SearchOptions.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.SearchOptions.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + strictPartitions_ = false; + + latestByKey_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchOptions_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchOptions getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.SearchOptions.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchOptions build() { + flyteidl.artifact.Artifacts.SearchOptions result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchOptions buildPartial() { + flyteidl.artifact.Artifacts.SearchOptions result = new flyteidl.artifact.Artifacts.SearchOptions(this); + result.strictPartitions_ = strictPartitions_; + result.latestByKey_ = latestByKey_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.SearchOptions) { + return mergeFrom((flyteidl.artifact.Artifacts.SearchOptions)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.SearchOptions other) { + if (other == flyteidl.artifact.Artifacts.SearchOptions.getDefaultInstance()) return this; + if (other.getStrictPartitions() != false) { + setStrictPartitions(other.getStrictPartitions()); + } + if (other.getLatestByKey() != false) { + setLatestByKey(other.getLatestByKey()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.SearchOptions parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.SearchOptions) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private boolean strictPartitions_ ; + /** + *
+       * If true, this means a strict partition search. meaning if you don't specify the partition
+       * field, that will mean, non-partitioned, rather than any partition.
+       * 
+ * + * bool strict_partitions = 1; + */ + public boolean getStrictPartitions() { + return strictPartitions_; + } + /** + *
+       * If true, this means a strict partition search. meaning if you don't specify the partition
+       * field, that will mean, non-partitioned, rather than any partition.
+       * 
+ * + * bool strict_partitions = 1; + */ + public Builder setStrictPartitions(boolean value) { + + strictPartitions_ = value; + onChanged(); + return this; + } + /** + *
+       * If true, this means a strict partition search. meaning if you don't specify the partition
+       * field, that will mean, non-partitioned, rather than any partition.
+       * 
+ * + * bool strict_partitions = 1; + */ + public Builder clearStrictPartitions() { + + strictPartitions_ = false; + onChanged(); + return this; + } + + private boolean latestByKey_ ; + /** + *
+       * If true, only one artifact per key will be returned. It will be the latest one by creation time.
+       * 
+ * + * bool latest_by_key = 2; + */ + public boolean getLatestByKey() { + return latestByKey_; + } + /** + *
+       * If true, only one artifact per key will be returned. It will be the latest one by creation time.
+       * 
+ * + * bool latest_by_key = 2; + */ + public Builder setLatestByKey(boolean value) { + + latestByKey_ = value; + onChanged(); + return this; + } + /** + *
+       * If true, only one artifact per key will be returned. It will be the latest one by creation time.
+       * 
+ * + * bool latest_by_key = 2; + */ + public Builder clearLatestByKey() { + + latestByKey_ = 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.artifact.SearchOptions) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.SearchOptions) + private static final flyteidl.artifact.Artifacts.SearchOptions DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.SearchOptions(); + } + + public static flyteidl.artifact.Artifacts.SearchOptions getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchOptions(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchOptions getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SearchArtifactsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.SearchArtifactsRequest) + 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.Partitions partitions = 2; + */ + boolean hasPartitions(); + /** + * .flyteidl.core.Partitions partitions = 2; + */ + flyteidl.core.ArtifactId.Partitions getPartitions(); + /** + * .flyteidl.core.Partitions partitions = 2; + */ + flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder(); + + /** + * string principal = 3; + */ + java.lang.String getPrincipal(); + /** + * string principal = 3; + */ + com.google.protobuf.ByteString + getPrincipalBytes(); + + /** + * string version = 4; + */ + java.lang.String getVersion(); + /** + * string version = 4; + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + boolean hasOptions(); + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + flyteidl.artifact.Artifacts.SearchOptions getOptions(); + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + flyteidl.artifact.Artifacts.SearchOptionsOrBuilder getOptionsOrBuilder(); + + /** + * string token = 6; + */ + java.lang.String getToken(); + /** + * string token = 6; + */ + com.google.protobuf.ByteString + getTokenBytes(); + + /** + * int32 limit = 7; + */ + int getLimit(); + } + /** + * Protobuf type {@code flyteidl.artifact.SearchArtifactsRequest} + */ + public static final class SearchArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.SearchArtifactsRequest) + SearchArtifactsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use SearchArtifactsRequest.newBuilder() to construct. + private SearchArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SearchArtifactsRequest() { + principal_ = ""; + version_ = ""; + token_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SearchArtifactsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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.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 26: { + java.lang.String s = input.readStringRequireUtf8(); + + principal_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + case 42: { + flyteidl.artifact.Artifacts.SearchOptions.Builder subBuilder = null; + if (options_ != null) { + subBuilder = options_.toBuilder(); + } + options_ = input.readMessage(flyteidl.artifact.Artifacts.SearchOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(options_); + options_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + token_ = s; + break; + } + case 56: { + + limit_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_SearchArtifactsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchArtifactsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.SearchArtifactsRequest.class, flyteidl.artifact.Artifacts.SearchArtifactsRequest.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 PARTITIONS_FIELD_NUMBER = 2; + private flyteidl.core.ArtifactId.Partitions partitions_; + /** + * .flyteidl.core.Partitions partitions = 2; + */ + public boolean hasPartitions() { + return partitions_ != null; + } + /** + * .flyteidl.core.Partitions partitions = 2; + */ + public flyteidl.core.ArtifactId.Partitions getPartitions() { + return partitions_ == null ? flyteidl.core.ArtifactId.Partitions.getDefaultInstance() : partitions_; + } + /** + * .flyteidl.core.Partitions partitions = 2; + */ + public flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder() { + return getPartitions(); + } + + public static final int PRINCIPAL_FIELD_NUMBER = 3; + private volatile java.lang.Object principal_; + /** + * 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; + } + } + /** + * 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; + } + } + + public static final int VERSION_FIELD_NUMBER = 4; + private volatile java.lang.Object version_; + /** + * 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; + } + } + /** + * 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 OPTIONS_FIELD_NUMBER = 5; + private flyteidl.artifact.Artifacts.SearchOptions options_; + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public boolean hasOptions() { + return options_ != null; + } + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public flyteidl.artifact.Artifacts.SearchOptions getOptions() { + return options_ == null ? flyteidl.artifact.Artifacts.SearchOptions.getDefaultInstance() : options_; + } + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public flyteidl.artifact.Artifacts.SearchOptionsOrBuilder getOptionsOrBuilder() { + return getOptions(); + } + + public static final int TOKEN_FIELD_NUMBER = 6; + private volatile java.lang.Object token_; + /** + * string token = 6; + */ + 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 = 6; + */ + 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 LIMIT_FIELD_NUMBER = 7; + private int limit_; + /** + * int32 limit = 7; + */ + public int getLimit() { + return limit_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (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 (partitions_ != null) { + output.writeMessage(2, getPartitions()); + } + if (!getPrincipalBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, principal_); + } + if (!getVersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, version_); + } + if (options_ != null) { + output.writeMessage(5, getOptions()); + } + if (!getTokenBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, token_); + } + if (limit_ != 0) { + output.writeInt32(7, limit_); + } + 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 (partitions_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPartitions()); + } + if (!getPrincipalBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, principal_); + } + if (!getVersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, version_); + } + if (options_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getOptions()); + } + if (!getTokenBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, token_); + } + if (limit_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, limit_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.SearchArtifactsRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.SearchArtifactsRequest other = (flyteidl.artifact.Artifacts.SearchArtifactsRequest) obj; + + if (hasArtifactKey() != other.hasArtifactKey()) return false; + if (hasArtifactKey()) { + if (!getArtifactKey() + .equals(other.getArtifactKey())) return false; + } + if (hasPartitions() != other.hasPartitions()) return false; + if (hasPartitions()) { + if (!getPartitions() + .equals(other.getPartitions())) return false; + } + if (!getPrincipal() + .equals(other.getPrincipal())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (hasOptions() != other.hasOptions()) return false; + if (hasOptions()) { + if (!getOptions() + .equals(other.getOptions())) return false; + } + if (!getToken() + .equals(other.getToken())) return false; + if (getLimit() + != other.getLimit()) return false; + if (!unknownFields.equals(other.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 (hasPartitions()) { + hash = (37 * hash) + PARTITIONS_FIELD_NUMBER; + hash = (53 * hash) + getPartitions().hashCode(); + } + hash = (37 * hash) + PRINCIPAL_FIELD_NUMBER; + hash = (53 * hash) + getPrincipal().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + if (hasOptions()) { + hash = (37 * hash) + OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getOptions().hashCode(); + } + hash = (37 * hash) + TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getToken().hashCode(); + hash = (37 * hash) + LIMIT_FIELD_NUMBER; + hash = (53 * hash) + getLimit(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.SearchArtifactsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.SearchArtifactsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.SearchArtifactsRequest) + flyteidl.artifact.Artifacts.SearchArtifactsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchArtifactsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchArtifactsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.SearchArtifactsRequest.class, flyteidl.artifact.Artifacts.SearchArtifactsRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.SearchArtifactsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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 (partitionsBuilder_ == null) { + partitions_ = null; + } else { + partitions_ = null; + partitionsBuilder_ = null; + } + principal_ = ""; + + version_ = ""; + + if (optionsBuilder_ == null) { + options_ = null; + } else { + options_ = null; + optionsBuilder_ = null; + } + token_ = ""; + + limit_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchArtifactsRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchArtifactsRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.SearchArtifactsRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchArtifactsRequest build() { + flyteidl.artifact.Artifacts.SearchArtifactsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchArtifactsRequest buildPartial() { + flyteidl.artifact.Artifacts.SearchArtifactsRequest result = new flyteidl.artifact.Artifacts.SearchArtifactsRequest(this); + if (artifactKeyBuilder_ == null) { + result.artifactKey_ = artifactKey_; + } else { + result.artifactKey_ = artifactKeyBuilder_.build(); + } + if (partitionsBuilder_ == null) { + result.partitions_ = partitions_; + } else { + result.partitions_ = partitionsBuilder_.build(); + } + result.principal_ = principal_; + result.version_ = version_; + if (optionsBuilder_ == null) { + result.options_ = options_; + } else { + result.options_ = optionsBuilder_.build(); + } + result.token_ = token_; + result.limit_ = limit_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.SearchArtifactsRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.SearchArtifactsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.SearchArtifactsRequest other) { + if (other == flyteidl.artifact.Artifacts.SearchArtifactsRequest.getDefaultInstance()) return this; + if (other.hasArtifactKey()) { + mergeArtifactKey(other.getArtifactKey()); + } + if (other.hasPartitions()) { + mergePartitions(other.getPartitions()); + } + if (!other.getPrincipal().isEmpty()) { + principal_ = other.principal_; + onChanged(); + } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + onChanged(); + } + if (other.hasOptions()) { + mergeOptions(other.getOptions()); + } + if (!other.getToken().isEmpty()) { + token_ = other.token_; + onChanged(); + } + if (other.getLimit() != 0) { + setLimit(other.getLimit()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.SearchArtifactsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.SearchArtifactsRequest) 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.Partitions partitions_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.Partitions, flyteidl.core.ArtifactId.Partitions.Builder, flyteidl.core.ArtifactId.PartitionsOrBuilder> partitionsBuilder_; + /** + * .flyteidl.core.Partitions partitions = 2; + */ + public boolean hasPartitions() { + return partitionsBuilder_ != null || partitions_ != null; + } + /** + * .flyteidl.core.Partitions partitions = 2; + */ + public flyteidl.core.ArtifactId.Partitions getPartitions() { + if (partitionsBuilder_ == null) { + return partitions_ == null ? flyteidl.core.ArtifactId.Partitions.getDefaultInstance() : partitions_; + } else { + return partitionsBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.Partitions partitions = 2; + */ + 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; + } + /** + * .flyteidl.core.Partitions partitions = 2; + */ + public Builder setPartitions( + flyteidl.core.ArtifactId.Partitions.Builder builderForValue) { + if (partitionsBuilder_ == null) { + partitions_ = builderForValue.build(); + onChanged(); + } else { + partitionsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.Partitions partitions = 2; + */ + 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; + } + /** + * .flyteidl.core.Partitions partitions = 2; + */ + public Builder clearPartitions() { + if (partitionsBuilder_ == null) { + partitions_ = null; + onChanged(); + } else { + partitions_ = null; + partitionsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.Partitions partitions = 2; + */ + public flyteidl.core.ArtifactId.Partitions.Builder getPartitionsBuilder() { + + onChanged(); + return getPartitionsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.Partitions partitions = 2; + */ + public flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder() { + if (partitionsBuilder_ != null) { + return partitionsBuilder_.getMessageOrBuilder(); + } else { + return partitions_ == null ? + flyteidl.core.ArtifactId.Partitions.getDefaultInstance() : partitions_; + } + } + /** + * .flyteidl.core.Partitions partitions = 2; + */ + 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 java.lang.Object principal_ = ""; + /** + * 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; + } + } + /** + * 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; + } + } + /** + * string principal = 3; + */ + public Builder setPrincipal( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + principal_ = value; + onChanged(); + return this; + } + /** + * string principal = 3; + */ + public Builder clearPrincipal() { + + principal_ = getDefaultInstance().getPrincipal(); + onChanged(); + return this; + } + /** + * string principal = 3; + */ + public Builder setPrincipalBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + principal_ = value; + onChanged(); + return this; + } + + private java.lang.Object version_ = ""; + /** + * 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; + } + } + /** + * 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; + } + } + /** + * string version = 4; + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + version_ = value; + onChanged(); + return this; + } + /** + * string version = 4; + */ + public Builder clearVersion() { + + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + * 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 flyteidl.artifact.Artifacts.SearchOptions options_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.SearchOptions, flyteidl.artifact.Artifacts.SearchOptions.Builder, flyteidl.artifact.Artifacts.SearchOptionsOrBuilder> optionsBuilder_; + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public boolean hasOptions() { + return optionsBuilder_ != null || options_ != null; + } + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public flyteidl.artifact.Artifacts.SearchOptions getOptions() { + if (optionsBuilder_ == null) { + return options_ == null ? flyteidl.artifact.Artifacts.SearchOptions.getDefaultInstance() : options_; + } else { + return optionsBuilder_.getMessage(); + } + } + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public Builder setOptions(flyteidl.artifact.Artifacts.SearchOptions value) { + if (optionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + options_ = value; + onChanged(); + } else { + optionsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public Builder setOptions( + flyteidl.artifact.Artifacts.SearchOptions.Builder builderForValue) { + if (optionsBuilder_ == null) { + options_ = builderForValue.build(); + onChanged(); + } else { + optionsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public Builder mergeOptions(flyteidl.artifact.Artifacts.SearchOptions value) { + if (optionsBuilder_ == null) { + if (options_ != null) { + options_ = + flyteidl.artifact.Artifacts.SearchOptions.newBuilder(options_).mergeFrom(value).buildPartial(); + } else { + options_ = value; + } + onChanged(); + } else { + optionsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public Builder clearOptions() { + if (optionsBuilder_ == null) { + options_ = null; + onChanged(); + } else { + options_ = null; + optionsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public flyteidl.artifact.Artifacts.SearchOptions.Builder getOptionsBuilder() { + + onChanged(); + return getOptionsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + public flyteidl.artifact.Artifacts.SearchOptionsOrBuilder getOptionsOrBuilder() { + if (optionsBuilder_ != null) { + return optionsBuilder_.getMessageOrBuilder(); + } else { + return options_ == null ? + flyteidl.artifact.Artifacts.SearchOptions.getDefaultInstance() : options_; + } + } + /** + * .flyteidl.artifact.SearchOptions options = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.SearchOptions, flyteidl.artifact.Artifacts.SearchOptions.Builder, flyteidl.artifact.Artifacts.SearchOptionsOrBuilder> + getOptionsFieldBuilder() { + if (optionsBuilder_ == null) { + optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.artifact.Artifacts.SearchOptions, flyteidl.artifact.Artifacts.SearchOptions.Builder, flyteidl.artifact.Artifacts.SearchOptionsOrBuilder>( + getOptions(), + getParentForChildren(), + isClean()); + options_ = null; + } + return optionsBuilder_; + } + + private java.lang.Object token_ = ""; + /** + * string token = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + public Builder setToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + token_ = value; + onChanged(); + return this; + } + /** + * string token = 6; + */ + public Builder clearToken() { + + token_ = getDefaultInstance().getToken(); + onChanged(); + return this; + } + /** + * string token = 6; + */ + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + token_ = value; + onChanged(); + return this; + } + + private int limit_ ; + /** + * int32 limit = 7; + */ + public int getLimit() { + return limit_; + } + /** + * int32 limit = 7; + */ + public Builder setLimit(int value) { + + limit_ = value; + onChanged(); + return this; + } + /** + * int32 limit = 7; + */ + public Builder clearLimit() { + + limit_ = 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.artifact.SearchArtifactsRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.SearchArtifactsRequest) + private static final flyteidl.artifact.Artifacts.SearchArtifactsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.SearchArtifactsRequest(); + } + + public static flyteidl.artifact.Artifacts.SearchArtifactsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchArtifactsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchArtifactsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SearchArtifactsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.SearchArtifactsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * If artifact specs are not requested, the resultant artifacts may be empty.
+     * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + java.util.List + getArtifactsList(); + /** + *
+     * If artifact specs are not requested, the resultant artifacts may be empty.
+     * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + flyteidl.artifact.Artifacts.Artifact getArtifacts(int index); + /** + *
+     * If artifact specs are not requested, the resultant artifacts may be empty.
+     * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + int getArtifactsCount(); + /** + *
+     * If artifact specs are not requested, the resultant artifacts may be empty.
+     * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + java.util.List + getArtifactsOrBuilderList(); + /** + *
+     * If artifact specs are not requested, the resultant artifacts may be empty.
+     * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactsOrBuilder( + int index); + + /** + *
+     * continuation token if relevant.
+     * 
+ * + * string token = 2; + */ + java.lang.String getToken(); + /** + *
+     * continuation token if relevant.
+     * 
+ * + * string token = 2; + */ + com.google.protobuf.ByteString + getTokenBytes(); + } + /** + * Protobuf type {@code flyteidl.artifact.SearchArtifactsResponse} + */ + public static final class SearchArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.SearchArtifactsResponse) + SearchArtifactsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use SearchArtifactsResponse.newBuilder() to construct. + private SearchArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SearchArtifactsResponse() { + artifacts_ = java.util.Collections.emptyList(); + token_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SearchArtifactsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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(flyteidl.artifact.Artifacts.Artifact.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)) { + artifacts_ = java.util.Collections.unmodifiableList(artifacts_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchArtifactsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchArtifactsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.SearchArtifactsResponse.class, flyteidl.artifact.Artifacts.SearchArtifactsResponse.Builder.class); + } + + private int bitField0_; + public static final int ARTIFACTS_FIELD_NUMBER = 1; + private java.util.List artifacts_; + /** + *
+     * If artifact specs are not requested, the resultant artifacts may be empty.
+     * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public java.util.List getArtifactsList() { + return artifacts_; + } + /** + *
+     * If artifact specs are not requested, the resultant artifacts may be empty.
+     * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public java.util.List + getArtifactsOrBuilderList() { + return artifacts_; + } + /** + *
+     * If artifact specs are not requested, the resultant artifacts may be empty.
+     * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public int getArtifactsCount() { + return artifacts_.size(); + } + /** + *
+     * If artifact specs are not requested, the resultant artifacts may be empty.
+     * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifacts(int index) { + return artifacts_.get(index); + } + /** + *
+     * If artifact specs are not requested, the resultant artifacts may be empty.
+     * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactsOrBuilder( + int index) { + return artifacts_.get(index); + } + + public static final int TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object token_; + /** + *
+     * continuation token if relevant.
+     * 
+ * + * 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; + } + } + /** + *
+     * continuation token if relevant.
+     * 
+ * + * 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 < artifacts_.size(); i++) { + output.writeMessage(1, artifacts_.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 < artifacts_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, artifacts_.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.artifact.Artifacts.SearchArtifactsResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.SearchArtifactsResponse other = (flyteidl.artifact.Artifacts.SearchArtifactsResponse) obj; + + if (!getArtifactsList() + .equals(other.getArtifactsList())) 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 (getArtifactsCount() > 0) { + hash = (37 * hash) + ARTIFACTS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactsList().hashCode(); + } + hash = (37 * hash) + TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.SearchArtifactsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.SearchArtifactsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.SearchArtifactsResponse) + flyteidl.artifact.Artifacts.SearchArtifactsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchArtifactsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchArtifactsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.SearchArtifactsResponse.class, flyteidl.artifact.Artifacts.SearchArtifactsResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.SearchArtifactsResponse.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(); + } + token_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_SearchArtifactsResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchArtifactsResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.SearchArtifactsResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchArtifactsResponse build() { + flyteidl.artifact.Artifacts.SearchArtifactsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchArtifactsResponse buildPartial() { + flyteidl.artifact.Artifacts.SearchArtifactsResponse result = new flyteidl.artifact.Artifacts.SearchArtifactsResponse(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.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.artifact.Artifacts.SearchArtifactsResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.SearchArtifactsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.SearchArtifactsResponse other) { + if (other == flyteidl.artifact.Artifacts.SearchArtifactsResponse.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.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.artifact.Artifacts.SearchArtifactsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.SearchArtifactsResponse) 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< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> artifactsBuilder_; + + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public java.util.List getArtifactsList() { + if (artifactsBuilder_ == null) { + return java.util.Collections.unmodifiableList(artifacts_); + } else { + return artifactsBuilder_.getMessageList(); + } + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public int getArtifactsCount() { + if (artifactsBuilder_ == null) { + return artifacts_.size(); + } else { + return artifactsBuilder_.getCount(); + } + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.Artifact getArtifacts(int index) { + if (artifactsBuilder_ == null) { + return artifacts_.get(index); + } else { + return artifactsBuilder_.getMessage(index); + } + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder setArtifacts( + int index, flyteidl.artifact.Artifacts.Artifact value) { + if (artifactsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactsIsMutable(); + artifacts_.set(index, value); + onChanged(); + } else { + artifactsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder setArtifacts( + int index, flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.set(index, builderForValue.build()); + onChanged(); + } else { + artifactsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder addArtifacts(flyteidl.artifact.Artifacts.Artifact value) { + if (artifactsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactsIsMutable(); + artifacts_.add(value); + onChanged(); + } else { + artifactsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder addArtifacts( + int index, flyteidl.artifact.Artifacts.Artifact value) { + if (artifactsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactsIsMutable(); + artifacts_.add(index, value); + onChanged(); + } else { + artifactsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder addArtifacts( + flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.add(builderForValue.build()); + onChanged(); + } else { + artifactsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder addArtifacts( + int index, flyteidl.artifact.Artifacts.Artifact.Builder builderForValue) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.add(index, builderForValue.build()); + onChanged(); + } else { + artifactsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.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; + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder clearArtifacts() { + if (artifactsBuilder_ == null) { + artifacts_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + artifactsBuilder_.clear(); + } + return this; + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public Builder removeArtifacts(int index) { + if (artifactsBuilder_ == null) { + ensureArtifactsIsMutable(); + artifacts_.remove(index); + onChanged(); + } else { + artifactsBuilder_.remove(index); + } + return this; + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder getArtifactsBuilder( + int index) { + return getArtifactsFieldBuilder().getBuilder(index); + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactOrBuilder getArtifactsOrBuilder( + int index) { + if (artifactsBuilder_ == null) { + return artifacts_.get(index); } else { + return artifactsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public java.util.List + getArtifactsOrBuilderList() { + if (artifactsBuilder_ != null) { + return artifactsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(artifacts_); + } + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder addArtifactsBuilder() { + return getArtifactsFieldBuilder().addBuilder( + flyteidl.artifact.Artifacts.Artifact.getDefaultInstance()); + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public flyteidl.artifact.Artifacts.Artifact.Builder addArtifactsBuilder( + int index) { + return getArtifactsFieldBuilder().addBuilder( + index, flyteidl.artifact.Artifacts.Artifact.getDefaultInstance()); + } + /** + *
+       * If artifact specs are not requested, the resultant artifacts may be empty.
+       * 
+ * + * repeated .flyteidl.artifact.Artifact artifacts = 1; + */ + public java.util.List + getArtifactsBuilderList() { + return getArtifactsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder> + getArtifactsFieldBuilder() { + if (artifactsBuilder_ == null) { + artifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.Artifact, flyteidl.artifact.Artifacts.Artifact.Builder, flyteidl.artifact.Artifacts.ArtifactOrBuilder>( + artifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + artifacts_ = null; + } + return artifactsBuilder_; + } + + private java.lang.Object token_ = ""; + /** + *
+       * continuation token if relevant.
+       * 
+ * + * 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; + } + } + /** + *
+       * continuation token if relevant.
+       * 
+ * + * 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; + } + } + /** + *
+       * continuation token if relevant.
+       * 
+ * + * string token = 2; + */ + public Builder setToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + token_ = value; + onChanged(); + return this; + } + /** + *
+       * continuation token if relevant.
+       * 
+ * + * string token = 2; + */ + public Builder clearToken() { + + token_ = getDefaultInstance().getToken(); + onChanged(); + return this; + } + /** + *
+       * continuation token if relevant.
+       * 
+ * + * 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.artifact.SearchArtifactsResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.SearchArtifactsResponse) + private static final flyteidl.artifact.Artifacts.SearchArtifactsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.SearchArtifactsResponse(); + } + + public static flyteidl.artifact.Artifacts.SearchArtifactsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SearchArtifactsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.SearchArtifactsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FindByWorkflowExecRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.FindByWorkflowExecRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + boolean hasExecId(); + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecId(); + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecIdOrBuilder(); + + /** + * .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; + */ + int getDirectionValue(); + /** + * .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; + */ + flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction getDirection(); + } + /** + * Protobuf type {@code flyteidl.artifact.FindByWorkflowExecRequest} + */ + public static final class FindByWorkflowExecRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.FindByWorkflowExecRequest) + FindByWorkflowExecRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use FindByWorkflowExecRequest.newBuilder() to construct. + private FindByWorkflowExecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FindByWorkflowExecRequest() { + direction_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FindByWorkflowExecRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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 (execId_ != null) { + subBuilder = execId_.toBuilder(); + } + execId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(execId_); + execId_ = subBuilder.buildPartial(); + } + + 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.artifact.Artifacts.internal_static_flyteidl_artifact_FindByWorkflowExecRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_FindByWorkflowExecRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.class, flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Builder.class); + } + + /** + * Protobuf enum {@code flyteidl.artifact.FindByWorkflowExecRequest.Direction} + */ + public enum Direction + implements com.google.protobuf.ProtocolMessageEnum { + /** + * INPUTS = 0; + */ + INPUTS(0), + /** + * OUTPUTS = 1; + */ + OUTPUTS(1), + UNRECOGNIZED(-1), + ; + + /** + * INPUTS = 0; + */ + public static final int INPUTS_VALUE = 0; + /** + * OUTPUTS = 1; + */ + public static final int OUTPUTS_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 INPUTS; + case 1: return OUTPUTS; + 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.artifact.Artifacts.FindByWorkflowExecRequest.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.artifact.FindByWorkflowExecRequest.Direction) + } + + public static final int EXEC_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier execId_; + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public boolean hasExecId() { + return execId_ != null; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecId() { + return execId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : execId_; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecIdOrBuilder() { + return getExecId(); + } + + public static final int DIRECTION_FIELD_NUMBER = 2; + private int direction_; + /** + * .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; + */ + public int getDirectionValue() { + return direction_; + } + /** + * .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; + */ + public flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction getDirection() { + @SuppressWarnings("deprecation") + flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction result = flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction.valueOf(direction_); + return result == null ? flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.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 (execId_ != null) { + output.writeMessage(1, getExecId()); + } + if (direction_ != flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction.INPUTS.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 (execId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExecId()); + } + if (direction_ != flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction.INPUTS.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.artifact.Artifacts.FindByWorkflowExecRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.FindByWorkflowExecRequest other = (flyteidl.artifact.Artifacts.FindByWorkflowExecRequest) obj; + + if (hasExecId() != other.hasExecId()) return false; + if (hasExecId()) { + if (!getExecId() + .equals(other.getExecId())) 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(); + if (hasExecId()) { + hash = (37 * hash) + EXEC_ID_FIELD_NUMBER; + hash = (53 * hash) + getExecId().hashCode(); + } + hash = (37 * hash) + DIRECTION_FIELD_NUMBER; + hash = (53 * hash) + direction_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.FindByWorkflowExecRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.FindByWorkflowExecRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.FindByWorkflowExecRequest) + flyteidl.artifact.Artifacts.FindByWorkflowExecRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_FindByWorkflowExecRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_FindByWorkflowExecRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.class, flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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 (execIdBuilder_ == null) { + execId_ = null; + } else { + execId_ = null; + execIdBuilder_ = null; + } + direction_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_FindByWorkflowExecRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.FindByWorkflowExecRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.FindByWorkflowExecRequest build() { + flyteidl.artifact.Artifacts.FindByWorkflowExecRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.FindByWorkflowExecRequest buildPartial() { + flyteidl.artifact.Artifacts.FindByWorkflowExecRequest result = new flyteidl.artifact.Artifacts.FindByWorkflowExecRequest(this); + if (execIdBuilder_ == null) { + result.execId_ = execId_; + } else { + result.execId_ = execIdBuilder_.build(); + } + 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.artifact.Artifacts.FindByWorkflowExecRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.FindByWorkflowExecRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.FindByWorkflowExecRequest other) { + if (other == flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.getDefaultInstance()) return this; + if (other.hasExecId()) { + mergeExecId(other.getExecId()); + } + 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.artifact.Artifacts.FindByWorkflowExecRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.FindByWorkflowExecRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier execId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> execIdBuilder_; + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public boolean hasExecId() { + return execIdBuilder_ != null || execId_ != null; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getExecId() { + if (execIdBuilder_ == null) { + return execId_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : execId_; + } else { + return execIdBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public Builder setExecId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (execIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + execId_ = value; + onChanged(); + } else { + execIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public Builder setExecId( + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { + if (execIdBuilder_ == null) { + execId_ = builderForValue.build(); + onChanged(); + } else { + execIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public Builder mergeExecId(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { + if (execIdBuilder_ == null) { + if (execId_ != null) { + execId_ = + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.newBuilder(execId_).mergeFrom(value).buildPartial(); + } else { + execId_ = value; + } + onChanged(); + } else { + execIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public Builder clearExecId() { + if (execIdBuilder_ == null) { + execId_ = null; + onChanged(); + } else { + execId_ = null; + execIdBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getExecIdBuilder() { + + onChanged(); + return getExecIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecIdOrBuilder() { + if (execIdBuilder_ != null) { + return execIdBuilder_.getMessageOrBuilder(); + } else { + return execId_ == null ? + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : execId_; + } + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier exec_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> + getExecIdFieldBuilder() { + if (execIdBuilder_ == null) { + execIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder>( + getExecId(), + getParentForChildren(), + isClean()); + execId_ = null; + } + return execIdBuilder_; + } + + private int direction_ = 0; + /** + * .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; + */ + public int getDirectionValue() { + return direction_; + } + /** + * .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; + */ + public Builder setDirectionValue(int value) { + direction_ = value; + onChanged(); + return this; + } + /** + * .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; + */ + public flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction getDirection() { + @SuppressWarnings("deprecation") + flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction result = flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction.valueOf(direction_); + return result == null ? flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction.UNRECOGNIZED : result; + } + /** + * .flyteidl.artifact.FindByWorkflowExecRequest.Direction direction = 2; + */ + public Builder setDirection(flyteidl.artifact.Artifacts.FindByWorkflowExecRequest.Direction value) { + if (value == null) { + throw new NullPointerException(); + } + + direction_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .flyteidl.artifact.FindByWorkflowExecRequest.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.artifact.FindByWorkflowExecRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.FindByWorkflowExecRequest) + private static final flyteidl.artifact.Artifacts.FindByWorkflowExecRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.FindByWorkflowExecRequest(); + } + + public static flyteidl.artifact.Artifacts.FindByWorkflowExecRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FindByWorkflowExecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FindByWorkflowExecRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.FindByWorkflowExecRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AddTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.AddTagRequest) + 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(); + + /** + * string value = 2; + */ + java.lang.String getValue(); + /** + * string value = 2; + */ + com.google.protobuf.ByteString + getValueBytes(); + + /** + *
+     * If true, and another version already has the specified kind/value, set this version instead
+     * 
+ * + * bool overwrite = 3; + */ + boolean getOverwrite(); + } + /** + *
+   * Aliases identify a particular version of an artifact. They are different than tags in that they
+   * have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind,
+   * at most one version can have any given value at any point.
+   * 
+ * + * Protobuf type {@code flyteidl.artifact.AddTagRequest} + */ + public static final class AddTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.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() { + value_ = ""; + } + + @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: { + flyteidl.core.ArtifactId.ArtifactID.Builder subBuilder = null; + if (artifactId_ != null) { + subBuilder = artifactId_.toBuilder(); + } + artifactId_ = input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifactId_); + artifactId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + value_ = s; + break; + } + case 24: { + + overwrite_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.AddTagRequest.class, flyteidl.artifact.Artifacts.AddTagRequest.Builder.class); + } + + public static final int ARTIFACT_ID_FIELD_NUMBER = 1; + private flyteidl.core.ArtifactId.ArtifactID artifactId_; + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public boolean hasArtifactId() { + return artifactId_ != null; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + return artifactId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + return getArtifactId(); + } + + 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; + } + } + + public static final int OVERWRITE_FIELD_NUMBER = 3; + private boolean overwrite_; + /** + *
+     * If true, and another version already has the specified kind/value, set this version instead
+     * 
+ * + * bool overwrite = 3; + */ + public boolean getOverwrite() { + return overwrite_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (artifactId_ != null) { + output.writeMessage(1, getArtifactId()); + } + if (!getValueBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + } + if (overwrite_ != false) { + output.writeBool(3, overwrite_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (artifactId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifactId()); + } + if (!getValueBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + } + if (overwrite_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, overwrite_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.AddTagRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.AddTagRequest other = (flyteidl.artifact.Artifacts.AddTagRequest) obj; + + if (hasArtifactId() != other.hasArtifactId()) return false; + if (hasArtifactId()) { + if (!getArtifactId() + .equals(other.getArtifactId())) return false; + } + if (!getValue() + .equals(other.getValue())) return false; + if (getOverwrite() + != other.getOverwrite()) return false; + if (!unknownFields.equals(other.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 (hasArtifactId()) { + hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactId().hashCode(); + } + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + hash = (37 * hash) + OVERWRITE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOverwrite()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.AddTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.AddTagRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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(flyteidl.artifact.Artifacts.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; + } + /** + *
+     * Aliases identify a particular version of an artifact. They are different than tags in that they
+     * have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind,
+     * at most one version can have any given value at any point.
+     * 
+ * + * Protobuf type {@code flyteidl.artifact.AddTagRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.AddTagRequest) + flyteidl.artifact.Artifacts.AddTagRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.AddTagRequest.class, flyteidl.artifact.Artifacts.AddTagRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.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 (artifactIdBuilder_ == null) { + artifactId_ = null; + } else { + artifactId_ = null; + artifactIdBuilder_ = null; + } + value_ = ""; + + overwrite_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.AddTagRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagRequest build() { + flyteidl.artifact.Artifacts.AddTagRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagRequest buildPartial() { + flyteidl.artifact.Artifacts.AddTagRequest result = new flyteidl.artifact.Artifacts.AddTagRequest(this); + if (artifactIdBuilder_ == null) { + result.artifactId_ = artifactId_; + } else { + result.artifactId_ = artifactIdBuilder_.build(); + } + result.value_ = value_; + result.overwrite_ = overwrite_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.artifact.Artifacts.AddTagRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.AddTagRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.AddTagRequest other) { + if (other == flyteidl.artifact.Artifacts.AddTagRequest.getDefaultInstance()) return this; + if (other.hasArtifactId()) { + mergeArtifactId(other.getArtifactId()); + } + if (!other.getValue().isEmpty()) { + value_ = other.value_; + onChanged(); + } + if (other.getOverwrite() != false) { + setOverwrite(other.getOverwrite()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.AddTagRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.AddTagRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.ArtifactId.ArtifactID artifactId_; + 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 artifactIdBuilder_ != null || artifactId_ != null; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactId() { + if (artifactIdBuilder_ == null) { + return artifactId_ == null ? flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } else { + return artifactIdBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder setArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + artifactId_ = value; + onChanged(); + } else { + artifactIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder setArtifactId( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (artifactIdBuilder_ == null) { + artifactId_ = builderForValue.build(); + onChanged(); + } else { + artifactIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder mergeArtifactId(flyteidl.core.ArtifactId.ArtifactID value) { + if (artifactIdBuilder_ == null) { + if (artifactId_ != null) { + artifactId_ = + flyteidl.core.ArtifactId.ArtifactID.newBuilder(artifactId_).mergeFrom(value).buildPartial(); + } else { + artifactId_ = value; + } + onChanged(); + } else { + artifactIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public Builder clearArtifactId() { + if (artifactIdBuilder_ == null) { + artifactId_ = null; + onChanged(); + } else { + artifactId_ = null; + artifactIdBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdBuilder() { + + onChanged(); + return getArtifactIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactID artifact_id = 1; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdOrBuilder() { + if (artifactIdBuilder_ != null) { + return artifactIdBuilder_.getMessageOrBuilder(); + } else { + return artifactId_ == null ? + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance() : artifactId_; + } + } + /** + * .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) { + artifactIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + getArtifactId(), + getParentForChildren(), + isClean()); + artifactId_ = null; + } + return artifactIdBuilder_; + } + + 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; + } + + private boolean overwrite_ ; + /** + *
+       * If true, and another version already has the specified kind/value, set this version instead
+       * 
+ * + * bool overwrite = 3; + */ + public boolean getOverwrite() { + return overwrite_; + } + /** + *
+       * If true, and another version already has the specified kind/value, set this version instead
+       * 
+ * + * bool overwrite = 3; + */ + public Builder setOverwrite(boolean value) { + + overwrite_ = value; + onChanged(); + return this; + } + /** + *
+       * If true, and another version already has the specified kind/value, set this version instead
+       * 
+ * + * bool overwrite = 3; + */ + public Builder clearOverwrite() { + + overwrite_ = 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.artifact.AddTagRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.AddTagRequest) + private static final flyteidl.artifact.Artifacts.AddTagRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.AddTagRequest(); + } + + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.AddTagRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AddTagResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.AddTagResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code flyteidl.artifact.AddTagResponse} + */ + public static final class AddTagResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.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 flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.AddTagResponse.class, flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.AddTagResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.AddTagResponse other = (flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.AddTagResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.AddTagResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.AddTagResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.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(flyteidl.artifact.Artifacts.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; + } + /** + * Protobuf type {@code flyteidl.artifact.AddTagResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.AddTagResponse) + flyteidl.artifact.Artifacts.AddTagResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.AddTagResponse.class, flyteidl.artifact.Artifacts.AddTagResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_AddTagResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.AddTagResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagResponse build() { + flyteidl.artifact.Artifacts.AddTagResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.AddTagResponse buildPartial() { + flyteidl.artifact.Artifacts.AddTagResponse result = new flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.AddTagResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.AddTagResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.AddTagResponse other) { + if (other == flyteidl.artifact.Artifacts.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 { + flyteidl.artifact.Artifacts.AddTagResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.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:flyteidl.artifact.AddTagResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.AddTagResponse) + private static final flyteidl.artifact.Artifacts.AddTagResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.AddTagResponse(); + } + + public static flyteidl.artifact.Artifacts.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 flyteidl.artifact.Artifacts.AddTagResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CreateTriggerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.CreateTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + boolean hasTriggerLaunchPlan(); + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getTriggerLaunchPlan(); + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder getTriggerLaunchPlanOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.CreateTriggerRequest} + */ + public static final class CreateTriggerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.CreateTriggerRequest) + CreateTriggerRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateTriggerRequest.newBuilder() to construct. + private CreateTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateTriggerRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateTriggerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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.LaunchPlanOuterClass.LaunchPlan.Builder subBuilder = null; + if (triggerLaunchPlan_ != null) { + subBuilder = triggerLaunchPlan_.toBuilder(); + } + triggerLaunchPlan_ = input.readMessage(flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(triggerLaunchPlan_); + triggerLaunchPlan_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateTriggerRequest.class, flyteidl.artifact.Artifacts.CreateTriggerRequest.Builder.class); + } + + public static final int TRIGGER_LAUNCH_PLAN_FIELD_NUMBER = 1; + private flyteidl.admin.LaunchPlanOuterClass.LaunchPlan triggerLaunchPlan_; + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public boolean hasTriggerLaunchPlan() { + return triggerLaunchPlan_ != null; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getTriggerLaunchPlan() { + return triggerLaunchPlan_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.getDefaultInstance() : triggerLaunchPlan_; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder getTriggerLaunchPlanOrBuilder() { + return getTriggerLaunchPlan(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (triggerLaunchPlan_ != null) { + output.writeMessage(1, getTriggerLaunchPlan()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (triggerLaunchPlan_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTriggerLaunchPlan()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.CreateTriggerRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.CreateTriggerRequest other = (flyteidl.artifact.Artifacts.CreateTriggerRequest) obj; + + if (hasTriggerLaunchPlan() != other.hasTriggerLaunchPlan()) return false; + if (hasTriggerLaunchPlan()) { + if (!getTriggerLaunchPlan() + .equals(other.getTriggerLaunchPlan())) return false; + } + if (!unknownFields.equals(other.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 (hasTriggerLaunchPlan()) { + hash = (37 * hash) + TRIGGER_LAUNCH_PLAN_FIELD_NUMBER; + hash = (53 * hash) + getTriggerLaunchPlan().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.CreateTriggerRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.CreateTriggerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.CreateTriggerRequest) + flyteidl.artifact.Artifacts.CreateTriggerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateTriggerRequest.class, flyteidl.artifact.Artifacts.CreateTriggerRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.CreateTriggerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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 (triggerLaunchPlanBuilder_ == null) { + triggerLaunchPlan_ = null; + } else { + triggerLaunchPlan_ = null; + triggerLaunchPlanBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.CreateTriggerRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerRequest build() { + flyteidl.artifact.Artifacts.CreateTriggerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerRequest buildPartial() { + flyteidl.artifact.Artifacts.CreateTriggerRequest result = new flyteidl.artifact.Artifacts.CreateTriggerRequest(this); + if (triggerLaunchPlanBuilder_ == null) { + result.triggerLaunchPlan_ = triggerLaunchPlan_; + } else { + result.triggerLaunchPlan_ = triggerLaunchPlanBuilder_.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.artifact.Artifacts.CreateTriggerRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.CreateTriggerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.CreateTriggerRequest other) { + if (other == flyteidl.artifact.Artifacts.CreateTriggerRequest.getDefaultInstance()) return this; + if (other.hasTriggerLaunchPlan()) { + mergeTriggerLaunchPlan(other.getTriggerLaunchPlan()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.CreateTriggerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.CreateTriggerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.admin.LaunchPlanOuterClass.LaunchPlan triggerLaunchPlan_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder> triggerLaunchPlanBuilder_; + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public boolean hasTriggerLaunchPlan() { + return triggerLaunchPlanBuilder_ != null || triggerLaunchPlan_ != null; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan getTriggerLaunchPlan() { + if (triggerLaunchPlanBuilder_ == null) { + return triggerLaunchPlan_ == null ? flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.getDefaultInstance() : triggerLaunchPlan_; + } else { + return triggerLaunchPlanBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public Builder setTriggerLaunchPlan(flyteidl.admin.LaunchPlanOuterClass.LaunchPlan value) { + if (triggerLaunchPlanBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + triggerLaunchPlan_ = value; + onChanged(); + } else { + triggerLaunchPlanBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public Builder setTriggerLaunchPlan( + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder builderForValue) { + if (triggerLaunchPlanBuilder_ == null) { + triggerLaunchPlan_ = builderForValue.build(); + onChanged(); + } else { + triggerLaunchPlanBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public Builder mergeTriggerLaunchPlan(flyteidl.admin.LaunchPlanOuterClass.LaunchPlan value) { + if (triggerLaunchPlanBuilder_ == null) { + if (triggerLaunchPlan_ != null) { + triggerLaunchPlan_ = + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.newBuilder(triggerLaunchPlan_).mergeFrom(value).buildPartial(); + } else { + triggerLaunchPlan_ = value; + } + onChanged(); + } else { + triggerLaunchPlanBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public Builder clearTriggerLaunchPlan() { + if (triggerLaunchPlanBuilder_ == null) { + triggerLaunchPlan_ = null; + onChanged(); + } else { + triggerLaunchPlan_ = null; + triggerLaunchPlanBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder getTriggerLaunchPlanBuilder() { + + onChanged(); + return getTriggerLaunchPlanFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + public flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder getTriggerLaunchPlanOrBuilder() { + if (triggerLaunchPlanBuilder_ != null) { + return triggerLaunchPlanBuilder_.getMessageOrBuilder(); + } else { + return triggerLaunchPlan_ == null ? + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.getDefaultInstance() : triggerLaunchPlan_; + } + } + /** + * .flyteidl.admin.LaunchPlan trigger_launch_plan = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder> + getTriggerLaunchPlanFieldBuilder() { + if (triggerLaunchPlanBuilder_ == null) { + triggerLaunchPlanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.LaunchPlanOuterClass.LaunchPlan, flyteidl.admin.LaunchPlanOuterClass.LaunchPlan.Builder, flyteidl.admin.LaunchPlanOuterClass.LaunchPlanOrBuilder>( + getTriggerLaunchPlan(), + getParentForChildren(), + isClean()); + triggerLaunchPlan_ = null; + } + return triggerLaunchPlanBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.CreateTriggerRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateTriggerRequest) + private static final flyteidl.artifact.Artifacts.CreateTriggerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.CreateTriggerRequest(); + } + + public static flyteidl.artifact.Artifacts.CreateTriggerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTriggerRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CreateTriggerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.CreateTriggerResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code flyteidl.artifact.CreateTriggerResponse} + */ + public static final class CreateTriggerResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.CreateTriggerResponse) + CreateTriggerResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateTriggerResponse.newBuilder() to construct. + private CreateTriggerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateTriggerResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateTriggerResponse( + 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.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateTriggerResponse.class, flyteidl.artifact.Artifacts.CreateTriggerResponse.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.artifact.Artifacts.CreateTriggerResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.CreateTriggerResponse other = (flyteidl.artifact.Artifacts.CreateTriggerResponse) 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.artifact.Artifacts.CreateTriggerResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.CreateTriggerResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.CreateTriggerResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.CreateTriggerResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.CreateTriggerResponse) + flyteidl.artifact.Artifacts.CreateTriggerResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.CreateTriggerResponse.class, flyteidl.artifact.Artifacts.CreateTriggerResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.CreateTriggerResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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.artifact.Artifacts.internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.CreateTriggerResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerResponse build() { + flyteidl.artifact.Artifacts.CreateTriggerResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerResponse buildPartial() { + flyteidl.artifact.Artifacts.CreateTriggerResponse result = new flyteidl.artifact.Artifacts.CreateTriggerResponse(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.artifact.Artifacts.CreateTriggerResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.CreateTriggerResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.CreateTriggerResponse other) { + if (other == flyteidl.artifact.Artifacts.CreateTriggerResponse.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.artifact.Artifacts.CreateTriggerResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.CreateTriggerResponse) 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.artifact.CreateTriggerResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.CreateTriggerResponse) + private static final flyteidl.artifact.Artifacts.CreateTriggerResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.CreateTriggerResponse(); + } + + public static flyteidl.artifact.Artifacts.CreateTriggerResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTriggerResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTriggerResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.CreateTriggerResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DeleteTriggerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeleteTriggerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + boolean hasTriggerId(); + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + flyteidl.core.IdentifierOuterClass.Identifier getTriggerId(); + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.DeleteTriggerRequest} + */ + public static final class DeleteTriggerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeleteTriggerRequest) + DeleteTriggerRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteTriggerRequest.newBuilder() to construct. + private DeleteTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteTriggerRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteTriggerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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 (triggerId_ != null) { + subBuilder = triggerId_.toBuilder(); + } + triggerId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(triggerId_); + triggerId_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.DeleteTriggerRequest.class, flyteidl.artifact.Artifacts.DeleteTriggerRequest.Builder.class); + } + + public static final int TRIGGER_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.Identifier triggerId_; + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public boolean hasTriggerId() { + return triggerId_ != null; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getTriggerId() { + return triggerId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder() { + return getTriggerId(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (triggerId_ != null) { + output.writeMessage(1, getTriggerId()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (triggerId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTriggerId()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.DeleteTriggerRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.DeleteTriggerRequest other = (flyteidl.artifact.Artifacts.DeleteTriggerRequest) obj; + + if (hasTriggerId() != other.hasTriggerId()) return false; + if (hasTriggerId()) { + if (!getTriggerId() + .equals(other.getTriggerId())) return false; + } + if (!unknownFields.equals(other.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 (hasTriggerId()) { + hash = (37 * hash) + TRIGGER_ID_FIELD_NUMBER; + hash = (53 * hash) + getTriggerId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.DeleteTriggerRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.DeleteTriggerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeleteTriggerRequest) + flyteidl.artifact.Artifacts.DeleteTriggerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.DeleteTriggerRequest.class, flyteidl.artifact.Artifacts.DeleteTriggerRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.DeleteTriggerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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 (triggerIdBuilder_ == null) { + triggerId_ = null; + } else { + triggerId_ = null; + triggerIdBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.DeleteTriggerRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerRequest build() { + flyteidl.artifact.Artifacts.DeleteTriggerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerRequest buildPartial() { + flyteidl.artifact.Artifacts.DeleteTriggerRequest result = new flyteidl.artifact.Artifacts.DeleteTriggerRequest(this); + if (triggerIdBuilder_ == null) { + result.triggerId_ = triggerId_; + } else { + result.triggerId_ = triggerIdBuilder_.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.artifact.Artifacts.DeleteTriggerRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.DeleteTriggerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.DeleteTriggerRequest other) { + if (other == flyteidl.artifact.Artifacts.DeleteTriggerRequest.getDefaultInstance()) return this; + if (other.hasTriggerId()) { + mergeTriggerId(other.getTriggerId()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.DeleteTriggerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.DeleteTriggerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.Identifier triggerId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> triggerIdBuilder_; + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public boolean hasTriggerId() { + return triggerIdBuilder_ != null || triggerId_ != null; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getTriggerId() { + if (triggerIdBuilder_ == null) { + return triggerId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } else { + return triggerIdBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder setTriggerId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (triggerIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + triggerId_ = value; + onChanged(); + } else { + triggerIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder setTriggerId( + flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { + if (triggerIdBuilder_ == null) { + triggerId_ = builderForValue.build(); + onChanged(); + } else { + triggerIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder mergeTriggerId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (triggerIdBuilder_ == null) { + if (triggerId_ != null) { + triggerId_ = + flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(triggerId_).mergeFrom(value).buildPartial(); + } else { + triggerId_ = value; + } + onChanged(); + } else { + triggerIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder clearTriggerId() { + if (triggerIdBuilder_ == null) { + triggerId_ = null; + onChanged(); + } else { + triggerId_ = null; + triggerIdBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getTriggerIdBuilder() { + + onChanged(); + return getTriggerIdFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder() { + if (triggerIdBuilder_ != null) { + return triggerIdBuilder_.getMessageOrBuilder(); + } else { + return triggerId_ == null ? + flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } + } + /** + * .flyteidl.core.Identifier trigger_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> + getTriggerIdFieldBuilder() { + if (triggerIdBuilder_ == null) { + triggerIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( + getTriggerId(), + getParentForChildren(), + isClean()); + triggerId_ = null; + } + return triggerIdBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeleteTriggerRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerRequest) + private static final flyteidl.artifact.Artifacts.DeleteTriggerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeleteTriggerRequest(); + } + + public static flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTriggerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTriggerRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DeleteTriggerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeleteTriggerResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code flyteidl.artifact.DeleteTriggerResponse} + */ + public static final class DeleteTriggerResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeleteTriggerResponse) + DeleteTriggerResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteTriggerResponse.newBuilder() to construct. + private DeleteTriggerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteTriggerResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteTriggerResponse( + 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.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.DeleteTriggerResponse.class, flyteidl.artifact.Artifacts.DeleteTriggerResponse.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.artifact.Artifacts.DeleteTriggerResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.DeleteTriggerResponse other = (flyteidl.artifact.Artifacts.DeleteTriggerResponse) 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.artifact.Artifacts.DeleteTriggerResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.DeleteTriggerResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.DeleteTriggerResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeleteTriggerResponse) + flyteidl.artifact.Artifacts.DeleteTriggerResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.DeleteTriggerResponse.class, flyteidl.artifact.Artifacts.DeleteTriggerResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.DeleteTriggerResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.DeleteTriggerResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerResponse build() { + flyteidl.artifact.Artifacts.DeleteTriggerResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerResponse buildPartial() { + flyteidl.artifact.Artifacts.DeleteTriggerResponse result = new flyteidl.artifact.Artifacts.DeleteTriggerResponse(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.artifact.Artifacts.DeleteTriggerResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.DeleteTriggerResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.DeleteTriggerResponse other) { + if (other == flyteidl.artifact.Artifacts.DeleteTriggerResponse.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.artifact.Artifacts.DeleteTriggerResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.DeleteTriggerResponse) 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.artifact.DeleteTriggerResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerResponse) + private static final flyteidl.artifact.Artifacts.DeleteTriggerResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeleteTriggerResponse(); + } + + public static flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTriggerResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTriggerResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactProducerOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ArtifactProducer) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + boolean hasEntityId(); + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + flyteidl.core.IdentifierOuterClass.Identifier getEntityId(); + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder(); + + /** + * .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(); + } + /** + * Protobuf type {@code flyteidl.artifact.ArtifactProducer} + */ + public static final class ArtifactProducer extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ArtifactProducer) + ArtifactProducerOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactProducer.newBuilder() to construct. + private ArtifactProducer(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactProducer() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactProducer( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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 (entityId_ != null) { + subBuilder = entityId_.toBuilder(); + } + entityId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entityId_); + entityId_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactProducer_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactProducer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactProducer.class, flyteidl.artifact.Artifacts.ArtifactProducer.Builder.class); + } + + public static final int ENTITY_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.Identifier entityId_; + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public boolean hasEntityId() { + return entityId_ != null; + } + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getEntityId() { + return entityId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } + /** + *
+     * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+     * Admin's domain.
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder() { + return getEntityId(); + } + + 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 (entityId_ != null) { + output.writeMessage(1, getEntityId()); + } + 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 (entityId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntityId()); + } + 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.artifact.Artifacts.ArtifactProducer)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ArtifactProducer other = (flyteidl.artifact.Artifacts.ArtifactProducer) obj; + + if (hasEntityId() != other.hasEntityId()) return false; + if (hasEntityId()) { + if (!getEntityId() + .equals(other.getEntityId())) 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 (hasEntityId()) { + hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER; + hash = (53 * hash) + getEntityId().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.artifact.Artifacts.ArtifactProducer parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactProducer parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ArtifactProducer prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.ArtifactProducer} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ArtifactProducer) + flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactProducer_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactProducer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactProducer.class, flyteidl.artifact.Artifacts.ArtifactProducer.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ArtifactProducer.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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 (entityIdBuilder_ == null) { + entityId_ = null; + } else { + entityId_ = null; + entityIdBuilder_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactProducer_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactProducer getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ArtifactProducer.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactProducer build() { + flyteidl.artifact.Artifacts.ArtifactProducer result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactProducer buildPartial() { + flyteidl.artifact.Artifacts.ArtifactProducer result = new flyteidl.artifact.Artifacts.ArtifactProducer(this); + if (entityIdBuilder_ == null) { + result.entityId_ = entityId_; + } else { + result.entityId_ = entityIdBuilder_.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.artifact.Artifacts.ArtifactProducer) { + return mergeFrom((flyteidl.artifact.Artifacts.ArtifactProducer)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ArtifactProducer other) { + if (other == flyteidl.artifact.Artifacts.ArtifactProducer.getDefaultInstance()) return this; + if (other.hasEntityId()) { + mergeEntityId(other.getEntityId()); + } + 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.artifact.Artifacts.ArtifactProducer parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ArtifactProducer) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.Identifier entityId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> entityIdBuilder_; + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public boolean hasEntityId() { + return entityIdBuilder_ != null || entityId_ != null; + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getEntityId() { + if (entityIdBuilder_ == null) { + return entityId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } else { + return entityIdBuilder_.getMessage(); + } + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder setEntityId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (entityIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + entityId_ = value; + onChanged(); + } else { + entityIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder setEntityId( + flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { + if (entityIdBuilder_ == null) { + entityId_ = builderForValue.build(); + onChanged(); + } else { + entityIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder mergeEntityId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (entityIdBuilder_ == null) { + if (entityId_ != null) { + entityId_ = + flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(entityId_).mergeFrom(value).buildPartial(); + } else { + entityId_ = value; + } + onChanged(); + } else { + entityIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder clearEntityId() { + if (entityIdBuilder_ == null) { + entityId_ = null; + onChanged(); + } else { + entityId_ = null; + entityIdBuilder_ = null; + } + + return this; + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getEntityIdBuilder() { + + onChanged(); + return getEntityIdFieldBuilder().getBuilder(); + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder() { + if (entityIdBuilder_ != null) { + return entityIdBuilder_.getMessageOrBuilder(); + } else { + return entityId_ == null ? + flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } + } + /** + *
+       * These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in
+       * Admin's domain.
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> + getEntityIdFieldBuilder() { + if (entityIdBuilder_ == null) { + entityIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( + getEntityId(), + getParentForChildren(), + isClean()); + entityId_ = null; + } + return entityIdBuilder_; + } + + 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.artifact.ArtifactProducer) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactProducer) + private static final flyteidl.artifact.Artifacts.ArtifactProducer DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ArtifactProducer(); + } + + public static flyteidl.artifact.Artifacts.ArtifactProducer getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactProducer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactProducer(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactProducer getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RegisterProducerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.RegisterProducerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + java.util.List + getProducersList(); + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + flyteidl.artifact.Artifacts.ArtifactProducer getProducers(int index); + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + int getProducersCount(); + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + java.util.List + getProducersOrBuilderList(); + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder getProducersOrBuilder( + int index); + } + /** + * Protobuf type {@code flyteidl.artifact.RegisterProducerRequest} + */ + public static final class RegisterProducerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.RegisterProducerRequest) + RegisterProducerRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RegisterProducerRequest.newBuilder() to construct. + private RegisterProducerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RegisterProducerRequest() { + producers_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RegisterProducerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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)) { + producers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + producers_.add( + input.readMessage(flyteidl.artifact.Artifacts.ArtifactProducer.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)) { + producers_ = java.util.Collections.unmodifiableList(producers_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterProducerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterProducerRequest.class, flyteidl.artifact.Artifacts.RegisterProducerRequest.Builder.class); + } + + public static final int PRODUCERS_FIELD_NUMBER = 1; + private java.util.List producers_; + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public java.util.List getProducersList() { + return producers_; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public java.util.List + getProducersOrBuilderList() { + return producers_; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public int getProducersCount() { + return producers_.size(); + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducer getProducers(int index) { + return producers_.get(index); + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder getProducersOrBuilder( + int index) { + return producers_.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 < producers_.size(); i++) { + output.writeMessage(1, producers_.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 < producers_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, producers_.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.artifact.Artifacts.RegisterProducerRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.RegisterProducerRequest other = (flyteidl.artifact.Artifacts.RegisterProducerRequest) obj; + + if (!getProducersList() + .equals(other.getProducersList())) return false; + if (!unknownFields.equals(other.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 (getProducersCount() > 0) { + hash = (37 * hash) + PRODUCERS_FIELD_NUMBER; + hash = (53 * hash) + getProducersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterProducerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.RegisterProducerRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.RegisterProducerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.RegisterProducerRequest) + flyteidl.artifact.Artifacts.RegisterProducerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterProducerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterProducerRequest.class, flyteidl.artifact.Artifacts.RegisterProducerRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.RegisterProducerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getProducersFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (producersBuilder_ == null) { + producers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + producersBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterProducerRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.RegisterProducerRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterProducerRequest build() { + flyteidl.artifact.Artifacts.RegisterProducerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterProducerRequest buildPartial() { + flyteidl.artifact.Artifacts.RegisterProducerRequest result = new flyteidl.artifact.Artifacts.RegisterProducerRequest(this); + int from_bitField0_ = bitField0_; + if (producersBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + producers_ = java.util.Collections.unmodifiableList(producers_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.producers_ = producers_; + } else { + result.producers_ = producersBuilder_.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.artifact.Artifacts.RegisterProducerRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.RegisterProducerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.RegisterProducerRequest other) { + if (other == flyteidl.artifact.Artifacts.RegisterProducerRequest.getDefaultInstance()) return this; + if (producersBuilder_ == null) { + if (!other.producers_.isEmpty()) { + if (producers_.isEmpty()) { + producers_ = other.producers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureProducersIsMutable(); + producers_.addAll(other.producers_); + } + onChanged(); + } + } else { + if (!other.producers_.isEmpty()) { + if (producersBuilder_.isEmpty()) { + producersBuilder_.dispose(); + producersBuilder_ = null; + producers_ = other.producers_; + bitField0_ = (bitField0_ & ~0x00000001); + producersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getProducersFieldBuilder() : null; + } else { + producersBuilder_.addAllMessages(other.producers_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.RegisterProducerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.RegisterProducerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List producers_ = + java.util.Collections.emptyList(); + private void ensureProducersIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + producers_ = new java.util.ArrayList(producers_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactProducer, flyteidl.artifact.Artifacts.ArtifactProducer.Builder, flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder> producersBuilder_; + + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public java.util.List getProducersList() { + if (producersBuilder_ == null) { + return java.util.Collections.unmodifiableList(producers_); + } else { + return producersBuilder_.getMessageList(); + } + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public int getProducersCount() { + if (producersBuilder_ == null) { + return producers_.size(); + } else { + return producersBuilder_.getCount(); + } + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducer getProducers(int index) { + if (producersBuilder_ == null) { + return producers_.get(index); + } else { + return producersBuilder_.getMessage(index); + } + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder setProducers( + int index, flyteidl.artifact.Artifacts.ArtifactProducer value) { + if (producersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProducersIsMutable(); + producers_.set(index, value); + onChanged(); + } else { + producersBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder setProducers( + int index, flyteidl.artifact.Artifacts.ArtifactProducer.Builder builderForValue) { + if (producersBuilder_ == null) { + ensureProducersIsMutable(); + producers_.set(index, builderForValue.build()); + onChanged(); + } else { + producersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder addProducers(flyteidl.artifact.Artifacts.ArtifactProducer value) { + if (producersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProducersIsMutable(); + producers_.add(value); + onChanged(); + } else { + producersBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder addProducers( + int index, flyteidl.artifact.Artifacts.ArtifactProducer value) { + if (producersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureProducersIsMutable(); + producers_.add(index, value); + onChanged(); + } else { + producersBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder addProducers( + flyteidl.artifact.Artifacts.ArtifactProducer.Builder builderForValue) { + if (producersBuilder_ == null) { + ensureProducersIsMutable(); + producers_.add(builderForValue.build()); + onChanged(); + } else { + producersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder addProducers( + int index, flyteidl.artifact.Artifacts.ArtifactProducer.Builder builderForValue) { + if (producersBuilder_ == null) { + ensureProducersIsMutable(); + producers_.add(index, builderForValue.build()); + onChanged(); + } else { + producersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder addAllProducers( + java.lang.Iterable values) { + if (producersBuilder_ == null) { + ensureProducersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, producers_); + onChanged(); + } else { + producersBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder clearProducers() { + if (producersBuilder_ == null) { + producers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + producersBuilder_.clear(); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public Builder removeProducers(int index) { + if (producersBuilder_ == null) { + ensureProducersIsMutable(); + producers_.remove(index); + onChanged(); + } else { + producersBuilder_.remove(index); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducer.Builder getProducersBuilder( + int index) { + return getProducersFieldBuilder().getBuilder(index); + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder getProducersOrBuilder( + int index) { + if (producersBuilder_ == null) { + return producers_.get(index); } else { + return producersBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public java.util.List + getProducersOrBuilderList() { + if (producersBuilder_ != null) { + return producersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(producers_); + } + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducer.Builder addProducersBuilder() { + return getProducersFieldBuilder().addBuilder( + flyteidl.artifact.Artifacts.ArtifactProducer.getDefaultInstance()); + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactProducer.Builder addProducersBuilder( + int index) { + return getProducersFieldBuilder().addBuilder( + index, flyteidl.artifact.Artifacts.ArtifactProducer.getDefaultInstance()); + } + /** + * repeated .flyteidl.artifact.ArtifactProducer producers = 1; + */ + public java.util.List + getProducersBuilderList() { + return getProducersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactProducer, flyteidl.artifact.Artifacts.ArtifactProducer.Builder, flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder> + getProducersFieldBuilder() { + if (producersBuilder_ == null) { + producersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactProducer, flyteidl.artifact.Artifacts.ArtifactProducer.Builder, flyteidl.artifact.Artifacts.ArtifactProducerOrBuilder>( + producers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + producers_ = null; + } + return producersBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.RegisterProducerRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterProducerRequest) + private static final flyteidl.artifact.Artifacts.RegisterProducerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.RegisterProducerRequest(); + } + + public static flyteidl.artifact.Artifacts.RegisterProducerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterProducerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterProducerRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterProducerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ArtifactConsumerOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ArtifactConsumer) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + boolean hasEntityId(); + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + flyteidl.core.IdentifierOuterClass.Identifier getEntityId(); + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder(); + + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + boolean hasInputs(); + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + flyteidl.core.Interface.ParameterMap getInputs(); + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + flyteidl.core.Interface.ParameterMapOrBuilder getInputsOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.artifact.ArtifactConsumer} + */ + public static final class ArtifactConsumer extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ArtifactConsumer) + ArtifactConsumerOrBuilder { + private static final long serialVersionUID = 0L; + // Use ArtifactConsumer.newBuilder() to construct. + private ArtifactConsumer(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ArtifactConsumer() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ArtifactConsumer( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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 (entityId_ != null) { + subBuilder = entityId_.toBuilder(); + } + entityId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(entityId_); + entityId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.core.Interface.ParameterMap.Builder subBuilder = null; + if (inputs_ != null) { + subBuilder = inputs_.toBuilder(); + } + inputs_ = input.readMessage(flyteidl.core.Interface.ParameterMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputs_); + inputs_ = 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.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactConsumer_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactConsumer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactConsumer.class, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder.class); + } + + public static final int ENTITY_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.Identifier entityId_; + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public boolean hasEntityId() { + return entityId_ != null; + } + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getEntityId() { + return entityId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } + /** + *
+     * These should all be launch plan IDs
+     * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder() { + return getEntityId(); + } + + public static final int INPUTS_FIELD_NUMBER = 2; + private flyteidl.core.Interface.ParameterMap inputs_; + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public boolean hasInputs() { + return inputs_ != null; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public flyteidl.core.Interface.ParameterMap getInputs() { + return inputs_ == null ? flyteidl.core.Interface.ParameterMap.getDefaultInstance() : inputs_; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public flyteidl.core.Interface.ParameterMapOrBuilder getInputsOrBuilder() { + return getInputs(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (entityId_ != null) { + output.writeMessage(1, getEntityId()); + } + if (inputs_ != null) { + output.writeMessage(2, getInputs()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (entityId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntityId()); + } + if (inputs_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInputs()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.artifact.Artifacts.ArtifactConsumer)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ArtifactConsumer other = (flyteidl.artifact.Artifacts.ArtifactConsumer) obj; + + if (hasEntityId() != other.hasEntityId()) return false; + if (hasEntityId()) { + if (!getEntityId() + .equals(other.getEntityId())) return false; + } + if (hasInputs() != other.hasInputs()) return false; + if (hasInputs()) { + if (!getInputs() + .equals(other.getInputs())) return false; + } + if (!unknownFields.equals(other.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 (hasEntityId()) { + hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER; + hash = (53 * hash) + getEntityId().hashCode(); + } + if (hasInputs()) { + hash = (37 * hash) + INPUTS_FIELD_NUMBER; + hash = (53 * hash) + getInputs().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ArtifactConsumer parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ArtifactConsumer prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.ArtifactConsumer} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ArtifactConsumer) + flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactConsumer_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactConsumer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ArtifactConsumer.class, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ArtifactConsumer.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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 (entityIdBuilder_ == null) { + entityId_ = null; + } else { + entityId_ = null; + entityIdBuilder_ = null; + } + if (inputsBuilder_ == null) { + inputs_ = null; + } else { + inputs_ = null; + inputsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ArtifactConsumer_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactConsumer getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ArtifactConsumer.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactConsumer build() { + flyteidl.artifact.Artifacts.ArtifactConsumer result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactConsumer buildPartial() { + flyteidl.artifact.Artifacts.ArtifactConsumer result = new flyteidl.artifact.Artifacts.ArtifactConsumer(this); + if (entityIdBuilder_ == null) { + result.entityId_ = entityId_; + } else { + result.entityId_ = entityIdBuilder_.build(); + } + if (inputsBuilder_ == null) { + result.inputs_ = inputs_; + } else { + result.inputs_ = inputsBuilder_.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.artifact.Artifacts.ArtifactConsumer) { + return mergeFrom((flyteidl.artifact.Artifacts.ArtifactConsumer)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ArtifactConsumer other) { + if (other == flyteidl.artifact.Artifacts.ArtifactConsumer.getDefaultInstance()) return this; + if (other.hasEntityId()) { + mergeEntityId(other.getEntityId()); + } + if (other.hasInputs()) { + mergeInputs(other.getInputs()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.ArtifactConsumer parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ArtifactConsumer) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.core.IdentifierOuterClass.Identifier entityId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> entityIdBuilder_; + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public boolean hasEntityId() { + return entityIdBuilder_ != null || entityId_ != null; + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getEntityId() { + if (entityIdBuilder_ == null) { + return entityId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } else { + return entityIdBuilder_.getMessage(); + } + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder setEntityId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (entityIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + entityId_ = value; + onChanged(); + } else { + entityIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder setEntityId( + flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { + if (entityIdBuilder_ == null) { + entityId_ = builderForValue.build(); + onChanged(); + } else { + entityIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder mergeEntityId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (entityIdBuilder_ == null) { + if (entityId_ != null) { + entityId_ = + flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(entityId_).mergeFrom(value).buildPartial(); + } else { + entityId_ = value; + } + onChanged(); + } else { + entityIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public Builder clearEntityId() { + if (entityIdBuilder_ == null) { + entityId_ = null; + onChanged(); + } else { + entityId_ = null; + entityIdBuilder_ = null; + } + + return this; + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getEntityIdBuilder() { + + onChanged(); + return getEntityIdFieldBuilder().getBuilder(); + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getEntityIdOrBuilder() { + if (entityIdBuilder_ != null) { + return entityIdBuilder_.getMessageOrBuilder(); + } else { + return entityId_ == null ? + flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : entityId_; + } + } + /** + *
+       * These should all be launch plan IDs
+       * 
+ * + * .flyteidl.core.Identifier entity_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> + getEntityIdFieldBuilder() { + if (entityIdBuilder_ == null) { + entityIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( + getEntityId(), + getParentForChildren(), + isClean()); + entityId_ = null; + } + return entityIdBuilder_; + } + + private flyteidl.core.Interface.ParameterMap inputs_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder> inputsBuilder_; + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public boolean hasInputs() { + return inputsBuilder_ != null || inputs_ != null; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public flyteidl.core.Interface.ParameterMap getInputs() { + if (inputsBuilder_ == null) { + return inputs_ == null ? flyteidl.core.Interface.ParameterMap.getDefaultInstance() : inputs_; + } else { + return inputsBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public Builder setInputs(flyteidl.core.Interface.ParameterMap value) { + if (inputsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inputs_ = value; + onChanged(); + } else { + inputsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public Builder setInputs( + flyteidl.core.Interface.ParameterMap.Builder builderForValue) { + if (inputsBuilder_ == null) { + inputs_ = builderForValue.build(); + onChanged(); + } else { + inputsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public Builder mergeInputs(flyteidl.core.Interface.ParameterMap value) { + if (inputsBuilder_ == null) { + if (inputs_ != null) { + inputs_ = + flyteidl.core.Interface.ParameterMap.newBuilder(inputs_).mergeFrom(value).buildPartial(); + } else { + inputs_ = value; + } + onChanged(); + } else { + inputsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public Builder clearInputs() { + if (inputsBuilder_ == null) { + inputs_ = null; + onChanged(); + } else { + inputs_ = null; + inputsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public flyteidl.core.Interface.ParameterMap.Builder getInputsBuilder() { + + onChanged(); + return getInputsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + public flyteidl.core.Interface.ParameterMapOrBuilder getInputsOrBuilder() { + if (inputsBuilder_ != null) { + return inputsBuilder_.getMessageOrBuilder(); + } else { + return inputs_ == null ? + flyteidl.core.Interface.ParameterMap.getDefaultInstance() : inputs_; + } + } + /** + * .flyteidl.core.ParameterMap inputs = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder> + getInputsFieldBuilder() { + if (inputsBuilder_ == null) { + inputsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Interface.ParameterMap, flyteidl.core.Interface.ParameterMap.Builder, flyteidl.core.Interface.ParameterMapOrBuilder>( + getInputs(), + getParentForChildren(), + isClean()); + inputs_ = null; + } + return inputsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.ArtifactConsumer) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ArtifactConsumer) + private static final flyteidl.artifact.Artifacts.ArtifactConsumer DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ArtifactConsumer(); + } + + public static flyteidl.artifact.Artifacts.ArtifactConsumer getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArtifactConsumer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ArtifactConsumer(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ArtifactConsumer getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RegisterConsumerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.RegisterConsumerRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + java.util.List + getConsumersList(); + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + flyteidl.artifact.Artifacts.ArtifactConsumer getConsumers(int index); + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + int getConsumersCount(); + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + java.util.List + getConsumersOrBuilderList(); + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder getConsumersOrBuilder( + int index); + } + /** + * Protobuf type {@code flyteidl.artifact.RegisterConsumerRequest} + */ + public static final class RegisterConsumerRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.RegisterConsumerRequest) + RegisterConsumerRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RegisterConsumerRequest.newBuilder() to construct. + private RegisterConsumerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RegisterConsumerRequest() { + consumers_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RegisterConsumerRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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)) { + consumers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + consumers_.add( + input.readMessage(flyteidl.artifact.Artifacts.ArtifactConsumer.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)) { + consumers_ = java.util.Collections.unmodifiableList(consumers_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterConsumerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterConsumerRequest.class, flyteidl.artifact.Artifacts.RegisterConsumerRequest.Builder.class); + } + + public static final int CONSUMERS_FIELD_NUMBER = 1; + private java.util.List consumers_; + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public java.util.List getConsumersList() { + return consumers_; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public java.util.List + getConsumersOrBuilderList() { + return consumers_; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public int getConsumersCount() { + return consumers_.size(); + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumer getConsumers(int index) { + return consumers_.get(index); + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder getConsumersOrBuilder( + int index) { + return consumers_.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 < consumers_.size(); i++) { + output.writeMessage(1, consumers_.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 < consumers_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, consumers_.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.artifact.Artifacts.RegisterConsumerRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.RegisterConsumerRequest other = (flyteidl.artifact.Artifacts.RegisterConsumerRequest) obj; + + if (!getConsumersList() + .equals(other.getConsumersList())) return false; + if (!unknownFields.equals(other.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 (getConsumersCount() > 0) { + hash = (37 * hash) + CONSUMERS_FIELD_NUMBER; + hash = (53 * hash) + getConsumersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.RegisterConsumerRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.RegisterConsumerRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.RegisterConsumerRequest) + flyteidl.artifact.Artifacts.RegisterConsumerRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterConsumerRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterConsumerRequest.class, flyteidl.artifact.Artifacts.RegisterConsumerRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.RegisterConsumerRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getConsumersFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (consumersBuilder_ == null) { + consumers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + consumersBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterConsumerRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.RegisterConsumerRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterConsumerRequest build() { + flyteidl.artifact.Artifacts.RegisterConsumerRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterConsumerRequest buildPartial() { + flyteidl.artifact.Artifacts.RegisterConsumerRequest result = new flyteidl.artifact.Artifacts.RegisterConsumerRequest(this); + int from_bitField0_ = bitField0_; + if (consumersBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + consumers_ = java.util.Collections.unmodifiableList(consumers_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.consumers_ = consumers_; + } else { + result.consumers_ = consumersBuilder_.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.artifact.Artifacts.RegisterConsumerRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.RegisterConsumerRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.RegisterConsumerRequest other) { + if (other == flyteidl.artifact.Artifacts.RegisterConsumerRequest.getDefaultInstance()) return this; + if (consumersBuilder_ == null) { + if (!other.consumers_.isEmpty()) { + if (consumers_.isEmpty()) { + consumers_ = other.consumers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureConsumersIsMutable(); + consumers_.addAll(other.consumers_); + } + onChanged(); + } + } else { + if (!other.consumers_.isEmpty()) { + if (consumersBuilder_.isEmpty()) { + consumersBuilder_.dispose(); + consumersBuilder_ = null; + consumers_ = other.consumers_; + bitField0_ = (bitField0_ & ~0x00000001); + consumersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConsumersFieldBuilder() : null; + } else { + consumersBuilder_.addAllMessages(other.consumers_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.RegisterConsumerRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.RegisterConsumerRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List consumers_ = + java.util.Collections.emptyList(); + private void ensureConsumersIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + consumers_ = new java.util.ArrayList(consumers_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactConsumer, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder, flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder> consumersBuilder_; + + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public java.util.List getConsumersList() { + if (consumersBuilder_ == null) { + return java.util.Collections.unmodifiableList(consumers_); + } else { + return consumersBuilder_.getMessageList(); + } + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public int getConsumersCount() { + if (consumersBuilder_ == null) { + return consumers_.size(); + } else { + return consumersBuilder_.getCount(); + } + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumer getConsumers(int index) { + if (consumersBuilder_ == null) { + return consumers_.get(index); + } else { + return consumersBuilder_.getMessage(index); + } + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder setConsumers( + int index, flyteidl.artifact.Artifacts.ArtifactConsumer value) { + if (consumersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConsumersIsMutable(); + consumers_.set(index, value); + onChanged(); + } else { + consumersBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder setConsumers( + int index, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder builderForValue) { + if (consumersBuilder_ == null) { + ensureConsumersIsMutable(); + consumers_.set(index, builderForValue.build()); + onChanged(); + } else { + consumersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder addConsumers(flyteidl.artifact.Artifacts.ArtifactConsumer value) { + if (consumersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConsumersIsMutable(); + consumers_.add(value); + onChanged(); + } else { + consumersBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder addConsumers( + int index, flyteidl.artifact.Artifacts.ArtifactConsumer value) { + if (consumersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureConsumersIsMutable(); + consumers_.add(index, value); + onChanged(); + } else { + consumersBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder addConsumers( + flyteidl.artifact.Artifacts.ArtifactConsumer.Builder builderForValue) { + if (consumersBuilder_ == null) { + ensureConsumersIsMutable(); + consumers_.add(builderForValue.build()); + onChanged(); + } else { + consumersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder addConsumers( + int index, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder builderForValue) { + if (consumersBuilder_ == null) { + ensureConsumersIsMutable(); + consumers_.add(index, builderForValue.build()); + onChanged(); + } else { + consumersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder addAllConsumers( + java.lang.Iterable values) { + if (consumersBuilder_ == null) { + ensureConsumersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, consumers_); + onChanged(); + } else { + consumersBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder clearConsumers() { + if (consumersBuilder_ == null) { + consumers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + consumersBuilder_.clear(); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public Builder removeConsumers(int index) { + if (consumersBuilder_ == null) { + ensureConsumersIsMutable(); + consumers_.remove(index); + onChanged(); + } else { + consumersBuilder_.remove(index); + } + return this; + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumer.Builder getConsumersBuilder( + int index) { + return getConsumersFieldBuilder().getBuilder(index); + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder getConsumersOrBuilder( + int index) { + if (consumersBuilder_ == null) { + return consumers_.get(index); } else { + return consumersBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public java.util.List + getConsumersOrBuilderList() { + if (consumersBuilder_ != null) { + return consumersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(consumers_); + } + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumer.Builder addConsumersBuilder() { + return getConsumersFieldBuilder().addBuilder( + flyteidl.artifact.Artifacts.ArtifactConsumer.getDefaultInstance()); + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public flyteidl.artifact.Artifacts.ArtifactConsumer.Builder addConsumersBuilder( + int index) { + return getConsumersFieldBuilder().addBuilder( + index, flyteidl.artifact.Artifacts.ArtifactConsumer.getDefaultInstance()); + } + /** + * repeated .flyteidl.artifact.ArtifactConsumer consumers = 1; + */ + public java.util.List + getConsumersBuilderList() { + return getConsumersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactConsumer, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder, flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder> + getConsumersFieldBuilder() { + if (consumersBuilder_ == null) { + consumersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.artifact.Artifacts.ArtifactConsumer, flyteidl.artifact.Artifacts.ArtifactConsumer.Builder, flyteidl.artifact.Artifacts.ArtifactConsumerOrBuilder>( + consumers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + consumers_ = null; + } + return consumersBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.RegisterConsumerRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterConsumerRequest) + private static final flyteidl.artifact.Artifacts.RegisterConsumerRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.RegisterConsumerRequest(); + } + + public static flyteidl.artifact.Artifacts.RegisterConsumerRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterConsumerRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterConsumerRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterConsumerRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RegisterResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.RegisterResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code flyteidl.artifact.RegisterResponse} + */ + public static final class RegisterResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.RegisterResponse) + RegisterResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use RegisterResponse.newBuilder() to construct. + private RegisterResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RegisterResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RegisterResponse( + 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.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterResponse.class, flyteidl.artifact.Artifacts.RegisterResponse.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.artifact.Artifacts.RegisterResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.RegisterResponse other = (flyteidl.artifact.Artifacts.RegisterResponse) 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.artifact.Artifacts.RegisterResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.RegisterResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.RegisterResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.RegisterResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.RegisterResponse) + flyteidl.artifact.Artifacts.RegisterResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.RegisterResponse.class, flyteidl.artifact.Artifacts.RegisterResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.RegisterResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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.artifact.Artifacts.internal_static_flyteidl_artifact_RegisterResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.RegisterResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterResponse build() { + flyteidl.artifact.Artifacts.RegisterResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterResponse buildPartial() { + flyteidl.artifact.Artifacts.RegisterResponse result = new flyteidl.artifact.Artifacts.RegisterResponse(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.artifact.Artifacts.RegisterResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.RegisterResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.RegisterResponse other) { + if (other == flyteidl.artifact.Artifacts.RegisterResponse.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.artifact.Artifacts.RegisterResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.RegisterResponse) 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.artifact.RegisterResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.RegisterResponse) + private static final flyteidl.artifact.Artifacts.RegisterResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.RegisterResponse(); + } + + public static flyteidl.artifact.Artifacts.RegisterResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RegisterResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegisterResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.RegisterResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ExecutionInputsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ExecutionInputsRequest) + 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(); + + /** + *
+     * can make this a map in the future, currently no need.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + java.util.List + getInputsList(); + /** + *
+     * can make this a map in the future, currently no need.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + flyteidl.core.ArtifactId.ArtifactID getInputs(int index); + /** + *
+     * can make this a map in the future, currently no need.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + int getInputsCount(); + /** + *
+     * can make this a map in the future, currently no need.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + java.util.List + getInputsOrBuilderList(); + /** + *
+     * can make this a map in the future, currently no need.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getInputsOrBuilder( + int index); + } + /** + * Protobuf type {@code flyteidl.artifact.ExecutionInputsRequest} + */ + public static final class ExecutionInputsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ExecutionInputsRequest) + ExecutionInputsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExecutionInputsRequest.newBuilder() to construct. + private ExecutionInputsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExecutionInputsRequest() { + inputs_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExecutionInputsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + inputs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + inputs_.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_ & 0x00000002) != 0)) { + inputs_ = java.util.Collections.unmodifiableList(inputs_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ExecutionInputsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ExecutionInputsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ExecutionInputsRequest.class, flyteidl.artifact.Artifacts.ExecutionInputsRequest.Builder.class); + } + + private int bitField0_; + 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(); + } + + public static final int INPUTS_FIELD_NUMBER = 2; + private java.util.List inputs_; + /** + *
+     * can make this a map in the future, currently no need.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public java.util.List getInputsList() { + return inputs_; + } + /** + *
+     * can make this a map in the future, currently no need.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public java.util.List + getInputsOrBuilderList() { + return inputs_; + } + /** + *
+     * can make this a map in the future, currently no need.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public int getInputsCount() { + return inputs_.size(); + } + /** + *
+     * can make this a map in the future, currently no need.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID getInputs(int index) { + return inputs_.get(index); + } + /** + *
+     * can make this a map in the future, currently no need.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getInputsOrBuilder( + int index) { + return inputs_.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 (executionId_ != null) { + output.writeMessage(1, getExecutionId()); + } + for (int i = 0; i < inputs_.size(); i++) { + output.writeMessage(2, inputs_.get(i)); + } + 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()); + } + for (int i = 0; i < inputs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, inputs_.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.artifact.Artifacts.ExecutionInputsRequest)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ExecutionInputsRequest other = (flyteidl.artifact.Artifacts.ExecutionInputsRequest) obj; + + if (hasExecutionId() != other.hasExecutionId()) return false; + if (hasExecutionId()) { + if (!getExecutionId() + .equals(other.getExecutionId())) return false; + } + if (!getInputsList() + .equals(other.getInputsList())) return false; + if (!unknownFields.equals(other.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 (getInputsCount() > 0) { + hash = (37 * hash) + INPUTS_FIELD_NUMBER; + hash = (53 * hash) + getInputsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ExecutionInputsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.ExecutionInputsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ExecutionInputsRequest) + flyteidl.artifact.Artifacts.ExecutionInputsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ExecutionInputsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ExecutionInputsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ExecutionInputsRequest.class, flyteidl.artifact.Artifacts.ExecutionInputsRequest.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ExecutionInputsRequest.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(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (executionIdBuilder_ == null) { + executionId_ = null; + } else { + executionId_ = null; + executionIdBuilder_ = null; + } + if (inputsBuilder_ == null) { + inputs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + inputsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ExecutionInputsRequest_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ExecutionInputsRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ExecutionInputsRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ExecutionInputsRequest build() { + flyteidl.artifact.Artifacts.ExecutionInputsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ExecutionInputsRequest buildPartial() { + flyteidl.artifact.Artifacts.ExecutionInputsRequest result = new flyteidl.artifact.Artifacts.ExecutionInputsRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (executionIdBuilder_ == null) { + result.executionId_ = executionId_; + } else { + result.executionId_ = executionIdBuilder_.build(); + } + if (inputsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + inputs_ = java.util.Collections.unmodifiableList(inputs_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.inputs_ = inputs_; + } else { + result.inputs_ = inputsBuilder_.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.artifact.Artifacts.ExecutionInputsRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.ExecutionInputsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ExecutionInputsRequest other) { + if (other == flyteidl.artifact.Artifacts.ExecutionInputsRequest.getDefaultInstance()) return this; + if (other.hasExecutionId()) { + mergeExecutionId(other.getExecutionId()); + } + if (inputsBuilder_ == null) { + if (!other.inputs_.isEmpty()) { + if (inputs_.isEmpty()) { + inputs_ = other.inputs_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureInputsIsMutable(); + inputs_.addAll(other.inputs_); + } + onChanged(); + } + } else { + if (!other.inputs_.isEmpty()) { + if (inputsBuilder_.isEmpty()) { + inputsBuilder_.dispose(); + inputsBuilder_ = null; + inputs_ = other.inputs_; + bitField0_ = (bitField0_ & ~0x00000002); + inputsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInputsFieldBuilder() : null; + } else { + inputsBuilder_.addAllMessages(other.inputs_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.artifact.Artifacts.ExecutionInputsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ExecutionInputsRequest) 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_; + /** + * .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_; + } + + private java.util.List inputs_ = + java.util.Collections.emptyList(); + private void ensureInputsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + inputs_ = new java.util.ArrayList(inputs_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> inputsBuilder_; + + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public java.util.List getInputsList() { + if (inputsBuilder_ == null) { + return java.util.Collections.unmodifiableList(inputs_); + } else { + return inputsBuilder_.getMessageList(); + } + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public int getInputsCount() { + if (inputsBuilder_ == null) { + return inputs_.size(); + } else { + return inputsBuilder_.getCount(); + } + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID getInputs(int index) { + if (inputsBuilder_ == null) { + return inputs_.get(index); + } else { + return inputsBuilder_.getMessage(index); + } + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public Builder setInputs( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (inputsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInputsIsMutable(); + inputs_.set(index, value); + onChanged(); + } else { + inputsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public Builder setInputs( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (inputsBuilder_ == null) { + ensureInputsIsMutable(); + inputs_.set(index, builderForValue.build()); + onChanged(); + } else { + inputsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public Builder addInputs(flyteidl.core.ArtifactId.ArtifactID value) { + if (inputsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInputsIsMutable(); + inputs_.add(value); + onChanged(); + } else { + inputsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public Builder addInputs( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (inputsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInputsIsMutable(); + inputs_.add(index, value); + onChanged(); + } else { + inputsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public Builder addInputs( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (inputsBuilder_ == null) { + ensureInputsIsMutable(); + inputs_.add(builderForValue.build()); + onChanged(); + } else { + inputsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public Builder addInputs( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (inputsBuilder_ == null) { + ensureInputsIsMutable(); + inputs_.add(index, builderForValue.build()); + onChanged(); + } else { + inputsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + 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; + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public Builder clearInputs() { + if (inputsBuilder_ == null) { + inputs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + inputsBuilder_.clear(); + } + return this; + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public Builder removeInputs(int index) { + if (inputsBuilder_ == null) { + ensureInputsIsMutable(); + inputs_.remove(index); + onChanged(); + } else { + inputsBuilder_.remove(index); + } + return this; + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getInputsBuilder( + int index) { + return getInputsFieldBuilder().getBuilder(index); + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getInputsOrBuilder( + int index) { + if (inputsBuilder_ == null) { + return inputs_.get(index); } else { + return inputsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public java.util.List + getInputsOrBuilderList() { + if (inputsBuilder_ != null) { + return inputsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(inputs_); + } + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addInputsBuilder() { + return getInputsFieldBuilder().addBuilder( + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addInputsBuilder( + int index) { + return getInputsFieldBuilder().addBuilder( + index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * can make this a map in the future, currently no need.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID inputs = 2; + */ + public java.util.List + getInputsBuilderList() { + return getInputsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getInputsFieldBuilder() { + if (inputsBuilder_ == null) { + inputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + inputs_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + inputs_ = null; + } + return inputsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.ExecutionInputsRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ExecutionInputsRequest) + private static final flyteidl.artifact.Artifacts.ExecutionInputsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ExecutionInputsRequest(); + } + + public static flyteidl.artifact.Artifacts.ExecutionInputsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionInputsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecutionInputsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ExecutionInputsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ExecutionInputsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.ExecutionInputsResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code flyteidl.artifact.ExecutionInputsResponse} + */ + public static final class ExecutionInputsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.artifact.ExecutionInputsResponse) + ExecutionInputsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExecutionInputsResponse.newBuilder() to construct. + private ExecutionInputsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExecutionInputsResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExecutionInputsResponse( + 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.artifact.Artifacts.internal_static_flyteidl_artifact_ExecutionInputsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ExecutionInputsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ExecutionInputsResponse.class, flyteidl.artifact.Artifacts.ExecutionInputsResponse.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.artifact.Artifacts.ExecutionInputsResponse)) { + return super.equals(obj); + } + flyteidl.artifact.Artifacts.ExecutionInputsResponse other = (flyteidl.artifact.Artifacts.ExecutionInputsResponse) 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.artifact.Artifacts.ExecutionInputsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.artifact.Artifacts.ExecutionInputsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.artifact.ExecutionInputsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.ExecutionInputsResponse) + flyteidl.artifact.Artifacts.ExecutionInputsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ExecutionInputsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_ExecutionInputsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.artifact.Artifacts.ExecutionInputsResponse.class, flyteidl.artifact.Artifacts.ExecutionInputsResponse.Builder.class); + } + + // Construct using flyteidl.artifact.Artifacts.ExecutionInputsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.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.artifact.Artifacts.internal_static_flyteidl_artifact_ExecutionInputsResponse_descriptor; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ExecutionInputsResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.ExecutionInputsResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ExecutionInputsResponse build() { + flyteidl.artifact.Artifacts.ExecutionInputsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ExecutionInputsResponse buildPartial() { + flyteidl.artifact.Artifacts.ExecutionInputsResponse result = new flyteidl.artifact.Artifacts.ExecutionInputsResponse(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.artifact.Artifacts.ExecutionInputsResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.ExecutionInputsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.artifact.Artifacts.ExecutionInputsResponse other) { + if (other == flyteidl.artifact.Artifacts.ExecutionInputsResponse.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.artifact.Artifacts.ExecutionInputsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.artifact.Artifacts.ExecutionInputsResponse) 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.artifact.ExecutionInputsResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.artifact.ExecutionInputsResponse) + private static final flyteidl.artifact.Artifacts.ExecutionInputsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.ExecutionInputsResponse(); + } + + public static flyteidl.artifact.Artifacts.ExecutionInputsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionInputsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecutionInputsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.artifact.Artifacts.ExecutionInputsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_Artifact_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_Artifact_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_CreateArtifactRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ArtifactSource_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ArtifactSource_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ArtifactSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ArtifactSpec_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_CreateArtifactResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_GetArtifactRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_GetArtifactRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_GetArtifactResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_GetArtifactResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_SearchOptions_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_SearchOptions_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_SearchArtifactsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_SearchArtifactsRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_SearchArtifactsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_SearchArtifactsResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_FindByWorkflowExecRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_FindByWorkflowExecRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_AddTagRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_AddTagRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_AddTagResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_AddTagResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_CreateTriggerRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_CreateTriggerResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ArtifactProducer_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ArtifactProducer_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_RegisterProducerRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ArtifactConsumer_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ArtifactConsumer_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_RegisterConsumerRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_RegisterResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_RegisterResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ExecutionInputsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ExecutionInputsRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_artifact_ExecutionInputsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_artifact_ExecutionInputsResponse_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/artifact/artifacts.proto\022\021fly" + + "teidl.artifact\032\031google/protobuf/any.prot" + + "o\032\034google/api/annotations.proto\032 flyteid" + + "l/admin/launch_plan.proto\032\034flyteidl/core" + + "/literals.proto\032\031flyteidl/core/types.pro" + + "to\032\036flyteidl/core/identifier.proto\032\037flyt" + + "eidl/core/artifact_id.proto\032\035flyteidl/co" + + "re/interface.proto\032 flyteidl/event/cloud" + + "events.proto\"\252\001\n\010Artifact\022.\n\013artifact_id" + + "\030\001 \001(\0132\031.flyteidl.core.ArtifactID\022-\n\004spe" + + "c\030\002 \001(\0132\037.flyteidl.artifact.ArtifactSpec" + + "\022\014\n\004tags\030\003 \003(\t\0221\n\006source\030\004 \001(\0132!.flyteid" + + "l.artifact.ArtifactSource\"\312\002\n\025CreateArti" + + "factRequest\0220\n\014artifact_key\030\001 \001(\0132\032.flyt" + + "eidl.core.ArtifactKey\022\017\n\007version\030\003 \001(\t\022-" + + "\n\004spec\030\002 \001(\0132\037.flyteidl.artifact.Artifac" + + "tSpec\022L\n\npartitions\030\004 \003(\01328.flyteidl.art" + + "ifact.CreateArtifactRequest.PartitionsEn" + + "try\022\013\n\003tag\030\005 \001(\t\0221\n\006source\030\006 \001(\0132!.flyte" + + "idl.artifact.ArtifactSource\0321\n\017Partition" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\277" + + "\001\n\016ArtifactSource\022F\n\022workflow_execution\030" + + "\001 \001(\0132*.flyteidl.core.WorkflowExecutionI" + + "dentifier\022\017\n\007node_id\030\002 \001(\t\022*\n\007task_id\030\003 " + + "\001(\0132\031.flyteidl.core.Identifier\022\025\n\rretry_" + + "attempt\030\004 \001(\r\022\021\n\tprincipal\030\005 \001(\t\"\276\001\n\014Art" + + "ifactSpec\022%\n\005value\030\001 \001(\0132\026.flyteidl.core" + + ".Literal\022(\n\004type\030\002 \001(\0132\032.flyteidl.core.L" + + "iteralType\022\031\n\021short_description\030\003 \001(\t\022+\n" + + "\ruser_metadata\030\004 \001(\0132\024.google.protobuf.A" + + "ny\022\025\n\rmetadata_type\030\005 \001(\t\"G\n\026CreateArtif" + + "actResponse\022-\n\010artifact\030\001 \001(\0132\033.flyteidl" + + ".artifact.Artifact\"R\n\022GetArtifactRequest" + + "\022+\n\005query\030\001 \001(\0132\034.flyteidl.core.Artifact" + + "Query\022\017\n\007details\030\002 \001(\010\"D\n\023GetArtifactRes" + + "ponse\022-\n\010artifact\030\001 \001(\0132\033.flyteidl.artif" + + "act.Artifact\"A\n\rSearchOptions\022\031\n\021strict_" + + "partitions\030\001 \001(\010\022\025\n\rlatest_by_key\030\002 \001(\010\"" + + "\356\001\n\026SearchArtifactsRequest\0220\n\014artifact_k" + + "ey\030\001 \001(\0132\032.flyteidl.core.ArtifactKey\022-\n\n" + + "partitions\030\002 \001(\0132\031.flyteidl.core.Partiti" + + "ons\022\021\n\tprincipal\030\003 \001(\t\022\017\n\007version\030\004 \001(\t\022" + + "1\n\007options\030\005 \001(\0132 .flyteidl.artifact.Sea" + + "rchOptions\022\r\n\005token\030\006 \001(\t\022\r\n\005limit\030\007 \001(\005" + + "\"X\n\027SearchArtifactsResponse\022.\n\tartifacts" + + "\030\001 \003(\0132\033.flyteidl.artifact.Artifact\022\r\n\005t" + + "oken\030\002 \001(\t\"\311\001\n\031FindByWorkflowExecRequest" + + "\022;\n\007exec_id\030\001 \001(\0132*.flyteidl.core.Workfl" + + "owExecutionIdentifier\022I\n\tdirection\030\002 \001(\016" + + "26.flyteidl.artifact.FindByWorkflowExecR" + + "equest.Direction\"$\n\tDirection\022\n\n\006INPUTS\020" + + "\000\022\013\n\007OUTPUTS\020\001\"a\n\rAddTagRequest\022.\n\013artif" + + "act_id\030\001 \001(\0132\031.flyteidl.core.ArtifactID\022" + + "\r\n\005value\030\002 \001(\t\022\021\n\toverwrite\030\003 \001(\010\"\020\n\016Add" + + "TagResponse\"O\n\024CreateTriggerRequest\0227\n\023t" + + "rigger_launch_plan\030\001 \001(\0132\032.flyteidl.admi" + + "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"E\n" + + "\024DeleteTriggerRequest\022-\n\ntrigger_id\030\001 \001(" + + "\0132\031.flyteidl.core.Identifier\"\027\n\025DeleteTr" + + "iggerResponse\"m\n\020ArtifactProducer\022,\n\tent" + + "ity_id\030\001 \001(\0132\031.flyteidl.core.Identifier\022" + + "+\n\007outputs\030\002 \001(\0132\032.flyteidl.core.Variabl" + + "eMap\"Q\n\027RegisterProducerRequest\0226\n\tprodu" + + "cers\030\001 \003(\0132#.flyteidl.artifact.ArtifactP" + + "roducer\"m\n\020ArtifactConsumer\022,\n\tentity_id" + + "\030\001 \001(\0132\031.flyteidl.core.Identifier\022+\n\006inp" + + "uts\030\002 \001(\0132\033.flyteidl.core.ParameterMap\"Q" + + "\n\027RegisterConsumerRequest\0226\n\tconsumers\030\001" + + " \003(\0132#.flyteidl.artifact.ArtifactConsume" + + "r\"\022\n\020RegisterResponse\"\205\001\n\026ExecutionInput" + + "sRequest\022@\n\014execution_id\030\001 \001(\0132*.flyteid" + + "l.core.WorkflowExecutionIdentifier\022)\n\006in" + + "puts\030\002 \003(\0132\031.flyteidl.core.ArtifactID\"\031\n" + + "\027ExecutionInputsResponse2\327\016\n\020ArtifactReg" + + "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" + + "act.CreateArtifactRequest\032).flyteidl.art" + + "ifact.CreateArtifactResponse\"\000\022\205\005\n\013GetAr" + + "tifact\022%.flyteidl.artifact.GetArtifactRe" + + "quest\032&.flyteidl.artifact.GetArtifactRes" + + "ponse\"\246\004\202\323\344\223\002\237\004\022 /artifacts/api/v1/data/" + + "artifactsZ\270\001\022\265\001/artifacts/api/v1/data/ar" + + "tifact/id/{query.artifact_id.artifact_ke" + + "y.project}/{query.artifact_id.artifact_k" + + "ey.domain}/{query.artifact_id.artifact_k" + + "ey.name}/{query.artifact_id.version}Z\234\001\022" + + "\231\001/artifacts/api/v1/data/artifact/id/{qu" + + "ery.artifact_id.artifact_key.project}/{q" + + "uery.artifact_id.artifact_key.domain}/{q" + + "uery.artifact_id.artifact_key.name}Z\240\001\022\235" + + "\001/artifacts/api/v1/data/artifact/tag/{qu" + + "ery.artifact_tag.artifact_key.project}/{" + + "query.artifact_tag.artifact_key.domain}/" + + "{query.artifact_tag.artifact_key.name}\022\240" + + "\002\n\017SearchArtifacts\022).flyteidl.artifact.S" + + "earchArtifactsRequest\032*.flyteidl.artifac" + + "t.SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/ar" + + "tifacts/api/v1/data/query/s/{artifact_ke" + + "y.project}/{artifact_key.domain}/{artifa" + + "ct_key.name}ZK\022I/artifacts/api/v1/data/q" + + "uery/{artifact_key.project}/{artifact_ke" + + "y.domain}\022d\n\rCreateTrigger\022\'.flyteidl.ar" + + "tifact.CreateTriggerRequest\032(.flyteidl.a" + + "rtifact.CreateTriggerResponse\"\000\022d\n\rDelet" + + "eTrigger\022\'.flyteidl.artifact.DeleteTrigg" + + "erRequest\032(.flyteidl.artifact.DeleteTrig" + + "gerResponse\"\000\022O\n\006AddTag\022 .flyteidl.artif" + + "act.AddTagRequest\032!.flyteidl.artifact.Ad" + + "dTagResponse\"\000\022e\n\020RegisterProducer\022*.fly" + + "teidl.artifact.RegisterProducerRequest\032#" + + ".flyteidl.artifact.RegisterResponse\"\000\022e\n" + + "\020RegisterConsumer\022*.flyteidl.artifact.Re" + + "gisterConsumerRequest\032#.flyteidl.artifac" + + "t.RegisterResponse\"\000\022m\n\022SetExecutionInpu" + + "ts\022).flyteidl.artifact.ExecutionInputsRe" + + "quest\032*.flyteidl.artifact.ExecutionInput" + + "sResponse\"\000\022\324\001\n\022FindByWorkflowExec\022,.fly" + + "teidl.artifact.FindByWorkflowExecRequest" + + "\032*.flyteidl.artifact.SearchArtifactsResp" + + "onse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/que" + + "ry/e/{exec_id.project}/{exec_id.domain}/" + + "{exec_id.name}/{direction}B@Z>github.com" + + "/flyteorg/flyte/flyteidl/gen/pb-go/flyte" + + "idl/artifactb\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.AnyProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + flyteidl.admin.LaunchPlanOuterClass.getDescriptor(), + flyteidl.core.Literals.getDescriptor(), + flyteidl.core.Types.getDescriptor(), + flyteidl.core.IdentifierOuterClass.getDescriptor(), + flyteidl.core.ArtifactId.getDescriptor(), + flyteidl.core.Interface.getDescriptor(), + flyteidl.event.Cloudevents.getDescriptor(), + }, assigner); + internal_static_flyteidl_artifact_Artifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_artifact_Artifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_Artifact_descriptor, + new java.lang.String[] { "ArtifactId", "Spec", "Tags", "Source", }); + internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_artifact_CreateArtifactRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor, + new java.lang.String[] { "ArtifactKey", "Version", "Spec", "Partitions", "Tag", "Source", }); + internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_descriptor = + internal_static_flyteidl_artifact_CreateArtifactRequest_descriptor.getNestedTypes().get(0); + internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_CreateArtifactRequest_PartitionsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_flyteidl_artifact_ArtifactSource_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_artifact_ArtifactSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ArtifactSource_descriptor, + new java.lang.String[] { "WorkflowExecution", "NodeId", "TaskId", "RetryAttempt", "Principal", }); + internal_static_flyteidl_artifact_ArtifactSpec_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_flyteidl_artifact_ArtifactSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ArtifactSpec_descriptor, + new java.lang.String[] { "Value", "Type", "ShortDescription", "UserMetadata", "MetadataType", }); + internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_flyteidl_artifact_CreateArtifactResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_CreateArtifactResponse_descriptor, + new java.lang.String[] { "Artifact", }); + internal_static_flyteidl_artifact_GetArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_flyteidl_artifact_GetArtifactRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_GetArtifactRequest_descriptor, + new java.lang.String[] { "Query", "Details", }); + internal_static_flyteidl_artifact_GetArtifactResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_flyteidl_artifact_GetArtifactResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_GetArtifactResponse_descriptor, + new java.lang.String[] { "Artifact", }); + internal_static_flyteidl_artifact_SearchOptions_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_flyteidl_artifact_SearchOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_SearchOptions_descriptor, + new java.lang.String[] { "StrictPartitions", "LatestByKey", }); + internal_static_flyteidl_artifact_SearchArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_flyteidl_artifact_SearchArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_SearchArtifactsRequest_descriptor, + new java.lang.String[] { "ArtifactKey", "Partitions", "Principal", "Version", "Options", "Token", "Limit", }); + internal_static_flyteidl_artifact_SearchArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_flyteidl_artifact_SearchArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_SearchArtifactsResponse_descriptor, + new java.lang.String[] { "Artifacts", "Token", }); + internal_static_flyteidl_artifact_FindByWorkflowExecRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_flyteidl_artifact_FindByWorkflowExecRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_FindByWorkflowExecRequest_descriptor, + new java.lang.String[] { "ExecId", "Direction", }); + internal_static_flyteidl_artifact_AddTagRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_flyteidl_artifact_AddTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_AddTagRequest_descriptor, + new java.lang.String[] { "ArtifactId", "Value", "Overwrite", }); + internal_static_flyteidl_artifact_AddTagResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_flyteidl_artifact_AddTagResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_AddTagResponse_descriptor, + new java.lang.String[] { }); + internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_flyteidl_artifact_CreateTriggerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_CreateTriggerRequest_descriptor, + new java.lang.String[] { "TriggerLaunchPlan", }); + internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_flyteidl_artifact_CreateTriggerResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor, + new java.lang.String[] { }); + internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor, + new java.lang.String[] { "TriggerId", }); + internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor, + new java.lang.String[] { }); + internal_static_flyteidl_artifact_ArtifactProducer_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_flyteidl_artifact_ArtifactProducer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ArtifactProducer_descriptor, + new java.lang.String[] { "EntityId", "Outputs", }); + internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_flyteidl_artifact_RegisterProducerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_RegisterProducerRequest_descriptor, + new java.lang.String[] { "Producers", }); + internal_static_flyteidl_artifact_ArtifactConsumer_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_flyteidl_artifact_ArtifactConsumer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ArtifactConsumer_descriptor, + new java.lang.String[] { "EntityId", "Inputs", }); + internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_flyteidl_artifact_RegisterConsumerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_RegisterConsumerRequest_descriptor, + new java.lang.String[] { "Consumers", }); + internal_static_flyteidl_artifact_RegisterResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_flyteidl_artifact_RegisterResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_RegisterResponse_descriptor, + new java.lang.String[] { }); + internal_static_flyteidl_artifact_ExecutionInputsRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_flyteidl_artifact_ExecutionInputsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ExecutionInputsRequest_descriptor, + new java.lang.String[] { "ExecutionId", "Inputs", }); + internal_static_flyteidl_artifact_ExecutionInputsResponse_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_flyteidl_artifact_ExecutionInputsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_artifact_ExecutionInputsResponse_descriptor, + new java.lang.String[] { }); + 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.protobuf.AnyProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + flyteidl.admin.LaunchPlanOuterClass.getDescriptor(); + flyteidl.core.Literals.getDescriptor(); + flyteidl.core.Types.getDescriptor(); + flyteidl.core.IdentifierOuterClass.getDescriptor(); + flyteidl.core.ArtifactId.getDescriptor(); + flyteidl.core.Interface.getDescriptor(); + flyteidl.event.Cloudevents.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 new file mode 100644 index 0000000000..3f9d3c7616 --- /dev/null +++ b/flyteidl/gen/pb-java/flyteidl/core/ArtifactId.java @@ -0,0 +1,8575 @@ +// 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(); + + /** + *
+     * These two fields are only relevant in the partition value case
+     * 
+ * + * string partition_key = 2; + */ + java.lang.String getPartitionKey(); + /** + *
+     * These two fields are only relevant in the partition value case
+     * 
+ * + * string partition_key = 2; + */ + com.google.protobuf.ByteString + getPartitionKeyBytes(); + + /** + * string transform = 3; + */ + java.lang.String getTransform(); + /** + * string transform = 3; + */ + com.google.protobuf.ByteString + getTransformBytes(); + } + /** + *
+   * 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() { + partitionKey_ = ""; + 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(); + + partitionKey_ = s; + break; + } + case 26: { + 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); + } + + 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; + private volatile java.lang.Object partitionKey_; + /** + *
+     * These two fields are only relevant in the partition value case
+     * 
+ * + * string partition_key = 2; + */ + public java.lang.String getPartitionKey() { + java.lang.Object ref = partitionKey_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partitionKey_ = s; + return s; + } + } + /** + *
+     * These two fields are only relevant in the partition value case
+     * 
+ * + * string partition_key = 2; + */ + public com.google.protobuf.ByteString + getPartitionKeyBytes() { + java.lang.Object ref = partitionKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partitionKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TRANSFORM_FIELD_NUMBER = 3; + private volatile java.lang.Object transform_; + /** + * string transform = 3; + */ + 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; + } + } + /** + * string transform = 3; + */ + 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 (!getPartitionKeyBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partitionKey_); + } + if (!getTransformBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, 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 (!getPartitionKeyBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, partitionKey_); + } + if (!getTransformBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, 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 (!getPartitionKey() + .equals(other.getPartitionKey())) return false; + if (!getTransform() + .equals(other.getTransform())) return false; + if (!unknownFields.equals(other.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) + PARTITION_KEY_FIELD_NUMBER; + hash = (53 * hash) + getPartitionKey().hashCode(); + hash = (37 * hash) + TRANSFORM_FIELD_NUMBER; + hash = (53 * hash) + getTransform().hashCode(); + 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; + + partitionKey_ = ""; + + transform_ = ""; + + 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_; + result.partitionKey_ = partitionKey_; + result.transform_ = transform_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + 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.getPartitionKey().isEmpty()) { + partitionKey_ = other.partitionKey_; + onChanged(); + } + if (!other.getTransform().isEmpty()) { + transform_ = other.transform_; + 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.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 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; + } + + private java.lang.Object partitionKey_ = ""; + /** + *
+       * These two fields are only relevant in the partition value case
+       * 
+ * + * string partition_key = 2; + */ + public java.lang.String getPartitionKey() { + java.lang.Object ref = partitionKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partitionKey_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * These two fields are only relevant in the partition value case
+       * 
+ * + * string partition_key = 2; + */ + public com.google.protobuf.ByteString + getPartitionKeyBytes() { + java.lang.Object ref = partitionKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partitionKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * These two fields are only relevant in the partition value case
+       * 
+ * + * string partition_key = 2; + */ + public Builder setPartitionKey( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + partitionKey_ = value; + onChanged(); + return this; + } + /** + *
+       * These two fields are only relevant in the partition value case
+       * 
+ * + * string partition_key = 2; + */ + public Builder clearPartitionKey() { + + partitionKey_ = getDefaultInstance().getPartitionKey(); + onChanged(); + return this; + } + /** + *
+       * These two fields are only relevant in the partition value case
+       * 
+ * + * string partition_key = 2; + */ + public Builder setPartitionKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + partitionKey_ = value; + onChanged(); + return this; + } + + private java.lang.Object transform_ = ""; + /** + * string transform = 3; + */ + 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; + } + } + /** + * string transform = 3; + */ + 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; + } + } + /** + * string transform = 3; + */ + public Builder setTransform( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + transform_ = value; + onChanged(); + return this; + } + /** + * string transform = 3; + */ + public Builder clearTransform() { + + transform_ = getDefaultInstance().getTransform(); + onChanged(); + return this; + } + /** + * string transform = 3; + */ + 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 { + + /** + * string static_value = 1; + */ + java.lang.String getStaticValue(); + /** + * string static_value = 1; + */ + com.google.protobuf.ByteString + getStaticValueBytes(); + + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + boolean hasTriggeredBinding(); + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + flyteidl.core.ArtifactId.ArtifactBindingData getTriggeredBinding(); + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getTriggeredBindingOrBuilder(); + + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + boolean hasInputBinding(); + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + flyteidl.core.ArtifactId.InputBindingData getInputBinding(); + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + 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: { + flyteidl.core.ArtifactId.ArtifactBindingData.Builder subBuilder = null; + if (valueCase_ == 2) { + 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_ = 2; + break; + } + case 26: { + flyteidl.core.ArtifactId.InputBindingData.Builder subBuilder = null; + if (valueCase_ == 3) { + 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_ = 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.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), + TRIGGERED_BINDING(2), + INPUT_BINDING(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 STATIC_VALUE; + case 2: return TRIGGERED_BINDING; + case 3: 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; + /** + * 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; + } + } + /** + * 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 TRIGGERED_BINDING_FIELD_NUMBER = 2; + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public boolean hasTriggeredBinding() { + return valueCase_ == 2; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public flyteidl.core.ArtifactId.ArtifactBindingData getTriggeredBinding() { + if (valueCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getTriggeredBindingOrBuilder() { + if (valueCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + + public static final int INPUT_BINDING_FIELD_NUMBER = 3; + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public boolean hasInputBinding() { + return valueCase_ == 3; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public flyteidl.core.ArtifactId.InputBindingData getInputBinding() { + if (valueCase_ == 3) { + return (flyteidl.core.ArtifactId.InputBindingData) value_; + } + return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public flyteidl.core.ArtifactId.InputBindingDataOrBuilder getInputBindingOrBuilder() { + if (valueCase_ == 3) { + 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, (flyteidl.core.ArtifactId.ArtifactBindingData) value_); + } + if (valueCase_ == 3) { + output.writeMessage(3, (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, (flyteidl.core.ArtifactId.ArtifactBindingData) value_); + } + if (valueCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (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 (!getTriggeredBinding() + .equals(other.getTriggeredBinding())) return false; + break; + case 3: + 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) + TRIGGERED_BINDING_FIELD_NUMBER; + hash = (53 * hash) + getTriggeredBinding().hashCode(); + break; + case 3: + 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 (triggeredBindingBuilder_ == null) { + result.value_ = value_; + } else { + result.value_ = triggeredBindingBuilder_.build(); + } + } + if (valueCase_ == 3) { + 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 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; + } + + + /** + * 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; + } + } + /** + * 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; + } + } + /** + * string static_value = 1; + */ + public Builder setStaticValue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + valueCase_ = 1; + value_ = value; + onChanged(); + return this; + } + /** + * string static_value = 1; + */ + public Builder clearStaticValue() { + if (valueCase_ == 1) { + valueCase_ = 0; + value_ = null; + onChanged(); + } + return this; + } + /** + * 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< + flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder> triggeredBindingBuilder_; + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public boolean hasTriggeredBinding() { + return valueCase_ == 2; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public flyteidl.core.ArtifactId.ArtifactBindingData getTriggeredBinding() { + if (triggeredBindingBuilder_ == null) { + if (valueCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } else { + if (valueCase_ == 2) { + return triggeredBindingBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + 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_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public Builder setTriggeredBinding( + flyteidl.core.ArtifactId.ArtifactBindingData.Builder builderForValue) { + if (triggeredBindingBuilder_ == null) { + value_ = builderForValue.build(); + onChanged(); + } else { + triggeredBindingBuilder_.setMessage(builderForValue.build()); + } + valueCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public Builder mergeTriggeredBinding(flyteidl.core.ArtifactId.ArtifactBindingData value) { + if (triggeredBindingBuilder_ == null) { + if (valueCase_ == 2 && + 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_ == 2) { + triggeredBindingBuilder_.mergeFrom(value); + } + triggeredBindingBuilder_.setMessage(value); + } + valueCase_ = 2; + return this; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public Builder clearTriggeredBinding() { + if (triggeredBindingBuilder_ == null) { + if (valueCase_ == 2) { + valueCase_ = 0; + value_ = null; + onChanged(); + } + } else { + if (valueCase_ == 2) { + valueCase_ = 0; + value_ = null; + } + triggeredBindingBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public flyteidl.core.ArtifactId.ArtifactBindingData.Builder getTriggeredBindingBuilder() { + return getTriggeredBindingFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + public flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder getTriggeredBindingOrBuilder() { + if ((valueCase_ == 2) && (triggeredBindingBuilder_ != null)) { + return triggeredBindingBuilder_.getMessageOrBuilder(); + } else { + if (valueCase_ == 2) { + return (flyteidl.core.ArtifactId.ArtifactBindingData) value_; + } + return flyteidl.core.ArtifactId.ArtifactBindingData.getDefaultInstance(); + } + } + /** + * .flyteidl.core.ArtifactBindingData triggered_binding = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactBindingData, flyteidl.core.ArtifactId.ArtifactBindingData.Builder, flyteidl.core.ArtifactId.ArtifactBindingDataOrBuilder> + getTriggeredBindingFieldBuilder() { + if (triggeredBindingBuilder_ == null) { + if (!(valueCase_ == 2)) { + 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_ = 2; + 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 = 3; + */ + public boolean hasInputBinding() { + return valueCase_ == 3; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public flyteidl.core.ArtifactId.InputBindingData getInputBinding() { + if (inputBindingBuilder_ == null) { + if (valueCase_ == 3) { + return (flyteidl.core.ArtifactId.InputBindingData) value_; + } + return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } else { + if (valueCase_ == 3) { + return inputBindingBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + 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_ = 3; + return this; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public Builder setInputBinding( + flyteidl.core.ArtifactId.InputBindingData.Builder builderForValue) { + if (inputBindingBuilder_ == null) { + value_ = builderForValue.build(); + onChanged(); + } else { + inputBindingBuilder_.setMessage(builderForValue.build()); + } + valueCase_ = 3; + return this; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public Builder mergeInputBinding(flyteidl.core.ArtifactId.InputBindingData value) { + if (inputBindingBuilder_ == null) { + if (valueCase_ == 3 && + 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_ == 3) { + inputBindingBuilder_.mergeFrom(value); + } + inputBindingBuilder_.setMessage(value); + } + valueCase_ = 3; + return this; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public Builder clearInputBinding() { + if (inputBindingBuilder_ == null) { + if (valueCase_ == 3) { + valueCase_ = 0; + value_ = null; + onChanged(); + } + } else { + if (valueCase_ == 3) { + valueCase_ = 0; + value_ = null; + } + inputBindingBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public flyteidl.core.ArtifactId.InputBindingData.Builder getInputBindingBuilder() { + return getInputBindingFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + public flyteidl.core.ArtifactId.InputBindingDataOrBuilder getInputBindingOrBuilder() { + if ((valueCase_ == 3) && (inputBindingBuilder_ != null)) { + return inputBindingBuilder_.getMessageOrBuilder(); + } else { + if (valueCase_ == 3) { + return (flyteidl.core.ArtifactId.InputBindingData) value_; + } + return flyteidl.core.ArtifactId.InputBindingData.getDefaultInstance(); + } + } + /** + * .flyteidl.core.InputBindingData input_binding = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.InputBindingData, flyteidl.core.ArtifactId.InputBindingData.Builder, flyteidl.core.ArtifactId.InputBindingDataOrBuilder> + getInputBindingFieldBuilder() { + if (inputBindingBuilder_ == null) { + if (!(valueCase_ == 3)) { + 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_ = 3; + 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 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(); + + /** + * .flyteidl.core.Partitions partitions = 3; + */ + boolean hasPartitions(); + /** + * .flyteidl.core.Partitions partitions = 3; + */ + flyteidl.core.ArtifactId.Partitions getPartitions(); + /** + * .flyteidl.core.Partitions partitions = 3; + */ + flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder(); + + public flyteidl.core.ArtifactId.ArtifactID.DimensionsCase getDimensionsCase(); + } + /** + * 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 (dimensionsCase_ == 3) { + subBuilder = ((flyteidl.core.ArtifactId.Partitions) dimensions_).toBuilder(); + } + dimensions_ = + input.readMessage(flyteidl.core.ArtifactId.Partitions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.core.ArtifactId.Partitions) dimensions_); + dimensions_ = subBuilder.buildPartial(); + } + dimensionsCase_ = 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.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); + } + + private int dimensionsCase_ = 0; + private java.lang.Object dimensions_; + public enum DimensionsCase + implements com.google.protobuf.Internal.EnumLite { + PARTITIONS(3), + DIMENSIONS_NOT_SET(0); + private final int value; + private DimensionsCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DimensionsCase valueOf(int value) { + return forNumber(value); + } + + public static DimensionsCase forNumber(int value) { + switch (value) { + case 3: return PARTITIONS; + case 0: return DIMENSIONS_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public DimensionsCase + getDimensionsCase() { + return DimensionsCase.forNumber( + dimensionsCase_); + } + + 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; + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public boolean hasPartitions() { + return dimensionsCase_ == 3; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public flyteidl.core.ArtifactId.Partitions getPartitions() { + if (dimensionsCase_ == 3) { + return (flyteidl.core.ArtifactId.Partitions) dimensions_; + } + return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder() { + if (dimensionsCase_ == 3) { + return (flyteidl.core.ArtifactId.Partitions) dimensions_; + } + return flyteidl.core.ArtifactId.Partitions.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 (artifactKey_ != null) { + output.writeMessage(1, getArtifactKey()); + } + if (!getVersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); + } + if (dimensionsCase_ == 3) { + output.writeMessage(3, (flyteidl.core.ArtifactId.Partitions) dimensions_); + } + 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 (dimensionsCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (flyteidl.core.ArtifactId.Partitions) dimensions_); + } + size += unknownFields.getSerializedSize(); + 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 (!getDimensionsCase().equals(other.getDimensionsCase())) return false; + switch (dimensionsCase_) { + case 3: + if (!getPartitions() + .equals(other.getPartitions())) 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 (hasArtifactKey()) { + hash = (37 * hash) + ARTIFACT_KEY_FIELD_NUMBER; + hash = (53 * hash) + getArtifactKey().hashCode(); + } + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + switch (dimensionsCase_) { + case 3: + hash = (37 * hash) + PARTITIONS_FIELD_NUMBER; + hash = (53 * hash) + getPartitions().hashCode(); + break; + case 0: + default: + } + 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_ = ""; + + dimensionsCase_ = 0; + dimensions_ = 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 (dimensionsCase_ == 3) { + if (partitionsBuilder_ == null) { + result.dimensions_ = dimensions_; + } else { + result.dimensions_ = partitionsBuilder_.build(); + } + } + result.dimensionsCase_ = dimensionsCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + 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(); + } + switch (other.getDimensionsCase()) { + case PARTITIONS: { + mergePartitions(other.getPartitions()); + break; + } + case DIMENSIONS_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.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 int dimensionsCase_ = 0; + private java.lang.Object dimensions_; + public DimensionsCase + getDimensionsCase() { + return DimensionsCase.forNumber( + dimensionsCase_); + } + + public Builder clearDimensions() { + dimensionsCase_ = 0; + dimensions_ = null; + onChanged(); + 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 com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.Partitions, flyteidl.core.ArtifactId.Partitions.Builder, flyteidl.core.ArtifactId.PartitionsOrBuilder> partitionsBuilder_; + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public boolean hasPartitions() { + return dimensionsCase_ == 3; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public flyteidl.core.ArtifactId.Partitions getPartitions() { + if (partitionsBuilder_ == null) { + if (dimensionsCase_ == 3) { + return (flyteidl.core.ArtifactId.Partitions) dimensions_; + } + return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } else { + if (dimensionsCase_ == 3) { + return partitionsBuilder_.getMessage(); + } + return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public Builder setPartitions(flyteidl.core.ArtifactId.Partitions value) { + if (partitionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dimensions_ = value; + onChanged(); + } else { + partitionsBuilder_.setMessage(value); + } + dimensionsCase_ = 3; + return this; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public Builder setPartitions( + flyteidl.core.ArtifactId.Partitions.Builder builderForValue) { + if (partitionsBuilder_ == null) { + dimensions_ = builderForValue.build(); + onChanged(); + } else { + partitionsBuilder_.setMessage(builderForValue.build()); + } + dimensionsCase_ = 3; + return this; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public Builder mergePartitions(flyteidl.core.ArtifactId.Partitions value) { + if (partitionsBuilder_ == null) { + if (dimensionsCase_ == 3 && + dimensions_ != flyteidl.core.ArtifactId.Partitions.getDefaultInstance()) { + dimensions_ = flyteidl.core.ArtifactId.Partitions.newBuilder((flyteidl.core.ArtifactId.Partitions) dimensions_) + .mergeFrom(value).buildPartial(); + } else { + dimensions_ = value; + } + onChanged(); + } else { + if (dimensionsCase_ == 3) { + partitionsBuilder_.mergeFrom(value); + } + partitionsBuilder_.setMessage(value); + } + dimensionsCase_ = 3; + return this; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public Builder clearPartitions() { + if (partitionsBuilder_ == null) { + if (dimensionsCase_ == 3) { + dimensionsCase_ = 0; + dimensions_ = null; + onChanged(); + } + } else { + if (dimensionsCase_ == 3) { + dimensionsCase_ = 0; + dimensions_ = null; + } + partitionsBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public flyteidl.core.ArtifactId.Partitions.Builder getPartitionsBuilder() { + return getPartitionsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.Partitions partitions = 3; + */ + public flyteidl.core.ArtifactId.PartitionsOrBuilder getPartitionsOrBuilder() { + if ((dimensionsCase_ == 3) && (partitionsBuilder_ != null)) { + return partitionsBuilder_.getMessageOrBuilder(); + } else { + if (dimensionsCase_ == 3) { + return (flyteidl.core.ArtifactId.Partitions) dimensions_; + } + return flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } + } + /** + * .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) { + if (!(dimensionsCase_ == 3)) { + dimensions_ = flyteidl.core.ArtifactId.Partitions.getDefaultInstance(); + } + partitionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.ArtifactId.Partitions, flyteidl.core.ArtifactId.Partitions.Builder, flyteidl.core.ArtifactId.PartitionsOrBuilder>( + (flyteidl.core.ArtifactId.Partitions) dimensions_, + getParentForChildren(), + isClean()); + dimensions_ = null; + } + dimensionsCase_ = 3; + onChanged();; + return partitionsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(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; + } + + } + + public interface TriggerOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.core.Trigger) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + boolean hasTriggerId(); + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + flyteidl.core.IdentifierOuterClass.Identifier getTriggerId(); + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder(); + + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + java.util.List + getTriggersList(); + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + flyteidl.core.ArtifactId.ArtifactID getTriggers(int index); + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + int getTriggersCount(); + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + java.util.List + getTriggersOrBuilderList(); + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getTriggersOrBuilder( + int index); + } + /** + * Protobuf type {@code flyteidl.core.Trigger} + */ + public static final class Trigger extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.core.Trigger) + TriggerOrBuilder { + private static final long serialVersionUID = 0L; + // Use Trigger.newBuilder() to construct. + private Trigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Trigger() { + triggers_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Trigger( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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 (triggerId_ != null) { + subBuilder = triggerId_.toBuilder(); + } + triggerId_ = input.readMessage(flyteidl.core.IdentifierOuterClass.Identifier.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(triggerId_); + triggerId_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + triggers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + triggers_.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_ & 0x00000002) != 0)) { + triggers_ = java.util.Collections.unmodifiableList(triggers_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Trigger_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Trigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.Trigger.class, flyteidl.core.ArtifactId.Trigger.Builder.class); + } + + private int bitField0_; + public static final int TRIGGER_ID_FIELD_NUMBER = 1; + private flyteidl.core.IdentifierOuterClass.Identifier triggerId_; + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public boolean hasTriggerId() { + return triggerId_ != null; + } + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getTriggerId() { + return triggerId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } + /** + *
+     * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+     * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder() { + return getTriggerId(); + } + + public static final int TRIGGERS_FIELD_NUMBER = 2; + private java.util.List triggers_; + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public java.util.List getTriggersList() { + return triggers_; + } + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public java.util.List + getTriggersOrBuilderList() { + return triggers_; + } + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public int getTriggersCount() { + return triggers_.size(); + } + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID getTriggers(int index) { + return triggers_.get(index); + } + /** + *
+     * These are partial artifact IDs that will be triggered on
+     * Consider making these ArtifactQuery instead.
+     * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getTriggersOrBuilder( + int index) { + return triggers_.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 (triggerId_ != null) { + output.writeMessage(1, getTriggerId()); + } + for (int i = 0; i < triggers_.size(); i++) { + output.writeMessage(2, triggers_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (triggerId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTriggerId()); + } + for (int i = 0; i < triggers_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, triggers_.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.ArtifactId.Trigger)) { + return super.equals(obj); + } + flyteidl.core.ArtifactId.Trigger other = (flyteidl.core.ArtifactId.Trigger) obj; + + if (hasTriggerId() != other.hasTriggerId()) return false; + if (hasTriggerId()) { + if (!getTriggerId() + .equals(other.getTriggerId())) return false; + } + if (!getTriggersList() + .equals(other.getTriggersList())) return false; + if (!unknownFields.equals(other.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 (hasTriggerId()) { + hash = (37 * hash) + TRIGGER_ID_FIELD_NUMBER; + hash = (53 * hash) + getTriggerId().hashCode(); + } + if (getTriggersCount() > 0) { + hash = (37 * hash) + TRIGGERS_FIELD_NUMBER; + hash = (53 * hash) + getTriggersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.core.ArtifactId.Trigger parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.Trigger 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.Trigger parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.Trigger 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.Trigger parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom( + java.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.Trigger parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.Trigger parseDelimitedFrom( + java.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.Trigger parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.core.ArtifactId.Trigger parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(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.Trigger prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new 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.Trigger} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.core.Trigger) + flyteidl.core.ArtifactId.TriggerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Trigger_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Trigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.core.ArtifactId.Trigger.class, flyteidl.core.ArtifactId.Trigger.Builder.class); + } + + // Construct using flyteidl.core.ArtifactId.Trigger.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getTriggersFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (triggerIdBuilder_ == null) { + triggerId_ = null; + } else { + triggerId_ = null; + triggerIdBuilder_ = null; + } + if (triggersBuilder_ == null) { + triggers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + triggersBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.core.ArtifactId.internal_static_flyteidl_core_Trigger_descriptor; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Trigger getDefaultInstanceForType() { + return flyteidl.core.ArtifactId.Trigger.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Trigger build() { + flyteidl.core.ArtifactId.Trigger result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.core.ArtifactId.Trigger buildPartial() { + flyteidl.core.ArtifactId.Trigger result = new flyteidl.core.ArtifactId.Trigger(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (triggerIdBuilder_ == null) { + result.triggerId_ = triggerId_; + } else { + result.triggerId_ = triggerIdBuilder_.build(); + } + if (triggersBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + triggers_ = java.util.Collections.unmodifiableList(triggers_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.triggers_ = triggers_; + } else { + result.triggers_ = triggersBuilder_.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.ArtifactId.Trigger) { + return mergeFrom((flyteidl.core.ArtifactId.Trigger)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.core.ArtifactId.Trigger other) { + if (other == flyteidl.core.ArtifactId.Trigger.getDefaultInstance()) return this; + if (other.hasTriggerId()) { + mergeTriggerId(other.getTriggerId()); + } + if (triggersBuilder_ == null) { + if (!other.triggers_.isEmpty()) { + if (triggers_.isEmpty()) { + triggers_ = other.triggers_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTriggersIsMutable(); + triggers_.addAll(other.triggers_); + } + onChanged(); + } + } else { + if (!other.triggers_.isEmpty()) { + if (triggersBuilder_.isEmpty()) { + triggersBuilder_.dispose(); + triggersBuilder_ = null; + triggers_ = other.triggers_; + bitField0_ = (bitField0_ & ~0x00000002); + triggersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTriggersFieldBuilder() : null; + } else { + triggersBuilder_.addAllMessages(other.triggers_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean 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.Trigger parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.core.ArtifactId.Trigger) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private flyteidl.core.IdentifierOuterClass.Identifier triggerId_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> triggerIdBuilder_; + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public boolean hasTriggerId() { + return triggerIdBuilder_ != null || triggerId_ != null; + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier getTriggerId() { + if (triggerIdBuilder_ == null) { + return triggerId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } else { + return triggerIdBuilder_.getMessage(); + } + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder setTriggerId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (triggerIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + triggerId_ = value; + onChanged(); + } else { + triggerIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder setTriggerId( + flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { + if (triggerIdBuilder_ == null) { + triggerId_ = builderForValue.build(); + onChanged(); + } else { + triggerIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder mergeTriggerId(flyteidl.core.IdentifierOuterClass.Identifier value) { + if (triggerIdBuilder_ == null) { + if (triggerId_ != null) { + triggerId_ = + flyteidl.core.IdentifierOuterClass.Identifier.newBuilder(triggerId_).mergeFrom(value).buildPartial(); + } else { + triggerId_ = value; + } + onChanged(); + } else { + triggerIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public Builder clearTriggerId() { + if (triggerIdBuilder_ == null) { + triggerId_ = null; + onChanged(); + } else { + triggerId_ = null; + triggerIdBuilder_ = null; + } + + return this; + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.Identifier.Builder getTriggerIdBuilder() { + + onChanged(); + return getTriggerIdFieldBuilder().getBuilder(); + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder() { + if (triggerIdBuilder_ != null) { + return triggerIdBuilder_.getMessageOrBuilder(); + } else { + return triggerId_ == null ? + flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : triggerId_; + } + } + /** + *
+       * This will be set to a launch plan type, but note that this is different than the actual launch plan type.
+       * 
+ * + * .flyteidl.core.Identifier trigger_id = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder> + getTriggerIdFieldBuilder() { + if (triggerIdBuilder_ == null) { + triggerIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.IdentifierOuterClass.Identifier, flyteidl.core.IdentifierOuterClass.Identifier.Builder, flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder>( + getTriggerId(), + getParentForChildren(), + isClean()); + triggerId_ = null; + } + return triggerIdBuilder_; + } + + private java.util.List triggers_ = + java.util.Collections.emptyList(); + private void ensureTriggersIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + triggers_ = new java.util.ArrayList(triggers_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> triggersBuilder_; + + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public java.util.List getTriggersList() { + if (triggersBuilder_ == null) { + return java.util.Collections.unmodifiableList(triggers_); + } else { + return triggersBuilder_.getMessageList(); + } + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public int getTriggersCount() { + if (triggersBuilder_ == null) { + return triggers_.size(); + } else { + return triggersBuilder_.getCount(); + } + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID getTriggers(int index) { + if (triggersBuilder_ == null) { + return triggers_.get(index); + } else { + return triggersBuilder_.getMessage(index); + } + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder setTriggers( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (triggersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTriggersIsMutable(); + triggers_.set(index, value); + onChanged(); + } else { + triggersBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder setTriggers( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (triggersBuilder_ == null) { + ensureTriggersIsMutable(); + triggers_.set(index, builderForValue.build()); + onChanged(); + } else { + triggersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder addTriggers(flyteidl.core.ArtifactId.ArtifactID value) { + if (triggersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTriggersIsMutable(); + triggers_.add(value); + onChanged(); + } else { + triggersBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder addTriggers( + int index, flyteidl.core.ArtifactId.ArtifactID value) { + if (triggersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTriggersIsMutable(); + triggers_.add(index, value); + onChanged(); + } else { + triggersBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder addTriggers( + flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (triggersBuilder_ == null) { + ensureTriggersIsMutable(); + triggers_.add(builderForValue.build()); + onChanged(); + } else { + triggersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder addTriggers( + int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { + if (triggersBuilder_ == null) { + ensureTriggersIsMutable(); + triggers_.add(index, builderForValue.build()); + onChanged(); + } else { + triggersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder addAllTriggers( + java.lang.Iterable values) { + if (triggersBuilder_ == null) { + ensureTriggersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, triggers_); + onChanged(); + } else { + triggersBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder clearTriggers() { + if (triggersBuilder_ == null) { + triggers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + triggersBuilder_.clear(); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public Builder removeTriggers(int index) { + if (triggersBuilder_ == null) { + ensureTriggersIsMutable(); + triggers_.remove(index); + onChanged(); + } else { + triggersBuilder_.remove(index); + } + return this; + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getTriggersBuilder( + int index) { + return getTriggersFieldBuilder().getBuilder(index); + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getTriggersOrBuilder( + int index) { + if (triggersBuilder_ == null) { + return triggers_.get(index); } else { + return triggersBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public java.util.List + getTriggersOrBuilderList() { + if (triggersBuilder_ != null) { + return triggersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(triggers_); + } + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addTriggersBuilder() { + return getTriggersFieldBuilder().addBuilder( + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addTriggersBuilder( + int index) { + return getTriggersFieldBuilder().addBuilder( + index, flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * These are partial artifact IDs that will be triggered on
+       * Consider making these ArtifactQuery instead.
+       * 
+ * + * repeated .flyteidl.core.ArtifactID triggers = 2; + */ + public java.util.List + getTriggersBuilderList() { + return getTriggersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder> + getTriggersFieldBuilder() { + if (triggersBuilder_ == null) { + triggersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( + triggers_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + triggers_ = null; + } + return triggersBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(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.Trigger) + } + + // @@protoc_insertion_point(class_scope:flyteidl.core.Trigger) + private static final flyteidl.core.ArtifactId.Trigger DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.core.ArtifactId.Trigger(); + } + + public static flyteidl.core.ArtifactId.Trigger getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Trigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Trigger(input, extensionRegistry); + } + }; + + public 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.Trigger 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_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; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_core_Trigger_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_core_Trigger_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\036flyteidl/core/identifier.proto" + + "\"<\n\013ArtifactKey\022\017\n\007project\030\001 \001(\t\022\016\n\006doma" + + "in\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"N\n\023ArtifactBindin" + + "gData\022\r\n\005index\030\001 \001(\r\022\025\n\rpartition_key\030\002 " + + "\001(\t\022\021\n\ttransform\030\003 \001(\t\"\037\n\020InputBindingDa" + + "ta\022\013\n\003var\030\001 \001(\t\"\250\001\n\nLabelValue\022\026\n\014static" + + "_value\030\001 \001(\tH\000\022?\n\021triggered_binding\030\002 \001(" + + "\0132\".flyteidl.core.ArtifactBindingDataH\000\022" + + "8\n\rinput_binding\030\003 \001(\0132\037.flyteidl.core.I" + + "nputBindingDataH\000B\007\n\005value\"\212\001\n\nPartition" + + "s\0223\n\005value\030\001 \003(\0132$.flyteidl.core.Partiti" + + "ons.ValueEntry\032G\n\nValueEntry\022\013\n\003key\030\001 \001(" + + "\t\022(\n\005value\030\002 \001(\0132\031.flyteidl.core.LabelVa" + + "lue:\0028\001\"\216\001\n\nArtifactID\0220\n\014artifact_key\030\001" + + " \001(\0132\032.flyteidl.core.ArtifactKey\022\017\n\007vers" + + "ion\030\002 \001(\t\022/\n\npartitions\030\003 \001(\0132\031.flyteidl" + + ".core.PartitionsH\000B\014\n\ndimensions\"i\n\013Arti" + + "factTag\0220\n\014artifact_key\030\001 \001(\0132\032.flyteidl" + + ".core.ArtifactKey\022(\n\005value\030\002 \001(\0132\031.flyte" + + "idl.core.LabelValue\"\311\001\n\rArtifactQuery\0220\n" + + "\013artifact_id\030\001 \001(\0132\031.flyteidl.core.Artif" + + "actIDH\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\007bi" + + "nding\030\004 \001(\0132\".flyteidl.core.ArtifactBind" + + "ingDataH\000B\014\n\nidentifier\"e\n\007Trigger\022-\n\ntr" + + "igger_id\030\001 \001(\0132\031.flyteidl.core.Identifie" + + "r\022+\n\010triggers\030\002 \003(\0132\031.flyteidl.core.Arti" + + "factIDB + *+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(); } /** *
@@ -124,6 +165,32 @@ private Variable(
               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)) {
@@ -231,6 +298,63 @@ public java.lang.String getDescription() {
       }
     }
 
+    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() { @@ -251,6 +375,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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); } @@ -267,6 +397,14 @@ public int getSerializedSize() { 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; @@ -289,6 +427,16 @@ public boolean equals(final java.lang.Object obj) { } 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; } @@ -306,6 +454,14 @@ public int 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; @@ -451,6 +607,18 @@ public Builder clear() { } description_ = ""; + if (artifactPartialIdBuilder_ == null) { + artifactPartialId_ = null; + } else { + artifactPartialId_ = null; + artifactPartialIdBuilder_ = null; + } + if (artifactTagBuilder_ == null) { + artifactTag_ = null; + } else { + artifactTag_ = null; + artifactTagBuilder_ = null; + } return this; } @@ -483,6 +651,16 @@ public flyteidl.core.Interface.Variable buildPartial() { 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; } @@ -538,6 +716,12 @@ public Builder mergeFrom(flyteidl.core.Interface.Variable other) { description_ = other.description_; onChanged(); } + if (other.hasArtifactPartialId()) { + mergeArtifactPartialId(other.getArtifactPartialId()); + } + if (other.hasArtifactTag()) { + mergeArtifactTag(other.getArtifactTag()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -808,6 +992,285 @@ public Builder setDescriptionBytes( 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) { @@ -2525,6 +2988,47 @@ public interface ParameterOrBuilder extends */ 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(); } /** @@ -2603,6 +3107,34 @@ private Parameter( 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)) { @@ -2641,6 +3173,8 @@ 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) { @@ -2658,6 +3192,8 @@ 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; } @@ -2759,6 +3295,73 @@ public boolean getRequired() { 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() { @@ -2783,6 +3386,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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); } @@ -2805,6 +3414,14 @@ public int getSerializedSize() { .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; @@ -2835,6 +3452,14 @@ public boolean equals(final java.lang.Object obj) { 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: } @@ -2863,6 +3488,14 @@ public int hashCode() { 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: } @@ -3053,6 +3686,20 @@ public flyteidl.core.Interface.Parameter buildPartial() { 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; @@ -3114,6 +3761,14 @@ public Builder mergeFrom(flyteidl.core.Interface.Parameter other) { setRequired(other.getRequired()); break; } + case ARTIFACT_QUERY: { + mergeArtifactQuery(other.getArtifactQuery()); + break; + } + case ARTIFACT_ID: { + mergeArtifactId(other.getArtifactId()); + break; + } case BEHAVIOR_NOT_SET: { break; } @@ -3528,6 +4183,323 @@ public Builder clearRequired() { } 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) { @@ -4420,24 +5392,30 @@ public flyteidl.core.Interface.ParameterMap getDefaultInstanceForType() { java.lang.String[] descriptorData = { "\n\035flyteidl/core/interface.proto\022\rflyteid" + "l.core\032\031flyteidl/core/types.proto\032\034flyte" + - "idl/core/literals.proto\"I\n\010Variable\022(\n\004t" + - "ype\030\001 \001(\0132\032.flyteidl.core.LiteralType\022\023\n" + - "\013description\030\002 \001(\t\"\226\001\n\013VariableMap\022<\n\tva" + - "riables\030\001 \003(\0132).flyteidl.core.VariableMa" + - "p.VariablesEntry\032I\n\016VariablesEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.flyteidl.core.V" + - "ariable:\0028\001\"i\n\016TypedInterface\022*\n\006inputs\030" + - "\001 \001(\0132\032.flyteidl.core.VariableMap\022+\n\007out" + - "puts\030\002 \001(\0132\032.flyteidl.core.VariableMap\"|" + - "\n\tParameter\022$\n\003var\030\001 \001(\0132\027.flyteidl.core" + - ".Variable\022)\n\007default\030\002 \001(\0132\026.flyteidl.co" + - "re.LiteralH\000\022\022\n\010required\030\003 \001(\010H\000B\n\n\010beha" + - "vior\"\234\001\n\014ParameterMap\022?\n\nparameters\030\001 \003(" + - "\0132+.flyteidl.core.ParameterMap.Parameter" + - "sEntry\032K\n\017ParametersEntry\022\013\n\003key\030\001 \001(\t\022\'" + - "\n\005value\030\002 \001(\0132\030.flyteidl.core.Parameter:" + - "\0028\001B + * 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(); } /** @@ -9471,6 +9525,19 @@ private Literal( 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)) { @@ -9495,6 +9562,18 @@ private Literal( 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() { @@ -9503,6 +9582,7 @@ private Literal( 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 @@ -9703,6 +9783,98 @@ public java.lang.String getHash() { } } + 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() { @@ -9729,6 +9901,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getHashBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hash_); } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 5); unknownFields.writeTo(output); } @@ -9753,6 +9931,16 @@ public int getSerializedSize() { 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; @@ -9770,6 +9958,8 @@ public boolean equals(final java.lang.Object 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: @@ -9800,6 +9990,10 @@ public int hashCode() { 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; @@ -9927,6 +10121,28 @@ public static final class Builder extends 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() { @@ -9955,6 +10171,7 @@ public Builder clear() { super.clear(); hash_ = ""; + internalGetMutableMetadata().clear(); valueCase_ = 0; value_ = null; return this; @@ -9983,6 +10200,8 @@ public flyteidl.core.Literals.Literal build() { @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_; @@ -10005,6 +10224,9 @@ public flyteidl.core.Literals.Literal buildPartial() { } } result.hash_ = hash_; + result.metadata_ = internalGetMetadata(); + result.metadata_.makeImmutable(); + result.bitField0_ = to_bitField0_; result.valueCase_ = valueCase_; onBuilt(); return result; @@ -10058,6 +10280,8 @@ public Builder mergeFrom(flyteidl.core.Literals.Literal other) { hash_ = other.hash_; onChanged(); } + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); switch (other.getValueCase()) { case SCALAR: { mergeScalar(other.getScalar()); @@ -10118,6 +10342,7 @@ public Builder clearValue() { return this; } + private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Literals.Scalar, flyteidl.core.Literals.Scalar.Builder, flyteidl.core.Literals.ScalarOrBuilder> scalarBuilder_; @@ -10733,6 +10958,157 @@ public Builder setHashBytes( 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) { @@ -18408,6 +18784,11 @@ public flyteidl.core.Literals.RetryStrategy getDefaultInstanceForType() { 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 @@ -18504,36 +18885,39 @@ public flyteidl.core.Literals.RetryStrategy getDefaultInstanceForType() { "(\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\"\253\001\n\007Literal\022\'\n\006sca" + + "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(\tB\007\n\005value\"=\n\021L" + - "iteralCollection\022(\n\010literals\030\001 \003(\0132\026.fly" + - "teidl.core.Literal\"\220\001\n\nLiteralMap\0229\n\010lit" + - "erals\030\001 \003(\0132\'.flyteidl.core.LiteralMap.L" + - "iteralsEntry\032G\n\rLiteralsEntry\022\013\n\003key\030\001 \001" + - "(\t\022%\n\005value\030\002 \001(\0132\026.flyteidl.core.Litera" + - "l:\0028\001\"E\n\025BindingDataCollection\022,\n\010bindin" + - "gs\030\001 \003(\0132\032.flyteidl.core.BindingData\"\234\001\n" + - "\016BindingDataMap\022=\n\010bindings\030\001 \003(\0132+.flyt" + - "eidl.core.BindingDataMap.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\tU" + - "nionInfo\022.\n\ntargetType\030\001 \001(\0132\032.flyteidl." + - "core.LiteralType\"\205\002\n\013BindingData\022\'\n\006scal" + - "ar\030\001 \001(\0132\025.flyteidl.core.ScalarH\000\022:\n\ncol" + - "lection\030\002 \001(\0132$.flyteidl.core.BindingDat" + - "aCollectionH\000\0221\n\007promise\030\003 \001(\0132\036.flyteid" + - "l.core.OutputReferenceH\000\022,\n\003map\030\004 \001(\0132\035." + - "flyteidl.core.BindingDataMapH\000\022\'\n\005union\030" + - "\005 \001(\0132\030.flyteidl.core.UnionInfoB\007\n\005value" + - "\"C\n\007Binding\022\013\n\003var\030\001 \001(\t\022+\n\007binding\030\002 \001(" + - "\0132\032.flyteidl.core.BindingData\"*\n\014KeyValu" + - "ePair\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\" \n\rRet" + - "ryStrategy\022\017\n\007retries\030\005 \001(\rB.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.LiteralMap output_data = 2; + */ + boolean hasOutputData(); + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + flyteidl.core.Literals.LiteralMap getOutputData(); + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); + + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + boolean hasOutputInterface(); + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + flyteidl.core.Interface.TypedInterface getOutputInterface(); + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder(); + + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + boolean hasInputData(); + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + flyteidl.core.Literals.LiteralMap getInputData(); + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder(); + + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index); + + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + */ + boolean hasReferenceExecution(); + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution(); + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + */ + flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder(); + + /** + * string principal = 7; + */ + java.lang.String getPrincipal(); + /** + * string principal = 7; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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.Literals.LiteralMap.Builder subBuilder = null; + if (outputData_ != null) { + subBuilder = outputData_.toBuilder(); + } + outputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputData_); + outputData_ = 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: { + flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; + if (inputData_ != null) { + subBuilder = inputData_.toBuilder(); + } + inputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputData_); + inputData_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + artifactIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + artifactIds_.add( + input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); + break; + } + case 50: { + 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 58: { + java.lang.String s = input.readStringRequireUtf8(); + + principal_ = s; + break; + } + case 66: { + 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_ & 0x00000010) != 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_DATA_FIELD_NUMBER = 2; + private flyteidl.core.Literals.LiteralMap outputData_; + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public boolean hasOutputData() { + return outputData_ != null; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMap getOutputData() { + return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { + return getOutputData(); + } + + public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 3; + private flyteidl.core.Interface.TypedInterface outputInterface_; + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public boolean hasOutputInterface() { + return outputInterface_ != null; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterface getOutputInterface() { + return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { + return getOutputInterface(); + } + + public static final int INPUT_DATA_FIELD_NUMBER = 4; + private flyteidl.core.Literals.LiteralMap inputData_; + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public boolean hasInputData() { + return inputData_ != null; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMap getInputData() { + return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { + return getInputData(); + } + + public static final int ARTIFACT_IDS_FIELD_NUMBER = 5; + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + return artifactIds_.get(index); + } + + public static final int REFERENCE_EXECUTION_FIELD_NUMBER = 6; + private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + */ + public boolean hasReferenceExecution() { + return referenceExecution_ != null; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { + return referenceExecution_ == null ? flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.getDefaultInstance() : referenceExecution_; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { + return getReferenceExecution(); + } + + public static final int PRINCIPAL_FIELD_NUMBER = 7; + private volatile java.lang.Object principal_; + /** + * string principal = 7; + */ + 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 = 7; + */ + 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 = 8; + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 (outputData_ != null) { + output.writeMessage(2, getOutputData()); + } + if (outputInterface_ != null) { + output.writeMessage(3, getOutputInterface()); + } + if (inputData_ != null) { + output.writeMessage(4, getInputData()); + } + for (int i = 0; i < artifactIds_.size(); i++) { + output.writeMessage(5, artifactIds_.get(i)); + } + if (referenceExecution_ != null) { + output.writeMessage(6, getReferenceExecution()); + } + if (!getPrincipalBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, principal_); + } + if (launchPlanId_ != null) { + output.writeMessage(8, 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 (outputData_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOutputData()); + } + if (outputInterface_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOutputInterface()); + } + if (inputData_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInputData()); + } + for (int i = 0; i < artifactIds_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, artifactIds_.get(i)); + } + if (referenceExecution_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getReferenceExecution()); + } + if (!getPrincipalBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, principal_); + } + if (launchPlanId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, 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 (hasOutputData() != other.hasOutputData()) return false; + if (hasOutputData()) { + if (!getOutputData() + .equals(other.getOutputData())) return false; + } + if (hasOutputInterface() != other.hasOutputInterface()) return false; + if (hasOutputInterface()) { + if (!getOutputInterface() + .equals(other.getOutputInterface())) return false; + } + if (hasInputData() != other.hasInputData()) return false; + if (hasInputData()) { + if (!getInputData() + .equals(other.getInputData())) 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 (hasOutputData()) { + hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; + hash = (53 * hash) + getOutputData().hashCode(); + } + if (hasOutputInterface()) { + hash = (37 * hash) + OUTPUT_INTERFACE_FIELD_NUMBER; + hash = (53 * hash) + getOutputInterface().hashCode(); + } + if (hasInputData()) { + hash = (37 * hash) + INPUT_DATA_FIELD_NUMBER; + hash = (53 * hash) + getInputData().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 (outputDataBuilder_ == null) { + outputData_ = null; + } else { + outputData_ = null; + outputDataBuilder_ = null; + } + if (outputInterfaceBuilder_ == null) { + outputInterface_ = null; + } else { + outputInterface_ = null; + outputInterfaceBuilder_ = null; + } + if (inputDataBuilder_ == null) { + inputData_ = null; + } else { + inputData_ = null; + inputDataBuilder_ = null; + } + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + } 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 (outputDataBuilder_ == null) { + result.outputData_ = outputData_; + } else { + result.outputData_ = outputDataBuilder_.build(); + } + if (outputInterfaceBuilder_ == null) { + result.outputInterface_ = outputInterface_; + } else { + result.outputInterface_ = outputInterfaceBuilder_.build(); + } + if (inputDataBuilder_ == null) { + result.inputData_ = inputData_; + } else { + result.inputData_ = inputDataBuilder_.build(); + } + if (artifactIdsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); + bitField0_ = (bitField0_ & ~0x00000010); + } + 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.hasOutputData()) { + mergeOutputData(other.getOutputData()); + } + if (other.hasOutputInterface()) { + mergeOutputInterface(other.getOutputInterface()); + } + if (other.hasInputData()) { + mergeInputData(other.getInputData()); + } + if (artifactIdsBuilder_ == null) { + if (!other.artifactIds_.isEmpty()) { + if (artifactIds_.isEmpty()) { + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureArtifactIdsIsMutable(); + artifactIds_.addAll(other.artifactIds_); + } + onChanged(); + } + } else { + if (!other.artifactIds_.isEmpty()) { + if (artifactIdsBuilder_.isEmpty()) { + artifactIdsBuilder_.dispose(); + artifactIdsBuilder_ = null; + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000010); + 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.Literals.LiteralMap outputData_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public boolean hasOutputData() { + return outputDataBuilder_ != null || outputData_ != null; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMap getOutputData() { + if (outputDataBuilder_ == null) { + return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } else { + return outputDataBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { + if (outputDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outputData_ = value; + onChanged(); + } else { + outputDataBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder setOutputData( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (outputDataBuilder_ == null) { + outputData_ = builderForValue.build(); + onChanged(); + } else { + outputDataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { + if (outputDataBuilder_ == null) { + if (outputData_ != null) { + outputData_ = + flyteidl.core.Literals.LiteralMap.newBuilder(outputData_).mergeFrom(value).buildPartial(); + } else { + outputData_ = value; + } + onChanged(); + } else { + outputDataBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public Builder clearOutputData() { + if (outputDataBuilder_ == null) { + outputData_ = null; + onChanged(); + } else { + outputData_ = null; + outputDataBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { + + onChanged(); + return getOutputDataFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { + if (outputDataBuilder_ != null) { + return outputDataBuilder_.getMessageOrBuilder(); + } else { + return outputData_ == null ? + flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } + } + /** + * .flyteidl.core.LiteralMap output_data = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getOutputDataFieldBuilder() { + if (outputDataBuilder_ == null) { + outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + getOutputData(), + getParentForChildren(), + isClean()); + outputData_ = null; + } + return outputDataBuilder_; + } + + 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 = 3; + */ + public boolean hasOutputInterface() { + return outputInterfaceBuilder_ != null || outputInterface_ != null; + } + /** + * .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(); + } + } + /** + * .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; + } + /** + * .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; + } + /** + * .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; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public Builder clearOutputInterface() { + if (outputInterfaceBuilder_ == null) { + outputInterface_ = null; + onChanged(); + } else { + outputInterface_ = null; + outputInterfaceBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.TypedInterface output_interface = 3; + */ + public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder() { + + onChanged(); + return getOutputInterfaceFieldBuilder().getBuilder(); + } + /** + * .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_; + } + } + /** + * .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 flyteidl.core.Literals.LiteralMap inputData_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputDataBuilder_; + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public boolean hasInputData() { + return inputDataBuilder_ != null || inputData_ != null; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMap getInputData() { + if (inputDataBuilder_ == null) { + return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } else { + return inputDataBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder setInputData(flyteidl.core.Literals.LiteralMap value) { + if (inputDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inputData_ = value; + onChanged(); + } else { + inputDataBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder setInputData( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (inputDataBuilder_ == null) { + inputData_ = builderForValue.build(); + onChanged(); + } else { + inputDataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder mergeInputData(flyteidl.core.Literals.LiteralMap value) { + if (inputDataBuilder_ == null) { + if (inputData_ != null) { + inputData_ = + flyteidl.core.Literals.LiteralMap.newBuilder(inputData_).mergeFrom(value).buildPartial(); + } else { + inputData_ = value; + } + onChanged(); + } else { + inputDataBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public Builder clearInputData() { + if (inputDataBuilder_ == null) { + inputData_ = null; + onChanged(); + } else { + inputData_ = null; + inputDataBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMap.Builder getInputDataBuilder() { + + onChanged(); + return getInputDataFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { + if (inputDataBuilder_ != null) { + return inputDataBuilder_.getMessageOrBuilder(); + } else { + return inputData_ == null ? + flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } + } + /** + * .flyteidl.core.LiteralMap input_data = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getInputDataFieldBuilder() { + if (inputDataBuilder_ == null) { + inputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + getInputData(), + getParentForChildren(), + isClean()); + inputData_ = null; + } + return inputDataBuilder_; + } + + private java.util.List artifactIds_ = + java.util.Collections.emptyList(); + private void ensureArtifactIdsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + artifactIds_ = new java.util.ArrayList(artifactIds_); + bitField0_ |= 0x00000010; + } + } + + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + public Builder clearArtifactIds() { + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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 = 5; + */ + 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_ & 0x00000010) != 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 = 6; + */ + public boolean hasReferenceExecution() { + return referenceExecutionBuilder_ != null || referenceExecution_ != null; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + public Builder clearReferenceExecution() { + if (referenceExecutionBuilder_ == null) { + referenceExecution_ = null; + onChanged(); + } else { + referenceExecution_ = null; + referenceExecutionBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + */ + public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getReferenceExecutionBuilder() { + + onChanged(); + return getReferenceExecutionFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + */ + 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 = 6; + */ + 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 = 7; + */ + 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 = 7; + */ + 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 = 7; + */ + public Builder setPrincipal( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + principal_ = value; + onChanged(); + return this; + } + /** + * string principal = 7; + */ + public Builder clearPrincipal() { + + principal_ = getDefaultInstance().getPrincipal(); + onChanged(); + return this; + } + /** + * string principal = 7; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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(); + + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + boolean hasOutputData(); + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + flyteidl.core.Literals.LiteralMap getOutputData(); + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); + + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 4; + */ + boolean hasOutputInterface(); + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 4; + */ + flyteidl.core.Interface.TypedInterface getOutputInterface(); + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 4; + */ + flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder(); + + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + boolean hasInputData(); + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + flyteidl.core.Literals.LiteralMap getInputData(); + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder(); + + /** + *
+     * The following are ExecutionMetadata fields
+     * We can't have the ExecutionMetadata object directly because of import cycle
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index); + + /** + * string principal = 7; + */ + java.lang.String getPrincipal(); + /** + * string principal = 7; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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.Literals.LiteralMap.Builder subBuilder = null; + if (outputData_ != null) { + subBuilder = outputData_.toBuilder(); + } + outputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(outputData_); + outputData_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + 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 42: { + flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; + if (inputData_ != null) { + subBuilder = inputData_.toBuilder(); + } + inputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputData_); + inputData_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + artifactIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000020; + } + artifactIds_.add( + input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + principal_ = s; + break; + } + case 66: { + 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_ & 0x00000020) != 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_DATA_FIELD_NUMBER = 3; + private flyteidl.core.Literals.LiteralMap outputData_; + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public boolean hasOutputData() { + return outputData_ != null; + } + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public flyteidl.core.Literals.LiteralMap getOutputData() { + return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } + /** + *
+     * Hydrated output
+     * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { + return getOutputData(); + } + + public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 4; + private flyteidl.core.Interface.TypedInterface outputInterface_; + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 4; + */ + public boolean hasOutputInterface() { + return outputInterface_ != null; + } + /** + *
+     * The typed interface for the task that produced the event.
+     * 
+ * + * .flyteidl.core.TypedInterface output_interface = 4; + */ + 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 = 4; + */ + public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { + return getOutputInterface(); + } + + public static final int INPUT_DATA_FIELD_NUMBER = 5; + private flyteidl.core.Literals.LiteralMap inputData_; + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public boolean hasInputData() { + return inputData_ != null; + } + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public flyteidl.core.Literals.LiteralMap getInputData() { + return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { + return getInputData(); + } + + public static final int ARTIFACT_IDS_FIELD_NUMBER = 6; + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + return artifactIds_.get(index); + } + + public static final int PRINCIPAL_FIELD_NUMBER = 7; + private volatile java.lang.Object principal_; + /** + * string principal = 7; + */ + 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 = 7; + */ + 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 = 8; + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 (outputData_ != null) { + output.writeMessage(3, getOutputData()); + } + if (outputInterface_ != null) { + output.writeMessage(4, getOutputInterface()); + } + if (inputData_ != null) { + output.writeMessage(5, getInputData()); + } + for (int i = 0; i < artifactIds_.size(); i++) { + output.writeMessage(6, artifactIds_.get(i)); + } + if (!getPrincipalBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, principal_); + } + if (launchPlanId_ != null) { + output.writeMessage(8, 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 (outputData_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOutputData()); + } + if (outputInterface_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getOutputInterface()); + } + if (inputData_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getInputData()); + } + for (int i = 0; i < artifactIds_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, artifactIds_.get(i)); + } + if (!getPrincipalBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, principal_); + } + if (launchPlanId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, 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 (hasOutputData() != other.hasOutputData()) return false; + if (hasOutputData()) { + if (!getOutputData() + .equals(other.getOutputData())) return false; + } + if (hasOutputInterface() != other.hasOutputInterface()) return false; + if (hasOutputInterface()) { + if (!getOutputInterface() + .equals(other.getOutputInterface())) return false; + } + if (hasInputData() != other.hasInputData()) return false; + if (hasInputData()) { + if (!getInputData() + .equals(other.getInputData())) 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 (hasOutputData()) { + hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; + hash = (53 * hash) + getOutputData().hashCode(); + } + if (hasOutputInterface()) { + hash = (37 * hash) + OUTPUT_INTERFACE_FIELD_NUMBER; + hash = (53 * hash) + getOutputInterface().hashCode(); + } + if (hasInputData()) { + hash = (37 * hash) + INPUT_DATA_FIELD_NUMBER; + hash = (53 * hash) + getInputData().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 (outputDataBuilder_ == null) { + outputData_ = null; + } else { + outputData_ = null; + outputDataBuilder_ = null; + } + if (outputInterfaceBuilder_ == null) { + outputInterface_ = null; + } else { + outputInterface_ = null; + outputInterfaceBuilder_ = null; + } + if (inputDataBuilder_ == null) { + inputData_ = null; + } else { + inputData_ = null; + inputDataBuilder_ = null; + } + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + } 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 (outputDataBuilder_ == null) { + result.outputData_ = outputData_; + } else { + result.outputData_ = outputDataBuilder_.build(); + } + if (outputInterfaceBuilder_ == null) { + result.outputInterface_ = outputInterface_; + } else { + result.outputInterface_ = outputInterfaceBuilder_.build(); + } + if (inputDataBuilder_ == null) { + result.inputData_ = inputData_; + } else { + result.inputData_ = inputDataBuilder_.build(); + } + if (artifactIdsBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); + bitField0_ = (bitField0_ & ~0x00000020); + } + 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.hasOutputData()) { + mergeOutputData(other.getOutputData()); + } + if (other.hasOutputInterface()) { + mergeOutputInterface(other.getOutputInterface()); + } + if (other.hasInputData()) { + mergeInputData(other.getInputData()); + } + if (artifactIdsBuilder_ == null) { + if (!other.artifactIds_.isEmpty()) { + if (artifactIds_.isEmpty()) { + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000020); + } else { + ensureArtifactIdsIsMutable(); + artifactIds_.addAll(other.artifactIds_); + } + onChanged(); + } + } else { + if (!other.artifactIds_.isEmpty()) { + if (artifactIdsBuilder_.isEmpty()) { + artifactIdsBuilder_.dispose(); + artifactIdsBuilder_ = null; + artifactIds_ = other.artifactIds_; + bitField0_ = (bitField0_ & ~0x00000020); + 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.Literals.LiteralMap outputData_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public boolean hasOutputData() { + return outputDataBuilder_ != null || outputData_ != null; + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public flyteidl.core.Literals.LiteralMap getOutputData() { + if (outputDataBuilder_ == null) { + return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } else { + return outputDataBuilder_.getMessage(); + } + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { + if (outputDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outputData_ = value; + onChanged(); + } else { + outputDataBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public Builder setOutputData( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (outputDataBuilder_ == null) { + outputData_ = builderForValue.build(); + onChanged(); + } else { + outputDataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { + if (outputDataBuilder_ == null) { + if (outputData_ != null) { + outputData_ = + flyteidl.core.Literals.LiteralMap.newBuilder(outputData_).mergeFrom(value).buildPartial(); + } else { + outputData_ = value; + } + onChanged(); + } else { + outputDataBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public Builder clearOutputData() { + if (outputDataBuilder_ == null) { + outputData_ = null; + onChanged(); + } else { + outputData_ = null; + outputDataBuilder_ = null; + } + + return this; + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { + + onChanged(); + return getOutputDataFieldBuilder().getBuilder(); + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { + if (outputDataBuilder_ != null) { + return outputDataBuilder_.getMessageOrBuilder(); + } else { + return outputData_ == null ? + flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; + } + } + /** + *
+       * Hydrated output
+       * 
+ * + * .flyteidl.core.LiteralMap output_data = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getOutputDataFieldBuilder() { + if (outputDataBuilder_ == null) { + outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + getOutputData(), + getParentForChildren(), + isClean()); + outputData_ = null; + } + return outputDataBuilder_; + } + + 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 = 4; + */ + public boolean hasOutputInterface() { + return outputInterfaceBuilder_ != null || outputInterface_ != null; + } + /** + *
+       * The typed interface for the task that produced the event.
+       * 
+ * + * .flyteidl.core.TypedInterface output_interface = 4; + */ + 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 = 4; + */ + 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 = 4; + */ + 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 = 4; + */ + 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 = 4; + */ + 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 = 4; + */ + 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 = 4; + */ + 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 = 4; + */ + 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 flyteidl.core.Literals.LiteralMap inputData_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputDataBuilder_; + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public boolean hasInputData() { + return inputDataBuilder_ != null || inputData_ != null; + } + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public flyteidl.core.Literals.LiteralMap getInputData() { + if (inputDataBuilder_ == null) { + return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } else { + return inputDataBuilder_.getMessage(); + } + } + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public Builder setInputData(flyteidl.core.Literals.LiteralMap value) { + if (inputDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inputData_ = value; + onChanged(); + } else { + inputDataBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public Builder setInputData( + flyteidl.core.Literals.LiteralMap.Builder builderForValue) { + if (inputDataBuilder_ == null) { + inputData_ = builderForValue.build(); + onChanged(); + } else { + inputDataBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public Builder mergeInputData(flyteidl.core.Literals.LiteralMap value) { + if (inputDataBuilder_ == null) { + if (inputData_ != null) { + inputData_ = + flyteidl.core.Literals.LiteralMap.newBuilder(inputData_).mergeFrom(value).buildPartial(); + } else { + inputData_ = value; + } + onChanged(); + } else { + inputDataBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public Builder clearInputData() { + if (inputDataBuilder_ == null) { + inputData_ = null; + onChanged(); + } else { + inputData_ = null; + inputDataBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public flyteidl.core.Literals.LiteralMap.Builder getInputDataBuilder() { + + onChanged(); + return getInputDataFieldBuilder().getBuilder(); + } + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { + if (inputDataBuilder_ != null) { + return inputDataBuilder_.getMessageOrBuilder(); + } else { + return inputData_ == null ? + flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; + } + } + /** + * .flyteidl.core.LiteralMap input_data = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> + getInputDataFieldBuilder() { + if (inputDataBuilder_ == null) { + inputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( + getInputData(), + getParentForChildren(), + isClean()); + inputData_ = null; + } + return inputDataBuilder_; + } + + private java.util.List artifactIds_ = + java.util.Collections.emptyList(); + private void ensureArtifactIdsIsMutable() { + if (!((bitField0_ & 0x00000020) != 0)) { + artifactIds_ = new java.util.ArrayList(artifactIds_); + bitField0_ |= 0x00000020; + } + } + + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + public Builder clearArtifactIds() { + if (artifactIdsBuilder_ == null) { + artifactIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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 = 6; + */ + 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_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); + artifactIds_ = null; + } + return artifactIdsBuilder_; + } + + private java.lang.Object principal_ = ""; + /** + * string principal = 7; + */ + 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 = 7; + */ + 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 = 7; + */ + public Builder setPrincipal( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + principal_ = value; + onChanged(); + return this; + } + /** + * string principal = 7; + */ + public Builder clearPrincipal() { + + principal_ = getDefaultInstance().getPrincipal(); + onChanged(); + return this; + } + /** + * string principal = 7; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 = 8; + */ + 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 IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + java.util.List + getArtifactIdsList(); + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + int getArtifactIdsCount(); + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + java.util.List + getArtifactIdsOrBuilderList(); + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index); + + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + java.util.List + getArtifactKeysList(); + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + int getArtifactKeysCount(); + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + java.lang.String getArtifactKeys(int index); + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + com.google.protobuf.ByteString + getArtifactKeysBytes(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(); + artifactKeys_ = 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)) { + artifactKeys_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000010; + } + artifactKeys_.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)) { + artifactKeys_ = artifactKeys_.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 IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public java.util.List getArtifactIdsList() { + return artifactIds_; + } + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public java.util.List + getArtifactIdsOrBuilderList() { + return artifactIds_; + } + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public int getArtifactIdsCount() { + return artifactIds_.size(); + } + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { + return artifactIds_.get(index); + } + /** + *
+     * Artifact IDs found
+     * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( + int index) { + return artifactIds_.get(index); + } + + public static final int ARTIFACT_KEYS_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList artifactKeys_; + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + public com.google.protobuf.ProtocolStringList + getArtifactKeysList() { + return artifactKeys_; + } + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + public int getArtifactKeysCount() { + return artifactKeys_.size(); + } + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + public java.lang.String getArtifactKeys(int index) { + return artifactKeys_.get(index); + } + /** + *
+     * Artifact keys found.
+     * 
+ * + * repeated string artifact_keys = 5; + */ + public com.google.protobuf.ByteString + getArtifactKeysBytes(int index) { + return artifactKeys_.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 < artifactKeys_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, artifactKeys_.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 < artifactKeys_.size(); i++) { + dataSize += computeStringSizeNoTag(artifactKeys_.getRaw(i)); + } + size += dataSize; + size += 1 * getArtifactKeysList().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 (!getArtifactKeysList() + .equals(other.getArtifactKeysList())) 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 (getArtifactKeysCount() > 0) { + hash = (37 * hash) + ARTIFACT_KEYS_FIELD_NUMBER; + hash = (53 * hash) + getArtifactKeysList().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(); + } + artifactKeys_ = 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)) { + artifactKeys_ = artifactKeys_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.artifactKeys_ = artifactKeys_; + 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.artifactKeys_.isEmpty()) { + if (artifactKeys_.isEmpty()) { + artifactKeys_ = other.artifactKeys_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureArtifactKeysIsMutable(); + artifactKeys_.addAll(other.artifactKeys_); + } + 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public int getArtifactIdsCount() { + if (artifactIdsBuilder_ == null) { + return artifactIds_.size(); + } else { + return artifactIdsBuilder_.getCount(); + } + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( + int index) { + return getArtifactIdsFieldBuilder().getBuilder(index); + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; + */ + public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { + return getArtifactIdsFieldBuilder().addBuilder( + flyteidl.core.ArtifactId.ArtifactID.getDefaultInstance()); + } + /** + *
+       * Artifact IDs found
+       * 
+ * + * 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 IDs found
+       * 
+ * + * 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 artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureArtifactKeysIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + artifactKeys_ = new com.google.protobuf.LazyStringArrayList(artifactKeys_); + bitField0_ |= 0x00000010; + } + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public com.google.protobuf.ProtocolStringList + getArtifactKeysList() { + return artifactKeys_.getUnmodifiableView(); + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public int getArtifactKeysCount() { + return artifactKeys_.size(); + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public java.lang.String getArtifactKeys(int index) { + return artifactKeys_.get(index); + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public com.google.protobuf.ByteString + getArtifactKeysBytes(int index) { + return artifactKeys_.getByteString(index); + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public Builder setArtifactKeys( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactKeysIsMutable(); + artifactKeys_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public Builder addArtifactKeys( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureArtifactKeysIsMutable(); + artifactKeys_.add(value); + onChanged(); + return this; + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public Builder addAllArtifactKeys( + java.lang.Iterable values) { + ensureArtifactKeysIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifactKeys_); + onChanged(); + return this; + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public Builder clearArtifactKeys() { + artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+       * Artifact keys found.
+       * 
+ * + * repeated string artifact_keys = 5; + */ + public Builder addArtifactKeysBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureArtifactKeysIsMutable(); + artifactKeys_.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\"\260\003" + + "\n\033CloudEventWorkflowExecution\0229\n\traw_eve" + + "nt\030\001 \001(\0132&.flyteidl.event.WorkflowExecut" + + "ionEvent\022.\n\013output_data\030\002 \001(\0132\031.flyteidl" + + ".core.LiteralMap\0227\n\020output_interface\030\003 \001" + + "(\0132\035.flyteidl.core.TypedInterface\022-\n\ninp" + + "ut_data\030\004 \001(\0132\031.flyteidl.core.LiteralMap" + + "\022/\n\014artifact_ids\030\005 \003(\0132\031.flyteidl.core.A" + + "rtifactID\022G\n\023reference_execution\030\006 \001(\0132*" + + ".flyteidl.core.WorkflowExecutionIdentifi" + + "er\022\021\n\tprincipal\030\007 \001(\t\0221\n\016launch_plan_id\030" + + "\010 \001(\0132\031.flyteidl.core.Identifier\"\235\003\n\027Clo" + + "udEventNodeExecution\0225\n\traw_event\030\001 \001(\0132" + + "\".flyteidl.event.NodeExecutionEvent\022<\n\014t" + + "ask_exec_id\030\002 \001(\0132&.flyteidl.core.TaskEx" + + "ecutionIdentifier\022.\n\013output_data\030\003 \001(\0132\031" + + ".flyteidl.core.LiteralMap\0227\n\020output_inte" + + "rface\030\004 \001(\0132\035.flyteidl.core.TypedInterfa" + + "ce\022-\n\ninput_data\030\005 \001(\0132\031.flyteidl.core.L" + + "iteralMap\022/\n\014artifact_ids\030\006 \003(\0132\031.flytei" + + "dl.core.ArtifactID\022\021\n\tprincipal\030\007 \001(\t\0221\n" + + "\016launch_plan_id\030\010 \001(\0132\031.flyteidl.core.Id" + + "entifier\"P\n\027CloudEventTaskExecution\0225\n\tr" + + "aw_event\030\001 \001(\0132\".flyteidl.event.TaskExec" + + "utionEvent\"\232\002\n\030CloudEventExecutionStart\022" + + "@\n\014execution_id\030\001 \001(\0132*.flyteidl.core.Wo" + + "rkflowExecutionIdentifier\0221\n\016launch_plan" + + "_id\030\002 \001(\0132\031.flyteidl.core.Identifier\022.\n\013" + + "workflow_id\030\003 \001(\0132\031.flyteidl.core.Identi" + + "fier\022/\n\014artifact_ids\030\004 \003(\0132\031.flyteidl.co" + + "re.ArtifactID\022\025\n\rartifact_keys\030\005 \003(\t\022\021\n\t" + + "principal\030\006 \001(\tB=Z;github.com/flyteorg/f" + + "lyte/flyteidl/gen/pb-go/flyteidl/eventb\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.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", "OutputData", "OutputInterface", "InputData", "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", "OutputData", "OutputInterface", "InputData", "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", "ArtifactKeys", "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-js/flyteidl.d.ts b/flyteidl/gen/pb-js/flyteidl.d.ts index 9570d8dc7b..af564753d4 100644 --- a/flyteidl/gen/pb-js/flyteidl.d.ts +++ b/flyteidl/gen/pb-js/flyteidl.d.ts @@ -5,198 +5,559 @@ export namespace flyteidl { /** Namespace core. */ namespace core { - /** CatalogCacheStatus enum. */ - 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 - } + /** Properties of an ArtifactKey. */ + interface IArtifactKey { - /** Properties of a CatalogArtifactTag. */ - interface ICatalogArtifactTag { + /** ArtifactKey project */ + project?: (string|null); - /** CatalogArtifactTag artifactId */ - artifactId?: (string|null); + /** ArtifactKey domain */ + domain?: (string|null); - /** CatalogArtifactTag name */ + /** ArtifactKey name */ name?: (string|null); } - /** Represents a CatalogArtifactTag. */ - class CatalogArtifactTag implements ICatalogArtifactTag { + /** Represents an ArtifactKey. */ + class ArtifactKey implements IArtifactKey { /** - * Constructs a new CatalogArtifactTag. + * Constructs a new ArtifactKey. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ICatalogArtifactTag); + constructor(properties?: flyteidl.core.IArtifactKey); - /** CatalogArtifactTag artifactId. */ - public artifactId: string; + /** ArtifactKey project. */ + public project: string; - /** CatalogArtifactTag name. */ + /** ArtifactKey domain. */ + public domain: string; + + /** ArtifactKey name. */ public name: string; /** - * Creates a new CatalogArtifactTag instance using the specified properties. + * Creates a new ArtifactKey instance using the specified properties. * @param [properties] Properties to set - * @returns CatalogArtifactTag instance + * @returns ArtifactKey instance */ - public static create(properties?: flyteidl.core.ICatalogArtifactTag): flyteidl.core.CatalogArtifactTag; + public static create(properties?: flyteidl.core.IArtifactKey): flyteidl.core.ArtifactKey; /** - * Encodes the specified CatalogArtifactTag message. Does not implicitly {@link flyteidl.core.CatalogArtifactTag.verify|verify} messages. - * @param message CatalogArtifactTag message or plain object to encode + * Encodes the specified ArtifactKey message. Does not implicitly {@link flyteidl.core.ArtifactKey.verify|verify} messages. + * @param message ArtifactKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ICatalogArtifactTag, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IArtifactKey, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CatalogArtifactTag message from the specified reader or buffer. + * Decodes an ArtifactKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CatalogArtifactTag + * @returns ArtifactKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogArtifactTag; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArtifactKey; /** - * Verifies a CatalogArtifactTag message. + * Verifies an ArtifactKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a CatalogMetadata. */ - interface ICatalogMetadata { + /** Properties of an ArtifactBindingData. */ + interface IArtifactBindingData { - /** CatalogMetadata datasetId */ - datasetId?: (flyteidl.core.IIdentifier|null); + /** ArtifactBindingData index */ + index?: (number|null); - /** CatalogMetadata artifactTag */ - artifactTag?: (flyteidl.core.ICatalogArtifactTag|null); + /** ArtifactBindingData partitionKey */ + partitionKey?: (string|null); - /** CatalogMetadata sourceTaskExecution */ - sourceTaskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** ArtifactBindingData transform */ + transform?: (string|null); } - /** Represents a CatalogMetadata. */ - class CatalogMetadata implements ICatalogMetadata { + /** Represents an ArtifactBindingData. */ + class ArtifactBindingData implements IArtifactBindingData { /** - * Constructs a new CatalogMetadata. + * Constructs a new ArtifactBindingData. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ICatalogMetadata); + constructor(properties?: flyteidl.core.IArtifactBindingData); - /** CatalogMetadata datasetId. */ - public datasetId?: (flyteidl.core.IIdentifier|null); + /** ArtifactBindingData index. */ + public index: number; - /** CatalogMetadata artifactTag. */ - public artifactTag?: (flyteidl.core.ICatalogArtifactTag|null); + /** ArtifactBindingData partitionKey. */ + public partitionKey: string; - /** CatalogMetadata sourceTaskExecution. */ - public sourceTaskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null); + /** ArtifactBindingData transform. */ + public transform: string; - /** CatalogMetadata sourceExecution. */ - public sourceExecution?: "sourceTaskExecution"; + /** + * Creates a new ArtifactBindingData instance using the specified properties. + * @param [properties] Properties to set + * @returns ArtifactBindingData instance + */ + public static create(properties?: flyteidl.core.IArtifactBindingData): flyteidl.core.ArtifactBindingData; /** - * Creates a new CatalogMetadata instance using the specified properties. + * Encodes the specified ArtifactBindingData message. Does not implicitly {@link flyteidl.core.ArtifactBindingData.verify|verify} messages. + * @param message ArtifactBindingData message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IArtifactBindingData, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ArtifactBindingData message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ArtifactBindingData + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArtifactBindingData; + + /** + * Verifies an ArtifactBindingData message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of an InputBindingData. */ + interface IInputBindingData { + + /** InputBindingData var */ + "var"?: (string|null); + } + + /** Represents an InputBindingData. */ + class InputBindingData implements IInputBindingData { + + /** + * Constructs a new InputBindingData. * @param [properties] Properties to set - * @returns CatalogMetadata instance */ - public static create(properties?: flyteidl.core.ICatalogMetadata): flyteidl.core.CatalogMetadata; + constructor(properties?: flyteidl.core.IInputBindingData); + + /** InputBindingData var. */ + public var: string; /** - * Encodes the specified CatalogMetadata message. Does not implicitly {@link flyteidl.core.CatalogMetadata.verify|verify} messages. - * @param message CatalogMetadata message or plain object to encode + * Creates a new InputBindingData instance using the specified properties. + * @param [properties] Properties to set + * @returns InputBindingData instance + */ + public static create(properties?: flyteidl.core.IInputBindingData): flyteidl.core.InputBindingData; + + /** + * Encodes the specified InputBindingData message. Does not implicitly {@link flyteidl.core.InputBindingData.verify|verify} messages. + * @param message InputBindingData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ICatalogMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.IInputBindingData, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CatalogMetadata message from the specified reader or buffer. + * Decodes an InputBindingData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CatalogMetadata + * @returns InputBindingData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogMetadata; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.InputBindingData; /** - * Verifies a CatalogMetadata message. + * Verifies an InputBindingData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - /** Properties of a CatalogReservation. */ - interface ICatalogReservation { + /** Properties of a LabelValue. */ + interface ILabelValue { + + /** LabelValue staticValue */ + staticValue?: (string|null); + + /** LabelValue triggeredBinding */ + triggeredBinding?: (flyteidl.core.IArtifactBindingData|null); + + /** LabelValue inputBinding */ + inputBinding?: (flyteidl.core.IInputBindingData|null); } - /** Represents a CatalogReservation. */ - class CatalogReservation implements ICatalogReservation { + /** Represents a LabelValue. */ + class LabelValue implements ILabelValue { /** - * Constructs a new CatalogReservation. + * Constructs a new LabelValue. * @param [properties] Properties to set */ - constructor(properties?: flyteidl.core.ICatalogReservation); + constructor(properties?: flyteidl.core.ILabelValue); + + /** LabelValue staticValue. */ + public staticValue: string; + + /** LabelValue triggeredBinding. */ + public triggeredBinding?: (flyteidl.core.IArtifactBindingData|null); + + /** LabelValue inputBinding. */ + public inputBinding?: (flyteidl.core.IInputBindingData|null); + + /** LabelValue value. */ + public value?: ("staticValue"|"triggeredBinding"|"inputBinding"); /** - * Creates a new CatalogReservation instance using the specified properties. + * Creates a new LabelValue instance using the specified properties. * @param [properties] Properties to set - * @returns CatalogReservation instance + * @returns LabelValue instance */ - public static create(properties?: flyteidl.core.ICatalogReservation): flyteidl.core.CatalogReservation; + public static create(properties?: flyteidl.core.ILabelValue): flyteidl.core.LabelValue; /** - * Encodes the specified CatalogReservation message. Does not implicitly {@link flyteidl.core.CatalogReservation.verify|verify} messages. - * @param message CatalogReservation message or plain object to encode + * Encodes the specified LabelValue message. Does not implicitly {@link flyteidl.core.LabelValue.verify|verify} messages. + * @param message LabelValue message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: flyteidl.core.ICatalogReservation, writer?: $protobuf.Writer): $protobuf.Writer; + public static encode(message: flyteidl.core.ILabelValue, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a CatalogReservation message from the specified reader or buffer. + * Decodes a LabelValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CatalogReservation + * @returns LabelValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogReservation; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.LabelValue; /** - * Verifies a CatalogReservation message. + * Verifies a LabelValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } - namespace CatalogReservation { + /** Properties of a Partitions. */ + interface IPartitions { - /** Status enum. */ - enum Status { - RESERVATION_DISABLED = 0, - RESERVATION_ACQUIRED = 1, - RESERVATION_EXISTS = 2, - RESERVATION_RELEASED = 3, - RESERVATION_FAILURE = 4 - } + /** Partitions value */ + value?: ({ [k: string]: flyteidl.core.ILabelValue }|null); + } + + /** Represents a Partitions. */ + class Partitions implements IPartitions { + + /** + * Constructs a new Partitions. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IPartitions); + + /** Partitions value. */ + public value: { [k: string]: flyteidl.core.ILabelValue }; + + /** + * Creates a new Partitions instance using the specified properties. + * @param [properties] Properties to set + * @returns Partitions instance + */ + public static create(properties?: flyteidl.core.IPartitions): flyteidl.core.Partitions; + + /** + * Encodes the specified Partitions message. Does not implicitly {@link flyteidl.core.Partitions.verify|verify} messages. + * @param message Partitions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IPartitions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Partitions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Partitions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Partitions; + + /** + * Verifies a Partitions message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of an ArtifactID. */ + interface IArtifactID { + + /** ArtifactID artifactKey */ + artifactKey?: (flyteidl.core.IArtifactKey|null); + + /** ArtifactID version */ + version?: (string|null); + + /** ArtifactID partitions */ + partitions?: (flyteidl.core.IPartitions|null); + } + + /** Represents an ArtifactID. */ + class ArtifactID implements IArtifactID { + + /** + * Constructs a new ArtifactID. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IArtifactID); + + /** ArtifactID artifactKey. */ + public artifactKey?: (flyteidl.core.IArtifactKey|null); + + /** ArtifactID version. */ + public version: string; + + /** ArtifactID partitions. */ + public partitions?: (flyteidl.core.IPartitions|null); + + /** ArtifactID dimensions. */ + public dimensions?: "partitions"; + + /** + * Creates a new ArtifactID instance using the specified properties. + * @param [properties] Properties to set + * @returns ArtifactID instance + */ + public static create(properties?: flyteidl.core.IArtifactID): flyteidl.core.ArtifactID; + + /** + * Encodes the specified ArtifactID message. Does not implicitly {@link flyteidl.core.ArtifactID.verify|verify} messages. + * @param message ArtifactID message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IArtifactID, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ArtifactID message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ArtifactID + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArtifactID; + + /** + * Verifies an ArtifactID message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of an ArtifactTag. */ + interface IArtifactTag { + + /** ArtifactTag artifactKey */ + artifactKey?: (flyteidl.core.IArtifactKey|null); + + /** ArtifactTag value */ + value?: (flyteidl.core.ILabelValue|null); + } + + /** Represents an ArtifactTag. */ + class ArtifactTag implements IArtifactTag { + + /** + * Constructs a new ArtifactTag. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IArtifactTag); + + /** ArtifactTag artifactKey. */ + public artifactKey?: (flyteidl.core.IArtifactKey|null); + + /** ArtifactTag value. */ + public value?: (flyteidl.core.ILabelValue|null); + + /** + * Creates a new ArtifactTag instance using the specified properties. + * @param [properties] Properties to set + * @returns ArtifactTag instance + */ + public static create(properties?: flyteidl.core.IArtifactTag): flyteidl.core.ArtifactTag; + + /** + * Encodes the specified ArtifactTag message. Does not implicitly {@link flyteidl.core.ArtifactTag.verify|verify} messages. + * @param message ArtifactTag message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IArtifactTag, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ArtifactTag message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ArtifactTag + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArtifactTag; + + /** + * Verifies an ArtifactTag message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of an ArtifactQuery. */ + interface IArtifactQuery { + + /** ArtifactQuery artifactId */ + artifactId?: (flyteidl.core.IArtifactID|null); + + /** ArtifactQuery artifactTag */ + artifactTag?: (flyteidl.core.IArtifactTag|null); + + /** ArtifactQuery uri */ + uri?: (string|null); + + /** ArtifactQuery binding */ + binding?: (flyteidl.core.IArtifactBindingData|null); + } + + /** Represents an ArtifactQuery. */ + class ArtifactQuery implements IArtifactQuery { + + /** + * Constructs a new ArtifactQuery. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IArtifactQuery); + + /** ArtifactQuery artifactId. */ + public artifactId?: (flyteidl.core.IArtifactID|null); + + /** ArtifactQuery artifactTag. */ + public artifactTag?: (flyteidl.core.IArtifactTag|null); + + /** ArtifactQuery uri. */ + public uri: string; + + /** ArtifactQuery binding. */ + public binding?: (flyteidl.core.IArtifactBindingData|null); + + /** ArtifactQuery identifier. */ + public identifier?: ("artifactId"|"artifactTag"|"uri"|"binding"); + + /** + * Creates a new ArtifactQuery instance using the specified properties. + * @param [properties] Properties to set + * @returns ArtifactQuery instance + */ + public static create(properties?: flyteidl.core.IArtifactQuery): flyteidl.core.ArtifactQuery; + + /** + * Encodes the specified ArtifactQuery message. Does not implicitly {@link flyteidl.core.ArtifactQuery.verify|verify} messages. + * @param message ArtifactQuery message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IArtifactQuery, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ArtifactQuery message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ArtifactQuery + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ArtifactQuery; + + /** + * Verifies an ArtifactQuery message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a Trigger. */ + interface ITrigger { + + /** Trigger triggerId */ + triggerId?: (flyteidl.core.IIdentifier|null); + + /** Trigger triggers */ + triggers?: (flyteidl.core.IArtifactID[]|null); + } + + /** Represents a Trigger. */ + class Trigger implements ITrigger { + + /** + * Constructs a new Trigger. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ITrigger); + + /** Trigger triggerId. */ + public triggerId?: (flyteidl.core.IIdentifier|null); + + /** Trigger triggers. */ + public triggers: flyteidl.core.IArtifactID[]; + + /** + * Creates a new Trigger instance using the specified properties. + * @param [properties] Properties to set + * @returns Trigger instance + */ + public static create(properties?: flyteidl.core.ITrigger): flyteidl.core.Trigger; + + /** + * Encodes the specified Trigger message. Does not implicitly {@link flyteidl.core.Trigger.verify|verify} messages. + * @param message Trigger message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ITrigger, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Trigger message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Trigger + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Trigger; + + /** + * Verifies a Trigger message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); } /** ResourceType enum. */ @@ -511,23 +872,217 @@ export namespace flyteidl { public static encode(message: flyteidl.core.ISignalIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a SignalIdentifier message from the specified reader or buffer. + * Decodes a SignalIdentifier message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SignalIdentifier + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.SignalIdentifier; + + /** + * Verifies a SignalIdentifier message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** CatalogCacheStatus enum. */ + 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 + } + + /** Properties of a CatalogArtifactTag. */ + interface ICatalogArtifactTag { + + /** CatalogArtifactTag artifactId */ + artifactId?: (string|null); + + /** CatalogArtifactTag name */ + name?: (string|null); + } + + /** Represents a CatalogArtifactTag. */ + class CatalogArtifactTag implements ICatalogArtifactTag { + + /** + * Constructs a new CatalogArtifactTag. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ICatalogArtifactTag); + + /** CatalogArtifactTag artifactId. */ + public artifactId: string; + + /** CatalogArtifactTag name. */ + public name: string; + + /** + * Creates a new CatalogArtifactTag instance using the specified properties. + * @param [properties] Properties to set + * @returns CatalogArtifactTag instance + */ + public static create(properties?: flyteidl.core.ICatalogArtifactTag): flyteidl.core.CatalogArtifactTag; + + /** + * Encodes the specified CatalogArtifactTag message. Does not implicitly {@link flyteidl.core.CatalogArtifactTag.verify|verify} messages. + * @param message CatalogArtifactTag message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ICatalogArtifactTag, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CatalogArtifactTag message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CatalogArtifactTag + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogArtifactTag; + + /** + * Verifies a CatalogArtifactTag message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a CatalogMetadata. */ + interface ICatalogMetadata { + + /** CatalogMetadata datasetId */ + datasetId?: (flyteidl.core.IIdentifier|null); + + /** CatalogMetadata artifactTag */ + artifactTag?: (flyteidl.core.ICatalogArtifactTag|null); + + /** CatalogMetadata sourceTaskExecution */ + sourceTaskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null); + } + + /** Represents a CatalogMetadata. */ + class CatalogMetadata implements ICatalogMetadata { + + /** + * Constructs a new CatalogMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ICatalogMetadata); + + /** CatalogMetadata datasetId. */ + public datasetId?: (flyteidl.core.IIdentifier|null); + + /** CatalogMetadata artifactTag. */ + public artifactTag?: (flyteidl.core.ICatalogArtifactTag|null); + + /** CatalogMetadata sourceTaskExecution. */ + public sourceTaskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** CatalogMetadata sourceExecution. */ + public sourceExecution?: "sourceTaskExecution"; + + /** + * Creates a new CatalogMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns CatalogMetadata instance + */ + public static create(properties?: flyteidl.core.ICatalogMetadata): flyteidl.core.CatalogMetadata; + + /** + * Encodes the specified CatalogMetadata message. Does not implicitly {@link flyteidl.core.CatalogMetadata.verify|verify} messages. + * @param message CatalogMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ICatalogMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CatalogMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CatalogMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogMetadata; + + /** + * Verifies a CatalogMetadata message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a CatalogReservation. */ + interface ICatalogReservation { + } + + /** Represents a CatalogReservation. */ + class CatalogReservation implements ICatalogReservation { + + /** + * Constructs a new CatalogReservation. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ICatalogReservation); + + /** + * Creates a new CatalogReservation instance using the specified properties. + * @param [properties] Properties to set + * @returns CatalogReservation instance + */ + public static create(properties?: flyteidl.core.ICatalogReservation): flyteidl.core.CatalogReservation; + + /** + * Encodes the specified CatalogReservation message. Does not implicitly {@link flyteidl.core.CatalogReservation.verify|verify} messages. + * @param message CatalogReservation message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ICatalogReservation, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CatalogReservation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SignalIdentifier + * @returns CatalogReservation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.SignalIdentifier; + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogReservation; /** - * Verifies a SignalIdentifier message. + * Verifies a CatalogReservation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); } + namespace CatalogReservation { + + /** Status enum. */ + enum Status { + RESERVATION_DISABLED = 0, + RESERVATION_ACQUIRED = 1, + RESERVATION_EXISTS = 2, + RESERVATION_RELEASED = 3, + RESERVATION_FAILURE = 4 + } + } + /** Properties of a ConnectionSet. */ interface IConnectionSet { @@ -2859,6 +3414,9 @@ export namespace flyteidl { /** Literal hash */ hash?: (string|null); + + /** Literal metadata */ + metadata?: ({ [k: string]: string }|null); } /** Represents a Literal. */ @@ -2882,6 +3440,9 @@ export namespace flyteidl { /** Literal hash. */ public hash: string; + /** Literal metadata. */ + public metadata: { [k: string]: string }; + /** Literal value. */ public value?: ("scalar"|"collection"|"map"); @@ -4755,6 +5316,12 @@ export namespace flyteidl { /** Variable description */ description?: (string|null); + + /** Variable artifactPartialId */ + artifactPartialId?: (flyteidl.core.IArtifactID|null); + + /** Variable artifactTag */ + artifactTag?: (flyteidl.core.IArtifactTag|null); } /** Represents a Variable. */ @@ -4772,6 +5339,12 @@ export namespace flyteidl { /** Variable description. */ public description: string; + /** Variable artifactPartialId. */ + public artifactPartialId?: (flyteidl.core.IArtifactID|null); + + /** Variable artifactTag. */ + public artifactTag?: (flyteidl.core.IArtifactTag|null); + /** * Creates a new Variable instance using the specified properties. * @param [properties] Properties to set @@ -4926,6 +5499,12 @@ export namespace flyteidl { /** Parameter required */ required?: (boolean|null); + + /** Parameter artifactQuery */ + artifactQuery?: (flyteidl.core.IArtifactQuery|null); + + /** Parameter artifactId */ + artifactId?: (flyteidl.core.IArtifactID|null); } /** Represents a Parameter. */ @@ -4946,8 +5525,14 @@ export namespace flyteidl { /** Parameter required. */ public required: boolean; + /** Parameter artifactQuery. */ + public artifactQuery?: (flyteidl.core.IArtifactQuery|null); + + /** Parameter artifactId. */ + public artifactId?: (flyteidl.core.IArtifactID|null); + /** Parameter behavior. */ - public behavior?: ("default"|"required"); + public behavior?: ("default"|"required"|"artifactQuery"|"artifactId"); /** * Creates a new Parameter instance using the specified properties. @@ -6829,6 +7414,328 @@ export namespace flyteidl { /** Namespace event. */ namespace event { + /** Properties of a CloudEventWorkflowExecution. */ + interface ICloudEventWorkflowExecution { + + /** CloudEventWorkflowExecution rawEvent */ + rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); + + /** CloudEventWorkflowExecution outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + + /** CloudEventWorkflowExecution outputInterface */ + outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventWorkflowExecution inputData */ + inputData?: (flyteidl.core.ILiteralMap|null); + + /** CloudEventWorkflowExecution artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + + /** CloudEventWorkflowExecution referenceExecution */ + referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** CloudEventWorkflowExecution principal */ + principal?: (string|null); + + /** CloudEventWorkflowExecution launchPlanId */ + launchPlanId?: (flyteidl.core.IIdentifier|null); + } + + /** Represents a CloudEventWorkflowExecution. */ + class CloudEventWorkflowExecution implements ICloudEventWorkflowExecution { + + /** + * Constructs a new CloudEventWorkflowExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ICloudEventWorkflowExecution); + + /** CloudEventWorkflowExecution rawEvent. */ + public rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); + + /** CloudEventWorkflowExecution outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** CloudEventWorkflowExecution outputInterface. */ + public outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventWorkflowExecution inputData. */ + public inputData?: (flyteidl.core.ILiteralMap|null); + + /** CloudEventWorkflowExecution artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** CloudEventWorkflowExecution referenceExecution. */ + public referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** CloudEventWorkflowExecution principal. */ + public principal: string; + + /** CloudEventWorkflowExecution launchPlanId. */ + public launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** + * Creates a new CloudEventWorkflowExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudEventWorkflowExecution instance + */ + public static create(properties?: flyteidl.event.ICloudEventWorkflowExecution): flyteidl.event.CloudEventWorkflowExecution; + + /** + * Encodes the specified CloudEventWorkflowExecution message. Does not implicitly {@link flyteidl.event.CloudEventWorkflowExecution.verify|verify} messages. + * @param message CloudEventWorkflowExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ICloudEventWorkflowExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudEventWorkflowExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudEventWorkflowExecution + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventWorkflowExecution; + + /** + * Verifies a CloudEventWorkflowExecution message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a CloudEventNodeExecution. */ + interface ICloudEventNodeExecution { + + /** CloudEventNodeExecution rawEvent */ + rawEvent?: (flyteidl.event.INodeExecutionEvent|null); + + /** CloudEventNodeExecution taskExecId */ + taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** CloudEventNodeExecution outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + + /** CloudEventNodeExecution outputInterface */ + outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventNodeExecution inputData */ + inputData?: (flyteidl.core.ILiteralMap|null); + + /** CloudEventNodeExecution artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + + /** CloudEventNodeExecution principal */ + principal?: (string|null); + + /** CloudEventNodeExecution launchPlanId */ + launchPlanId?: (flyteidl.core.IIdentifier|null); + } + + /** Represents a CloudEventNodeExecution. */ + class CloudEventNodeExecution implements ICloudEventNodeExecution { + + /** + * Constructs a new CloudEventNodeExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ICloudEventNodeExecution); + + /** CloudEventNodeExecution rawEvent. */ + public rawEvent?: (flyteidl.event.INodeExecutionEvent|null); + + /** CloudEventNodeExecution taskExecId. */ + public taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** CloudEventNodeExecution outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** CloudEventNodeExecution outputInterface. */ + public outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventNodeExecution inputData. */ + public inputData?: (flyteidl.core.ILiteralMap|null); + + /** CloudEventNodeExecution artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** CloudEventNodeExecution principal. */ + public principal: string; + + /** CloudEventNodeExecution launchPlanId. */ + public launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** + * Creates a new CloudEventNodeExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudEventNodeExecution instance + */ + public static create(properties?: flyteidl.event.ICloudEventNodeExecution): flyteidl.event.CloudEventNodeExecution; + + /** + * Encodes the specified CloudEventNodeExecution message. Does not implicitly {@link flyteidl.event.CloudEventNodeExecution.verify|verify} messages. + * @param message CloudEventNodeExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ICloudEventNodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudEventNodeExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudEventNodeExecution + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventNodeExecution; + + /** + * Verifies a CloudEventNodeExecution message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a CloudEventTaskExecution. */ + interface ICloudEventTaskExecution { + + /** CloudEventTaskExecution rawEvent */ + rawEvent?: (flyteidl.event.ITaskExecutionEvent|null); + } + + /** Represents a CloudEventTaskExecution. */ + class CloudEventTaskExecution implements ICloudEventTaskExecution { + + /** + * Constructs a new CloudEventTaskExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ICloudEventTaskExecution); + + /** CloudEventTaskExecution rawEvent. */ + public rawEvent?: (flyteidl.event.ITaskExecutionEvent|null); + + /** + * Creates a new CloudEventTaskExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudEventTaskExecution instance + */ + public static create(properties?: flyteidl.event.ICloudEventTaskExecution): flyteidl.event.CloudEventTaskExecution; + + /** + * Encodes the specified CloudEventTaskExecution message. Does not implicitly {@link flyteidl.event.CloudEventTaskExecution.verify|verify} messages. + * @param message CloudEventTaskExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ICloudEventTaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudEventTaskExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudEventTaskExecution + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventTaskExecution; + + /** + * Verifies a CloudEventTaskExecution message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a CloudEventExecutionStart. */ + interface ICloudEventExecutionStart { + + /** CloudEventExecutionStart executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** CloudEventExecutionStart launchPlanId */ + launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart workflowId */ + workflowId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + + /** CloudEventExecutionStart artifactKeys */ + artifactKeys?: (string[]|null); + + /** CloudEventExecutionStart principal */ + principal?: (string|null); + } + + /** Represents a CloudEventExecutionStart. */ + class CloudEventExecutionStart implements ICloudEventExecutionStart { + + /** + * Constructs a new CloudEventExecutionStart. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ICloudEventExecutionStart); + + /** CloudEventExecutionStart executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** CloudEventExecutionStart launchPlanId. */ + public launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart workflowId. */ + public workflowId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** CloudEventExecutionStart artifactKeys. */ + public artifactKeys: string[]; + + /** CloudEventExecutionStart principal. */ + public principal: string; + + /** + * Creates a new CloudEventExecutionStart instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudEventExecutionStart instance + */ + public static create(properties?: flyteidl.event.ICloudEventExecutionStart): flyteidl.event.CloudEventExecutionStart; + + /** + * Encodes the specified CloudEventExecutionStart message. Does not implicitly {@link flyteidl.event.CloudEventExecutionStart.verify|verify} messages. + * @param message CloudEventExecutionStart message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ICloudEventExecutionStart, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudEventExecutionStart message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudEventExecutionStart + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.event.CloudEventExecutionStart; + + /** + * Verifies a CloudEventExecutionStart message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + /** Properties of a WorkflowExecutionEvent. */ interface IWorkflowExecutionEvent { @@ -11734,6 +12641,9 @@ export namespace flyteidl { /** ExecutionMetadata systemMetadata */ systemMetadata?: (flyteidl.admin.ISystemMetadata|null); + + /** ExecutionMetadata artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); } /** Represents an ExecutionMetadata. */ @@ -11766,6 +12676,9 @@ export namespace flyteidl { /** ExecutionMetadata systemMetadata. */ public systemMetadata?: (flyteidl.admin.ISystemMetadata|null); + /** ExecutionMetadata artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + /** * Creates a new ExecutionMetadata instance using the specified properties. * @param [properties] Properties to set @@ -13041,6 +13954,9 @@ export namespace flyteidl { /** LaunchPlanMetadata notifications */ notifications?: (flyteidl.admin.INotification[]|null); + + /** LaunchPlanMetadata launchConditions */ + launchConditions?: (google.protobuf.IAny|null); } /** Represents a LaunchPlanMetadata. */ @@ -13058,6 +13974,9 @@ export namespace flyteidl { /** LaunchPlanMetadata notifications. */ public notifications: flyteidl.admin.INotification[]; + /** LaunchPlanMetadata launchConditions. */ + public launchConditions?: (google.protobuf.IAny|null); + /** * Creates a new LaunchPlanMetadata instance using the specified properties. * @param [properties] Properties to set @@ -22597,6 +23516,64 @@ export namespace google { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of an Any. */ + interface IAny { + + /** Any type_url */ + type_url?: (string|null); + + /** Any value */ + value?: (Uint8Array|null); + } + + /** Represents an Any. */ + class Any implements IAny { + + /** + * Constructs a new Any. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IAny); + + /** Any type_url. */ + public type_url: string; + + /** Any value. */ + public value: Uint8Array; + + /** + * Creates a new Any instance using the specified properties. + * @param [properties] Properties to set + * @returns Any instance + */ + public static create(properties?: google.protobuf.IAny): google.protobuf.Any; + + /** + * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. + * @param message Any message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Any message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Any + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any; + + /** + * Verifies an Any message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + /** Properties of a FileDescriptorSet. */ interface IFileDescriptorSet { diff --git a/flyteidl/gen/pb-js/flyteidl.js b/flyteidl/gen/pb-js/flyteidl.js index ff88e85cd1..8375c630e7 100644 --- a/flyteidl/gen/pb-js/flyteidl.js +++ b/flyteidl/gen/pb-js/flyteidl.js @@ -34,49 +34,26 @@ */ var core = {}; - /** - * CatalogCacheStatus enum. - * @name flyteidl.core.CatalogCacheStatus - * @enum {string} - * @property {number} CACHE_DISABLED=0 CACHE_DISABLED value - * @property {number} CACHE_MISS=1 CACHE_MISS value - * @property {number} CACHE_HIT=2 CACHE_HIT value - * @property {number} CACHE_POPULATED=3 CACHE_POPULATED value - * @property {number} CACHE_LOOKUP_FAILURE=4 CACHE_LOOKUP_FAILURE value - * @property {number} CACHE_PUT_FAILURE=5 CACHE_PUT_FAILURE value - * @property {number} CACHE_SKIPPED=6 CACHE_SKIPPED value - */ - core.CatalogCacheStatus = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "CACHE_DISABLED"] = 0; - values[valuesById[1] = "CACHE_MISS"] = 1; - values[valuesById[2] = "CACHE_HIT"] = 2; - values[valuesById[3] = "CACHE_POPULATED"] = 3; - values[valuesById[4] = "CACHE_LOOKUP_FAILURE"] = 4; - values[valuesById[5] = "CACHE_PUT_FAILURE"] = 5; - values[valuesById[6] = "CACHE_SKIPPED"] = 6; - return values; - })(); - - core.CatalogArtifactTag = (function() { + core.ArtifactKey = (function() { /** - * Properties of a CatalogArtifactTag. + * Properties of an ArtifactKey. * @memberof flyteidl.core - * @interface ICatalogArtifactTag - * @property {string|null} [artifactId] CatalogArtifactTag artifactId - * @property {string|null} [name] CatalogArtifactTag name + * @interface IArtifactKey + * @property {string|null} [project] ArtifactKey project + * @property {string|null} [domain] ArtifactKey domain + * @property {string|null} [name] ArtifactKey name */ /** - * Constructs a new CatalogArtifactTag. + * Constructs a new ArtifactKey. * @memberof flyteidl.core - * @classdesc Represents a CatalogArtifactTag. - * @implements ICatalogArtifactTag + * @classdesc Represents an ArtifactKey. + * @implements IArtifactKey * @constructor - * @param {flyteidl.core.ICatalogArtifactTag=} [properties] Properties to set + * @param {flyteidl.core.IArtifactKey=} [properties] Properties to set */ - function CatalogArtifactTag(properties) { + function ArtifactKey(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -84,74 +61,87 @@ } /** - * CatalogArtifactTag artifactId. - * @member {string} artifactId - * @memberof flyteidl.core.CatalogArtifactTag + * ArtifactKey project. + * @member {string} project + * @memberof flyteidl.core.ArtifactKey * @instance */ - CatalogArtifactTag.prototype.artifactId = ""; + ArtifactKey.prototype.project = ""; /** - * CatalogArtifactTag name. + * ArtifactKey domain. + * @member {string} domain + * @memberof flyteidl.core.ArtifactKey + * @instance + */ + ArtifactKey.prototype.domain = ""; + + /** + * ArtifactKey name. * @member {string} name - * @memberof flyteidl.core.CatalogArtifactTag + * @memberof flyteidl.core.ArtifactKey * @instance */ - CatalogArtifactTag.prototype.name = ""; + ArtifactKey.prototype.name = ""; /** - * Creates a new CatalogArtifactTag instance using the specified properties. + * Creates a new ArtifactKey instance using the specified properties. * @function create - * @memberof flyteidl.core.CatalogArtifactTag + * @memberof flyteidl.core.ArtifactKey * @static - * @param {flyteidl.core.ICatalogArtifactTag=} [properties] Properties to set - * @returns {flyteidl.core.CatalogArtifactTag} CatalogArtifactTag instance + * @param {flyteidl.core.IArtifactKey=} [properties] Properties to set + * @returns {flyteidl.core.ArtifactKey} ArtifactKey instance */ - CatalogArtifactTag.create = function create(properties) { - return new CatalogArtifactTag(properties); + ArtifactKey.create = function create(properties) { + return new ArtifactKey(properties); }; /** - * Encodes the specified CatalogArtifactTag message. Does not implicitly {@link flyteidl.core.CatalogArtifactTag.verify|verify} messages. + * Encodes the specified ArtifactKey message. Does not implicitly {@link flyteidl.core.ArtifactKey.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CatalogArtifactTag + * @memberof flyteidl.core.ArtifactKey * @static - * @param {flyteidl.core.ICatalogArtifactTag} message CatalogArtifactTag message or plain object to encode + * @param {flyteidl.core.IArtifactKey} message ArtifactKey message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CatalogArtifactTag.encode = function encode(message, writer) { + ArtifactKey.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.artifactId != null && message.hasOwnProperty("artifactId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.artifactId); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); + writer.uint32(/* id 3, wireType 2 =*/26).string(message.name); return writer; }; /** - * Decodes a CatalogArtifactTag message from the specified reader or buffer. + * Decodes an ArtifactKey message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CatalogArtifactTag + * @memberof flyteidl.core.ArtifactKey * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CatalogArtifactTag} CatalogArtifactTag + * @returns {flyteidl.core.ArtifactKey} ArtifactKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CatalogArtifactTag.decode = function decode(reader, length) { + ArtifactKey.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CatalogArtifactTag(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArtifactKey(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.artifactId = reader.string(); + message.project = reader.string(); break; case 2: + message.domain = reader.string(); + break; + case 3: message.name = reader.string(); break; default: @@ -163,48 +153,51 @@ }; /** - * Verifies a CatalogArtifactTag message. + * Verifies an ArtifactKey message. * @function verify - * @memberof flyteidl.core.CatalogArtifactTag + * @memberof flyteidl.core.ArtifactKey * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CatalogArtifactTag.verify = function verify(message) { + ArtifactKey.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.artifactId != null && message.hasOwnProperty("artifactId")) - if (!$util.isString(message.artifactId)) - return "artifactId: string expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; if (message.name != null && message.hasOwnProperty("name")) if (!$util.isString(message.name)) return "name: string expected"; return null; }; - return CatalogArtifactTag; + return ArtifactKey; })(); - core.CatalogMetadata = (function() { + core.ArtifactBindingData = (function() { /** - * Properties of a CatalogMetadata. + * Properties of an ArtifactBindingData. * @memberof flyteidl.core - * @interface ICatalogMetadata - * @property {flyteidl.core.IIdentifier|null} [datasetId] CatalogMetadata datasetId - * @property {flyteidl.core.ICatalogArtifactTag|null} [artifactTag] CatalogMetadata artifactTag - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [sourceTaskExecution] CatalogMetadata sourceTaskExecution + * @interface IArtifactBindingData + * @property {number|null} [index] ArtifactBindingData index + * @property {string|null} [partitionKey] ArtifactBindingData partitionKey + * @property {string|null} [transform] ArtifactBindingData transform */ /** - * Constructs a new CatalogMetadata. + * Constructs a new ArtifactBindingData. * @memberof flyteidl.core - * @classdesc Represents a CatalogMetadata. - * @implements ICatalogMetadata + * @classdesc Represents an ArtifactBindingData. + * @implements IArtifactBindingData * @constructor - * @param {flyteidl.core.ICatalogMetadata=} [properties] Properties to set + * @param {flyteidl.core.IArtifactBindingData=} [properties] Properties to set */ - function CatalogMetadata(properties) { + function ArtifactBindingData(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -212,102 +205,88 @@ } /** - * CatalogMetadata datasetId. - * @member {flyteidl.core.IIdentifier|null|undefined} datasetId - * @memberof flyteidl.core.CatalogMetadata - * @instance - */ - CatalogMetadata.prototype.datasetId = null; - - /** - * CatalogMetadata artifactTag. - * @member {flyteidl.core.ICatalogArtifactTag|null|undefined} artifactTag - * @memberof flyteidl.core.CatalogMetadata + * ArtifactBindingData index. + * @member {number} index + * @memberof flyteidl.core.ArtifactBindingData * @instance */ - CatalogMetadata.prototype.artifactTag = null; + ArtifactBindingData.prototype.index = 0; /** - * CatalogMetadata sourceTaskExecution. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} sourceTaskExecution - * @memberof flyteidl.core.CatalogMetadata + * ArtifactBindingData partitionKey. + * @member {string} partitionKey + * @memberof flyteidl.core.ArtifactBindingData * @instance */ - CatalogMetadata.prototype.sourceTaskExecution = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + ArtifactBindingData.prototype.partitionKey = ""; /** - * CatalogMetadata sourceExecution. - * @member {"sourceTaskExecution"|undefined} sourceExecution - * @memberof flyteidl.core.CatalogMetadata + * ArtifactBindingData transform. + * @member {string} transform + * @memberof flyteidl.core.ArtifactBindingData * @instance */ - Object.defineProperty(CatalogMetadata.prototype, "sourceExecution", { - get: $util.oneOfGetter($oneOfFields = ["sourceTaskExecution"]), - set: $util.oneOfSetter($oneOfFields) - }); + ArtifactBindingData.prototype.transform = ""; /** - * Creates a new CatalogMetadata instance using the specified properties. + * Creates a new ArtifactBindingData instance using the specified properties. * @function create - * @memberof flyteidl.core.CatalogMetadata + * @memberof flyteidl.core.ArtifactBindingData * @static - * @param {flyteidl.core.ICatalogMetadata=} [properties] Properties to set - * @returns {flyteidl.core.CatalogMetadata} CatalogMetadata instance + * @param {flyteidl.core.IArtifactBindingData=} [properties] Properties to set + * @returns {flyteidl.core.ArtifactBindingData} ArtifactBindingData instance */ - CatalogMetadata.create = function create(properties) { - return new CatalogMetadata(properties); + ArtifactBindingData.create = function create(properties) { + return new ArtifactBindingData(properties); }; /** - * Encodes the specified CatalogMetadata message. Does not implicitly {@link flyteidl.core.CatalogMetadata.verify|verify} messages. + * Encodes the specified ArtifactBindingData message. Does not implicitly {@link flyteidl.core.ArtifactBindingData.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CatalogMetadata + * @memberof flyteidl.core.ArtifactBindingData * @static - * @param {flyteidl.core.ICatalogMetadata} message CatalogMetadata message or plain object to encode + * @param {flyteidl.core.IArtifactBindingData} message ArtifactBindingData message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CatalogMetadata.encode = function encode(message, writer) { + ArtifactBindingData.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.datasetId != null && message.hasOwnProperty("datasetId")) - $root.flyteidl.core.Identifier.encode(message.datasetId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) - $root.flyteidl.core.CatalogArtifactTag.encode(message.artifactTag, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.sourceTaskExecution != null && message.hasOwnProperty("sourceTaskExecution")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.sourceTaskExecution, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.index != null && message.hasOwnProperty("index")) + writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.index); + if (message.partitionKey != null && message.hasOwnProperty("partitionKey")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.partitionKey); + if (message.transform != null && message.hasOwnProperty("transform")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.transform); return writer; }; /** - * Decodes a CatalogMetadata message from the specified reader or buffer. + * Decodes an ArtifactBindingData message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CatalogMetadata + * @memberof flyteidl.core.ArtifactBindingData * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CatalogMetadata} CatalogMetadata + * @returns {flyteidl.core.ArtifactBindingData} ArtifactBindingData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CatalogMetadata.decode = function decode(reader, length) { + ArtifactBindingData.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CatalogMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArtifactBindingData(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.datasetId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.index = reader.uint32(); break; case 2: - message.artifactTag = $root.flyteidl.core.CatalogArtifactTag.decode(reader, reader.uint32()); + message.partitionKey = reader.string(); break; case 3: - message.sourceTaskExecution = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + message.transform = reader.string(); break; default: reader.skipType(tag & 7); @@ -318,58 +297,49 @@ }; /** - * Verifies a CatalogMetadata message. + * Verifies an ArtifactBindingData message. * @function verify - * @memberof flyteidl.core.CatalogMetadata + * @memberof flyteidl.core.ArtifactBindingData * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CatalogMetadata.verify = function verify(message) { + ArtifactBindingData.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.datasetId != null && message.hasOwnProperty("datasetId")) { - var error = $root.flyteidl.core.Identifier.verify(message.datasetId); - if (error) - return "datasetId." + error; - } - if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) { - var error = $root.flyteidl.core.CatalogArtifactTag.verify(message.artifactTag); - if (error) - return "artifactTag." + error; - } - if (message.sourceTaskExecution != null && message.hasOwnProperty("sourceTaskExecution")) { - properties.sourceExecution = 1; - { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.sourceTaskExecution); - if (error) - return "sourceTaskExecution." + error; - } - } + if (message.index != null && message.hasOwnProperty("index")) + if (!$util.isInteger(message.index)) + return "index: integer expected"; + if (message.partitionKey != null && message.hasOwnProperty("partitionKey")) + if (!$util.isString(message.partitionKey)) + return "partitionKey: string expected"; + if (message.transform != null && message.hasOwnProperty("transform")) + if (!$util.isString(message.transform)) + return "transform: string expected"; return null; }; - return CatalogMetadata; + return ArtifactBindingData; })(); - core.CatalogReservation = (function() { + core.InputBindingData = (function() { /** - * Properties of a CatalogReservation. + * Properties of an InputBindingData. * @memberof flyteidl.core - * @interface ICatalogReservation + * @interface IInputBindingData + * @property {string|null} ["var"] InputBindingData var */ /** - * Constructs a new CatalogReservation. + * Constructs a new InputBindingData. * @memberof flyteidl.core - * @classdesc Represents a CatalogReservation. - * @implements ICatalogReservation + * @classdesc Represents an InputBindingData. + * @implements IInputBindingData * @constructor - * @param {flyteidl.core.ICatalogReservation=} [properties] Properties to set + * @param {flyteidl.core.IInputBindingData=} [properties] Properties to set */ - function CatalogReservation(properties) { + function InputBindingData(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -377,50 +347,63 @@ } /** - * Creates a new CatalogReservation instance using the specified properties. + * InputBindingData var. + * @member {string} var + * @memberof flyteidl.core.InputBindingData + * @instance + */ + InputBindingData.prototype["var"] = ""; + + /** + * Creates a new InputBindingData instance using the specified properties. * @function create - * @memberof flyteidl.core.CatalogReservation + * @memberof flyteidl.core.InputBindingData * @static - * @param {flyteidl.core.ICatalogReservation=} [properties] Properties to set - * @returns {flyteidl.core.CatalogReservation} CatalogReservation instance + * @param {flyteidl.core.IInputBindingData=} [properties] Properties to set + * @returns {flyteidl.core.InputBindingData} InputBindingData instance */ - CatalogReservation.create = function create(properties) { - return new CatalogReservation(properties); + InputBindingData.create = function create(properties) { + return new InputBindingData(properties); }; /** - * Encodes the specified CatalogReservation message. Does not implicitly {@link flyteidl.core.CatalogReservation.verify|verify} messages. + * Encodes the specified InputBindingData message. Does not implicitly {@link flyteidl.core.InputBindingData.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CatalogReservation + * @memberof flyteidl.core.InputBindingData * @static - * @param {flyteidl.core.ICatalogReservation} message CatalogReservation message or plain object to encode + * @param {flyteidl.core.IInputBindingData} message InputBindingData message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CatalogReservation.encode = function encode(message, writer) { + InputBindingData.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message["var"] != null && message.hasOwnProperty("var")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message["var"]); return writer; }; /** - * Decodes a CatalogReservation message from the specified reader or buffer. + * Decodes an InputBindingData message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CatalogReservation + * @memberof flyteidl.core.InputBindingData * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CatalogReservation} CatalogReservation + * @returns {flyteidl.core.InputBindingData} InputBindingData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CatalogReservation.decode = function decode(reader, length) { + InputBindingData.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CatalogReservation(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.InputBindingData(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message["var"] = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -430,84 +413,45 @@ }; /** - * Verifies a CatalogReservation message. + * Verifies an InputBindingData message. * @function verify - * @memberof flyteidl.core.CatalogReservation + * @memberof flyteidl.core.InputBindingData * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CatalogReservation.verify = function verify(message) { + InputBindingData.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message["var"] != null && message.hasOwnProperty("var")) + if (!$util.isString(message["var"])) + return "var: string expected"; return null; }; - /** - * Status enum. - * @name flyteidl.core.CatalogReservation.Status - * @enum {string} - * @property {number} RESERVATION_DISABLED=0 RESERVATION_DISABLED value - * @property {number} RESERVATION_ACQUIRED=1 RESERVATION_ACQUIRED value - * @property {number} RESERVATION_EXISTS=2 RESERVATION_EXISTS value - * @property {number} RESERVATION_RELEASED=3 RESERVATION_RELEASED value - * @property {number} RESERVATION_FAILURE=4 RESERVATION_FAILURE value - */ - CatalogReservation.Status = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "RESERVATION_DISABLED"] = 0; - values[valuesById[1] = "RESERVATION_ACQUIRED"] = 1; - values[valuesById[2] = "RESERVATION_EXISTS"] = 2; - values[valuesById[3] = "RESERVATION_RELEASED"] = 3; - values[valuesById[4] = "RESERVATION_FAILURE"] = 4; - return values; - })(); - - return CatalogReservation; - })(); - - /** - * ResourceType enum. - * @name flyteidl.core.ResourceType - * @enum {string} - * @property {number} UNSPECIFIED=0 UNSPECIFIED value - * @property {number} TASK=1 TASK value - * @property {number} WORKFLOW=2 WORKFLOW value - * @property {number} LAUNCH_PLAN=3 LAUNCH_PLAN value - * @property {number} DATASET=4 DATASET value - */ - core.ResourceType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNSPECIFIED"] = 0; - values[valuesById[1] = "TASK"] = 1; - values[valuesById[2] = "WORKFLOW"] = 2; - values[valuesById[3] = "LAUNCH_PLAN"] = 3; - values[valuesById[4] = "DATASET"] = 4; - return values; + return InputBindingData; })(); - core.Identifier = (function() { + core.LabelValue = (function() { /** - * Properties of an Identifier. + * Properties of a LabelValue. * @memberof flyteidl.core - * @interface IIdentifier - * @property {flyteidl.core.ResourceType|null} [resourceType] Identifier resourceType - * @property {string|null} [project] Identifier project - * @property {string|null} [domain] Identifier domain - * @property {string|null} [name] Identifier name - * @property {string|null} [version] Identifier version + * @interface ILabelValue + * @property {string|null} [staticValue] LabelValue staticValue + * @property {flyteidl.core.IArtifactBindingData|null} [triggeredBinding] LabelValue triggeredBinding + * @property {flyteidl.core.IInputBindingData|null} [inputBinding] LabelValue inputBinding */ /** - * Constructs a new Identifier. + * Constructs a new LabelValue. * @memberof flyteidl.core - * @classdesc Represents an Identifier. - * @implements IIdentifier + * @classdesc Represents a LabelValue. + * @implements ILabelValue * @constructor - * @param {flyteidl.core.IIdentifier=} [properties] Properties to set + * @param {flyteidl.core.ILabelValue=} [properties] Properties to set */ - function Identifier(properties) { + function LabelValue(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -515,114 +459,102 @@ } /** - * Identifier resourceType. - * @member {flyteidl.core.ResourceType} resourceType - * @memberof flyteidl.core.Identifier + * LabelValue staticValue. + * @member {string} staticValue + * @memberof flyteidl.core.LabelValue * @instance */ - Identifier.prototype.resourceType = 0; + LabelValue.prototype.staticValue = ""; /** - * Identifier project. - * @member {string} project - * @memberof flyteidl.core.Identifier + * LabelValue triggeredBinding. + * @member {flyteidl.core.IArtifactBindingData|null|undefined} triggeredBinding + * @memberof flyteidl.core.LabelValue * @instance */ - Identifier.prototype.project = ""; + LabelValue.prototype.triggeredBinding = null; /** - * Identifier domain. - * @member {string} domain - * @memberof flyteidl.core.Identifier + * LabelValue inputBinding. + * @member {flyteidl.core.IInputBindingData|null|undefined} inputBinding + * @memberof flyteidl.core.LabelValue * @instance */ - Identifier.prototype.domain = ""; + LabelValue.prototype.inputBinding = null; - /** - * Identifier name. - * @member {string} name - * @memberof flyteidl.core.Identifier - * @instance - */ - Identifier.prototype.name = ""; + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Identifier version. - * @member {string} version - * @memberof flyteidl.core.Identifier + * LabelValue value. + * @member {"staticValue"|"triggeredBinding"|"inputBinding"|undefined} value + * @memberof flyteidl.core.LabelValue * @instance */ - Identifier.prototype.version = ""; + Object.defineProperty(LabelValue.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["staticValue", "triggeredBinding", "inputBinding"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new Identifier instance using the specified properties. + * Creates a new LabelValue instance using the specified properties. * @function create - * @memberof flyteidl.core.Identifier + * @memberof flyteidl.core.LabelValue * @static - * @param {flyteidl.core.IIdentifier=} [properties] Properties to set - * @returns {flyteidl.core.Identifier} Identifier instance + * @param {flyteidl.core.ILabelValue=} [properties] Properties to set + * @returns {flyteidl.core.LabelValue} LabelValue instance */ - Identifier.create = function create(properties) { - return new Identifier(properties); + LabelValue.create = function create(properties) { + return new LabelValue(properties); }; /** - * Encodes the specified Identifier message. Does not implicitly {@link flyteidl.core.Identifier.verify|verify} messages. + * Encodes the specified LabelValue message. Does not implicitly {@link flyteidl.core.LabelValue.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Identifier + * @memberof flyteidl.core.LabelValue * @static - * @param {flyteidl.core.IIdentifier} message Identifier message or plain object to encode + * @param {flyteidl.core.ILabelValue} message LabelValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Identifier.encode = function encode(message, writer) { + LabelValue.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.domain); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.name); - if (message.version != null && message.hasOwnProperty("version")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.version); + if (message.staticValue != null && message.hasOwnProperty("staticValue")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.staticValue); + if (message.triggeredBinding != null && message.hasOwnProperty("triggeredBinding")) + $root.flyteidl.core.ArtifactBindingData.encode(message.triggeredBinding, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.inputBinding != null && message.hasOwnProperty("inputBinding")) + $root.flyteidl.core.InputBindingData.encode(message.inputBinding, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes an Identifier message from the specified reader or buffer. + * Decodes a LabelValue message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Identifier + * @memberof flyteidl.core.LabelValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Identifier} Identifier + * @returns {flyteidl.core.LabelValue} LabelValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Identifier.decode = function decode(reader, length) { + LabelValue.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Identifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.LabelValue(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.resourceType = reader.int32(); + message.staticValue = reader.string(); break; case 2: - message.project = reader.string(); + message.triggeredBinding = $root.flyteidl.core.ArtifactBindingData.decode(reader, reader.uint32()); break; case 3: - message.domain = reader.string(); - break; - case 4: - message.name = reader.string(); - break; - case 5: - message.version = reader.string(); + message.inputBinding = $root.flyteidl.core.InputBindingData.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -633,65 +565,67 @@ }; /** - * Verifies an Identifier message. + * Verifies a LabelValue message. * @function verify - * @memberof flyteidl.core.Identifier + * @memberof flyteidl.core.LabelValue * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Identifier.verify = function verify(message) { + LabelValue.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.resourceType != null && message.hasOwnProperty("resourceType")) - switch (message.resourceType) { - default: - return "resourceType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; + var properties = {}; + if (message.staticValue != null && message.hasOwnProperty("staticValue")) { + properties.value = 1; + if (!$util.isString(message.staticValue)) + return "staticValue: string expected"; + } + if (message.triggeredBinding != null && message.hasOwnProperty("triggeredBinding")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.ArtifactBindingData.verify(message.triggeredBinding); + if (error) + return "triggeredBinding." + error; } - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.version != null && message.hasOwnProperty("version")) - if (!$util.isString(message.version)) - return "version: string expected"; + } + if (message.inputBinding != null && message.hasOwnProperty("inputBinding")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.InputBindingData.verify(message.inputBinding); + if (error) + return "inputBinding." + error; + } + } return null; }; - return Identifier; + return LabelValue; })(); - core.WorkflowExecutionIdentifier = (function() { + core.Partitions = (function() { /** - * Properties of a WorkflowExecutionIdentifier. + * Properties of a Partitions. * @memberof flyteidl.core - * @interface IWorkflowExecutionIdentifier - * @property {string|null} [project] WorkflowExecutionIdentifier project - * @property {string|null} [domain] WorkflowExecutionIdentifier domain - * @property {string|null} [name] WorkflowExecutionIdentifier name + * @interface IPartitions + * @property {Object.|null} [value] Partitions value */ /** - * Constructs a new WorkflowExecutionIdentifier. + * Constructs a new Partitions. * @memberof flyteidl.core - * @classdesc Represents a WorkflowExecutionIdentifier. - * @implements IWorkflowExecutionIdentifier + * @classdesc Represents a Partitions. + * @implements IPartitions * @constructor - * @param {flyteidl.core.IWorkflowExecutionIdentifier=} [properties] Properties to set + * @param {flyteidl.core.IPartitions=} [properties] Properties to set */ - function WorkflowExecutionIdentifier(properties) { + function Partitions(properties) { + this.value = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -699,88 +633,70 @@ } /** - * WorkflowExecutionIdentifier project. - * @member {string} project - * @memberof flyteidl.core.WorkflowExecutionIdentifier - * @instance - */ - WorkflowExecutionIdentifier.prototype.project = ""; - - /** - * WorkflowExecutionIdentifier domain. - * @member {string} domain - * @memberof flyteidl.core.WorkflowExecutionIdentifier - * @instance - */ - WorkflowExecutionIdentifier.prototype.domain = ""; - - /** - * WorkflowExecutionIdentifier name. - * @member {string} name - * @memberof flyteidl.core.WorkflowExecutionIdentifier + * Partitions value. + * @member {Object.} value + * @memberof flyteidl.core.Partitions * @instance */ - WorkflowExecutionIdentifier.prototype.name = ""; + Partitions.prototype.value = $util.emptyObject; /** - * Creates a new WorkflowExecutionIdentifier instance using the specified properties. + * Creates a new Partitions instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @memberof flyteidl.core.Partitions * @static - * @param {flyteidl.core.IWorkflowExecutionIdentifier=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowExecutionIdentifier} WorkflowExecutionIdentifier instance + * @param {flyteidl.core.IPartitions=} [properties] Properties to set + * @returns {flyteidl.core.Partitions} Partitions instance */ - WorkflowExecutionIdentifier.create = function create(properties) { - return new WorkflowExecutionIdentifier(properties); + Partitions.create = function create(properties) { + return new Partitions(properties); }; /** - * Encodes the specified WorkflowExecutionIdentifier message. Does not implicitly {@link flyteidl.core.WorkflowExecutionIdentifier.verify|verify} messages. + * Encodes the specified Partitions message. Does not implicitly {@link flyteidl.core.Partitions.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @memberof flyteidl.core.Partitions * @static - * @param {flyteidl.core.IWorkflowExecutionIdentifier} message WorkflowExecutionIdentifier message or plain object to encode + * @param {flyteidl.core.IPartitions} message Partitions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowExecutionIdentifier.encode = function encode(message, writer) { + Partitions.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); - if (message.domain != null && message.hasOwnProperty("domain")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.name); + if (message.value != null && message.hasOwnProperty("value")) + for (var keys = Object.keys(message.value), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.LabelValue.encode(message.value[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } return writer; }; /** - * Decodes a WorkflowExecutionIdentifier message from the specified reader or buffer. + * Decodes a Partitions message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @memberof flyteidl.core.Partitions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowExecutionIdentifier} WorkflowExecutionIdentifier + * @returns {flyteidl.core.Partitions} Partitions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowExecutionIdentifier.decode = function decode(reader, length) { + Partitions.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowExecutionIdentifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Partitions(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); - break; - case 2: - message.domain = reader.string(); - break; - case 4: - message.name = reader.string(); + reader.skip().pos++; + if (message.value === $util.emptyObject) + message.value = {}; + key = reader.string(); + reader.pos++; + message.value[key] = $root.flyteidl.core.LabelValue.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -791,50 +707,52 @@ }; /** - * Verifies a WorkflowExecutionIdentifier message. + * Verifies a Partitions message. * @function verify - * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @memberof flyteidl.core.Partitions * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowExecutionIdentifier.verify = function verify(message) { + Partitions.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) - if (!$util.isString(message.project)) - return "project: string expected"; - if (message.domain != null && message.hasOwnProperty("domain")) - if (!$util.isString(message.domain)) - return "domain: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; + if (message.value != null && message.hasOwnProperty("value")) { + if (!$util.isObject(message.value)) + return "value: object expected"; + var key = Object.keys(message.value); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.LabelValue.verify(message.value[key[i]]); + if (error) + return "value." + error; + } + } return null; }; - return WorkflowExecutionIdentifier; + return Partitions; })(); - core.NodeExecutionIdentifier = (function() { + core.ArtifactID = (function() { /** - * Properties of a NodeExecutionIdentifier. + * Properties of an ArtifactID. * @memberof flyteidl.core - * @interface INodeExecutionIdentifier - * @property {string|null} [nodeId] NodeExecutionIdentifier nodeId - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] NodeExecutionIdentifier executionId + * @interface IArtifactID + * @property {flyteidl.core.IArtifactKey|null} [artifactKey] ArtifactID artifactKey + * @property {string|null} [version] ArtifactID version + * @property {flyteidl.core.IPartitions|null} [partitions] ArtifactID partitions */ /** - * Constructs a new NodeExecutionIdentifier. + * Constructs a new ArtifactID. * @memberof flyteidl.core - * @classdesc Represents a NodeExecutionIdentifier. - * @implements INodeExecutionIdentifier + * @classdesc Represents an ArtifactID. + * @implements IArtifactID * @constructor - * @param {flyteidl.core.INodeExecutionIdentifier=} [properties] Properties to set + * @param {flyteidl.core.IArtifactID=} [properties] Properties to set */ - function NodeExecutionIdentifier(properties) { + function ArtifactID(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -842,75 +760,102 @@ } /** - * NodeExecutionIdentifier nodeId. - * @member {string} nodeId - * @memberof flyteidl.core.NodeExecutionIdentifier + * ArtifactID artifactKey. + * @member {flyteidl.core.IArtifactKey|null|undefined} artifactKey + * @memberof flyteidl.core.ArtifactID * @instance */ - NodeExecutionIdentifier.prototype.nodeId = ""; + ArtifactID.prototype.artifactKey = null; /** - * NodeExecutionIdentifier executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.core.NodeExecutionIdentifier + * ArtifactID version. + * @member {string} version + * @memberof flyteidl.core.ArtifactID * @instance */ - NodeExecutionIdentifier.prototype.executionId = null; + ArtifactID.prototype.version = ""; /** - * Creates a new NodeExecutionIdentifier instance using the specified properties. + * ArtifactID partitions. + * @member {flyteidl.core.IPartitions|null|undefined} partitions + * @memberof flyteidl.core.ArtifactID + * @instance + */ + ArtifactID.prototype.partitions = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * ArtifactID dimensions. + * @member {"partitions"|undefined} dimensions + * @memberof flyteidl.core.ArtifactID + * @instance + */ + Object.defineProperty(ArtifactID.prototype, "dimensions", { + get: $util.oneOfGetter($oneOfFields = ["partitions"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new ArtifactID instance using the specified properties. * @function create - * @memberof flyteidl.core.NodeExecutionIdentifier + * @memberof flyteidl.core.ArtifactID * @static - * @param {flyteidl.core.INodeExecutionIdentifier=} [properties] Properties to set - * @returns {flyteidl.core.NodeExecutionIdentifier} NodeExecutionIdentifier instance + * @param {flyteidl.core.IArtifactID=} [properties] Properties to set + * @returns {flyteidl.core.ArtifactID} ArtifactID instance */ - NodeExecutionIdentifier.create = function create(properties) { - return new NodeExecutionIdentifier(properties); + ArtifactID.create = function create(properties) { + return new ArtifactID(properties); }; /** - * Encodes the specified NodeExecutionIdentifier message. Does not implicitly {@link flyteidl.core.NodeExecutionIdentifier.verify|verify} messages. + * Encodes the specified ArtifactID message. Does not implicitly {@link flyteidl.core.ArtifactID.verify|verify} messages. * @function encode - * @memberof flyteidl.core.NodeExecutionIdentifier + * @memberof flyteidl.core.ArtifactID * @static - * @param {flyteidl.core.INodeExecutionIdentifier} message NodeExecutionIdentifier message or plain object to encode + * @param {flyteidl.core.IArtifactID} message ArtifactID message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionIdentifier.encode = function encode(message, writer) { + ArtifactID.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.nodeId != null && message.hasOwnProperty("nodeId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.nodeId); - if (message.executionId != null && message.hasOwnProperty("executionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) + $root.flyteidl.core.ArtifactKey.encode(message.artifactKey, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.version != null && message.hasOwnProperty("version")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.version); + if (message.partitions != null && message.hasOwnProperty("partitions")) + $root.flyteidl.core.Partitions.encode(message.partitions, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionIdentifier message from the specified reader or buffer. + * Decodes an ArtifactID message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.NodeExecutionIdentifier + * @memberof flyteidl.core.ArtifactID * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.NodeExecutionIdentifier} NodeExecutionIdentifier + * @returns {flyteidl.core.ArtifactID} ArtifactID * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionIdentifier.decode = function decode(reader, length) { + ArtifactID.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.NodeExecutionIdentifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArtifactID(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.nodeId = reader.string(); + message.artifactKey = $root.flyteidl.core.ArtifactKey.decode(reader, reader.uint32()); break; case 2: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.version = reader.string(); + break; + case 3: + message.partitions = $root.flyteidl.core.Partitions.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -921,50 +866,58 @@ }; /** - * Verifies a NodeExecutionIdentifier message. + * Verifies an ArtifactID message. * @function verify - * @memberof flyteidl.core.NodeExecutionIdentifier + * @memberof flyteidl.core.ArtifactID * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionIdentifier.verify = function verify(message) { + ArtifactID.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.nodeId != null && message.hasOwnProperty("nodeId")) - if (!$util.isString(message.nodeId)) - return "nodeId: string expected"; - if (message.executionId != null && message.hasOwnProperty("executionId")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); + var properties = {}; + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) { + var error = $root.flyteidl.core.ArtifactKey.verify(message.artifactKey); if (error) - return "executionId." + error; + return "artifactKey." + error; + } + if (message.version != null && message.hasOwnProperty("version")) + if (!$util.isString(message.version)) + return "version: string expected"; + if (message.partitions != null && message.hasOwnProperty("partitions")) { + properties.dimensions = 1; + { + var error = $root.flyteidl.core.Partitions.verify(message.partitions); + if (error) + return "partitions." + error; + } } return null; }; - return NodeExecutionIdentifier; + return ArtifactID; })(); - core.TaskExecutionIdentifier = (function() { + core.ArtifactTag = (function() { /** - * Properties of a TaskExecutionIdentifier. + * Properties of an ArtifactTag. * @memberof flyteidl.core - * @interface ITaskExecutionIdentifier - * @property {flyteidl.core.IIdentifier|null} [taskId] TaskExecutionIdentifier taskId - * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] TaskExecutionIdentifier nodeExecutionId - * @property {number|null} [retryAttempt] TaskExecutionIdentifier retryAttempt + * @interface IArtifactTag + * @property {flyteidl.core.IArtifactKey|null} [artifactKey] ArtifactTag artifactKey + * @property {flyteidl.core.ILabelValue|null} [value] ArtifactTag value */ /** - * Constructs a new TaskExecutionIdentifier. + * Constructs a new ArtifactTag. * @memberof flyteidl.core - * @classdesc Represents a TaskExecutionIdentifier. - * @implements ITaskExecutionIdentifier + * @classdesc Represents an ArtifactTag. + * @implements IArtifactTag * @constructor - * @param {flyteidl.core.ITaskExecutionIdentifier=} [properties] Properties to set + * @param {flyteidl.core.IArtifactTag=} [properties] Properties to set */ - function TaskExecutionIdentifier(properties) { + function ArtifactTag(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -972,88 +925,75 @@ } /** - * TaskExecutionIdentifier taskId. - * @member {flyteidl.core.IIdentifier|null|undefined} taskId - * @memberof flyteidl.core.TaskExecutionIdentifier - * @instance - */ - TaskExecutionIdentifier.prototype.taskId = null; - - /** - * TaskExecutionIdentifier nodeExecutionId. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId - * @memberof flyteidl.core.TaskExecutionIdentifier + * ArtifactTag artifactKey. + * @member {flyteidl.core.IArtifactKey|null|undefined} artifactKey + * @memberof flyteidl.core.ArtifactTag * @instance */ - TaskExecutionIdentifier.prototype.nodeExecutionId = null; + ArtifactTag.prototype.artifactKey = null; /** - * TaskExecutionIdentifier retryAttempt. - * @member {number} retryAttempt - * @memberof flyteidl.core.TaskExecutionIdentifier + * ArtifactTag value. + * @member {flyteidl.core.ILabelValue|null|undefined} value + * @memberof flyteidl.core.ArtifactTag * @instance */ - TaskExecutionIdentifier.prototype.retryAttempt = 0; + ArtifactTag.prototype.value = null; /** - * Creates a new TaskExecutionIdentifier instance using the specified properties. + * Creates a new ArtifactTag instance using the specified properties. * @function create - * @memberof flyteidl.core.TaskExecutionIdentifier + * @memberof flyteidl.core.ArtifactTag * @static - * @param {flyteidl.core.ITaskExecutionIdentifier=} [properties] Properties to set - * @returns {flyteidl.core.TaskExecutionIdentifier} TaskExecutionIdentifier instance + * @param {flyteidl.core.IArtifactTag=} [properties] Properties to set + * @returns {flyteidl.core.ArtifactTag} ArtifactTag instance */ - TaskExecutionIdentifier.create = function create(properties) { - return new TaskExecutionIdentifier(properties); + ArtifactTag.create = function create(properties) { + return new ArtifactTag(properties); }; /** - * Encodes the specified TaskExecutionIdentifier message. Does not implicitly {@link flyteidl.core.TaskExecutionIdentifier.verify|verify} messages. + * Encodes the specified ArtifactTag message. Does not implicitly {@link flyteidl.core.ArtifactTag.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TaskExecutionIdentifier + * @memberof flyteidl.core.ArtifactTag * @static - * @param {flyteidl.core.ITaskExecutionIdentifier} message TaskExecutionIdentifier message or plain object to encode + * @param {flyteidl.core.IArtifactTag} message ArtifactTag message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionIdentifier.encode = function encode(message, writer) { + ArtifactTag.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.taskId != null && message.hasOwnProperty("taskId")) - $root.flyteidl.core.Identifier.encode(message.taskId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.retryAttempt); + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) + $root.flyteidl.core.ArtifactKey.encode(message.artifactKey, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + $root.flyteidl.core.LabelValue.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionIdentifier message from the specified reader or buffer. + * Decodes an ArtifactTag message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TaskExecutionIdentifier + * @memberof flyteidl.core.ArtifactTag * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TaskExecutionIdentifier} TaskExecutionIdentifier + * @returns {flyteidl.core.ArtifactTag} ArtifactTag * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionIdentifier.decode = function decode(reader, length) { + ArtifactTag.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskExecutionIdentifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArtifactTag(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.taskId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.artifactKey = $root.flyteidl.core.ArtifactKey.decode(reader, reader.uint32()); break; case 2: - message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 3: - message.retryAttempt = reader.uint32(); + message.value = $root.flyteidl.core.LabelValue.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -1064,54 +1004,53 @@ }; /** - * Verifies a TaskExecutionIdentifier message. + * Verifies an ArtifactTag message. * @function verify - * @memberof flyteidl.core.TaskExecutionIdentifier + * @memberof flyteidl.core.ArtifactTag * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionIdentifier.verify = function verify(message) { + ArtifactTag.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.taskId != null && message.hasOwnProperty("taskId")) { - var error = $root.flyteidl.core.Identifier.verify(message.taskId); + if (message.artifactKey != null && message.hasOwnProperty("artifactKey")) { + var error = $root.flyteidl.core.ArtifactKey.verify(message.artifactKey); if (error) - return "taskId." + error; + return "artifactKey." + error; } - if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); + if (message.value != null && message.hasOwnProperty("value")) { + var error = $root.flyteidl.core.LabelValue.verify(message.value); if (error) - return "nodeExecutionId." + error; + return "value." + error; } - if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) - if (!$util.isInteger(message.retryAttempt)) - return "retryAttempt: integer expected"; return null; }; - return TaskExecutionIdentifier; + return ArtifactTag; })(); - core.SignalIdentifier = (function() { + core.ArtifactQuery = (function() { /** - * Properties of a SignalIdentifier. + * Properties of an ArtifactQuery. * @memberof flyteidl.core - * @interface ISignalIdentifier - * @property {string|null} [signalId] SignalIdentifier signalId - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] SignalIdentifier executionId + * @interface IArtifactQuery + * @property {flyteidl.core.IArtifactID|null} [artifactId] ArtifactQuery artifactId + * @property {flyteidl.core.IArtifactTag|null} [artifactTag] ArtifactQuery artifactTag + * @property {string|null} [uri] ArtifactQuery uri + * @property {flyteidl.core.IArtifactBindingData|null} [binding] ArtifactQuery binding */ /** - * Constructs a new SignalIdentifier. + * Constructs a new ArtifactQuery. * @memberof flyteidl.core - * @classdesc Represents a SignalIdentifier. - * @implements ISignalIdentifier + * @classdesc Represents an ArtifactQuery. + * @implements IArtifactQuery * @constructor - * @param {flyteidl.core.ISignalIdentifier=} [properties] Properties to set + * @param {flyteidl.core.IArtifactQuery=} [properties] Properties to set */ - function SignalIdentifier(properties) { + function ArtifactQuery(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1119,75 +1058,115 @@ } /** - * SignalIdentifier signalId. - * @member {string} signalId - * @memberof flyteidl.core.SignalIdentifier + * ArtifactQuery artifactId. + * @member {flyteidl.core.IArtifactID|null|undefined} artifactId + * @memberof flyteidl.core.ArtifactQuery * @instance */ - SignalIdentifier.prototype.signalId = ""; + ArtifactQuery.prototype.artifactId = null; /** - * SignalIdentifier executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.core.SignalIdentifier + * ArtifactQuery artifactTag. + * @member {flyteidl.core.IArtifactTag|null|undefined} artifactTag + * @memberof flyteidl.core.ArtifactQuery * @instance */ - SignalIdentifier.prototype.executionId = null; + ArtifactQuery.prototype.artifactTag = null; /** - * Creates a new SignalIdentifier instance using the specified properties. + * ArtifactQuery uri. + * @member {string} uri + * @memberof flyteidl.core.ArtifactQuery + * @instance + */ + ArtifactQuery.prototype.uri = ""; + + /** + * ArtifactQuery binding. + * @member {flyteidl.core.IArtifactBindingData|null|undefined} binding + * @memberof flyteidl.core.ArtifactQuery + * @instance + */ + ArtifactQuery.prototype.binding = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * ArtifactQuery identifier. + * @member {"artifactId"|"artifactTag"|"uri"|"binding"|undefined} identifier + * @memberof flyteidl.core.ArtifactQuery + * @instance + */ + Object.defineProperty(ArtifactQuery.prototype, "identifier", { + get: $util.oneOfGetter($oneOfFields = ["artifactId", "artifactTag", "uri", "binding"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new ArtifactQuery instance using the specified properties. * @function create - * @memberof flyteidl.core.SignalIdentifier + * @memberof flyteidl.core.ArtifactQuery * @static - * @param {flyteidl.core.ISignalIdentifier=} [properties] Properties to set - * @returns {flyteidl.core.SignalIdentifier} SignalIdentifier instance + * @param {flyteidl.core.IArtifactQuery=} [properties] Properties to set + * @returns {flyteidl.core.ArtifactQuery} ArtifactQuery instance */ - SignalIdentifier.create = function create(properties) { - return new SignalIdentifier(properties); + ArtifactQuery.create = function create(properties) { + return new ArtifactQuery(properties); }; /** - * Encodes the specified SignalIdentifier message. Does not implicitly {@link flyteidl.core.SignalIdentifier.verify|verify} messages. + * Encodes the specified ArtifactQuery message. Does not implicitly {@link flyteidl.core.ArtifactQuery.verify|verify} messages. * @function encode - * @memberof flyteidl.core.SignalIdentifier + * @memberof flyteidl.core.ArtifactQuery * @static - * @param {flyteidl.core.ISignalIdentifier} message SignalIdentifier message or plain object to encode + * @param {flyteidl.core.IArtifactQuery} message ArtifactQuery message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SignalIdentifier.encode = function encode(message, writer) { + ArtifactQuery.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signalId != null && message.hasOwnProperty("signalId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); - if (message.executionId != null && message.hasOwnProperty("executionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + $root.flyteidl.core.ArtifactID.encode(message.artifactId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) + $root.flyteidl.core.ArtifactTag.encode(message.artifactTag, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.uri); + if (message.binding != null && message.hasOwnProperty("binding")) + $root.flyteidl.core.ArtifactBindingData.encode(message.binding, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a SignalIdentifier message from the specified reader or buffer. + * Decodes an ArtifactQuery message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.SignalIdentifier + * @memberof flyteidl.core.ArtifactQuery * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.SignalIdentifier} SignalIdentifier + * @returns {flyteidl.core.ArtifactQuery} ArtifactQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SignalIdentifier.decode = function decode(reader, length) { + ArtifactQuery.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SignalIdentifier(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArtifactQuery(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.signalId = reader.string(); + message.artifactId = $root.flyteidl.core.ArtifactID.decode(reader, reader.uint32()); break; case 2: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.artifactTag = $root.flyteidl.core.ArtifactTag.decode(reader, reader.uint32()); + break; + case 3: + message.uri = reader.string(); + break; + case 4: + message.binding = $root.flyteidl.core.ArtifactBindingData.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -1198,51 +1177,78 @@ }; /** - * Verifies a SignalIdentifier message. + * Verifies an ArtifactQuery message. * @function verify - * @memberof flyteidl.core.SignalIdentifier + * @memberof flyteidl.core.ArtifactQuery * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SignalIdentifier.verify = function verify(message) { + ArtifactQuery.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signalId != null && message.hasOwnProperty("signalId")) - if (!$util.isString(message.signalId)) - return "signalId: string expected"; - if (message.executionId != null && message.hasOwnProperty("executionId")) { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); - if (error) - return "executionId." + error; + var properties = {}; + if (message.artifactId != null && message.hasOwnProperty("artifactId")) { + properties.identifier = 1; + { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactId); + if (error) + return "artifactId." + error; + } + } + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) { + if (properties.identifier === 1) + return "identifier: multiple values"; + properties.identifier = 1; + { + var error = $root.flyteidl.core.ArtifactTag.verify(message.artifactTag); + if (error) + return "artifactTag." + error; + } + } + if (message.uri != null && message.hasOwnProperty("uri")) { + if (properties.identifier === 1) + return "identifier: multiple values"; + properties.identifier = 1; + if (!$util.isString(message.uri)) + return "uri: string expected"; + } + if (message.binding != null && message.hasOwnProperty("binding")) { + if (properties.identifier === 1) + return "identifier: multiple values"; + properties.identifier = 1; + { + var error = $root.flyteidl.core.ArtifactBindingData.verify(message.binding); + if (error) + return "binding." + error; + } } return null; }; - return SignalIdentifier; + return ArtifactQuery; })(); - core.ConnectionSet = (function() { + core.Trigger = (function() { /** - * Properties of a ConnectionSet. + * Properties of a Trigger. * @memberof flyteidl.core - * @interface IConnectionSet - * @property {Object.|null} [downstream] ConnectionSet downstream - * @property {Object.|null} [upstream] ConnectionSet upstream + * @interface ITrigger + * @property {flyteidl.core.IIdentifier|null} [triggerId] Trigger triggerId + * @property {Array.|null} [triggers] Trigger triggers */ /** - * Constructs a new ConnectionSet. + * Constructs a new Trigger. * @memberof flyteidl.core - * @classdesc Represents a ConnectionSet. - * @implements IConnectionSet + * @classdesc Represents a Trigger. + * @implements ITrigger * @constructor - * @param {flyteidl.core.IConnectionSet=} [properties] Properties to set + * @param {flyteidl.core.ITrigger=} [properties] Properties to set */ - function ConnectionSet(properties) { - this.downstream = {}; - this.upstream = {}; + function Trigger(properties) { + this.triggers = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1250,91 +1256,78 @@ } /** - * ConnectionSet downstream. - * @member {Object.} downstream - * @memberof flyteidl.core.ConnectionSet + * Trigger triggerId. + * @member {flyteidl.core.IIdentifier|null|undefined} triggerId + * @memberof flyteidl.core.Trigger * @instance */ - ConnectionSet.prototype.downstream = $util.emptyObject; + Trigger.prototype.triggerId = null; /** - * ConnectionSet upstream. - * @member {Object.} upstream - * @memberof flyteidl.core.ConnectionSet + * Trigger triggers. + * @member {Array.} triggers + * @memberof flyteidl.core.Trigger * @instance */ - ConnectionSet.prototype.upstream = $util.emptyObject; + Trigger.prototype.triggers = $util.emptyArray; /** - * Creates a new ConnectionSet instance using the specified properties. + * Creates a new Trigger instance using the specified properties. * @function create - * @memberof flyteidl.core.ConnectionSet + * @memberof flyteidl.core.Trigger * @static - * @param {flyteidl.core.IConnectionSet=} [properties] Properties to set - * @returns {flyteidl.core.ConnectionSet} ConnectionSet instance + * @param {flyteidl.core.ITrigger=} [properties] Properties to set + * @returns {flyteidl.core.Trigger} Trigger instance */ - ConnectionSet.create = function create(properties) { - return new ConnectionSet(properties); + Trigger.create = function create(properties) { + return new Trigger(properties); }; /** - * Encodes the specified ConnectionSet message. Does not implicitly {@link flyteidl.core.ConnectionSet.verify|verify} messages. + * Encodes the specified Trigger message. Does not implicitly {@link flyteidl.core.Trigger.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ConnectionSet + * @memberof flyteidl.core.Trigger * @static - * @param {flyteidl.core.IConnectionSet} message ConnectionSet message or plain object to encode + * @param {flyteidl.core.ITrigger} message Trigger message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ConnectionSet.encode = function encode(message, writer) { + Trigger.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.downstream != null && message.hasOwnProperty("downstream")) - for (var keys = Object.keys(message.downstream), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.flyteidl.core.ConnectionSet.IdList.encode(message.downstream[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } - if (message.upstream != null && message.hasOwnProperty("upstream")) - for (var keys = Object.keys(message.upstream), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.flyteidl.core.ConnectionSet.IdList.encode(message.upstream[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } + if (message.triggerId != null && message.hasOwnProperty("triggerId")) + $root.flyteidl.core.Identifier.encode(message.triggerId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.triggers != null && message.triggers.length) + for (var i = 0; i < message.triggers.length; ++i) + $root.flyteidl.core.ArtifactID.encode(message.triggers[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ConnectionSet message from the specified reader or buffer. + * Decodes a Trigger message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ConnectionSet + * @memberof flyteidl.core.Trigger * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ConnectionSet} ConnectionSet + * @returns {flyteidl.core.Trigger} Trigger * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ConnectionSet.decode = function decode(reader, length) { + Trigger.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ConnectionSet(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Trigger(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 7: - reader.skip().pos++; - if (message.downstream === $util.emptyObject) - message.downstream = {}; - key = reader.string(); - reader.pos++; - message.downstream[key] = $root.flyteidl.core.ConnectionSet.IdList.decode(reader, reader.uint32()); + case 1: + message.triggerId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; - case 8: - reader.skip().pos++; - if (message.upstream === $util.emptyObject) - message.upstream = {}; - key = reader.string(); - reader.pos++; - message.upstream[key] = $root.flyteidl.core.ConnectionSet.IdList.decode(reader, reader.uint32()); + case 2: + if (!(message.triggers && message.triggers.length)) + message.triggers = []; + message.triggers.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -1345,179 +1338,78 @@ }; /** - * Verifies a ConnectionSet message. + * Verifies a Trigger message. * @function verify - * @memberof flyteidl.core.ConnectionSet + * @memberof flyteidl.core.Trigger * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ConnectionSet.verify = function verify(message) { + Trigger.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.downstream != null && message.hasOwnProperty("downstream")) { - if (!$util.isObject(message.downstream)) - return "downstream: object expected"; - var key = Object.keys(message.downstream); - for (var i = 0; i < key.length; ++i) { - var error = $root.flyteidl.core.ConnectionSet.IdList.verify(message.downstream[key[i]]); - if (error) - return "downstream." + error; - } + if (message.triggerId != null && message.hasOwnProperty("triggerId")) { + var error = $root.flyteidl.core.Identifier.verify(message.triggerId); + if (error) + return "triggerId." + error; } - if (message.upstream != null && message.hasOwnProperty("upstream")) { - if (!$util.isObject(message.upstream)) - return "upstream: object expected"; - var key = Object.keys(message.upstream); - for (var i = 0; i < key.length; ++i) { - var error = $root.flyteidl.core.ConnectionSet.IdList.verify(message.upstream[key[i]]); + if (message.triggers != null && message.hasOwnProperty("triggers")) { + if (!Array.isArray(message.triggers)) + return "triggers: array expected"; + for (var i = 0; i < message.triggers.length; ++i) { + var error = $root.flyteidl.core.ArtifactID.verify(message.triggers[i]); if (error) - return "upstream." + error; + return "triggers." + error; } } return null; }; - ConnectionSet.IdList = (function() { - - /** - * Properties of an IdList. - * @memberof flyteidl.core.ConnectionSet - * @interface IIdList - * @property {Array.|null} [ids] IdList ids - */ - - /** - * Constructs a new IdList. - * @memberof flyteidl.core.ConnectionSet - * @classdesc Represents an IdList. - * @implements IIdList - * @constructor - * @param {flyteidl.core.ConnectionSet.IIdList=} [properties] Properties to set - */ - function IdList(properties) { - this.ids = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * IdList ids. - * @member {Array.} ids - * @memberof flyteidl.core.ConnectionSet.IdList - * @instance - */ - IdList.prototype.ids = $util.emptyArray; - - /** - * Creates a new IdList instance using the specified properties. - * @function create - * @memberof flyteidl.core.ConnectionSet.IdList - * @static - * @param {flyteidl.core.ConnectionSet.IIdList=} [properties] Properties to set - * @returns {flyteidl.core.ConnectionSet.IdList} IdList instance - */ - IdList.create = function create(properties) { - return new IdList(properties); - }; - - /** - * Encodes the specified IdList message. Does not implicitly {@link flyteidl.core.ConnectionSet.IdList.verify|verify} messages. - * @function encode - * @memberof flyteidl.core.ConnectionSet.IdList - * @static - * @param {flyteidl.core.ConnectionSet.IIdList} message IdList message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - IdList.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.ids != null && message.ids.length) - for (var i = 0; i < message.ids.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.ids[i]); - return writer; - }; - - /** - * Decodes an IdList message from the specified reader or buffer. - * @function decode - * @memberof flyteidl.core.ConnectionSet.IdList - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ConnectionSet.IdList} IdList - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - IdList.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ConnectionSet.IdList(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if (!(message.ids && message.ids.length)) - message.ids = []; - message.ids.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Verifies an IdList message. - * @function verify - * @memberof flyteidl.core.ConnectionSet.IdList - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - IdList.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.ids != null && message.hasOwnProperty("ids")) { - if (!Array.isArray(message.ids)) - return "ids: array expected"; - for (var i = 0; i < message.ids.length; ++i) - if (!$util.isString(message.ids[i])) - return "ids: string[] expected"; - } - return null; - }; - - return IdList; - })(); + return Trigger; + })(); - return ConnectionSet; + /** + * ResourceType enum. + * @name flyteidl.core.ResourceType + * @enum {string} + * @property {number} UNSPECIFIED=0 UNSPECIFIED value + * @property {number} TASK=1 TASK value + * @property {number} WORKFLOW=2 WORKFLOW value + * @property {number} LAUNCH_PLAN=3 LAUNCH_PLAN value + * @property {number} DATASET=4 DATASET value + */ + core.ResourceType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UNSPECIFIED"] = 0; + values[valuesById[1] = "TASK"] = 1; + values[valuesById[2] = "WORKFLOW"] = 2; + values[valuesById[3] = "LAUNCH_PLAN"] = 3; + values[valuesById[4] = "DATASET"] = 4; + return values; })(); - core.CompiledWorkflow = (function() { + core.Identifier = (function() { /** - * Properties of a CompiledWorkflow. + * Properties of an Identifier. * @memberof flyteidl.core - * @interface ICompiledWorkflow - * @property {flyteidl.core.IWorkflowTemplate|null} [template] CompiledWorkflow template - * @property {flyteidl.core.IConnectionSet|null} [connections] CompiledWorkflow connections + * @interface IIdentifier + * @property {flyteidl.core.ResourceType|null} [resourceType] Identifier resourceType + * @property {string|null} [project] Identifier project + * @property {string|null} [domain] Identifier domain + * @property {string|null} [name] Identifier name + * @property {string|null} [version] Identifier version */ /** - * Constructs a new CompiledWorkflow. + * Constructs a new Identifier. * @memberof flyteidl.core - * @classdesc Represents a CompiledWorkflow. - * @implements ICompiledWorkflow + * @classdesc Represents an Identifier. + * @implements IIdentifier * @constructor - * @param {flyteidl.core.ICompiledWorkflow=} [properties] Properties to set + * @param {flyteidl.core.IIdentifier=} [properties] Properties to set */ - function CompiledWorkflow(properties) { + function Identifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1525,75 +1417,114 @@ } /** - * CompiledWorkflow template. - * @member {flyteidl.core.IWorkflowTemplate|null|undefined} template - * @memberof flyteidl.core.CompiledWorkflow + * Identifier resourceType. + * @member {flyteidl.core.ResourceType} resourceType + * @memberof flyteidl.core.Identifier * @instance */ - CompiledWorkflow.prototype.template = null; + Identifier.prototype.resourceType = 0; /** - * CompiledWorkflow connections. - * @member {flyteidl.core.IConnectionSet|null|undefined} connections - * @memberof flyteidl.core.CompiledWorkflow + * Identifier project. + * @member {string} project + * @memberof flyteidl.core.Identifier * @instance */ - CompiledWorkflow.prototype.connections = null; + Identifier.prototype.project = ""; /** - * Creates a new CompiledWorkflow instance using the specified properties. + * Identifier domain. + * @member {string} domain + * @memberof flyteidl.core.Identifier + * @instance + */ + Identifier.prototype.domain = ""; + + /** + * Identifier name. + * @member {string} name + * @memberof flyteidl.core.Identifier + * @instance + */ + Identifier.prototype.name = ""; + + /** + * Identifier version. + * @member {string} version + * @memberof flyteidl.core.Identifier + * @instance + */ + Identifier.prototype.version = ""; + + /** + * Creates a new Identifier instance using the specified properties. * @function create - * @memberof flyteidl.core.CompiledWorkflow + * @memberof flyteidl.core.Identifier * @static - * @param {flyteidl.core.ICompiledWorkflow=} [properties] Properties to set - * @returns {flyteidl.core.CompiledWorkflow} CompiledWorkflow instance + * @param {flyteidl.core.IIdentifier=} [properties] Properties to set + * @returns {flyteidl.core.Identifier} Identifier instance */ - CompiledWorkflow.create = function create(properties) { - return new CompiledWorkflow(properties); + Identifier.create = function create(properties) { + return new Identifier(properties); }; /** - * Encodes the specified CompiledWorkflow message. Does not implicitly {@link flyteidl.core.CompiledWorkflow.verify|verify} messages. + * Encodes the specified Identifier message. Does not implicitly {@link flyteidl.core.Identifier.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CompiledWorkflow + * @memberof flyteidl.core.Identifier * @static - * @param {flyteidl.core.ICompiledWorkflow} message CompiledWorkflow message or plain object to encode + * @param {flyteidl.core.IIdentifier} message Identifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CompiledWorkflow.encode = function encode(message, writer) { + Identifier.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.template != null && message.hasOwnProperty("template")) - $root.flyteidl.core.WorkflowTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.connections != null && message.hasOwnProperty("connections")) - $root.flyteidl.core.ConnectionSet.encode(message.connections, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.resourceType); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.domain); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.name); + if (message.version != null && message.hasOwnProperty("version")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.version); return writer; }; /** - * Decodes a CompiledWorkflow message from the specified reader or buffer. + * Decodes an Identifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CompiledWorkflow + * @memberof flyteidl.core.Identifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CompiledWorkflow} CompiledWorkflow + * @returns {flyteidl.core.Identifier} Identifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CompiledWorkflow.decode = function decode(reader, length) { + Identifier.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CompiledWorkflow(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Identifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.template = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); + message.resourceType = reader.int32(); break; case 2: - message.connections = $root.flyteidl.core.ConnectionSet.decode(reader, reader.uint32()); + message.project = reader.string(); + break; + case 3: + message.domain = reader.string(); + break; + case 4: + message.name = reader.string(); + break; + case 5: + message.version = reader.string(); break; default: reader.skipType(tag & 7); @@ -1604,50 +1535,65 @@ }; /** - * Verifies a CompiledWorkflow message. + * Verifies an Identifier message. * @function verify - * @memberof flyteidl.core.CompiledWorkflow + * @memberof flyteidl.core.Identifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CompiledWorkflow.verify = function verify(message) { + Identifier.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.template != null && message.hasOwnProperty("template")) { - var error = $root.flyteidl.core.WorkflowTemplate.verify(message.template); - if (error) - return "template." + error; - } - if (message.connections != null && message.hasOwnProperty("connections")) { - var error = $root.flyteidl.core.ConnectionSet.verify(message.connections); - if (error) - return "connections." + error; - } + if (message.resourceType != null && message.hasOwnProperty("resourceType")) + switch (message.resourceType) { + default: + return "resourceType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.version != null && message.hasOwnProperty("version")) + if (!$util.isString(message.version)) + return "version: string expected"; return null; }; - return CompiledWorkflow; + return Identifier; })(); - core.CompiledTask = (function() { + core.WorkflowExecutionIdentifier = (function() { /** - * Properties of a CompiledTask. + * Properties of a WorkflowExecutionIdentifier. * @memberof flyteidl.core - * @interface ICompiledTask - * @property {flyteidl.core.ITaskTemplate|null} [template] CompiledTask template + * @interface IWorkflowExecutionIdentifier + * @property {string|null} [project] WorkflowExecutionIdentifier project + * @property {string|null} [domain] WorkflowExecutionIdentifier domain + * @property {string|null} [name] WorkflowExecutionIdentifier name */ /** - * Constructs a new CompiledTask. + * Constructs a new WorkflowExecutionIdentifier. * @memberof flyteidl.core - * @classdesc Represents a CompiledTask. - * @implements ICompiledTask + * @classdesc Represents a WorkflowExecutionIdentifier. + * @implements IWorkflowExecutionIdentifier * @constructor - * @param {flyteidl.core.ICompiledTask=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowExecutionIdentifier=} [properties] Properties to set */ - function CompiledTask(properties) { + function WorkflowExecutionIdentifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1655,62 +1601,88 @@ } /** - * CompiledTask template. - * @member {flyteidl.core.ITaskTemplate|null|undefined} template - * @memberof flyteidl.core.CompiledTask + * WorkflowExecutionIdentifier project. + * @member {string} project + * @memberof flyteidl.core.WorkflowExecutionIdentifier * @instance */ - CompiledTask.prototype.template = null; + WorkflowExecutionIdentifier.prototype.project = ""; /** - * Creates a new CompiledTask instance using the specified properties. + * WorkflowExecutionIdentifier domain. + * @member {string} domain + * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @instance + */ + WorkflowExecutionIdentifier.prototype.domain = ""; + + /** + * WorkflowExecutionIdentifier name. + * @member {string} name + * @memberof flyteidl.core.WorkflowExecutionIdentifier + * @instance + */ + WorkflowExecutionIdentifier.prototype.name = ""; + + /** + * Creates a new WorkflowExecutionIdentifier instance using the specified properties. * @function create - * @memberof flyteidl.core.CompiledTask + * @memberof flyteidl.core.WorkflowExecutionIdentifier * @static - * @param {flyteidl.core.ICompiledTask=} [properties] Properties to set - * @returns {flyteidl.core.CompiledTask} CompiledTask instance + * @param {flyteidl.core.IWorkflowExecutionIdentifier=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowExecutionIdentifier} WorkflowExecutionIdentifier instance */ - CompiledTask.create = function create(properties) { - return new CompiledTask(properties); + WorkflowExecutionIdentifier.create = function create(properties) { + return new WorkflowExecutionIdentifier(properties); }; /** - * Encodes the specified CompiledTask message. Does not implicitly {@link flyteidl.core.CompiledTask.verify|verify} messages. + * Encodes the specified WorkflowExecutionIdentifier message. Does not implicitly {@link flyteidl.core.WorkflowExecutionIdentifier.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CompiledTask + * @memberof flyteidl.core.WorkflowExecutionIdentifier * @static - * @param {flyteidl.core.ICompiledTask} message CompiledTask message or plain object to encode + * @param {flyteidl.core.IWorkflowExecutionIdentifier} message WorkflowExecutionIdentifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CompiledTask.encode = function encode(message, writer) { + WorkflowExecutionIdentifier.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.template != null && message.hasOwnProperty("template")) - $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.name); return writer; }; /** - * Decodes a CompiledTask message from the specified reader or buffer. + * Decodes a WorkflowExecutionIdentifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CompiledTask + * @memberof flyteidl.core.WorkflowExecutionIdentifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CompiledTask} CompiledTask + * @returns {flyteidl.core.WorkflowExecutionIdentifier} WorkflowExecutionIdentifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CompiledTask.decode = function decode(reader, length) { + WorkflowExecutionIdentifier.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CompiledTask(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowExecutionIdentifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); + message.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 4: + message.name = reader.string(); break; default: reader.skipType(tag & 7); @@ -1721,49 +1693,50 @@ }; /** - * Verifies a CompiledTask message. + * Verifies a WorkflowExecutionIdentifier message. * @function verify - * @memberof flyteidl.core.CompiledTask + * @memberof flyteidl.core.WorkflowExecutionIdentifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CompiledTask.verify = function verify(message) { + WorkflowExecutionIdentifier.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.template != null && message.hasOwnProperty("template")) { - var error = $root.flyteidl.core.TaskTemplate.verify(message.template); - if (error) - return "template." + error; - } + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; return null; }; - return CompiledTask; + return WorkflowExecutionIdentifier; })(); - core.CompiledWorkflowClosure = (function() { + core.NodeExecutionIdentifier = (function() { /** - * Properties of a CompiledWorkflowClosure. + * Properties of a NodeExecutionIdentifier. * @memberof flyteidl.core - * @interface ICompiledWorkflowClosure - * @property {flyteidl.core.ICompiledWorkflow|null} [primary] CompiledWorkflowClosure primary - * @property {Array.|null} [subWorkflows] CompiledWorkflowClosure subWorkflows - * @property {Array.|null} [tasks] CompiledWorkflowClosure tasks + * @interface INodeExecutionIdentifier + * @property {string|null} [nodeId] NodeExecutionIdentifier nodeId + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] NodeExecutionIdentifier executionId */ /** - * Constructs a new CompiledWorkflowClosure. + * Constructs a new NodeExecutionIdentifier. * @memberof flyteidl.core - * @classdesc Represents a CompiledWorkflowClosure. - * @implements ICompiledWorkflowClosure + * @classdesc Represents a NodeExecutionIdentifier. + * @implements INodeExecutionIdentifier * @constructor - * @param {flyteidl.core.ICompiledWorkflowClosure=} [properties] Properties to set + * @param {flyteidl.core.INodeExecutionIdentifier=} [properties] Properties to set */ - function CompiledWorkflowClosure(properties) { - this.subWorkflows = []; - this.tasks = []; + function NodeExecutionIdentifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1771,94 +1744,75 @@ } /** - * CompiledWorkflowClosure primary. - * @member {flyteidl.core.ICompiledWorkflow|null|undefined} primary - * @memberof flyteidl.core.CompiledWorkflowClosure - * @instance - */ - CompiledWorkflowClosure.prototype.primary = null; - - /** - * CompiledWorkflowClosure subWorkflows. - * @member {Array.} subWorkflows - * @memberof flyteidl.core.CompiledWorkflowClosure + * NodeExecutionIdentifier nodeId. + * @member {string} nodeId + * @memberof flyteidl.core.NodeExecutionIdentifier * @instance */ - CompiledWorkflowClosure.prototype.subWorkflows = $util.emptyArray; + NodeExecutionIdentifier.prototype.nodeId = ""; /** - * CompiledWorkflowClosure tasks. - * @member {Array.} tasks - * @memberof flyteidl.core.CompiledWorkflowClosure + * NodeExecutionIdentifier executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.core.NodeExecutionIdentifier * @instance */ - CompiledWorkflowClosure.prototype.tasks = $util.emptyArray; + NodeExecutionIdentifier.prototype.executionId = null; /** - * Creates a new CompiledWorkflowClosure instance using the specified properties. + * Creates a new NodeExecutionIdentifier instance using the specified properties. * @function create - * @memberof flyteidl.core.CompiledWorkflowClosure + * @memberof flyteidl.core.NodeExecutionIdentifier * @static - * @param {flyteidl.core.ICompiledWorkflowClosure=} [properties] Properties to set - * @returns {flyteidl.core.CompiledWorkflowClosure} CompiledWorkflowClosure instance + * @param {flyteidl.core.INodeExecutionIdentifier=} [properties] Properties to set + * @returns {flyteidl.core.NodeExecutionIdentifier} NodeExecutionIdentifier instance */ - CompiledWorkflowClosure.create = function create(properties) { - return new CompiledWorkflowClosure(properties); + NodeExecutionIdentifier.create = function create(properties) { + return new NodeExecutionIdentifier(properties); }; /** - * Encodes the specified CompiledWorkflowClosure message. Does not implicitly {@link flyteidl.core.CompiledWorkflowClosure.verify|verify} messages. + * Encodes the specified NodeExecutionIdentifier message. Does not implicitly {@link flyteidl.core.NodeExecutionIdentifier.verify|verify} messages. * @function encode - * @memberof flyteidl.core.CompiledWorkflowClosure + * @memberof flyteidl.core.NodeExecutionIdentifier * @static - * @param {flyteidl.core.ICompiledWorkflowClosure} message CompiledWorkflowClosure message or plain object to encode + * @param {flyteidl.core.INodeExecutionIdentifier} message NodeExecutionIdentifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CompiledWorkflowClosure.encode = function encode(message, writer) { + NodeExecutionIdentifier.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.primary != null && message.hasOwnProperty("primary")) - $root.flyteidl.core.CompiledWorkflow.encode(message.primary, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.subWorkflows != null && message.subWorkflows.length) - for (var i = 0; i < message.subWorkflows.length; ++i) - $root.flyteidl.core.CompiledWorkflow.encode(message.subWorkflows[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.tasks != null && message.tasks.length) - for (var i = 0; i < message.tasks.length; ++i) - $root.flyteidl.core.CompiledTask.encode(message.tasks[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.nodeId); + if (message.executionId != null && message.hasOwnProperty("executionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a CompiledWorkflowClosure message from the specified reader or buffer. + * Decodes a NodeExecutionIdentifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.CompiledWorkflowClosure + * @memberof flyteidl.core.NodeExecutionIdentifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.CompiledWorkflowClosure} CompiledWorkflowClosure + * @returns {flyteidl.core.NodeExecutionIdentifier} NodeExecutionIdentifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CompiledWorkflowClosure.decode = function decode(reader, length) { + NodeExecutionIdentifier.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CompiledWorkflowClosure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.NodeExecutionIdentifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.primary = $root.flyteidl.core.CompiledWorkflow.decode(reader, reader.uint32()); + message.nodeId = reader.string(); break; case 2: - if (!(message.subWorkflows && message.subWorkflows.length)) - message.subWorkflows = []; - message.subWorkflows.push($root.flyteidl.core.CompiledWorkflow.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.tasks && message.tasks.length)) - message.tasks = []; - message.tasks.push($root.flyteidl.core.CompiledTask.decode(reader, reader.uint32())); + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -1869,64 +1823,50 @@ }; /** - * Verifies a CompiledWorkflowClosure message. + * Verifies a NodeExecutionIdentifier message. * @function verify - * @memberof flyteidl.core.CompiledWorkflowClosure + * @memberof flyteidl.core.NodeExecutionIdentifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CompiledWorkflowClosure.verify = function verify(message) { + NodeExecutionIdentifier.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.primary != null && message.hasOwnProperty("primary")) { - var error = $root.flyteidl.core.CompiledWorkflow.verify(message.primary); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + if (!$util.isString(message.nodeId)) + return "nodeId: string expected"; + if (message.executionId != null && message.hasOwnProperty("executionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); if (error) - return "primary." + error; - } - if (message.subWorkflows != null && message.hasOwnProperty("subWorkflows")) { - if (!Array.isArray(message.subWorkflows)) - return "subWorkflows: array expected"; - for (var i = 0; i < message.subWorkflows.length; ++i) { - var error = $root.flyteidl.core.CompiledWorkflow.verify(message.subWorkflows[i]); - if (error) - return "subWorkflows." + error; - } - } - if (message.tasks != null && message.hasOwnProperty("tasks")) { - if (!Array.isArray(message.tasks)) - return "tasks: array expected"; - for (var i = 0; i < message.tasks.length; ++i) { - var error = $root.flyteidl.core.CompiledTask.verify(message.tasks[i]); - if (error) - return "tasks." + error; - } + return "executionId." + error; } return null; }; - return CompiledWorkflowClosure; + return NodeExecutionIdentifier; })(); - core.IfBlock = (function() { + core.TaskExecutionIdentifier = (function() { /** - * Properties of an IfBlock. + * Properties of a TaskExecutionIdentifier. * @memberof flyteidl.core - * @interface IIfBlock - * @property {flyteidl.core.IBooleanExpression|null} [condition] IfBlock condition - * @property {flyteidl.core.INode|null} [thenNode] IfBlock thenNode + * @interface ITaskExecutionIdentifier + * @property {flyteidl.core.IIdentifier|null} [taskId] TaskExecutionIdentifier taskId + * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] TaskExecutionIdentifier nodeExecutionId + * @property {number|null} [retryAttempt] TaskExecutionIdentifier retryAttempt */ /** - * Constructs a new IfBlock. + * Constructs a new TaskExecutionIdentifier. * @memberof flyteidl.core - * @classdesc Represents an IfBlock. - * @implements IIfBlock + * @classdesc Represents a TaskExecutionIdentifier. + * @implements ITaskExecutionIdentifier * @constructor - * @param {flyteidl.core.IIfBlock=} [properties] Properties to set + * @param {flyteidl.core.ITaskExecutionIdentifier=} [properties] Properties to set */ - function IfBlock(properties) { + function TaskExecutionIdentifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -1934,75 +1874,88 @@ } /** - * IfBlock condition. - * @member {flyteidl.core.IBooleanExpression|null|undefined} condition - * @memberof flyteidl.core.IfBlock + * TaskExecutionIdentifier taskId. + * @member {flyteidl.core.IIdentifier|null|undefined} taskId + * @memberof flyteidl.core.TaskExecutionIdentifier * @instance */ - IfBlock.prototype.condition = null; + TaskExecutionIdentifier.prototype.taskId = null; /** - * IfBlock thenNode. - * @member {flyteidl.core.INode|null|undefined} thenNode - * @memberof flyteidl.core.IfBlock + * TaskExecutionIdentifier nodeExecutionId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId + * @memberof flyteidl.core.TaskExecutionIdentifier * @instance */ - IfBlock.prototype.thenNode = null; + TaskExecutionIdentifier.prototype.nodeExecutionId = null; /** - * Creates a new IfBlock instance using the specified properties. + * TaskExecutionIdentifier retryAttempt. + * @member {number} retryAttempt + * @memberof flyteidl.core.TaskExecutionIdentifier + * @instance + */ + TaskExecutionIdentifier.prototype.retryAttempt = 0; + + /** + * Creates a new TaskExecutionIdentifier instance using the specified properties. * @function create - * @memberof flyteidl.core.IfBlock + * @memberof flyteidl.core.TaskExecutionIdentifier * @static - * @param {flyteidl.core.IIfBlock=} [properties] Properties to set - * @returns {flyteidl.core.IfBlock} IfBlock instance + * @param {flyteidl.core.ITaskExecutionIdentifier=} [properties] Properties to set + * @returns {flyteidl.core.TaskExecutionIdentifier} TaskExecutionIdentifier instance */ - IfBlock.create = function create(properties) { - return new IfBlock(properties); + TaskExecutionIdentifier.create = function create(properties) { + return new TaskExecutionIdentifier(properties); }; /** - * Encodes the specified IfBlock message. Does not implicitly {@link flyteidl.core.IfBlock.verify|verify} messages. + * Encodes the specified TaskExecutionIdentifier message. Does not implicitly {@link flyteidl.core.TaskExecutionIdentifier.verify|verify} messages. * @function encode - * @memberof flyteidl.core.IfBlock + * @memberof flyteidl.core.TaskExecutionIdentifier * @static - * @param {flyteidl.core.IIfBlock} message IfBlock message or plain object to encode + * @param {flyteidl.core.ITaskExecutionIdentifier} message TaskExecutionIdentifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - IfBlock.encode = function encode(message, writer) { + TaskExecutionIdentifier.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.condition != null && message.hasOwnProperty("condition")) - $root.flyteidl.core.BooleanExpression.encode(message.condition, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.thenNode != null && message.hasOwnProperty("thenNode")) - $root.flyteidl.core.Node.encode(message.thenNode, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.taskId != null && message.hasOwnProperty("taskId")) + $root.flyteidl.core.Identifier.encode(message.taskId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.retryAttempt); return writer; }; /** - * Decodes an IfBlock message from the specified reader or buffer. + * Decodes a TaskExecutionIdentifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.IfBlock + * @memberof flyteidl.core.TaskExecutionIdentifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.IfBlock} IfBlock + * @returns {flyteidl.core.TaskExecutionIdentifier} TaskExecutionIdentifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - IfBlock.decode = function decode(reader, length) { + TaskExecutionIdentifier.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.IfBlock(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskExecutionIdentifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.condition = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); + message.taskId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.thenNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); + message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 3: + message.retryAttempt = reader.uint32(); break; default: reader.skipType(tag & 7); @@ -2013,54 +1966,54 @@ }; /** - * Verifies an IfBlock message. + * Verifies a TaskExecutionIdentifier message. * @function verify - * @memberof flyteidl.core.IfBlock + * @memberof flyteidl.core.TaskExecutionIdentifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - IfBlock.verify = function verify(message) { + TaskExecutionIdentifier.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.condition != null && message.hasOwnProperty("condition")) { - var error = $root.flyteidl.core.BooleanExpression.verify(message.condition); + if (message.taskId != null && message.hasOwnProperty("taskId")) { + var error = $root.flyteidl.core.Identifier.verify(message.taskId); if (error) - return "condition." + error; + return "taskId." + error; } - if (message.thenNode != null && message.hasOwnProperty("thenNode")) { - var error = $root.flyteidl.core.Node.verify(message.thenNode); + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); if (error) - return "thenNode." + error; + return "nodeExecutionId." + error; } + if (message.retryAttempt != null && message.hasOwnProperty("retryAttempt")) + if (!$util.isInteger(message.retryAttempt)) + return "retryAttempt: integer expected"; return null; }; - return IfBlock; + return TaskExecutionIdentifier; })(); - core.IfElseBlock = (function() { + core.SignalIdentifier = (function() { /** - * Properties of an IfElseBlock. + * Properties of a SignalIdentifier. * @memberof flyteidl.core - * @interface IIfElseBlock - * @property {flyteidl.core.IIfBlock|null} ["case"] IfElseBlock case - * @property {Array.|null} [other] IfElseBlock other - * @property {flyteidl.core.INode|null} [elseNode] IfElseBlock elseNode - * @property {flyteidl.core.IError|null} [error] IfElseBlock error + * @interface ISignalIdentifier + * @property {string|null} [signalId] SignalIdentifier signalId + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] SignalIdentifier executionId */ /** - * Constructs a new IfElseBlock. + * Constructs a new SignalIdentifier. * @memberof flyteidl.core - * @classdesc Represents an IfElseBlock. - * @implements IIfElseBlock + * @classdesc Represents a SignalIdentifier. + * @implements ISignalIdentifier * @constructor - * @param {flyteidl.core.IIfElseBlock=} [properties] Properties to set + * @param {flyteidl.core.ISignalIdentifier=} [properties] Properties to set */ - function IfElseBlock(properties) { - this.other = []; + function SignalIdentifier(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2068,118 +2021,75 @@ } /** - * IfElseBlock case. - * @member {flyteidl.core.IIfBlock|null|undefined} case - * @memberof flyteidl.core.IfElseBlock - * @instance - */ - IfElseBlock.prototype["case"] = null; - - /** - * IfElseBlock other. - * @member {Array.} other - * @memberof flyteidl.core.IfElseBlock - * @instance - */ - IfElseBlock.prototype.other = $util.emptyArray; - - /** - * IfElseBlock elseNode. - * @member {flyteidl.core.INode|null|undefined} elseNode - * @memberof flyteidl.core.IfElseBlock - * @instance - */ - IfElseBlock.prototype.elseNode = null; - - /** - * IfElseBlock error. - * @member {flyteidl.core.IError|null|undefined} error - * @memberof flyteidl.core.IfElseBlock + * SignalIdentifier signalId. + * @member {string} signalId + * @memberof flyteidl.core.SignalIdentifier * @instance */ - IfElseBlock.prototype.error = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + SignalIdentifier.prototype.signalId = ""; /** - * IfElseBlock default. - * @member {"elseNode"|"error"|undefined} default_ - * @memberof flyteidl.core.IfElseBlock + * SignalIdentifier executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.core.SignalIdentifier * @instance */ - Object.defineProperty(IfElseBlock.prototype, "default", { - get: $util.oneOfGetter($oneOfFields = ["elseNode", "error"]), - set: $util.oneOfSetter($oneOfFields) - }); + SignalIdentifier.prototype.executionId = null; /** - * Creates a new IfElseBlock instance using the specified properties. + * Creates a new SignalIdentifier instance using the specified properties. * @function create - * @memberof flyteidl.core.IfElseBlock + * @memberof flyteidl.core.SignalIdentifier * @static - * @param {flyteidl.core.IIfElseBlock=} [properties] Properties to set - * @returns {flyteidl.core.IfElseBlock} IfElseBlock instance + * @param {flyteidl.core.ISignalIdentifier=} [properties] Properties to set + * @returns {flyteidl.core.SignalIdentifier} SignalIdentifier instance */ - IfElseBlock.create = function create(properties) { - return new IfElseBlock(properties); + SignalIdentifier.create = function create(properties) { + return new SignalIdentifier(properties); }; /** - * Encodes the specified IfElseBlock message. Does not implicitly {@link flyteidl.core.IfElseBlock.verify|verify} messages. + * Encodes the specified SignalIdentifier message. Does not implicitly {@link flyteidl.core.SignalIdentifier.verify|verify} messages. * @function encode - * @memberof flyteidl.core.IfElseBlock + * @memberof flyteidl.core.SignalIdentifier * @static - * @param {flyteidl.core.IIfElseBlock} message IfElseBlock message or plain object to encode + * @param {flyteidl.core.ISignalIdentifier} message SignalIdentifier message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - IfElseBlock.encode = function encode(message, writer) { + SignalIdentifier.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message["case"] != null && message.hasOwnProperty("case")) - $root.flyteidl.core.IfBlock.encode(message["case"], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.other != null && message.other.length) - for (var i = 0; i < message.other.length; ++i) - $root.flyteidl.core.IfBlock.encode(message.other[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.elseNode != null && message.hasOwnProperty("elseNode")) - $root.flyteidl.core.Node.encode(message.elseNode, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.Error.encode(message.error, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.signalId != null && message.hasOwnProperty("signalId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); + if (message.executionId != null && message.hasOwnProperty("executionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes an IfElseBlock message from the specified reader or buffer. + * Decodes a SignalIdentifier message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.IfElseBlock + * @memberof flyteidl.core.SignalIdentifier * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.IfElseBlock} IfElseBlock + * @returns {flyteidl.core.SignalIdentifier} SignalIdentifier * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - IfElseBlock.decode = function decode(reader, length) { + SignalIdentifier.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.IfElseBlock(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SignalIdentifier(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message["case"] = $root.flyteidl.core.IfBlock.decode(reader, reader.uint32()); + message.signalId = reader.string(); break; case 2: - if (!(message.other && message.other.length)) - message.other = []; - message.other.push($root.flyteidl.core.IfBlock.decode(reader, reader.uint32())); - break; - case 3: - message.elseNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); - break; - case 4: - message.error = $root.flyteidl.core.Error.decode(reader, reader.uint32()); + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -2190,73 +2100,73 @@ }; /** - * Verifies an IfElseBlock message. + * Verifies a SignalIdentifier message. * @function verify - * @memberof flyteidl.core.IfElseBlock + * @memberof flyteidl.core.SignalIdentifier * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - IfElseBlock.verify = function verify(message) { + SignalIdentifier.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message["case"] != null && message.hasOwnProperty("case")) { - var error = $root.flyteidl.core.IfBlock.verify(message["case"]); + if (message.signalId != null && message.hasOwnProperty("signalId")) + if (!$util.isString(message.signalId)) + return "signalId: string expected"; + if (message.executionId != null && message.hasOwnProperty("executionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); if (error) - return "case." + error; - } - if (message.other != null && message.hasOwnProperty("other")) { - if (!Array.isArray(message.other)) - return "other: array expected"; - for (var i = 0; i < message.other.length; ++i) { - var error = $root.flyteidl.core.IfBlock.verify(message.other[i]); - if (error) - return "other." + error; - } - } - if (message.elseNode != null && message.hasOwnProperty("elseNode")) { - properties["default"] = 1; - { - var error = $root.flyteidl.core.Node.verify(message.elseNode); - if (error) - return "elseNode." + error; - } - } - if (message.error != null && message.hasOwnProperty("error")) { - if (properties["default"] === 1) - return "default: multiple values"; - properties["default"] = 1; - { - var error = $root.flyteidl.core.Error.verify(message.error); - if (error) - return "error." + error; - } + return "executionId." + error; } return null; }; - return IfElseBlock; + return SignalIdentifier; })(); - core.BranchNode = (function() { + /** + * CatalogCacheStatus enum. + * @name flyteidl.core.CatalogCacheStatus + * @enum {string} + * @property {number} CACHE_DISABLED=0 CACHE_DISABLED value + * @property {number} CACHE_MISS=1 CACHE_MISS value + * @property {number} CACHE_HIT=2 CACHE_HIT value + * @property {number} CACHE_POPULATED=3 CACHE_POPULATED value + * @property {number} CACHE_LOOKUP_FAILURE=4 CACHE_LOOKUP_FAILURE value + * @property {number} CACHE_PUT_FAILURE=5 CACHE_PUT_FAILURE value + * @property {number} CACHE_SKIPPED=6 CACHE_SKIPPED value + */ + core.CatalogCacheStatus = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "CACHE_DISABLED"] = 0; + values[valuesById[1] = "CACHE_MISS"] = 1; + values[valuesById[2] = "CACHE_HIT"] = 2; + values[valuesById[3] = "CACHE_POPULATED"] = 3; + values[valuesById[4] = "CACHE_LOOKUP_FAILURE"] = 4; + values[valuesById[5] = "CACHE_PUT_FAILURE"] = 5; + values[valuesById[6] = "CACHE_SKIPPED"] = 6; + return values; + })(); + + core.CatalogArtifactTag = (function() { /** - * Properties of a BranchNode. + * Properties of a CatalogArtifactTag. * @memberof flyteidl.core - * @interface IBranchNode - * @property {flyteidl.core.IIfElseBlock|null} [ifElse] BranchNode ifElse + * @interface ICatalogArtifactTag + * @property {string|null} [artifactId] CatalogArtifactTag artifactId + * @property {string|null} [name] CatalogArtifactTag name */ /** - * Constructs a new BranchNode. + * Constructs a new CatalogArtifactTag. * @memberof flyteidl.core - * @classdesc Represents a BranchNode. - * @implements IBranchNode + * @classdesc Represents a CatalogArtifactTag. + * @implements ICatalogArtifactTag * @constructor - * @param {flyteidl.core.IBranchNode=} [properties] Properties to set + * @param {flyteidl.core.ICatalogArtifactTag=} [properties] Properties to set */ - function BranchNode(properties) { + function CatalogArtifactTag(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2264,62 +2174,75 @@ } /** - * BranchNode ifElse. - * @member {flyteidl.core.IIfElseBlock|null|undefined} ifElse - * @memberof flyteidl.core.BranchNode + * CatalogArtifactTag artifactId. + * @member {string} artifactId + * @memberof flyteidl.core.CatalogArtifactTag * @instance */ - BranchNode.prototype.ifElse = null; + CatalogArtifactTag.prototype.artifactId = ""; /** - * Creates a new BranchNode instance using the specified properties. + * CatalogArtifactTag name. + * @member {string} name + * @memberof flyteidl.core.CatalogArtifactTag + * @instance + */ + CatalogArtifactTag.prototype.name = ""; + + /** + * Creates a new CatalogArtifactTag instance using the specified properties. * @function create - * @memberof flyteidl.core.BranchNode + * @memberof flyteidl.core.CatalogArtifactTag * @static - * @param {flyteidl.core.IBranchNode=} [properties] Properties to set - * @returns {flyteidl.core.BranchNode} BranchNode instance + * @param {flyteidl.core.ICatalogArtifactTag=} [properties] Properties to set + * @returns {flyteidl.core.CatalogArtifactTag} CatalogArtifactTag instance */ - BranchNode.create = function create(properties) { - return new BranchNode(properties); + CatalogArtifactTag.create = function create(properties) { + return new CatalogArtifactTag(properties); }; /** - * Encodes the specified BranchNode message. Does not implicitly {@link flyteidl.core.BranchNode.verify|verify} messages. + * Encodes the specified CatalogArtifactTag message. Does not implicitly {@link flyteidl.core.CatalogArtifactTag.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BranchNode + * @memberof flyteidl.core.CatalogArtifactTag * @static - * @param {flyteidl.core.IBranchNode} message BranchNode message or plain object to encode + * @param {flyteidl.core.ICatalogArtifactTag} message CatalogArtifactTag message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BranchNode.encode = function encode(message, writer) { + CatalogArtifactTag.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.ifElse != null && message.hasOwnProperty("ifElse")) - $root.flyteidl.core.IfElseBlock.encode(message.ifElse, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.artifactId); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); return writer; }; /** - * Decodes a BranchNode message from the specified reader or buffer. + * Decodes a CatalogArtifactTag message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BranchNode + * @memberof flyteidl.core.CatalogArtifactTag * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BranchNode} BranchNode + * @returns {flyteidl.core.CatalogArtifactTag} CatalogArtifactTag * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BranchNode.decode = function decode(reader, length) { + CatalogArtifactTag.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BranchNode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CatalogArtifactTag(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.ifElse = $root.flyteidl.core.IfElseBlock.decode(reader, reader.uint32()); + message.artifactId = reader.string(); + break; + case 2: + message.name = reader.string(); break; default: reader.skipType(tag & 7); @@ -2330,46 +2253,48 @@ }; /** - * Verifies a BranchNode message. + * Verifies a CatalogArtifactTag message. * @function verify - * @memberof flyteidl.core.BranchNode + * @memberof flyteidl.core.CatalogArtifactTag * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BranchNode.verify = function verify(message) { + CatalogArtifactTag.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.ifElse != null && message.hasOwnProperty("ifElse")) { - var error = $root.flyteidl.core.IfElseBlock.verify(message.ifElse); - if (error) - return "ifElse." + error; - } + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + if (!$util.isString(message.artifactId)) + return "artifactId: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; return null; }; - return BranchNode; + return CatalogArtifactTag; })(); - core.TaskNode = (function() { + core.CatalogMetadata = (function() { /** - * Properties of a TaskNode. + * Properties of a CatalogMetadata. * @memberof flyteidl.core - * @interface ITaskNode - * @property {flyteidl.core.IIdentifier|null} [referenceId] TaskNode referenceId - * @property {flyteidl.core.ITaskNodeOverrides|null} [overrides] TaskNode overrides + * @interface ICatalogMetadata + * @property {flyteidl.core.IIdentifier|null} [datasetId] CatalogMetadata datasetId + * @property {flyteidl.core.ICatalogArtifactTag|null} [artifactTag] CatalogMetadata artifactTag + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [sourceTaskExecution] CatalogMetadata sourceTaskExecution */ /** - * Constructs a new TaskNode. + * Constructs a new CatalogMetadata. * @memberof flyteidl.core - * @classdesc Represents a TaskNode. - * @implements ITaskNode + * @classdesc Represents a CatalogMetadata. + * @implements ICatalogMetadata * @constructor - * @param {flyteidl.core.ITaskNode=} [properties] Properties to set + * @param {flyteidl.core.ICatalogMetadata=} [properties] Properties to set */ - function TaskNode(properties) { + function CatalogMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2377,89 +2302,102 @@ } /** - * TaskNode referenceId. - * @member {flyteidl.core.IIdentifier|null|undefined} referenceId - * @memberof flyteidl.core.TaskNode + * CatalogMetadata datasetId. + * @member {flyteidl.core.IIdentifier|null|undefined} datasetId + * @memberof flyteidl.core.CatalogMetadata * @instance */ - TaskNode.prototype.referenceId = null; + CatalogMetadata.prototype.datasetId = null; /** - * TaskNode overrides. - * @member {flyteidl.core.ITaskNodeOverrides|null|undefined} overrides - * @memberof flyteidl.core.TaskNode + * CatalogMetadata artifactTag. + * @member {flyteidl.core.ICatalogArtifactTag|null|undefined} artifactTag + * @memberof flyteidl.core.CatalogMetadata * @instance */ - TaskNode.prototype.overrides = null; + CatalogMetadata.prototype.artifactTag = null; + + /** + * CatalogMetadata sourceTaskExecution. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} sourceTaskExecution + * @memberof flyteidl.core.CatalogMetadata + * @instance + */ + CatalogMetadata.prototype.sourceTaskExecution = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * TaskNode reference. - * @member {"referenceId"|undefined} reference - * @memberof flyteidl.core.TaskNode + * CatalogMetadata sourceExecution. + * @member {"sourceTaskExecution"|undefined} sourceExecution + * @memberof flyteidl.core.CatalogMetadata * @instance */ - Object.defineProperty(TaskNode.prototype, "reference", { - get: $util.oneOfGetter($oneOfFields = ["referenceId"]), + Object.defineProperty(CatalogMetadata.prototype, "sourceExecution", { + get: $util.oneOfGetter($oneOfFields = ["sourceTaskExecution"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new TaskNode instance using the specified properties. + * Creates a new CatalogMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.TaskNode + * @memberof flyteidl.core.CatalogMetadata * @static - * @param {flyteidl.core.ITaskNode=} [properties] Properties to set - * @returns {flyteidl.core.TaskNode} TaskNode instance + * @param {flyteidl.core.ICatalogMetadata=} [properties] Properties to set + * @returns {flyteidl.core.CatalogMetadata} CatalogMetadata instance */ - TaskNode.create = function create(properties) { - return new TaskNode(properties); + CatalogMetadata.create = function create(properties) { + return new CatalogMetadata(properties); }; /** - * Encodes the specified TaskNode message. Does not implicitly {@link flyteidl.core.TaskNode.verify|verify} messages. + * Encodes the specified CatalogMetadata message. Does not implicitly {@link flyteidl.core.CatalogMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TaskNode + * @memberof flyteidl.core.CatalogMetadata * @static - * @param {flyteidl.core.ITaskNode} message TaskNode message or plain object to encode + * @param {flyteidl.core.ICatalogMetadata} message CatalogMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskNode.encode = function encode(message, writer) { + CatalogMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.referenceId != null && message.hasOwnProperty("referenceId")) - $root.flyteidl.core.Identifier.encode(message.referenceId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.overrides != null && message.hasOwnProperty("overrides")) - $root.flyteidl.core.TaskNodeOverrides.encode(message.overrides, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.datasetId != null && message.hasOwnProperty("datasetId")) + $root.flyteidl.core.Identifier.encode(message.datasetId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) + $root.flyteidl.core.CatalogArtifactTag.encode(message.artifactTag, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.sourceTaskExecution != null && message.hasOwnProperty("sourceTaskExecution")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.sourceTaskExecution, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a TaskNode message from the specified reader or buffer. + * Decodes a CatalogMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TaskNode + * @memberof flyteidl.core.CatalogMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TaskNode} TaskNode + * @returns {flyteidl.core.CatalogMetadata} CatalogMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskNode.decode = function decode(reader, length) { + CatalogMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskNode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CatalogMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.referenceId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.datasetId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.overrides = $root.flyteidl.core.TaskNodeOverrides.decode(reader, reader.uint32()); + message.artifactTag = $root.flyteidl.core.CatalogArtifactTag.decode(reader, reader.uint32()); + break; + case 3: + message.sourceTaskExecution = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -2470,55 +2408,58 @@ }; /** - * Verifies a TaskNode message. + * Verifies a CatalogMetadata message. * @function verify - * @memberof flyteidl.core.TaskNode + * @memberof flyteidl.core.CatalogMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskNode.verify = function verify(message) { + CatalogMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.referenceId != null && message.hasOwnProperty("referenceId")) { - properties.reference = 1; + if (message.datasetId != null && message.hasOwnProperty("datasetId")) { + var error = $root.flyteidl.core.Identifier.verify(message.datasetId); + if (error) + return "datasetId." + error; + } + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) { + var error = $root.flyteidl.core.CatalogArtifactTag.verify(message.artifactTag); + if (error) + return "artifactTag." + error; + } + if (message.sourceTaskExecution != null && message.hasOwnProperty("sourceTaskExecution")) { + properties.sourceExecution = 1; { - var error = $root.flyteidl.core.Identifier.verify(message.referenceId); + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.sourceTaskExecution); if (error) - return "referenceId." + error; + return "sourceTaskExecution." + error; } } - if (message.overrides != null && message.hasOwnProperty("overrides")) { - var error = $root.flyteidl.core.TaskNodeOverrides.verify(message.overrides); - if (error) - return "overrides." + error; - } return null; }; - return TaskNode; + return CatalogMetadata; })(); - core.WorkflowNode = (function() { + core.CatalogReservation = (function() { /** - * Properties of a WorkflowNode. + * Properties of a CatalogReservation. * @memberof flyteidl.core - * @interface IWorkflowNode - * @property {flyteidl.core.IIdentifier|null} [launchplanRef] WorkflowNode launchplanRef - * @property {flyteidl.core.IIdentifier|null} [subWorkflowRef] WorkflowNode subWorkflowRef + * @interface ICatalogReservation */ /** - * Constructs a new WorkflowNode. + * Constructs a new CatalogReservation. * @memberof flyteidl.core - * @classdesc Represents a WorkflowNode. - * @implements IWorkflowNode + * @classdesc Represents a CatalogReservation. + * @implements ICatalogReservation * @constructor - * @param {flyteidl.core.IWorkflowNode=} [properties] Properties to set + * @param {flyteidl.core.ICatalogReservation=} [properties] Properties to set */ - function WorkflowNode(properties) { + function CatalogReservation(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2526,90 +2467,50 @@ } /** - * WorkflowNode launchplanRef. - * @member {flyteidl.core.IIdentifier|null|undefined} launchplanRef - * @memberof flyteidl.core.WorkflowNode - * @instance - */ - WorkflowNode.prototype.launchplanRef = null; - - /** - * WorkflowNode subWorkflowRef. - * @member {flyteidl.core.IIdentifier|null|undefined} subWorkflowRef - * @memberof flyteidl.core.WorkflowNode - * @instance - */ - WorkflowNode.prototype.subWorkflowRef = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * WorkflowNode reference. - * @member {"launchplanRef"|"subWorkflowRef"|undefined} reference - * @memberof flyteidl.core.WorkflowNode - * @instance - */ - Object.defineProperty(WorkflowNode.prototype, "reference", { - get: $util.oneOfGetter($oneOfFields = ["launchplanRef", "subWorkflowRef"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new WorkflowNode instance using the specified properties. + * Creates a new CatalogReservation instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowNode + * @memberof flyteidl.core.CatalogReservation * @static - * @param {flyteidl.core.IWorkflowNode=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowNode} WorkflowNode instance + * @param {flyteidl.core.ICatalogReservation=} [properties] Properties to set + * @returns {flyteidl.core.CatalogReservation} CatalogReservation instance */ - WorkflowNode.create = function create(properties) { - return new WorkflowNode(properties); + CatalogReservation.create = function create(properties) { + return new CatalogReservation(properties); }; /** - * Encodes the specified WorkflowNode message. Does not implicitly {@link flyteidl.core.WorkflowNode.verify|verify} messages. + * Encodes the specified CatalogReservation message. Does not implicitly {@link flyteidl.core.CatalogReservation.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowNode + * @memberof flyteidl.core.CatalogReservation * @static - * @param {flyteidl.core.IWorkflowNode} message WorkflowNode message or plain object to encode + * @param {flyteidl.core.ICatalogReservation} message CatalogReservation message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowNode.encode = function encode(message, writer) { + CatalogReservation.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.launchplanRef != null && message.hasOwnProperty("launchplanRef")) - $root.flyteidl.core.Identifier.encode(message.launchplanRef, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.subWorkflowRef != null && message.hasOwnProperty("subWorkflowRef")) - $root.flyteidl.core.Identifier.encode(message.subWorkflowRef, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowNode message from the specified reader or buffer. + * Decodes a CatalogReservation message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowNode + * @memberof flyteidl.core.CatalogReservation * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowNode} WorkflowNode + * @returns {flyteidl.core.CatalogReservation} CatalogReservation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowNode.decode = function decode(reader, length) { + CatalogReservation.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowNode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CatalogReservation(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.launchplanRef = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; - case 2: - message.subWorkflowRef = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -2619,59 +2520,63 @@ }; /** - * Verifies a WorkflowNode message. + * Verifies a CatalogReservation message. * @function verify - * @memberof flyteidl.core.WorkflowNode + * @memberof flyteidl.core.CatalogReservation * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowNode.verify = function verify(message) { + CatalogReservation.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.launchplanRef != null && message.hasOwnProperty("launchplanRef")) { - properties.reference = 1; - { - var error = $root.flyteidl.core.Identifier.verify(message.launchplanRef); - if (error) - return "launchplanRef." + error; - } - } - if (message.subWorkflowRef != null && message.hasOwnProperty("subWorkflowRef")) { - if (properties.reference === 1) - return "reference: multiple values"; - properties.reference = 1; - { - var error = $root.flyteidl.core.Identifier.verify(message.subWorkflowRef); - if (error) - return "subWorkflowRef." + error; - } - } return null; }; - return WorkflowNode; + /** + * Status enum. + * @name flyteidl.core.CatalogReservation.Status + * @enum {string} + * @property {number} RESERVATION_DISABLED=0 RESERVATION_DISABLED value + * @property {number} RESERVATION_ACQUIRED=1 RESERVATION_ACQUIRED value + * @property {number} RESERVATION_EXISTS=2 RESERVATION_EXISTS value + * @property {number} RESERVATION_RELEASED=3 RESERVATION_RELEASED value + * @property {number} RESERVATION_FAILURE=4 RESERVATION_FAILURE value + */ + CatalogReservation.Status = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "RESERVATION_DISABLED"] = 0; + values[valuesById[1] = "RESERVATION_ACQUIRED"] = 1; + values[valuesById[2] = "RESERVATION_EXISTS"] = 2; + values[valuesById[3] = "RESERVATION_RELEASED"] = 3; + values[valuesById[4] = "RESERVATION_FAILURE"] = 4; + return values; + })(); + + return CatalogReservation; })(); - core.ApproveCondition = (function() { + core.ConnectionSet = (function() { /** - * Properties of an ApproveCondition. + * Properties of a ConnectionSet. * @memberof flyteidl.core - * @interface IApproveCondition - * @property {string|null} [signalId] ApproveCondition signalId + * @interface IConnectionSet + * @property {Object.|null} [downstream] ConnectionSet downstream + * @property {Object.|null} [upstream] ConnectionSet upstream */ /** - * Constructs a new ApproveCondition. + * Constructs a new ConnectionSet. * @memberof flyteidl.core - * @classdesc Represents an ApproveCondition. - * @implements IApproveCondition + * @classdesc Represents a ConnectionSet. + * @implements IConnectionSet * @constructor - * @param {flyteidl.core.IApproveCondition=} [properties] Properties to set + * @param {flyteidl.core.IConnectionSet=} [properties] Properties to set */ - function ApproveCondition(properties) { + function ConnectionSet(properties) { + this.downstream = {}; + this.upstream = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2679,62 +2584,91 @@ } /** - * ApproveCondition signalId. - * @member {string} signalId - * @memberof flyteidl.core.ApproveCondition + * ConnectionSet downstream. + * @member {Object.} downstream + * @memberof flyteidl.core.ConnectionSet * @instance */ - ApproveCondition.prototype.signalId = ""; + ConnectionSet.prototype.downstream = $util.emptyObject; /** - * Creates a new ApproveCondition instance using the specified properties. + * ConnectionSet upstream. + * @member {Object.} upstream + * @memberof flyteidl.core.ConnectionSet + * @instance + */ + ConnectionSet.prototype.upstream = $util.emptyObject; + + /** + * Creates a new ConnectionSet instance using the specified properties. * @function create - * @memberof flyteidl.core.ApproveCondition + * @memberof flyteidl.core.ConnectionSet * @static - * @param {flyteidl.core.IApproveCondition=} [properties] Properties to set - * @returns {flyteidl.core.ApproveCondition} ApproveCondition instance + * @param {flyteidl.core.IConnectionSet=} [properties] Properties to set + * @returns {flyteidl.core.ConnectionSet} ConnectionSet instance */ - ApproveCondition.create = function create(properties) { - return new ApproveCondition(properties); + ConnectionSet.create = function create(properties) { + return new ConnectionSet(properties); }; /** - * Encodes the specified ApproveCondition message. Does not implicitly {@link flyteidl.core.ApproveCondition.verify|verify} messages. + * Encodes the specified ConnectionSet message. Does not implicitly {@link flyteidl.core.ConnectionSet.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ApproveCondition + * @memberof flyteidl.core.ConnectionSet * @static - * @param {flyteidl.core.IApproveCondition} message ApproveCondition message or plain object to encode + * @param {flyteidl.core.IConnectionSet} message ConnectionSet message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ApproveCondition.encode = function encode(message, writer) { + ConnectionSet.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signalId != null && message.hasOwnProperty("signalId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); + if (message.downstream != null && message.hasOwnProperty("downstream")) + for (var keys = Object.keys(message.downstream), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.ConnectionSet.IdList.encode(message.downstream[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + if (message.upstream != null && message.hasOwnProperty("upstream")) + for (var keys = Object.keys(message.upstream), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.ConnectionSet.IdList.encode(message.upstream[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } return writer; }; /** - * Decodes an ApproveCondition message from the specified reader or buffer. + * Decodes a ConnectionSet message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ApproveCondition + * @memberof flyteidl.core.ConnectionSet * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ApproveCondition} ApproveCondition + * @returns {flyteidl.core.ConnectionSet} ConnectionSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ApproveCondition.decode = function decode(reader, length) { + ConnectionSet.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ApproveCondition(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ConnectionSet(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.signalId = reader.string(); + case 7: + reader.skip().pos++; + if (message.downstream === $util.emptyObject) + message.downstream = {}; + key = reader.string(); + reader.pos++; + message.downstream[key] = $root.flyteidl.core.ConnectionSet.IdList.decode(reader, reader.uint32()); + break; + case 8: + reader.skip().pos++; + if (message.upstream === $util.emptyObject) + message.upstream = {}; + key = reader.string(); + reader.pos++; + message.upstream[key] = $root.flyteidl.core.ConnectionSet.IdList.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -2745,45 +2679,179 @@ }; /** - * Verifies an ApproveCondition message. + * Verifies a ConnectionSet message. * @function verify - * @memberof flyteidl.core.ApproveCondition + * @memberof flyteidl.core.ConnectionSet * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ApproveCondition.verify = function verify(message) { + ConnectionSet.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signalId != null && message.hasOwnProperty("signalId")) - if (!$util.isString(message.signalId)) - return "signalId: string expected"; + if (message.downstream != null && message.hasOwnProperty("downstream")) { + if (!$util.isObject(message.downstream)) + return "downstream: object expected"; + var key = Object.keys(message.downstream); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.ConnectionSet.IdList.verify(message.downstream[key[i]]); + if (error) + return "downstream." + error; + } + } + if (message.upstream != null && message.hasOwnProperty("upstream")) { + if (!$util.isObject(message.upstream)) + return "upstream: object expected"; + var key = Object.keys(message.upstream); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.ConnectionSet.IdList.verify(message.upstream[key[i]]); + if (error) + return "upstream." + error; + } + } return null; }; - return ApproveCondition; + ConnectionSet.IdList = (function() { + + /** + * Properties of an IdList. + * @memberof flyteidl.core.ConnectionSet + * @interface IIdList + * @property {Array.|null} [ids] IdList ids + */ + + /** + * Constructs a new IdList. + * @memberof flyteidl.core.ConnectionSet + * @classdesc Represents an IdList. + * @implements IIdList + * @constructor + * @param {flyteidl.core.ConnectionSet.IIdList=} [properties] Properties to set + */ + function IdList(properties) { + this.ids = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * IdList ids. + * @member {Array.} ids + * @memberof flyteidl.core.ConnectionSet.IdList + * @instance + */ + IdList.prototype.ids = $util.emptyArray; + + /** + * Creates a new IdList instance using the specified properties. + * @function create + * @memberof flyteidl.core.ConnectionSet.IdList + * @static + * @param {flyteidl.core.ConnectionSet.IIdList=} [properties] Properties to set + * @returns {flyteidl.core.ConnectionSet.IdList} IdList instance + */ + IdList.create = function create(properties) { + return new IdList(properties); + }; + + /** + * Encodes the specified IdList message. Does not implicitly {@link flyteidl.core.ConnectionSet.IdList.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.ConnectionSet.IdList + * @static + * @param {flyteidl.core.ConnectionSet.IIdList} message IdList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + IdList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.ids != null && message.ids.length) + for (var i = 0; i < message.ids.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.ids[i]); + return writer; + }; + + /** + * Decodes an IdList message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.ConnectionSet.IdList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.ConnectionSet.IdList} IdList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + IdList.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ConnectionSet.IdList(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.ids && message.ids.length)) + message.ids = []; + message.ids.push(reader.string()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an IdList message. + * @function verify + * @memberof flyteidl.core.ConnectionSet.IdList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + IdList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ids != null && message.hasOwnProperty("ids")) { + if (!Array.isArray(message.ids)) + return "ids: array expected"; + for (var i = 0; i < message.ids.length; ++i) + if (!$util.isString(message.ids[i])) + return "ids: string[] expected"; + } + return null; + }; + + return IdList; + })(); + + return ConnectionSet; })(); - core.SignalCondition = (function() { + core.CompiledWorkflow = (function() { /** - * Properties of a SignalCondition. + * Properties of a CompiledWorkflow. * @memberof flyteidl.core - * @interface ISignalCondition - * @property {string|null} [signalId] SignalCondition signalId - * @property {flyteidl.core.ILiteralType|null} [type] SignalCondition type - * @property {string|null} [outputVariableName] SignalCondition outputVariableName + * @interface ICompiledWorkflow + * @property {flyteidl.core.IWorkflowTemplate|null} [template] CompiledWorkflow template + * @property {flyteidl.core.IConnectionSet|null} [connections] CompiledWorkflow connections */ /** - * Constructs a new SignalCondition. + * Constructs a new CompiledWorkflow. * @memberof flyteidl.core - * @classdesc Represents a SignalCondition. - * @implements ISignalCondition + * @classdesc Represents a CompiledWorkflow. + * @implements ICompiledWorkflow * @constructor - * @param {flyteidl.core.ISignalCondition=} [properties] Properties to set + * @param {flyteidl.core.ICompiledWorkflow=} [properties] Properties to set */ - function SignalCondition(properties) { + function CompiledWorkflow(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2791,88 +2859,75 @@ } /** - * SignalCondition signalId. - * @member {string} signalId - * @memberof flyteidl.core.SignalCondition - * @instance - */ - SignalCondition.prototype.signalId = ""; - - /** - * SignalCondition type. - * @member {flyteidl.core.ILiteralType|null|undefined} type - * @memberof flyteidl.core.SignalCondition + * CompiledWorkflow template. + * @member {flyteidl.core.IWorkflowTemplate|null|undefined} template + * @memberof flyteidl.core.CompiledWorkflow * @instance */ - SignalCondition.prototype.type = null; + CompiledWorkflow.prototype.template = null; /** - * SignalCondition outputVariableName. - * @member {string} outputVariableName - * @memberof flyteidl.core.SignalCondition + * CompiledWorkflow connections. + * @member {flyteidl.core.IConnectionSet|null|undefined} connections + * @memberof flyteidl.core.CompiledWorkflow * @instance */ - SignalCondition.prototype.outputVariableName = ""; + CompiledWorkflow.prototype.connections = null; /** - * Creates a new SignalCondition instance using the specified properties. + * Creates a new CompiledWorkflow instance using the specified properties. * @function create - * @memberof flyteidl.core.SignalCondition + * @memberof flyteidl.core.CompiledWorkflow * @static - * @param {flyteidl.core.ISignalCondition=} [properties] Properties to set - * @returns {flyteidl.core.SignalCondition} SignalCondition instance + * @param {flyteidl.core.ICompiledWorkflow=} [properties] Properties to set + * @returns {flyteidl.core.CompiledWorkflow} CompiledWorkflow instance */ - SignalCondition.create = function create(properties) { - return new SignalCondition(properties); + CompiledWorkflow.create = function create(properties) { + return new CompiledWorkflow(properties); }; /** - * Encodes the specified SignalCondition message. Does not implicitly {@link flyteidl.core.SignalCondition.verify|verify} messages. + * Encodes the specified CompiledWorkflow message. Does not implicitly {@link flyteidl.core.CompiledWorkflow.verify|verify} messages. * @function encode - * @memberof flyteidl.core.SignalCondition + * @memberof flyteidl.core.CompiledWorkflow * @static - * @param {flyteidl.core.ISignalCondition} message SignalCondition message or plain object to encode + * @param {flyteidl.core.ICompiledWorkflow} message CompiledWorkflow message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SignalCondition.encode = function encode(message, writer) { + CompiledWorkflow.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.signalId != null && message.hasOwnProperty("signalId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); - if (message.type != null && message.hasOwnProperty("type")) - $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.outputVariableName != null && message.hasOwnProperty("outputVariableName")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputVariableName); + if (message.template != null && message.hasOwnProperty("template")) + $root.flyteidl.core.WorkflowTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.connections != null && message.hasOwnProperty("connections")) + $root.flyteidl.core.ConnectionSet.encode(message.connections, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a SignalCondition message from the specified reader or buffer. + * Decodes a CompiledWorkflow message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.SignalCondition + * @memberof flyteidl.core.CompiledWorkflow * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.SignalCondition} SignalCondition + * @returns {flyteidl.core.CompiledWorkflow} CompiledWorkflow * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SignalCondition.decode = function decode(reader, length) { + CompiledWorkflow.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SignalCondition(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CompiledWorkflow(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.signalId = reader.string(); + message.template = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); break; case 2: - message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); - break; - case 3: - message.outputVariableName = reader.string(); + message.connections = $root.flyteidl.core.ConnectionSet.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -2883,51 +2938,50 @@ }; /** - * Verifies a SignalCondition message. + * Verifies a CompiledWorkflow message. * @function verify - * @memberof flyteidl.core.SignalCondition + * @memberof flyteidl.core.CompiledWorkflow * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SignalCondition.verify = function verify(message) { + CompiledWorkflow.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.signalId != null && message.hasOwnProperty("signalId")) - if (!$util.isString(message.signalId)) - return "signalId: string expected"; - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.LiteralType.verify(message.type); + if (message.template != null && message.hasOwnProperty("template")) { + var error = $root.flyteidl.core.WorkflowTemplate.verify(message.template); if (error) - return "type." + error; + return "template." + error; + } + if (message.connections != null && message.hasOwnProperty("connections")) { + var error = $root.flyteidl.core.ConnectionSet.verify(message.connections); + if (error) + return "connections." + error; } - if (message.outputVariableName != null && message.hasOwnProperty("outputVariableName")) - if (!$util.isString(message.outputVariableName)) - return "outputVariableName: string expected"; return null; }; - return SignalCondition; + return CompiledWorkflow; })(); - core.SleepCondition = (function() { + core.CompiledTask = (function() { /** - * Properties of a SleepCondition. + * Properties of a CompiledTask. * @memberof flyteidl.core - * @interface ISleepCondition - * @property {google.protobuf.IDuration|null} [duration] SleepCondition duration + * @interface ICompiledTask + * @property {flyteidl.core.ITaskTemplate|null} [template] CompiledTask template */ /** - * Constructs a new SleepCondition. + * Constructs a new CompiledTask. * @memberof flyteidl.core - * @classdesc Represents a SleepCondition. - * @implements ISleepCondition + * @classdesc Represents a CompiledTask. + * @implements ICompiledTask * @constructor - * @param {flyteidl.core.ISleepCondition=} [properties] Properties to set + * @param {flyteidl.core.ICompiledTask=} [properties] Properties to set */ - function SleepCondition(properties) { + function CompiledTask(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -2935,62 +2989,62 @@ } /** - * SleepCondition duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.core.SleepCondition + * CompiledTask template. + * @member {flyteidl.core.ITaskTemplate|null|undefined} template + * @memberof flyteidl.core.CompiledTask * @instance */ - SleepCondition.prototype.duration = null; + CompiledTask.prototype.template = null; /** - * Creates a new SleepCondition instance using the specified properties. + * Creates a new CompiledTask instance using the specified properties. * @function create - * @memberof flyteidl.core.SleepCondition + * @memberof flyteidl.core.CompiledTask * @static - * @param {flyteidl.core.ISleepCondition=} [properties] Properties to set - * @returns {flyteidl.core.SleepCondition} SleepCondition instance + * @param {flyteidl.core.ICompiledTask=} [properties] Properties to set + * @returns {flyteidl.core.CompiledTask} CompiledTask instance */ - SleepCondition.create = function create(properties) { - return new SleepCondition(properties); + CompiledTask.create = function create(properties) { + return new CompiledTask(properties); }; /** - * Encodes the specified SleepCondition message. Does not implicitly {@link flyteidl.core.SleepCondition.verify|verify} messages. + * Encodes the specified CompiledTask message. Does not implicitly {@link flyteidl.core.CompiledTask.verify|verify} messages. * @function encode - * @memberof flyteidl.core.SleepCondition + * @memberof flyteidl.core.CompiledTask * @static - * @param {flyteidl.core.ISleepCondition} message SleepCondition message or plain object to encode + * @param {flyteidl.core.ICompiledTask} message CompiledTask message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SleepCondition.encode = function encode(message, writer) { + CompiledTask.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.duration != null && message.hasOwnProperty("duration")) - $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.template != null && message.hasOwnProperty("template")) + $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a SleepCondition message from the specified reader or buffer. + * Decodes a CompiledTask message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.SleepCondition + * @memberof flyteidl.core.CompiledTask * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.SleepCondition} SleepCondition + * @returns {flyteidl.core.CompiledTask} CompiledTask * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SleepCondition.decode = function decode(reader, length) { + CompiledTask.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SleepCondition(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CompiledTask(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -3001,47 +3055,49 @@ }; /** - * Verifies a SleepCondition message. + * Verifies a CompiledTask message. * @function verify - * @memberof flyteidl.core.SleepCondition + * @memberof flyteidl.core.CompiledTask * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SleepCondition.verify = function verify(message) { + CompiledTask.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.duration != null && message.hasOwnProperty("duration")) { - var error = $root.google.protobuf.Duration.verify(message.duration); + if (message.template != null && message.hasOwnProperty("template")) { + var error = $root.flyteidl.core.TaskTemplate.verify(message.template); if (error) - return "duration." + error; + return "template." + error; } return null; }; - return SleepCondition; + return CompiledTask; })(); - core.GateNode = (function() { + core.CompiledWorkflowClosure = (function() { /** - * Properties of a GateNode. + * Properties of a CompiledWorkflowClosure. * @memberof flyteidl.core - * @interface IGateNode - * @property {flyteidl.core.IApproveCondition|null} [approve] GateNode approve - * @property {flyteidl.core.ISignalCondition|null} [signal] GateNode signal - * @property {flyteidl.core.ISleepCondition|null} [sleep] GateNode sleep + * @interface ICompiledWorkflowClosure + * @property {flyteidl.core.ICompiledWorkflow|null} [primary] CompiledWorkflowClosure primary + * @property {Array.|null} [subWorkflows] CompiledWorkflowClosure subWorkflows + * @property {Array.|null} [tasks] CompiledWorkflowClosure tasks */ /** - * Constructs a new GateNode. + * Constructs a new CompiledWorkflowClosure. * @memberof flyteidl.core - * @classdesc Represents a GateNode. - * @implements IGateNode + * @classdesc Represents a CompiledWorkflowClosure. + * @implements ICompiledWorkflowClosure * @constructor - * @param {flyteidl.core.IGateNode=} [properties] Properties to set + * @param {flyteidl.core.ICompiledWorkflowClosure=} [properties] Properties to set */ - function GateNode(properties) { + function CompiledWorkflowClosure(properties) { + this.subWorkflows = []; + this.tasks = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -3049,102 +3105,94 @@ } /** - * GateNode approve. - * @member {flyteidl.core.IApproveCondition|null|undefined} approve - * @memberof flyteidl.core.GateNode - * @instance - */ - GateNode.prototype.approve = null; - - /** - * GateNode signal. - * @member {flyteidl.core.ISignalCondition|null|undefined} signal - * @memberof flyteidl.core.GateNode + * CompiledWorkflowClosure primary. + * @member {flyteidl.core.ICompiledWorkflow|null|undefined} primary + * @memberof flyteidl.core.CompiledWorkflowClosure * @instance */ - GateNode.prototype.signal = null; + CompiledWorkflowClosure.prototype.primary = null; /** - * GateNode sleep. - * @member {flyteidl.core.ISleepCondition|null|undefined} sleep - * @memberof flyteidl.core.GateNode + * CompiledWorkflowClosure subWorkflows. + * @member {Array.} subWorkflows + * @memberof flyteidl.core.CompiledWorkflowClosure * @instance */ - GateNode.prototype.sleep = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + CompiledWorkflowClosure.prototype.subWorkflows = $util.emptyArray; /** - * GateNode condition. - * @member {"approve"|"signal"|"sleep"|undefined} condition - * @memberof flyteidl.core.GateNode + * CompiledWorkflowClosure tasks. + * @member {Array.} tasks + * @memberof flyteidl.core.CompiledWorkflowClosure * @instance */ - Object.defineProperty(GateNode.prototype, "condition", { - get: $util.oneOfGetter($oneOfFields = ["approve", "signal", "sleep"]), - set: $util.oneOfSetter($oneOfFields) - }); + CompiledWorkflowClosure.prototype.tasks = $util.emptyArray; /** - * Creates a new GateNode instance using the specified properties. + * Creates a new CompiledWorkflowClosure instance using the specified properties. * @function create - * @memberof flyteidl.core.GateNode + * @memberof flyteidl.core.CompiledWorkflowClosure * @static - * @param {flyteidl.core.IGateNode=} [properties] Properties to set - * @returns {flyteidl.core.GateNode} GateNode instance + * @param {flyteidl.core.ICompiledWorkflowClosure=} [properties] Properties to set + * @returns {flyteidl.core.CompiledWorkflowClosure} CompiledWorkflowClosure instance */ - GateNode.create = function create(properties) { - return new GateNode(properties); + CompiledWorkflowClosure.create = function create(properties) { + return new CompiledWorkflowClosure(properties); }; /** - * Encodes the specified GateNode message. Does not implicitly {@link flyteidl.core.GateNode.verify|verify} messages. + * Encodes the specified CompiledWorkflowClosure message. Does not implicitly {@link flyteidl.core.CompiledWorkflowClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.core.GateNode + * @memberof flyteidl.core.CompiledWorkflowClosure * @static - * @param {flyteidl.core.IGateNode} message GateNode message or plain object to encode + * @param {flyteidl.core.ICompiledWorkflowClosure} message CompiledWorkflowClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GateNode.encode = function encode(message, writer) { + CompiledWorkflowClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.approve != null && message.hasOwnProperty("approve")) - $root.flyteidl.core.ApproveCondition.encode(message.approve, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.signal != null && message.hasOwnProperty("signal")) - $root.flyteidl.core.SignalCondition.encode(message.signal, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.sleep != null && message.hasOwnProperty("sleep")) - $root.flyteidl.core.SleepCondition.encode(message.sleep, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.primary != null && message.hasOwnProperty("primary")) + $root.flyteidl.core.CompiledWorkflow.encode(message.primary, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.subWorkflows != null && message.subWorkflows.length) + for (var i = 0; i < message.subWorkflows.length; ++i) + $root.flyteidl.core.CompiledWorkflow.encode(message.subWorkflows[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.tasks != null && message.tasks.length) + for (var i = 0; i < message.tasks.length; ++i) + $root.flyteidl.core.CompiledTask.encode(message.tasks[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a GateNode message from the specified reader or buffer. + * Decodes a CompiledWorkflowClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.GateNode + * @memberof flyteidl.core.CompiledWorkflowClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.GateNode} GateNode + * @returns {flyteidl.core.CompiledWorkflowClosure} CompiledWorkflowClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GateNode.decode = function decode(reader, length) { + CompiledWorkflowClosure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.GateNode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.CompiledWorkflowClosure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.approve = $root.flyteidl.core.ApproveCondition.decode(reader, reader.uint32()); + message.primary = $root.flyteidl.core.CompiledWorkflow.decode(reader, reader.uint32()); break; case 2: - message.signal = $root.flyteidl.core.SignalCondition.decode(reader, reader.uint32()); + if (!(message.subWorkflows && message.subWorkflows.length)) + message.subWorkflows = []; + message.subWorkflows.push($root.flyteidl.core.CompiledWorkflow.decode(reader, reader.uint32())); break; case 3: - message.sleep = $root.flyteidl.core.SleepCondition.decode(reader, reader.uint32()); + if (!(message.tasks && message.tasks.length)) + message.tasks = []; + message.tasks.push($root.flyteidl.core.CompiledTask.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -3155,72 +3203,64 @@ }; /** - * Verifies a GateNode message. + * Verifies a CompiledWorkflowClosure message. * @function verify - * @memberof flyteidl.core.GateNode + * @memberof flyteidl.core.CompiledWorkflowClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GateNode.verify = function verify(message) { + CompiledWorkflowClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.approve != null && message.hasOwnProperty("approve")) { - properties.condition = 1; - { - var error = $root.flyteidl.core.ApproveCondition.verify(message.approve); - if (error) - return "approve." + error; - } + if (message.primary != null && message.hasOwnProperty("primary")) { + var error = $root.flyteidl.core.CompiledWorkflow.verify(message.primary); + if (error) + return "primary." + error; } - if (message.signal != null && message.hasOwnProperty("signal")) { - if (properties.condition === 1) - return "condition: multiple values"; - properties.condition = 1; - { - var error = $root.flyteidl.core.SignalCondition.verify(message.signal); + if (message.subWorkflows != null && message.hasOwnProperty("subWorkflows")) { + if (!Array.isArray(message.subWorkflows)) + return "subWorkflows: array expected"; + for (var i = 0; i < message.subWorkflows.length; ++i) { + var error = $root.flyteidl.core.CompiledWorkflow.verify(message.subWorkflows[i]); if (error) - return "signal." + error; + return "subWorkflows." + error; } } - if (message.sleep != null && message.hasOwnProperty("sleep")) { - if (properties.condition === 1) - return "condition: multiple values"; - properties.condition = 1; - { - var error = $root.flyteidl.core.SleepCondition.verify(message.sleep); + if (message.tasks != null && message.hasOwnProperty("tasks")) { + if (!Array.isArray(message.tasks)) + return "tasks: array expected"; + for (var i = 0; i < message.tasks.length; ++i) { + var error = $root.flyteidl.core.CompiledTask.verify(message.tasks[i]); if (error) - return "sleep." + error; + return "tasks." + error; } } return null; }; - return GateNode; + return CompiledWorkflowClosure; })(); - core.ArrayNode = (function() { + core.IfBlock = (function() { /** - * Properties of an ArrayNode. + * Properties of an IfBlock. * @memberof flyteidl.core - * @interface IArrayNode - * @property {flyteidl.core.INode|null} [node] ArrayNode node - * @property {number|null} [parallelism] ArrayNode parallelism - * @property {number|null} [minSuccesses] ArrayNode minSuccesses - * @property {number|null} [minSuccessRatio] ArrayNode minSuccessRatio + * @interface IIfBlock + * @property {flyteidl.core.IBooleanExpression|null} [condition] IfBlock condition + * @property {flyteidl.core.INode|null} [thenNode] IfBlock thenNode */ /** - * Constructs a new ArrayNode. + * Constructs a new IfBlock. * @memberof flyteidl.core - * @classdesc Represents an ArrayNode. - * @implements IArrayNode + * @classdesc Represents an IfBlock. + * @implements IIfBlock * @constructor - * @param {flyteidl.core.IArrayNode=} [properties] Properties to set + * @param {flyteidl.core.IIfBlock=} [properties] Properties to set */ - function ArrayNode(properties) { + function IfBlock(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -3228,115 +3268,75 @@ } /** - * ArrayNode node. - * @member {flyteidl.core.INode|null|undefined} node - * @memberof flyteidl.core.ArrayNode - * @instance - */ - ArrayNode.prototype.node = null; - - /** - * ArrayNode parallelism. - * @member {number} parallelism - * @memberof flyteidl.core.ArrayNode - * @instance - */ - ArrayNode.prototype.parallelism = 0; - - /** - * ArrayNode minSuccesses. - * @member {number} minSuccesses - * @memberof flyteidl.core.ArrayNode - * @instance - */ - ArrayNode.prototype.minSuccesses = 0; - - /** - * ArrayNode minSuccessRatio. - * @member {number} minSuccessRatio - * @memberof flyteidl.core.ArrayNode + * IfBlock condition. + * @member {flyteidl.core.IBooleanExpression|null|undefined} condition + * @memberof flyteidl.core.IfBlock * @instance */ - ArrayNode.prototype.minSuccessRatio = 0; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + IfBlock.prototype.condition = null; /** - * ArrayNode successCriteria. - * @member {"minSuccesses"|"minSuccessRatio"|undefined} successCriteria - * @memberof flyteidl.core.ArrayNode + * IfBlock thenNode. + * @member {flyteidl.core.INode|null|undefined} thenNode + * @memberof flyteidl.core.IfBlock * @instance */ - Object.defineProperty(ArrayNode.prototype, "successCriteria", { - get: $util.oneOfGetter($oneOfFields = ["minSuccesses", "minSuccessRatio"]), - set: $util.oneOfSetter($oneOfFields) - }); + IfBlock.prototype.thenNode = null; /** - * Creates a new ArrayNode instance using the specified properties. + * Creates a new IfBlock instance using the specified properties. * @function create - * @memberof flyteidl.core.ArrayNode + * @memberof flyteidl.core.IfBlock * @static - * @param {flyteidl.core.IArrayNode=} [properties] Properties to set - * @returns {flyteidl.core.ArrayNode} ArrayNode instance + * @param {flyteidl.core.IIfBlock=} [properties] Properties to set + * @returns {flyteidl.core.IfBlock} IfBlock instance */ - ArrayNode.create = function create(properties) { - return new ArrayNode(properties); + IfBlock.create = function create(properties) { + return new IfBlock(properties); }; /** - * Encodes the specified ArrayNode message. Does not implicitly {@link flyteidl.core.ArrayNode.verify|verify} messages. + * Encodes the specified IfBlock message. Does not implicitly {@link flyteidl.core.IfBlock.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ArrayNode + * @memberof flyteidl.core.IfBlock * @static - * @param {flyteidl.core.IArrayNode} message ArrayNode message or plain object to encode + * @param {flyteidl.core.IIfBlock} message IfBlock message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ArrayNode.encode = function encode(message, writer) { + IfBlock.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.node != null && message.hasOwnProperty("node")) - $root.flyteidl.core.Node.encode(message.node, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.parallelism != null && message.hasOwnProperty("parallelism")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.parallelism); - if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) - writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.minSuccesses); - if (message.minSuccessRatio != null && message.hasOwnProperty("minSuccessRatio")) - writer.uint32(/* id 4, wireType 5 =*/37).float(message.minSuccessRatio); + if (message.condition != null && message.hasOwnProperty("condition")) + $root.flyteidl.core.BooleanExpression.encode(message.condition, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.thenNode != null && message.hasOwnProperty("thenNode")) + $root.flyteidl.core.Node.encode(message.thenNode, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes an ArrayNode message from the specified reader or buffer. + * Decodes an IfBlock message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ArrayNode + * @memberof flyteidl.core.IfBlock * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ArrayNode} ArrayNode + * @returns {flyteidl.core.IfBlock} IfBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ArrayNode.decode = function decode(reader, length) { + IfBlock.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArrayNode(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.IfBlock(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.node = $root.flyteidl.core.Node.decode(reader, reader.uint32()); + message.condition = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); break; case 2: - message.parallelism = reader.uint32(); - break; - case 3: - message.minSuccesses = reader.uint32(); - break; - case 4: - message.minSuccessRatio = reader.float(); + message.thenNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -3347,64 +3347,54 @@ }; /** - * Verifies an ArrayNode message. + * Verifies an IfBlock message. * @function verify - * @memberof flyteidl.core.ArrayNode + * @memberof flyteidl.core.IfBlock * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ArrayNode.verify = function verify(message) { + IfBlock.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.node != null && message.hasOwnProperty("node")) { - var error = $root.flyteidl.core.Node.verify(message.node); + if (message.condition != null && message.hasOwnProperty("condition")) { + var error = $root.flyteidl.core.BooleanExpression.verify(message.condition); if (error) - return "node." + error; - } - if (message.parallelism != null && message.hasOwnProperty("parallelism")) - if (!$util.isInteger(message.parallelism)) - return "parallelism: integer expected"; - if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) { - properties.successCriteria = 1; - if (!$util.isInteger(message.minSuccesses)) - return "minSuccesses: integer expected"; + return "condition." + error; } - if (message.minSuccessRatio != null && message.hasOwnProperty("minSuccessRatio")) { - if (properties.successCriteria === 1) - return "successCriteria: multiple values"; - properties.successCriteria = 1; - if (typeof message.minSuccessRatio !== "number") - return "minSuccessRatio: number expected"; + if (message.thenNode != null && message.hasOwnProperty("thenNode")) { + var error = $root.flyteidl.core.Node.verify(message.thenNode); + if (error) + return "thenNode." + error; } return null; }; - return ArrayNode; + return IfBlock; })(); - core.NodeMetadata = (function() { + core.IfElseBlock = (function() { /** - * Properties of a NodeMetadata. + * Properties of an IfElseBlock. * @memberof flyteidl.core - * @interface INodeMetadata - * @property {string|null} [name] NodeMetadata name - * @property {google.protobuf.IDuration|null} [timeout] NodeMetadata timeout - * @property {flyteidl.core.IRetryStrategy|null} [retries] NodeMetadata retries - * @property {boolean|null} [interruptible] NodeMetadata interruptible + * @interface IIfElseBlock + * @property {flyteidl.core.IIfBlock|null} ["case"] IfElseBlock case + * @property {Array.|null} [other] IfElseBlock other + * @property {flyteidl.core.INode|null} [elseNode] IfElseBlock elseNode + * @property {flyteidl.core.IError|null} [error] IfElseBlock error */ /** - * Constructs a new NodeMetadata. + * Constructs a new IfElseBlock. * @memberof flyteidl.core - * @classdesc Represents a NodeMetadata. - * @implements INodeMetadata + * @classdesc Represents an IfElseBlock. + * @implements IIfElseBlock * @constructor - * @param {flyteidl.core.INodeMetadata=} [properties] Properties to set + * @param {flyteidl.core.IIfElseBlock=} [properties] Properties to set */ - function NodeMetadata(properties) { + function IfElseBlock(properties) { + this.other = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -3412,115 +3402,118 @@ } /** - * NodeMetadata name. - * @member {string} name - * @memberof flyteidl.core.NodeMetadata + * IfElseBlock case. + * @member {flyteidl.core.IIfBlock|null|undefined} case + * @memberof flyteidl.core.IfElseBlock * @instance */ - NodeMetadata.prototype.name = ""; + IfElseBlock.prototype["case"] = null; /** - * NodeMetadata timeout. - * @member {google.protobuf.IDuration|null|undefined} timeout - * @memberof flyteidl.core.NodeMetadata + * IfElseBlock other. + * @member {Array.} other + * @memberof flyteidl.core.IfElseBlock * @instance */ - NodeMetadata.prototype.timeout = null; + IfElseBlock.prototype.other = $util.emptyArray; /** - * NodeMetadata retries. - * @member {flyteidl.core.IRetryStrategy|null|undefined} retries - * @memberof flyteidl.core.NodeMetadata + * IfElseBlock elseNode. + * @member {flyteidl.core.INode|null|undefined} elseNode + * @memberof flyteidl.core.IfElseBlock * @instance */ - NodeMetadata.prototype.retries = null; + IfElseBlock.prototype.elseNode = null; /** - * NodeMetadata interruptible. - * @member {boolean} interruptible - * @memberof flyteidl.core.NodeMetadata + * IfElseBlock error. + * @member {flyteidl.core.IError|null|undefined} error + * @memberof flyteidl.core.IfElseBlock * @instance */ - NodeMetadata.prototype.interruptible = false; + IfElseBlock.prototype.error = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * NodeMetadata interruptibleValue. - * @member {"interruptible"|undefined} interruptibleValue - * @memberof flyteidl.core.NodeMetadata + * IfElseBlock default. + * @member {"elseNode"|"error"|undefined} default_ + * @memberof flyteidl.core.IfElseBlock * @instance */ - Object.defineProperty(NodeMetadata.prototype, "interruptibleValue", { - get: $util.oneOfGetter($oneOfFields = ["interruptible"]), + Object.defineProperty(IfElseBlock.prototype, "default", { + get: $util.oneOfGetter($oneOfFields = ["elseNode", "error"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new NodeMetadata instance using the specified properties. + * Creates a new IfElseBlock instance using the specified properties. * @function create - * @memberof flyteidl.core.NodeMetadata + * @memberof flyteidl.core.IfElseBlock * @static - * @param {flyteidl.core.INodeMetadata=} [properties] Properties to set - * @returns {flyteidl.core.NodeMetadata} NodeMetadata instance + * @param {flyteidl.core.IIfElseBlock=} [properties] Properties to set + * @returns {flyteidl.core.IfElseBlock} IfElseBlock instance */ - NodeMetadata.create = function create(properties) { - return new NodeMetadata(properties); + IfElseBlock.create = function create(properties) { + return new IfElseBlock(properties); }; /** - * Encodes the specified NodeMetadata message. Does not implicitly {@link flyteidl.core.NodeMetadata.verify|verify} messages. + * Encodes the specified IfElseBlock message. Does not implicitly {@link flyteidl.core.IfElseBlock.verify|verify} messages. * @function encode - * @memberof flyteidl.core.NodeMetadata + * @memberof flyteidl.core.IfElseBlock * @static - * @param {flyteidl.core.INodeMetadata} message NodeMetadata message or plain object to encode + * @param {flyteidl.core.IIfElseBlock} message IfElseBlock message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeMetadata.encode = function encode(message, writer) { + IfElseBlock.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.timeout != null && message.hasOwnProperty("timeout")) - $root.google.protobuf.Duration.encode(message.timeout, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.retries != null && message.hasOwnProperty("retries")) - $root.flyteidl.core.RetryStrategy.encode(message.retries, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.interruptible != null && message.hasOwnProperty("interruptible")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.interruptible); + if (message["case"] != null && message.hasOwnProperty("case")) + $root.flyteidl.core.IfBlock.encode(message["case"], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.other != null && message.other.length) + for (var i = 0; i < message.other.length; ++i) + $root.flyteidl.core.IfBlock.encode(message.other[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.elseNode != null && message.hasOwnProperty("elseNode")) + $root.flyteidl.core.Node.encode(message.elseNode, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.Error.encode(message.error, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a NodeMetadata message from the specified reader or buffer. + * Decodes an IfElseBlock message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.NodeMetadata + * @memberof flyteidl.core.IfElseBlock * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.NodeMetadata} NodeMetadata + * @returns {flyteidl.core.IfElseBlock} IfElseBlock * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeMetadata.decode = function decode(reader, length) { + IfElseBlock.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.NodeMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.IfElseBlock(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.name = reader.string(); + message["case"] = $root.flyteidl.core.IfBlock.decode(reader, reader.uint32()); break; - case 4: - message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + case 2: + if (!(message.other && message.other.length)) + message.other = []; + message.other.push($root.flyteidl.core.IfBlock.decode(reader, reader.uint32())); break; - case 5: - message.retries = $root.flyteidl.core.RetryStrategy.decode(reader, reader.uint32()); + case 3: + message.elseNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); break; - case 6: - message.interruptible = reader.bool(); + case 4: + message.error = $root.flyteidl.core.Error.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -3531,60 +3524,73 @@ }; /** - * Verifies a NodeMetadata message. + * Verifies an IfElseBlock message. * @function verify - * @memberof flyteidl.core.NodeMetadata + * @memberof flyteidl.core.IfElseBlock * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeMetadata.verify = function verify(message) { + IfElseBlock.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.timeout != null && message.hasOwnProperty("timeout")) { - var error = $root.google.protobuf.Duration.verify(message.timeout); + if (message["case"] != null && message.hasOwnProperty("case")) { + var error = $root.flyteidl.core.IfBlock.verify(message["case"]); if (error) - return "timeout." + error; + return "case." + error; } - if (message.retries != null && message.hasOwnProperty("retries")) { - var error = $root.flyteidl.core.RetryStrategy.verify(message.retries); - if (error) - return "retries." + error; + if (message.other != null && message.hasOwnProperty("other")) { + if (!Array.isArray(message.other)) + return "other: array expected"; + for (var i = 0; i < message.other.length; ++i) { + var error = $root.flyteidl.core.IfBlock.verify(message.other[i]); + if (error) + return "other." + error; + } } - if (message.interruptible != null && message.hasOwnProperty("interruptible")) { - properties.interruptibleValue = 1; - if (typeof message.interruptible !== "boolean") - return "interruptible: boolean expected"; + if (message.elseNode != null && message.hasOwnProperty("elseNode")) { + properties["default"] = 1; + { + var error = $root.flyteidl.core.Node.verify(message.elseNode); + if (error) + return "elseNode." + error; + } + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties["default"] === 1) + return "default: multiple values"; + properties["default"] = 1; + { + var error = $root.flyteidl.core.Error.verify(message.error); + if (error) + return "error." + error; + } } return null; }; - return NodeMetadata; + return IfElseBlock; })(); - core.Alias = (function() { + core.BranchNode = (function() { /** - * Properties of an Alias. + * Properties of a BranchNode. * @memberof flyteidl.core - * @interface IAlias - * @property {string|null} ["var"] Alias var - * @property {string|null} [alias] Alias alias + * @interface IBranchNode + * @property {flyteidl.core.IIfElseBlock|null} [ifElse] BranchNode ifElse */ /** - * Constructs a new Alias. + * Constructs a new BranchNode. * @memberof flyteidl.core - * @classdesc Represents an Alias. - * @implements IAlias + * @classdesc Represents a BranchNode. + * @implements IBranchNode * @constructor - * @param {flyteidl.core.IAlias=} [properties] Properties to set + * @param {flyteidl.core.IBranchNode=} [properties] Properties to set */ - function Alias(properties) { + function BranchNode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -3592,75 +3598,62 @@ } /** - * Alias var. - * @member {string} var - * @memberof flyteidl.core.Alias - * @instance - */ - Alias.prototype["var"] = ""; - - /** - * Alias alias. - * @member {string} alias - * @memberof flyteidl.core.Alias + * BranchNode ifElse. + * @member {flyteidl.core.IIfElseBlock|null|undefined} ifElse + * @memberof flyteidl.core.BranchNode * @instance */ - Alias.prototype.alias = ""; + BranchNode.prototype.ifElse = null; /** - * Creates a new Alias instance using the specified properties. + * Creates a new BranchNode instance using the specified properties. * @function create - * @memberof flyteidl.core.Alias + * @memberof flyteidl.core.BranchNode * @static - * @param {flyteidl.core.IAlias=} [properties] Properties to set - * @returns {flyteidl.core.Alias} Alias instance + * @param {flyteidl.core.IBranchNode=} [properties] Properties to set + * @returns {flyteidl.core.BranchNode} BranchNode instance */ - Alias.create = function create(properties) { - return new Alias(properties); + BranchNode.create = function create(properties) { + return new BranchNode(properties); }; /** - * Encodes the specified Alias message. Does not implicitly {@link flyteidl.core.Alias.verify|verify} messages. + * Encodes the specified BranchNode message. Does not implicitly {@link flyteidl.core.BranchNode.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Alias + * @memberof flyteidl.core.BranchNode * @static - * @param {flyteidl.core.IAlias} message Alias message or plain object to encode + * @param {flyteidl.core.IBranchNode} message BranchNode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Alias.encode = function encode(message, writer) { + BranchNode.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message["var"] != null && message.hasOwnProperty("var")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message["var"]); - if (message.alias != null && message.hasOwnProperty("alias")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.alias); + if (message.ifElse != null && message.hasOwnProperty("ifElse")) + $root.flyteidl.core.IfElseBlock.encode(message.ifElse, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes an Alias message from the specified reader or buffer. + * Decodes a BranchNode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Alias + * @memberof flyteidl.core.BranchNode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Alias} Alias + * @returns {flyteidl.core.BranchNode} BranchNode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Alias.decode = function decode(reader, length) { + BranchNode.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Alias(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BranchNode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message["var"] = reader.string(); - break; - case 2: - message.alias = reader.string(); + message.ifElse = $root.flyteidl.core.IfElseBlock.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -3671,58 +3664,46 @@ }; /** - * Verifies an Alias message. + * Verifies a BranchNode message. * @function verify - * @memberof flyteidl.core.Alias + * @memberof flyteidl.core.BranchNode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Alias.verify = function verify(message) { + BranchNode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message["var"] != null && message.hasOwnProperty("var")) - if (!$util.isString(message["var"])) - return "var: string expected"; - if (message.alias != null && message.hasOwnProperty("alias")) - if (!$util.isString(message.alias)) - return "alias: string expected"; + if (message.ifElse != null && message.hasOwnProperty("ifElse")) { + var error = $root.flyteidl.core.IfElseBlock.verify(message.ifElse); + if (error) + return "ifElse." + error; + } return null; }; - return Alias; + return BranchNode; })(); - core.Node = (function() { + core.TaskNode = (function() { /** - * Properties of a Node. + * Properties of a TaskNode. * @memberof flyteidl.core - * @interface INode - * @property {string|null} [id] Node id - * @property {flyteidl.core.INodeMetadata|null} [metadata] Node metadata - * @property {Array.|null} [inputs] Node inputs - * @property {Array.|null} [upstreamNodeIds] Node upstreamNodeIds - * @property {Array.|null} [outputAliases] Node outputAliases - * @property {flyteidl.core.ITaskNode|null} [taskNode] Node taskNode - * @property {flyteidl.core.IWorkflowNode|null} [workflowNode] Node workflowNode - * @property {flyteidl.core.IBranchNode|null} [branchNode] Node branchNode - * @property {flyteidl.core.IGateNode|null} [gateNode] Node gateNode - * @property {flyteidl.core.IArrayNode|null} [arrayNode] Node arrayNode + * @interface ITaskNode + * @property {flyteidl.core.IIdentifier|null} [referenceId] TaskNode referenceId + * @property {flyteidl.core.ITaskNodeOverrides|null} [overrides] TaskNode overrides */ /** - * Constructs a new Node. + * Constructs a new TaskNode. * @memberof flyteidl.core - * @classdesc Represents a Node. - * @implements INode + * @classdesc Represents a TaskNode. + * @implements ITaskNode * @constructor - * @param {flyteidl.core.INode=} [properties] Properties to set + * @param {flyteidl.core.ITaskNode=} [properties] Properties to set */ - function Node(properties) { - this.inputs = []; - this.upstreamNodeIds = []; - this.outputAliases = []; + function TaskNode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -3730,202 +3711,89 @@ } /** - * Node id. - * @member {string} id - * @memberof flyteidl.core.Node + * TaskNode referenceId. + * @member {flyteidl.core.IIdentifier|null|undefined} referenceId + * @memberof flyteidl.core.TaskNode * @instance */ - Node.prototype.id = ""; + TaskNode.prototype.referenceId = null; /** - * Node metadata. - * @member {flyteidl.core.INodeMetadata|null|undefined} metadata - * @memberof flyteidl.core.Node + * TaskNode overrides. + * @member {flyteidl.core.ITaskNodeOverrides|null|undefined} overrides + * @memberof flyteidl.core.TaskNode * @instance */ - Node.prototype.metadata = null; - - /** - * Node inputs. - * @member {Array.} inputs - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.inputs = $util.emptyArray; - - /** - * Node upstreamNodeIds. - * @member {Array.} upstreamNodeIds - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.upstreamNodeIds = $util.emptyArray; - - /** - * Node outputAliases. - * @member {Array.} outputAliases - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.outputAliases = $util.emptyArray; - - /** - * Node taskNode. - * @member {flyteidl.core.ITaskNode|null|undefined} taskNode - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.taskNode = null; - - /** - * Node workflowNode. - * @member {flyteidl.core.IWorkflowNode|null|undefined} workflowNode - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.workflowNode = null; - - /** - * Node branchNode. - * @member {flyteidl.core.IBranchNode|null|undefined} branchNode - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.branchNode = null; - - /** - * Node gateNode. - * @member {flyteidl.core.IGateNode|null|undefined} gateNode - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.gateNode = null; - - /** - * Node arrayNode. - * @member {flyteidl.core.IArrayNode|null|undefined} arrayNode - * @memberof flyteidl.core.Node - * @instance - */ - Node.prototype.arrayNode = null; + TaskNode.prototype.overrides = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * Node target. - * @member {"taskNode"|"workflowNode"|"branchNode"|"gateNode"|"arrayNode"|undefined} target - * @memberof flyteidl.core.Node + * TaskNode reference. + * @member {"referenceId"|undefined} reference + * @memberof flyteidl.core.TaskNode * @instance */ - Object.defineProperty(Node.prototype, "target", { - get: $util.oneOfGetter($oneOfFields = ["taskNode", "workflowNode", "branchNode", "gateNode", "arrayNode"]), + Object.defineProperty(TaskNode.prototype, "reference", { + get: $util.oneOfGetter($oneOfFields = ["referenceId"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new Node instance using the specified properties. + * Creates a new TaskNode instance using the specified properties. * @function create - * @memberof flyteidl.core.Node + * @memberof flyteidl.core.TaskNode * @static - * @param {flyteidl.core.INode=} [properties] Properties to set - * @returns {flyteidl.core.Node} Node instance + * @param {flyteidl.core.ITaskNode=} [properties] Properties to set + * @returns {flyteidl.core.TaskNode} TaskNode instance */ - Node.create = function create(properties) { - return new Node(properties); + TaskNode.create = function create(properties) { + return new TaskNode(properties); }; /** - * Encodes the specified Node message. Does not implicitly {@link flyteidl.core.Node.verify|verify} messages. + * Encodes the specified TaskNode message. Does not implicitly {@link flyteidl.core.TaskNode.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Node + * @memberof flyteidl.core.TaskNode * @static - * @param {flyteidl.core.INode} message Node message or plain object to encode + * @param {flyteidl.core.ITaskNode} message TaskNode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Node.encode = function encode(message, writer) { + TaskNode.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.core.NodeMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.inputs != null && message.inputs.length) - for (var i = 0; i < message.inputs.length; ++i) - $root.flyteidl.core.Binding.encode(message.inputs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.upstreamNodeIds != null && message.upstreamNodeIds.length) - for (var i = 0; i < message.upstreamNodeIds.length; ++i) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.upstreamNodeIds[i]); - if (message.outputAliases != null && message.outputAliases.length) - for (var i = 0; i < message.outputAliases.length; ++i) - $root.flyteidl.core.Alias.encode(message.outputAliases[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.taskNode != null && message.hasOwnProperty("taskNode")) - $root.flyteidl.core.TaskNode.encode(message.taskNode, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.workflowNode != null && message.hasOwnProperty("workflowNode")) - $root.flyteidl.core.WorkflowNode.encode(message.workflowNode, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.branchNode != null && message.hasOwnProperty("branchNode")) - $root.flyteidl.core.BranchNode.encode(message.branchNode, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.gateNode != null && message.hasOwnProperty("gateNode")) - $root.flyteidl.core.GateNode.encode(message.gateNode, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); - if (message.arrayNode != null && message.hasOwnProperty("arrayNode")) - $root.flyteidl.core.ArrayNode.encode(message.arrayNode, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.referenceId != null && message.hasOwnProperty("referenceId")) + $root.flyteidl.core.Identifier.encode(message.referenceId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.overrides != null && message.hasOwnProperty("overrides")) + $root.flyteidl.core.TaskNodeOverrides.encode(message.overrides, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a Node message from the specified reader or buffer. + * Decodes a TaskNode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Node + * @memberof flyteidl.core.TaskNode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Node} Node + * @returns {flyteidl.core.TaskNode} TaskNode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Node.decode = function decode(reader, length) { + TaskNode.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Node(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskNode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = reader.string(); + message.referenceId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.metadata = $root.flyteidl.core.NodeMetadata.decode(reader, reader.uint32()); - break; - case 3: - if (!(message.inputs && message.inputs.length)) - message.inputs = []; - message.inputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); - break; - case 4: - if (!(message.upstreamNodeIds && message.upstreamNodeIds.length)) - message.upstreamNodeIds = []; - message.upstreamNodeIds.push(reader.string()); - break; - case 5: - if (!(message.outputAliases && message.outputAliases.length)) - message.outputAliases = []; - message.outputAliases.push($root.flyteidl.core.Alias.decode(reader, reader.uint32())); - break; - case 6: - message.taskNode = $root.flyteidl.core.TaskNode.decode(reader, reader.uint32()); - break; - case 7: - message.workflowNode = $root.flyteidl.core.WorkflowNode.decode(reader, reader.uint32()); - break; - case 8: - message.branchNode = $root.flyteidl.core.BranchNode.decode(reader, reader.uint32()); - break; - case 9: - message.gateNode = $root.flyteidl.core.GateNode.decode(reader, reader.uint32()); - break; - case 10: - message.arrayNode = $root.flyteidl.core.ArrayNode.decode(reader, reader.uint32()); + message.overrides = $root.flyteidl.core.TaskNodeOverrides.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -3936,125 +3804,55 @@ }; /** - * Verifies a Node message. + * Verifies a TaskNode message. * @function verify - * @memberof flyteidl.core.Node + * @memberof flyteidl.core.TaskNode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Node.verify = function verify(message) { + TaskNode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.core.NodeMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message.inputs != null && message.hasOwnProperty("inputs")) { - if (!Array.isArray(message.inputs)) - return "inputs: array expected"; - for (var i = 0; i < message.inputs.length; ++i) { - var error = $root.flyteidl.core.Binding.verify(message.inputs[i]); - if (error) - return "inputs." + error; - } - } - if (message.upstreamNodeIds != null && message.hasOwnProperty("upstreamNodeIds")) { - if (!Array.isArray(message.upstreamNodeIds)) - return "upstreamNodeIds: array expected"; - for (var i = 0; i < message.upstreamNodeIds.length; ++i) - if (!$util.isString(message.upstreamNodeIds[i])) - return "upstreamNodeIds: string[] expected"; - } - if (message.outputAliases != null && message.hasOwnProperty("outputAliases")) { - if (!Array.isArray(message.outputAliases)) - return "outputAliases: array expected"; - for (var i = 0; i < message.outputAliases.length; ++i) { - var error = $root.flyteidl.core.Alias.verify(message.outputAliases[i]); - if (error) - return "outputAliases." + error; - } - } - if (message.taskNode != null && message.hasOwnProperty("taskNode")) { - properties.target = 1; - { - var error = $root.flyteidl.core.TaskNode.verify(message.taskNode); - if (error) - return "taskNode." + error; - } - } - if (message.workflowNode != null && message.hasOwnProperty("workflowNode")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.core.WorkflowNode.verify(message.workflowNode); - if (error) - return "workflowNode." + error; - } - } - if (message.branchNode != null && message.hasOwnProperty("branchNode")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.core.BranchNode.verify(message.branchNode); - if (error) - return "branchNode." + error; - } - } - if (message.gateNode != null && message.hasOwnProperty("gateNode")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; + if (message.referenceId != null && message.hasOwnProperty("referenceId")) { + properties.reference = 1; { - var error = $root.flyteidl.core.GateNode.verify(message.gateNode); + var error = $root.flyteidl.core.Identifier.verify(message.referenceId); if (error) - return "gateNode." + error; + return "referenceId." + error; } } - if (message.arrayNode != null && message.hasOwnProperty("arrayNode")) { - if (properties.target === 1) - return "target: multiple values"; - properties.target = 1; - { - var error = $root.flyteidl.core.ArrayNode.verify(message.arrayNode); - if (error) - return "arrayNode." + error; - } + if (message.overrides != null && message.hasOwnProperty("overrides")) { + var error = $root.flyteidl.core.TaskNodeOverrides.verify(message.overrides); + if (error) + return "overrides." + error; } return null; }; - return Node; + return TaskNode; })(); - core.WorkflowMetadata = (function() { + core.WorkflowNode = (function() { /** - * Properties of a WorkflowMetadata. + * Properties of a WorkflowNode. * @memberof flyteidl.core - * @interface IWorkflowMetadata - * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] WorkflowMetadata qualityOfService - * @property {flyteidl.core.WorkflowMetadata.OnFailurePolicy|null} [onFailure] WorkflowMetadata onFailure - * @property {Object.|null} [tags] WorkflowMetadata tags + * @interface IWorkflowNode + * @property {flyteidl.core.IIdentifier|null} [launchplanRef] WorkflowNode launchplanRef + * @property {flyteidl.core.IIdentifier|null} [subWorkflowRef] WorkflowNode subWorkflowRef */ /** - * Constructs a new WorkflowMetadata. + * Constructs a new WorkflowNode. * @memberof flyteidl.core - * @classdesc Represents a WorkflowMetadata. - * @implements IWorkflowMetadata + * @classdesc Represents a WorkflowNode. + * @implements IWorkflowNode * @constructor - * @param {flyteidl.core.IWorkflowMetadata=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowNode=} [properties] Properties to set */ - function WorkflowMetadata(properties) { - this.tags = {}; + function WorkflowNode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4062,94 +3860,89 @@ } /** - * WorkflowMetadata qualityOfService. - * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService - * @memberof flyteidl.core.WorkflowMetadata + * WorkflowNode launchplanRef. + * @member {flyteidl.core.IIdentifier|null|undefined} launchplanRef + * @memberof flyteidl.core.WorkflowNode * @instance */ - WorkflowMetadata.prototype.qualityOfService = null; + WorkflowNode.prototype.launchplanRef = null; /** - * WorkflowMetadata onFailure. - * @member {flyteidl.core.WorkflowMetadata.OnFailurePolicy} onFailure - * @memberof flyteidl.core.WorkflowMetadata + * WorkflowNode subWorkflowRef. + * @member {flyteidl.core.IIdentifier|null|undefined} subWorkflowRef + * @memberof flyteidl.core.WorkflowNode * @instance */ - WorkflowMetadata.prototype.onFailure = 0; + WorkflowNode.prototype.subWorkflowRef = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * WorkflowMetadata tags. - * @member {Object.} tags - * @memberof flyteidl.core.WorkflowMetadata + * WorkflowNode reference. + * @member {"launchplanRef"|"subWorkflowRef"|undefined} reference + * @memberof flyteidl.core.WorkflowNode * @instance */ - WorkflowMetadata.prototype.tags = $util.emptyObject; + Object.defineProperty(WorkflowNode.prototype, "reference", { + get: $util.oneOfGetter($oneOfFields = ["launchplanRef", "subWorkflowRef"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new WorkflowMetadata instance using the specified properties. + * Creates a new WorkflowNode instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowMetadata + * @memberof flyteidl.core.WorkflowNode * @static - * @param {flyteidl.core.IWorkflowMetadata=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowMetadata} WorkflowMetadata instance + * @param {flyteidl.core.IWorkflowNode=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowNode} WorkflowNode instance */ - WorkflowMetadata.create = function create(properties) { - return new WorkflowMetadata(properties); + WorkflowNode.create = function create(properties) { + return new WorkflowNode(properties); }; /** - * Encodes the specified WorkflowMetadata message. Does not implicitly {@link flyteidl.core.WorkflowMetadata.verify|verify} messages. + * Encodes the specified WorkflowNode message. Does not implicitly {@link flyteidl.core.WorkflowNode.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowMetadata + * @memberof flyteidl.core.WorkflowNode * @static - * @param {flyteidl.core.IWorkflowMetadata} message WorkflowMetadata message or plain object to encode + * @param {flyteidl.core.IWorkflowNode} message WorkflowNode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowMetadata.encode = function encode(message, writer) { + WorkflowNode.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) - $root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.onFailure != null && message.hasOwnProperty("onFailure")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.onFailure); - if (message.tags != null && message.hasOwnProperty("tags")) - for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) - writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim(); + if (message.launchplanRef != null && message.hasOwnProperty("launchplanRef")) + $root.flyteidl.core.Identifier.encode(message.launchplanRef, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.subWorkflowRef != null && message.hasOwnProperty("subWorkflowRef")) + $root.flyteidl.core.Identifier.encode(message.subWorkflowRef, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowMetadata message from the specified reader or buffer. + * Decodes a WorkflowNode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowMetadata + * @memberof flyteidl.core.WorkflowNode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowMetadata} WorkflowMetadata + * @returns {flyteidl.core.WorkflowNode} WorkflowNode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowMetadata.decode = function decode(reader, length) { + WorkflowNode.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowMetadata(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowNode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.qualityOfService = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32()); + message.launchplanRef = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.onFailure = reader.int32(); - break; - case 3: - reader.skip().pos++; - if (message.tags === $util.emptyObject) - message.tags = {}; - key = reader.string(); - reader.pos++; - message.tags[key] = reader.string(); + message.subWorkflowRef = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -4160,75 +3953,59 @@ }; /** - * Verifies a WorkflowMetadata message. + * Verifies a WorkflowNode message. * @function verify - * @memberof flyteidl.core.WorkflowMetadata + * @memberof flyteidl.core.WorkflowNode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowMetadata.verify = function verify(message) { + WorkflowNode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) { - var error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfService); - if (error) - return "qualityOfService." + error; + var properties = {}; + if (message.launchplanRef != null && message.hasOwnProperty("launchplanRef")) { + properties.reference = 1; + { + var error = $root.flyteidl.core.Identifier.verify(message.launchplanRef); + if (error) + return "launchplanRef." + error; + } } - if (message.onFailure != null && message.hasOwnProperty("onFailure")) - switch (message.onFailure) { - default: - return "onFailure: enum value expected"; - case 0: - case 1: - break; + if (message.subWorkflowRef != null && message.hasOwnProperty("subWorkflowRef")) { + if (properties.reference === 1) + return "reference: multiple values"; + properties.reference = 1; + { + var error = $root.flyteidl.core.Identifier.verify(message.subWorkflowRef); + if (error) + return "subWorkflowRef." + error; } - if (message.tags != null && message.hasOwnProperty("tags")) { - if (!$util.isObject(message.tags)) - return "tags: object expected"; - var key = Object.keys(message.tags); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.tags[key[i]])) - return "tags: string{k:string} expected"; } return null; }; - /** - * OnFailurePolicy enum. - * @name flyteidl.core.WorkflowMetadata.OnFailurePolicy - * @enum {string} - * @property {number} FAIL_IMMEDIATELY=0 FAIL_IMMEDIATELY value - * @property {number} FAIL_AFTER_EXECUTABLE_NODES_COMPLETE=1 FAIL_AFTER_EXECUTABLE_NODES_COMPLETE value - */ - WorkflowMetadata.OnFailurePolicy = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "FAIL_IMMEDIATELY"] = 0; - values[valuesById[1] = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE"] = 1; - return values; - })(); - - return WorkflowMetadata; + return WorkflowNode; })(); - core.WorkflowMetadataDefaults = (function() { + core.ApproveCondition = (function() { /** - * Properties of a WorkflowMetadataDefaults. + * Properties of an ApproveCondition. * @memberof flyteidl.core - * @interface IWorkflowMetadataDefaults - * @property {boolean|null} [interruptible] WorkflowMetadataDefaults interruptible + * @interface IApproveCondition + * @property {string|null} [signalId] ApproveCondition signalId */ /** - * Constructs a new WorkflowMetadataDefaults. + * Constructs a new ApproveCondition. * @memberof flyteidl.core - * @classdesc Represents a WorkflowMetadataDefaults. - * @implements IWorkflowMetadataDefaults + * @classdesc Represents an ApproveCondition. + * @implements IApproveCondition * @constructor - * @param {flyteidl.core.IWorkflowMetadataDefaults=} [properties] Properties to set + * @param {flyteidl.core.IApproveCondition=} [properties] Properties to set */ - function WorkflowMetadataDefaults(properties) { + function ApproveCondition(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4236,62 +4013,62 @@ } /** - * WorkflowMetadataDefaults interruptible. - * @member {boolean} interruptible - * @memberof flyteidl.core.WorkflowMetadataDefaults + * ApproveCondition signalId. + * @member {string} signalId + * @memberof flyteidl.core.ApproveCondition * @instance */ - WorkflowMetadataDefaults.prototype.interruptible = false; + ApproveCondition.prototype.signalId = ""; /** - * Creates a new WorkflowMetadataDefaults instance using the specified properties. + * Creates a new ApproveCondition instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowMetadataDefaults + * @memberof flyteidl.core.ApproveCondition * @static - * @param {flyteidl.core.IWorkflowMetadataDefaults=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowMetadataDefaults} WorkflowMetadataDefaults instance + * @param {flyteidl.core.IApproveCondition=} [properties] Properties to set + * @returns {flyteidl.core.ApproveCondition} ApproveCondition instance */ - WorkflowMetadataDefaults.create = function create(properties) { - return new WorkflowMetadataDefaults(properties); + ApproveCondition.create = function create(properties) { + return new ApproveCondition(properties); }; /** - * Encodes the specified WorkflowMetadataDefaults message. Does not implicitly {@link flyteidl.core.WorkflowMetadataDefaults.verify|verify} messages. + * Encodes the specified ApproveCondition message. Does not implicitly {@link flyteidl.core.ApproveCondition.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowMetadataDefaults + * @memberof flyteidl.core.ApproveCondition * @static - * @param {flyteidl.core.IWorkflowMetadataDefaults} message WorkflowMetadataDefaults message or plain object to encode + * @param {flyteidl.core.IApproveCondition} message ApproveCondition message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowMetadataDefaults.encode = function encode(message, writer) { + ApproveCondition.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.interruptible != null && message.hasOwnProperty("interruptible")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.interruptible); + if (message.signalId != null && message.hasOwnProperty("signalId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); return writer; }; /** - * Decodes a WorkflowMetadataDefaults message from the specified reader or buffer. + * Decodes an ApproveCondition message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowMetadataDefaults + * @memberof flyteidl.core.ApproveCondition * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowMetadataDefaults} WorkflowMetadataDefaults + * @returns {flyteidl.core.ApproveCondition} ApproveCondition * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowMetadataDefaults.decode = function decode(reader, length) { + ApproveCondition.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowMetadataDefaults(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ApproveCondition(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.interruptible = reader.bool(); + message.signalId = reader.string(); break; default: reader.skipType(tag & 7); @@ -4302,51 +4079,45 @@ }; /** - * Verifies a WorkflowMetadataDefaults message. + * Verifies an ApproveCondition message. * @function verify - * @memberof flyteidl.core.WorkflowMetadataDefaults + * @memberof flyteidl.core.ApproveCondition * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowMetadataDefaults.verify = function verify(message) { + ApproveCondition.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.interruptible != null && message.hasOwnProperty("interruptible")) - if (typeof message.interruptible !== "boolean") - return "interruptible: boolean expected"; + if (message.signalId != null && message.hasOwnProperty("signalId")) + if (!$util.isString(message.signalId)) + return "signalId: string expected"; return null; }; - return WorkflowMetadataDefaults; + return ApproveCondition; })(); - core.WorkflowTemplate = (function() { + core.SignalCondition = (function() { /** - * Properties of a WorkflowTemplate. + * Properties of a SignalCondition. * @memberof flyteidl.core - * @interface IWorkflowTemplate - * @property {flyteidl.core.IIdentifier|null} [id] WorkflowTemplate id - * @property {flyteidl.core.IWorkflowMetadata|null} [metadata] WorkflowTemplate metadata - * @property {flyteidl.core.ITypedInterface|null} ["interface"] WorkflowTemplate interface - * @property {Array.|null} [nodes] WorkflowTemplate nodes - * @property {Array.|null} [outputs] WorkflowTemplate outputs - * @property {flyteidl.core.INode|null} [failureNode] WorkflowTemplate failureNode - * @property {flyteidl.core.IWorkflowMetadataDefaults|null} [metadataDefaults] WorkflowTemplate metadataDefaults + * @interface ISignalCondition + * @property {string|null} [signalId] SignalCondition signalId + * @property {flyteidl.core.ILiteralType|null} [type] SignalCondition type + * @property {string|null} [outputVariableName] SignalCondition outputVariableName */ /** - * Constructs a new WorkflowTemplate. + * Constructs a new SignalCondition. * @memberof flyteidl.core - * @classdesc Represents a WorkflowTemplate. - * @implements IWorkflowTemplate + * @classdesc Represents a SignalCondition. + * @implements ISignalCondition * @constructor - * @param {flyteidl.core.IWorkflowTemplate=} [properties] Properties to set + * @param {flyteidl.core.ISignalCondition=} [properties] Properties to set */ - function WorkflowTemplate(properties) { - this.nodes = []; - this.outputs = []; + function SignalCondition(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4354,146 +4125,88 @@ } /** - * WorkflowTemplate id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.core.WorkflowTemplate - * @instance - */ - WorkflowTemplate.prototype.id = null; - - /** - * WorkflowTemplate metadata. - * @member {flyteidl.core.IWorkflowMetadata|null|undefined} metadata - * @memberof flyteidl.core.WorkflowTemplate - * @instance - */ - WorkflowTemplate.prototype.metadata = null; - - /** - * WorkflowTemplate interface. - * @member {flyteidl.core.ITypedInterface|null|undefined} interface - * @memberof flyteidl.core.WorkflowTemplate - * @instance - */ - WorkflowTemplate.prototype["interface"] = null; - - /** - * WorkflowTemplate nodes. - * @member {Array.} nodes - * @memberof flyteidl.core.WorkflowTemplate - * @instance - */ - WorkflowTemplate.prototype.nodes = $util.emptyArray; - - /** - * WorkflowTemplate outputs. - * @member {Array.} outputs - * @memberof flyteidl.core.WorkflowTemplate + * SignalCondition signalId. + * @member {string} signalId + * @memberof flyteidl.core.SignalCondition * @instance */ - WorkflowTemplate.prototype.outputs = $util.emptyArray; + SignalCondition.prototype.signalId = ""; /** - * WorkflowTemplate failureNode. - * @member {flyteidl.core.INode|null|undefined} failureNode - * @memberof flyteidl.core.WorkflowTemplate + * SignalCondition type. + * @member {flyteidl.core.ILiteralType|null|undefined} type + * @memberof flyteidl.core.SignalCondition * @instance */ - WorkflowTemplate.prototype.failureNode = null; + SignalCondition.prototype.type = null; /** - * WorkflowTemplate metadataDefaults. - * @member {flyteidl.core.IWorkflowMetadataDefaults|null|undefined} metadataDefaults - * @memberof flyteidl.core.WorkflowTemplate + * SignalCondition outputVariableName. + * @member {string} outputVariableName + * @memberof flyteidl.core.SignalCondition * @instance */ - WorkflowTemplate.prototype.metadataDefaults = null; + SignalCondition.prototype.outputVariableName = ""; /** - * Creates a new WorkflowTemplate instance using the specified properties. + * Creates a new SignalCondition instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowTemplate + * @memberof flyteidl.core.SignalCondition * @static - * @param {flyteidl.core.IWorkflowTemplate=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowTemplate} WorkflowTemplate instance + * @param {flyteidl.core.ISignalCondition=} [properties] Properties to set + * @returns {flyteidl.core.SignalCondition} SignalCondition instance */ - WorkflowTemplate.create = function create(properties) { - return new WorkflowTemplate(properties); + SignalCondition.create = function create(properties) { + return new SignalCondition(properties); }; /** - * Encodes the specified WorkflowTemplate message. Does not implicitly {@link flyteidl.core.WorkflowTemplate.verify|verify} messages. + * Encodes the specified SignalCondition message. Does not implicitly {@link flyteidl.core.SignalCondition.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowTemplate + * @memberof flyteidl.core.SignalCondition * @static - * @param {flyteidl.core.IWorkflowTemplate} message WorkflowTemplate message or plain object to encode + * @param {flyteidl.core.ISignalCondition} message SignalCondition message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowTemplate.encode = function encode(message, writer) { + SignalCondition.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.core.WorkflowMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message["interface"] != null && message.hasOwnProperty("interface")) - $root.flyteidl.core.TypedInterface.encode(message["interface"], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.nodes != null && message.nodes.length) - for (var i = 0; i < message.nodes.length; ++i) - $root.flyteidl.core.Node.encode(message.nodes[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.outputs != null && message.outputs.length) - for (var i = 0; i < message.outputs.length; ++i) - $root.flyteidl.core.Binding.encode(message.outputs[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.failureNode != null && message.hasOwnProperty("failureNode")) - $root.flyteidl.core.Node.encode(message.failureNode, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.metadataDefaults != null && message.hasOwnProperty("metadataDefaults")) - $root.flyteidl.core.WorkflowMetadataDefaults.encode(message.metadataDefaults, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.signalId != null && message.hasOwnProperty("signalId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.signalId); + if (message.type != null && message.hasOwnProperty("type")) + $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.outputVariableName != null && message.hasOwnProperty("outputVariableName")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputVariableName); return writer; }; /** - * Decodes a WorkflowTemplate message from the specified reader or buffer. + * Decodes a SignalCondition message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowTemplate + * @memberof flyteidl.core.SignalCondition * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowTemplate} WorkflowTemplate + * @returns {flyteidl.core.SignalCondition} SignalCondition * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowTemplate.decode = function decode(reader, length) { + SignalCondition.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowTemplate(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SignalCondition(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.signalId = reader.string(); break; case 2: - message.metadata = $root.flyteidl.core.WorkflowMetadata.decode(reader, reader.uint32()); + message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); break; case 3: - message["interface"] = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.nodes && message.nodes.length)) - message.nodes = []; - message.nodes.push($root.flyteidl.core.Node.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.outputs && message.outputs.length)) - message.outputs = []; - message.outputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); - break; - case 6: - message.failureNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); - break; - case 7: - message.metadataDefaults = $root.flyteidl.core.WorkflowMetadataDefaults.decode(reader, reader.uint32()); + message.outputVariableName = reader.string(); break; default: reader.skipType(tag & 7); @@ -4504,84 +4217,51 @@ }; /** - * Verifies a WorkflowTemplate message. + * Verifies a SignalCondition message. * @function verify - * @memberof flyteidl.core.WorkflowTemplate + * @memberof flyteidl.core.SignalCondition * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowTemplate.verify = function verify(message) { + SignalCondition.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - var error = $root.flyteidl.core.Identifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.core.WorkflowMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message["interface"] != null && message.hasOwnProperty("interface")) { - var error = $root.flyteidl.core.TypedInterface.verify(message["interface"]); - if (error) - return "interface." + error; - } - if (message.nodes != null && message.hasOwnProperty("nodes")) { - if (!Array.isArray(message.nodes)) - return "nodes: array expected"; - for (var i = 0; i < message.nodes.length; ++i) { - var error = $root.flyteidl.core.Node.verify(message.nodes[i]); - if (error) - return "nodes." + error; - } - } - if (message.outputs != null && message.hasOwnProperty("outputs")) { - if (!Array.isArray(message.outputs)) - return "outputs: array expected"; - for (var i = 0; i < message.outputs.length; ++i) { - var error = $root.flyteidl.core.Binding.verify(message.outputs[i]); - if (error) - return "outputs." + error; - } - } - if (message.failureNode != null && message.hasOwnProperty("failureNode")) { - var error = $root.flyteidl.core.Node.verify(message.failureNode); - if (error) - return "failureNode." + error; - } - if (message.metadataDefaults != null && message.hasOwnProperty("metadataDefaults")) { - var error = $root.flyteidl.core.WorkflowMetadataDefaults.verify(message.metadataDefaults); + if (message.signalId != null && message.hasOwnProperty("signalId")) + if (!$util.isString(message.signalId)) + return "signalId: string expected"; + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.LiteralType.verify(message.type); if (error) - return "metadataDefaults." + error; + return "type." + error; } + if (message.outputVariableName != null && message.hasOwnProperty("outputVariableName")) + if (!$util.isString(message.outputVariableName)) + return "outputVariableName: string expected"; return null; }; - return WorkflowTemplate; + return SignalCondition; })(); - core.TaskNodeOverrides = (function() { + core.SleepCondition = (function() { /** - * Properties of a TaskNodeOverrides. + * Properties of a SleepCondition. * @memberof flyteidl.core - * @interface ITaskNodeOverrides - * @property {flyteidl.core.IResources|null} [resources] TaskNodeOverrides resources - * @property {flyteidl.core.IExtendedResources|null} [extendedResources] TaskNodeOverrides extendedResources + * @interface ISleepCondition + * @property {google.protobuf.IDuration|null} [duration] SleepCondition duration */ /** - * Constructs a new TaskNodeOverrides. + * Constructs a new SleepCondition. * @memberof flyteidl.core - * @classdesc Represents a TaskNodeOverrides. - * @implements ITaskNodeOverrides + * @classdesc Represents a SleepCondition. + * @implements ISleepCondition * @constructor - * @param {flyteidl.core.ITaskNodeOverrides=} [properties] Properties to set + * @param {flyteidl.core.ISleepCondition=} [properties] Properties to set */ - function TaskNodeOverrides(properties) { + function SleepCondition(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4589,75 +4269,62 @@ } /** - * TaskNodeOverrides resources. - * @member {flyteidl.core.IResources|null|undefined} resources - * @memberof flyteidl.core.TaskNodeOverrides - * @instance - */ - TaskNodeOverrides.prototype.resources = null; - - /** - * TaskNodeOverrides extendedResources. - * @member {flyteidl.core.IExtendedResources|null|undefined} extendedResources - * @memberof flyteidl.core.TaskNodeOverrides + * SleepCondition duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.core.SleepCondition * @instance */ - TaskNodeOverrides.prototype.extendedResources = null; + SleepCondition.prototype.duration = null; /** - * Creates a new TaskNodeOverrides instance using the specified properties. + * Creates a new SleepCondition instance using the specified properties. * @function create - * @memberof flyteidl.core.TaskNodeOverrides + * @memberof flyteidl.core.SleepCondition * @static - * @param {flyteidl.core.ITaskNodeOverrides=} [properties] Properties to set - * @returns {flyteidl.core.TaskNodeOverrides} TaskNodeOverrides instance + * @param {flyteidl.core.ISleepCondition=} [properties] Properties to set + * @returns {flyteidl.core.SleepCondition} SleepCondition instance */ - TaskNodeOverrides.create = function create(properties) { - return new TaskNodeOverrides(properties); + SleepCondition.create = function create(properties) { + return new SleepCondition(properties); }; /** - * Encodes the specified TaskNodeOverrides message. Does not implicitly {@link flyteidl.core.TaskNodeOverrides.verify|verify} messages. + * Encodes the specified SleepCondition message. Does not implicitly {@link flyteidl.core.SleepCondition.verify|verify} messages. * @function encode - * @memberof flyteidl.core.TaskNodeOverrides + * @memberof flyteidl.core.SleepCondition * @static - * @param {flyteidl.core.ITaskNodeOverrides} message TaskNodeOverrides message or plain object to encode + * @param {flyteidl.core.ISleepCondition} message SleepCondition message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskNodeOverrides.encode = function encode(message, writer) { + SleepCondition.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.resources != null && message.hasOwnProperty("resources")) - $root.flyteidl.core.Resources.encode(message.resources, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.extendedResources != null && message.hasOwnProperty("extendedResources")) - $root.flyteidl.core.ExtendedResources.encode(message.extendedResources, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.duration != null && message.hasOwnProperty("duration")) + $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskNodeOverrides message from the specified reader or buffer. + * Decodes a SleepCondition message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.TaskNodeOverrides + * @memberof flyteidl.core.SleepCondition * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.TaskNodeOverrides} TaskNodeOverrides + * @returns {flyteidl.core.SleepCondition} SleepCondition * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskNodeOverrides.decode = function decode(reader, length) { + SleepCondition.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskNodeOverrides(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SleepCondition(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.resources = $root.flyteidl.core.Resources.decode(reader, reader.uint32()); - break; - case 2: - message.extendedResources = $root.flyteidl.core.ExtendedResources.decode(reader, reader.uint32()); + message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -4668,52 +4335,47 @@ }; /** - * Verifies a TaskNodeOverrides message. + * Verifies a SleepCondition message. * @function verify - * @memberof flyteidl.core.TaskNodeOverrides + * @memberof flyteidl.core.SleepCondition * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskNodeOverrides.verify = function verify(message) { + SleepCondition.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.resources != null && message.hasOwnProperty("resources")) { - var error = $root.flyteidl.core.Resources.verify(message.resources); - if (error) - return "resources." + error; - } - if (message.extendedResources != null && message.hasOwnProperty("extendedResources")) { - var error = $root.flyteidl.core.ExtendedResources.verify(message.extendedResources); + if (message.duration != null && message.hasOwnProperty("duration")) { + var error = $root.google.protobuf.Duration.verify(message.duration); if (error) - return "extendedResources." + error; + return "duration." + error; } return null; }; - return TaskNodeOverrides; + return SleepCondition; })(); - core.ComparisonExpression = (function() { + core.GateNode = (function() { /** - * Properties of a ComparisonExpression. + * Properties of a GateNode. * @memberof flyteidl.core - * @interface IComparisonExpression - * @property {flyteidl.core.ComparisonExpression.Operator|null} [operator] ComparisonExpression operator - * @property {flyteidl.core.IOperand|null} [leftValue] ComparisonExpression leftValue - * @property {flyteidl.core.IOperand|null} [rightValue] ComparisonExpression rightValue + * @interface IGateNode + * @property {flyteidl.core.IApproveCondition|null} [approve] GateNode approve + * @property {flyteidl.core.ISignalCondition|null} [signal] GateNode signal + * @property {flyteidl.core.ISleepCondition|null} [sleep] GateNode sleep */ /** - * Constructs a new ComparisonExpression. + * Constructs a new GateNode. * @memberof flyteidl.core - * @classdesc Represents a ComparisonExpression. - * @implements IComparisonExpression + * @classdesc Represents a GateNode. + * @implements IGateNode * @constructor - * @param {flyteidl.core.IComparisonExpression=} [properties] Properties to set + * @param {flyteidl.core.IGateNode=} [properties] Properties to set */ - function ComparisonExpression(properties) { + function GateNode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4721,88 +4383,102 @@ } /** - * ComparisonExpression operator. - * @member {flyteidl.core.ComparisonExpression.Operator} operator - * @memberof flyteidl.core.ComparisonExpression + * GateNode approve. + * @member {flyteidl.core.IApproveCondition|null|undefined} approve + * @memberof flyteidl.core.GateNode * @instance */ - ComparisonExpression.prototype.operator = 0; + GateNode.prototype.approve = null; /** - * ComparisonExpression leftValue. - * @member {flyteidl.core.IOperand|null|undefined} leftValue - * @memberof flyteidl.core.ComparisonExpression + * GateNode signal. + * @member {flyteidl.core.ISignalCondition|null|undefined} signal + * @memberof flyteidl.core.GateNode * @instance */ - ComparisonExpression.prototype.leftValue = null; + GateNode.prototype.signal = null; /** - * ComparisonExpression rightValue. - * @member {flyteidl.core.IOperand|null|undefined} rightValue - * @memberof flyteidl.core.ComparisonExpression + * GateNode sleep. + * @member {flyteidl.core.ISleepCondition|null|undefined} sleep + * @memberof flyteidl.core.GateNode * @instance */ - ComparisonExpression.prototype.rightValue = null; + GateNode.prototype.sleep = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * Creates a new ComparisonExpression instance using the specified properties. + * GateNode condition. + * @member {"approve"|"signal"|"sleep"|undefined} condition + * @memberof flyteidl.core.GateNode + * @instance + */ + Object.defineProperty(GateNode.prototype, "condition", { + get: $util.oneOfGetter($oneOfFields = ["approve", "signal", "sleep"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new GateNode instance using the specified properties. * @function create - * @memberof flyteidl.core.ComparisonExpression + * @memberof flyteidl.core.GateNode * @static - * @param {flyteidl.core.IComparisonExpression=} [properties] Properties to set - * @returns {flyteidl.core.ComparisonExpression} ComparisonExpression instance + * @param {flyteidl.core.IGateNode=} [properties] Properties to set + * @returns {flyteidl.core.GateNode} GateNode instance */ - ComparisonExpression.create = function create(properties) { - return new ComparisonExpression(properties); + GateNode.create = function create(properties) { + return new GateNode(properties); }; /** - * Encodes the specified ComparisonExpression message. Does not implicitly {@link flyteidl.core.ComparisonExpression.verify|verify} messages. + * Encodes the specified GateNode message. Does not implicitly {@link flyteidl.core.GateNode.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ComparisonExpression + * @memberof flyteidl.core.GateNode * @static - * @param {flyteidl.core.IComparisonExpression} message ComparisonExpression message or plain object to encode + * @param {flyteidl.core.IGateNode} message GateNode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ComparisonExpression.encode = function encode(message, writer) { + GateNode.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.operator != null && message.hasOwnProperty("operator")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.operator); - if (message.leftValue != null && message.hasOwnProperty("leftValue")) - $root.flyteidl.core.Operand.encode(message.leftValue, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.rightValue != null && message.hasOwnProperty("rightValue")) - $root.flyteidl.core.Operand.encode(message.rightValue, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.approve != null && message.hasOwnProperty("approve")) + $root.flyteidl.core.ApproveCondition.encode(message.approve, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.signal != null && message.hasOwnProperty("signal")) + $root.flyteidl.core.SignalCondition.encode(message.signal, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.sleep != null && message.hasOwnProperty("sleep")) + $root.flyteidl.core.SleepCondition.encode(message.sleep, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a ComparisonExpression message from the specified reader or buffer. + * Decodes a GateNode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ComparisonExpression + * @memberof flyteidl.core.GateNode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ComparisonExpression} ComparisonExpression + * @returns {flyteidl.core.GateNode} GateNode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ComparisonExpression.decode = function decode(reader, length) { + GateNode.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ComparisonExpression(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.GateNode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.operator = reader.int32(); + message.approve = $root.flyteidl.core.ApproveCondition.decode(reader, reader.uint32()); break; case 2: - message.leftValue = $root.flyteidl.core.Operand.decode(reader, reader.uint32()); + message.signal = $root.flyteidl.core.SignalCondition.decode(reader, reader.uint32()); break; case 3: - message.rightValue = $root.flyteidl.core.Operand.decode(reader, reader.uint32()); + message.sleep = $root.flyteidl.core.SleepCondition.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -4813,86 +4489,72 @@ }; /** - * Verifies a ComparisonExpression message. + * Verifies a GateNode message. * @function verify - * @memberof flyteidl.core.ComparisonExpression + * @memberof flyteidl.core.GateNode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ComparisonExpression.verify = function verify(message) { + GateNode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.operator != null && message.hasOwnProperty("operator")) - switch (message.operator) { - default: - return "operator: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - break; + var properties = {}; + if (message.approve != null && message.hasOwnProperty("approve")) { + properties.condition = 1; + { + var error = $root.flyteidl.core.ApproveCondition.verify(message.approve); + if (error) + return "approve." + error; } - if (message.leftValue != null && message.hasOwnProperty("leftValue")) { - var error = $root.flyteidl.core.Operand.verify(message.leftValue); - if (error) - return "leftValue." + error; } - if (message.rightValue != null && message.hasOwnProperty("rightValue")) { - var error = $root.flyteidl.core.Operand.verify(message.rightValue); - if (error) - return "rightValue." + error; + if (message.signal != null && message.hasOwnProperty("signal")) { + if (properties.condition === 1) + return "condition: multiple values"; + properties.condition = 1; + { + var error = $root.flyteidl.core.SignalCondition.verify(message.signal); + if (error) + return "signal." + error; + } + } + if (message.sleep != null && message.hasOwnProperty("sleep")) { + if (properties.condition === 1) + return "condition: multiple values"; + properties.condition = 1; + { + var error = $root.flyteidl.core.SleepCondition.verify(message.sleep); + if (error) + return "sleep." + error; + } } return null; }; - /** - * Operator enum. - * @name flyteidl.core.ComparisonExpression.Operator - * @enum {string} - * @property {number} EQ=0 EQ value - * @property {number} NEQ=1 NEQ value - * @property {number} GT=2 GT value - * @property {number} GTE=3 GTE value - * @property {number} LT=4 LT value - * @property {number} LTE=5 LTE value - */ - ComparisonExpression.Operator = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "EQ"] = 0; - values[valuesById[1] = "NEQ"] = 1; - values[valuesById[2] = "GT"] = 2; - values[valuesById[3] = "GTE"] = 3; - values[valuesById[4] = "LT"] = 4; - values[valuesById[5] = "LTE"] = 5; - return values; - })(); - - return ComparisonExpression; + return GateNode; })(); - core.Operand = (function() { + core.ArrayNode = (function() { /** - * Properties of an Operand. + * Properties of an ArrayNode. * @memberof flyteidl.core - * @interface IOperand - * @property {flyteidl.core.IPrimitive|null} [primitive] Operand primitive - * @property {string|null} ["var"] Operand var - * @property {flyteidl.core.IScalar|null} [scalar] Operand scalar + * @interface IArrayNode + * @property {flyteidl.core.INode|null} [node] ArrayNode node + * @property {number|null} [parallelism] ArrayNode parallelism + * @property {number|null} [minSuccesses] ArrayNode minSuccesses + * @property {number|null} [minSuccessRatio] ArrayNode minSuccessRatio */ /** - * Constructs a new Operand. + * Constructs a new ArrayNode. * @memberof flyteidl.core - * @classdesc Represents an Operand. - * @implements IOperand + * @classdesc Represents an ArrayNode. + * @implements IArrayNode * @constructor - * @param {flyteidl.core.IOperand=} [properties] Properties to set + * @param {flyteidl.core.IArrayNode=} [properties] Properties to set */ - function Operand(properties) { + function ArrayNode(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -4900,102 +4562,115 @@ } /** - * Operand primitive. - * @member {flyteidl.core.IPrimitive|null|undefined} primitive - * @memberof flyteidl.core.Operand + * ArrayNode node. + * @member {flyteidl.core.INode|null|undefined} node + * @memberof flyteidl.core.ArrayNode * @instance */ - Operand.prototype.primitive = null; + ArrayNode.prototype.node = null; /** - * Operand var. - * @member {string} var - * @memberof flyteidl.core.Operand + * ArrayNode parallelism. + * @member {number} parallelism + * @memberof flyteidl.core.ArrayNode * @instance */ - Operand.prototype["var"] = ""; + ArrayNode.prototype.parallelism = 0; /** - * Operand scalar. - * @member {flyteidl.core.IScalar|null|undefined} scalar - * @memberof flyteidl.core.Operand + * ArrayNode minSuccesses. + * @member {number} minSuccesses + * @memberof flyteidl.core.ArrayNode * @instance */ - Operand.prototype.scalar = null; + ArrayNode.prototype.minSuccesses = 0; + + /** + * ArrayNode minSuccessRatio. + * @member {number} minSuccessRatio + * @memberof flyteidl.core.ArrayNode + * @instance + */ + ArrayNode.prototype.minSuccessRatio = 0; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * Operand val. - * @member {"primitive"|"var"|"scalar"|undefined} val - * @memberof flyteidl.core.Operand + * ArrayNode successCriteria. + * @member {"minSuccesses"|"minSuccessRatio"|undefined} successCriteria + * @memberof flyteidl.core.ArrayNode * @instance */ - Object.defineProperty(Operand.prototype, "val", { - get: $util.oneOfGetter($oneOfFields = ["primitive", "var", "scalar"]), + Object.defineProperty(ArrayNode.prototype, "successCriteria", { + get: $util.oneOfGetter($oneOfFields = ["minSuccesses", "minSuccessRatio"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new Operand instance using the specified properties. + * Creates a new ArrayNode instance using the specified properties. * @function create - * @memberof flyteidl.core.Operand + * @memberof flyteidl.core.ArrayNode * @static - * @param {flyteidl.core.IOperand=} [properties] Properties to set - * @returns {flyteidl.core.Operand} Operand instance + * @param {flyteidl.core.IArrayNode=} [properties] Properties to set + * @returns {flyteidl.core.ArrayNode} ArrayNode instance */ - Operand.create = function create(properties) { - return new Operand(properties); + ArrayNode.create = function create(properties) { + return new ArrayNode(properties); }; /** - * Encodes the specified Operand message. Does not implicitly {@link flyteidl.core.Operand.verify|verify} messages. + * Encodes the specified ArrayNode message. Does not implicitly {@link flyteidl.core.ArrayNode.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Operand + * @memberof flyteidl.core.ArrayNode * @static - * @param {flyteidl.core.IOperand} message Operand message or plain object to encode + * @param {flyteidl.core.IArrayNode} message ArrayNode message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Operand.encode = function encode(message, writer) { + ArrayNode.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.primitive != null && message.hasOwnProperty("primitive")) - $root.flyteidl.core.Primitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message["var"] != null && message.hasOwnProperty("var")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message["var"]); - if (message.scalar != null && message.hasOwnProperty("scalar")) - $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.node != null && message.hasOwnProperty("node")) + $root.flyteidl.core.Node.encode(message.node, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.parallelism != null && message.hasOwnProperty("parallelism")) + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.parallelism); + if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.minSuccesses); + if (message.minSuccessRatio != null && message.hasOwnProperty("minSuccessRatio")) + writer.uint32(/* id 4, wireType 5 =*/37).float(message.minSuccessRatio); return writer; }; /** - * Decodes an Operand message from the specified reader or buffer. + * Decodes an ArrayNode message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Operand + * @memberof flyteidl.core.ArrayNode * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Operand} Operand + * @returns {flyteidl.core.ArrayNode} ArrayNode * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Operand.decode = function decode(reader, length) { + ArrayNode.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Operand(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ArrayNode(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.primitive = $root.flyteidl.core.Primitive.decode(reader, reader.uint32()); + message.node = $root.flyteidl.core.Node.decode(reader, reader.uint32()); break; case 2: - message["var"] = reader.string(); + message.parallelism = reader.uint32(); break; case 3: - message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); + message.minSuccesses = reader.uint32(); + break; + case 4: + message.minSuccessRatio = reader.float(); break; default: reader.skipType(tag & 7); @@ -5006,67 +4681,64 @@ }; /** - * Verifies an Operand message. + * Verifies an ArrayNode message. * @function verify - * @memberof flyteidl.core.Operand + * @memberof flyteidl.core.ArrayNode * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Operand.verify = function verify(message) { + ArrayNode.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.primitive != null && message.hasOwnProperty("primitive")) { - properties.val = 1; - { - var error = $root.flyteidl.core.Primitive.verify(message.primitive); - if (error) - return "primitive." + error; - } + if (message.node != null && message.hasOwnProperty("node")) { + var error = $root.flyteidl.core.Node.verify(message.node); + if (error) + return "node." + error; } - if (message["var"] != null && message.hasOwnProperty("var")) { - if (properties.val === 1) - return "val: multiple values"; - properties.val = 1; - if (!$util.isString(message["var"])) - return "var: string expected"; + if (message.parallelism != null && message.hasOwnProperty("parallelism")) + if (!$util.isInteger(message.parallelism)) + return "parallelism: integer expected"; + if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) { + properties.successCriteria = 1; + if (!$util.isInteger(message.minSuccesses)) + return "minSuccesses: integer expected"; } - if (message.scalar != null && message.hasOwnProperty("scalar")) { - if (properties.val === 1) - return "val: multiple values"; - properties.val = 1; - { - var error = $root.flyteidl.core.Scalar.verify(message.scalar); - if (error) - return "scalar." + error; - } + if (message.minSuccessRatio != null && message.hasOwnProperty("minSuccessRatio")) { + if (properties.successCriteria === 1) + return "successCriteria: multiple values"; + properties.successCriteria = 1; + if (typeof message.minSuccessRatio !== "number") + return "minSuccessRatio: number expected"; } return null; }; - return Operand; + return ArrayNode; })(); - core.BooleanExpression = (function() { + core.NodeMetadata = (function() { /** - * Properties of a BooleanExpression. + * Properties of a NodeMetadata. * @memberof flyteidl.core - * @interface IBooleanExpression - * @property {flyteidl.core.IConjunctionExpression|null} [conjunction] BooleanExpression conjunction - * @property {flyteidl.core.IComparisonExpression|null} [comparison] BooleanExpression comparison + * @interface INodeMetadata + * @property {string|null} [name] NodeMetadata name + * @property {google.protobuf.IDuration|null} [timeout] NodeMetadata timeout + * @property {flyteidl.core.IRetryStrategy|null} [retries] NodeMetadata retries + * @property {boolean|null} [interruptible] NodeMetadata interruptible */ /** - * Constructs a new BooleanExpression. + * Constructs a new NodeMetadata. * @memberof flyteidl.core - * @classdesc Represents a BooleanExpression. - * @implements IBooleanExpression + * @classdesc Represents a NodeMetadata. + * @implements INodeMetadata * @constructor - * @param {flyteidl.core.IBooleanExpression=} [properties] Properties to set + * @param {flyteidl.core.INodeMetadata=} [properties] Properties to set */ - function BooleanExpression(properties) { + function NodeMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5074,89 +4746,115 @@ } /** - * BooleanExpression conjunction. - * @member {flyteidl.core.IConjunctionExpression|null|undefined} conjunction - * @memberof flyteidl.core.BooleanExpression + * NodeMetadata name. + * @member {string} name + * @memberof flyteidl.core.NodeMetadata * @instance */ - BooleanExpression.prototype.conjunction = null; + NodeMetadata.prototype.name = ""; /** - * BooleanExpression comparison. - * @member {flyteidl.core.IComparisonExpression|null|undefined} comparison - * @memberof flyteidl.core.BooleanExpression + * NodeMetadata timeout. + * @member {google.protobuf.IDuration|null|undefined} timeout + * @memberof flyteidl.core.NodeMetadata * @instance */ - BooleanExpression.prototype.comparison = null; + NodeMetadata.prototype.timeout = null; + + /** + * NodeMetadata retries. + * @member {flyteidl.core.IRetryStrategy|null|undefined} retries + * @memberof flyteidl.core.NodeMetadata + * @instance + */ + NodeMetadata.prototype.retries = null; + + /** + * NodeMetadata interruptible. + * @member {boolean} interruptible + * @memberof flyteidl.core.NodeMetadata + * @instance + */ + NodeMetadata.prototype.interruptible = false; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * BooleanExpression expr. - * @member {"conjunction"|"comparison"|undefined} expr - * @memberof flyteidl.core.BooleanExpression + * NodeMetadata interruptibleValue. + * @member {"interruptible"|undefined} interruptibleValue + * @memberof flyteidl.core.NodeMetadata * @instance */ - Object.defineProperty(BooleanExpression.prototype, "expr", { - get: $util.oneOfGetter($oneOfFields = ["conjunction", "comparison"]), + Object.defineProperty(NodeMetadata.prototype, "interruptibleValue", { + get: $util.oneOfGetter($oneOfFields = ["interruptible"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new BooleanExpression instance using the specified properties. + * Creates a new NodeMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.BooleanExpression + * @memberof flyteidl.core.NodeMetadata * @static - * @param {flyteidl.core.IBooleanExpression=} [properties] Properties to set - * @returns {flyteidl.core.BooleanExpression} BooleanExpression instance + * @param {flyteidl.core.INodeMetadata=} [properties] Properties to set + * @returns {flyteidl.core.NodeMetadata} NodeMetadata instance */ - BooleanExpression.create = function create(properties) { - return new BooleanExpression(properties); + NodeMetadata.create = function create(properties) { + return new NodeMetadata(properties); }; /** - * Encodes the specified BooleanExpression message. Does not implicitly {@link flyteidl.core.BooleanExpression.verify|verify} messages. + * Encodes the specified NodeMetadata message. Does not implicitly {@link flyteidl.core.NodeMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BooleanExpression + * @memberof flyteidl.core.NodeMetadata * @static - * @param {flyteidl.core.IBooleanExpression} message BooleanExpression message or plain object to encode + * @param {flyteidl.core.INodeMetadata} message NodeMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BooleanExpression.encode = function encode(message, writer) { + NodeMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.conjunction != null && message.hasOwnProperty("conjunction")) - $root.flyteidl.core.ConjunctionExpression.encode(message.conjunction, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.comparison != null && message.hasOwnProperty("comparison")) - $root.flyteidl.core.ComparisonExpression.encode(message.comparison, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.timeout != null && message.hasOwnProperty("timeout")) + $root.google.protobuf.Duration.encode(message.timeout, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.retries != null && message.hasOwnProperty("retries")) + $root.flyteidl.core.RetryStrategy.encode(message.retries, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.interruptible != null && message.hasOwnProperty("interruptible")) + writer.uint32(/* id 6, wireType 0 =*/48).bool(message.interruptible); return writer; }; /** - * Decodes a BooleanExpression message from the specified reader or buffer. + * Decodes a NodeMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BooleanExpression + * @memberof flyteidl.core.NodeMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BooleanExpression} BooleanExpression + * @returns {flyteidl.core.NodeMetadata} NodeMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BooleanExpression.decode = function decode(reader, length) { + NodeMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BooleanExpression(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.NodeMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.conjunction = $root.flyteidl.core.ConjunctionExpression.decode(reader, reader.uint32()); + message.name = reader.string(); break; - case 2: - message.comparison = $root.flyteidl.core.ComparisonExpression.decode(reader, reader.uint32()); + case 4: + message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + case 5: + message.retries = $root.flyteidl.core.RetryStrategy.decode(reader, reader.uint32()); + break; + case 6: + message.interruptible = reader.bool(); break; default: reader.skipType(tag & 7); @@ -5167,61 +4865,60 @@ }; /** - * Verifies a BooleanExpression message. + * Verifies a NodeMetadata message. * @function verify - * @memberof flyteidl.core.BooleanExpression + * @memberof flyteidl.core.NodeMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BooleanExpression.verify = function verify(message) { + NodeMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.conjunction != null && message.hasOwnProperty("conjunction")) { - properties.expr = 1; - { - var error = $root.flyteidl.core.ConjunctionExpression.verify(message.conjunction); - if (error) - return "conjunction." + error; - } + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.timeout != null && message.hasOwnProperty("timeout")) { + var error = $root.google.protobuf.Duration.verify(message.timeout); + if (error) + return "timeout." + error; } - if (message.comparison != null && message.hasOwnProperty("comparison")) { - if (properties.expr === 1) - return "expr: multiple values"; - properties.expr = 1; - { - var error = $root.flyteidl.core.ComparisonExpression.verify(message.comparison); - if (error) - return "comparison." + error; - } + if (message.retries != null && message.hasOwnProperty("retries")) { + var error = $root.flyteidl.core.RetryStrategy.verify(message.retries); + if (error) + return "retries." + error; + } + if (message.interruptible != null && message.hasOwnProperty("interruptible")) { + properties.interruptibleValue = 1; + if (typeof message.interruptible !== "boolean") + return "interruptible: boolean expected"; } return null; }; - return BooleanExpression; + return NodeMetadata; })(); - core.ConjunctionExpression = (function() { + core.Alias = (function() { /** - * Properties of a ConjunctionExpression. + * Properties of an Alias. * @memberof flyteidl.core - * @interface IConjunctionExpression - * @property {flyteidl.core.ConjunctionExpression.LogicalOperator|null} [operator] ConjunctionExpression operator - * @property {flyteidl.core.IBooleanExpression|null} [leftExpression] ConjunctionExpression leftExpression - * @property {flyteidl.core.IBooleanExpression|null} [rightExpression] ConjunctionExpression rightExpression + * @interface IAlias + * @property {string|null} ["var"] Alias var + * @property {string|null} [alias] Alias alias */ /** - * Constructs a new ConjunctionExpression. + * Constructs a new Alias. * @memberof flyteidl.core - * @classdesc Represents a ConjunctionExpression. - * @implements IConjunctionExpression + * @classdesc Represents an Alias. + * @implements IAlias * @constructor - * @param {flyteidl.core.IConjunctionExpression=} [properties] Properties to set + * @param {flyteidl.core.IAlias=} [properties] Properties to set */ - function ConjunctionExpression(properties) { + function Alias(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5229,88 +4926,75 @@ } /** - * ConjunctionExpression operator. - * @member {flyteidl.core.ConjunctionExpression.LogicalOperator} operator - * @memberof flyteidl.core.ConjunctionExpression - * @instance - */ - ConjunctionExpression.prototype.operator = 0; - - /** - * ConjunctionExpression leftExpression. - * @member {flyteidl.core.IBooleanExpression|null|undefined} leftExpression - * @memberof flyteidl.core.ConjunctionExpression + * Alias var. + * @member {string} var + * @memberof flyteidl.core.Alias * @instance */ - ConjunctionExpression.prototype.leftExpression = null; + Alias.prototype["var"] = ""; /** - * ConjunctionExpression rightExpression. - * @member {flyteidl.core.IBooleanExpression|null|undefined} rightExpression - * @memberof flyteidl.core.ConjunctionExpression + * Alias alias. + * @member {string} alias + * @memberof flyteidl.core.Alias * @instance */ - ConjunctionExpression.prototype.rightExpression = null; + Alias.prototype.alias = ""; /** - * Creates a new ConjunctionExpression instance using the specified properties. + * Creates a new Alias instance using the specified properties. * @function create - * @memberof flyteidl.core.ConjunctionExpression + * @memberof flyteidl.core.Alias * @static - * @param {flyteidl.core.IConjunctionExpression=} [properties] Properties to set - * @returns {flyteidl.core.ConjunctionExpression} ConjunctionExpression instance + * @param {flyteidl.core.IAlias=} [properties] Properties to set + * @returns {flyteidl.core.Alias} Alias instance */ - ConjunctionExpression.create = function create(properties) { - return new ConjunctionExpression(properties); + Alias.create = function create(properties) { + return new Alias(properties); }; /** - * Encodes the specified ConjunctionExpression message. Does not implicitly {@link flyteidl.core.ConjunctionExpression.verify|verify} messages. + * Encodes the specified Alias message. Does not implicitly {@link flyteidl.core.Alias.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ConjunctionExpression + * @memberof flyteidl.core.Alias * @static - * @param {flyteidl.core.IConjunctionExpression} message ConjunctionExpression message or plain object to encode + * @param {flyteidl.core.IAlias} message Alias message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ConjunctionExpression.encode = function encode(message, writer) { + Alias.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.operator != null && message.hasOwnProperty("operator")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.operator); - if (message.leftExpression != null && message.hasOwnProperty("leftExpression")) - $root.flyteidl.core.BooleanExpression.encode(message.leftExpression, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.rightExpression != null && message.hasOwnProperty("rightExpression")) - $root.flyteidl.core.BooleanExpression.encode(message.rightExpression, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message["var"] != null && message.hasOwnProperty("var")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message["var"]); + if (message.alias != null && message.hasOwnProperty("alias")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.alias); return writer; }; /** - * Decodes a ConjunctionExpression message from the specified reader or buffer. + * Decodes an Alias message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ConjunctionExpression + * @memberof flyteidl.core.Alias * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ConjunctionExpression} ConjunctionExpression + * @returns {flyteidl.core.Alias} Alias * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ConjunctionExpression.decode = function decode(reader, length) { + Alias.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ConjunctionExpression(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Alias(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.operator = reader.int32(); + message["var"] = reader.string(); break; case 2: - message.leftExpression = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); - break; - case 3: - message.rightExpression = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); + message.alias = reader.string(); break; default: reader.skipType(tag & 7); @@ -5321,77 +5005,58 @@ }; /** - * Verifies a ConjunctionExpression message. + * Verifies an Alias message. * @function verify - * @memberof flyteidl.core.ConjunctionExpression + * @memberof flyteidl.core.Alias * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ConjunctionExpression.verify = function verify(message) { + Alias.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.operator != null && message.hasOwnProperty("operator")) - switch (message.operator) { - default: - return "operator: enum value expected"; - case 0: - case 1: - break; - } - if (message.leftExpression != null && message.hasOwnProperty("leftExpression")) { - var error = $root.flyteidl.core.BooleanExpression.verify(message.leftExpression); - if (error) - return "leftExpression." + error; - } - if (message.rightExpression != null && message.hasOwnProperty("rightExpression")) { - var error = $root.flyteidl.core.BooleanExpression.verify(message.rightExpression); - if (error) - return "rightExpression." + error; - } + if (message["var"] != null && message.hasOwnProperty("var")) + if (!$util.isString(message["var"])) + return "var: string expected"; + if (message.alias != null && message.hasOwnProperty("alias")) + if (!$util.isString(message.alias)) + return "alias: string expected"; return null; }; - /** - * LogicalOperator enum. - * @name flyteidl.core.ConjunctionExpression.LogicalOperator - * @enum {string} - * @property {number} AND=0 AND value - * @property {number} OR=1 OR value - */ - ConjunctionExpression.LogicalOperator = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "AND"] = 0; - values[valuesById[1] = "OR"] = 1; - return values; - })(); - - return ConjunctionExpression; + return Alias; })(); - core.Primitive = (function() { + core.Node = (function() { /** - * Properties of a Primitive. + * Properties of a Node. * @memberof flyteidl.core - * @interface IPrimitive - * @property {Long|null} [integer] Primitive integer - * @property {number|null} [floatValue] Primitive floatValue - * @property {string|null} [stringValue] Primitive stringValue - * @property {boolean|null} [boolean] Primitive boolean - * @property {google.protobuf.ITimestamp|null} [datetime] Primitive datetime - * @property {google.protobuf.IDuration|null} [duration] Primitive duration + * @interface INode + * @property {string|null} [id] Node id + * @property {flyteidl.core.INodeMetadata|null} [metadata] Node metadata + * @property {Array.|null} [inputs] Node inputs + * @property {Array.|null} [upstreamNodeIds] Node upstreamNodeIds + * @property {Array.|null} [outputAliases] Node outputAliases + * @property {flyteidl.core.ITaskNode|null} [taskNode] Node taskNode + * @property {flyteidl.core.IWorkflowNode|null} [workflowNode] Node workflowNode + * @property {flyteidl.core.IBranchNode|null} [branchNode] Node branchNode + * @property {flyteidl.core.IGateNode|null} [gateNode] Node gateNode + * @property {flyteidl.core.IArrayNode|null} [arrayNode] Node arrayNode */ /** - * Constructs a new Primitive. + * Constructs a new Node. * @memberof flyteidl.core - * @classdesc Represents a Primitive. - * @implements IPrimitive + * @classdesc Represents a Node. + * @implements INode * @constructor - * @param {flyteidl.core.IPrimitive=} [properties] Properties to set + * @param {flyteidl.core.INode=} [properties] Properties to set */ - function Primitive(properties) { + function Node(properties) { + this.inputs = []; + this.upstreamNodeIds = []; + this.outputAliases = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5399,141 +5064,202 @@ } /** - * Primitive integer. - * @member {Long} integer - * @memberof flyteidl.core.Primitive + * Node id. + * @member {string} id + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.integer = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + Node.prototype.id = ""; /** - * Primitive floatValue. - * @member {number} floatValue - * @memberof flyteidl.core.Primitive + * Node metadata. + * @member {flyteidl.core.INodeMetadata|null|undefined} metadata + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.floatValue = 0; + Node.prototype.metadata = null; /** - * Primitive stringValue. - * @member {string} stringValue - * @memberof flyteidl.core.Primitive + * Node inputs. + * @member {Array.} inputs + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.stringValue = ""; + Node.prototype.inputs = $util.emptyArray; /** - * Primitive boolean. - * @member {boolean} boolean - * @memberof flyteidl.core.Primitive + * Node upstreamNodeIds. + * @member {Array.} upstreamNodeIds + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.boolean = false; + Node.prototype.upstreamNodeIds = $util.emptyArray; /** - * Primitive datetime. - * @member {google.protobuf.ITimestamp|null|undefined} datetime - * @memberof flyteidl.core.Primitive + * Node outputAliases. + * @member {Array.} outputAliases + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.datetime = null; + Node.prototype.outputAliases = $util.emptyArray; /** - * Primitive duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.core.Primitive + * Node taskNode. + * @member {flyteidl.core.ITaskNode|null|undefined} taskNode + * @memberof flyteidl.core.Node * @instance */ - Primitive.prototype.duration = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + Node.prototype.taskNode = null; /** - * Primitive value. - * @member {"integer"|"floatValue"|"stringValue"|"boolean"|"datetime"|"duration"|undefined} value - * @memberof flyteidl.core.Primitive + * Node workflowNode. + * @member {flyteidl.core.IWorkflowNode|null|undefined} workflowNode + * @memberof flyteidl.core.Node * @instance */ - Object.defineProperty(Primitive.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["integer", "floatValue", "stringValue", "boolean", "datetime", "duration"]), + Node.prototype.workflowNode = null; + + /** + * Node branchNode. + * @member {flyteidl.core.IBranchNode|null|undefined} branchNode + * @memberof flyteidl.core.Node + * @instance + */ + Node.prototype.branchNode = null; + + /** + * Node gateNode. + * @member {flyteidl.core.IGateNode|null|undefined} gateNode + * @memberof flyteidl.core.Node + * @instance + */ + Node.prototype.gateNode = null; + + /** + * Node arrayNode. + * @member {flyteidl.core.IArrayNode|null|undefined} arrayNode + * @memberof flyteidl.core.Node + * @instance + */ + Node.prototype.arrayNode = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Node target. + * @member {"taskNode"|"workflowNode"|"branchNode"|"gateNode"|"arrayNode"|undefined} target + * @memberof flyteidl.core.Node + * @instance + */ + Object.defineProperty(Node.prototype, "target", { + get: $util.oneOfGetter($oneOfFields = ["taskNode", "workflowNode", "branchNode", "gateNode", "arrayNode"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new Primitive instance using the specified properties. + * Creates a new Node instance using the specified properties. * @function create - * @memberof flyteidl.core.Primitive + * @memberof flyteidl.core.Node * @static - * @param {flyteidl.core.IPrimitive=} [properties] Properties to set - * @returns {flyteidl.core.Primitive} Primitive instance + * @param {flyteidl.core.INode=} [properties] Properties to set + * @returns {flyteidl.core.Node} Node instance */ - Primitive.create = function create(properties) { - return new Primitive(properties); + Node.create = function create(properties) { + return new Node(properties); }; /** - * Encodes the specified Primitive message. Does not implicitly {@link flyteidl.core.Primitive.verify|verify} messages. + * Encodes the specified Node message. Does not implicitly {@link flyteidl.core.Node.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Primitive + * @memberof flyteidl.core.Node * @static - * @param {flyteidl.core.IPrimitive} message Primitive message or plain object to encode + * @param {flyteidl.core.INode} message Node message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Primitive.encode = function encode(message, writer) { + Node.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.integer != null && message.hasOwnProperty("integer")) - writer.uint32(/* id 1, wireType 0 =*/8).int64(message.integer); - if (message.floatValue != null && message.hasOwnProperty("floatValue")) - writer.uint32(/* id 2, wireType 1 =*/17).double(message.floatValue); - if (message.stringValue != null && message.hasOwnProperty("stringValue")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.stringValue); - if (message.boolean != null && message.hasOwnProperty("boolean")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.boolean); - if (message.datetime != null && message.hasOwnProperty("datetime")) - $root.google.protobuf.Timestamp.encode(message.datetime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.duration != null && message.hasOwnProperty("duration")) - $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.core.NodeMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.inputs != null && message.inputs.length) + for (var i = 0; i < message.inputs.length; ++i) + $root.flyteidl.core.Binding.encode(message.inputs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.upstreamNodeIds != null && message.upstreamNodeIds.length) + for (var i = 0; i < message.upstreamNodeIds.length; ++i) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.upstreamNodeIds[i]); + if (message.outputAliases != null && message.outputAliases.length) + for (var i = 0; i < message.outputAliases.length; ++i) + $root.flyteidl.core.Alias.encode(message.outputAliases[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.taskNode != null && message.hasOwnProperty("taskNode")) + $root.flyteidl.core.TaskNode.encode(message.taskNode, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.workflowNode != null && message.hasOwnProperty("workflowNode")) + $root.flyteidl.core.WorkflowNode.encode(message.workflowNode, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.branchNode != null && message.hasOwnProperty("branchNode")) + $root.flyteidl.core.BranchNode.encode(message.branchNode, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.gateNode != null && message.hasOwnProperty("gateNode")) + $root.flyteidl.core.GateNode.encode(message.gateNode, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.arrayNode != null && message.hasOwnProperty("arrayNode")) + $root.flyteidl.core.ArrayNode.encode(message.arrayNode, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); return writer; }; /** - * Decodes a Primitive message from the specified reader or buffer. + * Decodes a Node message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Primitive + * @memberof flyteidl.core.Node * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Primitive} Primitive + * @returns {flyteidl.core.Node} Node * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Primitive.decode = function decode(reader, length) { + Node.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Primitive(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Node(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.integer = reader.int64(); + message.id = reader.string(); break; case 2: - message.floatValue = reader.double(); + message.metadata = $root.flyteidl.core.NodeMetadata.decode(reader, reader.uint32()); break; case 3: - message.stringValue = reader.string(); + if (!(message.inputs && message.inputs.length)) + message.inputs = []; + message.inputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); break; case 4: - message.boolean = reader.bool(); + if (!(message.upstreamNodeIds && message.upstreamNodeIds.length)) + message.upstreamNodeIds = []; + message.upstreamNodeIds.push(reader.string()); break; case 5: - message.datetime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + if (!(message.outputAliases && message.outputAliases.length)) + message.outputAliases = []; + message.outputAliases.push($root.flyteidl.core.Alias.decode(reader, reader.uint32())); break; case 6: - message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + message.taskNode = $root.flyteidl.core.TaskNode.decode(reader, reader.uint32()); + break; + case 7: + message.workflowNode = $root.flyteidl.core.WorkflowNode.decode(reader, reader.uint32()); + break; + case 8: + message.branchNode = $root.flyteidl.core.BranchNode.decode(reader, reader.uint32()); + break; + case 9: + message.gateNode = $root.flyteidl.core.GateNode.decode(reader, reader.uint32()); + break; + case 10: + message.arrayNode = $root.flyteidl.core.ArrayNode.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -5544,86 +5270,125 @@ }; /** - * Verifies a Primitive message. + * Verifies a Node message. * @function verify - * @memberof flyteidl.core.Primitive + * @memberof flyteidl.core.Node * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Primitive.verify = function verify(message) { + Node.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.integer != null && message.hasOwnProperty("integer")) { - properties.value = 1; - if (!$util.isInteger(message.integer) && !(message.integer && $util.isInteger(message.integer.low) && $util.isInteger(message.integer.high))) - return "integer: integer|Long expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.core.NodeMetadata.verify(message.metadata); + if (error) + return "metadata." + error; } - if (message.floatValue != null && message.hasOwnProperty("floatValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (typeof message.floatValue !== "number") - return "floatValue: number expected"; + if (message.inputs != null && message.hasOwnProperty("inputs")) { + if (!Array.isArray(message.inputs)) + return "inputs: array expected"; + for (var i = 0; i < message.inputs.length; ++i) { + var error = $root.flyteidl.core.Binding.verify(message.inputs[i]); + if (error) + return "inputs." + error; + } } - if (message.stringValue != null && message.hasOwnProperty("stringValue")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (!$util.isString(message.stringValue)) - return "stringValue: string expected"; + if (message.upstreamNodeIds != null && message.hasOwnProperty("upstreamNodeIds")) { + if (!Array.isArray(message.upstreamNodeIds)) + return "upstreamNodeIds: array expected"; + for (var i = 0; i < message.upstreamNodeIds.length; ++i) + if (!$util.isString(message.upstreamNodeIds[i])) + return "upstreamNodeIds: string[] expected"; } - if (message.boolean != null && message.hasOwnProperty("boolean")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - if (typeof message.boolean !== "boolean") - return "boolean: boolean expected"; + if (message.outputAliases != null && message.hasOwnProperty("outputAliases")) { + if (!Array.isArray(message.outputAliases)) + return "outputAliases: array expected"; + for (var i = 0; i < message.outputAliases.length; ++i) { + var error = $root.flyteidl.core.Alias.verify(message.outputAliases[i]); + if (error) + return "outputAliases." + error; + } } - if (message.datetime != null && message.hasOwnProperty("datetime")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; + if (message.taskNode != null && message.hasOwnProperty("taskNode")) { + properties.target = 1; { - var error = $root.google.protobuf.Timestamp.verify(message.datetime); + var error = $root.flyteidl.core.TaskNode.verify(message.taskNode); if (error) - return "datetime." + error; + return "taskNode." + error; } } - if (message.duration != null && message.hasOwnProperty("duration")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; + if (message.workflowNode != null && message.hasOwnProperty("workflowNode")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; { - var error = $root.google.protobuf.Duration.verify(message.duration); + var error = $root.flyteidl.core.WorkflowNode.verify(message.workflowNode); if (error) - return "duration." + error; + return "workflowNode." + error; + } + } + if (message.branchNode != null && message.hasOwnProperty("branchNode")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.core.BranchNode.verify(message.branchNode); + if (error) + return "branchNode." + error; + } + } + if (message.gateNode != null && message.hasOwnProperty("gateNode")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.core.GateNode.verify(message.gateNode); + if (error) + return "gateNode." + error; + } + } + if (message.arrayNode != null && message.hasOwnProperty("arrayNode")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + var error = $root.flyteidl.core.ArrayNode.verify(message.arrayNode); + if (error) + return "arrayNode." + error; } } return null; }; - return Primitive; + return Node; })(); - core.Void = (function() { + core.WorkflowMetadata = (function() { /** - * Properties of a Void. + * Properties of a WorkflowMetadata. * @memberof flyteidl.core - * @interface IVoid + * @interface IWorkflowMetadata + * @property {flyteidl.core.IQualityOfService|null} [qualityOfService] WorkflowMetadata qualityOfService + * @property {flyteidl.core.WorkflowMetadata.OnFailurePolicy|null} [onFailure] WorkflowMetadata onFailure + * @property {Object.|null} [tags] WorkflowMetadata tags */ /** - * Constructs a new Void. + * Constructs a new WorkflowMetadata. * @memberof flyteidl.core - * @classdesc Represents a Void. - * @implements IVoid + * @classdesc Represents a WorkflowMetadata. + * @implements IWorkflowMetadata * @constructor - * @param {flyteidl.core.IVoid=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowMetadata=} [properties] Properties to set */ - function Void(properties) { + function WorkflowMetadata(properties) { + this.tags = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5631,50 +5396,95 @@ } /** - * Creates a new Void instance using the specified properties. + * WorkflowMetadata qualityOfService. + * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfService + * @memberof flyteidl.core.WorkflowMetadata + * @instance + */ + WorkflowMetadata.prototype.qualityOfService = null; + + /** + * WorkflowMetadata onFailure. + * @member {flyteidl.core.WorkflowMetadata.OnFailurePolicy} onFailure + * @memberof flyteidl.core.WorkflowMetadata + * @instance + */ + WorkflowMetadata.prototype.onFailure = 0; + + /** + * WorkflowMetadata tags. + * @member {Object.} tags + * @memberof flyteidl.core.WorkflowMetadata + * @instance + */ + WorkflowMetadata.prototype.tags = $util.emptyObject; + + /** + * Creates a new WorkflowMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.Void + * @memberof flyteidl.core.WorkflowMetadata * @static - * @param {flyteidl.core.IVoid=} [properties] Properties to set - * @returns {flyteidl.core.Void} Void instance + * @param {flyteidl.core.IWorkflowMetadata=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowMetadata} WorkflowMetadata instance */ - Void.create = function create(properties) { - return new Void(properties); + WorkflowMetadata.create = function create(properties) { + return new WorkflowMetadata(properties); }; /** - * Encodes the specified Void message. Does not implicitly {@link flyteidl.core.Void.verify|verify} messages. + * Encodes the specified WorkflowMetadata message. Does not implicitly {@link flyteidl.core.WorkflowMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Void + * @memberof flyteidl.core.WorkflowMetadata * @static - * @param {flyteidl.core.IVoid} message Void message or plain object to encode + * @param {flyteidl.core.IWorkflowMetadata} message WorkflowMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Void.encode = function encode(message, writer) { + WorkflowMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) + $root.flyteidl.core.QualityOfService.encode(message.qualityOfService, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.onFailure != null && message.hasOwnProperty("onFailure")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.onFailure); + if (message.tags != null && message.hasOwnProperty("tags")) + for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) + writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim(); return writer; }; /** - * Decodes a Void message from the specified reader or buffer. + * Decodes a WorkflowMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Void + * @memberof flyteidl.core.WorkflowMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Void} Void + * @returns {flyteidl.core.WorkflowMetadata} WorkflowMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Void.decode = function decode(reader, length) { + WorkflowMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Void(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowMetadata(), key; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.qualityOfService = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32()); + break; + case 2: + message.onFailure = reader.int32(); + break; + case 3: + reader.skip().pos++; + if (message.tags === $util.emptyObject) + message.tags = {}; + key = reader.string(); + reader.pos++; + message.tags[key] = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -5684,41 +5494,75 @@ }; /** - * Verifies a Void message. + * Verifies a WorkflowMetadata message. * @function verify - * @memberof flyteidl.core.Void + * @memberof flyteidl.core.WorkflowMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Void.verify = function verify(message) { + WorkflowMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.qualityOfService != null && message.hasOwnProperty("qualityOfService")) { + var error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfService); + if (error) + return "qualityOfService." + error; + } + if (message.onFailure != null && message.hasOwnProperty("onFailure")) + switch (message.onFailure) { + default: + return "onFailure: enum value expected"; + case 0: + case 1: + break; + } + if (message.tags != null && message.hasOwnProperty("tags")) { + if (!$util.isObject(message.tags)) + return "tags: object expected"; + var key = Object.keys(message.tags); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.tags[key[i]])) + return "tags: string{k:string} expected"; + } return null; }; - return Void; + /** + * OnFailurePolicy enum. + * @name flyteidl.core.WorkflowMetadata.OnFailurePolicy + * @enum {string} + * @property {number} FAIL_IMMEDIATELY=0 FAIL_IMMEDIATELY value + * @property {number} FAIL_AFTER_EXECUTABLE_NODES_COMPLETE=1 FAIL_AFTER_EXECUTABLE_NODES_COMPLETE value + */ + WorkflowMetadata.OnFailurePolicy = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "FAIL_IMMEDIATELY"] = 0; + values[valuesById[1] = "FAIL_AFTER_EXECUTABLE_NODES_COMPLETE"] = 1; + return values; + })(); + + return WorkflowMetadata; })(); - core.Blob = (function() { + core.WorkflowMetadataDefaults = (function() { /** - * Properties of a Blob. + * Properties of a WorkflowMetadataDefaults. * @memberof flyteidl.core - * @interface IBlob - * @property {flyteidl.core.IBlobMetadata|null} [metadata] Blob metadata - * @property {string|null} [uri] Blob uri + * @interface IWorkflowMetadataDefaults + * @property {boolean|null} [interruptible] WorkflowMetadataDefaults interruptible */ /** - * Constructs a new Blob. + * Constructs a new WorkflowMetadataDefaults. * @memberof flyteidl.core - * @classdesc Represents a Blob. - * @implements IBlob + * @classdesc Represents a WorkflowMetadataDefaults. + * @implements IWorkflowMetadataDefaults * @constructor - * @param {flyteidl.core.IBlob=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowMetadataDefaults=} [properties] Properties to set */ - function Blob(properties) { + function WorkflowMetadataDefaults(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5726,75 +5570,62 @@ } /** - * Blob metadata. - * @member {flyteidl.core.IBlobMetadata|null|undefined} metadata - * @memberof flyteidl.core.Blob - * @instance - */ - Blob.prototype.metadata = null; - - /** - * Blob uri. - * @member {string} uri - * @memberof flyteidl.core.Blob + * WorkflowMetadataDefaults interruptible. + * @member {boolean} interruptible + * @memberof flyteidl.core.WorkflowMetadataDefaults * @instance */ - Blob.prototype.uri = ""; + WorkflowMetadataDefaults.prototype.interruptible = false; /** - * Creates a new Blob instance using the specified properties. + * Creates a new WorkflowMetadataDefaults instance using the specified properties. * @function create - * @memberof flyteidl.core.Blob + * @memberof flyteidl.core.WorkflowMetadataDefaults * @static - * @param {flyteidl.core.IBlob=} [properties] Properties to set - * @returns {flyteidl.core.Blob} Blob instance + * @param {flyteidl.core.IWorkflowMetadataDefaults=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowMetadataDefaults} WorkflowMetadataDefaults instance */ - Blob.create = function create(properties) { - return new Blob(properties); + WorkflowMetadataDefaults.create = function create(properties) { + return new WorkflowMetadataDefaults(properties); }; /** - * Encodes the specified Blob message. Does not implicitly {@link flyteidl.core.Blob.verify|verify} messages. + * Encodes the specified WorkflowMetadataDefaults message. Does not implicitly {@link flyteidl.core.WorkflowMetadataDefaults.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Blob + * @memberof flyteidl.core.WorkflowMetadataDefaults * @static - * @param {flyteidl.core.IBlob} message Blob message or plain object to encode + * @param {flyteidl.core.IWorkflowMetadataDefaults} message WorkflowMetadataDefaults message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Blob.encode = function encode(message, writer) { + WorkflowMetadataDefaults.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.core.BlobMetadata.encode(message.metadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.uri != null && message.hasOwnProperty("uri")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uri); + if (message.interruptible != null && message.hasOwnProperty("interruptible")) + writer.uint32(/* id 1, wireType 0 =*/8).bool(message.interruptible); return writer; }; /** - * Decodes a Blob message from the specified reader or buffer. + * Decodes a WorkflowMetadataDefaults message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Blob + * @memberof flyteidl.core.WorkflowMetadataDefaults * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Blob} Blob + * @returns {flyteidl.core.WorkflowMetadataDefaults} WorkflowMetadataDefaults * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Blob.decode = function decode(reader, length) { + WorkflowMetadataDefaults.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Blob(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowMetadataDefaults(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.metadata = $root.flyteidl.core.BlobMetadata.decode(reader, reader.uint32()); - break; - case 3: - message.uri = reader.string(); + message.interruptible = reader.bool(); break; default: reader.skipType(tag & 7); @@ -5805,48 +5636,51 @@ }; /** - * Verifies a Blob message. + * Verifies a WorkflowMetadataDefaults message. * @function verify - * @memberof flyteidl.core.Blob + * @memberof flyteidl.core.WorkflowMetadataDefaults * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Blob.verify = function verify(message) { + WorkflowMetadataDefaults.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.core.BlobMetadata.verify(message.metadata); - if (error) - return "metadata." + error; - } - if (message.uri != null && message.hasOwnProperty("uri")) - if (!$util.isString(message.uri)) - return "uri: string expected"; + if (message.interruptible != null && message.hasOwnProperty("interruptible")) + if (typeof message.interruptible !== "boolean") + return "interruptible: boolean expected"; return null; }; - return Blob; + return WorkflowMetadataDefaults; })(); - core.BlobMetadata = (function() { + core.WorkflowTemplate = (function() { /** - * Properties of a BlobMetadata. + * Properties of a WorkflowTemplate. * @memberof flyteidl.core - * @interface IBlobMetadata - * @property {flyteidl.core.IBlobType|null} [type] BlobMetadata type + * @interface IWorkflowTemplate + * @property {flyteidl.core.IIdentifier|null} [id] WorkflowTemplate id + * @property {flyteidl.core.IWorkflowMetadata|null} [metadata] WorkflowTemplate metadata + * @property {flyteidl.core.ITypedInterface|null} ["interface"] WorkflowTemplate interface + * @property {Array.|null} [nodes] WorkflowTemplate nodes + * @property {Array.|null} [outputs] WorkflowTemplate outputs + * @property {flyteidl.core.INode|null} [failureNode] WorkflowTemplate failureNode + * @property {flyteidl.core.IWorkflowMetadataDefaults|null} [metadataDefaults] WorkflowTemplate metadataDefaults */ /** - * Constructs a new BlobMetadata. + * Constructs a new WorkflowTemplate. * @memberof flyteidl.core - * @classdesc Represents a BlobMetadata. - * @implements IBlobMetadata + * @classdesc Represents a WorkflowTemplate. + * @implements IWorkflowTemplate * @constructor - * @param {flyteidl.core.IBlobMetadata=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowTemplate=} [properties] Properties to set */ - function BlobMetadata(properties) { + function WorkflowTemplate(properties) { + this.nodes = []; + this.outputs = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5854,62 +5688,146 @@ } /** - * BlobMetadata type. - * @member {flyteidl.core.IBlobType|null|undefined} type - * @memberof flyteidl.core.BlobMetadata - * @instance + * WorkflowTemplate id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.core.WorkflowTemplate + * @instance */ - BlobMetadata.prototype.type = null; + WorkflowTemplate.prototype.id = null; /** - * Creates a new BlobMetadata instance using the specified properties. + * WorkflowTemplate metadata. + * @member {flyteidl.core.IWorkflowMetadata|null|undefined} metadata + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype.metadata = null; + + /** + * WorkflowTemplate interface. + * @member {flyteidl.core.ITypedInterface|null|undefined} interface + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype["interface"] = null; + + /** + * WorkflowTemplate nodes. + * @member {Array.} nodes + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype.nodes = $util.emptyArray; + + /** + * WorkflowTemplate outputs. + * @member {Array.} outputs + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype.outputs = $util.emptyArray; + + /** + * WorkflowTemplate failureNode. + * @member {flyteidl.core.INode|null|undefined} failureNode + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype.failureNode = null; + + /** + * WorkflowTemplate metadataDefaults. + * @member {flyteidl.core.IWorkflowMetadataDefaults|null|undefined} metadataDefaults + * @memberof flyteidl.core.WorkflowTemplate + * @instance + */ + WorkflowTemplate.prototype.metadataDefaults = null; + + /** + * Creates a new WorkflowTemplate instance using the specified properties. * @function create - * @memberof flyteidl.core.BlobMetadata + * @memberof flyteidl.core.WorkflowTemplate * @static - * @param {flyteidl.core.IBlobMetadata=} [properties] Properties to set - * @returns {flyteidl.core.BlobMetadata} BlobMetadata instance + * @param {flyteidl.core.IWorkflowTemplate=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowTemplate} WorkflowTemplate instance */ - BlobMetadata.create = function create(properties) { - return new BlobMetadata(properties); + WorkflowTemplate.create = function create(properties) { + return new WorkflowTemplate(properties); }; /** - * Encodes the specified BlobMetadata message. Does not implicitly {@link flyteidl.core.BlobMetadata.verify|verify} messages. + * Encodes the specified WorkflowTemplate message. Does not implicitly {@link flyteidl.core.WorkflowTemplate.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BlobMetadata + * @memberof flyteidl.core.WorkflowTemplate * @static - * @param {flyteidl.core.IBlobMetadata} message BlobMetadata message or plain object to encode + * @param {flyteidl.core.IWorkflowTemplate} message WorkflowTemplate message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BlobMetadata.encode = function encode(message, writer) { + WorkflowTemplate.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.type != null && message.hasOwnProperty("type")) - $root.flyteidl.core.BlobType.encode(message.type, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.core.WorkflowMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message["interface"] != null && message.hasOwnProperty("interface")) + $root.flyteidl.core.TypedInterface.encode(message["interface"], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.nodes != null && message.nodes.length) + for (var i = 0; i < message.nodes.length; ++i) + $root.flyteidl.core.Node.encode(message.nodes[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.outputs != null && message.outputs.length) + for (var i = 0; i < message.outputs.length; ++i) + $root.flyteidl.core.Binding.encode(message.outputs[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.failureNode != null && message.hasOwnProperty("failureNode")) + $root.flyteidl.core.Node.encode(message.failureNode, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.metadataDefaults != null && message.hasOwnProperty("metadataDefaults")) + $root.flyteidl.core.WorkflowMetadataDefaults.encode(message.metadataDefaults, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); return writer; }; /** - * Decodes a BlobMetadata message from the specified reader or buffer. + * Decodes a WorkflowTemplate message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BlobMetadata + * @memberof flyteidl.core.WorkflowTemplate * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BlobMetadata} BlobMetadata + * @returns {flyteidl.core.WorkflowTemplate} WorkflowTemplate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BlobMetadata.decode = function decode(reader, length) { + WorkflowTemplate.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BlobMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowTemplate(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.type = $root.flyteidl.core.BlobType.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 2: + message.metadata = $root.flyteidl.core.WorkflowMetadata.decode(reader, reader.uint32()); + break; + case 3: + message["interface"] = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); + break; + case 4: + if (!(message.nodes && message.nodes.length)) + message.nodes = []; + message.nodes.push($root.flyteidl.core.Node.decode(reader, reader.uint32())); + break; + case 5: + if (!(message.outputs && message.outputs.length)) + message.outputs = []; + message.outputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); + break; + case 6: + message.failureNode = $root.flyteidl.core.Node.decode(reader, reader.uint32()); + break; + case 7: + message.metadataDefaults = $root.flyteidl.core.WorkflowMetadataDefaults.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -5920,46 +5838,84 @@ }; /** - * Verifies a BlobMetadata message. + * Verifies a WorkflowTemplate message. * @function verify - * @memberof flyteidl.core.BlobMetadata + * @memberof flyteidl.core.WorkflowTemplate * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BlobMetadata.verify = function verify(message) { + WorkflowTemplate.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.BlobType.verify(message.type); + if (message.id != null && message.hasOwnProperty("id")) { + var error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "type." + error; + return "id." + error; + } + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.core.WorkflowMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } + if (message["interface"] != null && message.hasOwnProperty("interface")) { + var error = $root.flyteidl.core.TypedInterface.verify(message["interface"]); + if (error) + return "interface." + error; + } + if (message.nodes != null && message.hasOwnProperty("nodes")) { + if (!Array.isArray(message.nodes)) + return "nodes: array expected"; + for (var i = 0; i < message.nodes.length; ++i) { + var error = $root.flyteidl.core.Node.verify(message.nodes[i]); + if (error) + return "nodes." + error; + } + } + if (message.outputs != null && message.hasOwnProperty("outputs")) { + if (!Array.isArray(message.outputs)) + return "outputs: array expected"; + for (var i = 0; i < message.outputs.length; ++i) { + var error = $root.flyteidl.core.Binding.verify(message.outputs[i]); + if (error) + return "outputs." + error; + } + } + if (message.failureNode != null && message.hasOwnProperty("failureNode")) { + var error = $root.flyteidl.core.Node.verify(message.failureNode); + if (error) + return "failureNode." + error; + } + if (message.metadataDefaults != null && message.hasOwnProperty("metadataDefaults")) { + var error = $root.flyteidl.core.WorkflowMetadataDefaults.verify(message.metadataDefaults); + if (error) + return "metadataDefaults." + error; } return null; }; - return BlobMetadata; + return WorkflowTemplate; })(); - core.Binary = (function() { + core.TaskNodeOverrides = (function() { /** - * Properties of a Binary. + * Properties of a TaskNodeOverrides. * @memberof flyteidl.core - * @interface IBinary - * @property {Uint8Array|null} [value] Binary value - * @property {string|null} [tag] Binary tag + * @interface ITaskNodeOverrides + * @property {flyteidl.core.IResources|null} [resources] TaskNodeOverrides resources + * @property {flyteidl.core.IExtendedResources|null} [extendedResources] TaskNodeOverrides extendedResources */ /** - * Constructs a new Binary. + * Constructs a new TaskNodeOverrides. * @memberof flyteidl.core - * @classdesc Represents a Binary. - * @implements IBinary + * @classdesc Represents a TaskNodeOverrides. + * @implements ITaskNodeOverrides * @constructor - * @param {flyteidl.core.IBinary=} [properties] Properties to set + * @param {flyteidl.core.ITaskNodeOverrides=} [properties] Properties to set */ - function Binary(properties) { + function TaskNodeOverrides(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -5967,75 +5923,75 @@ } /** - * Binary value. - * @member {Uint8Array} value - * @memberof flyteidl.core.Binary + * TaskNodeOverrides resources. + * @member {flyteidl.core.IResources|null|undefined} resources + * @memberof flyteidl.core.TaskNodeOverrides * @instance */ - Binary.prototype.value = $util.newBuffer([]); + TaskNodeOverrides.prototype.resources = null; /** - * Binary tag. - * @member {string} tag - * @memberof flyteidl.core.Binary + * TaskNodeOverrides extendedResources. + * @member {flyteidl.core.IExtendedResources|null|undefined} extendedResources + * @memberof flyteidl.core.TaskNodeOverrides * @instance */ - Binary.prototype.tag = ""; + TaskNodeOverrides.prototype.extendedResources = null; /** - * Creates a new Binary instance using the specified properties. + * Creates a new TaskNodeOverrides instance using the specified properties. * @function create - * @memberof flyteidl.core.Binary + * @memberof flyteidl.core.TaskNodeOverrides * @static - * @param {flyteidl.core.IBinary=} [properties] Properties to set - * @returns {flyteidl.core.Binary} Binary instance + * @param {flyteidl.core.ITaskNodeOverrides=} [properties] Properties to set + * @returns {flyteidl.core.TaskNodeOverrides} TaskNodeOverrides instance */ - Binary.create = function create(properties) { - return new Binary(properties); + TaskNodeOverrides.create = function create(properties) { + return new TaskNodeOverrides(properties); }; /** - * Encodes the specified Binary message. Does not implicitly {@link flyteidl.core.Binary.verify|verify} messages. + * Encodes the specified TaskNodeOverrides message. Does not implicitly {@link flyteidl.core.TaskNodeOverrides.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Binary + * @memberof flyteidl.core.TaskNodeOverrides * @static - * @param {flyteidl.core.IBinary} message Binary message or plain object to encode + * @param {flyteidl.core.ITaskNodeOverrides} message TaskNodeOverrides message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Binary.encode = function encode(message, writer) { + TaskNodeOverrides.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.value != null && message.hasOwnProperty("value")) - writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.value); - if (message.tag != null && message.hasOwnProperty("tag")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.tag); + if (message.resources != null && message.hasOwnProperty("resources")) + $root.flyteidl.core.Resources.encode(message.resources, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.extendedResources != null && message.hasOwnProperty("extendedResources")) + $root.flyteidl.core.ExtendedResources.encode(message.extendedResources, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a Binary message from the specified reader or buffer. + * Decodes a TaskNodeOverrides message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Binary + * @memberof flyteidl.core.TaskNodeOverrides * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Binary} Binary + * @returns {flyteidl.core.TaskNodeOverrides} TaskNodeOverrides * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Binary.decode = function decode(reader, length) { + TaskNodeOverrides.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Binary(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.TaskNodeOverrides(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.value = reader.bytes(); + message.resources = $root.flyteidl.core.Resources.decode(reader, reader.uint32()); break; case 2: - message.tag = reader.string(); + message.extendedResources = $root.flyteidl.core.ExtendedResources.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6046,47 +6002,52 @@ }; /** - * Verifies a Binary message. + * Verifies a TaskNodeOverrides message. * @function verify - * @memberof flyteidl.core.Binary + * @memberof flyteidl.core.TaskNodeOverrides * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Binary.verify = function verify(message) { + TaskNodeOverrides.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value))) - return "value: buffer expected"; - if (message.tag != null && message.hasOwnProperty("tag")) - if (!$util.isString(message.tag)) - return "tag: string expected"; + if (message.resources != null && message.hasOwnProperty("resources")) { + var error = $root.flyteidl.core.Resources.verify(message.resources); + if (error) + return "resources." + error; + } + if (message.extendedResources != null && message.hasOwnProperty("extendedResources")) { + var error = $root.flyteidl.core.ExtendedResources.verify(message.extendedResources); + if (error) + return "extendedResources." + error; + } return null; }; - return Binary; + return TaskNodeOverrides; })(); - core.Schema = (function() { + core.ComparisonExpression = (function() { /** - * Properties of a Schema. + * Properties of a ComparisonExpression. * @memberof flyteidl.core - * @interface ISchema - * @property {string|null} [uri] Schema uri - * @property {flyteidl.core.ISchemaType|null} [type] Schema type + * @interface IComparisonExpression + * @property {flyteidl.core.ComparisonExpression.Operator|null} [operator] ComparisonExpression operator + * @property {flyteidl.core.IOperand|null} [leftValue] ComparisonExpression leftValue + * @property {flyteidl.core.IOperand|null} [rightValue] ComparisonExpression rightValue */ /** - * Constructs a new Schema. + * Constructs a new ComparisonExpression. * @memberof flyteidl.core - * @classdesc Represents a Schema. - * @implements ISchema + * @classdesc Represents a ComparisonExpression. + * @implements IComparisonExpression * @constructor - * @param {flyteidl.core.ISchema=} [properties] Properties to set + * @param {flyteidl.core.IComparisonExpression=} [properties] Properties to set */ - function Schema(properties) { + function ComparisonExpression(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6094,75 +6055,88 @@ } /** - * Schema uri. - * @member {string} uri - * @memberof flyteidl.core.Schema + * ComparisonExpression operator. + * @member {flyteidl.core.ComparisonExpression.Operator} operator + * @memberof flyteidl.core.ComparisonExpression * @instance */ - Schema.prototype.uri = ""; + ComparisonExpression.prototype.operator = 0; /** - * Schema type. - * @member {flyteidl.core.ISchemaType|null|undefined} type - * @memberof flyteidl.core.Schema + * ComparisonExpression leftValue. + * @member {flyteidl.core.IOperand|null|undefined} leftValue + * @memberof flyteidl.core.ComparisonExpression * @instance */ - Schema.prototype.type = null; + ComparisonExpression.prototype.leftValue = null; /** - * Creates a new Schema instance using the specified properties. + * ComparisonExpression rightValue. + * @member {flyteidl.core.IOperand|null|undefined} rightValue + * @memberof flyteidl.core.ComparisonExpression + * @instance + */ + ComparisonExpression.prototype.rightValue = null; + + /** + * Creates a new ComparisonExpression instance using the specified properties. * @function create - * @memberof flyteidl.core.Schema + * @memberof flyteidl.core.ComparisonExpression * @static - * @param {flyteidl.core.ISchema=} [properties] Properties to set - * @returns {flyteidl.core.Schema} Schema instance + * @param {flyteidl.core.IComparisonExpression=} [properties] Properties to set + * @returns {flyteidl.core.ComparisonExpression} ComparisonExpression instance */ - Schema.create = function create(properties) { - return new Schema(properties); + ComparisonExpression.create = function create(properties) { + return new ComparisonExpression(properties); }; /** - * Encodes the specified Schema message. Does not implicitly {@link flyteidl.core.Schema.verify|verify} messages. + * Encodes the specified ComparisonExpression message. Does not implicitly {@link flyteidl.core.ComparisonExpression.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Schema + * @memberof flyteidl.core.ComparisonExpression * @static - * @param {flyteidl.core.ISchema} message Schema message or plain object to encode + * @param {flyteidl.core.IComparisonExpression} message ComparisonExpression message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Schema.encode = function encode(message, writer) { + ComparisonExpression.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.uri != null && message.hasOwnProperty("uri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); - if (message.type != null && message.hasOwnProperty("type")) - $root.flyteidl.core.SchemaType.encode(message.type, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.operator != null && message.hasOwnProperty("operator")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.operator); + if (message.leftValue != null && message.hasOwnProperty("leftValue")) + $root.flyteidl.core.Operand.encode(message.leftValue, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.rightValue != null && message.hasOwnProperty("rightValue")) + $root.flyteidl.core.Operand.encode(message.rightValue, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a Schema message from the specified reader or buffer. + * Decodes a ComparisonExpression message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Schema + * @memberof flyteidl.core.ComparisonExpression * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Schema} Schema + * @returns {flyteidl.core.ComparisonExpression} ComparisonExpression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Schema.decode = function decode(reader, length) { + ComparisonExpression.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Schema(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ComparisonExpression(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.uri = reader.string(); + message.operator = reader.int32(); + break; + case 2: + message.leftValue = $root.flyteidl.core.Operand.decode(reader, reader.uint32()); break; case 3: - message.type = $root.flyteidl.core.SchemaType.decode(reader, reader.uint32()); + message.rightValue = $root.flyteidl.core.Operand.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6173,49 +6147,86 @@ }; /** - * Verifies a Schema message. + * Verifies a ComparisonExpression message. * @function verify - * @memberof flyteidl.core.Schema + * @memberof flyteidl.core.ComparisonExpression * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Schema.verify = function verify(message) { + ComparisonExpression.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.uri != null && message.hasOwnProperty("uri")) - if (!$util.isString(message.uri)) - return "uri: string expected"; - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.SchemaType.verify(message.type); + if (message.operator != null && message.hasOwnProperty("operator")) + switch (message.operator) { + default: + return "operator: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + break; + } + if (message.leftValue != null && message.hasOwnProperty("leftValue")) { + var error = $root.flyteidl.core.Operand.verify(message.leftValue); if (error) - return "type." + error; + return "leftValue." + error; + } + if (message.rightValue != null && message.hasOwnProperty("rightValue")) { + var error = $root.flyteidl.core.Operand.verify(message.rightValue); + if (error) + return "rightValue." + error; } return null; }; - return Schema; + /** + * Operator enum. + * @name flyteidl.core.ComparisonExpression.Operator + * @enum {string} + * @property {number} EQ=0 EQ value + * @property {number} NEQ=1 NEQ value + * @property {number} GT=2 GT value + * @property {number} GTE=3 GTE value + * @property {number} LT=4 LT value + * @property {number} LTE=5 LTE value + */ + ComparisonExpression.Operator = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "EQ"] = 0; + values[valuesById[1] = "NEQ"] = 1; + values[valuesById[2] = "GT"] = 2; + values[valuesById[3] = "GTE"] = 3; + values[valuesById[4] = "LT"] = 4; + values[valuesById[5] = "LTE"] = 5; + return values; + })(); + + return ComparisonExpression; })(); - core.Union = (function() { + core.Operand = (function() { /** - * Properties of an Union. + * Properties of an Operand. * @memberof flyteidl.core - * @interface IUnion - * @property {flyteidl.core.ILiteral|null} [value] Union value - * @property {flyteidl.core.ILiteralType|null} [type] Union type + * @interface IOperand + * @property {flyteidl.core.IPrimitive|null} [primitive] Operand primitive + * @property {string|null} ["var"] Operand var + * @property {flyteidl.core.IScalar|null} [scalar] Operand scalar */ /** - * Constructs a new Union. + * Constructs a new Operand. * @memberof flyteidl.core - * @classdesc Represents an Union. - * @implements IUnion + * @classdesc Represents an Operand. + * @implements IOperand * @constructor - * @param {flyteidl.core.IUnion=} [properties] Properties to set + * @param {flyteidl.core.IOperand=} [properties] Properties to set */ - function Union(properties) { + function Operand(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6223,75 +6234,102 @@ } /** - * Union value. - * @member {flyteidl.core.ILiteral|null|undefined} value - * @memberof flyteidl.core.Union + * Operand primitive. + * @member {flyteidl.core.IPrimitive|null|undefined} primitive + * @memberof flyteidl.core.Operand * @instance */ - Union.prototype.value = null; + Operand.prototype.primitive = null; /** - * Union type. - * @member {flyteidl.core.ILiteralType|null|undefined} type - * @memberof flyteidl.core.Union + * Operand var. + * @member {string} var + * @memberof flyteidl.core.Operand * @instance */ - Union.prototype.type = null; + Operand.prototype["var"] = ""; /** - * Creates a new Union instance using the specified properties. + * Operand scalar. + * @member {flyteidl.core.IScalar|null|undefined} scalar + * @memberof flyteidl.core.Operand + * @instance + */ + Operand.prototype.scalar = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Operand val. + * @member {"primitive"|"var"|"scalar"|undefined} val + * @memberof flyteidl.core.Operand + * @instance + */ + Object.defineProperty(Operand.prototype, "val", { + get: $util.oneOfGetter($oneOfFields = ["primitive", "var", "scalar"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Operand instance using the specified properties. * @function create - * @memberof flyteidl.core.Union + * @memberof flyteidl.core.Operand * @static - * @param {flyteidl.core.IUnion=} [properties] Properties to set - * @returns {flyteidl.core.Union} Union instance + * @param {flyteidl.core.IOperand=} [properties] Properties to set + * @returns {flyteidl.core.Operand} Operand instance */ - Union.create = function create(properties) { - return new Union(properties); + Operand.create = function create(properties) { + return new Operand(properties); }; /** - * Encodes the specified Union message. Does not implicitly {@link flyteidl.core.Union.verify|verify} messages. + * Encodes the specified Operand message. Does not implicitly {@link flyteidl.core.Operand.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Union + * @memberof flyteidl.core.Operand * @static - * @param {flyteidl.core.IUnion} message Union message or plain object to encode + * @param {flyteidl.core.IOperand} message Operand message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Union.encode = function encode(message, writer) { + Operand.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.value != null && message.hasOwnProperty("value")) - $root.flyteidl.core.Literal.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.type != null && message.hasOwnProperty("type")) - $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - return writer; + if (message.primitive != null && message.hasOwnProperty("primitive")) + $root.flyteidl.core.Primitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message["var"] != null && message.hasOwnProperty("var")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message["var"]); + if (message.scalar != null && message.hasOwnProperty("scalar")) + $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; }; /** - * Decodes an Union message from the specified reader or buffer. + * Decodes an Operand message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Union + * @memberof flyteidl.core.Operand * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Union} Union + * @returns {flyteidl.core.Operand} Operand * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Union.decode = function decode(reader, length) { + Operand.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Union(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Operand(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + message.primitive = $root.flyteidl.core.Primitive.decode(reader, reader.uint32()); break; case 2: - message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + message["var"] = reader.string(); + break; + case 3: + message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6302,50 +6340,67 @@ }; /** - * Verifies an Union message. + * Verifies an Operand message. * @function verify - * @memberof flyteidl.core.Union + * @memberof flyteidl.core.Operand * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Union.verify = function verify(message) { + Operand.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) { - var error = $root.flyteidl.core.Literal.verify(message.value); - if (error) - return "value." + error; + var properties = {}; + if (message.primitive != null && message.hasOwnProperty("primitive")) { + properties.val = 1; + { + var error = $root.flyteidl.core.Primitive.verify(message.primitive); + if (error) + return "primitive." + error; + } } - if (message.type != null && message.hasOwnProperty("type")) { - var error = $root.flyteidl.core.LiteralType.verify(message.type); - if (error) - return "type." + error; + if (message["var"] != null && message.hasOwnProperty("var")) { + if (properties.val === 1) + return "val: multiple values"; + properties.val = 1; + if (!$util.isString(message["var"])) + return "var: string expected"; + } + if (message.scalar != null && message.hasOwnProperty("scalar")) { + if (properties.val === 1) + return "val: multiple values"; + properties.val = 1; + { + var error = $root.flyteidl.core.Scalar.verify(message.scalar); + if (error) + return "scalar." + error; + } } return null; }; - return Union; + return Operand; })(); - core.StructuredDatasetMetadata = (function() { + core.BooleanExpression = (function() { /** - * Properties of a StructuredDatasetMetadata. + * Properties of a BooleanExpression. * @memberof flyteidl.core - * @interface IStructuredDatasetMetadata - * @property {flyteidl.core.IStructuredDatasetType|null} [structuredDatasetType] StructuredDatasetMetadata structuredDatasetType + * @interface IBooleanExpression + * @property {flyteidl.core.IConjunctionExpression|null} [conjunction] BooleanExpression conjunction + * @property {flyteidl.core.IComparisonExpression|null} [comparison] BooleanExpression comparison */ /** - * Constructs a new StructuredDatasetMetadata. + * Constructs a new BooleanExpression. * @memberof flyteidl.core - * @classdesc Represents a StructuredDatasetMetadata. - * @implements IStructuredDatasetMetadata + * @classdesc Represents a BooleanExpression. + * @implements IBooleanExpression * @constructor - * @param {flyteidl.core.IStructuredDatasetMetadata=} [properties] Properties to set + * @param {flyteidl.core.IBooleanExpression=} [properties] Properties to set */ - function StructuredDatasetMetadata(properties) { + function BooleanExpression(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6353,62 +6408,89 @@ } /** - * StructuredDatasetMetadata structuredDatasetType. - * @member {flyteidl.core.IStructuredDatasetType|null|undefined} structuredDatasetType - * @memberof flyteidl.core.StructuredDatasetMetadata + * BooleanExpression conjunction. + * @member {flyteidl.core.IConjunctionExpression|null|undefined} conjunction + * @memberof flyteidl.core.BooleanExpression * @instance */ - StructuredDatasetMetadata.prototype.structuredDatasetType = null; + BooleanExpression.prototype.conjunction = null; /** - * Creates a new StructuredDatasetMetadata instance using the specified properties. + * BooleanExpression comparison. + * @member {flyteidl.core.IComparisonExpression|null|undefined} comparison + * @memberof flyteidl.core.BooleanExpression + * @instance + */ + BooleanExpression.prototype.comparison = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * BooleanExpression expr. + * @member {"conjunction"|"comparison"|undefined} expr + * @memberof flyteidl.core.BooleanExpression + * @instance + */ + Object.defineProperty(BooleanExpression.prototype, "expr", { + get: $util.oneOfGetter($oneOfFields = ["conjunction", "comparison"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new BooleanExpression instance using the specified properties. * @function create - * @memberof flyteidl.core.StructuredDatasetMetadata + * @memberof flyteidl.core.BooleanExpression * @static - * @param {flyteidl.core.IStructuredDatasetMetadata=} [properties] Properties to set - * @returns {flyteidl.core.StructuredDatasetMetadata} StructuredDatasetMetadata instance + * @param {flyteidl.core.IBooleanExpression=} [properties] Properties to set + * @returns {flyteidl.core.BooleanExpression} BooleanExpression instance */ - StructuredDatasetMetadata.create = function create(properties) { - return new StructuredDatasetMetadata(properties); + BooleanExpression.create = function create(properties) { + return new BooleanExpression(properties); }; /** - * Encodes the specified StructuredDatasetMetadata message. Does not implicitly {@link flyteidl.core.StructuredDatasetMetadata.verify|verify} messages. + * Encodes the specified BooleanExpression message. Does not implicitly {@link flyteidl.core.BooleanExpression.verify|verify} messages. * @function encode - * @memberof flyteidl.core.StructuredDatasetMetadata + * @memberof flyteidl.core.BooleanExpression * @static - * @param {flyteidl.core.IStructuredDatasetMetadata} message StructuredDatasetMetadata message or plain object to encode + * @param {flyteidl.core.IBooleanExpression} message BooleanExpression message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - StructuredDatasetMetadata.encode = function encode(message, writer) { + BooleanExpression.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) - $root.flyteidl.core.StructuredDatasetType.encode(message.structuredDatasetType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.conjunction != null && message.hasOwnProperty("conjunction")) + $root.flyteidl.core.ConjunctionExpression.encode(message.conjunction, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.comparison != null && message.hasOwnProperty("comparison")) + $root.flyteidl.core.ComparisonExpression.encode(message.comparison, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a StructuredDatasetMetadata message from the specified reader or buffer. + * Decodes a BooleanExpression message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.StructuredDatasetMetadata + * @memberof flyteidl.core.BooleanExpression * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.StructuredDatasetMetadata} StructuredDatasetMetadata + * @returns {flyteidl.core.BooleanExpression} BooleanExpression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - StructuredDatasetMetadata.decode = function decode(reader, length) { + BooleanExpression.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDatasetMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BooleanExpression(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.structuredDatasetType = $root.flyteidl.core.StructuredDatasetType.decode(reader, reader.uint32()); + message.conjunction = $root.flyteidl.core.ConjunctionExpression.decode(reader, reader.uint32()); + break; + case 2: + message.comparison = $root.flyteidl.core.ComparisonExpression.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6419,46 +6501,61 @@ }; /** - * Verifies a StructuredDatasetMetadata message. + * Verifies a BooleanExpression message. * @function verify - * @memberof flyteidl.core.StructuredDatasetMetadata + * @memberof flyteidl.core.BooleanExpression * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - StructuredDatasetMetadata.verify = function verify(message) { + BooleanExpression.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) { - var error = $root.flyteidl.core.StructuredDatasetType.verify(message.structuredDatasetType); - if (error) - return "structuredDatasetType." + error; + var properties = {}; + if (message.conjunction != null && message.hasOwnProperty("conjunction")) { + properties.expr = 1; + { + var error = $root.flyteidl.core.ConjunctionExpression.verify(message.conjunction); + if (error) + return "conjunction." + error; + } + } + if (message.comparison != null && message.hasOwnProperty("comparison")) { + if (properties.expr === 1) + return "expr: multiple values"; + properties.expr = 1; + { + var error = $root.flyteidl.core.ComparisonExpression.verify(message.comparison); + if (error) + return "comparison." + error; + } } return null; }; - return StructuredDatasetMetadata; + return BooleanExpression; })(); - core.StructuredDataset = (function() { + core.ConjunctionExpression = (function() { /** - * Properties of a StructuredDataset. + * Properties of a ConjunctionExpression. * @memberof flyteidl.core - * @interface IStructuredDataset - * @property {string|null} [uri] StructuredDataset uri - * @property {flyteidl.core.IStructuredDatasetMetadata|null} [metadata] StructuredDataset metadata + * @interface IConjunctionExpression + * @property {flyteidl.core.ConjunctionExpression.LogicalOperator|null} [operator] ConjunctionExpression operator + * @property {flyteidl.core.IBooleanExpression|null} [leftExpression] ConjunctionExpression leftExpression + * @property {flyteidl.core.IBooleanExpression|null} [rightExpression] ConjunctionExpression rightExpression */ /** - * Constructs a new StructuredDataset. + * Constructs a new ConjunctionExpression. * @memberof flyteidl.core - * @classdesc Represents a StructuredDataset. - * @implements IStructuredDataset + * @classdesc Represents a ConjunctionExpression. + * @implements IConjunctionExpression * @constructor - * @param {flyteidl.core.IStructuredDataset=} [properties] Properties to set + * @param {flyteidl.core.IConjunctionExpression=} [properties] Properties to set */ - function StructuredDataset(properties) { + function ConjunctionExpression(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6466,75 +6563,88 @@ } /** - * StructuredDataset uri. - * @member {string} uri - * @memberof flyteidl.core.StructuredDataset + * ConjunctionExpression operator. + * @member {flyteidl.core.ConjunctionExpression.LogicalOperator} operator + * @memberof flyteidl.core.ConjunctionExpression * @instance */ - StructuredDataset.prototype.uri = ""; + ConjunctionExpression.prototype.operator = 0; /** - * StructuredDataset metadata. - * @member {flyteidl.core.IStructuredDatasetMetadata|null|undefined} metadata - * @memberof flyteidl.core.StructuredDataset + * ConjunctionExpression leftExpression. + * @member {flyteidl.core.IBooleanExpression|null|undefined} leftExpression + * @memberof flyteidl.core.ConjunctionExpression * @instance */ - StructuredDataset.prototype.metadata = null; + ConjunctionExpression.prototype.leftExpression = null; /** - * Creates a new StructuredDataset instance using the specified properties. + * ConjunctionExpression rightExpression. + * @member {flyteidl.core.IBooleanExpression|null|undefined} rightExpression + * @memberof flyteidl.core.ConjunctionExpression + * @instance + */ + ConjunctionExpression.prototype.rightExpression = null; + + /** + * Creates a new ConjunctionExpression instance using the specified properties. * @function create - * @memberof flyteidl.core.StructuredDataset + * @memberof flyteidl.core.ConjunctionExpression * @static - * @param {flyteidl.core.IStructuredDataset=} [properties] Properties to set - * @returns {flyteidl.core.StructuredDataset} StructuredDataset instance + * @param {flyteidl.core.IConjunctionExpression=} [properties] Properties to set + * @returns {flyteidl.core.ConjunctionExpression} ConjunctionExpression instance */ - StructuredDataset.create = function create(properties) { - return new StructuredDataset(properties); + ConjunctionExpression.create = function create(properties) { + return new ConjunctionExpression(properties); }; /** - * Encodes the specified StructuredDataset message. Does not implicitly {@link flyteidl.core.StructuredDataset.verify|verify} messages. + * Encodes the specified ConjunctionExpression message. Does not implicitly {@link flyteidl.core.ConjunctionExpression.verify|verify} messages. * @function encode - * @memberof flyteidl.core.StructuredDataset + * @memberof flyteidl.core.ConjunctionExpression * @static - * @param {flyteidl.core.IStructuredDataset} message StructuredDataset message or plain object to encode + * @param {flyteidl.core.IConjunctionExpression} message ConjunctionExpression message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - StructuredDataset.encode = function encode(message, writer) { + ConjunctionExpression.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.uri != null && message.hasOwnProperty("uri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); - if (message.metadata != null && message.hasOwnProperty("metadata")) - $root.flyteidl.core.StructuredDatasetMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.operator != null && message.hasOwnProperty("operator")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.operator); + if (message.leftExpression != null && message.hasOwnProperty("leftExpression")) + $root.flyteidl.core.BooleanExpression.encode(message.leftExpression, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.rightExpression != null && message.hasOwnProperty("rightExpression")) + $root.flyteidl.core.BooleanExpression.encode(message.rightExpression, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a StructuredDataset message from the specified reader or buffer. + * Decodes a ConjunctionExpression message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.StructuredDataset + * @memberof flyteidl.core.ConjunctionExpression * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.StructuredDataset} StructuredDataset + * @returns {flyteidl.core.ConjunctionExpression} ConjunctionExpression * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - StructuredDataset.decode = function decode(reader, length) { + ConjunctionExpression.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDataset(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ConjunctionExpression(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.uri = reader.string(); + message.operator = reader.int32(); break; case 2: - message.metadata = $root.flyteidl.core.StructuredDatasetMetadata.decode(reader, reader.uint32()); + message.leftExpression = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); + break; + case 3: + message.rightExpression = $root.flyteidl.core.BooleanExpression.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -6545,56 +6655,77 @@ }; /** - * Verifies a StructuredDataset message. + * Verifies a ConjunctionExpression message. * @function verify - * @memberof flyteidl.core.StructuredDataset + * @memberof flyteidl.core.ConjunctionExpression * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - StructuredDataset.verify = function verify(message) { + ConjunctionExpression.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.uri != null && message.hasOwnProperty("uri")) - if (!$util.isString(message.uri)) - return "uri: string expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.flyteidl.core.StructuredDatasetMetadata.verify(message.metadata); + if (message.operator != null && message.hasOwnProperty("operator")) + switch (message.operator) { + default: + return "operator: enum value expected"; + case 0: + case 1: + break; + } + if (message.leftExpression != null && message.hasOwnProperty("leftExpression")) { + var error = $root.flyteidl.core.BooleanExpression.verify(message.leftExpression); if (error) - return "metadata." + error; + return "leftExpression." + error; + } + if (message.rightExpression != null && message.hasOwnProperty("rightExpression")) { + var error = $root.flyteidl.core.BooleanExpression.verify(message.rightExpression); + if (error) + return "rightExpression." + error; } return null; }; - return StructuredDataset; + /** + * LogicalOperator enum. + * @name flyteidl.core.ConjunctionExpression.LogicalOperator + * @enum {string} + * @property {number} AND=0 AND value + * @property {number} OR=1 OR value + */ + ConjunctionExpression.LogicalOperator = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "AND"] = 0; + values[valuesById[1] = "OR"] = 1; + return values; + })(); + + return ConjunctionExpression; })(); - core.Scalar = (function() { + core.Primitive = (function() { /** - * Properties of a Scalar. + * Properties of a Primitive. * @memberof flyteidl.core - * @interface IScalar - * @property {flyteidl.core.IPrimitive|null} [primitive] Scalar primitive - * @property {flyteidl.core.IBlob|null} [blob] Scalar blob - * @property {flyteidl.core.IBinary|null} [binary] Scalar binary - * @property {flyteidl.core.ISchema|null} [schema] Scalar schema - * @property {flyteidl.core.IVoid|null} [noneType] Scalar noneType - * @property {flyteidl.core.IError|null} [error] Scalar error - * @property {google.protobuf.IStruct|null} [generic] Scalar generic - * @property {flyteidl.core.IStructuredDataset|null} [structuredDataset] Scalar structuredDataset - * @property {flyteidl.core.IUnion|null} [union] Scalar union + * @interface IPrimitive + * @property {Long|null} [integer] Primitive integer + * @property {number|null} [floatValue] Primitive floatValue + * @property {string|null} [stringValue] Primitive stringValue + * @property {boolean|null} [boolean] Primitive boolean + * @property {google.protobuf.ITimestamp|null} [datetime] Primitive datetime + * @property {google.protobuf.IDuration|null} [duration] Primitive duration */ /** - * Constructs a new Scalar. + * Constructs a new Primitive. * @memberof flyteidl.core - * @classdesc Represents a Scalar. - * @implements IScalar + * @classdesc Represents a Primitive. + * @implements IPrimitive * @constructor - * @param {flyteidl.core.IScalar=} [properties] Properties to set + * @param {flyteidl.core.IPrimitive=} [properties] Properties to set */ - function Scalar(properties) { + function Primitive(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6602,183 +6733,144 @@ } /** - * Scalar primitive. - * @member {flyteidl.core.IPrimitive|null|undefined} primitive - * @memberof flyteidl.core.Scalar - * @instance - */ - Scalar.prototype.primitive = null; - - /** - * Scalar blob. - * @member {flyteidl.core.IBlob|null|undefined} blob - * @memberof flyteidl.core.Scalar - * @instance - */ - Scalar.prototype.blob = null; - - /** - * Scalar binary. - * @member {flyteidl.core.IBinary|null|undefined} binary - * @memberof flyteidl.core.Scalar - * @instance - */ - Scalar.prototype.binary = null; - - /** - * Scalar schema. - * @member {flyteidl.core.ISchema|null|undefined} schema - * @memberof flyteidl.core.Scalar + * Primitive integer. + * @member {Long} integer + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.schema = null; + Primitive.prototype.integer = $util.Long ? $util.Long.fromBits(0,0,false) : 0; /** - * Scalar noneType. - * @member {flyteidl.core.IVoid|null|undefined} noneType - * @memberof flyteidl.core.Scalar + * Primitive floatValue. + * @member {number} floatValue + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.noneType = null; + Primitive.prototype.floatValue = 0; /** - * Scalar error. - * @member {flyteidl.core.IError|null|undefined} error - * @memberof flyteidl.core.Scalar + * Primitive stringValue. + * @member {string} stringValue + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.error = null; + Primitive.prototype.stringValue = ""; /** - * Scalar generic. - * @member {google.protobuf.IStruct|null|undefined} generic - * @memberof flyteidl.core.Scalar + * Primitive boolean. + * @member {boolean} boolean + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.generic = null; + Primitive.prototype.boolean = false; /** - * Scalar structuredDataset. - * @member {flyteidl.core.IStructuredDataset|null|undefined} structuredDataset - * @memberof flyteidl.core.Scalar + * Primitive datetime. + * @member {google.protobuf.ITimestamp|null|undefined} datetime + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.structuredDataset = null; + Primitive.prototype.datetime = null; /** - * Scalar union. - * @member {flyteidl.core.IUnion|null|undefined} union - * @memberof flyteidl.core.Scalar + * Primitive duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.core.Primitive * @instance */ - Scalar.prototype.union = null; + Primitive.prototype.duration = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * Scalar value. - * @member {"primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset"|"union"|undefined} value - * @memberof flyteidl.core.Scalar + * Primitive value. + * @member {"integer"|"floatValue"|"stringValue"|"boolean"|"datetime"|"duration"|undefined} value + * @memberof flyteidl.core.Primitive * @instance */ - Object.defineProperty(Scalar.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["primitive", "blob", "binary", "schema", "noneType", "error", "generic", "structuredDataset", "union"]), + Object.defineProperty(Primitive.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["integer", "floatValue", "stringValue", "boolean", "datetime", "duration"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new Scalar instance using the specified properties. + * Creates a new Primitive instance using the specified properties. * @function create - * @memberof flyteidl.core.Scalar + * @memberof flyteidl.core.Primitive * @static - * @param {flyteidl.core.IScalar=} [properties] Properties to set - * @returns {flyteidl.core.Scalar} Scalar instance + * @param {flyteidl.core.IPrimitive=} [properties] Properties to set + * @returns {flyteidl.core.Primitive} Primitive instance */ - Scalar.create = function create(properties) { - return new Scalar(properties); + Primitive.create = function create(properties) { + return new Primitive(properties); }; /** - * Encodes the specified Scalar message. Does not implicitly {@link flyteidl.core.Scalar.verify|verify} messages. + * Encodes the specified Primitive message. Does not implicitly {@link flyteidl.core.Primitive.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Scalar + * @memberof flyteidl.core.Primitive * @static - * @param {flyteidl.core.IScalar} message Scalar message or plain object to encode + * @param {flyteidl.core.IPrimitive} message Primitive message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Scalar.encode = function encode(message, writer) { + Primitive.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.primitive != null && message.hasOwnProperty("primitive")) - $root.flyteidl.core.Primitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.blob != null && message.hasOwnProperty("blob")) - $root.flyteidl.core.Blob.encode(message.blob, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.binary != null && message.hasOwnProperty("binary")) - $root.flyteidl.core.Binary.encode(message.binary, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.schema != null && message.hasOwnProperty("schema")) - $root.flyteidl.core.Schema.encode(message.schema, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.noneType != null && message.hasOwnProperty("noneType")) - $root.flyteidl.core.Void.encode(message.noneType, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.Error.encode(message.error, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.generic != null && message.hasOwnProperty("generic")) - $root.google.protobuf.Struct.encode(message.generic, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.structuredDataset != null && message.hasOwnProperty("structuredDataset")) - $root.flyteidl.core.StructuredDataset.encode(message.structuredDataset, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.union != null && message.hasOwnProperty("union")) - $root.flyteidl.core.Union.encode(message.union, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.integer != null && message.hasOwnProperty("integer")) + writer.uint32(/* id 1, wireType 0 =*/8).int64(message.integer); + if (message.floatValue != null && message.hasOwnProperty("floatValue")) + writer.uint32(/* id 2, wireType 1 =*/17).double(message.floatValue); + if (message.stringValue != null && message.hasOwnProperty("stringValue")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.stringValue); + if (message.boolean != null && message.hasOwnProperty("boolean")) + writer.uint32(/* id 4, wireType 0 =*/32).bool(message.boolean); + if (message.datetime != null && message.hasOwnProperty("datetime")) + $root.google.protobuf.Timestamp.encode(message.datetime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.duration != null && message.hasOwnProperty("duration")) + $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); return writer; }; /** - * Decodes a Scalar message from the specified reader or buffer. + * Decodes a Primitive message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Scalar + * @memberof flyteidl.core.Primitive * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Scalar} Scalar + * @returns {flyteidl.core.Primitive} Primitive * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Scalar.decode = function decode(reader, length) { + Primitive.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Scalar(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Primitive(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.primitive = $root.flyteidl.core.Primitive.decode(reader, reader.uint32()); + message.integer = reader.int64(); break; case 2: - message.blob = $root.flyteidl.core.Blob.decode(reader, reader.uint32()); + message.floatValue = reader.double(); break; case 3: - message.binary = $root.flyteidl.core.Binary.decode(reader, reader.uint32()); + message.stringValue = reader.string(); break; case 4: - message.schema = $root.flyteidl.core.Schema.decode(reader, reader.uint32()); + message.boolean = reader.bool(); break; case 5: - message.noneType = $root.flyteidl.core.Void.decode(reader, reader.uint32()); + message.datetime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; case 6: - message.error = $root.flyteidl.core.Error.decode(reader, reader.uint32()); - break; - case 7: - message.generic = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); break; - case 8: - message.structuredDataset = $root.flyteidl.core.StructuredDataset.decode(reader, reader.uint32()); - break; - case 9: - message.union = $root.flyteidl.core.Union.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); + default: + reader.skipType(tag & 7); break; } } @@ -6786,132 +6878,86 @@ }; /** - * Verifies a Scalar message. + * Verifies a Primitive message. * @function verify - * @memberof flyteidl.core.Scalar + * @memberof flyteidl.core.Primitive * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Scalar.verify = function verify(message) { + Primitive.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.primitive != null && message.hasOwnProperty("primitive")) { - properties.value = 1; - { - var error = $root.flyteidl.core.Primitive.verify(message.primitive); - if (error) - return "primitive." + error; - } - } - if (message.blob != null && message.hasOwnProperty("blob")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.Blob.verify(message.blob); - if (error) - return "blob." + error; - } - } - if (message.binary != null && message.hasOwnProperty("binary")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.Binary.verify(message.binary); - if (error) - return "binary." + error; - } - } - if (message.schema != null && message.hasOwnProperty("schema")) { - if (properties.value === 1) - return "value: multiple values"; + if (message.integer != null && message.hasOwnProperty("integer")) { properties.value = 1; - { - var error = $root.flyteidl.core.Schema.verify(message.schema); - if (error) - return "schema." + error; - } + if (!$util.isInteger(message.integer) && !(message.integer && $util.isInteger(message.integer.low) && $util.isInteger(message.integer.high))) + return "integer: integer|Long expected"; } - if (message.noneType != null && message.hasOwnProperty("noneType")) { + if (message.floatValue != null && message.hasOwnProperty("floatValue")) { if (properties.value === 1) return "value: multiple values"; properties.value = 1; - { - var error = $root.flyteidl.core.Void.verify(message.noneType); - if (error) - return "noneType." + error; - } + if (typeof message.floatValue !== "number") + return "floatValue: number expected"; } - if (message.error != null && message.hasOwnProperty("error")) { + if (message.stringValue != null && message.hasOwnProperty("stringValue")) { if (properties.value === 1) return "value: multiple values"; properties.value = 1; - { - var error = $root.flyteidl.core.Error.verify(message.error); - if (error) - return "error." + error; - } + if (!$util.isString(message.stringValue)) + return "stringValue: string expected"; } - if (message.generic != null && message.hasOwnProperty("generic")) { + if (message.boolean != null && message.hasOwnProperty("boolean")) { if (properties.value === 1) return "value: multiple values"; properties.value = 1; - { - var error = $root.google.protobuf.Struct.verify(message.generic); - if (error) - return "generic." + error; - } + if (typeof message.boolean !== "boolean") + return "boolean: boolean expected"; } - if (message.structuredDataset != null && message.hasOwnProperty("structuredDataset")) { + if (message.datetime != null && message.hasOwnProperty("datetime")) { if (properties.value === 1) return "value: multiple values"; properties.value = 1; { - var error = $root.flyteidl.core.StructuredDataset.verify(message.structuredDataset); + var error = $root.google.protobuf.Timestamp.verify(message.datetime); if (error) - return "structuredDataset." + error; + return "datetime." + error; } } - if (message.union != null && message.hasOwnProperty("union")) { + if (message.duration != null && message.hasOwnProperty("duration")) { if (properties.value === 1) return "value: multiple values"; properties.value = 1; { - var error = $root.flyteidl.core.Union.verify(message.union); + var error = $root.google.protobuf.Duration.verify(message.duration); if (error) - return "union." + error; + return "duration." + error; } } return null; }; - return Scalar; + return Primitive; })(); - core.Literal = (function() { + core.Void = (function() { /** - * Properties of a Literal. + * Properties of a Void. * @memberof flyteidl.core - * @interface ILiteral - * @property {flyteidl.core.IScalar|null} [scalar] Literal scalar - * @property {flyteidl.core.ILiteralCollection|null} [collection] Literal collection - * @property {flyteidl.core.ILiteralMap|null} [map] Literal map - * @property {string|null} [hash] Literal hash + * @interface IVoid */ /** - * Constructs a new Literal. + * Constructs a new Void. * @memberof flyteidl.core - * @classdesc Represents a Literal. - * @implements ILiteral + * @classdesc Represents a Void. + * @implements IVoid * @constructor - * @param {flyteidl.core.ILiteral=} [properties] Properties to set + * @param {flyteidl.core.IVoid=} [properties] Properties to set */ - function Literal(properties) { + function Void(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -6919,116 +6965,50 @@ } /** - * Literal scalar. - * @member {flyteidl.core.IScalar|null|undefined} scalar - * @memberof flyteidl.core.Literal - * @instance - */ - Literal.prototype.scalar = null; - - /** - * Literal collection. - * @member {flyteidl.core.ILiteralCollection|null|undefined} collection - * @memberof flyteidl.core.Literal - * @instance - */ - Literal.prototype.collection = null; - - /** - * Literal map. - * @member {flyteidl.core.ILiteralMap|null|undefined} map - * @memberof flyteidl.core.Literal - * @instance - */ - Literal.prototype.map = null; - - /** - * Literal hash. - * @member {string} hash - * @memberof flyteidl.core.Literal - * @instance - */ - Literal.prototype.hash = ""; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * Literal value. - * @member {"scalar"|"collection"|"map"|undefined} value - * @memberof flyteidl.core.Literal - * @instance - */ - Object.defineProperty(Literal.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["scalar", "collection", "map"]), - set: $util.oneOfSetter($oneOfFields) - }); - - /** - * Creates a new Literal instance using the specified properties. + * Creates a new Void instance using the specified properties. * @function create - * @memberof flyteidl.core.Literal + * @memberof flyteidl.core.Void * @static - * @param {flyteidl.core.ILiteral=} [properties] Properties to set - * @returns {flyteidl.core.Literal} Literal instance + * @param {flyteidl.core.IVoid=} [properties] Properties to set + * @returns {flyteidl.core.Void} Void instance */ - Literal.create = function create(properties) { - return new Literal(properties); + Void.create = function create(properties) { + return new Void(properties); }; /** - * Encodes the specified Literal message. Does not implicitly {@link flyteidl.core.Literal.verify|verify} messages. + * Encodes the specified Void message. Does not implicitly {@link flyteidl.core.Void.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Literal + * @memberof flyteidl.core.Void * @static - * @param {flyteidl.core.ILiteral} message Literal message or plain object to encode + * @param {flyteidl.core.IVoid} message Void message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Literal.encode = function encode(message, writer) { + Void.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.scalar != null && message.hasOwnProperty("scalar")) - $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.collection != null && message.hasOwnProperty("collection")) - $root.flyteidl.core.LiteralCollection.encode(message.collection, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.map != null && message.hasOwnProperty("map")) - $root.flyteidl.core.LiteralMap.encode(message.map, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.hash != null && message.hasOwnProperty("hash")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.hash); return writer; }; /** - * Decodes a Literal message from the specified reader or buffer. + * Decodes a Void message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Literal + * @memberof flyteidl.core.Void * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Literal} Literal + * @returns {flyteidl.core.Void} Void * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Literal.decode = function decode(reader, length) { + Void.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Literal(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Void(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); - break; - case 2: - message.collection = $root.flyteidl.core.LiteralCollection.decode(reader, reader.uint32()); - break; - case 3: - message.map = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 4: - message.hash = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -7038,73 +7018,41 @@ }; /** - * Verifies a Literal message. + * Verifies a Void message. * @function verify - * @memberof flyteidl.core.Literal + * @memberof flyteidl.core.Void * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Literal.verify = function verify(message) { + Void.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.scalar != null && message.hasOwnProperty("scalar")) { - properties.value = 1; - { - var error = $root.flyteidl.core.Scalar.verify(message.scalar); - if (error) - return "scalar." + error; - } - } - if (message.collection != null && message.hasOwnProperty("collection")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.LiteralCollection.verify(message.collection); - if (error) - return "collection." + error; - } - } - if (message.map != null && message.hasOwnProperty("map")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.LiteralMap.verify(message.map); - if (error) - return "map." + error; - } - } - if (message.hash != null && message.hasOwnProperty("hash")) - if (!$util.isString(message.hash)) - return "hash: string expected"; return null; }; - return Literal; + return Void; })(); - core.LiteralCollection = (function() { + core.Blob = (function() { /** - * Properties of a LiteralCollection. + * Properties of a Blob. * @memberof flyteidl.core - * @interface ILiteralCollection - * @property {Array.|null} [literals] LiteralCollection literals + * @interface IBlob + * @property {flyteidl.core.IBlobMetadata|null} [metadata] Blob metadata + * @property {string|null} [uri] Blob uri */ /** - * Constructs a new LiteralCollection. + * Constructs a new Blob. * @memberof flyteidl.core - * @classdesc Represents a LiteralCollection. - * @implements ILiteralCollection + * @classdesc Represents a Blob. + * @implements IBlob * @constructor - * @param {flyteidl.core.ILiteralCollection=} [properties] Properties to set + * @param {flyteidl.core.IBlob=} [properties] Properties to set */ - function LiteralCollection(properties) { - this.literals = []; + function Blob(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7112,65 +7060,75 @@ } /** - * LiteralCollection literals. - * @member {Array.} literals - * @memberof flyteidl.core.LiteralCollection + * Blob metadata. + * @member {flyteidl.core.IBlobMetadata|null|undefined} metadata + * @memberof flyteidl.core.Blob * @instance */ - LiteralCollection.prototype.literals = $util.emptyArray; + Blob.prototype.metadata = null; /** - * Creates a new LiteralCollection instance using the specified properties. + * Blob uri. + * @member {string} uri + * @memberof flyteidl.core.Blob + * @instance + */ + Blob.prototype.uri = ""; + + /** + * Creates a new Blob instance using the specified properties. * @function create - * @memberof flyteidl.core.LiteralCollection + * @memberof flyteidl.core.Blob * @static - * @param {flyteidl.core.ILiteralCollection=} [properties] Properties to set - * @returns {flyteidl.core.LiteralCollection} LiteralCollection instance + * @param {flyteidl.core.IBlob=} [properties] Properties to set + * @returns {flyteidl.core.Blob} Blob instance */ - LiteralCollection.create = function create(properties) { - return new LiteralCollection(properties); + Blob.create = function create(properties) { + return new Blob(properties); }; /** - * Encodes the specified LiteralCollection message. Does not implicitly {@link flyteidl.core.LiteralCollection.verify|verify} messages. + * Encodes the specified Blob message. Does not implicitly {@link flyteidl.core.Blob.verify|verify} messages. * @function encode - * @memberof flyteidl.core.LiteralCollection + * @memberof flyteidl.core.Blob * @static - * @param {flyteidl.core.ILiteralCollection} message LiteralCollection message or plain object to encode + * @param {flyteidl.core.IBlob} message Blob message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LiteralCollection.encode = function encode(message, writer) { + Blob.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.literals != null && message.literals.length) - for (var i = 0; i < message.literals.length; ++i) - $root.flyteidl.core.Literal.encode(message.literals[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.core.BlobMetadata.encode(message.metadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.uri); return writer; }; /** - * Decodes a LiteralCollection message from the specified reader or buffer. + * Decodes a Blob message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.LiteralCollection + * @memberof flyteidl.core.Blob * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.LiteralCollection} LiteralCollection + * @returns {flyteidl.core.Blob} Blob * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LiteralCollection.decode = function decode(reader, length) { + Blob.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.LiteralCollection(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Blob(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.literals && message.literals.length)) - message.literals = []; - message.literals.push($root.flyteidl.core.Literal.decode(reader, reader.uint32())); + message.metadata = $root.flyteidl.core.BlobMetadata.decode(reader, reader.uint32()); + break; + case 3: + message.uri = reader.string(); break; default: reader.skipType(tag & 7); @@ -7181,50 +7139,48 @@ }; /** - * Verifies a LiteralCollection message. + * Verifies a Blob message. * @function verify - * @memberof flyteidl.core.LiteralCollection + * @memberof flyteidl.core.Blob * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LiteralCollection.verify = function verify(message) { + Blob.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.literals != null && message.hasOwnProperty("literals")) { - if (!Array.isArray(message.literals)) - return "literals: array expected"; - for (var i = 0; i < message.literals.length; ++i) { - var error = $root.flyteidl.core.Literal.verify(message.literals[i]); - if (error) - return "literals." + error; - } + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.core.BlobMetadata.verify(message.metadata); + if (error) + return "metadata." + error; } + if (message.uri != null && message.hasOwnProperty("uri")) + if (!$util.isString(message.uri)) + return "uri: string expected"; return null; }; - return LiteralCollection; + return Blob; })(); - core.LiteralMap = (function() { + core.BlobMetadata = (function() { /** - * Properties of a LiteralMap. + * Properties of a BlobMetadata. * @memberof flyteidl.core - * @interface ILiteralMap - * @property {Object.|null} [literals] LiteralMap literals + * @interface IBlobMetadata + * @property {flyteidl.core.IBlobType|null} [type] BlobMetadata type */ /** - * Constructs a new LiteralMap. + * Constructs a new BlobMetadata. * @memberof flyteidl.core - * @classdesc Represents a LiteralMap. - * @implements ILiteralMap + * @classdesc Represents a BlobMetadata. + * @implements IBlobMetadata * @constructor - * @param {flyteidl.core.ILiteralMap=} [properties] Properties to set + * @param {flyteidl.core.IBlobMetadata=} [properties] Properties to set */ - function LiteralMap(properties) { - this.literals = {}; + function BlobMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7232,70 +7188,62 @@ } /** - * LiteralMap literals. - * @member {Object.} literals - * @memberof flyteidl.core.LiteralMap + * BlobMetadata type. + * @member {flyteidl.core.IBlobType|null|undefined} type + * @memberof flyteidl.core.BlobMetadata * @instance */ - LiteralMap.prototype.literals = $util.emptyObject; + BlobMetadata.prototype.type = null; /** - * Creates a new LiteralMap instance using the specified properties. + * Creates a new BlobMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.LiteralMap + * @memberof flyteidl.core.BlobMetadata * @static - * @param {flyteidl.core.ILiteralMap=} [properties] Properties to set - * @returns {flyteidl.core.LiteralMap} LiteralMap instance + * @param {flyteidl.core.IBlobMetadata=} [properties] Properties to set + * @returns {flyteidl.core.BlobMetadata} BlobMetadata instance */ - LiteralMap.create = function create(properties) { - return new LiteralMap(properties); + BlobMetadata.create = function create(properties) { + return new BlobMetadata(properties); }; /** - * Encodes the specified LiteralMap message. Does not implicitly {@link flyteidl.core.LiteralMap.verify|verify} messages. + * Encodes the specified BlobMetadata message. Does not implicitly {@link flyteidl.core.BlobMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.LiteralMap + * @memberof flyteidl.core.BlobMetadata * @static - * @param {flyteidl.core.ILiteralMap} message LiteralMap message or plain object to encode + * @param {flyteidl.core.IBlobMetadata} message BlobMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - LiteralMap.encode = function encode(message, writer) { + BlobMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.literals != null && message.hasOwnProperty("literals")) - for (var keys = Object.keys(message.literals), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.flyteidl.core.Literal.encode(message.literals[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } + if (message.type != null && message.hasOwnProperty("type")) + $root.flyteidl.core.BlobType.encode(message.type, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a LiteralMap message from the specified reader or buffer. + * Decodes a BlobMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.LiteralMap + * @memberof flyteidl.core.BlobMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.LiteralMap} LiteralMap + * @returns {flyteidl.core.BlobMetadata} BlobMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - LiteralMap.decode = function decode(reader, length) { + BlobMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.LiteralMap(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BlobMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - reader.skip().pos++; - if (message.literals === $util.emptyObject) - message.literals = {}; - key = reader.string(); - reader.pos++; - message.literals[key] = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + message.type = $root.flyteidl.core.BlobType.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -7306,51 +7254,46 @@ }; /** - * Verifies a LiteralMap message. + * Verifies a BlobMetadata message. * @function verify - * @memberof flyteidl.core.LiteralMap + * @memberof flyteidl.core.BlobMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - LiteralMap.verify = function verify(message) { + BlobMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.literals != null && message.hasOwnProperty("literals")) { - if (!$util.isObject(message.literals)) - return "literals: object expected"; - var key = Object.keys(message.literals); - for (var i = 0; i < key.length; ++i) { - var error = $root.flyteidl.core.Literal.verify(message.literals[key[i]]); - if (error) - return "literals." + error; - } + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.BlobType.verify(message.type); + if (error) + return "type." + error; } return null; }; - return LiteralMap; + return BlobMetadata; })(); - core.BindingDataCollection = (function() { + core.Binary = (function() { /** - * Properties of a BindingDataCollection. + * Properties of a Binary. * @memberof flyteidl.core - * @interface IBindingDataCollection - * @property {Array.|null} [bindings] BindingDataCollection bindings + * @interface IBinary + * @property {Uint8Array|null} [value] Binary value + * @property {string|null} [tag] Binary tag */ /** - * Constructs a new BindingDataCollection. + * Constructs a new Binary. * @memberof flyteidl.core - * @classdesc Represents a BindingDataCollection. - * @implements IBindingDataCollection + * @classdesc Represents a Binary. + * @implements IBinary * @constructor - * @param {flyteidl.core.IBindingDataCollection=} [properties] Properties to set + * @param {flyteidl.core.IBinary=} [properties] Properties to set */ - function BindingDataCollection(properties) { - this.bindings = []; + function Binary(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7358,65 +7301,75 @@ } /** - * BindingDataCollection bindings. - * @member {Array.} bindings - * @memberof flyteidl.core.BindingDataCollection + * Binary value. + * @member {Uint8Array} value + * @memberof flyteidl.core.Binary * @instance */ - BindingDataCollection.prototype.bindings = $util.emptyArray; + Binary.prototype.value = $util.newBuffer([]); /** - * Creates a new BindingDataCollection instance using the specified properties. + * Binary tag. + * @member {string} tag + * @memberof flyteidl.core.Binary + * @instance + */ + Binary.prototype.tag = ""; + + /** + * Creates a new Binary instance using the specified properties. * @function create - * @memberof flyteidl.core.BindingDataCollection + * @memberof flyteidl.core.Binary * @static - * @param {flyteidl.core.IBindingDataCollection=} [properties] Properties to set - * @returns {flyteidl.core.BindingDataCollection} BindingDataCollection instance + * @param {flyteidl.core.IBinary=} [properties] Properties to set + * @returns {flyteidl.core.Binary} Binary instance */ - BindingDataCollection.create = function create(properties) { - return new BindingDataCollection(properties); + Binary.create = function create(properties) { + return new Binary(properties); }; /** - * Encodes the specified BindingDataCollection message. Does not implicitly {@link flyteidl.core.BindingDataCollection.verify|verify} messages. + * Encodes the specified Binary message. Does not implicitly {@link flyteidl.core.Binary.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BindingDataCollection + * @memberof flyteidl.core.Binary * @static - * @param {flyteidl.core.IBindingDataCollection} message BindingDataCollection message or plain object to encode + * @param {flyteidl.core.IBinary} message Binary message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BindingDataCollection.encode = function encode(message, writer) { + Binary.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.bindings != null && message.bindings.length) - for (var i = 0; i < message.bindings.length; ++i) - $root.flyteidl.core.BindingData.encode(message.bindings[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.value); + if (message.tag != null && message.hasOwnProperty("tag")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.tag); return writer; }; /** - * Decodes a BindingDataCollection message from the specified reader or buffer. + * Decodes a Binary message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BindingDataCollection + * @memberof flyteidl.core.Binary * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BindingDataCollection} BindingDataCollection + * @returns {flyteidl.core.Binary} Binary * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BindingDataCollection.decode = function decode(reader, length) { + Binary.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BindingDataCollection(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Binary(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.bindings && message.bindings.length)) - message.bindings = []; - message.bindings.push($root.flyteidl.core.BindingData.decode(reader, reader.uint32())); + message.value = reader.bytes(); + break; + case 2: + message.tag = reader.string(); break; default: reader.skipType(tag & 7); @@ -7427,50 +7380,47 @@ }; /** - * Verifies a BindingDataCollection message. + * Verifies a Binary message. * @function verify - * @memberof flyteidl.core.BindingDataCollection + * @memberof flyteidl.core.Binary * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BindingDataCollection.verify = function verify(message) { + Binary.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.bindings != null && message.hasOwnProperty("bindings")) { - if (!Array.isArray(message.bindings)) - return "bindings: array expected"; - for (var i = 0; i < message.bindings.length; ++i) { - var error = $root.flyteidl.core.BindingData.verify(message.bindings[i]); - if (error) - return "bindings." + error; - } - } + if (message.value != null && message.hasOwnProperty("value")) + if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value))) + return "value: buffer expected"; + if (message.tag != null && message.hasOwnProperty("tag")) + if (!$util.isString(message.tag)) + return "tag: string expected"; return null; }; - return BindingDataCollection; + return Binary; })(); - core.BindingDataMap = (function() { + core.Schema = (function() { /** - * Properties of a BindingDataMap. + * Properties of a Schema. * @memberof flyteidl.core - * @interface IBindingDataMap - * @property {Object.|null} [bindings] BindingDataMap bindings + * @interface ISchema + * @property {string|null} [uri] Schema uri + * @property {flyteidl.core.ISchemaType|null} [type] Schema type */ /** - * Constructs a new BindingDataMap. + * Constructs a new Schema. * @memberof flyteidl.core - * @classdesc Represents a BindingDataMap. - * @implements IBindingDataMap + * @classdesc Represents a Schema. + * @implements ISchema * @constructor - * @param {flyteidl.core.IBindingDataMap=} [properties] Properties to set + * @param {flyteidl.core.ISchema=} [properties] Properties to set */ - function BindingDataMap(properties) { - this.bindings = {}; + function Schema(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7478,70 +7428,75 @@ } /** - * BindingDataMap bindings. - * @member {Object.} bindings - * @memberof flyteidl.core.BindingDataMap + * Schema uri. + * @member {string} uri + * @memberof flyteidl.core.Schema * @instance */ - BindingDataMap.prototype.bindings = $util.emptyObject; + Schema.prototype.uri = ""; /** - * Creates a new BindingDataMap instance using the specified properties. + * Schema type. + * @member {flyteidl.core.ISchemaType|null|undefined} type + * @memberof flyteidl.core.Schema + * @instance + */ + Schema.prototype.type = null; + + /** + * Creates a new Schema instance using the specified properties. * @function create - * @memberof flyteidl.core.BindingDataMap + * @memberof flyteidl.core.Schema * @static - * @param {flyteidl.core.IBindingDataMap=} [properties] Properties to set - * @returns {flyteidl.core.BindingDataMap} BindingDataMap instance + * @param {flyteidl.core.ISchema=} [properties] Properties to set + * @returns {flyteidl.core.Schema} Schema instance */ - BindingDataMap.create = function create(properties) { - return new BindingDataMap(properties); + Schema.create = function create(properties) { + return new Schema(properties); }; /** - * Encodes the specified BindingDataMap message. Does not implicitly {@link flyteidl.core.BindingDataMap.verify|verify} messages. + * Encodes the specified Schema message. Does not implicitly {@link flyteidl.core.Schema.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BindingDataMap + * @memberof flyteidl.core.Schema * @static - * @param {flyteidl.core.IBindingDataMap} message BindingDataMap message or plain object to encode + * @param {flyteidl.core.ISchema} message Schema message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BindingDataMap.encode = function encode(message, writer) { + Schema.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.bindings != null && message.hasOwnProperty("bindings")) - for (var keys = Object.keys(message.bindings), i = 0; i < keys.length; ++i) { - writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.flyteidl.core.BindingData.encode(message.bindings[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); - } + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); + if (message.type != null && message.hasOwnProperty("type")) + $root.flyteidl.core.SchemaType.encode(message.type, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a BindingDataMap message from the specified reader or buffer. + * Decodes a Schema message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BindingDataMap + * @memberof flyteidl.core.Schema * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BindingDataMap} BindingDataMap + * @returns {flyteidl.core.Schema} Schema * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BindingDataMap.decode = function decode(reader, length) { + Schema.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BindingDataMap(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Schema(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - reader.skip().pos++; - if (message.bindings === $util.emptyObject) - message.bindings = {}; - key = reader.string(); - reader.pos++; - message.bindings[key] = $root.flyteidl.core.BindingData.decode(reader, reader.uint32()); + message.uri = reader.string(); + break; + case 3: + message.type = $root.flyteidl.core.SchemaType.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -7552,50 +7507,49 @@ }; /** - * Verifies a BindingDataMap message. + * Verifies a Schema message. * @function verify - * @memberof flyteidl.core.BindingDataMap + * @memberof flyteidl.core.Schema * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BindingDataMap.verify = function verify(message) { + Schema.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.bindings != null && message.hasOwnProperty("bindings")) { - if (!$util.isObject(message.bindings)) - return "bindings: object expected"; - var key = Object.keys(message.bindings); - for (var i = 0; i < key.length; ++i) { - var error = $root.flyteidl.core.BindingData.verify(message.bindings[key[i]]); - if (error) - return "bindings." + error; - } + if (message.uri != null && message.hasOwnProperty("uri")) + if (!$util.isString(message.uri)) + return "uri: string expected"; + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.SchemaType.verify(message.type); + if (error) + return "type." + error; } return null; }; - return BindingDataMap; + return Schema; })(); - core.UnionInfo = (function() { + core.Union = (function() { /** - * Properties of an UnionInfo. + * Properties of an Union. * @memberof flyteidl.core - * @interface IUnionInfo - * @property {flyteidl.core.ILiteralType|null} [targetType] UnionInfo targetType + * @interface IUnion + * @property {flyteidl.core.ILiteral|null} [value] Union value + * @property {flyteidl.core.ILiteralType|null} [type] Union type */ /** - * Constructs a new UnionInfo. + * Constructs a new Union. * @memberof flyteidl.core - * @classdesc Represents an UnionInfo. - * @implements IUnionInfo + * @classdesc Represents an Union. + * @implements IUnion * @constructor - * @param {flyteidl.core.IUnionInfo=} [properties] Properties to set + * @param {flyteidl.core.IUnion=} [properties] Properties to set */ - function UnionInfo(properties) { + function Union(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7603,62 +7557,75 @@ } /** - * UnionInfo targetType. - * @member {flyteidl.core.ILiteralType|null|undefined} targetType - * @memberof flyteidl.core.UnionInfo + * Union value. + * @member {flyteidl.core.ILiteral|null|undefined} value + * @memberof flyteidl.core.Union * @instance */ - UnionInfo.prototype.targetType = null; + Union.prototype.value = null; /** - * Creates a new UnionInfo instance using the specified properties. + * Union type. + * @member {flyteidl.core.ILiteralType|null|undefined} type + * @memberof flyteidl.core.Union + * @instance + */ + Union.prototype.type = null; + + /** + * Creates a new Union instance using the specified properties. * @function create - * @memberof flyteidl.core.UnionInfo + * @memberof flyteidl.core.Union * @static - * @param {flyteidl.core.IUnionInfo=} [properties] Properties to set - * @returns {flyteidl.core.UnionInfo} UnionInfo instance + * @param {flyteidl.core.IUnion=} [properties] Properties to set + * @returns {flyteidl.core.Union} Union instance */ - UnionInfo.create = function create(properties) { - return new UnionInfo(properties); + Union.create = function create(properties) { + return new Union(properties); }; /** - * Encodes the specified UnionInfo message. Does not implicitly {@link flyteidl.core.UnionInfo.verify|verify} messages. + * Encodes the specified Union message. Does not implicitly {@link flyteidl.core.Union.verify|verify} messages. * @function encode - * @memberof flyteidl.core.UnionInfo + * @memberof flyteidl.core.Union * @static - * @param {flyteidl.core.IUnionInfo} message UnionInfo message or plain object to encode + * @param {flyteidl.core.IUnion} message Union message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UnionInfo.encode = function encode(message, writer) { + Union.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.targetType != null && message.hasOwnProperty("targetType")) - $root.flyteidl.core.LiteralType.encode(message.targetType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.value != null && message.hasOwnProperty("value")) + $root.flyteidl.core.Literal.encode(message.value, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.type != null && message.hasOwnProperty("type")) + $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes an UnionInfo message from the specified reader or buffer. + * Decodes an Union message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.UnionInfo + * @memberof flyteidl.core.Union * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.UnionInfo} UnionInfo + * @returns {flyteidl.core.Union} Union * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UnionInfo.decode = function decode(reader, length) { + Union.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.UnionInfo(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Union(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.targetType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + message.value = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + break; + case 2: + message.type = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -7669,49 +7636,50 @@ }; /** - * Verifies an UnionInfo message. + * Verifies an Union message. * @function verify - * @memberof flyteidl.core.UnionInfo + * @memberof flyteidl.core.Union * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UnionInfo.verify = function verify(message) { + Union.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.targetType != null && message.hasOwnProperty("targetType")) { - var error = $root.flyteidl.core.LiteralType.verify(message.targetType); + if (message.value != null && message.hasOwnProperty("value")) { + var error = $root.flyteidl.core.Literal.verify(message.value); if (error) - return "targetType." + error; + return "value." + error; + } + if (message.type != null && message.hasOwnProperty("type")) { + var error = $root.flyteidl.core.LiteralType.verify(message.type); + if (error) + return "type." + error; } return null; }; - return UnionInfo; + return Union; })(); - core.BindingData = (function() { + core.StructuredDatasetMetadata = (function() { /** - * Properties of a BindingData. + * Properties of a StructuredDatasetMetadata. * @memberof flyteidl.core - * @interface IBindingData - * @property {flyteidl.core.IScalar|null} [scalar] BindingData scalar - * @property {flyteidl.core.IBindingDataCollection|null} [collection] BindingData collection - * @property {flyteidl.core.IOutputReference|null} [promise] BindingData promise - * @property {flyteidl.core.IBindingDataMap|null} [map] BindingData map - * @property {flyteidl.core.IUnionInfo|null} [union] BindingData union + * @interface IStructuredDatasetMetadata + * @property {flyteidl.core.IStructuredDatasetType|null} [structuredDatasetType] StructuredDatasetMetadata structuredDatasetType */ /** - * Constructs a new BindingData. + * Constructs a new StructuredDatasetMetadata. * @memberof flyteidl.core - * @classdesc Represents a BindingData. - * @implements IBindingData + * @classdesc Represents a StructuredDatasetMetadata. + * @implements IStructuredDatasetMetadata * @constructor - * @param {flyteidl.core.IBindingData=} [properties] Properties to set + * @param {flyteidl.core.IStructuredDatasetMetadata=} [properties] Properties to set */ - function BindingData(properties) { + function StructuredDatasetMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7719,128 +7687,62 @@ } /** - * BindingData scalar. - * @member {flyteidl.core.IScalar|null|undefined} scalar - * @memberof flyteidl.core.BindingData - * @instance - */ - BindingData.prototype.scalar = null; - - /** - * BindingData collection. - * @member {flyteidl.core.IBindingDataCollection|null|undefined} collection - * @memberof flyteidl.core.BindingData - * @instance - */ - BindingData.prototype.collection = null; - - /** - * BindingData promise. - * @member {flyteidl.core.IOutputReference|null|undefined} promise - * @memberof flyteidl.core.BindingData - * @instance - */ - BindingData.prototype.promise = null; - - /** - * BindingData map. - * @member {flyteidl.core.IBindingDataMap|null|undefined} map - * @memberof flyteidl.core.BindingData - * @instance - */ - BindingData.prototype.map = null; - - /** - * BindingData union. - * @member {flyteidl.core.IUnionInfo|null|undefined} union - * @memberof flyteidl.core.BindingData - * @instance - */ - BindingData.prototype.union = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * BindingData value. - * @member {"scalar"|"collection"|"promise"|"map"|undefined} value - * @memberof flyteidl.core.BindingData + * StructuredDatasetMetadata structuredDatasetType. + * @member {flyteidl.core.IStructuredDatasetType|null|undefined} structuredDatasetType + * @memberof flyteidl.core.StructuredDatasetMetadata * @instance */ - Object.defineProperty(BindingData.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["scalar", "collection", "promise", "map"]), - set: $util.oneOfSetter($oneOfFields) - }); + StructuredDatasetMetadata.prototype.structuredDatasetType = null; /** - * Creates a new BindingData instance using the specified properties. + * Creates a new StructuredDatasetMetadata instance using the specified properties. * @function create - * @memberof flyteidl.core.BindingData + * @memberof flyteidl.core.StructuredDatasetMetadata * @static - * @param {flyteidl.core.IBindingData=} [properties] Properties to set - * @returns {flyteidl.core.BindingData} BindingData instance + * @param {flyteidl.core.IStructuredDatasetMetadata=} [properties] Properties to set + * @returns {flyteidl.core.StructuredDatasetMetadata} StructuredDatasetMetadata instance */ - BindingData.create = function create(properties) { - return new BindingData(properties); + StructuredDatasetMetadata.create = function create(properties) { + return new StructuredDatasetMetadata(properties); }; /** - * Encodes the specified BindingData message. Does not implicitly {@link flyteidl.core.BindingData.verify|verify} messages. + * Encodes the specified StructuredDatasetMetadata message. Does not implicitly {@link flyteidl.core.StructuredDatasetMetadata.verify|verify} messages. * @function encode - * @memberof flyteidl.core.BindingData + * @memberof flyteidl.core.StructuredDatasetMetadata * @static - * @param {flyteidl.core.IBindingData} message BindingData message or plain object to encode + * @param {flyteidl.core.IStructuredDatasetMetadata} message StructuredDatasetMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BindingData.encode = function encode(message, writer) { + StructuredDatasetMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.scalar != null && message.hasOwnProperty("scalar")) - $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.collection != null && message.hasOwnProperty("collection")) - $root.flyteidl.core.BindingDataCollection.encode(message.collection, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.promise != null && message.hasOwnProperty("promise")) - $root.flyteidl.core.OutputReference.encode(message.promise, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.map != null && message.hasOwnProperty("map")) - $root.flyteidl.core.BindingDataMap.encode(message.map, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.union != null && message.hasOwnProperty("union")) - $root.flyteidl.core.UnionInfo.encode(message.union, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) + $root.flyteidl.core.StructuredDatasetType.encode(message.structuredDatasetType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a BindingData message from the specified reader or buffer. + * Decodes a StructuredDatasetMetadata message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.BindingData + * @memberof flyteidl.core.StructuredDatasetMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.BindingData} BindingData + * @returns {flyteidl.core.StructuredDatasetMetadata} StructuredDatasetMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BindingData.decode = function decode(reader, length) { + StructuredDatasetMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BindingData(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDatasetMetadata(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); - break; - case 2: - message.collection = $root.flyteidl.core.BindingDataCollection.decode(reader, reader.uint32()); - break; - case 3: - message.promise = $root.flyteidl.core.OutputReference.decode(reader, reader.uint32()); - break; - case 4: - message.map = $root.flyteidl.core.BindingDataMap.decode(reader, reader.uint32()); - break; - case 5: - message.union = $root.flyteidl.core.UnionInfo.decode(reader, reader.uint32()); + message.structuredDatasetType = $root.flyteidl.core.StructuredDatasetType.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -7851,85 +7753,46 @@ }; /** - * Verifies a BindingData message. + * Verifies a StructuredDatasetMetadata message. * @function verify - * @memberof flyteidl.core.BindingData + * @memberof flyteidl.core.StructuredDatasetMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BindingData.verify = function verify(message) { + StructuredDatasetMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.scalar != null && message.hasOwnProperty("scalar")) { - properties.value = 1; - { - var error = $root.flyteidl.core.Scalar.verify(message.scalar); - if (error) - return "scalar." + error; - } - } - if (message.collection != null && message.hasOwnProperty("collection")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.BindingDataCollection.verify(message.collection); - if (error) - return "collection." + error; - } - } - if (message.promise != null && message.hasOwnProperty("promise")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.OutputReference.verify(message.promise); - if (error) - return "promise." + error; - } - } - if (message.map != null && message.hasOwnProperty("map")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.flyteidl.core.BindingDataMap.verify(message.map); - if (error) - return "map." + error; - } - } - if (message.union != null && message.hasOwnProperty("union")) { - var error = $root.flyteidl.core.UnionInfo.verify(message.union); + if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) { + var error = $root.flyteidl.core.StructuredDatasetType.verify(message.structuredDatasetType); if (error) - return "union." + error; + return "structuredDatasetType." + error; } return null; }; - return BindingData; + return StructuredDatasetMetadata; })(); - core.Binding = (function() { + core.StructuredDataset = (function() { /** - * Properties of a Binding. + * Properties of a StructuredDataset. * @memberof flyteidl.core - * @interface IBinding - * @property {string|null} ["var"] Binding var - * @property {flyteidl.core.IBindingData|null} [binding] Binding binding + * @interface IStructuredDataset + * @property {string|null} [uri] StructuredDataset uri + * @property {flyteidl.core.IStructuredDatasetMetadata|null} [metadata] StructuredDataset metadata */ /** - * Constructs a new Binding. + * Constructs a new StructuredDataset. * @memberof flyteidl.core - * @classdesc Represents a Binding. - * @implements IBinding + * @classdesc Represents a StructuredDataset. + * @implements IStructuredDataset * @constructor - * @param {flyteidl.core.IBinding=} [properties] Properties to set + * @param {flyteidl.core.IStructuredDataset=} [properties] Properties to set */ - function Binding(properties) { + function StructuredDataset(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -7937,75 +7800,75 @@ } /** - * Binding var. - * @member {string} var - * @memberof flyteidl.core.Binding + * StructuredDataset uri. + * @member {string} uri + * @memberof flyteidl.core.StructuredDataset * @instance */ - Binding.prototype["var"] = ""; + StructuredDataset.prototype.uri = ""; /** - * Binding binding. - * @member {flyteidl.core.IBindingData|null|undefined} binding - * @memberof flyteidl.core.Binding + * StructuredDataset metadata. + * @member {flyteidl.core.IStructuredDatasetMetadata|null|undefined} metadata + * @memberof flyteidl.core.StructuredDataset * @instance */ - Binding.prototype.binding = null; + StructuredDataset.prototype.metadata = null; /** - * Creates a new Binding instance using the specified properties. + * Creates a new StructuredDataset instance using the specified properties. * @function create - * @memberof flyteidl.core.Binding + * @memberof flyteidl.core.StructuredDataset * @static - * @param {flyteidl.core.IBinding=} [properties] Properties to set - * @returns {flyteidl.core.Binding} Binding instance + * @param {flyteidl.core.IStructuredDataset=} [properties] Properties to set + * @returns {flyteidl.core.StructuredDataset} StructuredDataset instance */ - Binding.create = function create(properties) { - return new Binding(properties); + StructuredDataset.create = function create(properties) { + return new StructuredDataset(properties); }; /** - * Encodes the specified Binding message. Does not implicitly {@link flyteidl.core.Binding.verify|verify} messages. + * Encodes the specified StructuredDataset message. Does not implicitly {@link flyteidl.core.StructuredDataset.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Binding + * @memberof flyteidl.core.StructuredDataset * @static - * @param {flyteidl.core.IBinding} message Binding message or plain object to encode + * @param {flyteidl.core.IStructuredDataset} message StructuredDataset message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Binding.encode = function encode(message, writer) { + StructuredDataset.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message["var"] != null && message.hasOwnProperty("var")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message["var"]); - if (message.binding != null && message.hasOwnProperty("binding")) - $root.flyteidl.core.BindingData.encode(message.binding, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.uri != null && message.hasOwnProperty("uri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); + if (message.metadata != null && message.hasOwnProperty("metadata")) + $root.flyteidl.core.StructuredDatasetMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a Binding message from the specified reader or buffer. + * Decodes a StructuredDataset message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Binding + * @memberof flyteidl.core.StructuredDataset * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Binding} Binding + * @returns {flyteidl.core.StructuredDataset} StructuredDataset * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Binding.decode = function decode(reader, length) { + StructuredDataset.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Binding(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDataset(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message["var"] = reader.string(); + message.uri = reader.string(); break; case 2: - message.binding = $root.flyteidl.core.BindingData.decode(reader, reader.uint32()); + message.metadata = $root.flyteidl.core.StructuredDatasetMetadata.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -8016,22 +7879,1522 @@ }; /** - * Verifies a Binding message. + * Verifies a StructuredDataset message. * @function verify - * @memberof flyteidl.core.Binding + * @memberof flyteidl.core.StructuredDataset * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Binding.verify = function verify(message) { + StructuredDataset.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message["var"] != null && message.hasOwnProperty("var")) - if (!$util.isString(message["var"])) - return "var: string expected"; - if (message.binding != null && message.hasOwnProperty("binding")) { - var error = $root.flyteidl.core.BindingData.verify(message.binding); - if (error) + if (message.uri != null && message.hasOwnProperty("uri")) + if (!$util.isString(message.uri)) + return "uri: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.flyteidl.core.StructuredDatasetMetadata.verify(message.metadata); + if (error) + return "metadata." + error; + } + return null; + }; + + return StructuredDataset; + })(); + + core.Scalar = (function() { + + /** + * Properties of a Scalar. + * @memberof flyteidl.core + * @interface IScalar + * @property {flyteidl.core.IPrimitive|null} [primitive] Scalar primitive + * @property {flyteidl.core.IBlob|null} [blob] Scalar blob + * @property {flyteidl.core.IBinary|null} [binary] Scalar binary + * @property {flyteidl.core.ISchema|null} [schema] Scalar schema + * @property {flyteidl.core.IVoid|null} [noneType] Scalar noneType + * @property {flyteidl.core.IError|null} [error] Scalar error + * @property {google.protobuf.IStruct|null} [generic] Scalar generic + * @property {flyteidl.core.IStructuredDataset|null} [structuredDataset] Scalar structuredDataset + * @property {flyteidl.core.IUnion|null} [union] Scalar union + */ + + /** + * Constructs a new Scalar. + * @memberof flyteidl.core + * @classdesc Represents a Scalar. + * @implements IScalar + * @constructor + * @param {flyteidl.core.IScalar=} [properties] Properties to set + */ + function Scalar(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Scalar primitive. + * @member {flyteidl.core.IPrimitive|null|undefined} primitive + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.primitive = null; + + /** + * Scalar blob. + * @member {flyteidl.core.IBlob|null|undefined} blob + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.blob = null; + + /** + * Scalar binary. + * @member {flyteidl.core.IBinary|null|undefined} binary + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.binary = null; + + /** + * Scalar schema. + * @member {flyteidl.core.ISchema|null|undefined} schema + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.schema = null; + + /** + * Scalar noneType. + * @member {flyteidl.core.IVoid|null|undefined} noneType + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.noneType = null; + + /** + * Scalar error. + * @member {flyteidl.core.IError|null|undefined} error + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.error = null; + + /** + * Scalar generic. + * @member {google.protobuf.IStruct|null|undefined} generic + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.generic = null; + + /** + * Scalar structuredDataset. + * @member {flyteidl.core.IStructuredDataset|null|undefined} structuredDataset + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.structuredDataset = null; + + /** + * Scalar union. + * @member {flyteidl.core.IUnion|null|undefined} union + * @memberof flyteidl.core.Scalar + * @instance + */ + Scalar.prototype.union = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Scalar value. + * @member {"primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset"|"union"|undefined} value + * @memberof flyteidl.core.Scalar + * @instance + */ + Object.defineProperty(Scalar.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["primitive", "blob", "binary", "schema", "noneType", "error", "generic", "structuredDataset", "union"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Scalar instance using the specified properties. + * @function create + * @memberof flyteidl.core.Scalar + * @static + * @param {flyteidl.core.IScalar=} [properties] Properties to set + * @returns {flyteidl.core.Scalar} Scalar instance + */ + Scalar.create = function create(properties) { + return new Scalar(properties); + }; + + /** + * Encodes the specified Scalar message. Does not implicitly {@link flyteidl.core.Scalar.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.Scalar + * @static + * @param {flyteidl.core.IScalar} message Scalar message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Scalar.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.primitive != null && message.hasOwnProperty("primitive")) + $root.flyteidl.core.Primitive.encode(message.primitive, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.blob != null && message.hasOwnProperty("blob")) + $root.flyteidl.core.Blob.encode(message.blob, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.binary != null && message.hasOwnProperty("binary")) + $root.flyteidl.core.Binary.encode(message.binary, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.schema != null && message.hasOwnProperty("schema")) + $root.flyteidl.core.Schema.encode(message.schema, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.noneType != null && message.hasOwnProperty("noneType")) + $root.flyteidl.core.Void.encode(message.noneType, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.Error.encode(message.error, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.generic != null && message.hasOwnProperty("generic")) + $root.google.protobuf.Struct.encode(message.generic, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.structuredDataset != null && message.hasOwnProperty("structuredDataset")) + $root.flyteidl.core.StructuredDataset.encode(message.structuredDataset, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.union != null && message.hasOwnProperty("union")) + $root.flyteidl.core.Union.encode(message.union, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a Scalar message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.Scalar + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.Scalar} Scalar + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Scalar.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Scalar(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.primitive = $root.flyteidl.core.Primitive.decode(reader, reader.uint32()); + break; + case 2: + message.blob = $root.flyteidl.core.Blob.decode(reader, reader.uint32()); + break; + case 3: + message.binary = $root.flyteidl.core.Binary.decode(reader, reader.uint32()); + break; + case 4: + message.schema = $root.flyteidl.core.Schema.decode(reader, reader.uint32()); + break; + case 5: + message.noneType = $root.flyteidl.core.Void.decode(reader, reader.uint32()); + break; + case 6: + message.error = $root.flyteidl.core.Error.decode(reader, reader.uint32()); + break; + case 7: + message.generic = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + case 8: + message.structuredDataset = $root.flyteidl.core.StructuredDataset.decode(reader, reader.uint32()); + break; + case 9: + message.union = $root.flyteidl.core.Union.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a Scalar message. + * @function verify + * @memberof flyteidl.core.Scalar + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Scalar.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.primitive != null && message.hasOwnProperty("primitive")) { + properties.value = 1; + { + var error = $root.flyteidl.core.Primitive.verify(message.primitive); + if (error) + return "primitive." + error; + } + } + if (message.blob != null && message.hasOwnProperty("blob")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Blob.verify(message.blob); + if (error) + return "blob." + error; + } + } + if (message.binary != null && message.hasOwnProperty("binary")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Binary.verify(message.binary); + if (error) + return "binary." + error; + } + } + if (message.schema != null && message.hasOwnProperty("schema")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Schema.verify(message.schema); + if (error) + return "schema." + error; + } + } + if (message.noneType != null && message.hasOwnProperty("noneType")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Void.verify(message.noneType); + if (error) + return "noneType." + error; + } + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Error.verify(message.error); + if (error) + return "error." + error; + } + } + if (message.generic != null && message.hasOwnProperty("generic")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.google.protobuf.Struct.verify(message.generic); + if (error) + return "generic." + error; + } + } + if (message.structuredDataset != null && message.hasOwnProperty("structuredDataset")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.StructuredDataset.verify(message.structuredDataset); + if (error) + return "structuredDataset." + error; + } + } + if (message.union != null && message.hasOwnProperty("union")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.Union.verify(message.union); + if (error) + return "union." + error; + } + } + return null; + }; + + return Scalar; + })(); + + core.Literal = (function() { + + /** + * Properties of a Literal. + * @memberof flyteidl.core + * @interface ILiteral + * @property {flyteidl.core.IScalar|null} [scalar] Literal scalar + * @property {flyteidl.core.ILiteralCollection|null} [collection] Literal collection + * @property {flyteidl.core.ILiteralMap|null} [map] Literal map + * @property {string|null} [hash] Literal hash + * @property {Object.|null} [metadata] Literal metadata + */ + + /** + * Constructs a new Literal. + * @memberof flyteidl.core + * @classdesc Represents a Literal. + * @implements ILiteral + * @constructor + * @param {flyteidl.core.ILiteral=} [properties] Properties to set + */ + function Literal(properties) { + this.metadata = {}; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Literal scalar. + * @member {flyteidl.core.IScalar|null|undefined} scalar + * @memberof flyteidl.core.Literal + * @instance + */ + Literal.prototype.scalar = null; + + /** + * Literal collection. + * @member {flyteidl.core.ILiteralCollection|null|undefined} collection + * @memberof flyteidl.core.Literal + * @instance + */ + Literal.prototype.collection = null; + + /** + * Literal map. + * @member {flyteidl.core.ILiteralMap|null|undefined} map + * @memberof flyteidl.core.Literal + * @instance + */ + Literal.prototype.map = null; + + /** + * Literal hash. + * @member {string} hash + * @memberof flyteidl.core.Literal + * @instance + */ + Literal.prototype.hash = ""; + + /** + * Literal metadata. + * @member {Object.} metadata + * @memberof flyteidl.core.Literal + * @instance + */ + Literal.prototype.metadata = $util.emptyObject; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Literal value. + * @member {"scalar"|"collection"|"map"|undefined} value + * @memberof flyteidl.core.Literal + * @instance + */ + Object.defineProperty(Literal.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["scalar", "collection", "map"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Literal instance using the specified properties. + * @function create + * @memberof flyteidl.core.Literal + * @static + * @param {flyteidl.core.ILiteral=} [properties] Properties to set + * @returns {flyteidl.core.Literal} Literal instance + */ + Literal.create = function create(properties) { + return new Literal(properties); + }; + + /** + * Encodes the specified Literal message. Does not implicitly {@link flyteidl.core.Literal.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.Literal + * @static + * @param {flyteidl.core.ILiteral} message Literal message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Literal.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.scalar != null && message.hasOwnProperty("scalar")) + $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.collection != null && message.hasOwnProperty("collection")) + $root.flyteidl.core.LiteralCollection.encode(message.collection, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.map != null && message.hasOwnProperty("map")) + $root.flyteidl.core.LiteralMap.encode(message.map, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.hash != null && message.hasOwnProperty("hash")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.hash); + if (message.metadata != null && message.hasOwnProperty("metadata")) + for (var keys = Object.keys(message.metadata), i = 0; i < keys.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.metadata[keys[i]]).ldelim(); + return writer; + }; + + /** + * Decodes a Literal message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.Literal + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.Literal} Literal + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Literal.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Literal(), key; + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); + break; + case 2: + message.collection = $root.flyteidl.core.LiteralCollection.decode(reader, reader.uint32()); + break; + case 3: + message.map = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 4: + message.hash = reader.string(); + break; + case 5: + reader.skip().pos++; + if (message.metadata === $util.emptyObject) + message.metadata = {}; + key = reader.string(); + reader.pos++; + message.metadata[key] = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a Literal message. + * @function verify + * @memberof flyteidl.core.Literal + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Literal.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.scalar != null && message.hasOwnProperty("scalar")) { + properties.value = 1; + { + var error = $root.flyteidl.core.Scalar.verify(message.scalar); + if (error) + return "scalar." + error; + } + } + if (message.collection != null && message.hasOwnProperty("collection")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.LiteralCollection.verify(message.collection); + if (error) + return "collection." + error; + } + } + if (message.map != null && message.hasOwnProperty("map")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.LiteralMap.verify(message.map); + if (error) + return "map." + error; + } + } + if (message.hash != null && message.hasOwnProperty("hash")) + if (!$util.isString(message.hash)) + return "hash: string expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + if (!$util.isObject(message.metadata)) + return "metadata: object expected"; + var key = Object.keys(message.metadata); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.metadata[key[i]])) + return "metadata: string{k:string} expected"; + } + return null; + }; + + return Literal; + })(); + + core.LiteralCollection = (function() { + + /** + * Properties of a LiteralCollection. + * @memberof flyteidl.core + * @interface ILiteralCollection + * @property {Array.|null} [literals] LiteralCollection literals + */ + + /** + * Constructs a new LiteralCollection. + * @memberof flyteidl.core + * @classdesc Represents a LiteralCollection. + * @implements ILiteralCollection + * @constructor + * @param {flyteidl.core.ILiteralCollection=} [properties] Properties to set + */ + function LiteralCollection(properties) { + this.literals = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * LiteralCollection literals. + * @member {Array.} literals + * @memberof flyteidl.core.LiteralCollection + * @instance + */ + LiteralCollection.prototype.literals = $util.emptyArray; + + /** + * Creates a new LiteralCollection instance using the specified properties. + * @function create + * @memberof flyteidl.core.LiteralCollection + * @static + * @param {flyteidl.core.ILiteralCollection=} [properties] Properties to set + * @returns {flyteidl.core.LiteralCollection} LiteralCollection instance + */ + LiteralCollection.create = function create(properties) { + return new LiteralCollection(properties); + }; + + /** + * Encodes the specified LiteralCollection message. Does not implicitly {@link flyteidl.core.LiteralCollection.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.LiteralCollection + * @static + * @param {flyteidl.core.ILiteralCollection} message LiteralCollection message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + LiteralCollection.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.literals != null && message.literals.length) + for (var i = 0; i < message.literals.length; ++i) + $root.flyteidl.core.Literal.encode(message.literals[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a LiteralCollection message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.LiteralCollection + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.LiteralCollection} LiteralCollection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + LiteralCollection.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.LiteralCollection(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.literals && message.literals.length)) + message.literals = []; + message.literals.push($root.flyteidl.core.Literal.decode(reader, reader.uint32())); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a LiteralCollection message. + * @function verify + * @memberof flyteidl.core.LiteralCollection + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + LiteralCollection.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.literals != null && message.hasOwnProperty("literals")) { + if (!Array.isArray(message.literals)) + return "literals: array expected"; + for (var i = 0; i < message.literals.length; ++i) { + var error = $root.flyteidl.core.Literal.verify(message.literals[i]); + if (error) + return "literals." + error; + } + } + return null; + }; + + return LiteralCollection; + })(); + + core.LiteralMap = (function() { + + /** + * Properties of a LiteralMap. + * @memberof flyteidl.core + * @interface ILiteralMap + * @property {Object.|null} [literals] LiteralMap literals + */ + + /** + * Constructs a new LiteralMap. + * @memberof flyteidl.core + * @classdesc Represents a LiteralMap. + * @implements ILiteralMap + * @constructor + * @param {flyteidl.core.ILiteralMap=} [properties] Properties to set + */ + function LiteralMap(properties) { + this.literals = {}; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * LiteralMap literals. + * @member {Object.} literals + * @memberof flyteidl.core.LiteralMap + * @instance + */ + LiteralMap.prototype.literals = $util.emptyObject; + + /** + * Creates a new LiteralMap instance using the specified properties. + * @function create + * @memberof flyteidl.core.LiteralMap + * @static + * @param {flyteidl.core.ILiteralMap=} [properties] Properties to set + * @returns {flyteidl.core.LiteralMap} LiteralMap instance + */ + LiteralMap.create = function create(properties) { + return new LiteralMap(properties); + }; + + /** + * Encodes the specified LiteralMap message. Does not implicitly {@link flyteidl.core.LiteralMap.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.LiteralMap + * @static + * @param {flyteidl.core.ILiteralMap} message LiteralMap message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + LiteralMap.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.literals != null && message.hasOwnProperty("literals")) + for (var keys = Object.keys(message.literals), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.Literal.encode(message.literals[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + return writer; + }; + + /** + * Decodes a LiteralMap message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.LiteralMap + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.LiteralMap} LiteralMap + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + LiteralMap.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.LiteralMap(), key; + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + reader.skip().pos++; + if (message.literals === $util.emptyObject) + message.literals = {}; + key = reader.string(); + reader.pos++; + message.literals[key] = $root.flyteidl.core.Literal.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a LiteralMap message. + * @function verify + * @memberof flyteidl.core.LiteralMap + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + LiteralMap.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.literals != null && message.hasOwnProperty("literals")) { + if (!$util.isObject(message.literals)) + return "literals: object expected"; + var key = Object.keys(message.literals); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.Literal.verify(message.literals[key[i]]); + if (error) + return "literals." + error; + } + } + return null; + }; + + return LiteralMap; + })(); + + core.BindingDataCollection = (function() { + + /** + * Properties of a BindingDataCollection. + * @memberof flyteidl.core + * @interface IBindingDataCollection + * @property {Array.|null} [bindings] BindingDataCollection bindings + */ + + /** + * Constructs a new BindingDataCollection. + * @memberof flyteidl.core + * @classdesc Represents a BindingDataCollection. + * @implements IBindingDataCollection + * @constructor + * @param {flyteidl.core.IBindingDataCollection=} [properties] Properties to set + */ + function BindingDataCollection(properties) { + this.bindings = []; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * BindingDataCollection bindings. + * @member {Array.} bindings + * @memberof flyteidl.core.BindingDataCollection + * @instance + */ + BindingDataCollection.prototype.bindings = $util.emptyArray; + + /** + * Creates a new BindingDataCollection instance using the specified properties. + * @function create + * @memberof flyteidl.core.BindingDataCollection + * @static + * @param {flyteidl.core.IBindingDataCollection=} [properties] Properties to set + * @returns {flyteidl.core.BindingDataCollection} BindingDataCollection instance + */ + BindingDataCollection.create = function create(properties) { + return new BindingDataCollection(properties); + }; + + /** + * Encodes the specified BindingDataCollection message. Does not implicitly {@link flyteidl.core.BindingDataCollection.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.BindingDataCollection + * @static + * @param {flyteidl.core.IBindingDataCollection} message BindingDataCollection message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BindingDataCollection.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.bindings != null && message.bindings.length) + for (var i = 0; i < message.bindings.length; ++i) + $root.flyteidl.core.BindingData.encode(message.bindings[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a BindingDataCollection message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.BindingDataCollection + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.BindingDataCollection} BindingDataCollection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BindingDataCollection.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BindingDataCollection(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.bindings && message.bindings.length)) + message.bindings = []; + message.bindings.push($root.flyteidl.core.BindingData.decode(reader, reader.uint32())); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a BindingDataCollection message. + * @function verify + * @memberof flyteidl.core.BindingDataCollection + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + BindingDataCollection.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.bindings != null && message.hasOwnProperty("bindings")) { + if (!Array.isArray(message.bindings)) + return "bindings: array expected"; + for (var i = 0; i < message.bindings.length; ++i) { + var error = $root.flyteidl.core.BindingData.verify(message.bindings[i]); + if (error) + return "bindings." + error; + } + } + return null; + }; + + return BindingDataCollection; + })(); + + core.BindingDataMap = (function() { + + /** + * Properties of a BindingDataMap. + * @memberof flyteidl.core + * @interface IBindingDataMap + * @property {Object.|null} [bindings] BindingDataMap bindings + */ + + /** + * Constructs a new BindingDataMap. + * @memberof flyteidl.core + * @classdesc Represents a BindingDataMap. + * @implements IBindingDataMap + * @constructor + * @param {flyteidl.core.IBindingDataMap=} [properties] Properties to set + */ + function BindingDataMap(properties) { + this.bindings = {}; + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * BindingDataMap bindings. + * @member {Object.} bindings + * @memberof flyteidl.core.BindingDataMap + * @instance + */ + BindingDataMap.prototype.bindings = $util.emptyObject; + + /** + * Creates a new BindingDataMap instance using the specified properties. + * @function create + * @memberof flyteidl.core.BindingDataMap + * @static + * @param {flyteidl.core.IBindingDataMap=} [properties] Properties to set + * @returns {flyteidl.core.BindingDataMap} BindingDataMap instance + */ + BindingDataMap.create = function create(properties) { + return new BindingDataMap(properties); + }; + + /** + * Encodes the specified BindingDataMap message. Does not implicitly {@link flyteidl.core.BindingDataMap.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.BindingDataMap + * @static + * @param {flyteidl.core.IBindingDataMap} message BindingDataMap message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BindingDataMap.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.bindings != null && message.hasOwnProperty("bindings")) + for (var keys = Object.keys(message.bindings), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.core.BindingData.encode(message.bindings[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + return writer; + }; + + /** + * Decodes a BindingDataMap message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.BindingDataMap + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.BindingDataMap} BindingDataMap + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BindingDataMap.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BindingDataMap(), key; + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + reader.skip().pos++; + if (message.bindings === $util.emptyObject) + message.bindings = {}; + key = reader.string(); + reader.pos++; + message.bindings[key] = $root.flyteidl.core.BindingData.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a BindingDataMap message. + * @function verify + * @memberof flyteidl.core.BindingDataMap + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + BindingDataMap.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.bindings != null && message.hasOwnProperty("bindings")) { + if (!$util.isObject(message.bindings)) + return "bindings: object expected"; + var key = Object.keys(message.bindings); + for (var i = 0; i < key.length; ++i) { + var error = $root.flyteidl.core.BindingData.verify(message.bindings[key[i]]); + if (error) + return "bindings." + error; + } + } + return null; + }; + + return BindingDataMap; + })(); + + core.UnionInfo = (function() { + + /** + * Properties of an UnionInfo. + * @memberof flyteidl.core + * @interface IUnionInfo + * @property {flyteidl.core.ILiteralType|null} [targetType] UnionInfo targetType + */ + + /** + * Constructs a new UnionInfo. + * @memberof flyteidl.core + * @classdesc Represents an UnionInfo. + * @implements IUnionInfo + * @constructor + * @param {flyteidl.core.IUnionInfo=} [properties] Properties to set + */ + function UnionInfo(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * UnionInfo targetType. + * @member {flyteidl.core.ILiteralType|null|undefined} targetType + * @memberof flyteidl.core.UnionInfo + * @instance + */ + UnionInfo.prototype.targetType = null; + + /** + * Creates a new UnionInfo instance using the specified properties. + * @function create + * @memberof flyteidl.core.UnionInfo + * @static + * @param {flyteidl.core.IUnionInfo=} [properties] Properties to set + * @returns {flyteidl.core.UnionInfo} UnionInfo instance + */ + UnionInfo.create = function create(properties) { + return new UnionInfo(properties); + }; + + /** + * Encodes the specified UnionInfo message. Does not implicitly {@link flyteidl.core.UnionInfo.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.UnionInfo + * @static + * @param {flyteidl.core.IUnionInfo} message UnionInfo message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UnionInfo.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.targetType != null && message.hasOwnProperty("targetType")) + $root.flyteidl.core.LiteralType.encode(message.targetType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Decodes an UnionInfo message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.UnionInfo + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.UnionInfo} UnionInfo + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UnionInfo.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.UnionInfo(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.targetType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an UnionInfo message. + * @function verify + * @memberof flyteidl.core.UnionInfo + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + UnionInfo.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.targetType != null && message.hasOwnProperty("targetType")) { + var error = $root.flyteidl.core.LiteralType.verify(message.targetType); + if (error) + return "targetType." + error; + } + return null; + }; + + return UnionInfo; + })(); + + core.BindingData = (function() { + + /** + * Properties of a BindingData. + * @memberof flyteidl.core + * @interface IBindingData + * @property {flyteidl.core.IScalar|null} [scalar] BindingData scalar + * @property {flyteidl.core.IBindingDataCollection|null} [collection] BindingData collection + * @property {flyteidl.core.IOutputReference|null} [promise] BindingData promise + * @property {flyteidl.core.IBindingDataMap|null} [map] BindingData map + * @property {flyteidl.core.IUnionInfo|null} [union] BindingData union + */ + + /** + * Constructs a new BindingData. + * @memberof flyteidl.core + * @classdesc Represents a BindingData. + * @implements IBindingData + * @constructor + * @param {flyteidl.core.IBindingData=} [properties] Properties to set + */ + function BindingData(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * BindingData scalar. + * @member {flyteidl.core.IScalar|null|undefined} scalar + * @memberof flyteidl.core.BindingData + * @instance + */ + BindingData.prototype.scalar = null; + + /** + * BindingData collection. + * @member {flyteidl.core.IBindingDataCollection|null|undefined} collection + * @memberof flyteidl.core.BindingData + * @instance + */ + BindingData.prototype.collection = null; + + /** + * BindingData promise. + * @member {flyteidl.core.IOutputReference|null|undefined} promise + * @memberof flyteidl.core.BindingData + * @instance + */ + BindingData.prototype.promise = null; + + /** + * BindingData map. + * @member {flyteidl.core.IBindingDataMap|null|undefined} map + * @memberof flyteidl.core.BindingData + * @instance + */ + BindingData.prototype.map = null; + + /** + * BindingData union. + * @member {flyteidl.core.IUnionInfo|null|undefined} union + * @memberof flyteidl.core.BindingData + * @instance + */ + BindingData.prototype.union = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * BindingData value. + * @member {"scalar"|"collection"|"promise"|"map"|undefined} value + * @memberof flyteidl.core.BindingData + * @instance + */ + Object.defineProperty(BindingData.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["scalar", "collection", "promise", "map"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new BindingData instance using the specified properties. + * @function create + * @memberof flyteidl.core.BindingData + * @static + * @param {flyteidl.core.IBindingData=} [properties] Properties to set + * @returns {flyteidl.core.BindingData} BindingData instance + */ + BindingData.create = function create(properties) { + return new BindingData(properties); + }; + + /** + * Encodes the specified BindingData message. Does not implicitly {@link flyteidl.core.BindingData.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.BindingData + * @static + * @param {flyteidl.core.IBindingData} message BindingData message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + BindingData.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.scalar != null && message.hasOwnProperty("scalar")) + $root.flyteidl.core.Scalar.encode(message.scalar, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.collection != null && message.hasOwnProperty("collection")) + $root.flyteidl.core.BindingDataCollection.encode(message.collection, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.promise != null && message.hasOwnProperty("promise")) + $root.flyteidl.core.OutputReference.encode(message.promise, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.map != null && message.hasOwnProperty("map")) + $root.flyteidl.core.BindingDataMap.encode(message.map, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.union != null && message.hasOwnProperty("union")) + $root.flyteidl.core.UnionInfo.encode(message.union, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a BindingData message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.BindingData + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.BindingData} BindingData + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + BindingData.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.BindingData(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.scalar = $root.flyteidl.core.Scalar.decode(reader, reader.uint32()); + break; + case 2: + message.collection = $root.flyteidl.core.BindingDataCollection.decode(reader, reader.uint32()); + break; + case 3: + message.promise = $root.flyteidl.core.OutputReference.decode(reader, reader.uint32()); + break; + case 4: + message.map = $root.flyteidl.core.BindingDataMap.decode(reader, reader.uint32()); + break; + case 5: + message.union = $root.flyteidl.core.UnionInfo.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a BindingData message. + * @function verify + * @memberof flyteidl.core.BindingData + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + BindingData.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.scalar != null && message.hasOwnProperty("scalar")) { + properties.value = 1; + { + var error = $root.flyteidl.core.Scalar.verify(message.scalar); + if (error) + return "scalar." + error; + } + } + if (message.collection != null && message.hasOwnProperty("collection")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.BindingDataCollection.verify(message.collection); + if (error) + return "collection." + error; + } + } + if (message.promise != null && message.hasOwnProperty("promise")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.OutputReference.verify(message.promise); + if (error) + return "promise." + error; + } + } + if (message.map != null && message.hasOwnProperty("map")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.flyteidl.core.BindingDataMap.verify(message.map); + if (error) + return "map." + error; + } + } + if (message.union != null && message.hasOwnProperty("union")) { + var error = $root.flyteidl.core.UnionInfo.verify(message.union); + if (error) + return "union." + error; + } + return null; + }; + + return BindingData; + })(); + + core.Binding = (function() { + + /** + * Properties of a Binding. + * @memberof flyteidl.core + * @interface IBinding + * @property {string|null} ["var"] Binding var + * @property {flyteidl.core.IBindingData|null} [binding] Binding binding + */ + + /** + * Constructs a new Binding. + * @memberof flyteidl.core + * @classdesc Represents a Binding. + * @implements IBinding + * @constructor + * @param {flyteidl.core.IBinding=} [properties] Properties to set + */ + function Binding(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Binding var. + * @member {string} var + * @memberof flyteidl.core.Binding + * @instance + */ + Binding.prototype["var"] = ""; + + /** + * Binding binding. + * @member {flyteidl.core.IBindingData|null|undefined} binding + * @memberof flyteidl.core.Binding + * @instance + */ + Binding.prototype.binding = null; + + /** + * Creates a new Binding instance using the specified properties. + * @function create + * @memberof flyteidl.core.Binding + * @static + * @param {flyteidl.core.IBinding=} [properties] Properties to set + * @returns {flyteidl.core.Binding} Binding instance + */ + Binding.create = function create(properties) { + return new Binding(properties); + }; + + /** + * Encodes the specified Binding message. Does not implicitly {@link flyteidl.core.Binding.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.Binding + * @static + * @param {flyteidl.core.IBinding} message Binding message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Binding.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message["var"] != null && message.hasOwnProperty("var")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message["var"]); + if (message.binding != null && message.hasOwnProperty("binding")) + $root.flyteidl.core.BindingData.encode(message.binding, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a Binding message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.Binding + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.Binding} Binding + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Binding.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Binding(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message["var"] = reader.string(); + break; + case 2: + message.binding = $root.flyteidl.core.BindingData.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a Binding message. + * @function verify + * @memberof flyteidl.core.Binding + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Binding.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message["var"] != null && message.hasOwnProperty("var")) + if (!$util.isString(message["var"])) + return "var: string expected"; + if (message.binding != null && message.hasOwnProperty("binding")) { + var error = $root.flyteidl.core.BindingData.verify(message.binding); + if (error) return "binding." + error; } return null; @@ -11349,6 +12712,8 @@ * @interface IVariable * @property {flyteidl.core.ILiteralType|null} [type] Variable type * @property {string|null} [description] Variable description + * @property {flyteidl.core.IArtifactID|null} [artifactPartialId] Variable artifactPartialId + * @property {flyteidl.core.IArtifactTag|null} [artifactTag] Variable artifactTag */ /** @@ -11382,6 +12747,22 @@ */ Variable.prototype.description = ""; + /** + * Variable artifactPartialId. + * @member {flyteidl.core.IArtifactID|null|undefined} artifactPartialId + * @memberof flyteidl.core.Variable + * @instance + */ + Variable.prototype.artifactPartialId = null; + + /** + * Variable artifactTag. + * @member {flyteidl.core.IArtifactTag|null|undefined} artifactTag + * @memberof flyteidl.core.Variable + * @instance + */ + Variable.prototype.artifactTag = null; + /** * Creates a new Variable instance using the specified properties. * @function create @@ -11410,6 +12791,10 @@ $root.flyteidl.core.LiteralType.encode(message.type, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.description != null && message.hasOwnProperty("description")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.description); + if (message.artifactPartialId != null && message.hasOwnProperty("artifactPartialId")) + $root.flyteidl.core.ArtifactID.encode(message.artifactPartialId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) + $root.flyteidl.core.ArtifactTag.encode(message.artifactTag, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; @@ -11437,6 +12822,12 @@ case 2: message.description = reader.string(); break; + case 3: + message.artifactPartialId = $root.flyteidl.core.ArtifactID.decode(reader, reader.uint32()); + break; + case 4: + message.artifactTag = $root.flyteidl.core.ArtifactTag.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -11464,6 +12855,16 @@ if (message.description != null && message.hasOwnProperty("description")) if (!$util.isString(message.description)) return "description: string expected"; + if (message.artifactPartialId != null && message.hasOwnProperty("artifactPartialId")) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactPartialId); + if (error) + return "artifactPartialId." + error; + } + if (message.artifactTag != null && message.hasOwnProperty("artifactTag")) { + var error = $root.flyteidl.core.ArtifactTag.verify(message.artifactTag); + if (error) + return "artifactTag." + error; + } return null; }; @@ -11736,6 +13137,8 @@ * @property {flyteidl.core.IVariable|null} ["var"] Parameter var * @property {flyteidl.core.ILiteral|null} ["default"] Parameter default * @property {boolean|null} [required] Parameter required + * @property {flyteidl.core.IArtifactQuery|null} [artifactQuery] Parameter artifactQuery + * @property {flyteidl.core.IArtifactID|null} [artifactId] Parameter artifactId */ /** @@ -11777,17 +13180,33 @@ */ Parameter.prototype.required = false; + /** + * Parameter artifactQuery. + * @member {flyteidl.core.IArtifactQuery|null|undefined} artifactQuery + * @memberof flyteidl.core.Parameter + * @instance + */ + Parameter.prototype.artifactQuery = null; + + /** + * Parameter artifactId. + * @member {flyteidl.core.IArtifactID|null|undefined} artifactId + * @memberof flyteidl.core.Parameter + * @instance + */ + Parameter.prototype.artifactId = null; + // OneOf field names bound to virtual getters and setters var $oneOfFields; /** * Parameter behavior. - * @member {"default"|"required"|undefined} behavior + * @member {"default"|"required"|"artifactQuery"|"artifactId"|undefined} behavior * @memberof flyteidl.core.Parameter * @instance */ Object.defineProperty(Parameter.prototype, "behavior", { - get: $util.oneOfGetter($oneOfFields = ["default", "required"]), + get: $util.oneOfGetter($oneOfFields = ["default", "required", "artifactQuery", "artifactId"]), set: $util.oneOfSetter($oneOfFields) }); @@ -11821,6 +13240,10 @@ $root.flyteidl.core.Literal.encode(message["default"], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.required != null && message.hasOwnProperty("required")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.required); + if (message.artifactQuery != null && message.hasOwnProperty("artifactQuery")) + $root.flyteidl.core.ArtifactQuery.encode(message.artifactQuery, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.artifactId != null && message.hasOwnProperty("artifactId")) + $root.flyteidl.core.ArtifactID.encode(message.artifactId, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -11851,6 +13274,12 @@ case 3: message.required = reader.bool(); break; + case 4: + message.artifactQuery = $root.flyteidl.core.ArtifactQuery.decode(reader, reader.uint32()); + break; + case 5: + message.artifactId = $root.flyteidl.core.ArtifactID.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -11891,6 +13320,26 @@ if (typeof message.required !== "boolean") return "required: boolean expected"; } + if (message.artifactQuery != null && message.hasOwnProperty("artifactQuery")) { + if (properties.behavior === 1) + return "behavior: multiple values"; + properties.behavior = 1; + { + var error = $root.flyteidl.core.ArtifactQuery.verify(message.artifactQuery); + if (error) + return "artifactQuery." + error; + } + } + if (message.artifactId != null && message.hasOwnProperty("artifactId")) { + if (properties.behavior === 1) + return "behavior: multiple values"; + properties.behavior = 1; + { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactId); + if (error) + return "artifactId." + error; + } + } return null; }; @@ -14510,25 +15959,497 @@ K8sObjectMetadata.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.K8sObjectMetadata(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.K8sObjectMetadata(), key; + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + reader.skip().pos++; + if (message.labels === $util.emptyObject) + message.labels = {}; + key = reader.string(); + reader.pos++; + message.labels[key] = reader.string(); + break; + case 2: + reader.skip().pos++; + if (message.annotations === $util.emptyObject) + message.annotations = {}; + key = reader.string(); + reader.pos++; + message.annotations[key] = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a K8sObjectMetadata message. + * @function verify + * @memberof flyteidl.core.K8sObjectMetadata + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + K8sObjectMetadata.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.labels != null && message.hasOwnProperty("labels")) { + if (!$util.isObject(message.labels)) + return "labels: object expected"; + var key = Object.keys(message.labels); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.labels[key[i]])) + return "labels: string{k:string} expected"; + } + if (message.annotations != null && message.hasOwnProperty("annotations")) { + if (!$util.isObject(message.annotations)) + return "annotations: object expected"; + var key = Object.keys(message.annotations); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.annotations[key[i]])) + return "annotations: string{k:string} expected"; + } + return null; + }; + + return K8sObjectMetadata; + })(); + + core.Sql = (function() { + + /** + * Properties of a Sql. + * @memberof flyteidl.core + * @interface ISql + * @property {string|null} [statement] Sql statement + * @property {flyteidl.core.Sql.Dialect|null} [dialect] Sql dialect + */ + + /** + * Constructs a new Sql. + * @memberof flyteidl.core + * @classdesc Represents a Sql. + * @implements ISql + * @constructor + * @param {flyteidl.core.ISql=} [properties] Properties to set + */ + function Sql(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Sql statement. + * @member {string} statement + * @memberof flyteidl.core.Sql + * @instance + */ + Sql.prototype.statement = ""; + + /** + * Sql dialect. + * @member {flyteidl.core.Sql.Dialect} dialect + * @memberof flyteidl.core.Sql + * @instance + */ + Sql.prototype.dialect = 0; + + /** + * Creates a new Sql instance using the specified properties. + * @function create + * @memberof flyteidl.core.Sql + * @static + * @param {flyteidl.core.ISql=} [properties] Properties to set + * @returns {flyteidl.core.Sql} Sql instance + */ + Sql.create = function create(properties) { + return new Sql(properties); + }; + + /** + * Encodes the specified Sql message. Does not implicitly {@link flyteidl.core.Sql.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.Sql + * @static + * @param {flyteidl.core.ISql} message Sql message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Sql.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.statement != null && message.hasOwnProperty("statement")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.statement); + if (message.dialect != null && message.hasOwnProperty("dialect")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.dialect); + return writer; + }; + + /** + * Decodes a Sql message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.Sql + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.Sql} Sql + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Sql.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Sql(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.statement = reader.string(); + break; + case 2: + message.dialect = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a Sql message. + * @function verify + * @memberof flyteidl.core.Sql + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Sql.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.statement != null && message.hasOwnProperty("statement")) + if (!$util.isString(message.statement)) + return "statement: string expected"; + if (message.dialect != null && message.hasOwnProperty("dialect")) + switch (message.dialect) { + default: + return "dialect: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Dialect enum. + * @name flyteidl.core.Sql.Dialect + * @enum {string} + * @property {number} UNDEFINED=0 UNDEFINED value + * @property {number} ANSI=1 ANSI value + * @property {number} HIVE=2 HIVE value + * @property {number} OTHER=3 OTHER value + */ + Sql.Dialect = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UNDEFINED"] = 0; + values[valuesById[1] = "ANSI"] = 1; + values[valuesById[2] = "HIVE"] = 2; + values[valuesById[3] = "OTHER"] = 3; + return values; + })(); + + return Sql; + })(); + + core.Secret = (function() { + + /** + * Properties of a Secret. + * @memberof flyteidl.core + * @interface ISecret + * @property {string|null} [group] Secret group + * @property {string|null} [groupVersion] Secret groupVersion + * @property {string|null} [key] Secret key + * @property {flyteidl.core.Secret.MountType|null} [mountRequirement] Secret mountRequirement + */ + + /** + * Constructs a new Secret. + * @memberof flyteidl.core + * @classdesc Represents a Secret. + * @implements ISecret + * @constructor + * @param {flyteidl.core.ISecret=} [properties] Properties to set + */ + function Secret(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Secret group. + * @member {string} group + * @memberof flyteidl.core.Secret + * @instance + */ + Secret.prototype.group = ""; + + /** + * Secret groupVersion. + * @member {string} groupVersion + * @memberof flyteidl.core.Secret + * @instance + */ + Secret.prototype.groupVersion = ""; + + /** + * Secret key. + * @member {string} key + * @memberof flyteidl.core.Secret + * @instance + */ + Secret.prototype.key = ""; + + /** + * Secret mountRequirement. + * @member {flyteidl.core.Secret.MountType} mountRequirement + * @memberof flyteidl.core.Secret + * @instance + */ + Secret.prototype.mountRequirement = 0; + + /** + * Creates a new Secret instance using the specified properties. + * @function create + * @memberof flyteidl.core.Secret + * @static + * @param {flyteidl.core.ISecret=} [properties] Properties to set + * @returns {flyteidl.core.Secret} Secret instance + */ + Secret.create = function create(properties) { + return new Secret(properties); + }; + + /** + * Encodes the specified Secret message. Does not implicitly {@link flyteidl.core.Secret.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.Secret + * @static + * @param {flyteidl.core.ISecret} message Secret message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Secret.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.group != null && message.hasOwnProperty("group")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.group); + if (message.groupVersion != null && message.hasOwnProperty("groupVersion")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.groupVersion); + if (message.key != null && message.hasOwnProperty("key")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.key); + if (message.mountRequirement != null && message.hasOwnProperty("mountRequirement")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.mountRequirement); + return writer; + }; + + /** + * Decodes a Secret message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.Secret + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.Secret} Secret + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Secret.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Secret(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.group = reader.string(); + break; + case 2: + message.groupVersion = reader.string(); + break; + case 3: + message.key = reader.string(); + break; + case 4: + message.mountRequirement = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a Secret message. + * @function verify + * @memberof flyteidl.core.Secret + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Secret.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.group != null && message.hasOwnProperty("group")) + if (!$util.isString(message.group)) + return "group: string expected"; + if (message.groupVersion != null && message.hasOwnProperty("groupVersion")) + if (!$util.isString(message.groupVersion)) + return "groupVersion: string expected"; + if (message.key != null && message.hasOwnProperty("key")) + if (!$util.isString(message.key)) + return "key: string expected"; + if (message.mountRequirement != null && message.hasOwnProperty("mountRequirement")) + switch (message.mountRequirement) { + default: + return "mountRequirement: enum value expected"; + case 0: + case 1: + case 2: + break; + } + return null; + }; + + /** + * MountType enum. + * @name flyteidl.core.Secret.MountType + * @enum {string} + * @property {number} ANY=0 ANY value + * @property {number} ENV_VAR=1 ENV_VAR value + * @property {number} FILE=2 FILE value + */ + Secret.MountType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "ANY"] = 0; + values[valuesById[1] = "ENV_VAR"] = 1; + values[valuesById[2] = "FILE"] = 2; + return values; + })(); + + return Secret; + })(); + + core.OAuth2Client = (function() { + + /** + * Properties of a OAuth2Client. + * @memberof flyteidl.core + * @interface IOAuth2Client + * @property {string|null} [clientId] OAuth2Client clientId + * @property {flyteidl.core.ISecret|null} [clientSecret] OAuth2Client clientSecret + */ + + /** + * Constructs a new OAuth2Client. + * @memberof flyteidl.core + * @classdesc Represents a OAuth2Client. + * @implements IOAuth2Client + * @constructor + * @param {flyteidl.core.IOAuth2Client=} [properties] Properties to set + */ + function OAuth2Client(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * OAuth2Client clientId. + * @member {string} clientId + * @memberof flyteidl.core.OAuth2Client + * @instance + */ + OAuth2Client.prototype.clientId = ""; + + /** + * OAuth2Client clientSecret. + * @member {flyteidl.core.ISecret|null|undefined} clientSecret + * @memberof flyteidl.core.OAuth2Client + * @instance + */ + OAuth2Client.prototype.clientSecret = null; + + /** + * Creates a new OAuth2Client instance using the specified properties. + * @function create + * @memberof flyteidl.core.OAuth2Client + * @static + * @param {flyteidl.core.IOAuth2Client=} [properties] Properties to set + * @returns {flyteidl.core.OAuth2Client} OAuth2Client instance + */ + OAuth2Client.create = function create(properties) { + return new OAuth2Client(properties); + }; + + /** + * Encodes the specified OAuth2Client message. Does not implicitly {@link flyteidl.core.OAuth2Client.verify|verify} messages. + * @function encode + * @memberof flyteidl.core.OAuth2Client + * @static + * @param {flyteidl.core.IOAuth2Client} message OAuth2Client message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + OAuth2Client.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.clientId != null && message.hasOwnProperty("clientId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.clientId); + if (message.clientSecret != null && message.hasOwnProperty("clientSecret")) + $root.flyteidl.core.Secret.encode(message.clientSecret, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a OAuth2Client message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.core.OAuth2Client + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.core.OAuth2Client} OAuth2Client + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + OAuth2Client.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.OAuth2Client(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - reader.skip().pos++; - if (message.labels === $util.emptyObject) - message.labels = {}; - key = reader.string(); - reader.pos++; - message.labels[key] = reader.string(); + message.clientId = reader.string(); break; case 2: - reader.skip().pos++; - if (message.annotations === $util.emptyObject) - message.annotations = {}; - key = reader.string(); - reader.pos++; - message.annotations[key] = reader.string(); + message.clientSecret = $root.flyteidl.core.Secret.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -14539,57 +16460,51 @@ }; /** - * Verifies a K8sObjectMetadata message. + * Verifies a OAuth2Client message. * @function verify - * @memberof flyteidl.core.K8sObjectMetadata + * @memberof flyteidl.core.OAuth2Client * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - K8sObjectMetadata.verify = function verify(message) { + OAuth2Client.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.labels != null && message.hasOwnProperty("labels")) { - if (!$util.isObject(message.labels)) - return "labels: object expected"; - var key = Object.keys(message.labels); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.labels[key[i]])) - return "labels: string{k:string} expected"; - } - if (message.annotations != null && message.hasOwnProperty("annotations")) { - if (!$util.isObject(message.annotations)) - return "annotations: object expected"; - var key = Object.keys(message.annotations); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.annotations[key[i]])) - return "annotations: string{k:string} expected"; + if (message.clientId != null && message.hasOwnProperty("clientId")) + if (!$util.isString(message.clientId)) + return "clientId: string expected"; + if (message.clientSecret != null && message.hasOwnProperty("clientSecret")) { + var error = $root.flyteidl.core.Secret.verify(message.clientSecret); + if (error) + return "clientSecret." + error; } return null; }; - return K8sObjectMetadata; + return OAuth2Client; })(); - core.Sql = (function() { + core.Identity = (function() { /** - * Properties of a Sql. + * Properties of an Identity. * @memberof flyteidl.core - * @interface ISql - * @property {string|null} [statement] Sql statement - * @property {flyteidl.core.Sql.Dialect|null} [dialect] Sql dialect + * @interface IIdentity + * @property {string|null} [iamRole] Identity iamRole + * @property {string|null} [k8sServiceAccount] Identity k8sServiceAccount + * @property {flyteidl.core.IOAuth2Client|null} [oauth2Client] Identity oauth2Client + * @property {string|null} [executionIdentity] Identity executionIdentity */ /** - * Constructs a new Sql. + * Constructs a new Identity. * @memberof flyteidl.core - * @classdesc Represents a Sql. - * @implements ISql + * @classdesc Represents an Identity. + * @implements IIdentity * @constructor - * @param {flyteidl.core.ISql=} [properties] Properties to set + * @param {flyteidl.core.IIdentity=} [properties] Properties to set */ - function Sql(properties) { + function Identity(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -14597,75 +16512,101 @@ } /** - * Sql statement. - * @member {string} statement - * @memberof flyteidl.core.Sql + * Identity iamRole. + * @member {string} iamRole + * @memberof flyteidl.core.Identity * @instance */ - Sql.prototype.statement = ""; + Identity.prototype.iamRole = ""; /** - * Sql dialect. - * @member {flyteidl.core.Sql.Dialect} dialect - * @memberof flyteidl.core.Sql + * Identity k8sServiceAccount. + * @member {string} k8sServiceAccount + * @memberof flyteidl.core.Identity * @instance */ - Sql.prototype.dialect = 0; + Identity.prototype.k8sServiceAccount = ""; /** - * Creates a new Sql instance using the specified properties. + * Identity oauth2Client. + * @member {flyteidl.core.IOAuth2Client|null|undefined} oauth2Client + * @memberof flyteidl.core.Identity + * @instance + */ + Identity.prototype.oauth2Client = null; + + /** + * Identity executionIdentity. + * @member {string} executionIdentity + * @memberof flyteidl.core.Identity + * @instance + */ + Identity.prototype.executionIdentity = ""; + + /** + * Creates a new Identity instance using the specified properties. * @function create - * @memberof flyteidl.core.Sql + * @memberof flyteidl.core.Identity * @static - * @param {flyteidl.core.ISql=} [properties] Properties to set - * @returns {flyteidl.core.Sql} Sql instance + * @param {flyteidl.core.IIdentity=} [properties] Properties to set + * @returns {flyteidl.core.Identity} Identity instance */ - Sql.create = function create(properties) { - return new Sql(properties); + Identity.create = function create(properties) { + return new Identity(properties); }; /** - * Encodes the specified Sql message. Does not implicitly {@link flyteidl.core.Sql.verify|verify} messages. + * Encodes the specified Identity message. Does not implicitly {@link flyteidl.core.Identity.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Sql + * @memberof flyteidl.core.Identity * @static - * @param {flyteidl.core.ISql} message Sql message or plain object to encode + * @param {flyteidl.core.IIdentity} message Identity message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Sql.encode = function encode(message, writer) { + Identity.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.statement != null && message.hasOwnProperty("statement")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.statement); - if (message.dialect != null && message.hasOwnProperty("dialect")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.dialect); + if (message.iamRole != null && message.hasOwnProperty("iamRole")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.iamRole); + if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.k8sServiceAccount); + if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client")) + $root.flyteidl.core.OAuth2Client.encode(message.oauth2Client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.executionIdentity); return writer; }; /** - * Decodes a Sql message from the specified reader or buffer. + * Decodes an Identity message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Sql + * @memberof flyteidl.core.Identity * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Sql} Sql + * @returns {flyteidl.core.Identity} Identity * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Sql.decode = function decode(reader, length) { + Identity.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Sql(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Identity(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.statement = reader.string(); + message.iamRole = reader.string(); break; case 2: - message.dialect = reader.int32(); + message.k8sServiceAccount = reader.string(); + break; + case 3: + message.oauth2Client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32()); + break; + case 4: + message.executionIdentity = reader.string(); break; default: reader.skipType(tag & 7); @@ -14676,74 +16617,58 @@ }; /** - * Verifies a Sql message. + * Verifies an Identity message. * @function verify - * @memberof flyteidl.core.Sql + * @memberof flyteidl.core.Identity * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Sql.verify = function verify(message) { + Identity.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.statement != null && message.hasOwnProperty("statement")) - if (!$util.isString(message.statement)) - return "statement: string expected"; - if (message.dialect != null && message.hasOwnProperty("dialect")) - switch (message.dialect) { - default: - return "dialect: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } + if (message.iamRole != null && message.hasOwnProperty("iamRole")) + if (!$util.isString(message.iamRole)) + return "iamRole: string expected"; + if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) + if (!$util.isString(message.k8sServiceAccount)) + return "k8sServiceAccount: string expected"; + if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client")) { + var error = $root.flyteidl.core.OAuth2Client.verify(message.oauth2Client); + if (error) + return "oauth2Client." + error; + } + if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity")) + if (!$util.isString(message.executionIdentity)) + return "executionIdentity: string expected"; return null; }; - /** - * Dialect enum. - * @name flyteidl.core.Sql.Dialect - * @enum {string} - * @property {number} UNDEFINED=0 UNDEFINED value - * @property {number} ANSI=1 ANSI value - * @property {number} HIVE=2 HIVE value - * @property {number} OTHER=3 OTHER value - */ - Sql.Dialect = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "UNDEFINED"] = 0; - values[valuesById[1] = "ANSI"] = 1; - values[valuesById[2] = "HIVE"] = 2; - values[valuesById[3] = "OTHER"] = 3; - return values; - })(); - - return Sql; + return Identity; })(); - core.Secret = (function() { + core.OAuth2TokenRequest = (function() { /** - * Properties of a Secret. + * Properties of a OAuth2TokenRequest. * @memberof flyteidl.core - * @interface ISecret - * @property {string|null} [group] Secret group - * @property {string|null} [groupVersion] Secret groupVersion - * @property {string|null} [key] Secret key - * @property {flyteidl.core.Secret.MountType|null} [mountRequirement] Secret mountRequirement + * @interface IOAuth2TokenRequest + * @property {string|null} [name] OAuth2TokenRequest name + * @property {flyteidl.core.OAuth2TokenRequest.Type|null} [type] OAuth2TokenRequest type + * @property {flyteidl.core.IOAuth2Client|null} [client] OAuth2TokenRequest client + * @property {string|null} [idpDiscoveryEndpoint] OAuth2TokenRequest idpDiscoveryEndpoint + * @property {string|null} [tokenEndpoint] OAuth2TokenRequest tokenEndpoint */ /** - * Constructs a new Secret. + * Constructs a new OAuth2TokenRequest. * @memberof flyteidl.core - * @classdesc Represents a Secret. - * @implements ISecret + * @classdesc Represents a OAuth2TokenRequest. + * @implements IOAuth2TokenRequest * @constructor - * @param {flyteidl.core.ISecret=} [properties] Properties to set + * @param {flyteidl.core.IOAuth2TokenRequest=} [properties] Properties to set */ - function Secret(properties) { + function OAuth2TokenRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -14751,101 +16676,114 @@ } /** - * Secret group. - * @member {string} group - * @memberof flyteidl.core.Secret + * OAuth2TokenRequest name. + * @member {string} name + * @memberof flyteidl.core.OAuth2TokenRequest * @instance */ - Secret.prototype.group = ""; + OAuth2TokenRequest.prototype.name = ""; /** - * Secret groupVersion. - * @member {string} groupVersion - * @memberof flyteidl.core.Secret + * OAuth2TokenRequest type. + * @member {flyteidl.core.OAuth2TokenRequest.Type} type + * @memberof flyteidl.core.OAuth2TokenRequest * @instance */ - Secret.prototype.groupVersion = ""; + OAuth2TokenRequest.prototype.type = 0; /** - * Secret key. - * @member {string} key - * @memberof flyteidl.core.Secret + * OAuth2TokenRequest client. + * @member {flyteidl.core.IOAuth2Client|null|undefined} client + * @memberof flyteidl.core.OAuth2TokenRequest * @instance */ - Secret.prototype.key = ""; + OAuth2TokenRequest.prototype.client = null; /** - * Secret mountRequirement. - * @member {flyteidl.core.Secret.MountType} mountRequirement - * @memberof flyteidl.core.Secret + * OAuth2TokenRequest idpDiscoveryEndpoint. + * @member {string} idpDiscoveryEndpoint + * @memberof flyteidl.core.OAuth2TokenRequest * @instance */ - Secret.prototype.mountRequirement = 0; + OAuth2TokenRequest.prototype.idpDiscoveryEndpoint = ""; /** - * Creates a new Secret instance using the specified properties. + * OAuth2TokenRequest tokenEndpoint. + * @member {string} tokenEndpoint + * @memberof flyteidl.core.OAuth2TokenRequest + * @instance + */ + OAuth2TokenRequest.prototype.tokenEndpoint = ""; + + /** + * Creates a new OAuth2TokenRequest instance using the specified properties. * @function create - * @memberof flyteidl.core.Secret + * @memberof flyteidl.core.OAuth2TokenRequest * @static - * @param {flyteidl.core.ISecret=} [properties] Properties to set - * @returns {flyteidl.core.Secret} Secret instance + * @param {flyteidl.core.IOAuth2TokenRequest=} [properties] Properties to set + * @returns {flyteidl.core.OAuth2TokenRequest} OAuth2TokenRequest instance */ - Secret.create = function create(properties) { - return new Secret(properties); + OAuth2TokenRequest.create = function create(properties) { + return new OAuth2TokenRequest(properties); }; /** - * Encodes the specified Secret message. Does not implicitly {@link flyteidl.core.Secret.verify|verify} messages. + * Encodes the specified OAuth2TokenRequest message. Does not implicitly {@link flyteidl.core.OAuth2TokenRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Secret + * @memberof flyteidl.core.OAuth2TokenRequest * @static - * @param {flyteidl.core.ISecret} message Secret message or plain object to encode + * @param {flyteidl.core.IOAuth2TokenRequest} message OAuth2TokenRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Secret.encode = function encode(message, writer) { + OAuth2TokenRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.group != null && message.hasOwnProperty("group")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.group); - if (message.groupVersion != null && message.hasOwnProperty("groupVersion")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.groupVersion); - if (message.key != null && message.hasOwnProperty("key")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.key); - if (message.mountRequirement != null && message.hasOwnProperty("mountRequirement")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.mountRequirement); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.type != null && message.hasOwnProperty("type")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); + if (message.client != null && message.hasOwnProperty("client")) + $root.flyteidl.core.OAuth2Client.encode(message.client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.idpDiscoveryEndpoint != null && message.hasOwnProperty("idpDiscoveryEndpoint")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.idpDiscoveryEndpoint); + if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.tokenEndpoint); return writer; }; /** - * Decodes a Secret message from the specified reader or buffer. + * Decodes a OAuth2TokenRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Secret + * @memberof flyteidl.core.OAuth2TokenRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Secret} Secret + * @returns {flyteidl.core.OAuth2TokenRequest} OAuth2TokenRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Secret.decode = function decode(reader, length) { + OAuth2TokenRequest.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Secret(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.OAuth2TokenRequest(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.group = reader.string(); + message.name = reader.string(); break; case 2: - message.groupVersion = reader.string(); + message.type = reader.int32(); break; case 3: - message.key = reader.string(); + message.client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32()); break; case 4: - message.mountRequirement = reader.int32(); + message.idpDiscoveryEndpoint = reader.string(); + break; + case 5: + message.tokenEndpoint = reader.string(); break; default: reader.skipType(tag & 7); @@ -14856,75 +16794,77 @@ }; /** - * Verifies a Secret message. + * Verifies a OAuth2TokenRequest message. * @function verify - * @memberof flyteidl.core.Secret + * @memberof flyteidl.core.OAuth2TokenRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Secret.verify = function verify(message) { + OAuth2TokenRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.group != null && message.hasOwnProperty("group")) - if (!$util.isString(message.group)) - return "group: string expected"; - if (message.groupVersion != null && message.hasOwnProperty("groupVersion")) - if (!$util.isString(message.groupVersion)) - return "groupVersion: string expected"; - if (message.key != null && message.hasOwnProperty("key")) - if (!$util.isString(message.key)) - return "key: string expected"; - if (message.mountRequirement != null && message.hasOwnProperty("mountRequirement")) - switch (message.mountRequirement) { + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.type != null && message.hasOwnProperty("type")) + switch (message.type) { default: - return "mountRequirement: enum value expected"; + return "type: enum value expected"; case 0: - case 1: - case 2: break; } + if (message.client != null && message.hasOwnProperty("client")) { + var error = $root.flyteidl.core.OAuth2Client.verify(message.client); + if (error) + return "client." + error; + } + if (message.idpDiscoveryEndpoint != null && message.hasOwnProperty("idpDiscoveryEndpoint")) + if (!$util.isString(message.idpDiscoveryEndpoint)) + return "idpDiscoveryEndpoint: string expected"; + if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) + if (!$util.isString(message.tokenEndpoint)) + return "tokenEndpoint: string expected"; return null; }; /** - * MountType enum. - * @name flyteidl.core.Secret.MountType + * Type enum. + * @name flyteidl.core.OAuth2TokenRequest.Type * @enum {string} - * @property {number} ANY=0 ANY value - * @property {number} ENV_VAR=1 ENV_VAR value - * @property {number} FILE=2 FILE value + * @property {number} CLIENT_CREDENTIALS=0 CLIENT_CREDENTIALS value */ - Secret.MountType = (function() { + OAuth2TokenRequest.Type = (function() { var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ANY"] = 0; - values[valuesById[1] = "ENV_VAR"] = 1; - values[valuesById[2] = "FILE"] = 2; + values[valuesById[0] = "CLIENT_CREDENTIALS"] = 0; return values; })(); - return Secret; + return OAuth2TokenRequest; })(); - core.OAuth2Client = (function() { + core.SecurityContext = (function() { /** - * Properties of a OAuth2Client. + * Properties of a SecurityContext. * @memberof flyteidl.core - * @interface IOAuth2Client - * @property {string|null} [clientId] OAuth2Client clientId - * @property {flyteidl.core.ISecret|null} [clientSecret] OAuth2Client clientSecret + * @interface ISecurityContext + * @property {flyteidl.core.IIdentity|null} [runAs] SecurityContext runAs + * @property {Array.|null} [secrets] SecurityContext secrets + * @property {Array.|null} [tokens] SecurityContext tokens */ /** - * Constructs a new OAuth2Client. + * Constructs a new SecurityContext. * @memberof flyteidl.core - * @classdesc Represents a OAuth2Client. - * @implements IOAuth2Client + * @classdesc Represents a SecurityContext. + * @implements ISecurityContext * @constructor - * @param {flyteidl.core.IOAuth2Client=} [properties] Properties to set + * @param {flyteidl.core.ISecurityContext=} [properties] Properties to set */ - function OAuth2Client(properties) { + function SecurityContext(properties) { + this.secrets = []; + this.tokens = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -14932,75 +16872,94 @@ } /** - * OAuth2Client clientId. - * @member {string} clientId - * @memberof flyteidl.core.OAuth2Client + * SecurityContext runAs. + * @member {flyteidl.core.IIdentity|null|undefined} runAs + * @memberof flyteidl.core.SecurityContext * @instance */ - OAuth2Client.prototype.clientId = ""; + SecurityContext.prototype.runAs = null; /** - * OAuth2Client clientSecret. - * @member {flyteidl.core.ISecret|null|undefined} clientSecret - * @memberof flyteidl.core.OAuth2Client + * SecurityContext secrets. + * @member {Array.} secrets + * @memberof flyteidl.core.SecurityContext * @instance */ - OAuth2Client.prototype.clientSecret = null; + SecurityContext.prototype.secrets = $util.emptyArray; /** - * Creates a new OAuth2Client instance using the specified properties. + * SecurityContext tokens. + * @member {Array.} tokens + * @memberof flyteidl.core.SecurityContext + * @instance + */ + SecurityContext.prototype.tokens = $util.emptyArray; + + /** + * Creates a new SecurityContext instance using the specified properties. * @function create - * @memberof flyteidl.core.OAuth2Client + * @memberof flyteidl.core.SecurityContext * @static - * @param {flyteidl.core.IOAuth2Client=} [properties] Properties to set - * @returns {flyteidl.core.OAuth2Client} OAuth2Client instance + * @param {flyteidl.core.ISecurityContext=} [properties] Properties to set + * @returns {flyteidl.core.SecurityContext} SecurityContext instance */ - OAuth2Client.create = function create(properties) { - return new OAuth2Client(properties); + SecurityContext.create = function create(properties) { + return new SecurityContext(properties); }; /** - * Encodes the specified OAuth2Client message. Does not implicitly {@link flyteidl.core.OAuth2Client.verify|verify} messages. + * Encodes the specified SecurityContext message. Does not implicitly {@link flyteidl.core.SecurityContext.verify|verify} messages. * @function encode - * @memberof flyteidl.core.OAuth2Client + * @memberof flyteidl.core.SecurityContext * @static - * @param {flyteidl.core.IOAuth2Client} message OAuth2Client message or plain object to encode + * @param {flyteidl.core.ISecurityContext} message SecurityContext message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - OAuth2Client.encode = function encode(message, writer) { + SecurityContext.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.clientId != null && message.hasOwnProperty("clientId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.clientId); - if (message.clientSecret != null && message.hasOwnProperty("clientSecret")) - $root.flyteidl.core.Secret.encode(message.clientSecret, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.runAs != null && message.hasOwnProperty("runAs")) + $root.flyteidl.core.Identity.encode(message.runAs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.secrets != null && message.secrets.length) + for (var i = 0; i < message.secrets.length; ++i) + $root.flyteidl.core.Secret.encode(message.secrets[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.tokens != null && message.tokens.length) + for (var i = 0; i < message.tokens.length; ++i) + $root.flyteidl.core.OAuth2TokenRequest.encode(message.tokens[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a OAuth2Client message from the specified reader or buffer. + * Decodes a SecurityContext message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.OAuth2Client + * @memberof flyteidl.core.SecurityContext * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.OAuth2Client} OAuth2Client + * @returns {flyteidl.core.SecurityContext} SecurityContext * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - OAuth2Client.decode = function decode(reader, length) { + SecurityContext.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.OAuth2Client(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SecurityContext(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.clientId = reader.string(); + message.runAs = $root.flyteidl.core.Identity.decode(reader, reader.uint32()); break; case 2: - message.clientSecret = $root.flyteidl.core.Secret.decode(reader, reader.uint32()); + if (!(message.secrets && message.secrets.length)) + message.secrets = []; + message.secrets.push($root.flyteidl.core.Secret.decode(reader, reader.uint32())); + break; + case 3: + if (!(message.tokens && message.tokens.length)) + message.tokens = []; + message.tokens.push($root.flyteidl.core.OAuth2TokenRequest.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -15011,51 +16970,71 @@ }; /** - * Verifies a OAuth2Client message. + * Verifies a SecurityContext message. * @function verify - * @memberof flyteidl.core.OAuth2Client + * @memberof flyteidl.core.SecurityContext * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - OAuth2Client.verify = function verify(message) { + SecurityContext.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.clientId != null && message.hasOwnProperty("clientId")) - if (!$util.isString(message.clientId)) - return "clientId: string expected"; - if (message.clientSecret != null && message.hasOwnProperty("clientSecret")) { - var error = $root.flyteidl.core.Secret.verify(message.clientSecret); + if (message.runAs != null && message.hasOwnProperty("runAs")) { + var error = $root.flyteidl.core.Identity.verify(message.runAs); if (error) - return "clientSecret." + error; + return "runAs." + error; + } + if (message.secrets != null && message.hasOwnProperty("secrets")) { + if (!Array.isArray(message.secrets)) + return "secrets: array expected"; + for (var i = 0; i < message.secrets.length; ++i) { + var error = $root.flyteidl.core.Secret.verify(message.secrets[i]); + if (error) + return "secrets." + error; + } + } + if (message.tokens != null && message.hasOwnProperty("tokens")) { + if (!Array.isArray(message.tokens)) + return "tokens: array expected"; + for (var i = 0; i < message.tokens.length; ++i) { + var error = $root.flyteidl.core.OAuth2TokenRequest.verify(message.tokens[i]); + if (error) + return "tokens." + error; + } } return null; }; - return OAuth2Client; + return SecurityContext; })(); - core.Identity = (function() { + core.DynamicJobSpec = (function() { /** - * Properties of an Identity. + * Properties of a DynamicJobSpec. * @memberof flyteidl.core - * @interface IIdentity - * @property {string|null} [iamRole] Identity iamRole - * @property {string|null} [k8sServiceAccount] Identity k8sServiceAccount - * @property {flyteidl.core.IOAuth2Client|null} [oauth2Client] Identity oauth2Client - * @property {string|null} [executionIdentity] Identity executionIdentity + * @interface IDynamicJobSpec + * @property {Array.|null} [nodes] DynamicJobSpec nodes + * @property {Long|null} [minSuccesses] DynamicJobSpec minSuccesses + * @property {Array.|null} [outputs] DynamicJobSpec outputs + * @property {Array.|null} [tasks] DynamicJobSpec tasks + * @property {Array.|null} [subworkflows] DynamicJobSpec subworkflows */ /** - * Constructs a new Identity. + * Constructs a new DynamicJobSpec. * @memberof flyteidl.core - * @classdesc Represents an Identity. - * @implements IIdentity + * @classdesc Represents a DynamicJobSpec. + * @implements IDynamicJobSpec * @constructor - * @param {flyteidl.core.IIdentity=} [properties] Properties to set + * @param {flyteidl.core.IDynamicJobSpec=} [properties] Properties to set */ - function Identity(properties) { + function DynamicJobSpec(properties) { + this.nodes = []; + this.outputs = []; + this.tasks = []; + this.subworkflows = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15063,101 +17042,126 @@ } /** - * Identity iamRole. - * @member {string} iamRole - * @memberof flyteidl.core.Identity + * DynamicJobSpec nodes. + * @member {Array.} nodes + * @memberof flyteidl.core.DynamicJobSpec * @instance */ - Identity.prototype.iamRole = ""; + DynamicJobSpec.prototype.nodes = $util.emptyArray; /** - * Identity k8sServiceAccount. - * @member {string} k8sServiceAccount - * @memberof flyteidl.core.Identity + * DynamicJobSpec minSuccesses. + * @member {Long} minSuccesses + * @memberof flyteidl.core.DynamicJobSpec * @instance */ - Identity.prototype.k8sServiceAccount = ""; + DynamicJobSpec.prototype.minSuccesses = $util.Long ? $util.Long.fromBits(0,0,false) : 0; /** - * Identity oauth2Client. - * @member {flyteidl.core.IOAuth2Client|null|undefined} oauth2Client - * @memberof flyteidl.core.Identity + * DynamicJobSpec outputs. + * @member {Array.} outputs + * @memberof flyteidl.core.DynamicJobSpec * @instance */ - Identity.prototype.oauth2Client = null; + DynamicJobSpec.prototype.outputs = $util.emptyArray; /** - * Identity executionIdentity. - * @member {string} executionIdentity - * @memberof flyteidl.core.Identity + * DynamicJobSpec tasks. + * @member {Array.} tasks + * @memberof flyteidl.core.DynamicJobSpec * @instance */ - Identity.prototype.executionIdentity = ""; + DynamicJobSpec.prototype.tasks = $util.emptyArray; /** - * Creates a new Identity instance using the specified properties. + * DynamicJobSpec subworkflows. + * @member {Array.} subworkflows + * @memberof flyteidl.core.DynamicJobSpec + * @instance + */ + DynamicJobSpec.prototype.subworkflows = $util.emptyArray; + + /** + * Creates a new DynamicJobSpec instance using the specified properties. * @function create - * @memberof flyteidl.core.Identity + * @memberof flyteidl.core.DynamicJobSpec * @static - * @param {flyteidl.core.IIdentity=} [properties] Properties to set - * @returns {flyteidl.core.Identity} Identity instance + * @param {flyteidl.core.IDynamicJobSpec=} [properties] Properties to set + * @returns {flyteidl.core.DynamicJobSpec} DynamicJobSpec instance */ - Identity.create = function create(properties) { - return new Identity(properties); + DynamicJobSpec.create = function create(properties) { + return new DynamicJobSpec(properties); }; /** - * Encodes the specified Identity message. Does not implicitly {@link flyteidl.core.Identity.verify|verify} messages. + * Encodes the specified DynamicJobSpec message. Does not implicitly {@link flyteidl.core.DynamicJobSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Identity + * @memberof flyteidl.core.DynamicJobSpec * @static - * @param {flyteidl.core.IIdentity} message Identity message or plain object to encode + * @param {flyteidl.core.IDynamicJobSpec} message DynamicJobSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Identity.encode = function encode(message, writer) { + DynamicJobSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.iamRole != null && message.hasOwnProperty("iamRole")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.iamRole); - if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.k8sServiceAccount); - if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client")) - $root.flyteidl.core.OAuth2Client.encode(message.oauth2Client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.executionIdentity); + if (message.nodes != null && message.nodes.length) + for (var i = 0; i < message.nodes.length; ++i) + $root.flyteidl.core.Node.encode(message.nodes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.minSuccesses); + if (message.outputs != null && message.outputs.length) + for (var i = 0; i < message.outputs.length; ++i) + $root.flyteidl.core.Binding.encode(message.outputs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.tasks != null && message.tasks.length) + for (var i = 0; i < message.tasks.length; ++i) + $root.flyteidl.core.TaskTemplate.encode(message.tasks[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.subworkflows != null && message.subworkflows.length) + for (var i = 0; i < message.subworkflows.length; ++i) + $root.flyteidl.core.WorkflowTemplate.encode(message.subworkflows[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes an Identity message from the specified reader or buffer. + * Decodes a DynamicJobSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Identity + * @memberof flyteidl.core.DynamicJobSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Identity} Identity + * @returns {flyteidl.core.DynamicJobSpec} DynamicJobSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Identity.decode = function decode(reader, length) { + DynamicJobSpec.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Identity(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.DynamicJobSpec(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.iamRole = reader.string(); + if (!(message.nodes && message.nodes.length)) + message.nodes = []; + message.nodes.push($root.flyteidl.core.Node.decode(reader, reader.uint32())); break; case 2: - message.k8sServiceAccount = reader.string(); + message.minSuccesses = reader.int64(); break; case 3: - message.oauth2Client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32()); + if (!(message.outputs && message.outputs.length)) + message.outputs = []; + message.outputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); break; case 4: - message.executionIdentity = reader.string(); + if (!(message.tasks && message.tasks.length)) + message.tasks = []; + message.tasks.push($root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32())); + break; + case 5: + if (!(message.subworkflows && message.subworkflows.length)) + message.subworkflows = []; + message.subworkflows.push($root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -15168,58 +17172,82 @@ }; /** - * Verifies an Identity message. + * Verifies a DynamicJobSpec message. * @function verify - * @memberof flyteidl.core.Identity + * @memberof flyteidl.core.DynamicJobSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Identity.verify = function verify(message) { + DynamicJobSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.iamRole != null && message.hasOwnProperty("iamRole")) - if (!$util.isString(message.iamRole)) - return "iamRole: string expected"; - if (message.k8sServiceAccount != null && message.hasOwnProperty("k8sServiceAccount")) - if (!$util.isString(message.k8sServiceAccount)) - return "k8sServiceAccount: string expected"; - if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client")) { - var error = $root.flyteidl.core.OAuth2Client.verify(message.oauth2Client); - if (error) - return "oauth2Client." + error; + if (message.nodes != null && message.hasOwnProperty("nodes")) { + if (!Array.isArray(message.nodes)) + return "nodes: array expected"; + for (var i = 0; i < message.nodes.length; ++i) { + var error = $root.flyteidl.core.Node.verify(message.nodes[i]); + if (error) + return "nodes." + error; + } + } + if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) + if (!$util.isInteger(message.minSuccesses) && !(message.minSuccesses && $util.isInteger(message.minSuccesses.low) && $util.isInteger(message.minSuccesses.high))) + return "minSuccesses: integer|Long expected"; + if (message.outputs != null && message.hasOwnProperty("outputs")) { + if (!Array.isArray(message.outputs)) + return "outputs: array expected"; + for (var i = 0; i < message.outputs.length; ++i) { + var error = $root.flyteidl.core.Binding.verify(message.outputs[i]); + if (error) + return "outputs." + error; + } + } + if (message.tasks != null && message.hasOwnProperty("tasks")) { + if (!Array.isArray(message.tasks)) + return "tasks: array expected"; + for (var i = 0; i < message.tasks.length; ++i) { + var error = $root.flyteidl.core.TaskTemplate.verify(message.tasks[i]); + if (error) + return "tasks." + error; + } + } + if (message.subworkflows != null && message.hasOwnProperty("subworkflows")) { + if (!Array.isArray(message.subworkflows)) + return "subworkflows: array expected"; + for (var i = 0; i < message.subworkflows.length; ++i) { + var error = $root.flyteidl.core.WorkflowTemplate.verify(message.subworkflows[i]); + if (error) + return "subworkflows." + error; + } } - if (message.executionIdentity != null && message.hasOwnProperty("executionIdentity")) - if (!$util.isString(message.executionIdentity)) - return "executionIdentity: string expected"; return null; }; - return Identity; + return DynamicJobSpec; })(); - core.OAuth2TokenRequest = (function() { + core.ContainerError = (function() { /** - * Properties of a OAuth2TokenRequest. + * Properties of a ContainerError. * @memberof flyteidl.core - * @interface IOAuth2TokenRequest - * @property {string|null} [name] OAuth2TokenRequest name - * @property {flyteidl.core.OAuth2TokenRequest.Type|null} [type] OAuth2TokenRequest type - * @property {flyteidl.core.IOAuth2Client|null} [client] OAuth2TokenRequest client - * @property {string|null} [idpDiscoveryEndpoint] OAuth2TokenRequest idpDiscoveryEndpoint - * @property {string|null} [tokenEndpoint] OAuth2TokenRequest tokenEndpoint + * @interface IContainerError + * @property {string|null} [code] ContainerError code + * @property {string|null} [message] ContainerError message + * @property {flyteidl.core.ContainerError.Kind|null} [kind] ContainerError kind + * @property {flyteidl.core.ExecutionError.ErrorKind|null} [origin] ContainerError origin */ /** - * Constructs a new OAuth2TokenRequest. + * Constructs a new ContainerError. * @memberof flyteidl.core - * @classdesc Represents a OAuth2TokenRequest. - * @implements IOAuth2TokenRequest + * @classdesc Represents a ContainerError. + * @implements IContainerError * @constructor - * @param {flyteidl.core.IOAuth2TokenRequest=} [properties] Properties to set + * @param {flyteidl.core.IContainerError=} [properties] Properties to set */ - function OAuth2TokenRequest(properties) { + function ContainerError(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15227,114 +17255,101 @@ } /** - * OAuth2TokenRequest name. - * @member {string} name - * @memberof flyteidl.core.OAuth2TokenRequest - * @instance - */ - OAuth2TokenRequest.prototype.name = ""; - - /** - * OAuth2TokenRequest type. - * @member {flyteidl.core.OAuth2TokenRequest.Type} type - * @memberof flyteidl.core.OAuth2TokenRequest + * ContainerError code. + * @member {string} code + * @memberof flyteidl.core.ContainerError * @instance */ - OAuth2TokenRequest.prototype.type = 0; + ContainerError.prototype.code = ""; /** - * OAuth2TokenRequest client. - * @member {flyteidl.core.IOAuth2Client|null|undefined} client - * @memberof flyteidl.core.OAuth2TokenRequest + * ContainerError message. + * @member {string} message + * @memberof flyteidl.core.ContainerError * @instance */ - OAuth2TokenRequest.prototype.client = null; + ContainerError.prototype.message = ""; /** - * OAuth2TokenRequest idpDiscoveryEndpoint. - * @member {string} idpDiscoveryEndpoint - * @memberof flyteidl.core.OAuth2TokenRequest + * ContainerError kind. + * @member {flyteidl.core.ContainerError.Kind} kind + * @memberof flyteidl.core.ContainerError * @instance */ - OAuth2TokenRequest.prototype.idpDiscoveryEndpoint = ""; + ContainerError.prototype.kind = 0; /** - * OAuth2TokenRequest tokenEndpoint. - * @member {string} tokenEndpoint - * @memberof flyteidl.core.OAuth2TokenRequest + * ContainerError origin. + * @member {flyteidl.core.ExecutionError.ErrorKind} origin + * @memberof flyteidl.core.ContainerError * @instance */ - OAuth2TokenRequest.prototype.tokenEndpoint = ""; + ContainerError.prototype.origin = 0; /** - * Creates a new OAuth2TokenRequest instance using the specified properties. + * Creates a new ContainerError instance using the specified properties. * @function create - * @memberof flyteidl.core.OAuth2TokenRequest + * @memberof flyteidl.core.ContainerError * @static - * @param {flyteidl.core.IOAuth2TokenRequest=} [properties] Properties to set - * @returns {flyteidl.core.OAuth2TokenRequest} OAuth2TokenRequest instance + * @param {flyteidl.core.IContainerError=} [properties] Properties to set + * @returns {flyteidl.core.ContainerError} ContainerError instance */ - OAuth2TokenRequest.create = function create(properties) { - return new OAuth2TokenRequest(properties); + ContainerError.create = function create(properties) { + return new ContainerError(properties); }; /** - * Encodes the specified OAuth2TokenRequest message. Does not implicitly {@link flyteidl.core.OAuth2TokenRequest.verify|verify} messages. + * Encodes the specified ContainerError message. Does not implicitly {@link flyteidl.core.ContainerError.verify|verify} messages. * @function encode - * @memberof flyteidl.core.OAuth2TokenRequest + * @memberof flyteidl.core.ContainerError * @static - * @param {flyteidl.core.IOAuth2TokenRequest} message OAuth2TokenRequest message or plain object to encode + * @param {flyteidl.core.IContainerError} message ContainerError message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - OAuth2TokenRequest.encode = function encode(message, writer) { + ContainerError.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.type != null && message.hasOwnProperty("type")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type); - if (message.client != null && message.hasOwnProperty("client")) - $root.flyteidl.core.OAuth2Client.encode(message.client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.idpDiscoveryEndpoint != null && message.hasOwnProperty("idpDiscoveryEndpoint")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.idpDiscoveryEndpoint); - if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.tokenEndpoint); + if (message.code != null && message.hasOwnProperty("code")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.code); + if (message.message != null && message.hasOwnProperty("message")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); + if (message.kind != null && message.hasOwnProperty("kind")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.kind); + if (message.origin != null && message.hasOwnProperty("origin")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.origin); return writer; }; /** - * Decodes a OAuth2TokenRequest message from the specified reader or buffer. + * Decodes a ContainerError message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.OAuth2TokenRequest + * @memberof flyteidl.core.ContainerError * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.OAuth2TokenRequest} OAuth2TokenRequest + * @returns {flyteidl.core.ContainerError} ContainerError * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - OAuth2TokenRequest.decode = function decode(reader, length) { + ContainerError.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.OAuth2TokenRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ContainerError(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.name = reader.string(); + message.code = reader.string(); break; case 2: - message.type = reader.int32(); + message.message = reader.string(); break; case 3: - message.client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32()); + message.kind = reader.int32(); break; case 4: - message.idpDiscoveryEndpoint = reader.string(); - break; - case 5: - message.tokenEndpoint = reader.string(); + message.origin = reader.int32(); break; default: reader.skipType(tag & 7); @@ -15345,77 +17360,77 @@ }; /** - * Verifies a OAuth2TokenRequest message. + * Verifies a ContainerError message. * @function verify - * @memberof flyteidl.core.OAuth2TokenRequest + * @memberof flyteidl.core.ContainerError * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - OAuth2TokenRequest.verify = function verify(message) { + ContainerError.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { + if (message.code != null && message.hasOwnProperty("code")) + if (!$util.isString(message.code)) + return "code: string expected"; + if (message.message != null && message.hasOwnProperty("message")) + if (!$util.isString(message.message)) + return "message: string expected"; + if (message.kind != null && message.hasOwnProperty("kind")) + switch (message.kind) { default: - return "type: enum value expected"; + return "kind: enum value expected"; case 0: + case 1: + break; + } + if (message.origin != null && message.hasOwnProperty("origin")) + switch (message.origin) { + default: + return "origin: enum value expected"; + case 0: + case 1: + case 2: break; } - if (message.client != null && message.hasOwnProperty("client")) { - var error = $root.flyteidl.core.OAuth2Client.verify(message.client); - if (error) - return "client." + error; - } - if (message.idpDiscoveryEndpoint != null && message.hasOwnProperty("idpDiscoveryEndpoint")) - if (!$util.isString(message.idpDiscoveryEndpoint)) - return "idpDiscoveryEndpoint: string expected"; - if (message.tokenEndpoint != null && message.hasOwnProperty("tokenEndpoint")) - if (!$util.isString(message.tokenEndpoint)) - return "tokenEndpoint: string expected"; return null; }; /** - * Type enum. - * @name flyteidl.core.OAuth2TokenRequest.Type + * Kind enum. + * @name flyteidl.core.ContainerError.Kind * @enum {string} - * @property {number} CLIENT_CREDENTIALS=0 CLIENT_CREDENTIALS value + * @property {number} NON_RECOVERABLE=0 NON_RECOVERABLE value + * @property {number} RECOVERABLE=1 RECOVERABLE value */ - OAuth2TokenRequest.Type = (function() { + ContainerError.Kind = (function() { var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "CLIENT_CREDENTIALS"] = 0; + values[valuesById[0] = "NON_RECOVERABLE"] = 0; + values[valuesById[1] = "RECOVERABLE"] = 1; return values; })(); - return OAuth2TokenRequest; + return ContainerError; })(); - core.SecurityContext = (function() { + core.ErrorDocument = (function() { /** - * Properties of a SecurityContext. + * Properties of an ErrorDocument. * @memberof flyteidl.core - * @interface ISecurityContext - * @property {flyteidl.core.IIdentity|null} [runAs] SecurityContext runAs - * @property {Array.|null} [secrets] SecurityContext secrets - * @property {Array.|null} [tokens] SecurityContext tokens + * @interface IErrorDocument + * @property {flyteidl.core.IContainerError|null} [error] ErrorDocument error */ /** - * Constructs a new SecurityContext. + * Constructs a new ErrorDocument. * @memberof flyteidl.core - * @classdesc Represents a SecurityContext. - * @implements ISecurityContext + * @classdesc Represents an ErrorDocument. + * @implements IErrorDocument * @constructor - * @param {flyteidl.core.ISecurityContext=} [properties] Properties to set + * @param {flyteidl.core.IErrorDocument=} [properties] Properties to set */ - function SecurityContext(properties) { - this.secrets = []; - this.tokens = []; + function ErrorDocument(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15423,94 +17438,62 @@ } /** - * SecurityContext runAs. - * @member {flyteidl.core.IIdentity|null|undefined} runAs - * @memberof flyteidl.core.SecurityContext - * @instance - */ - SecurityContext.prototype.runAs = null; - - /** - * SecurityContext secrets. - * @member {Array.} secrets - * @memberof flyteidl.core.SecurityContext - * @instance - */ - SecurityContext.prototype.secrets = $util.emptyArray; - - /** - * SecurityContext tokens. - * @member {Array.} tokens - * @memberof flyteidl.core.SecurityContext + * ErrorDocument error. + * @member {flyteidl.core.IContainerError|null|undefined} error + * @memberof flyteidl.core.ErrorDocument * @instance */ - SecurityContext.prototype.tokens = $util.emptyArray; + ErrorDocument.prototype.error = null; /** - * Creates a new SecurityContext instance using the specified properties. + * Creates a new ErrorDocument instance using the specified properties. * @function create - * @memberof flyteidl.core.SecurityContext + * @memberof flyteidl.core.ErrorDocument * @static - * @param {flyteidl.core.ISecurityContext=} [properties] Properties to set - * @returns {flyteidl.core.SecurityContext} SecurityContext instance + * @param {flyteidl.core.IErrorDocument=} [properties] Properties to set + * @returns {flyteidl.core.ErrorDocument} ErrorDocument instance */ - SecurityContext.create = function create(properties) { - return new SecurityContext(properties); + ErrorDocument.create = function create(properties) { + return new ErrorDocument(properties); }; /** - * Encodes the specified SecurityContext message. Does not implicitly {@link flyteidl.core.SecurityContext.verify|verify} messages. + * Encodes the specified ErrorDocument message. Does not implicitly {@link flyteidl.core.ErrorDocument.verify|verify} messages. * @function encode - * @memberof flyteidl.core.SecurityContext + * @memberof flyteidl.core.ErrorDocument * @static - * @param {flyteidl.core.ISecurityContext} message SecurityContext message or plain object to encode + * @param {flyteidl.core.IErrorDocument} message ErrorDocument message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SecurityContext.encode = function encode(message, writer) { + ErrorDocument.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.runAs != null && message.hasOwnProperty("runAs")) - $root.flyteidl.core.Identity.encode(message.runAs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.secrets != null && message.secrets.length) - for (var i = 0; i < message.secrets.length; ++i) - $root.flyteidl.core.Secret.encode(message.secrets[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.tokens != null && message.tokens.length) - for (var i = 0; i < message.tokens.length; ++i) - $root.flyteidl.core.OAuth2TokenRequest.encode(message.tokens[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.ContainerError.encode(message.error, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a SecurityContext message from the specified reader or buffer. + * Decodes an ErrorDocument message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.SecurityContext + * @memberof flyteidl.core.ErrorDocument * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.SecurityContext} SecurityContext + * @returns {flyteidl.core.ErrorDocument} ErrorDocument * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SecurityContext.decode = function decode(reader, length) { + ErrorDocument.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.SecurityContext(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ErrorDocument(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.runAs = $root.flyteidl.core.Identity.decode(reader, reader.uint32()); - break; - case 2: - if (!(message.secrets && message.secrets.length)) - message.secrets = []; - message.secrets.push($root.flyteidl.core.Secret.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.tokens && message.tokens.length)) - message.tokens = []; - message.tokens.push($root.flyteidl.core.OAuth2TokenRequest.decode(reader, reader.uint32())); + message.error = $root.flyteidl.core.ContainerError.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -15521,71 +17504,52 @@ }; /** - * Verifies a SecurityContext message. + * Verifies an ErrorDocument message. * @function verify - * @memberof flyteidl.core.SecurityContext + * @memberof flyteidl.core.ErrorDocument * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SecurityContext.verify = function verify(message) { + ErrorDocument.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.runAs != null && message.hasOwnProperty("runAs")) { - var error = $root.flyteidl.core.Identity.verify(message.runAs); + if (message.error != null && message.hasOwnProperty("error")) { + var error = $root.flyteidl.core.ContainerError.verify(message.error); if (error) - return "runAs." + error; - } - if (message.secrets != null && message.hasOwnProperty("secrets")) { - if (!Array.isArray(message.secrets)) - return "secrets: array expected"; - for (var i = 0; i < message.secrets.length; ++i) { - var error = $root.flyteidl.core.Secret.verify(message.secrets[i]); - if (error) - return "secrets." + error; - } - } - if (message.tokens != null && message.hasOwnProperty("tokens")) { - if (!Array.isArray(message.tokens)) - return "tokens: array expected"; - for (var i = 0; i < message.tokens.length; ++i) { - var error = $root.flyteidl.core.OAuth2TokenRequest.verify(message.tokens[i]); - if (error) - return "tokens." + error; - } + return "error." + error; } return null; }; - return SecurityContext; + return ErrorDocument; })(); - core.DynamicJobSpec = (function() { + core.Span = (function() { /** - * Properties of a DynamicJobSpec. + * Properties of a Span. * @memberof flyteidl.core - * @interface IDynamicJobSpec - * @property {Array.|null} [nodes] DynamicJobSpec nodes - * @property {Long|null} [minSuccesses] DynamicJobSpec minSuccesses - * @property {Array.|null} [outputs] DynamicJobSpec outputs - * @property {Array.|null} [tasks] DynamicJobSpec tasks - * @property {Array.|null} [subworkflows] DynamicJobSpec subworkflows + * @interface ISpan + * @property {google.protobuf.ITimestamp|null} [startTime] Span startTime + * @property {google.protobuf.ITimestamp|null} [endTime] Span endTime + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowId] Span workflowId + * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeId] Span nodeId + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskId] Span taskId + * @property {string|null} [operationId] Span operationId + * @property {Array.|null} [spans] Span spans */ /** - * Constructs a new DynamicJobSpec. + * Constructs a new Span. * @memberof flyteidl.core - * @classdesc Represents a DynamicJobSpec. - * @implements IDynamicJobSpec + * @classdesc Represents a Span. + * @implements ISpan * @constructor - * @param {flyteidl.core.IDynamicJobSpec=} [properties] Properties to set + * @param {flyteidl.core.ISpan=} [properties] Properties to set */ - function DynamicJobSpec(properties) { - this.nodes = []; - this.outputs = []; - this.tasks = []; - this.subworkflows = []; + function Span(properties) { + this.spans = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15593,126 +17557,157 @@ } /** - * DynamicJobSpec nodes. - * @member {Array.} nodes - * @memberof flyteidl.core.DynamicJobSpec + * Span startTime. + * @member {google.protobuf.ITimestamp|null|undefined} startTime + * @memberof flyteidl.core.Span * @instance */ - DynamicJobSpec.prototype.nodes = $util.emptyArray; + Span.prototype.startTime = null; /** - * DynamicJobSpec minSuccesses. - * @member {Long} minSuccesses - * @memberof flyteidl.core.DynamicJobSpec + * Span endTime. + * @member {google.protobuf.ITimestamp|null|undefined} endTime + * @memberof flyteidl.core.Span * @instance */ - DynamicJobSpec.prototype.minSuccesses = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + Span.prototype.endTime = null; /** - * DynamicJobSpec outputs. - * @member {Array.} outputs - * @memberof flyteidl.core.DynamicJobSpec + * Span workflowId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowId + * @memberof flyteidl.core.Span * @instance */ - DynamicJobSpec.prototype.outputs = $util.emptyArray; + Span.prototype.workflowId = null; /** - * DynamicJobSpec tasks. - * @member {Array.} tasks - * @memberof flyteidl.core.DynamicJobSpec + * Span nodeId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeId + * @memberof flyteidl.core.Span * @instance */ - DynamicJobSpec.prototype.tasks = $util.emptyArray; + Span.prototype.nodeId = null; /** - * DynamicJobSpec subworkflows. - * @member {Array.} subworkflows - * @memberof flyteidl.core.DynamicJobSpec + * Span taskId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskId + * @memberof flyteidl.core.Span * @instance */ - DynamicJobSpec.prototype.subworkflows = $util.emptyArray; + Span.prototype.taskId = null; /** - * Creates a new DynamicJobSpec instance using the specified properties. + * Span operationId. + * @member {string} operationId + * @memberof flyteidl.core.Span + * @instance + */ + Span.prototype.operationId = ""; + + /** + * Span spans. + * @member {Array.} spans + * @memberof flyteidl.core.Span + * @instance + */ + Span.prototype.spans = $util.emptyArray; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * Span id. + * @member {"workflowId"|"nodeId"|"taskId"|"operationId"|undefined} id + * @memberof flyteidl.core.Span + * @instance + */ + Object.defineProperty(Span.prototype, "id", { + get: $util.oneOfGetter($oneOfFields = ["workflowId", "nodeId", "taskId", "operationId"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Span instance using the specified properties. * @function create - * @memberof flyteidl.core.DynamicJobSpec + * @memberof flyteidl.core.Span * @static - * @param {flyteidl.core.IDynamicJobSpec=} [properties] Properties to set - * @returns {flyteidl.core.DynamicJobSpec} DynamicJobSpec instance + * @param {flyteidl.core.ISpan=} [properties] Properties to set + * @returns {flyteidl.core.Span} Span instance */ - DynamicJobSpec.create = function create(properties) { - return new DynamicJobSpec(properties); + Span.create = function create(properties) { + return new Span(properties); }; /** - * Encodes the specified DynamicJobSpec message. Does not implicitly {@link flyteidl.core.DynamicJobSpec.verify|verify} messages. + * Encodes the specified Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages. * @function encode - * @memberof flyteidl.core.DynamicJobSpec + * @memberof flyteidl.core.Span * @static - * @param {flyteidl.core.IDynamicJobSpec} message DynamicJobSpec message or plain object to encode + * @param {flyteidl.core.ISpan} message Span message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DynamicJobSpec.encode = function encode(message, writer) { + Span.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.nodes != null && message.nodes.length) - for (var i = 0; i < message.nodes.length; ++i) - $root.flyteidl.core.Node.encode(message.nodes[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.minSuccesses); - if (message.outputs != null && message.outputs.length) - for (var i = 0; i < message.outputs.length; ++i) - $root.flyteidl.core.Binding.encode(message.outputs[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.tasks != null && message.tasks.length) - for (var i = 0; i < message.tasks.length; ++i) - $root.flyteidl.core.TaskTemplate.encode(message.tasks[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.subworkflows != null && message.subworkflows.length) - for (var i = 0; i < message.subworkflows.length; ++i) - $root.flyteidl.core.WorkflowTemplate.encode(message.subworkflows[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.startTime != null && message.hasOwnProperty("startTime")) + $root.google.protobuf.Timestamp.encode(message.startTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.endTime != null && message.hasOwnProperty("endTime")) + $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.workflowId != null && message.hasOwnProperty("workflowId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeId, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.taskId != null && message.hasOwnProperty("taskId")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskId, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.operationId != null && message.hasOwnProperty("operationId")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.operationId); + if (message.spans != null && message.spans.length) + for (var i = 0; i < message.spans.length; ++i) + $root.flyteidl.core.Span.encode(message.spans[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); return writer; }; /** - * Decodes a DynamicJobSpec message from the specified reader or buffer. + * Decodes a Span message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.DynamicJobSpec + * @memberof flyteidl.core.Span * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.DynamicJobSpec} DynamicJobSpec + * @returns {flyteidl.core.Span} Span * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DynamicJobSpec.decode = function decode(reader, length) { + Span.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.DynamicJobSpec(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Span(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.nodes && message.nodes.length)) - message.nodes = []; - message.nodes.push($root.flyteidl.core.Node.decode(reader, reader.uint32())); + message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; case 2: - message.minSuccesses = reader.int64(); + message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; case 3: - if (!(message.outputs && message.outputs.length)) - message.outputs = []; - message.outputs.push($root.flyteidl.core.Binding.decode(reader, reader.uint32())); + message.workflowId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 4: - if (!(message.tasks && message.tasks.length)) - message.tasks = []; - message.tasks.push($root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32())); + message.nodeId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); break; case 5: - if (!(message.subworkflows && message.subworkflows.length)) - message.subworkflows = []; - message.subworkflows.push($root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32())); + message.taskId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 6: + message.operationId = reader.string(); + break; + case 7: + if (!(message.spans && message.spans.length)) + message.spans = []; + message.spans.push($root.flyteidl.core.Span.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -15723,82 +17718,97 @@ }; /** - * Verifies a DynamicJobSpec message. + * Verifies a Span message. * @function verify - * @memberof flyteidl.core.DynamicJobSpec + * @memberof flyteidl.core.Span * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DynamicJobSpec.verify = function verify(message) { + Span.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.nodes != null && message.hasOwnProperty("nodes")) { - if (!Array.isArray(message.nodes)) - return "nodes: array expected"; - for (var i = 0; i < message.nodes.length; ++i) { - var error = $root.flyteidl.core.Node.verify(message.nodes[i]); + var properties = {}; + if (message.startTime != null && message.hasOwnProperty("startTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.startTime); + if (error) + return "startTime." + error; + } + if (message.endTime != null && message.hasOwnProperty("endTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.endTime); + if (error) + return "endTime." + error; + } + if (message.workflowId != null && message.hasOwnProperty("workflowId")) { + properties.id = 1; + { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowId); if (error) - return "nodes." + error; + return "workflowId." + error; } } - if (message.minSuccesses != null && message.hasOwnProperty("minSuccesses")) - if (!$util.isInteger(message.minSuccesses) && !(message.minSuccesses && $util.isInteger(message.minSuccesses.low) && $util.isInteger(message.minSuccesses.high))) - return "minSuccesses: integer|Long expected"; - if (message.outputs != null && message.hasOwnProperty("outputs")) { - if (!Array.isArray(message.outputs)) - return "outputs: array expected"; - for (var i = 0; i < message.outputs.length; ++i) { - var error = $root.flyteidl.core.Binding.verify(message.outputs[i]); + if (message.nodeId != null && message.hasOwnProperty("nodeId")) { + if (properties.id === 1) + return "id: multiple values"; + properties.id = 1; + { + var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeId); if (error) - return "outputs." + error; + return "nodeId." + error; } } - if (message.tasks != null && message.hasOwnProperty("tasks")) { - if (!Array.isArray(message.tasks)) - return "tasks: array expected"; - for (var i = 0; i < message.tasks.length; ++i) { - var error = $root.flyteidl.core.TaskTemplate.verify(message.tasks[i]); + if (message.taskId != null && message.hasOwnProperty("taskId")) { + if (properties.id === 1) + return "id: multiple values"; + properties.id = 1; + { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskId); if (error) - return "tasks." + error; + return "taskId." + error; } } - if (message.subworkflows != null && message.hasOwnProperty("subworkflows")) { - if (!Array.isArray(message.subworkflows)) - return "subworkflows: array expected"; - for (var i = 0; i < message.subworkflows.length; ++i) { - var error = $root.flyteidl.core.WorkflowTemplate.verify(message.subworkflows[i]); + if (message.operationId != null && message.hasOwnProperty("operationId")) { + if (properties.id === 1) + return "id: multiple values"; + properties.id = 1; + if (!$util.isString(message.operationId)) + return "operationId: string expected"; + } + if (message.spans != null && message.hasOwnProperty("spans")) { + if (!Array.isArray(message.spans)) + return "spans: array expected"; + for (var i = 0; i < message.spans.length; ++i) { + var error = $root.flyteidl.core.Span.verify(message.spans[i]); if (error) - return "subworkflows." + error; + return "spans." + error; } } return null; }; - return DynamicJobSpec; + return Span; })(); - core.ContainerError = (function() { + core.WorkflowClosure = (function() { /** - * Properties of a ContainerError. + * Properties of a WorkflowClosure. * @memberof flyteidl.core - * @interface IContainerError - * @property {string|null} [code] ContainerError code - * @property {string|null} [message] ContainerError message - * @property {flyteidl.core.ContainerError.Kind|null} [kind] ContainerError kind - * @property {flyteidl.core.ExecutionError.ErrorKind|null} [origin] ContainerError origin + * @interface IWorkflowClosure + * @property {flyteidl.core.IWorkflowTemplate|null} [workflow] WorkflowClosure workflow + * @property {Array.|null} [tasks] WorkflowClosure tasks */ /** - * Constructs a new ContainerError. + * Constructs a new WorkflowClosure. * @memberof flyteidl.core - * @classdesc Represents a ContainerError. - * @implements IContainerError + * @classdesc Represents a WorkflowClosure. + * @implements IWorkflowClosure * @constructor - * @param {flyteidl.core.IContainerError=} [properties] Properties to set + * @param {flyteidl.core.IWorkflowClosure=} [properties] Properties to set */ - function ContainerError(properties) { + function WorkflowClosure(properties) { + this.tasks = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15806,101 +17816,78 @@ } /** - * ContainerError code. - * @member {string} code - * @memberof flyteidl.core.ContainerError - * @instance - */ - ContainerError.prototype.code = ""; - - /** - * ContainerError message. - * @member {string} message - * @memberof flyteidl.core.ContainerError - * @instance - */ - ContainerError.prototype.message = ""; - - /** - * ContainerError kind. - * @member {flyteidl.core.ContainerError.Kind} kind - * @memberof flyteidl.core.ContainerError + * WorkflowClosure workflow. + * @member {flyteidl.core.IWorkflowTemplate|null|undefined} workflow + * @memberof flyteidl.core.WorkflowClosure * @instance */ - ContainerError.prototype.kind = 0; + WorkflowClosure.prototype.workflow = null; /** - * ContainerError origin. - * @member {flyteidl.core.ExecutionError.ErrorKind} origin - * @memberof flyteidl.core.ContainerError + * WorkflowClosure tasks. + * @member {Array.} tasks + * @memberof flyteidl.core.WorkflowClosure * @instance */ - ContainerError.prototype.origin = 0; + WorkflowClosure.prototype.tasks = $util.emptyArray; /** - * Creates a new ContainerError instance using the specified properties. + * Creates a new WorkflowClosure instance using the specified properties. * @function create - * @memberof flyteidl.core.ContainerError + * @memberof flyteidl.core.WorkflowClosure * @static - * @param {flyteidl.core.IContainerError=} [properties] Properties to set - * @returns {flyteidl.core.ContainerError} ContainerError instance + * @param {flyteidl.core.IWorkflowClosure=} [properties] Properties to set + * @returns {flyteidl.core.WorkflowClosure} WorkflowClosure instance */ - ContainerError.create = function create(properties) { - return new ContainerError(properties); + WorkflowClosure.create = function create(properties) { + return new WorkflowClosure(properties); }; /** - * Encodes the specified ContainerError message. Does not implicitly {@link flyteidl.core.ContainerError.verify|verify} messages. + * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.core.WorkflowClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ContainerError + * @memberof flyteidl.core.WorkflowClosure * @static - * @param {flyteidl.core.IContainerError} message ContainerError message or plain object to encode + * @param {flyteidl.core.IWorkflowClosure} message WorkflowClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ContainerError.encode = function encode(message, writer) { + WorkflowClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.code != null && message.hasOwnProperty("code")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.code); - if (message.message != null && message.hasOwnProperty("message")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.message); - if (message.kind != null && message.hasOwnProperty("kind")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.kind); - if (message.origin != null && message.hasOwnProperty("origin")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.origin); + if (message.workflow != null && message.hasOwnProperty("workflow")) + $root.flyteidl.core.WorkflowTemplate.encode(message.workflow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.tasks != null && message.tasks.length) + for (var i = 0; i < message.tasks.length; ++i) + $root.flyteidl.core.TaskTemplate.encode(message.tasks[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ContainerError message from the specified reader or buffer. + * Decodes a WorkflowClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ContainerError + * @memberof flyteidl.core.WorkflowClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ContainerError} ContainerError + * @returns {flyteidl.core.WorkflowClosure} WorkflowClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ContainerError.decode = function decode(reader, length) { + WorkflowClosure.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ContainerError(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowClosure(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.code = reader.string(); + message.workflow = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); break; case 2: - message.message = reader.string(); - break; - case 3: - message.kind = reader.int32(); - break; - case 4: - message.origin = reader.int32(); + if (!(message.tasks && message.tasks.length)) + message.tasks = []; + message.tasks.push($root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -15911,77 +17898,74 @@ }; /** - * Verifies a ContainerError message. + * Verifies a WorkflowClosure message. * @function verify - * @memberof flyteidl.core.ContainerError + * @memberof flyteidl.core.WorkflowClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ContainerError.verify = function verify(message) { + WorkflowClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.code != null && message.hasOwnProperty("code")) - if (!$util.isString(message.code)) - return "code: string expected"; - if (message.message != null && message.hasOwnProperty("message")) - if (!$util.isString(message.message)) - return "message: string expected"; - if (message.kind != null && message.hasOwnProperty("kind")) - switch (message.kind) { - default: - return "kind: enum value expected"; - case 0: - case 1: - break; - } - if (message.origin != null && message.hasOwnProperty("origin")) - switch (message.origin) { - default: - return "origin: enum value expected"; - case 0: - case 1: - case 2: - break; + if (message.workflow != null && message.hasOwnProperty("workflow")) { + var error = $root.flyteidl.core.WorkflowTemplate.verify(message.workflow); + if (error) + return "workflow." + error; + } + if (message.tasks != null && message.hasOwnProperty("tasks")) { + if (!Array.isArray(message.tasks)) + return "tasks: array expected"; + for (var i = 0; i < message.tasks.length; ++i) { + var error = $root.flyteidl.core.TaskTemplate.verify(message.tasks[i]); + if (error) + return "tasks." + error; } + } return null; }; - /** - * Kind enum. - * @name flyteidl.core.ContainerError.Kind - * @enum {string} - * @property {number} NON_RECOVERABLE=0 NON_RECOVERABLE value - * @property {number} RECOVERABLE=1 RECOVERABLE value - */ - ContainerError.Kind = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "NON_RECOVERABLE"] = 0; - values[valuesById[1] = "RECOVERABLE"] = 1; - return values; - })(); - - return ContainerError; + return WorkflowClosure; })(); - core.ErrorDocument = (function() { + return core; + })(); + + flyteidl.event = (function() { + + /** + * Namespace event. + * @memberof flyteidl + * @namespace + */ + var event = {}; + + event.CloudEventWorkflowExecution = (function() { /** - * Properties of an ErrorDocument. - * @memberof flyteidl.core - * @interface IErrorDocument - * @property {flyteidl.core.IContainerError|null} [error] ErrorDocument error + * Properties of a CloudEventWorkflowExecution. + * @memberof flyteidl.event + * @interface ICloudEventWorkflowExecution + * @property {flyteidl.event.IWorkflowExecutionEvent|null} [rawEvent] CloudEventWorkflowExecution rawEvent + * @property {flyteidl.core.ILiteralMap|null} [outputData] CloudEventWorkflowExecution outputData + * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventWorkflowExecution outputInterface + * @property {flyteidl.core.ILiteralMap|null} [inputData] CloudEventWorkflowExecution inputData + * @property {Array.|null} [artifactIds] CloudEventWorkflowExecution artifactIds + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] CloudEventWorkflowExecution referenceExecution + * @property {string|null} [principal] CloudEventWorkflowExecution principal + * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventWorkflowExecution launchPlanId */ /** - * Constructs a new ErrorDocument. - * @memberof flyteidl.core - * @classdesc Represents an ErrorDocument. - * @implements IErrorDocument + * Constructs a new CloudEventWorkflowExecution. + * @memberof flyteidl.event + * @classdesc Represents a CloudEventWorkflowExecution. + * @implements ICloudEventWorkflowExecution * @constructor - * @param {flyteidl.core.IErrorDocument=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventWorkflowExecution=} [properties] Properties to set */ - function ErrorDocument(properties) { + function CloudEventWorkflowExecution(properties) { + this.artifactIds = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -15989,62 +17973,156 @@ } /** - * ErrorDocument error. - * @member {flyteidl.core.IContainerError|null|undefined} error - * @memberof flyteidl.core.ErrorDocument + * CloudEventWorkflowExecution rawEvent. + * @member {flyteidl.event.IWorkflowExecutionEvent|null|undefined} rawEvent + * @memberof flyteidl.event.CloudEventWorkflowExecution * @instance */ - ErrorDocument.prototype.error = null; + CloudEventWorkflowExecution.prototype.rawEvent = null; /** - * Creates a new ErrorDocument instance using the specified properties. + * CloudEventWorkflowExecution outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.outputData = null; + + /** + * CloudEventWorkflowExecution outputInterface. + * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.outputInterface = null; + + /** + * CloudEventWorkflowExecution inputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputData + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.inputData = null; + + /** + * CloudEventWorkflowExecution artifactIds. + * @member {Array.} artifactIds + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.artifactIds = $util.emptyArray; + + /** + * CloudEventWorkflowExecution referenceExecution. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} referenceExecution + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.referenceExecution = null; + + /** + * CloudEventWorkflowExecution principal. + * @member {string} principal + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.principal = ""; + + /** + * CloudEventWorkflowExecution launchPlanId. + * @member {flyteidl.core.IIdentifier|null|undefined} launchPlanId + * @memberof flyteidl.event.CloudEventWorkflowExecution + * @instance + */ + CloudEventWorkflowExecution.prototype.launchPlanId = null; + + /** + * Creates a new CloudEventWorkflowExecution instance using the specified properties. * @function create - * @memberof flyteidl.core.ErrorDocument + * @memberof flyteidl.event.CloudEventWorkflowExecution * @static - * @param {flyteidl.core.IErrorDocument=} [properties] Properties to set - * @returns {flyteidl.core.ErrorDocument} ErrorDocument instance + * @param {flyteidl.event.ICloudEventWorkflowExecution=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventWorkflowExecution} CloudEventWorkflowExecution instance */ - ErrorDocument.create = function create(properties) { - return new ErrorDocument(properties); + CloudEventWorkflowExecution.create = function create(properties) { + return new CloudEventWorkflowExecution(properties); }; /** - * Encodes the specified ErrorDocument message. Does not implicitly {@link flyteidl.core.ErrorDocument.verify|verify} messages. + * Encodes the specified CloudEventWorkflowExecution message. Does not implicitly {@link flyteidl.event.CloudEventWorkflowExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.core.ErrorDocument + * @memberof flyteidl.event.CloudEventWorkflowExecution * @static - * @param {flyteidl.core.IErrorDocument} message ErrorDocument message or plain object to encode + * @param {flyteidl.event.ICloudEventWorkflowExecution} message CloudEventWorkflowExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ErrorDocument.encode = function encode(message, writer) { + CloudEventWorkflowExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.ContainerError.encode(message.error, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) + $root.flyteidl.event.WorkflowExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.outputData != null && message.hasOwnProperty("outputData")) + $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) + $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.inputData != null && message.hasOwnProperty("inputData")) + $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.artifactIds != null && message.artifactIds.length) + for (var i = 0; i < message.artifactIds.length; ++i) + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.principal != null && message.hasOwnProperty("principal")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.principal); + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) + $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; /** - * Decodes an ErrorDocument message from the specified reader or buffer. + * Decodes a CloudEventWorkflowExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.ErrorDocument + * @memberof flyteidl.event.CloudEventWorkflowExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.ErrorDocument} ErrorDocument + * @returns {flyteidl.event.CloudEventWorkflowExecution} CloudEventWorkflowExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ErrorDocument.decode = function decode(reader, length) { + CloudEventWorkflowExecution.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ErrorDocument(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventWorkflowExecution(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.error = $root.flyteidl.core.ContainerError.decode(reader, reader.uint32()); + message.rawEvent = $root.flyteidl.event.WorkflowExecutionEvent.decode(reader, reader.uint32()); + break; + case 2: + message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 3: + message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); + break; + case 4: + message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); + break; + case 5: + if (!(message.artifactIds && message.artifactIds.length)) + message.artifactIds = []; + message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); + break; + case 6: + message.referenceExecution = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 7: + message.principal = reader.string(); + break; + case 8: + message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -16055,52 +18133,90 @@ }; /** - * Verifies an ErrorDocument message. + * Verifies a CloudEventWorkflowExecution message. * @function verify - * @memberof flyteidl.core.ErrorDocument + * @memberof flyteidl.event.CloudEventWorkflowExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ErrorDocument.verify = function verify(message) { + CloudEventWorkflowExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.error != null && message.hasOwnProperty("error")) { - var error = $root.flyteidl.core.ContainerError.verify(message.error); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) { + var error = $root.flyteidl.event.WorkflowExecutionEvent.verify(message.rawEvent); if (error) - return "error." + error; + return "rawEvent." + error; + } + if (message.outputData != null && message.hasOwnProperty("outputData")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + if (error) + return "outputData." + error; + } + if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { + var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); + if (error) + return "outputInterface." + error; + } + if (message.inputData != null && message.hasOwnProperty("inputData")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); + if (error) + return "inputData." + error; + } + if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { + if (!Array.isArray(message.artifactIds)) + return "artifactIds: array expected"; + for (var i = 0; i < message.artifactIds.length; ++i) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); + if (error) + return "artifactIds." + error; + } + } + if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.referenceExecution); + if (error) + return "referenceExecution." + error; + } + if (message.principal != null && message.hasOwnProperty("principal")) + if (!$util.isString(message.principal)) + return "principal: string expected"; + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) { + var error = $root.flyteidl.core.Identifier.verify(message.launchPlanId); + if (error) + return "launchPlanId." + error; } return null; }; - return ErrorDocument; + return CloudEventWorkflowExecution; })(); - core.Span = (function() { + event.CloudEventNodeExecution = (function() { /** - * Properties of a Span. - * @memberof flyteidl.core - * @interface ISpan - * @property {google.protobuf.ITimestamp|null} [startTime] Span startTime - * @property {google.protobuf.ITimestamp|null} [endTime] Span endTime - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowId] Span workflowId - * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeId] Span nodeId - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskId] Span taskId - * @property {string|null} [operationId] Span operationId - * @property {Array.|null} [spans] Span spans + * Properties of a CloudEventNodeExecution. + * @memberof flyteidl.event + * @interface ICloudEventNodeExecution + * @property {flyteidl.event.INodeExecutionEvent|null} [rawEvent] CloudEventNodeExecution rawEvent + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecId] CloudEventNodeExecution taskExecId + * @property {flyteidl.core.ILiteralMap|null} [outputData] CloudEventNodeExecution outputData + * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventNodeExecution outputInterface + * @property {flyteidl.core.ILiteralMap|null} [inputData] CloudEventNodeExecution inputData + * @property {Array.|null} [artifactIds] CloudEventNodeExecution artifactIds + * @property {string|null} [principal] CloudEventNodeExecution principal + * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventNodeExecution launchPlanId */ /** - * Constructs a new Span. - * @memberof flyteidl.core - * @classdesc Represents a Span. - * @implements ISpan + * Constructs a new CloudEventNodeExecution. + * @memberof flyteidl.event + * @classdesc Represents a CloudEventNodeExecution. + * @implements ICloudEventNodeExecution * @constructor - * @param {flyteidl.core.ISpan=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventNodeExecution=} [properties] Properties to set */ - function Span(properties) { - this.spans = []; + function CloudEventNodeExecution(properties) { + this.artifactIds = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -16108,157 +18224,156 @@ } /** - * Span startTime. - * @member {google.protobuf.ITimestamp|null|undefined} startTime - * @memberof flyteidl.core.Span + * CloudEventNodeExecution rawEvent. + * @member {flyteidl.event.INodeExecutionEvent|null|undefined} rawEvent + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - Span.prototype.startTime = null; + CloudEventNodeExecution.prototype.rawEvent = null; /** - * Span endTime. - * @member {google.protobuf.ITimestamp|null|undefined} endTime - * @memberof flyteidl.core.Span + * CloudEventNodeExecution taskExecId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecId + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - Span.prototype.endTime = null; + CloudEventNodeExecution.prototype.taskExecId = null; /** - * Span workflowId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowId - * @memberof flyteidl.core.Span + * CloudEventNodeExecution outputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} outputData + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - Span.prototype.workflowId = null; + CloudEventNodeExecution.prototype.outputData = null; /** - * Span nodeId. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeId - * @memberof flyteidl.core.Span + * CloudEventNodeExecution outputInterface. + * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - Span.prototype.nodeId = null; + CloudEventNodeExecution.prototype.outputInterface = null; /** - * Span taskId. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskId - * @memberof flyteidl.core.Span + * CloudEventNodeExecution inputData. + * @member {flyteidl.core.ILiteralMap|null|undefined} inputData + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - Span.prototype.taskId = null; + CloudEventNodeExecution.prototype.inputData = null; /** - * Span operationId. - * @member {string} operationId - * @memberof flyteidl.core.Span + * CloudEventNodeExecution artifactIds. + * @member {Array.} artifactIds + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - Span.prototype.operationId = ""; + CloudEventNodeExecution.prototype.artifactIds = $util.emptyArray; /** - * Span spans. - * @member {Array.} spans - * @memberof flyteidl.core.Span + * CloudEventNodeExecution principal. + * @member {string} principal + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - Span.prototype.spans = $util.emptyArray; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + CloudEventNodeExecution.prototype.principal = ""; /** - * Span id. - * @member {"workflowId"|"nodeId"|"taskId"|"operationId"|undefined} id - * @memberof flyteidl.core.Span + * CloudEventNodeExecution launchPlanId. + * @member {flyteidl.core.IIdentifier|null|undefined} launchPlanId + * @memberof flyteidl.event.CloudEventNodeExecution * @instance */ - Object.defineProperty(Span.prototype, "id", { - get: $util.oneOfGetter($oneOfFields = ["workflowId", "nodeId", "taskId", "operationId"]), - set: $util.oneOfSetter($oneOfFields) - }); + CloudEventNodeExecution.prototype.launchPlanId = null; /** - * Creates a new Span instance using the specified properties. + * Creates a new CloudEventNodeExecution instance using the specified properties. * @function create - * @memberof flyteidl.core.Span + * @memberof flyteidl.event.CloudEventNodeExecution * @static - * @param {flyteidl.core.ISpan=} [properties] Properties to set - * @returns {flyteidl.core.Span} Span instance + * @param {flyteidl.event.ICloudEventNodeExecution=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventNodeExecution} CloudEventNodeExecution instance */ - Span.create = function create(properties) { - return new Span(properties); + CloudEventNodeExecution.create = function create(properties) { + return new CloudEventNodeExecution(properties); }; /** - * Encodes the specified Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages. + * Encodes the specified CloudEventNodeExecution message. Does not implicitly {@link flyteidl.event.CloudEventNodeExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.core.Span + * @memberof flyteidl.event.CloudEventNodeExecution * @static - * @param {flyteidl.core.ISpan} message Span message or plain object to encode + * @param {flyteidl.event.ICloudEventNodeExecution} message CloudEventNodeExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Span.encode = function encode(message, writer) { + CloudEventNodeExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.startTime != null && message.hasOwnProperty("startTime")) - $root.google.protobuf.Timestamp.encode(message.startTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.endTime != null && message.hasOwnProperty("endTime")) - $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.workflowId != null && message.hasOwnProperty("workflowId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.nodeId != null && message.hasOwnProperty("nodeId")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeId, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.taskId != null && message.hasOwnProperty("taskId")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskId, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.operationId != null && message.hasOwnProperty("operationId")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.operationId); - if (message.spans != null && message.spans.length) - for (var i = 0; i < message.spans.length; ++i) - $root.flyteidl.core.Span.encode(message.spans[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) + $root.flyteidl.event.NodeExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.taskExecId != null && message.hasOwnProperty("taskExecId")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.outputData != null && message.hasOwnProperty("outputData")) + $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) + $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.inputData != null && message.hasOwnProperty("inputData")) + $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.artifactIds != null && message.artifactIds.length) + for (var i = 0; i < message.artifactIds.length; ++i) + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.principal != null && message.hasOwnProperty("principal")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.principal); + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) + $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; /** - * Decodes a Span message from the specified reader or buffer. + * Decodes a CloudEventNodeExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.Span + * @memberof flyteidl.event.CloudEventNodeExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.Span} Span + * @returns {flyteidl.event.CloudEventNodeExecution} CloudEventNodeExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Span.decode = function decode(reader, length) { + CloudEventNodeExecution.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.Span(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventNodeExecution(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.rawEvent = $root.flyteidl.event.NodeExecutionEvent.decode(reader, reader.uint32()); break; case 2: - message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.taskExecId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 3: - message.workflowId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 4: - message.nodeId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); break; case 5: - message.taskId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); break; case 6: - message.operationId = reader.string(); + if (!(message.artifactIds && message.artifactIds.length)) + message.artifactIds = []; + message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; case 7: - if (!(message.spans && message.spans.length)) - message.spans = []; - message.spans.push($root.flyteidl.core.Span.decode(reader, reader.uint32())); + message.principal = reader.string(); + break; + case 8: + message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -16269,97 +18384,201 @@ }; /** - * Verifies a Span message. + * Verifies a CloudEventNodeExecution message. * @function verify - * @memberof flyteidl.core.Span + * @memberof flyteidl.event.CloudEventNodeExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Span.verify = function verify(message) { + CloudEventNodeExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.startTime != null && message.hasOwnProperty("startTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.startTime); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) { + var error = $root.flyteidl.event.NodeExecutionEvent.verify(message.rawEvent); if (error) - return "startTime." + error; + return "rawEvent." + error; } - if (message.endTime != null && message.hasOwnProperty("endTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.endTime); + if (message.taskExecId != null && message.hasOwnProperty("taskExecId")) { + var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecId); if (error) - return "endTime." + error; + return "taskExecId." + error; } - if (message.workflowId != null && message.hasOwnProperty("workflowId")) { - properties.id = 1; - { - var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowId); - if (error) - return "workflowId." + error; - } + if (message.outputData != null && message.hasOwnProperty("outputData")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); + if (error) + return "outputData." + error; } - if (message.nodeId != null && message.hasOwnProperty("nodeId")) { - if (properties.id === 1) - return "id: multiple values"; - properties.id = 1; - { - var error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeId); - if (error) - return "nodeId." + error; - } + if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { + var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); + if (error) + return "outputInterface." + error; } - if (message.taskId != null && message.hasOwnProperty("taskId")) { - if (properties.id === 1) - return "id: multiple values"; - properties.id = 1; - { - var error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskId); + if (message.inputData != null && message.hasOwnProperty("inputData")) { + var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); + if (error) + return "inputData." + error; + } + if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { + if (!Array.isArray(message.artifactIds)) + return "artifactIds: array expected"; + for (var i = 0; i < message.artifactIds.length; ++i) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); if (error) - return "taskId." + error; + return "artifactIds." + error; } } - if (message.operationId != null && message.hasOwnProperty("operationId")) { - if (properties.id === 1) - return "id: multiple values"; - properties.id = 1; - if (!$util.isString(message.operationId)) - return "operationId: string expected"; + if (message.principal != null && message.hasOwnProperty("principal")) + if (!$util.isString(message.principal)) + return "principal: string expected"; + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) { + var error = $root.flyteidl.core.Identifier.verify(message.launchPlanId); + if (error) + return "launchPlanId." + error; } - if (message.spans != null && message.hasOwnProperty("spans")) { - if (!Array.isArray(message.spans)) - return "spans: array expected"; - for (var i = 0; i < message.spans.length; ++i) { - var error = $root.flyteidl.core.Span.verify(message.spans[i]); - if (error) - return "spans." + error; + return null; + }; + + return CloudEventNodeExecution; + })(); + + event.CloudEventTaskExecution = (function() { + + /** + * Properties of a CloudEventTaskExecution. + * @memberof flyteidl.event + * @interface ICloudEventTaskExecution + * @property {flyteidl.event.ITaskExecutionEvent|null} [rawEvent] CloudEventTaskExecution rawEvent + */ + + /** + * Constructs a new CloudEventTaskExecution. + * @memberof flyteidl.event + * @classdesc Represents a CloudEventTaskExecution. + * @implements ICloudEventTaskExecution + * @constructor + * @param {flyteidl.event.ICloudEventTaskExecution=} [properties] Properties to set + */ + function CloudEventTaskExecution(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * CloudEventTaskExecution rawEvent. + * @member {flyteidl.event.ITaskExecutionEvent|null|undefined} rawEvent + * @memberof flyteidl.event.CloudEventTaskExecution + * @instance + */ + CloudEventTaskExecution.prototype.rawEvent = null; + + /** + * Creates a new CloudEventTaskExecution instance using the specified properties. + * @function create + * @memberof flyteidl.event.CloudEventTaskExecution + * @static + * @param {flyteidl.event.ICloudEventTaskExecution=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventTaskExecution} CloudEventTaskExecution instance + */ + CloudEventTaskExecution.create = function create(properties) { + return new CloudEventTaskExecution(properties); + }; + + /** + * Encodes the specified CloudEventTaskExecution message. Does not implicitly {@link flyteidl.event.CloudEventTaskExecution.verify|verify} messages. + * @function encode + * @memberof flyteidl.event.CloudEventTaskExecution + * @static + * @param {flyteidl.event.ICloudEventTaskExecution} message CloudEventTaskExecution message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CloudEventTaskExecution.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) + $root.flyteidl.event.TaskExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a CloudEventTaskExecution message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.event.CloudEventTaskExecution + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.event.CloudEventTaskExecution} CloudEventTaskExecution + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + CloudEventTaskExecution.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventTaskExecution(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.rawEvent = $root.flyteidl.event.TaskExecutionEvent.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; } } + return message; + }; + + /** + * Verifies a CloudEventTaskExecution message. + * @function verify + * @memberof flyteidl.event.CloudEventTaskExecution + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + CloudEventTaskExecution.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) { + var error = $root.flyteidl.event.TaskExecutionEvent.verify(message.rawEvent); + if (error) + return "rawEvent." + error; + } return null; }; - return Span; + return CloudEventTaskExecution; })(); - core.WorkflowClosure = (function() { + event.CloudEventExecutionStart = (function() { /** - * Properties of a WorkflowClosure. - * @memberof flyteidl.core - * @interface IWorkflowClosure - * @property {flyteidl.core.IWorkflowTemplate|null} [workflow] WorkflowClosure workflow - * @property {Array.|null} [tasks] WorkflowClosure tasks + * Properties of a CloudEventExecutionStart. + * @memberof flyteidl.event + * @interface ICloudEventExecutionStart + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] CloudEventExecutionStart executionId + * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventExecutionStart launchPlanId + * @property {flyteidl.core.IIdentifier|null} [workflowId] CloudEventExecutionStart workflowId + * @property {Array.|null} [artifactIds] CloudEventExecutionStart artifactIds + * @property {Array.|null} [artifactKeys] CloudEventExecutionStart artifactKeys + * @property {string|null} [principal] CloudEventExecutionStart principal */ /** - * Constructs a new WorkflowClosure. - * @memberof flyteidl.core - * @classdesc Represents a WorkflowClosure. - * @implements IWorkflowClosure + * Constructs a new CloudEventExecutionStart. + * @memberof flyteidl.event + * @classdesc Represents a CloudEventExecutionStart. + * @implements ICloudEventExecutionStart * @constructor - * @param {flyteidl.core.IWorkflowClosure=} [properties] Properties to set + * @param {flyteidl.event.ICloudEventExecutionStart=} [properties] Properties to set */ - function WorkflowClosure(properties) { - this.tasks = []; + function CloudEventExecutionStart(properties) { + this.artifactIds = []; + this.artifactKeys = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -16367,78 +18586,133 @@ } /** - * WorkflowClosure workflow. - * @member {flyteidl.core.IWorkflowTemplate|null|undefined} workflow - * @memberof flyteidl.core.WorkflowClosure + * CloudEventExecutionStart executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.event.CloudEventExecutionStart * @instance */ - WorkflowClosure.prototype.workflow = null; + CloudEventExecutionStart.prototype.executionId = null; /** - * WorkflowClosure tasks. - * @member {Array.} tasks - * @memberof flyteidl.core.WorkflowClosure + * CloudEventExecutionStart launchPlanId. + * @member {flyteidl.core.IIdentifier|null|undefined} launchPlanId + * @memberof flyteidl.event.CloudEventExecutionStart * @instance */ - WorkflowClosure.prototype.tasks = $util.emptyArray; + CloudEventExecutionStart.prototype.launchPlanId = null; /** - * Creates a new WorkflowClosure instance using the specified properties. + * CloudEventExecutionStart workflowId. + * @member {flyteidl.core.IIdentifier|null|undefined} workflowId + * @memberof flyteidl.event.CloudEventExecutionStart + * @instance + */ + CloudEventExecutionStart.prototype.workflowId = null; + + /** + * CloudEventExecutionStart artifactIds. + * @member {Array.} artifactIds + * @memberof flyteidl.event.CloudEventExecutionStart + * @instance + */ + CloudEventExecutionStart.prototype.artifactIds = $util.emptyArray; + + /** + * CloudEventExecutionStart artifactKeys. + * @member {Array.} artifactKeys + * @memberof flyteidl.event.CloudEventExecutionStart + * @instance + */ + CloudEventExecutionStart.prototype.artifactKeys = $util.emptyArray; + + /** + * CloudEventExecutionStart principal. + * @member {string} principal + * @memberof flyteidl.event.CloudEventExecutionStart + * @instance + */ + CloudEventExecutionStart.prototype.principal = ""; + + /** + * Creates a new CloudEventExecutionStart instance using the specified properties. * @function create - * @memberof flyteidl.core.WorkflowClosure + * @memberof flyteidl.event.CloudEventExecutionStart * @static - * @param {flyteidl.core.IWorkflowClosure=} [properties] Properties to set - * @returns {flyteidl.core.WorkflowClosure} WorkflowClosure instance + * @param {flyteidl.event.ICloudEventExecutionStart=} [properties] Properties to set + * @returns {flyteidl.event.CloudEventExecutionStart} CloudEventExecutionStart instance */ - WorkflowClosure.create = function create(properties) { - return new WorkflowClosure(properties); + CloudEventExecutionStart.create = function create(properties) { + return new CloudEventExecutionStart(properties); }; /** - * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.core.WorkflowClosure.verify|verify} messages. + * Encodes the specified CloudEventExecutionStart message. Does not implicitly {@link flyteidl.event.CloudEventExecutionStart.verify|verify} messages. * @function encode - * @memberof flyteidl.core.WorkflowClosure + * @memberof flyteidl.event.CloudEventExecutionStart * @static - * @param {flyteidl.core.IWorkflowClosure} message WorkflowClosure message or plain object to encode + * @param {flyteidl.event.ICloudEventExecutionStart} message CloudEventExecutionStart message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowClosure.encode = function encode(message, writer) { + CloudEventExecutionStart.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.workflow != null && message.hasOwnProperty("workflow")) - $root.flyteidl.core.WorkflowTemplate.encode(message.workflow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.tasks != null && message.tasks.length) - for (var i = 0; i < message.tasks.length; ++i) - $root.flyteidl.core.TaskTemplate.encode(message.tasks[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.executionId != null && message.hasOwnProperty("executionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) + $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.workflowId != null && message.hasOwnProperty("workflowId")) + $root.flyteidl.core.Identifier.encode(message.workflowId, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.artifactIds != null && message.artifactIds.length) + for (var i = 0; i < message.artifactIds.length; ++i) + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.artifactKeys != null && message.artifactKeys.length) + for (var i = 0; i < message.artifactKeys.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.artifactKeys[i]); + if (message.principal != null && message.hasOwnProperty("principal")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.principal); return writer; }; /** - * Decodes a WorkflowClosure message from the specified reader or buffer. + * Decodes a CloudEventExecutionStart message from the specified reader or buffer. * @function decode - * @memberof flyteidl.core.WorkflowClosure + * @memberof flyteidl.event.CloudEventExecutionStart * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.core.WorkflowClosure} WorkflowClosure + * @returns {flyteidl.event.CloudEventExecutionStart} CloudEventExecutionStart * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowClosure.decode = function decode(reader, length) { + CloudEventExecutionStart.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.WorkflowClosure(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.event.CloudEventExecutionStart(); while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.workflow = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - if (!(message.tasks && message.tasks.length)) - message.tasks = []; - message.tasks.push($root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32())); + message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 3: + message.workflowId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 4: + if (!(message.artifactIds && message.artifactIds.length)) + message.artifactIds = []; + message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); + break; + case 5: + if (!(message.artifactKeys && message.artifactKeys.length)) + message.artifactKeys = []; + message.artifactKeys.push(reader.string()); + break; + case 6: + message.principal = reader.string(); break; default: reader.skipType(tag & 7); @@ -16449,48 +18723,56 @@ }; /** - * Verifies a WorkflowClosure message. + * Verifies a CloudEventExecutionStart message. * @function verify - * @memberof flyteidl.core.WorkflowClosure + * @memberof flyteidl.event.CloudEventExecutionStart * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowClosure.verify = function verify(message) { + CloudEventExecutionStart.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.workflow != null && message.hasOwnProperty("workflow")) { - var error = $root.flyteidl.core.WorkflowTemplate.verify(message.workflow); + if (message.executionId != null && message.hasOwnProperty("executionId")) { + var error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); if (error) - return "workflow." + error; + return "executionId." + error; } - if (message.tasks != null && message.hasOwnProperty("tasks")) { - if (!Array.isArray(message.tasks)) - return "tasks: array expected"; - for (var i = 0; i < message.tasks.length; ++i) { - var error = $root.flyteidl.core.TaskTemplate.verify(message.tasks[i]); + if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) { + var error = $root.flyteidl.core.Identifier.verify(message.launchPlanId); + if (error) + return "launchPlanId." + error; + } + if (message.workflowId != null && message.hasOwnProperty("workflowId")) { + var error = $root.flyteidl.core.Identifier.verify(message.workflowId); + if (error) + return "workflowId." + error; + } + if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { + if (!Array.isArray(message.artifactIds)) + return "artifactIds: array expected"; + for (var i = 0; i < message.artifactIds.length; ++i) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); if (error) - return "tasks." + error; + return "artifactIds." + error; } } + if (message.artifactKeys != null && message.hasOwnProperty("artifactKeys")) { + if (!Array.isArray(message.artifactKeys)) + return "artifactKeys: array expected"; + for (var i = 0; i < message.artifactKeys.length; ++i) + if (!$util.isString(message.artifactKeys[i])) + return "artifactKeys: string[] expected"; + } + if (message.principal != null && message.hasOwnProperty("principal")) + if (!$util.isString(message.principal)) + return "principal: string expected"; return null; }; - return WorkflowClosure; + return CloudEventExecutionStart; })(); - return core; - })(); - - flyteidl.event = (function() { - - /** - * Namespace event. - * @memberof flyteidl - * @namespace - */ - var event = {}; - event.WorkflowExecutionEvent = (function() { /** @@ -28283,6 +30565,7 @@ * @property {flyteidl.core.INodeExecutionIdentifier|null} [parentNodeExecution] ExecutionMetadata parentNodeExecution * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] ExecutionMetadata referenceExecution * @property {flyteidl.admin.ISystemMetadata|null} [systemMetadata] ExecutionMetadata systemMetadata + * @property {Array.|null} [artifactIds] ExecutionMetadata artifactIds */ /** @@ -28294,6 +30577,7 @@ * @param {flyteidl.admin.IExecutionMetadata=} [properties] Properties to set */ function ExecutionMetadata(properties) { + this.artifactIds = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -28356,6 +30640,14 @@ */ ExecutionMetadata.prototype.systemMetadata = null; + /** + * ExecutionMetadata artifactIds. + * @member {Array.} artifactIds + * @memberof flyteidl.admin.ExecutionMetadata + * @instance + */ + ExecutionMetadata.prototype.artifactIds = $util.emptyArray; + /** * Creates a new ExecutionMetadata instance using the specified properties. * @function create @@ -28394,6 +30686,9 @@ $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); if (message.systemMetadata != null && message.hasOwnProperty("systemMetadata")) $root.flyteidl.admin.SystemMetadata.encode(message.systemMetadata, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim(); + if (message.artifactIds != null && message.artifactIds.length) + for (var i = 0; i < message.artifactIds.length; ++i) + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim(); return writer; }; @@ -28436,6 +30731,11 @@ case 17: message.systemMetadata = $root.flyteidl.admin.SystemMetadata.decode(reader, reader.uint32()); break; + case 18: + if (!(message.artifactIds && message.artifactIds.length)) + message.artifactIds = []; + message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); + break; default: reader.skipType(tag & 7); break; @@ -28493,6 +30793,15 @@ if (error) return "systemMetadata." + error; } + if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { + if (!Array.isArray(message.artifactIds)) + return "artifactIds: array expected"; + for (var i = 0; i < message.artifactIds.length; ++i) { + var error = $root.flyteidl.core.ArtifactID.verify(message.artifactIds[i]); + if (error) + return "artifactIds." + error; + } + } return null; }; @@ -31457,6 +33766,7 @@ * @interface ILaunchPlanMetadata * @property {flyteidl.admin.ISchedule|null} [schedule] LaunchPlanMetadata schedule * @property {Array.|null} [notifications] LaunchPlanMetadata notifications + * @property {google.protobuf.IAny|null} [launchConditions] LaunchPlanMetadata launchConditions */ /** @@ -31491,6 +33801,14 @@ */ LaunchPlanMetadata.prototype.notifications = $util.emptyArray; + /** + * LaunchPlanMetadata launchConditions. + * @member {google.protobuf.IAny|null|undefined} launchConditions + * @memberof flyteidl.admin.LaunchPlanMetadata + * @instance + */ + LaunchPlanMetadata.prototype.launchConditions = null; + /** * Creates a new LaunchPlanMetadata instance using the specified properties. * @function create @@ -31520,6 +33838,8 @@ if (message.notifications != null && message.notifications.length) for (var i = 0; i < message.notifications.length; ++i) $root.flyteidl.admin.Notification.encode(message.notifications[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.launchConditions != null && message.hasOwnProperty("launchConditions")) + $root.google.protobuf.Any.encode(message.launchConditions, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -31549,6 +33869,9 @@ message.notifications = []; message.notifications.push($root.flyteidl.admin.Notification.decode(reader, reader.uint32())); break; + case 3: + message.launchConditions = $root.google.protobuf.Any.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -31582,6 +33905,11 @@ return "notifications." + error; } } + if (message.launchConditions != null && message.hasOwnProperty("launchConditions")) { + var error = $root.google.protobuf.Any.verify(message.launchConditions); + if (error) + return "launchConditions." + error; + } return null; }; @@ -52430,6 +54758,133 @@ return BytesValue; })(); + protobuf.Any = (function() { + + /** + * Properties of an Any. + * @memberof google.protobuf + * @interface IAny + * @property {string|null} [type_url] Any type_url + * @property {Uint8Array|null} [value] Any value + */ + + /** + * Constructs a new Any. + * @memberof google.protobuf + * @classdesc Represents an Any. + * @implements IAny + * @constructor + * @param {google.protobuf.IAny=} [properties] Properties to set + */ + function Any(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Any type_url. + * @member {string} type_url + * @memberof google.protobuf.Any + * @instance + */ + Any.prototype.type_url = ""; + + /** + * Any value. + * @member {Uint8Array} value + * @memberof google.protobuf.Any + * @instance + */ + Any.prototype.value = $util.newBuffer([]); + + /** + * Creates a new Any instance using the specified properties. + * @function create + * @memberof google.protobuf.Any + * @static + * @param {google.protobuf.IAny=} [properties] Properties to set + * @returns {google.protobuf.Any} Any instance + */ + Any.create = function create(properties) { + return new Any(properties); + }; + + /** + * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. + * @function encode + * @memberof google.protobuf.Any + * @static + * @param {google.protobuf.IAny} message Any message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Any.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.type_url != null && message.hasOwnProperty("type_url")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.type_url); + if (message.value != null && message.hasOwnProperty("value")) + writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.value); + return writer; + }; + + /** + * Decodes an Any message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.Any + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.Any} Any + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Any.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.Any(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.type_url = reader.string(); + break; + case 2: + message.value = reader.bytes(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an Any message. + * @function verify + * @memberof google.protobuf.Any + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Any.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.type_url != null && message.hasOwnProperty("type_url")) + if (!$util.isString(message.type_url)) + return "type_url: string expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value))) + return "value: buffer expected"; + return null; + }; + + return Any; + })(); + protobuf.FileDescriptorSet = (function() { /** diff --git a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py index 373d09440e..f71cdab8a2 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.py @@ -15,6 +15,7 @@ from flyteidl.admin import common_pb2 as flyteidl_dot_admin_dot_common__pb2 from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 from flyteidl.core import execution_pb2 as flyteidl_dot_core_dot_execution__pb2 +from flyteidl.core import artifact_id_pb2 as flyteidl_dot_core_dot_artifact__id__pb2 from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 from flyteidl.core import metrics_pb2 as flyteidl_dot_core_dot_metrics__pb2 from flyteidl.core import security_pb2 as flyteidl_dot_core_dot_security__pb2 @@ -23,7 +24,7 @@ from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66lyteidl/admin/execution.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/cluster_assignment.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1b\x66lyteidl/core/metrics.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xc4\x01\n\x16\x45xecutionCreateRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x31\n\x04spec\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpecR\x04spec\x12\x31\n\x06inputs\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x06inputs\"\x99\x01\n\x18\x45xecutionRelaunchRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\'\n\x0foverwrite_cache\x18\x04 \x01(\x08R\x0eoverwriteCacheJ\x04\x08\x02\x10\x03\"\xa8\x01\n\x17\x45xecutionRecoverRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadataR\x08metadata\"U\n\x17\x45xecutionCreateResponse\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"Y\n\x1bWorkflowExecutionGetRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"\xb6\x01\n\tExecution\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x31\n\x04spec\x18\x02 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpecR\x04spec\x12:\n\x07\x63losure\x18\x03 \x01(\x0b\x32 .flyteidl.admin.ExecutionClosureR\x07\x63losure\"`\n\rExecutionList\x12\x39\n\nexecutions\x18\x01 \x03(\x0b\x32\x19.flyteidl.admin.ExecutionR\nexecutions\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"e\n\x0eLiteralMapBlob\x12\x37\n\x06values\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00R\x06values\x12\x12\n\x03uri\x18\x02 \x01(\tH\x00R\x03uriB\x06\n\x04\x64\x61ta\"C\n\rAbortMetadata\x12\x14\n\x05\x63\x61use\x18\x01 \x01(\tR\x05\x63\x61use\x12\x1c\n\tprincipal\x18\x02 \x01(\tR\tprincipal\"\x98\x07\n\x10\x45xecutionClosure\x12>\n\x07outputs\x18\x01 \x01(\x0b\x32\x1e.flyteidl.admin.LiteralMapBlobB\x02\x18\x01H\x00R\x07outputs\x12\x35\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00R\x05\x65rror\x12%\n\x0b\x61\x62ort_cause\x18\n \x01(\tB\x02\x18\x01H\x00R\nabortCause\x12\x46\n\x0e\x61\x62ort_metadata\x18\x0c \x01(\x0b\x32\x1d.flyteidl.admin.AbortMetadataH\x00R\rabortMetadata\x12@\n\x0boutput_data\x18\r \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00R\noutputData\x12\x46\n\x0f\x63omputed_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01R\x0e\x63omputedInputs\x12<\n\x05phase\x18\x04 \x01(\x0e\x32&.flyteidl.core.WorkflowExecution.PhaseR\x05phase\x12\x39\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x35\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x42\n\rnotifications\x18\t \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\x12:\n\x0bworkflow_id\x18\x0b \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12]\n\x14state_change_details\x18\x0e \x01(\x0b\x32+.flyteidl.admin.ExecutionStateChangeDetailsR\x12stateChangeDetailsB\x0f\n\routput_result\"[\n\x0eSystemMetadata\x12+\n\x11\x65xecution_cluster\x18\x01 \x01(\tR\x10\x65xecutionCluster\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\"\xba\x04\n\x11\x45xecutionMetadata\x12\x43\n\x04mode\x18\x01 \x01(\x0e\x32/.flyteidl.admin.ExecutionMetadata.ExecutionModeR\x04mode\x12\x1c\n\tprincipal\x18\x02 \x01(\tR\tprincipal\x12\x18\n\x07nesting\x18\x03 \x01(\rR\x07nesting\x12=\n\x0cscheduled_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bscheduledAt\x12Z\n\x15parent_node_execution\x18\x05 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierR\x13parentNodeExecution\x12[\n\x13reference_execution\x18\x10 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\x12G\n\x0fsystem_metadata\x18\x11 \x01(\x0b\x32\x1e.flyteidl.admin.SystemMetadataR\x0esystemMetadata\"g\n\rExecutionMode\x12\n\n\x06MANUAL\x10\x00\x12\r\n\tSCHEDULED\x10\x01\x12\n\n\x06SYSTEM\x10\x02\x12\x0c\n\x08RELAUNCH\x10\x03\x12\x12\n\x0e\x43HILD_WORKFLOW\x10\x04\x12\r\n\tRECOVERED\x10\x05\"V\n\x10NotificationList\x12\x42\n\rnotifications\x18\x01 \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\"\x90\x08\n\rExecutionSpec\x12:\n\x0blaunch_plan\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nlaunchPlan\x12\x35\n\x06inputs\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01R\x06inputs\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadataR\x08metadata\x12H\n\rnotifications\x18\x05 \x01(\x0b\x32 .flyteidl.admin.NotificationListH\x00R\rnotifications\x12!\n\x0b\x64isable_all\x18\x06 \x01(\x08H\x00R\ndisableAll\x12.\n\x06labels\x18\x07 \x01(\x0b\x32\x16.flyteidl.admin.LabelsR\x06labels\x12=\n\x0b\x61nnotations\x18\x08 \x01(\x0b\x32\x1b.flyteidl.admin.AnnotationsR\x0b\x61nnotations\x12I\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContextR\x0fsecurityContext\x12\x39\n\tauth_role\x18\x10 \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01R\x08\x61uthRole\x12M\n\x12quality_of_service\x18\x11 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceR\x10qualityOfService\x12\'\n\x0fmax_parallelism\x18\x12 \x01(\x05R\x0emaxParallelism\x12X\n\x16raw_output_data_config\x18\x13 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfigR\x13rawOutputDataConfig\x12P\n\x12\x63luster_assignment\x18\x14 \x01(\x0b\x32!.flyteidl.admin.ClusterAssignmentR\x11\x63lusterAssignment\x12@\n\rinterruptible\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\rinterruptible\x12\'\n\x0foverwrite_cache\x18\x16 \x01(\x08R\x0eoverwriteCache\x12(\n\x04\x65nvs\x18\x17 \x01(\x0b\x32\x14.flyteidl.admin.EnvsR\x04\x65nvs\x12\x12\n\x04tags\x18\x18 \x03(\tR\x04tagsB\x18\n\x16notification_overridesJ\x04\x08\x04\x10\x05\"m\n\x19\x45xecutionTerminateRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x14\n\x05\x63\x61use\x18\x02 \x01(\tR\x05\x63\x61use\"\x1c\n\x1a\x45xecutionTerminateResponse\"]\n\x1fWorkflowExecutionGetDataRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"\x88\x02\n WorkflowExecutionGetDataResponse\x12\x35\n\x07outputs\x18\x01 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01R\x07outputs\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01R\x06inputs\x12:\n\x0b\x66ull_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\nfullInputs\x12<\n\x0c\x66ull_outputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x0b\x66ullOutputs\"\x8a\x01\n\x16\x45xecutionUpdateRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionStateR\x05state\"\xae\x01\n\x1b\x45xecutionStateChangeDetails\x12\x34\n\x05state\x18\x01 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionStateR\x05state\x12;\n\x0boccurred_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\noccurredAt\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\"\x19\n\x17\x45xecutionUpdateResponse\"v\n\"WorkflowExecutionGetMetricsRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x14\n\x05\x64\x65pth\x18\x02 \x01(\x05R\x05\x64\x65pth\"N\n#WorkflowExecutionGetMetricsResponse\x12\'\n\x04span\x18\x01 \x01(\x0b\x32\x13.flyteidl.core.SpanR\x04span*>\n\x0e\x45xecutionState\x12\x14\n\x10\x45XECUTION_ACTIVE\x10\x00\x12\x16\n\x12\x45XECUTION_ARCHIVED\x10\x01\x42\xba\x01\n\x12\x63om.flyteidl.adminB\x0e\x45xecutionProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin\xa2\x02\x03\x46\x41X\xaa\x02\x0e\x46lyteidl.Admin\xca\x02\x0e\x46lyteidl\\Admin\xe2\x02\x1a\x46lyteidl\\Admin\\GPBMetadata\xea\x02\x0f\x46lyteidl::Adminb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1e\x66lyteidl/admin/execution.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/cluster_assignment.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1b\x66lyteidl/core/metrics.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xc4\x01\n\x16\x45xecutionCreateRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x31\n\x04spec\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpecR\x04spec\x12\x31\n\x06inputs\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x06inputs\"\x99\x01\n\x18\x45xecutionRelaunchRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\'\n\x0foverwrite_cache\x18\x04 \x01(\x08R\x0eoverwriteCacheJ\x04\x08\x02\x10\x03\"\xa8\x01\n\x17\x45xecutionRecoverRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadataR\x08metadata\"U\n\x17\x45xecutionCreateResponse\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"Y\n\x1bWorkflowExecutionGetRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"\xb6\x01\n\tExecution\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x31\n\x04spec\x18\x02 \x01(\x0b\x32\x1d.flyteidl.admin.ExecutionSpecR\x04spec\x12:\n\x07\x63losure\x18\x03 \x01(\x0b\x32 .flyteidl.admin.ExecutionClosureR\x07\x63losure\"`\n\rExecutionList\x12\x39\n\nexecutions\x18\x01 \x03(\x0b\x32\x19.flyteidl.admin.ExecutionR\nexecutions\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"e\n\x0eLiteralMapBlob\x12\x37\n\x06values\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00R\x06values\x12\x12\n\x03uri\x18\x02 \x01(\tH\x00R\x03uriB\x06\n\x04\x64\x61ta\"C\n\rAbortMetadata\x12\x14\n\x05\x63\x61use\x18\x01 \x01(\tR\x05\x63\x61use\x12\x1c\n\tprincipal\x18\x02 \x01(\tR\tprincipal\"\x98\x07\n\x10\x45xecutionClosure\x12>\n\x07outputs\x18\x01 \x01(\x0b\x32\x1e.flyteidl.admin.LiteralMapBlobB\x02\x18\x01H\x00R\x07outputs\x12\x35\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.ExecutionErrorH\x00R\x05\x65rror\x12%\n\x0b\x61\x62ort_cause\x18\n \x01(\tB\x02\x18\x01H\x00R\nabortCause\x12\x46\n\x0e\x61\x62ort_metadata\x18\x0c \x01(\x0b\x32\x1d.flyteidl.admin.AbortMetadataH\x00R\rabortMetadata\x12@\n\x0boutput_data\x18\r \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01H\x00R\noutputData\x12\x46\n\x0f\x63omputed_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01R\x0e\x63omputedInputs\x12<\n\x05phase\x18\x04 \x01(\x0e\x32&.flyteidl.core.WorkflowExecution.PhaseR\x05phase\x12\x39\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x35\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationR\x08\x64uration\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x42\n\rnotifications\x18\t \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\x12:\n\x0bworkflow_id\x18\x0b \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12]\n\x14state_change_details\x18\x0e \x01(\x0b\x32+.flyteidl.admin.ExecutionStateChangeDetailsR\x12stateChangeDetailsB\x0f\n\routput_result\"[\n\x0eSystemMetadata\x12+\n\x11\x65xecution_cluster\x18\x01 \x01(\tR\x10\x65xecutionCluster\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\"\xf8\x04\n\x11\x45xecutionMetadata\x12\x43\n\x04mode\x18\x01 \x01(\x0e\x32/.flyteidl.admin.ExecutionMetadata.ExecutionModeR\x04mode\x12\x1c\n\tprincipal\x18\x02 \x01(\tR\tprincipal\x12\x18\n\x07nesting\x18\x03 \x01(\rR\x07nesting\x12=\n\x0cscheduled_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bscheduledAt\x12Z\n\x15parent_node_execution\x18\x05 \x01(\x0b\x32&.flyteidl.core.NodeExecutionIdentifierR\x13parentNodeExecution\x12[\n\x13reference_execution\x18\x10 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\x12G\n\x0fsystem_metadata\x18\x11 \x01(\x0b\x32\x1e.flyteidl.admin.SystemMetadataR\x0esystemMetadata\x12<\n\x0c\x61rtifact_ids\x18\x12 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\"g\n\rExecutionMode\x12\n\n\x06MANUAL\x10\x00\x12\r\n\tSCHEDULED\x10\x01\x12\n\n\x06SYSTEM\x10\x02\x12\x0c\n\x08RELAUNCH\x10\x03\x12\x12\n\x0e\x43HILD_WORKFLOW\x10\x04\x12\r\n\tRECOVERED\x10\x05\"V\n\x10NotificationList\x12\x42\n\rnotifications\x18\x01 \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\"\x90\x08\n\rExecutionSpec\x12:\n\x0blaunch_plan\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nlaunchPlan\x12\x35\n\x06inputs\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapB\x02\x18\x01R\x06inputs\x12=\n\x08metadata\x18\x03 \x01(\x0b\x32!.flyteidl.admin.ExecutionMetadataR\x08metadata\x12H\n\rnotifications\x18\x05 \x01(\x0b\x32 .flyteidl.admin.NotificationListH\x00R\rnotifications\x12!\n\x0b\x64isable_all\x18\x06 \x01(\x08H\x00R\ndisableAll\x12.\n\x06labels\x18\x07 \x01(\x0b\x32\x16.flyteidl.admin.LabelsR\x06labels\x12=\n\x0b\x61nnotations\x18\x08 \x01(\x0b\x32\x1b.flyteidl.admin.AnnotationsR\x0b\x61nnotations\x12I\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContextR\x0fsecurityContext\x12\x39\n\tauth_role\x18\x10 \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01R\x08\x61uthRole\x12M\n\x12quality_of_service\x18\x11 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceR\x10qualityOfService\x12\'\n\x0fmax_parallelism\x18\x12 \x01(\x05R\x0emaxParallelism\x12X\n\x16raw_output_data_config\x18\x13 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfigR\x13rawOutputDataConfig\x12P\n\x12\x63luster_assignment\x18\x14 \x01(\x0b\x32!.flyteidl.admin.ClusterAssignmentR\x11\x63lusterAssignment\x12@\n\rinterruptible\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\rinterruptible\x12\'\n\x0foverwrite_cache\x18\x16 \x01(\x08R\x0eoverwriteCache\x12(\n\x04\x65nvs\x18\x17 \x01(\x0b\x32\x14.flyteidl.admin.EnvsR\x04\x65nvs\x12\x12\n\x04tags\x18\x18 \x03(\tR\x04tagsB\x18\n\x16notification_overridesJ\x04\x08\x04\x10\x05\"m\n\x19\x45xecutionTerminateRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x14\n\x05\x63\x61use\x18\x02 \x01(\tR\x05\x63\x61use\"\x1c\n\x1a\x45xecutionTerminateResponse\"]\n\x1fWorkflowExecutionGetDataRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\"\x88\x02\n WorkflowExecutionGetDataResponse\x12\x35\n\x07outputs\x18\x01 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01R\x07outputs\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x17.flyteidl.admin.UrlBlobB\x02\x18\x01R\x06inputs\x12:\n\x0b\x66ull_inputs\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\nfullInputs\x12<\n\x0c\x66ull_outputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x0b\x66ullOutputs\"\x8a\x01\n\x16\x45xecutionUpdateRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x34\n\x05state\x18\x02 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionStateR\x05state\"\xae\x01\n\x1b\x45xecutionStateChangeDetails\x12\x34\n\x05state\x18\x01 \x01(\x0e\x32\x1e.flyteidl.admin.ExecutionStateR\x05state\x12;\n\x0boccurred_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\noccurredAt\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\"\x19\n\x17\x45xecutionUpdateResponse\"v\n\"WorkflowExecutionGetMetricsRequest\x12:\n\x02id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x02id\x12\x14\n\x05\x64\x65pth\x18\x02 \x01(\x05R\x05\x64\x65pth\"N\n#WorkflowExecutionGetMetricsResponse\x12\'\n\x04span\x18\x01 \x01(\x0b\x32\x13.flyteidl.core.SpanR\x04span*>\n\x0e\x45xecutionState\x12\x14\n\x10\x45XECUTION_ACTIVE\x10\x00\x12\x16\n\x12\x45XECUTION_ARCHIVED\x10\x01\x42\xba\x01\n\x12\x63om.flyteidl.adminB\x0e\x45xecutionProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin\xa2\x02\x03\x46\x41X\xaa\x02\x0e\x46lyteidl.Admin\xca\x02\x0e\x46lyteidl\\Admin\xe2\x02\x1a\x46lyteidl\\Admin\\GPBMetadata\xea\x02\x0f\x46lyteidl::Adminb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -50,54 +51,54 @@ _WORKFLOWEXECUTIONGETDATARESPONSE.fields_by_name['outputs']._serialized_options = b'\030\001' _WORKFLOWEXECUTIONGETDATARESPONSE.fields_by_name['inputs']._options = None _WORKFLOWEXECUTIONGETDATARESPONSE.fields_by_name['inputs']._serialized_options = b'\030\001' - _globals['_EXECUTIONSTATE']._serialized_start=5296 - _globals['_EXECUTIONSTATE']._serialized_end=5358 - _globals['_EXECUTIONCREATEREQUEST']._serialized_start=370 - _globals['_EXECUTIONCREATEREQUEST']._serialized_end=566 - _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_start=569 - _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_end=722 - _globals['_EXECUTIONRECOVERREQUEST']._serialized_start=725 - _globals['_EXECUTIONRECOVERREQUEST']._serialized_end=893 - _globals['_EXECUTIONCREATERESPONSE']._serialized_start=895 - _globals['_EXECUTIONCREATERESPONSE']._serialized_end=980 - _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_start=982 - _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_end=1071 - _globals['_EXECUTION']._serialized_start=1074 - _globals['_EXECUTION']._serialized_end=1256 - _globals['_EXECUTIONLIST']._serialized_start=1258 - _globals['_EXECUTIONLIST']._serialized_end=1354 - _globals['_LITERALMAPBLOB']._serialized_start=1356 - _globals['_LITERALMAPBLOB']._serialized_end=1457 - _globals['_ABORTMETADATA']._serialized_start=1459 - _globals['_ABORTMETADATA']._serialized_end=1526 - _globals['_EXECUTIONCLOSURE']._serialized_start=1529 - _globals['_EXECUTIONCLOSURE']._serialized_end=2449 - _globals['_SYSTEMMETADATA']._serialized_start=2451 - _globals['_SYSTEMMETADATA']._serialized_end=2542 - _globals['_EXECUTIONMETADATA']._serialized_start=2545 - _globals['_EXECUTIONMETADATA']._serialized_end=3115 - _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_start=3012 - _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_end=3115 - _globals['_NOTIFICATIONLIST']._serialized_start=3117 - _globals['_NOTIFICATIONLIST']._serialized_end=3203 - _globals['_EXECUTIONSPEC']._serialized_start=3206 - _globals['_EXECUTIONSPEC']._serialized_end=4246 - _globals['_EXECUTIONTERMINATEREQUEST']._serialized_start=4248 - _globals['_EXECUTIONTERMINATEREQUEST']._serialized_end=4357 - _globals['_EXECUTIONTERMINATERESPONSE']._serialized_start=4359 - _globals['_EXECUTIONTERMINATERESPONSE']._serialized_end=4387 - _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_start=4389 - _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_end=4482 - _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_start=4485 - _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_end=4749 - _globals['_EXECUTIONUPDATEREQUEST']._serialized_start=4752 - _globals['_EXECUTIONUPDATEREQUEST']._serialized_end=4890 - _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_start=4893 - _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_end=5067 - _globals['_EXECUTIONUPDATERESPONSE']._serialized_start=5069 - _globals['_EXECUTIONUPDATERESPONSE']._serialized_end=5094 - _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_start=5096 - _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_end=5214 - _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_start=5216 - _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_end=5294 + _globals['_EXECUTIONSTATE']._serialized_start=5391 + _globals['_EXECUTIONSTATE']._serialized_end=5453 + _globals['_EXECUTIONCREATEREQUEST']._serialized_start=403 + _globals['_EXECUTIONCREATEREQUEST']._serialized_end=599 + _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_start=602 + _globals['_EXECUTIONRELAUNCHREQUEST']._serialized_end=755 + _globals['_EXECUTIONRECOVERREQUEST']._serialized_start=758 + _globals['_EXECUTIONRECOVERREQUEST']._serialized_end=926 + _globals['_EXECUTIONCREATERESPONSE']._serialized_start=928 + _globals['_EXECUTIONCREATERESPONSE']._serialized_end=1013 + _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_start=1015 + _globals['_WORKFLOWEXECUTIONGETREQUEST']._serialized_end=1104 + _globals['_EXECUTION']._serialized_start=1107 + _globals['_EXECUTION']._serialized_end=1289 + _globals['_EXECUTIONLIST']._serialized_start=1291 + _globals['_EXECUTIONLIST']._serialized_end=1387 + _globals['_LITERALMAPBLOB']._serialized_start=1389 + _globals['_LITERALMAPBLOB']._serialized_end=1490 + _globals['_ABORTMETADATA']._serialized_start=1492 + _globals['_ABORTMETADATA']._serialized_end=1559 + _globals['_EXECUTIONCLOSURE']._serialized_start=1562 + _globals['_EXECUTIONCLOSURE']._serialized_end=2482 + _globals['_SYSTEMMETADATA']._serialized_start=2484 + _globals['_SYSTEMMETADATA']._serialized_end=2575 + _globals['_EXECUTIONMETADATA']._serialized_start=2578 + _globals['_EXECUTIONMETADATA']._serialized_end=3210 + _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_start=3107 + _globals['_EXECUTIONMETADATA_EXECUTIONMODE']._serialized_end=3210 + _globals['_NOTIFICATIONLIST']._serialized_start=3212 + _globals['_NOTIFICATIONLIST']._serialized_end=3298 + _globals['_EXECUTIONSPEC']._serialized_start=3301 + _globals['_EXECUTIONSPEC']._serialized_end=4341 + _globals['_EXECUTIONTERMINATEREQUEST']._serialized_start=4343 + _globals['_EXECUTIONTERMINATEREQUEST']._serialized_end=4452 + _globals['_EXECUTIONTERMINATERESPONSE']._serialized_start=4454 + _globals['_EXECUTIONTERMINATERESPONSE']._serialized_end=4482 + _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_start=4484 + _globals['_WORKFLOWEXECUTIONGETDATAREQUEST']._serialized_end=4577 + _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_start=4580 + _globals['_WORKFLOWEXECUTIONGETDATARESPONSE']._serialized_end=4844 + _globals['_EXECUTIONUPDATEREQUEST']._serialized_start=4847 + _globals['_EXECUTIONUPDATEREQUEST']._serialized_end=4985 + _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_start=4988 + _globals['_EXECUTIONSTATECHANGEDETAILS']._serialized_end=5162 + _globals['_EXECUTIONUPDATERESPONSE']._serialized_start=5164 + _globals['_EXECUTIONUPDATERESPONSE']._serialized_end=5189 + _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_start=5191 + _globals['_WORKFLOWEXECUTIONGETMETRICSREQUEST']._serialized_end=5309 + _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_start=5311 + _globals['_WORKFLOWEXECUTIONGETMETRICSRESPONSE']._serialized_end=5389 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.pyi index f29b3b747e..1e5e21f19f 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/admin/execution_pb2.pyi @@ -2,6 +2,7 @@ from flyteidl.admin import cluster_assignment_pb2 as _cluster_assignment_pb2 from flyteidl.admin import common_pb2 as _common_pb2 from flyteidl.core import literals_pb2 as _literals_pb2 from flyteidl.core import execution_pb2 as _execution_pb2 +from flyteidl.core import artifact_id_pb2 as _artifact_id_pb2 from flyteidl.core import identifier_pb2 as _identifier_pb2 from flyteidl.core import metrics_pb2 as _metrics_pb2 from flyteidl.core import security_pb2 as _security_pb2 @@ -144,7 +145,7 @@ class SystemMetadata(_message.Message): def __init__(self, execution_cluster: _Optional[str] = ..., namespace: _Optional[str] = ...) -> None: ... class ExecutionMetadata(_message.Message): - __slots__ = ["mode", "principal", "nesting", "scheduled_at", "parent_node_execution", "reference_execution", "system_metadata"] + __slots__ = ["mode", "principal", "nesting", "scheduled_at", "parent_node_execution", "reference_execution", "system_metadata", "artifact_ids"] class ExecutionMode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = [] MANUAL: _ClassVar[ExecutionMetadata.ExecutionMode] @@ -166,6 +167,7 @@ class ExecutionMetadata(_message.Message): PARENT_NODE_EXECUTION_FIELD_NUMBER: _ClassVar[int] REFERENCE_EXECUTION_FIELD_NUMBER: _ClassVar[int] SYSTEM_METADATA_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] mode: ExecutionMetadata.ExecutionMode principal: str nesting: int @@ -173,7 +175,8 @@ class ExecutionMetadata(_message.Message): parent_node_execution: _identifier_pb2.NodeExecutionIdentifier reference_execution: _identifier_pb2.WorkflowExecutionIdentifier system_metadata: SystemMetadata - def __init__(self, mode: _Optional[_Union[ExecutionMetadata.ExecutionMode, str]] = ..., principal: _Optional[str] = ..., nesting: _Optional[int] = ..., scheduled_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., parent_node_execution: _Optional[_Union[_identifier_pb2.NodeExecutionIdentifier, _Mapping]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., system_metadata: _Optional[_Union[SystemMetadata, _Mapping]] = ...) -> None: ... + artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] + def __init__(self, mode: _Optional[_Union[ExecutionMetadata.ExecutionMode, str]] = ..., principal: _Optional[str] = ..., nesting: _Optional[int] = ..., scheduled_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., parent_node_execution: _Optional[_Union[_identifier_pb2.NodeExecutionIdentifier, _Mapping]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., system_metadata: _Optional[_Union[SystemMetadata, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ...) -> None: ... class NotificationList(_message.Message): __slots__ = ["notifications"] diff --git a/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.py b/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.py index b0827f2901..dea0972f4d 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.py @@ -18,11 +18,12 @@ from flyteidl.core import security_pb2 as flyteidl_dot_core_dot_security__pb2 from flyteidl.admin import schedule_pb2 as flyteidl_dot_admin_dot_schedule__pb2 from flyteidl.admin import common_pb2 as flyteidl_dot_admin_dot_common__pb2 +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/admin/launch_plan.proto\x12\x0e\x66lyteidl.admin\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1d\x66lyteidl/admin/schedule.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"x\n\x17LaunchPlanCreateRequest\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x32\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpecR\x04spec\"\x1a\n\x18LaunchPlanCreateResponse\"\xa8\x01\n\nLaunchPlan\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x32\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpecR\x04spec\x12;\n\x07\x63losure\x18\x03 \x01(\x0b\x32!.flyteidl.admin.LaunchPlanClosureR\x07\x63losure\"e\n\x0eLaunchPlanList\x12=\n\x0claunch_plans\x18\x01 \x03(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x0blaunchPlans\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"v\n\x04\x41uth\x12,\n\x12\x61ssumable_iam_role\x18\x01 \x01(\tR\x10\x61ssumableIamRole\x12<\n\x1akubernetes_service_account\x18\x02 \x01(\tR\x18kubernetesServiceAccount:\x02\x18\x01\"\xbd\x07\n\x0eLaunchPlanSpec\x12:\n\x0bworkflow_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12K\n\x0f\x65ntity_metadata\x18\x02 \x01(\x0b\x32\".flyteidl.admin.LaunchPlanMetadataR\x0e\x65ntityMetadata\x12\x42\n\x0e\x64\x65\x66\x61ult_inputs\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\rdefaultInputs\x12<\n\x0c\x66ixed_inputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x0b\x66ixedInputs\x12\x16\n\x04role\x18\x05 \x01(\tB\x02\x18\x01R\x04role\x12.\n\x06labels\x18\x06 \x01(\x0b\x32\x16.flyteidl.admin.LabelsR\x06labels\x12=\n\x0b\x61nnotations\x18\x07 \x01(\x0b\x32\x1b.flyteidl.admin.AnnotationsR\x0b\x61nnotations\x12,\n\x04\x61uth\x18\x08 \x01(\x0b\x32\x14.flyteidl.admin.AuthB\x02\x18\x01R\x04\x61uth\x12\x39\n\tauth_role\x18\t \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01R\x08\x61uthRole\x12I\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContextR\x0fsecurityContext\x12M\n\x12quality_of_service\x18\x10 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceR\x10qualityOfService\x12X\n\x16raw_output_data_config\x18\x11 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfigR\x13rawOutputDataConfig\x12\'\n\x0fmax_parallelism\x18\x12 \x01(\x05R\x0emaxParallelism\x12@\n\rinterruptible\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\rinterruptible\x12\'\n\x0foverwrite_cache\x18\x14 \x01(\x08R\x0eoverwriteCache\x12(\n\x04\x65nvs\x18\x15 \x01(\x0b\x32\x14.flyteidl.admin.EnvsR\x04\x65nvs\"\xcd\x02\n\x11LaunchPlanClosure\x12\x35\n\x05state\x18\x01 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanStateR\x05state\x12\x44\n\x0f\x65xpected_inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x0e\x65xpectedInputs\x12\x45\n\x10\x65xpected_outputs\x18\x03 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x0f\x65xpectedOutputs\x12\x39\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\x8e\x01\n\x12LaunchPlanMetadata\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32\x18.flyteidl.admin.ScheduleR\x08schedule\x12\x42\n\rnotifications\x18\x02 \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\"{\n\x17LaunchPlanUpdateRequest\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x35\n\x05state\x18\x02 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanStateR\x05state\"\x1a\n\x18LaunchPlanUpdateResponse\"P\n\x17\x41\x63tiveLaunchPlanRequest\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifierR\x02id\"\xaa\x01\n\x1b\x41\x63tiveLaunchPlanListRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x14\n\x05limit\x18\x03 \x01(\rR\x05limit\x12\x14\n\x05token\x18\x04 \x01(\tR\x05token\x12-\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.SortR\x06sortBy*+\n\x0fLaunchPlanState\x12\x0c\n\x08INACTIVE\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x42\xbb\x01\n\x12\x63om.flyteidl.adminB\x0fLaunchPlanProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin\xa2\x02\x03\x46\x41X\xaa\x02\x0e\x46lyteidl.Admin\xca\x02\x0e\x46lyteidl\\Admin\xe2\x02\x1a\x46lyteidl\\Admin\\GPBMetadata\xea\x02\x0f\x46lyteidl::Adminb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/admin/launch_plan.proto\x12\x0e\x66lyteidl.admin\x1a\x1d\x66lyteidl/core/execution.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1c\x66lyteidl/core/security.proto\x1a\x1d\x66lyteidl/admin/schedule.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"x\n\x17LaunchPlanCreateRequest\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x32\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpecR\x04spec\"\x1a\n\x18LaunchPlanCreateResponse\"\xa8\x01\n\nLaunchPlan\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x32\n\x04spec\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.LaunchPlanSpecR\x04spec\x12;\n\x07\x63losure\x18\x03 \x01(\x0b\x32!.flyteidl.admin.LaunchPlanClosureR\x07\x63losure\"e\n\x0eLaunchPlanList\x12=\n\x0claunch_plans\x18\x01 \x03(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x0blaunchPlans\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"v\n\x04\x41uth\x12,\n\x12\x61ssumable_iam_role\x18\x01 \x01(\tR\x10\x61ssumableIamRole\x12<\n\x1akubernetes_service_account\x18\x02 \x01(\tR\x18kubernetesServiceAccount:\x02\x18\x01\"\xbd\x07\n\x0eLaunchPlanSpec\x12:\n\x0bworkflow_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12K\n\x0f\x65ntity_metadata\x18\x02 \x01(\x0b\x32\".flyteidl.admin.LaunchPlanMetadataR\x0e\x65ntityMetadata\x12\x42\n\x0e\x64\x65\x66\x61ult_inputs\x18\x03 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\rdefaultInputs\x12<\n\x0c\x66ixed_inputs\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\x0b\x66ixedInputs\x12\x16\n\x04role\x18\x05 \x01(\tB\x02\x18\x01R\x04role\x12.\n\x06labels\x18\x06 \x01(\x0b\x32\x16.flyteidl.admin.LabelsR\x06labels\x12=\n\x0b\x61nnotations\x18\x07 \x01(\x0b\x32\x1b.flyteidl.admin.AnnotationsR\x0b\x61nnotations\x12,\n\x04\x61uth\x18\x08 \x01(\x0b\x32\x14.flyteidl.admin.AuthB\x02\x18\x01R\x04\x61uth\x12\x39\n\tauth_role\x18\t \x01(\x0b\x32\x18.flyteidl.admin.AuthRoleB\x02\x18\x01R\x08\x61uthRole\x12I\n\x10security_context\x18\n \x01(\x0b\x32\x1e.flyteidl.core.SecurityContextR\x0fsecurityContext\x12M\n\x12quality_of_service\x18\x10 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfServiceR\x10qualityOfService\x12X\n\x16raw_output_data_config\x18\x11 \x01(\x0b\x32#.flyteidl.admin.RawOutputDataConfigR\x13rawOutputDataConfig\x12\'\n\x0fmax_parallelism\x18\x12 \x01(\x05R\x0emaxParallelism\x12@\n\rinterruptible\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.BoolValueR\rinterruptible\x12\'\n\x0foverwrite_cache\x18\x14 \x01(\x08R\x0eoverwriteCache\x12(\n\x04\x65nvs\x18\x15 \x01(\x0b\x32\x14.flyteidl.admin.EnvsR\x04\x65nvs\"\xcd\x02\n\x11LaunchPlanClosure\x12\x35\n\x05state\x18\x01 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanStateR\x05state\x12\x44\n\x0f\x65xpected_inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x0e\x65xpectedInputs\x12\x45\n\x10\x65xpected_outputs\x18\x03 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x0f\x65xpectedOutputs\x12\x39\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\xd1\x01\n\x12LaunchPlanMetadata\x12\x34\n\x08schedule\x18\x01 \x01(\x0b\x32\x18.flyteidl.admin.ScheduleR\x08schedule\x12\x42\n\rnotifications\x18\x02 \x03(\x0b\x32\x1c.flyteidl.admin.NotificationR\rnotifications\x12\x41\n\x11launch_conditions\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyR\x10launchConditions\"{\n\x17LaunchPlanUpdateRequest\x12)\n\x02id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x02id\x12\x35\n\x05state\x18\x02 \x01(\x0e\x32\x1f.flyteidl.admin.LaunchPlanStateR\x05state\"\x1a\n\x18LaunchPlanUpdateResponse\"P\n\x17\x41\x63tiveLaunchPlanRequest\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32%.flyteidl.admin.NamedEntityIdentifierR\x02id\"\xaa\x01\n\x1b\x41\x63tiveLaunchPlanListRequest\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x14\n\x05limit\x18\x03 \x01(\rR\x05limit\x12\x14\n\x05token\x18\x04 \x01(\tR\x05token\x12-\n\x07sort_by\x18\x05 \x01(\x0b\x32\x14.flyteidl.admin.SortR\x06sortBy*+\n\x0fLaunchPlanState\x12\x0c\n\x08INACTIVE\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x42\xbb\x01\n\x12\x63om.flyteidl.adminB\x0fLaunchPlanProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin\xa2\x02\x03\x46\x41X\xaa\x02\x0e\x46lyteidl.Admin\xca\x02\x0e\x46lyteidl\\Admin\xe2\x02\x1a\x46lyteidl\\Admin\\GPBMetadata\xea\x02\x0f\x46lyteidl::Adminb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -39,30 +40,30 @@ _LAUNCHPLANSPEC.fields_by_name['auth']._serialized_options = b'\030\001' _LAUNCHPLANSPEC.fields_by_name['auth_role']._options = None _LAUNCHPLANSPEC.fields_by_name['auth_role']._serialized_options = b'\030\001' - _globals['_LAUNCHPLANSTATE']._serialized_start=2724 - _globals['_LAUNCHPLANSTATE']._serialized_end=2767 - _globals['_LAUNCHPLANCREATEREQUEST']._serialized_start=331 - _globals['_LAUNCHPLANCREATEREQUEST']._serialized_end=451 - _globals['_LAUNCHPLANCREATERESPONSE']._serialized_start=453 - _globals['_LAUNCHPLANCREATERESPONSE']._serialized_end=479 - _globals['_LAUNCHPLAN']._serialized_start=482 - _globals['_LAUNCHPLAN']._serialized_end=650 - _globals['_LAUNCHPLANLIST']._serialized_start=652 - _globals['_LAUNCHPLANLIST']._serialized_end=753 - _globals['_AUTH']._serialized_start=755 - _globals['_AUTH']._serialized_end=873 - _globals['_LAUNCHPLANSPEC']._serialized_start=876 - _globals['_LAUNCHPLANSPEC']._serialized_end=1833 - _globals['_LAUNCHPLANCLOSURE']._serialized_start=1836 - _globals['_LAUNCHPLANCLOSURE']._serialized_end=2169 - _globals['_LAUNCHPLANMETADATA']._serialized_start=2172 - _globals['_LAUNCHPLANMETADATA']._serialized_end=2314 - _globals['_LAUNCHPLANUPDATEREQUEST']._serialized_start=2316 - _globals['_LAUNCHPLANUPDATEREQUEST']._serialized_end=2439 - _globals['_LAUNCHPLANUPDATERESPONSE']._serialized_start=2441 - _globals['_LAUNCHPLANUPDATERESPONSE']._serialized_end=2467 - _globals['_ACTIVELAUNCHPLANREQUEST']._serialized_start=2469 - _globals['_ACTIVELAUNCHPLANREQUEST']._serialized_end=2549 - _globals['_ACTIVELAUNCHPLANLISTREQUEST']._serialized_start=2552 - _globals['_ACTIVELAUNCHPLANLISTREQUEST']._serialized_end=2722 + _globals['_LAUNCHPLANSTATE']._serialized_start=2818 + _globals['_LAUNCHPLANSTATE']._serialized_end=2861 + _globals['_LAUNCHPLANCREATEREQUEST']._serialized_start=358 + _globals['_LAUNCHPLANCREATEREQUEST']._serialized_end=478 + _globals['_LAUNCHPLANCREATERESPONSE']._serialized_start=480 + _globals['_LAUNCHPLANCREATERESPONSE']._serialized_end=506 + _globals['_LAUNCHPLAN']._serialized_start=509 + _globals['_LAUNCHPLAN']._serialized_end=677 + _globals['_LAUNCHPLANLIST']._serialized_start=679 + _globals['_LAUNCHPLANLIST']._serialized_end=780 + _globals['_AUTH']._serialized_start=782 + _globals['_AUTH']._serialized_end=900 + _globals['_LAUNCHPLANSPEC']._serialized_start=903 + _globals['_LAUNCHPLANSPEC']._serialized_end=1860 + _globals['_LAUNCHPLANCLOSURE']._serialized_start=1863 + _globals['_LAUNCHPLANCLOSURE']._serialized_end=2196 + _globals['_LAUNCHPLANMETADATA']._serialized_start=2199 + _globals['_LAUNCHPLANMETADATA']._serialized_end=2408 + _globals['_LAUNCHPLANUPDATEREQUEST']._serialized_start=2410 + _globals['_LAUNCHPLANUPDATEREQUEST']._serialized_end=2533 + _globals['_LAUNCHPLANUPDATERESPONSE']._serialized_start=2535 + _globals['_LAUNCHPLANUPDATERESPONSE']._serialized_end=2561 + _globals['_ACTIVELAUNCHPLANREQUEST']._serialized_start=2563 + _globals['_ACTIVELAUNCHPLANREQUEST']._serialized_end=2643 + _globals['_ACTIVELAUNCHPLANLISTREQUEST']._serialized_start=2646 + _globals['_ACTIVELAUNCHPLANLISTREQUEST']._serialized_end=2816 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.pyi index 7a77f44820..cb6a41e2b0 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/admin/launch_plan_pb2.pyi @@ -5,6 +5,7 @@ from flyteidl.core import interface_pb2 as _interface_pb2 from flyteidl.core import security_pb2 as _security_pb2 from flyteidl.admin import schedule_pb2 as _schedule_pb2 from flyteidl.admin import common_pb2 as _common_pb2 +from google.protobuf import any_pb2 as _any_pb2 from google.protobuf import timestamp_pb2 as _timestamp_pb2 from google.protobuf import wrappers_pb2 as _wrappers_pb2 from google.protobuf.internal import containers as _containers @@ -111,12 +112,14 @@ class LaunchPlanClosure(_message.Message): def __init__(self, state: _Optional[_Union[LaunchPlanState, str]] = ..., expected_inputs: _Optional[_Union[_interface_pb2.ParameterMap, _Mapping]] = ..., expected_outputs: _Optional[_Union[_interface_pb2.VariableMap, _Mapping]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ... class LaunchPlanMetadata(_message.Message): - __slots__ = ["schedule", "notifications"] + __slots__ = ["schedule", "notifications", "launch_conditions"] SCHEDULE_FIELD_NUMBER: _ClassVar[int] NOTIFICATIONS_FIELD_NUMBER: _ClassVar[int] + LAUNCH_CONDITIONS_FIELD_NUMBER: _ClassVar[int] schedule: _schedule_pb2.Schedule notifications: _containers.RepeatedCompositeFieldContainer[_common_pb2.Notification] - def __init__(self, schedule: _Optional[_Union[_schedule_pb2.Schedule, _Mapping]] = ..., notifications: _Optional[_Iterable[_Union[_common_pb2.Notification, _Mapping]]] = ...) -> None: ... + launch_conditions: _any_pb2.Any + def __init__(self, schedule: _Optional[_Union[_schedule_pb2.Schedule, _Mapping]] = ..., notifications: _Optional[_Iterable[_Union[_common_pb2.Notification, _Mapping]]] = ..., launch_conditions: _Optional[_Union[_any_pb2.Any, _Mapping]] = ...) -> None: ... class LaunchPlanUpdateRequest(_message.Message): __slots__ = ["id", "state"] diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/__init__.py b/flyteidl/gen/pb_python/flyteidl/artifact/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py new file mode 100644 index 0000000000..84e5a5344a --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py @@ -0,0 +1,96 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/artifact/artifacts.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from flyteidl.admin import launch_plan_pb2 as flyteidl_dot_admin_dot_launch__plan__pb2 +from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 +from flyteidl.core import types_pb2 as flyteidl_dot_core_dot_types__pb2 +from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 +from flyteidl.core import artifact_id_pb2 as flyteidl_dot_core_dot_artifact__id__pb2 +from flyteidl.core import interface_pb2 as flyteidl_dot_core_dot_interface__pb2 +from flyteidl.event import cloudevents_pb2 as flyteidl_dot_event_dot_cloudevents__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xdc\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"P\n\x14\x44\x65leteTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x17\n\x15\x44\x65leteTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse2\xd7\x0e\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\x85\x05\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\xa6\x04\x82\xd3\xe4\x93\x02\x9f\x04Z\xb8\x01\x12\xb5\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\x9c\x01\x12\x99\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\xa0\x01\x12\x9d\x01/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\x12 /artifacts/api/v1/data/artifacts\x12\xa0\x02\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"\xb5\x01\x82\xd3\xe4\x93\x02\xae\x01ZK\x12I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\x12_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x64\n\rDeleteTrigger\x12\'.flyteidl.artifact.DeleteTriggerRequest\x1a(.flyteidl.artifact.DeleteTriggerResponse\"\x00\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xd4\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"d\x82\xd3\xe4\x93\x02^\x12\\/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flyteidl.artifact.artifacts_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\025com.flyteidl.artifactB\016ArtifactsProtoP\001Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\242\002\003FAX\252\002\021Flyteidl.Artifact\312\002\021Flyteidl\\Artifact\342\002\035Flyteidl\\Artifact\\GPBMetadata\352\002\022Flyteidl::Artifact' + _CREATEARTIFACTREQUEST_PARTITIONSENTRY._options = None + _CREATEARTIFACTREQUEST_PARTITIONSENTRY._serialized_options = b'8\001' + _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._options = None + _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002\237\004Z\270\001\022\265\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\234\001\022\231\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\240\001\022\235\001/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\022 /artifacts/api/v1/data/artifacts' + _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._options = None + _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._serialized_options = b'\202\323\344\223\002\256\001ZK\022I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\022_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}' + _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._options = None + _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._serialized_options = b'\202\323\344\223\002^\022\\/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}' + _globals['_ARTIFACT']._serialized_start=335 + _globals['_ARTIFACT']._serialized_end=537 + _globals['_CREATEARTIFACTREQUEST']._serialized_start=540 + _globals['_CREATEARTIFACTREQUEST']._serialized_end=935 + _globals['_CREATEARTIFACTREQUEST_PARTITIONSENTRY']._serialized_start=874 + _globals['_CREATEARTIFACTREQUEST_PARTITIONSENTRY']._serialized_end=935 + _globals['_ARTIFACTSOURCE']._serialized_start=938 + _globals['_ARTIFACTSOURCE']._serialized_end=1189 + _globals['_ARTIFACTSPEC']._serialized_start=1192 + _globals['_ARTIFACTSPEC']._serialized_end=1441 + _globals['_CREATEARTIFACTRESPONSE']._serialized_start=1443 + _globals['_CREATEARTIFACTRESPONSE']._serialized_end=1524 + _globals['_GETARTIFACTREQUEST']._serialized_start=1526 + _globals['_GETARTIFACTREQUEST']._serialized_end=1624 + _globals['_GETARTIFACTRESPONSE']._serialized_start=1626 + _globals['_GETARTIFACTRESPONSE']._serialized_end=1704 + _globals['_SEARCHOPTIONS']._serialized_start=1706 + _globals['_SEARCHOPTIONS']._serialized_end=1802 + _globals['_SEARCHARTIFACTSREQUEST']._serialized_start=1805 + _globals['_SEARCHARTIFACTSREQUEST']._serialized_end=2111 + _globals['_SEARCHARTIFACTSRESPONSE']._serialized_start=2113 + _globals['_SEARCHARTIFACTSRESPONSE']._serialized_end=2219 + _globals['_FINDBYWORKFLOWEXECREQUEST']._serialized_start=2222 + _globals['_FINDBYWORKFLOWEXECREQUEST']._serialized_end=2442 + _globals['_FINDBYWORKFLOWEXECREQUEST_DIRECTION']._serialized_start=2406 + _globals['_FINDBYWORKFLOWEXECREQUEST_DIRECTION']._serialized_end=2442 + _globals['_ADDTAGREQUEST']._serialized_start=2444 + _globals['_ADDTAGREQUEST']._serialized_end=2571 + _globals['_ADDTAGRESPONSE']._serialized_start=2573 + _globals['_ADDTAGRESPONSE']._serialized_end=2589 + _globals['_CREATETRIGGERREQUEST']._serialized_start=2591 + _globals['_CREATETRIGGERREQUEST']._serialized_end=2689 + _globals['_CREATETRIGGERRESPONSE']._serialized_start=2691 + _globals['_CREATETRIGGERRESPONSE']._serialized_end=2714 + _globals['_DELETETRIGGERREQUEST']._serialized_start=2716 + _globals['_DELETETRIGGERREQUEST']._serialized_end=2796 + _globals['_DELETETRIGGERRESPONSE']._serialized_start=2798 + _globals['_DELETETRIGGERRESPONSE']._serialized_end=2821 + _globals['_ARTIFACTPRODUCER']._serialized_start=2824 + _globals['_ARTIFACTPRODUCER']._serialized_end=2952 + _globals['_REGISTERPRODUCERREQUEST']._serialized_start=2954 + _globals['_REGISTERPRODUCERREQUEST']._serialized_end=3046 + _globals['_ARTIFACTCONSUMER']._serialized_start=3048 + _globals['_ARTIFACTCONSUMER']._serialized_end=3175 + _globals['_REGISTERCONSUMERREQUEST']._serialized_start=3177 + _globals['_REGISTERCONSUMERREQUEST']._serialized_end=3269 + _globals['_REGISTERRESPONSE']._serialized_start=3271 + _globals['_REGISTERRESPONSE']._serialized_end=3289 + _globals['_EXECUTIONINPUTSREQUEST']._serialized_start=3292 + _globals['_EXECUTIONINPUTSREQUEST']._serialized_end=3446 + _globals['_EXECUTIONINPUTSRESPONSE']._serialized_start=3448 + _globals['_EXECUTIONINPUTSRESPONSE']._serialized_end=3473 + _globals['_ARTIFACTREGISTRY']._serialized_start=3476 + _globals['_ARTIFACTREGISTRY']._serialized_end=5355 +# @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi new file mode 100644 index 0000000000..91c389b456 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi @@ -0,0 +1,225 @@ +from google.protobuf import any_pb2 as _any_pb2 +from google.api import annotations_pb2 as _annotations_pb2 +from flyteidl.admin import launch_plan_pb2 as _launch_plan_pb2 +from flyteidl.core import literals_pb2 as _literals_pb2 +from flyteidl.core import types_pb2 as _types_pb2 +from flyteidl.core import identifier_pb2 as _identifier_pb2 +from flyteidl.core import artifact_id_pb2 as _artifact_id_pb2 +from flyteidl.core import interface_pb2 as _interface_pb2 +from flyteidl.event import cloudevents_pb2 as _cloudevents_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class Artifact(_message.Message): + __slots__ = ["artifact_id", "spec", "tags", "source"] + ARTIFACT_ID_FIELD_NUMBER: _ClassVar[int] + SPEC_FIELD_NUMBER: _ClassVar[int] + TAGS_FIELD_NUMBER: _ClassVar[int] + SOURCE_FIELD_NUMBER: _ClassVar[int] + artifact_id: _artifact_id_pb2.ArtifactID + spec: ArtifactSpec + tags: _containers.RepeatedScalarFieldContainer[str] + source: ArtifactSource + def __init__(self, artifact_id: _Optional[_Union[_artifact_id_pb2.ArtifactID, _Mapping]] = ..., spec: _Optional[_Union[ArtifactSpec, _Mapping]] = ..., tags: _Optional[_Iterable[str]] = ..., source: _Optional[_Union[ArtifactSource, _Mapping]] = ...) -> None: ... + +class CreateArtifactRequest(_message.Message): + __slots__ = ["artifact_key", "version", "spec", "partitions", "tag", "source"] + class PartitionsEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + ARTIFACT_KEY_FIELD_NUMBER: _ClassVar[int] + VERSION_FIELD_NUMBER: _ClassVar[int] + SPEC_FIELD_NUMBER: _ClassVar[int] + PARTITIONS_FIELD_NUMBER: _ClassVar[int] + TAG_FIELD_NUMBER: _ClassVar[int] + SOURCE_FIELD_NUMBER: _ClassVar[int] + artifact_key: _artifact_id_pb2.ArtifactKey + version: str + spec: ArtifactSpec + partitions: _containers.ScalarMap[str, str] + tag: str + source: ArtifactSource + def __init__(self, artifact_key: _Optional[_Union[_artifact_id_pb2.ArtifactKey, _Mapping]] = ..., version: _Optional[str] = ..., spec: _Optional[_Union[ArtifactSpec, _Mapping]] = ..., partitions: _Optional[_Mapping[str, str]] = ..., tag: _Optional[str] = ..., source: _Optional[_Union[ArtifactSource, _Mapping]] = ...) -> None: ... + +class ArtifactSource(_message.Message): + __slots__ = ["workflow_execution", "node_id", "task_id", "retry_attempt", "principal"] + WORKFLOW_EXECUTION_FIELD_NUMBER: _ClassVar[int] + NODE_ID_FIELD_NUMBER: _ClassVar[int] + TASK_ID_FIELD_NUMBER: _ClassVar[int] + RETRY_ATTEMPT_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + workflow_execution: _identifier_pb2.WorkflowExecutionIdentifier + node_id: str + task_id: _identifier_pb2.Identifier + retry_attempt: int + principal: str + def __init__(self, workflow_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., node_id: _Optional[str] = ..., task_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., retry_attempt: _Optional[int] = ..., principal: _Optional[str] = ...) -> None: ... + +class ArtifactSpec(_message.Message): + __slots__ = ["value", "type", "short_description", "user_metadata", "metadata_type"] + VALUE_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + SHORT_DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + USER_METADATA_FIELD_NUMBER: _ClassVar[int] + METADATA_TYPE_FIELD_NUMBER: _ClassVar[int] + value: _literals_pb2.Literal + type: _types_pb2.LiteralType + short_description: str + user_metadata: _any_pb2.Any + metadata_type: str + def __init__(self, value: _Optional[_Union[_literals_pb2.Literal, _Mapping]] = ..., type: _Optional[_Union[_types_pb2.LiteralType, _Mapping]] = ..., short_description: _Optional[str] = ..., user_metadata: _Optional[_Union[_any_pb2.Any, _Mapping]] = ..., metadata_type: _Optional[str] = ...) -> None: ... + +class CreateArtifactResponse(_message.Message): + __slots__ = ["artifact"] + ARTIFACT_FIELD_NUMBER: _ClassVar[int] + artifact: Artifact + def __init__(self, artifact: _Optional[_Union[Artifact, _Mapping]] = ...) -> None: ... + +class GetArtifactRequest(_message.Message): + __slots__ = ["query", "details"] + QUERY_FIELD_NUMBER: _ClassVar[int] + DETAILS_FIELD_NUMBER: _ClassVar[int] + query: _artifact_id_pb2.ArtifactQuery + details: bool + def __init__(self, query: _Optional[_Union[_artifact_id_pb2.ArtifactQuery, _Mapping]] = ..., details: bool = ...) -> None: ... + +class GetArtifactResponse(_message.Message): + __slots__ = ["artifact"] + ARTIFACT_FIELD_NUMBER: _ClassVar[int] + artifact: Artifact + def __init__(self, artifact: _Optional[_Union[Artifact, _Mapping]] = ...) -> None: ... + +class SearchOptions(_message.Message): + __slots__ = ["strict_partitions", "latest_by_key"] + STRICT_PARTITIONS_FIELD_NUMBER: _ClassVar[int] + LATEST_BY_KEY_FIELD_NUMBER: _ClassVar[int] + strict_partitions: bool + latest_by_key: bool + def __init__(self, strict_partitions: bool = ..., latest_by_key: bool = ...) -> None: ... + +class SearchArtifactsRequest(_message.Message): + __slots__ = ["artifact_key", "partitions", "principal", "version", "options", "token", "limit"] + ARTIFACT_KEY_FIELD_NUMBER: _ClassVar[int] + PARTITIONS_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + VERSION_FIELD_NUMBER: _ClassVar[int] + OPTIONS_FIELD_NUMBER: _ClassVar[int] + TOKEN_FIELD_NUMBER: _ClassVar[int] + LIMIT_FIELD_NUMBER: _ClassVar[int] + artifact_key: _artifact_id_pb2.ArtifactKey + partitions: _artifact_id_pb2.Partitions + principal: str + version: str + options: SearchOptions + token: str + limit: int + def __init__(self, artifact_key: _Optional[_Union[_artifact_id_pb2.ArtifactKey, _Mapping]] = ..., partitions: _Optional[_Union[_artifact_id_pb2.Partitions, _Mapping]] = ..., principal: _Optional[str] = ..., version: _Optional[str] = ..., options: _Optional[_Union[SearchOptions, _Mapping]] = ..., token: _Optional[str] = ..., limit: _Optional[int] = ...) -> None: ... + +class SearchArtifactsResponse(_message.Message): + __slots__ = ["artifacts", "token"] + ARTIFACTS_FIELD_NUMBER: _ClassVar[int] + TOKEN_FIELD_NUMBER: _ClassVar[int] + artifacts: _containers.RepeatedCompositeFieldContainer[Artifact] + token: str + def __init__(self, artifacts: _Optional[_Iterable[_Union[Artifact, _Mapping]]] = ..., token: _Optional[str] = ...) -> None: ... + +class FindByWorkflowExecRequest(_message.Message): + __slots__ = ["exec_id", "direction"] + class Direction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + INPUTS: _ClassVar[FindByWorkflowExecRequest.Direction] + OUTPUTS: _ClassVar[FindByWorkflowExecRequest.Direction] + INPUTS: FindByWorkflowExecRequest.Direction + OUTPUTS: FindByWorkflowExecRequest.Direction + EXEC_ID_FIELD_NUMBER: _ClassVar[int] + DIRECTION_FIELD_NUMBER: _ClassVar[int] + exec_id: _identifier_pb2.WorkflowExecutionIdentifier + direction: FindByWorkflowExecRequest.Direction + def __init__(self, exec_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., direction: _Optional[_Union[FindByWorkflowExecRequest.Direction, str]] = ...) -> None: ... + +class AddTagRequest(_message.Message): + __slots__ = ["artifact_id", "value", "overwrite"] + ARTIFACT_ID_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + OVERWRITE_FIELD_NUMBER: _ClassVar[int] + artifact_id: _artifact_id_pb2.ArtifactID + value: str + overwrite: bool + def __init__(self, artifact_id: _Optional[_Union[_artifact_id_pb2.ArtifactID, _Mapping]] = ..., value: _Optional[str] = ..., overwrite: bool = ...) -> None: ... + +class AddTagResponse(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class CreateTriggerRequest(_message.Message): + __slots__ = ["trigger_launch_plan"] + TRIGGER_LAUNCH_PLAN_FIELD_NUMBER: _ClassVar[int] + trigger_launch_plan: _launch_plan_pb2.LaunchPlan + def __init__(self, trigger_launch_plan: _Optional[_Union[_launch_plan_pb2.LaunchPlan, _Mapping]] = ...) -> None: ... + +class CreateTriggerResponse(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class DeleteTriggerRequest(_message.Message): + __slots__ = ["trigger_id"] + TRIGGER_ID_FIELD_NUMBER: _ClassVar[int] + trigger_id: _identifier_pb2.Identifier + def __init__(self, trigger_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... + +class DeleteTriggerResponse(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class ArtifactProducer(_message.Message): + __slots__ = ["entity_id", "outputs"] + ENTITY_ID_FIELD_NUMBER: _ClassVar[int] + OUTPUTS_FIELD_NUMBER: _ClassVar[int] + entity_id: _identifier_pb2.Identifier + outputs: _interface_pb2.VariableMap + def __init__(self, entity_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., outputs: _Optional[_Union[_interface_pb2.VariableMap, _Mapping]] = ...) -> None: ... + +class RegisterProducerRequest(_message.Message): + __slots__ = ["producers"] + PRODUCERS_FIELD_NUMBER: _ClassVar[int] + producers: _containers.RepeatedCompositeFieldContainer[ArtifactProducer] + def __init__(self, producers: _Optional[_Iterable[_Union[ArtifactProducer, _Mapping]]] = ...) -> None: ... + +class ArtifactConsumer(_message.Message): + __slots__ = ["entity_id", "inputs"] + ENTITY_ID_FIELD_NUMBER: _ClassVar[int] + INPUTS_FIELD_NUMBER: _ClassVar[int] + entity_id: _identifier_pb2.Identifier + inputs: _interface_pb2.ParameterMap + def __init__(self, entity_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., inputs: _Optional[_Union[_interface_pb2.ParameterMap, _Mapping]] = ...) -> None: ... + +class RegisterConsumerRequest(_message.Message): + __slots__ = ["consumers"] + CONSUMERS_FIELD_NUMBER: _ClassVar[int] + consumers: _containers.RepeatedCompositeFieldContainer[ArtifactConsumer] + def __init__(self, consumers: _Optional[_Iterable[_Union[ArtifactConsumer, _Mapping]]] = ...) -> None: ... + +class RegisterResponse(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class ExecutionInputsRequest(_message.Message): + __slots__ = ["execution_id", "inputs"] + EXECUTION_ID_FIELD_NUMBER: _ClassVar[int] + INPUTS_FIELD_NUMBER: _ClassVar[int] + execution_id: _identifier_pb2.WorkflowExecutionIdentifier + inputs: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] + def __init__(self, execution_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., inputs: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ...) -> None: ... + +class ExecutionInputsResponse(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py new file mode 100644 index 0000000000..b989cdc000 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py @@ -0,0 +1,363 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from flyteidl.artifact import artifacts_pb2 as flyteidl_dot_artifact_dot_artifacts__pb2 + + +class ArtifactRegistryStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateArtifact = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/CreateArtifact', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactResponse.FromString, + ) + self.GetArtifact = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/GetArtifact', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactResponse.FromString, + ) + self.SearchArtifacts = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/SearchArtifacts', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.SearchArtifactsRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.SearchArtifactsResponse.FromString, + ) + self.CreateTrigger = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/CreateTrigger', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerResponse.FromString, + ) + self.DeleteTrigger = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/DeleteTrigger', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.FromString, + ) + self.AddTag = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/AddTag', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.AddTagRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.AddTagResponse.FromString, + ) + self.RegisterProducer = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/RegisterProducer', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterProducerRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.FromString, + ) + self.RegisterConsumer = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/RegisterConsumer', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterConsumerRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.FromString, + ) + self.SetExecutionInputs = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/SetExecutionInputs', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.ExecutionInputsRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.ExecutionInputsResponse.FromString, + ) + self.FindByWorkflowExec = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/FindByWorkflowExec', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.FindByWorkflowExecRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.SearchArtifactsResponse.FromString, + ) + + +class ArtifactRegistryServicer(object): + """Missing associated documentation comment in .proto file.""" + + def CreateArtifact(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetArtifact(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SearchArtifacts(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CreateTrigger(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteTrigger(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddTag(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterProducer(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterConsumer(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SetExecutionInputs(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FindByWorkflowExec(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ArtifactRegistryServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateArtifact': grpc.unary_unary_rpc_method_handler( + servicer.CreateArtifact, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactResponse.SerializeToString, + ), + 'GetArtifact': grpc.unary_unary_rpc_method_handler( + servicer.GetArtifact, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactResponse.SerializeToString, + ), + 'SearchArtifacts': grpc.unary_unary_rpc_method_handler( + servicer.SearchArtifacts, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.SearchArtifactsRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.SearchArtifactsResponse.SerializeToString, + ), + 'CreateTrigger': grpc.unary_unary_rpc_method_handler( + servicer.CreateTrigger, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerResponse.SerializeToString, + ), + 'DeleteTrigger': grpc.unary_unary_rpc_method_handler( + servicer.DeleteTrigger, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.SerializeToString, + ), + 'AddTag': grpc.unary_unary_rpc_method_handler( + servicer.AddTag, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.AddTagRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.AddTagResponse.SerializeToString, + ), + 'RegisterProducer': grpc.unary_unary_rpc_method_handler( + servicer.RegisterProducer, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterProducerRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.SerializeToString, + ), + 'RegisterConsumer': grpc.unary_unary_rpc_method_handler( + servicer.RegisterConsumer, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterConsumerRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.SerializeToString, + ), + 'SetExecutionInputs': grpc.unary_unary_rpc_method_handler( + servicer.SetExecutionInputs, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.ExecutionInputsRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.ExecutionInputsResponse.SerializeToString, + ), + 'FindByWorkflowExec': grpc.unary_unary_rpc_method_handler( + servicer.FindByWorkflowExec, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.FindByWorkflowExecRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.SearchArtifactsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'flyteidl.artifact.ArtifactRegistry', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ArtifactRegistry(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def CreateArtifact(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/CreateArtifact', + flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.CreateArtifactResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetArtifact(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/GetArtifact', + flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.GetArtifactResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def SearchArtifacts(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/SearchArtifacts', + flyteidl_dot_artifact_dot_artifacts__pb2.SearchArtifactsRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.SearchArtifactsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def CreateTrigger(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/CreateTrigger', + flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeleteTrigger(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/DeleteTrigger', + flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def AddTag(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/AddTag', + flyteidl_dot_artifact_dot_artifacts__pb2.AddTagRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.AddTagResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RegisterProducer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/RegisterProducer', + flyteidl_dot_artifact_dot_artifacts__pb2.RegisterProducerRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def RegisterConsumer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/RegisterConsumer', + flyteidl_dot_artifact_dot_artifacts__pb2.RegisterConsumerRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.RegisterResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def SetExecutionInputs(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/SetExecutionInputs', + flyteidl_dot_artifact_dot_artifacts__pb2.ExecutionInputsRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.ExecutionInputsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def FindByWorkflowExec(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/FindByWorkflowExec', + flyteidl_dot_artifact_dot_artifacts__pb2.FindByWorkflowExecRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.SearchArtifactsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.py b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.py new file mode 100644 index 0000000000..9496d9c008 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/core/artifact_id.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x66lyteidl/core/artifact_id.proto\x12\rflyteidl.core\x1a\x1e\x66lyteidl/core/identifier.proto\"S\n\x0b\x41rtifactKey\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\"n\n\x13\x41rtifactBindingData\x12\x14\n\x05index\x18\x01 \x01(\rR\x05index\x12#\n\rpartition_key\x18\x02 \x01(\tR\x0cpartitionKey\x12\x1c\n\ttransform\x18\x03 \x01(\tR\ttransform\"$\n\x10InputBindingData\x12\x10\n\x03var\x18\x01 \x01(\tR\x03var\"\xd5\x01\n\nLabelValue\x12#\n\x0cstatic_value\x18\x01 \x01(\tH\x00R\x0bstaticValue\x12Q\n\x11triggered_binding\x18\x02 \x01(\x0b\x32\".flyteidl.core.ArtifactBindingDataH\x00R\x10triggeredBinding\x12\x46\n\rinput_binding\x18\x03 \x01(\x0b\x32\x1f.flyteidl.core.InputBindingDataH\x00R\x0cinputBindingB\x07\n\x05value\"\x9d\x01\n\nPartitions\x12:\n\x05value\x18\x01 \x03(\x0b\x32$.flyteidl.core.Partitions.ValueEntryR\x05value\x1aS\n\nValueEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12/\n\x05value\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LabelValueR\x05value:\x02\x38\x01\"\xb0\x01\n\nArtifactID\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12;\n\npartitions\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.PartitionsH\x00R\npartitionsB\x0c\n\ndimensions\"}\n\x0b\x41rtifactTag\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12/\n\x05value\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LabelValueR\x05value\"\xf0\x01\n\rArtifactQuery\x12<\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDH\x00R\nartifactId\x12?\n\x0c\x61rtifact_tag\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactTagH\x00R\x0b\x61rtifactTag\x12\x12\n\x03uri\x18\x03 \x01(\tH\x00R\x03uri\x12>\n\x07\x62inding\x18\x04 \x01(\x0b\x32\".flyteidl.core.ArtifactBindingDataH\x00R\x07\x62indingB\x0c\n\nidentifier\"z\n\x07Trigger\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\x12\x35\n\x08triggers\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x08triggersB\xb5\x01\n\x11\x63om.flyteidl.coreB\x0f\x41rtifactIdProtoP\x01Z:github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core\xa2\x02\x03\x46\x43X\xaa\x02\rFlyteidl.Core\xca\x02\rFlyteidl\\Core\xe2\x02\x19\x46lyteidl\\Core\\GPBMetadata\xea\x02\x0e\x46lyteidl::Coreb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flyteidl.core.artifact_id_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\021com.flyteidl.coreB\017ArtifactIdProtoP\001Z:github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core\242\002\003FCX\252\002\rFlyteidl.Core\312\002\rFlyteidl\\Core\342\002\031Flyteidl\\Core\\GPBMetadata\352\002\016Flyteidl::Core' + _PARTITIONS_VALUEENTRY._options = None + _PARTITIONS_VALUEENTRY._serialized_options = b'8\001' + _globals['_ARTIFACTKEY']._serialized_start=82 + _globals['_ARTIFACTKEY']._serialized_end=165 + _globals['_ARTIFACTBINDINGDATA']._serialized_start=167 + _globals['_ARTIFACTBINDINGDATA']._serialized_end=277 + _globals['_INPUTBINDINGDATA']._serialized_start=279 + _globals['_INPUTBINDINGDATA']._serialized_end=315 + _globals['_LABELVALUE']._serialized_start=318 + _globals['_LABELVALUE']._serialized_end=531 + _globals['_PARTITIONS']._serialized_start=534 + _globals['_PARTITIONS']._serialized_end=691 + _globals['_PARTITIONS_VALUEENTRY']._serialized_start=608 + _globals['_PARTITIONS_VALUEENTRY']._serialized_end=691 + _globals['_ARTIFACTID']._serialized_start=694 + _globals['_ARTIFACTID']._serialized_end=870 + _globals['_ARTIFACTTAG']._serialized_start=872 + _globals['_ARTIFACTTAG']._serialized_end=997 + _globals['_ARTIFACTQUERY']._serialized_start=1000 + _globals['_ARTIFACTQUERY']._serialized_end=1240 + _globals['_TRIGGER']._serialized_start=1242 + _globals['_TRIGGER']._serialized_end=1364 +# @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.pyi new file mode 100644 index 0000000000..4f65759ae7 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2.pyi @@ -0,0 +1,94 @@ +from flyteidl.core import identifier_pb2 as _identifier_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class ArtifactKey(_message.Message): + __slots__ = ["project", "domain", "name"] + PROJECT_FIELD_NUMBER: _ClassVar[int] + DOMAIN_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + project: str + domain: str + name: str + def __init__(self, project: _Optional[str] = ..., domain: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ... + +class ArtifactBindingData(_message.Message): + __slots__ = ["index", "partition_key", "transform"] + INDEX_FIELD_NUMBER: _ClassVar[int] + PARTITION_KEY_FIELD_NUMBER: _ClassVar[int] + TRANSFORM_FIELD_NUMBER: _ClassVar[int] + index: int + partition_key: str + transform: str + def __init__(self, index: _Optional[int] = ..., partition_key: _Optional[str] = ..., transform: _Optional[str] = ...) -> None: ... + +class InputBindingData(_message.Message): + __slots__ = ["var"] + VAR_FIELD_NUMBER: _ClassVar[int] + var: str + def __init__(self, var: _Optional[str] = ...) -> None: ... + +class LabelValue(_message.Message): + __slots__ = ["static_value", "triggered_binding", "input_binding"] + STATIC_VALUE_FIELD_NUMBER: _ClassVar[int] + TRIGGERED_BINDING_FIELD_NUMBER: _ClassVar[int] + INPUT_BINDING_FIELD_NUMBER: _ClassVar[int] + static_value: str + triggered_binding: ArtifactBindingData + input_binding: InputBindingData + def __init__(self, static_value: _Optional[str] = ..., triggered_binding: _Optional[_Union[ArtifactBindingData, _Mapping]] = ..., input_binding: _Optional[_Union[InputBindingData, _Mapping]] = ...) -> None: ... + +class Partitions(_message.Message): + __slots__ = ["value"] + class ValueEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: LabelValue + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[LabelValue, _Mapping]] = ...) -> None: ... + VALUE_FIELD_NUMBER: _ClassVar[int] + value: _containers.MessageMap[str, LabelValue] + def __init__(self, value: _Optional[_Mapping[str, LabelValue]] = ...) -> None: ... + +class ArtifactID(_message.Message): + __slots__ = ["artifact_key", "version", "partitions"] + ARTIFACT_KEY_FIELD_NUMBER: _ClassVar[int] + VERSION_FIELD_NUMBER: _ClassVar[int] + PARTITIONS_FIELD_NUMBER: _ClassVar[int] + artifact_key: ArtifactKey + version: str + partitions: Partitions + def __init__(self, artifact_key: _Optional[_Union[ArtifactKey, _Mapping]] = ..., version: _Optional[str] = ..., partitions: _Optional[_Union[Partitions, _Mapping]] = ...) -> None: ... + +class ArtifactTag(_message.Message): + __slots__ = ["artifact_key", "value"] + ARTIFACT_KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + artifact_key: ArtifactKey + value: LabelValue + def __init__(self, artifact_key: _Optional[_Union[ArtifactKey, _Mapping]] = ..., value: _Optional[_Union[LabelValue, _Mapping]] = ...) -> None: ... + +class ArtifactQuery(_message.Message): + __slots__ = ["artifact_id", "artifact_tag", "uri", "binding"] + ARTIFACT_ID_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_TAG_FIELD_NUMBER: _ClassVar[int] + URI_FIELD_NUMBER: _ClassVar[int] + BINDING_FIELD_NUMBER: _ClassVar[int] + artifact_id: ArtifactID + artifact_tag: ArtifactTag + uri: str + binding: ArtifactBindingData + def __init__(self, artifact_id: _Optional[_Union[ArtifactID, _Mapping]] = ..., artifact_tag: _Optional[_Union[ArtifactTag, _Mapping]] = ..., uri: _Optional[str] = ..., binding: _Optional[_Union[ArtifactBindingData, _Mapping]] = ...) -> None: ... + +class Trigger(_message.Message): + __slots__ = ["trigger_id", "triggers"] + TRIGGER_ID_FIELD_NUMBER: _ClassVar[int] + TRIGGERS_FIELD_NUMBER: _ClassVar[int] + trigger_id: _identifier_pb2.Identifier + triggers: _containers.RepeatedCompositeFieldContainer[ArtifactID] + def __init__(self, trigger_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., triggers: _Optional[_Iterable[_Union[ArtifactID, _Mapping]]] = ...) -> None: ... diff --git a/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2_grpc.py new file mode 100644 index 0000000000..2daafffebf --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/core/artifact_id_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.py b/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.py index 7ac90d0dd1..5a35294103 100644 --- a/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.py @@ -13,9 +13,10 @@ from flyteidl.core import types_pb2 as flyteidl_dot_core_dot_types__pb2 from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 +from flyteidl.core import artifact_id_pb2 as flyteidl_dot_core_dot_artifact__id__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x66lyteidl/core/interface.proto\x12\rflyteidl.core\x1a\x19\x66lyteidl/core/types.proto\x1a\x1c\x66lyteidl/core/literals.proto\"\\\n\x08Variable\x12.\n\x04type\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\"\xad\x01\n\x0bVariableMap\x12G\n\tvariables\x18\x01 \x03(\x0b\x32).flyteidl.core.VariableMap.VariablesEntryR\tvariables\x1aU\n\x0eVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x17.flyteidl.core.VariableR\x05value:\x02\x38\x01\"z\n\x0eTypedInterface\x12\x32\n\x06inputs\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x06inputs\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\x94\x01\n\tParameter\x12)\n\x03var\x18\x01 \x01(\x0b\x32\x17.flyteidl.core.VariableR\x03var\x12\x32\n\x07\x64\x65\x66\x61ult\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralH\x00R\x07\x64\x65\x66\x61ult\x12\x1c\n\x08required\x18\x03 \x01(\x08H\x00R\x08requiredB\n\n\x08\x62\x65havior\"\xb4\x01\n\x0cParameterMap\x12K\n\nparameters\x18\x01 \x03(\x0b\x32+.flyteidl.core.ParameterMap.ParametersEntryR\nparameters\x1aW\n\x0fParametersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x18.flyteidl.core.ParameterR\x05value:\x02\x38\x01\x42\xb4\x01\n\x11\x63om.flyteidl.coreB\x0eInterfaceProtoP\x01Z:github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core\xa2\x02\x03\x46\x43X\xaa\x02\rFlyteidl.Core\xca\x02\rFlyteidl\\Core\xe2\x02\x19\x46lyteidl\\Core\\GPBMetadata\xea\x02\x0e\x46lyteidl::Coreb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x66lyteidl/core/interface.proto\x12\rflyteidl.core\x1a\x19\x66lyteidl/core/types.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\"\xe6\x01\n\x08Variable\x12.\n\x04type\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12I\n\x13\x61rtifact_partial_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x11\x61rtifactPartialId\x12=\n\x0c\x61rtifact_tag\x18\x04 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactTagR\x0b\x61rtifactTag\"\xad\x01\n\x0bVariableMap\x12G\n\tvariables\x18\x01 \x03(\x0b\x32).flyteidl.core.VariableMap.VariablesEntryR\tvariables\x1aU\n\x0eVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x17.flyteidl.core.VariableR\x05value:\x02\x38\x01\"z\n\x0eTypedInterface\x12\x32\n\x06inputs\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x06inputs\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\x99\x02\n\tParameter\x12)\n\x03var\x18\x01 \x01(\x0b\x32\x17.flyteidl.core.VariableR\x03var\x12\x32\n\x07\x64\x65\x66\x61ult\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralH\x00R\x07\x64\x65\x66\x61ult\x12\x1c\n\x08required\x18\x03 \x01(\x08H\x00R\x08required\x12\x45\n\x0e\x61rtifact_query\x18\x04 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryH\x00R\rartifactQuery\x12<\n\x0b\x61rtifact_id\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDH\x00R\nartifactIdB\n\n\x08\x62\x65havior\"\xb4\x01\n\x0cParameterMap\x12K\n\nparameters\x18\x01 \x03(\x0b\x32+.flyteidl.core.ParameterMap.ParametersEntryR\nparameters\x1aW\n\x0fParametersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x18.flyteidl.core.ParameterR\x05value:\x02\x38\x01\x42\xb4\x01\n\x11\x63om.flyteidl.coreB\x0eInterfaceProtoP\x01Z:github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core\xa2\x02\x03\x46\x43X\xaa\x02\rFlyteidl.Core\xca\x02\rFlyteidl\\Core\xe2\x02\x19\x46lyteidl\\Core\\GPBMetadata\xea\x02\x0e\x46lyteidl::Coreb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -28,18 +29,18 @@ _VARIABLEMAP_VARIABLESENTRY._serialized_options = b'8\001' _PARAMETERMAP_PARAMETERSENTRY._options = None _PARAMETERMAP_PARAMETERSENTRY._serialized_options = b'8\001' - _globals['_VARIABLE']._serialized_start=105 - _globals['_VARIABLE']._serialized_end=197 - _globals['_VARIABLEMAP']._serialized_start=200 - _globals['_VARIABLEMAP']._serialized_end=373 - _globals['_VARIABLEMAP_VARIABLESENTRY']._serialized_start=288 - _globals['_VARIABLEMAP_VARIABLESENTRY']._serialized_end=373 - _globals['_TYPEDINTERFACE']._serialized_start=375 - _globals['_TYPEDINTERFACE']._serialized_end=497 - _globals['_PARAMETER']._serialized_start=500 - _globals['_PARAMETER']._serialized_end=648 - _globals['_PARAMETERMAP']._serialized_start=651 - _globals['_PARAMETERMAP']._serialized_end=831 - _globals['_PARAMETERMAP_PARAMETERSENTRY']._serialized_start=744 - _globals['_PARAMETERMAP_PARAMETERSENTRY']._serialized_end=831 + _globals['_VARIABLE']._serialized_start=139 + _globals['_VARIABLE']._serialized_end=369 + _globals['_VARIABLEMAP']._serialized_start=372 + _globals['_VARIABLEMAP']._serialized_end=545 + _globals['_VARIABLEMAP_VARIABLESENTRY']._serialized_start=460 + _globals['_VARIABLEMAP_VARIABLESENTRY']._serialized_end=545 + _globals['_TYPEDINTERFACE']._serialized_start=547 + _globals['_TYPEDINTERFACE']._serialized_end=669 + _globals['_PARAMETER']._serialized_start=672 + _globals['_PARAMETER']._serialized_end=953 + _globals['_PARAMETERMAP']._serialized_start=956 + _globals['_PARAMETERMAP']._serialized_end=1136 + _globals['_PARAMETERMAP_PARAMETERSENTRY']._serialized_start=1049 + _globals['_PARAMETERMAP_PARAMETERSENTRY']._serialized_end=1136 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.pyi index ca7c21bb64..ee3ac9c2b5 100644 --- a/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/core/interface_pb2.pyi @@ -1,5 +1,6 @@ from flyteidl.core import types_pb2 as _types_pb2 from flyteidl.core import literals_pb2 as _literals_pb2 +from flyteidl.core import artifact_id_pb2 as _artifact_id_pb2 from google.protobuf.internal import containers as _containers from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message @@ -8,12 +9,16 @@ from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Opti DESCRIPTOR: _descriptor.FileDescriptor class Variable(_message.Message): - __slots__ = ["type", "description"] + __slots__ = ["type", "description", "artifact_partial_id", "artifact_tag"] TYPE_FIELD_NUMBER: _ClassVar[int] DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_PARTIAL_ID_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_TAG_FIELD_NUMBER: _ClassVar[int] type: _types_pb2.LiteralType description: str - def __init__(self, type: _Optional[_Union[_types_pb2.LiteralType, _Mapping]] = ..., description: _Optional[str] = ...) -> None: ... + artifact_partial_id: _artifact_id_pb2.ArtifactID + artifact_tag: _artifact_id_pb2.ArtifactTag + def __init__(self, type: _Optional[_Union[_types_pb2.LiteralType, _Mapping]] = ..., description: _Optional[str] = ..., artifact_partial_id: _Optional[_Union[_artifact_id_pb2.ArtifactID, _Mapping]] = ..., artifact_tag: _Optional[_Union[_artifact_id_pb2.ArtifactTag, _Mapping]] = ...) -> None: ... class VariableMap(_message.Message): __slots__ = ["variables"] @@ -37,14 +42,18 @@ class TypedInterface(_message.Message): def __init__(self, inputs: _Optional[_Union[VariableMap, _Mapping]] = ..., outputs: _Optional[_Union[VariableMap, _Mapping]] = ...) -> None: ... class Parameter(_message.Message): - __slots__ = ["var", "default", "required"] + __slots__ = ["var", "default", "required", "artifact_query", "artifact_id"] VAR_FIELD_NUMBER: _ClassVar[int] DEFAULT_FIELD_NUMBER: _ClassVar[int] REQUIRED_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_QUERY_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_ID_FIELD_NUMBER: _ClassVar[int] var: Variable default: _literals_pb2.Literal required: bool - def __init__(self, var: _Optional[_Union[Variable, _Mapping]] = ..., default: _Optional[_Union[_literals_pb2.Literal, _Mapping]] = ..., required: bool = ...) -> None: ... + artifact_query: _artifact_id_pb2.ArtifactQuery + artifact_id: _artifact_id_pb2.ArtifactID + def __init__(self, var: _Optional[_Union[Variable, _Mapping]] = ..., default: _Optional[_Union[_literals_pb2.Literal, _Mapping]] = ..., required: bool = ..., artifact_query: _Optional[_Union[_artifact_id_pb2.ArtifactQuery, _Mapping]] = ..., artifact_id: _Optional[_Union[_artifact_id_pb2.ArtifactID, _Mapping]] = ...) -> None: ... class ParameterMap(_message.Message): __slots__ = ["parameters"] diff --git a/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.py b/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.py index 42a098cb95..77bc3ea3f0 100644 --- a/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.py @@ -17,7 +17,7 @@ from flyteidl.core import types_pb2 as flyteidl_dot_core_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lyteidl/core/literals.proto\x12\rflyteidl.core\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x19\x66lyteidl/core/types.proto\"\x87\x02\n\tPrimitive\x12\x1a\n\x07integer\x18\x01 \x01(\x03H\x00R\x07integer\x12!\n\x0b\x66loat_value\x18\x02 \x01(\x01H\x00R\nfloatValue\x12#\n\x0cstring_value\x18\x03 \x01(\tH\x00R\x0bstringValue\x12\x1a\n\x07\x62oolean\x18\x04 \x01(\x08H\x00R\x07\x62oolean\x12\x38\n\x08\x64\x61tetime\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x08\x64\x61tetime\x12\x37\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\x08\x64urationB\x07\n\x05value\"\x06\n\x04Void\"Q\n\x04\x42lob\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x1b.flyteidl.core.BlobMetadataR\x08metadata\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\";\n\x0c\x42lobMetadata\x12+\n\x04type\x18\x01 \x01(\x0b\x32\x17.flyteidl.core.BlobTypeR\x04type\"0\n\x06\x42inary\x12\x14\n\x05value\x18\x01 \x01(\x0cR\x05value\x12\x10\n\x03tag\x18\x02 \x01(\tR\x03tag\"I\n\x06Schema\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\x12-\n\x04type\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.SchemaTypeR\x04type\"e\n\x05Union\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\"y\n\x19StructuredDatasetMetadata\x12\\\n\x17structured_dataset_type\x18\x01 \x01(\x0b\x32$.flyteidl.core.StructuredDatasetTypeR\x15structuredDatasetType\"k\n\x11StructuredDataset\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\x12\x44\n\x08metadata\x18\x02 \x01(\x0b\x32(.flyteidl.core.StructuredDatasetMetadataR\x08metadata\"\xf0\x03\n\x06Scalar\x12\x38\n\tprimitive\x18\x01 \x01(\x0b\x32\x18.flyteidl.core.PrimitiveH\x00R\tprimitive\x12)\n\x04\x62lob\x18\x02 \x01(\x0b\x32\x13.flyteidl.core.BlobH\x00R\x04\x62lob\x12/\n\x06\x62inary\x18\x03 \x01(\x0b\x32\x15.flyteidl.core.BinaryH\x00R\x06\x62inary\x12/\n\x06schema\x18\x04 \x01(\x0b\x32\x15.flyteidl.core.SchemaH\x00R\x06schema\x12\x32\n\tnone_type\x18\x05 \x01(\x0b\x32\x13.flyteidl.core.VoidH\x00R\x08noneType\x12,\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x14.flyteidl.core.ErrorH\x00R\x05\x65rror\x12\x33\n\x07generic\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructH\x00R\x07generic\x12Q\n\x12structured_dataset\x18\x08 \x01(\x0b\x32 .flyteidl.core.StructuredDatasetH\x00R\x11structuredDataset\x12,\n\x05union\x18\t \x01(\x0b\x32\x14.flyteidl.core.UnionH\x00R\x05unionB\x07\n\x05value\"\xca\x01\n\x07Literal\x12/\n\x06scalar\x18\x01 \x01(\x0b\x32\x15.flyteidl.core.ScalarH\x00R\x06scalar\x12\x42\n\ncollection\x18\x02 \x01(\x0b\x32 .flyteidl.core.LiteralCollectionH\x00R\ncollection\x12-\n\x03map\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00R\x03map\x12\x12\n\x04hash\x18\x04 \x01(\tR\x04hashB\x07\n\x05value\"G\n\x11LiteralCollection\x12\x32\n\x08literals\x18\x01 \x03(\x0b\x32\x16.flyteidl.core.LiteralR\x08literals\"\xa6\x01\n\nLiteralMap\x12\x43\n\x08literals\x18\x01 \x03(\x0b\x32\'.flyteidl.core.LiteralMap.LiteralsEntryR\x08literals\x1aS\n\rLiteralsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value:\x02\x38\x01\"O\n\x15\x42indingDataCollection\x12\x36\n\x08\x62indings\x18\x01 \x03(\x0b\x32\x1a.flyteidl.core.BindingDataR\x08\x62indings\"\xb2\x01\n\x0e\x42indingDataMap\x12G\n\x08\x62indings\x18\x01 \x03(\x0b\x32+.flyteidl.core.BindingDataMap.BindingsEntryR\x08\x62indings\x1aW\n\rBindingsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.BindingDataR\x05value:\x02\x38\x01\"G\n\tUnionInfo\x12:\n\ntargetType\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\ntargetType\"\xae\x02\n\x0b\x42indingData\x12/\n\x06scalar\x18\x01 \x01(\x0b\x32\x15.flyteidl.core.ScalarH\x00R\x06scalar\x12\x46\n\ncollection\x18\x02 \x01(\x0b\x32$.flyteidl.core.BindingDataCollectionH\x00R\ncollection\x12:\n\x07promise\x18\x03 \x01(\x0b\x32\x1e.flyteidl.core.OutputReferenceH\x00R\x07promise\x12\x31\n\x03map\x18\x04 \x01(\x0b\x32\x1d.flyteidl.core.BindingDataMapH\x00R\x03map\x12.\n\x05union\x18\x05 \x01(\x0b\x32\x18.flyteidl.core.UnionInfoR\x05unionB\x07\n\x05value\"Q\n\x07\x42inding\x12\x10\n\x03var\x18\x01 \x01(\tR\x03var\x12\x34\n\x07\x62inding\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.BindingDataR\x07\x62inding\"6\n\x0cKeyValuePair\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\")\n\rRetryStrategy\x12\x18\n\x07retries\x18\x05 \x01(\rR\x07retriesB\xb3\x01\n\x11\x63om.flyteidl.coreB\rLiteralsProtoP\x01Z:github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core\xa2\x02\x03\x46\x43X\xaa\x02\rFlyteidl.Core\xca\x02\rFlyteidl\\Core\xe2\x02\x19\x46lyteidl\\Core\\GPBMetadata\xea\x02\x0e\x46lyteidl::Coreb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66lyteidl/core/literals.proto\x12\rflyteidl.core\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x19\x66lyteidl/core/types.proto\"\x87\x02\n\tPrimitive\x12\x1a\n\x07integer\x18\x01 \x01(\x03H\x00R\x07integer\x12!\n\x0b\x66loat_value\x18\x02 \x01(\x01H\x00R\nfloatValue\x12#\n\x0cstring_value\x18\x03 \x01(\tH\x00R\x0bstringValue\x12\x1a\n\x07\x62oolean\x18\x04 \x01(\x08H\x00R\x07\x62oolean\x12\x38\n\x08\x64\x61tetime\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x08\x64\x61tetime\x12\x37\n\x08\x64uration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00R\x08\x64urationB\x07\n\x05value\"\x06\n\x04Void\"Q\n\x04\x42lob\x12\x37\n\x08metadata\x18\x01 \x01(\x0b\x32\x1b.flyteidl.core.BlobMetadataR\x08metadata\x12\x10\n\x03uri\x18\x03 \x01(\tR\x03uri\";\n\x0c\x42lobMetadata\x12+\n\x04type\x18\x01 \x01(\x0b\x32\x17.flyteidl.core.BlobTypeR\x04type\"0\n\x06\x42inary\x12\x14\n\x05value\x18\x01 \x01(\x0cR\x05value\x12\x10\n\x03tag\x18\x02 \x01(\tR\x03tag\"I\n\x06Schema\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\x12-\n\x04type\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.SchemaTypeR\x04type\"e\n\x05Union\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\"y\n\x19StructuredDatasetMetadata\x12\\\n\x17structured_dataset_type\x18\x01 \x01(\x0b\x32$.flyteidl.core.StructuredDatasetTypeR\x15structuredDatasetType\"k\n\x11StructuredDataset\x12\x10\n\x03uri\x18\x01 \x01(\tR\x03uri\x12\x44\n\x08metadata\x18\x02 \x01(\x0b\x32(.flyteidl.core.StructuredDatasetMetadataR\x08metadata\"\xf0\x03\n\x06Scalar\x12\x38\n\tprimitive\x18\x01 \x01(\x0b\x32\x18.flyteidl.core.PrimitiveH\x00R\tprimitive\x12)\n\x04\x62lob\x18\x02 \x01(\x0b\x32\x13.flyteidl.core.BlobH\x00R\x04\x62lob\x12/\n\x06\x62inary\x18\x03 \x01(\x0b\x32\x15.flyteidl.core.BinaryH\x00R\x06\x62inary\x12/\n\x06schema\x18\x04 \x01(\x0b\x32\x15.flyteidl.core.SchemaH\x00R\x06schema\x12\x32\n\tnone_type\x18\x05 \x01(\x0b\x32\x13.flyteidl.core.VoidH\x00R\x08noneType\x12,\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x14.flyteidl.core.ErrorH\x00R\x05\x65rror\x12\x33\n\x07generic\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructH\x00R\x07generic\x12Q\n\x12structured_dataset\x18\x08 \x01(\x0b\x32 .flyteidl.core.StructuredDatasetH\x00R\x11structuredDataset\x12,\n\x05union\x18\t \x01(\x0b\x32\x14.flyteidl.core.UnionH\x00R\x05unionB\x07\n\x05value\"\xc9\x02\n\x07Literal\x12/\n\x06scalar\x18\x01 \x01(\x0b\x32\x15.flyteidl.core.ScalarH\x00R\x06scalar\x12\x42\n\ncollection\x18\x02 \x01(\x0b\x32 .flyteidl.core.LiteralCollectionH\x00R\ncollection\x12-\n\x03map\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapH\x00R\x03map\x12\x12\n\x04hash\x18\x04 \x01(\tR\x04hash\x12@\n\x08metadata\x18\x05 \x03(\x0b\x32$.flyteidl.core.Literal.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x07\n\x05value\"G\n\x11LiteralCollection\x12\x32\n\x08literals\x18\x01 \x03(\x0b\x32\x16.flyteidl.core.LiteralR\x08literals\"\xa6\x01\n\nLiteralMap\x12\x43\n\x08literals\x18\x01 \x03(\x0b\x32\'.flyteidl.core.LiteralMap.LiteralsEntryR\x08literals\x1aS\n\rLiteralsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value:\x02\x38\x01\"O\n\x15\x42indingDataCollection\x12\x36\n\x08\x62indings\x18\x01 \x03(\x0b\x32\x1a.flyteidl.core.BindingDataR\x08\x62indings\"\xb2\x01\n\x0e\x42indingDataMap\x12G\n\x08\x62indings\x18\x01 \x03(\x0b\x32+.flyteidl.core.BindingDataMap.BindingsEntryR\x08\x62indings\x1aW\n\rBindingsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.BindingDataR\x05value:\x02\x38\x01\"G\n\tUnionInfo\x12:\n\ntargetType\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\ntargetType\"\xae\x02\n\x0b\x42indingData\x12/\n\x06scalar\x18\x01 \x01(\x0b\x32\x15.flyteidl.core.ScalarH\x00R\x06scalar\x12\x46\n\ncollection\x18\x02 \x01(\x0b\x32$.flyteidl.core.BindingDataCollectionH\x00R\ncollection\x12:\n\x07promise\x18\x03 \x01(\x0b\x32\x1e.flyteidl.core.OutputReferenceH\x00R\x07promise\x12\x31\n\x03map\x18\x04 \x01(\x0b\x32\x1d.flyteidl.core.BindingDataMapH\x00R\x03map\x12.\n\x05union\x18\x05 \x01(\x0b\x32\x18.flyteidl.core.UnionInfoR\x05unionB\x07\n\x05value\"Q\n\x07\x42inding\x12\x10\n\x03var\x18\x01 \x01(\tR\x03var\x12\x34\n\x07\x62inding\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.BindingDataR\x07\x62inding\"6\n\x0cKeyValuePair\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\")\n\rRetryStrategy\x12\x18\n\x07retries\x18\x05 \x01(\rR\x07retriesB\xb3\x01\n\x11\x63om.flyteidl.coreB\rLiteralsProtoP\x01Z:github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core\xa2\x02\x03\x46\x43X\xaa\x02\rFlyteidl.Core\xca\x02\rFlyteidl\\Core\xe2\x02\x19\x46lyteidl\\Core\\GPBMetadata\xea\x02\x0e\x46lyteidl::Coreb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,6 +26,8 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\021com.flyteidl.coreB\rLiteralsProtoP\001Z:github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core\242\002\003FCX\252\002\rFlyteidl.Core\312\002\rFlyteidl\\Core\342\002\031Flyteidl\\Core\\GPBMetadata\352\002\016Flyteidl::Core' + _LITERAL_METADATAENTRY._options = None + _LITERAL_METADATAENTRY._serialized_options = b'8\001' _LITERALMAP_LITERALSENTRY._options = None _LITERALMAP_LITERALSENTRY._serialized_options = b'8\001' _BINDINGDATAMAP_BINDINGSENTRY._options = None @@ -51,27 +53,29 @@ _globals['_SCALAR']._serialized_start=1048 _globals['_SCALAR']._serialized_end=1544 _globals['_LITERAL']._serialized_start=1547 - _globals['_LITERAL']._serialized_end=1749 - _globals['_LITERALCOLLECTION']._serialized_start=1751 - _globals['_LITERALCOLLECTION']._serialized_end=1822 - _globals['_LITERALMAP']._serialized_start=1825 - _globals['_LITERALMAP']._serialized_end=1991 - _globals['_LITERALMAP_LITERALSENTRY']._serialized_start=1908 - _globals['_LITERALMAP_LITERALSENTRY']._serialized_end=1991 - _globals['_BINDINGDATACOLLECTION']._serialized_start=1993 - _globals['_BINDINGDATACOLLECTION']._serialized_end=2072 - _globals['_BINDINGDATAMAP']._serialized_start=2075 - _globals['_BINDINGDATAMAP']._serialized_end=2253 - _globals['_BINDINGDATAMAP_BINDINGSENTRY']._serialized_start=2166 - _globals['_BINDINGDATAMAP_BINDINGSENTRY']._serialized_end=2253 - _globals['_UNIONINFO']._serialized_start=2255 - _globals['_UNIONINFO']._serialized_end=2326 - _globals['_BINDINGDATA']._serialized_start=2329 - _globals['_BINDINGDATA']._serialized_end=2631 - _globals['_BINDING']._serialized_start=2633 - _globals['_BINDING']._serialized_end=2714 - _globals['_KEYVALUEPAIR']._serialized_start=2716 - _globals['_KEYVALUEPAIR']._serialized_end=2770 - _globals['_RETRYSTRATEGY']._serialized_start=2772 - _globals['_RETRYSTRATEGY']._serialized_end=2813 + _globals['_LITERAL']._serialized_end=1876 + _globals['_LITERAL_METADATAENTRY']._serialized_start=1808 + _globals['_LITERAL_METADATAENTRY']._serialized_end=1867 + _globals['_LITERALCOLLECTION']._serialized_start=1878 + _globals['_LITERALCOLLECTION']._serialized_end=1949 + _globals['_LITERALMAP']._serialized_start=1952 + _globals['_LITERALMAP']._serialized_end=2118 + _globals['_LITERALMAP_LITERALSENTRY']._serialized_start=2035 + _globals['_LITERALMAP_LITERALSENTRY']._serialized_end=2118 + _globals['_BINDINGDATACOLLECTION']._serialized_start=2120 + _globals['_BINDINGDATACOLLECTION']._serialized_end=2199 + _globals['_BINDINGDATAMAP']._serialized_start=2202 + _globals['_BINDINGDATAMAP']._serialized_end=2380 + _globals['_BINDINGDATAMAP_BINDINGSENTRY']._serialized_start=2293 + _globals['_BINDINGDATAMAP_BINDINGSENTRY']._serialized_end=2380 + _globals['_UNIONINFO']._serialized_start=2382 + _globals['_UNIONINFO']._serialized_end=2453 + _globals['_BINDINGDATA']._serialized_start=2456 + _globals['_BINDINGDATA']._serialized_end=2758 + _globals['_BINDING']._serialized_start=2760 + _globals['_BINDING']._serialized_end=2841 + _globals['_KEYVALUEPAIR']._serialized_start=2843 + _globals['_KEYVALUEPAIR']._serialized_end=2897 + _globals['_RETRYSTRATEGY']._serialized_start=2899 + _globals['_RETRYSTRATEGY']._serialized_end=2940 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.pyi index 1df1a0bfb9..62622203bd 100644 --- a/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/core/literals_pb2.pyi @@ -104,16 +104,25 @@ class Scalar(_message.Message): def __init__(self, primitive: _Optional[_Union[Primitive, _Mapping]] = ..., blob: _Optional[_Union[Blob, _Mapping]] = ..., binary: _Optional[_Union[Binary, _Mapping]] = ..., schema: _Optional[_Union[Schema, _Mapping]] = ..., none_type: _Optional[_Union[Void, _Mapping]] = ..., error: _Optional[_Union[_types_pb2.Error, _Mapping]] = ..., generic: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., structured_dataset: _Optional[_Union[StructuredDataset, _Mapping]] = ..., union: _Optional[_Union[Union, _Mapping]] = ...) -> None: ... class Literal(_message.Message): - __slots__ = ["scalar", "collection", "map", "hash"] + __slots__ = ["scalar", "collection", "map", "hash", "metadata"] + class MetadataEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... SCALAR_FIELD_NUMBER: _ClassVar[int] COLLECTION_FIELD_NUMBER: _ClassVar[int] MAP_FIELD_NUMBER: _ClassVar[int] HASH_FIELD_NUMBER: _ClassVar[int] + METADATA_FIELD_NUMBER: _ClassVar[int] scalar: Scalar collection: LiteralCollection map: LiteralMap hash: str - def __init__(self, scalar: _Optional[_Union[Scalar, _Mapping]] = ..., collection: _Optional[_Union[LiteralCollection, _Mapping]] = ..., map: _Optional[_Union[LiteralMap, _Mapping]] = ..., hash: _Optional[str] = ...) -> None: ... + metadata: _containers.ScalarMap[str, str] + def __init__(self, scalar: _Optional[_Union[Scalar, _Mapping]] = ..., collection: _Optional[_Union[LiteralCollection, _Mapping]] = ..., map: _Optional[_Union[LiteralMap, _Mapping]] = ..., hash: _Optional[str] = ..., metadata: _Optional[_Mapping[str, str]] = ...) -> None: ... class LiteralCollection(_message.Message): __slots__ = ["literals"] diff --git a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py new file mode 100644 index 0000000000..b7035b32b5 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/event/cloudevents.proto +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from flyteidl.event import event_pb2 as flyteidl_dot_event_dot_event__pb2 +from flyteidl.core import literals_pb2 as flyteidl_dot_core_dot_literals__pb2 +from flyteidl.core import interface_pb2 as flyteidl_dot_core_dot_interface__pb2 +from flyteidl.core import artifact_id_pb2 as flyteidl_dot_core_dot_artifact__id__pb2 +from flyteidl.core import identifier_pb2 as flyteidl_dot_core_dot_identifier__pb2 +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/event/cloudevents.proto\x12\x0e\x66lyteidl.event\x1a\x1a\x66lyteidl/event/event.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9c\x04\n\x1b\x43loudEventWorkflowExecution\x12\x43\n\traw_event\x18\x01 \x01(\x0b\x32&.flyteidl.event.WorkflowExecutionEventR\x08rawEvent\x12:\n\x0boutput_data\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\noutputData\x12H\n\x10output_interface\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12\x38\n\ninput_data\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\tinputData\x12<\n\x0c\x61rtifact_ids\x18\x05 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12[\n\x13reference_execution\x18\x06 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12?\n\x0elaunch_plan_id\x18\x08 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\"\x81\x04\n\x17\x43loudEventNodeExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.NodeExecutionEventR\x08rawEvent\x12H\n\x0ctask_exec_id\x18\x02 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifierR\ntaskExecId\x12:\n\x0boutput_data\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\noutputData\x12H\n\x10output_interface\x18\x04 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12\x38\n\ninput_data\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\tinputData\x12<\n\x0c\x61rtifact_ids\x18\x06 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12?\n\x0elaunch_plan_id\x18\x08 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\"Z\n\x17\x43loudEventTaskExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.TaskExecutionEventR\x08rawEvent\"\xe7\x02\n\x18\x43loudEventExecutionStart\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12?\n\x0elaunch_plan_id\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\x12:\n\x0bworkflow_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12<\n\x0c\x61rtifact_ids\x18\x04 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12#\n\rartifact_keys\x18\x05 \x03(\tR\x0c\x61rtifactKeys\x12\x1c\n\tprincipal\x18\x06 \x01(\tR\tprincipalB\xbc\x01\n\x12\x63om.flyteidl.eventB\x10\x43loudeventsProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event\xa2\x02\x03\x46\x45X\xaa\x02\x0e\x46lyteidl.Event\xca\x02\x0e\x46lyteidl\\Event\xe2\x02\x1a\x46lyteidl\\Event\\GPBMetadata\xea\x02\x0f\x46lyteidl::Eventb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flyteidl.event.cloudevents_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\022com.flyteidl.eventB\020CloudeventsProtoP\001Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event\242\002\003FEX\252\002\016Flyteidl.Event\312\002\016Flyteidl\\Event\342\002\032Flyteidl\\Event\\GPBMetadata\352\002\017Flyteidl::Event' + _globals['_CLOUDEVENTWORKFLOWEXECUTION']._serialized_start=240 + _globals['_CLOUDEVENTWORKFLOWEXECUTION']._serialized_end=780 + _globals['_CLOUDEVENTNODEEXECUTION']._serialized_start=783 + _globals['_CLOUDEVENTNODEEXECUTION']._serialized_end=1296 + _globals['_CLOUDEVENTTASKEXECUTION']._serialized_start=1298 + _globals['_CLOUDEVENTTASKEXECUTION']._serialized_end=1388 + _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_start=1391 + _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_end=1750 +# @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi new file mode 100644 index 0000000000..8444627c32 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi @@ -0,0 +1,74 @@ +from flyteidl.event import event_pb2 as _event_pb2 +from flyteidl.core import literals_pb2 as _literals_pb2 +from flyteidl.core import interface_pb2 as _interface_pb2 +from flyteidl.core import artifact_id_pb2 as _artifact_id_pb2 +from flyteidl.core import identifier_pb2 as _identifier_pb2 +from google.protobuf import timestamp_pb2 as _timestamp_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class CloudEventWorkflowExecution(_message.Message): + __slots__ = ["raw_event", "output_data", "output_interface", "input_data", "artifact_ids", "reference_execution", "principal", "launch_plan_id"] + RAW_EVENT_FIELD_NUMBER: _ClassVar[int] + OUTPUT_DATA_FIELD_NUMBER: _ClassVar[int] + OUTPUT_INTERFACE_FIELD_NUMBER: _ClassVar[int] + INPUT_DATA_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] + REFERENCE_EXECUTION_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + LAUNCH_PLAN_ID_FIELD_NUMBER: _ClassVar[int] + raw_event: _event_pb2.WorkflowExecutionEvent + output_data: _literals_pb2.LiteralMap + output_interface: _interface_pb2.TypedInterface + input_data: _literals_pb2.LiteralMap + artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] + reference_execution: _identifier_pb2.WorkflowExecutionIdentifier + principal: str + launch_plan_id: _identifier_pb2.Identifier + def __init__(self, raw_event: _Optional[_Union[_event_pb2.WorkflowExecutionEvent, _Mapping]] = ..., output_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., input_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., principal: _Optional[str] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... + +class CloudEventNodeExecution(_message.Message): + __slots__ = ["raw_event", "task_exec_id", "output_data", "output_interface", "input_data", "artifact_ids", "principal", "launch_plan_id"] + RAW_EVENT_FIELD_NUMBER: _ClassVar[int] + TASK_EXEC_ID_FIELD_NUMBER: _ClassVar[int] + OUTPUT_DATA_FIELD_NUMBER: _ClassVar[int] + OUTPUT_INTERFACE_FIELD_NUMBER: _ClassVar[int] + INPUT_DATA_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + LAUNCH_PLAN_ID_FIELD_NUMBER: _ClassVar[int] + raw_event: _event_pb2.NodeExecutionEvent + task_exec_id: _identifier_pb2.TaskExecutionIdentifier + output_data: _literals_pb2.LiteralMap + output_interface: _interface_pb2.TypedInterface + input_data: _literals_pb2.LiteralMap + artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] + principal: str + launch_plan_id: _identifier_pb2.Identifier + def __init__(self, raw_event: _Optional[_Union[_event_pb2.NodeExecutionEvent, _Mapping]] = ..., task_exec_id: _Optional[_Union[_identifier_pb2.TaskExecutionIdentifier, _Mapping]] = ..., output_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., input_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., principal: _Optional[str] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... + +class CloudEventTaskExecution(_message.Message): + __slots__ = ["raw_event"] + RAW_EVENT_FIELD_NUMBER: _ClassVar[int] + raw_event: _event_pb2.TaskExecutionEvent + def __init__(self, raw_event: _Optional[_Union[_event_pb2.TaskExecutionEvent, _Mapping]] = ...) -> None: ... + +class CloudEventExecutionStart(_message.Message): + __slots__ = ["execution_id", "launch_plan_id", "workflow_id", "artifact_ids", "artifact_keys", "principal"] + EXECUTION_ID_FIELD_NUMBER: _ClassVar[int] + LAUNCH_PLAN_ID_FIELD_NUMBER: _ClassVar[int] + WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_KEYS_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + execution_id: _identifier_pb2.WorkflowExecutionIdentifier + launch_plan_id: _identifier_pb2.Identifier + workflow_id: _identifier_pb2.Identifier + artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] + artifact_keys: _containers.RepeatedScalarFieldContainer[str] + principal: str + def __init__(self, execution_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., workflow_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., artifact_keys: _Optional[_Iterable[str]] = ..., principal: _Optional[str] = ...) -> None: ... diff --git a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2_grpc.py new file mode 100644 index 0000000000..2daafffebf --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2_grpc.py @@ -0,0 +1,4 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md index e255b6e308..9136b44368 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md @@ -264,6 +264,11 @@ Class | Method | HTTP request | Description - [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) @@ -297,9 +302,11 @@ Class | Method | HTTP request | Description - [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) @@ -315,6 +322,7 @@ Class | Method | HTTP request | Description - [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) @@ -384,6 +392,7 @@ Class | Method | HTTP request | Description - [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) diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py index 18f679a7f0..6cbddc0b5b 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py @@ -155,6 +155,11 @@ 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 @@ -188,9 +193,11 @@ 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 @@ -206,6 +213,7 @@ 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 @@ -275,6 +283,7 @@ 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 diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py index 457a507c4f..f2604bcd01 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py @@ -148,6 +148,11 @@ 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 @@ -181,9 +186,11 @@ 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 @@ -199,6 +206,7 @@ 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 @@ -268,6 +276,7 @@ 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 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 index 7deb9f109b..f5a297c487 100644 --- 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 @@ -17,6 +17,7 @@ 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 @@ -42,7 +43,8 @@ class AdminExecutionMetadata(object): 'scheduled_at': 'datetime', 'parent_node_execution': 'CoreNodeExecutionIdentifier', 'reference_execution': 'CoreWorkflowExecutionIdentifier', - 'system_metadata': 'AdminSystemMetadata' + 'system_metadata': 'AdminSystemMetadata', + 'artifact_ids': 'list[CoreArtifactID]' } attribute_map = { @@ -52,10 +54,11 @@ class AdminExecutionMetadata(object): 'scheduled_at': 'scheduled_at', 'parent_node_execution': 'parent_node_execution', 'reference_execution': 'reference_execution', - 'system_metadata': 'system_metadata' + '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): # noqa: E501 + 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 @@ -65,6 +68,7 @@ def __init__(self, mode=None, principal=None, nesting=None, scheduled_at=None, p 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: @@ -81,6 +85,8 @@ def __init__(self, mode=None, principal=None, nesting=None, scheduled_at=None, p 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): @@ -239,6 +245,29 @@ def system_metadata(self, system_metadata): 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 = {} 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 index d4ebda5dc7..462a758704 100644 --- 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 @@ -18,6 +18,7 @@ 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): @@ -35,25 +36,30 @@ class AdminLaunchPlanMetadata(object): """ swagger_types = { 'schedule': 'AdminSchedule', - 'notifications': 'list[AdminNotification]' + 'notifications': 'list[AdminNotification]', + 'launch_conditions': 'ProtobufAny' } attribute_map = { 'schedule': 'schedule', - 'notifications': 'notifications' + 'notifications': 'notifications', + 'launch_conditions': 'launch_conditions' } - def __init__(self, schedule=None, notifications=None): # noqa: E501 + 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): @@ -97,6 +103,27 @@ def notifications(self, notifications): 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 = {} 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 new file mode 100644 index 0000000000..01bdc123bd --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_binding_data.py @@ -0,0 +1,167 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + 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', + 'transform': 'str' + } + + attribute_map = { + 'index': 'index', + 'partition_key': 'partition_key', + 'transform': 'transform' + } + + def __init__(self, index=None, partition_key=None, transform=None): # noqa: E501 + """CoreArtifactBindingData - a model defined in Swagger""" # noqa: E501 + + self._index = None + self._partition_key = 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 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 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 new file mode 100644 index 0000000000..3d643ce5b9 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_id.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + 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 + + +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' + } + + attribute_map = { + 'artifact_key': 'artifact_key', + 'version': 'version', + 'partitions': 'partitions' + } + + def __init__(self, artifact_key=None, version=None, partitions=None): # noqa: E501 + """CoreArtifactID - a model defined in Swagger""" # noqa: E501 + + self._artifact_key = None + self._version = None + self._partitions = 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 + + @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 + + + :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. + + + :param partitions: The partitions of this CoreArtifactID. # noqa: E501 + :type: CorePartitions + """ + + self._partitions = partitions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + 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 new file mode 100644 index 0000000000..a0612fcf2d --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_key.py @@ -0,0 +1,169 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + 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 new file mode 100644 index 0000000000..b87007f5b4 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_query.py @@ -0,0 +1,199 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + 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 new file mode 100644 index 0000000000..9277c6698c --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_artifact_tag.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + 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_input_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_input_binding_data.py new file mode 100644 index 0000000000..88a1c11a3b --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_input_binding_data.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + 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_label_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_label_value.py new file mode 100644 index 0000000000..a15f0fba07 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_label_value.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + 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', + 'triggered_binding': 'CoreArtifactBindingData', + 'input_binding': 'CoreInputBindingData' + } + + attribute_map = { + 'static_value': 'static_value', + 'triggered_binding': 'triggered_binding', + 'input_binding': 'input_binding' + } + + def __init__(self, static_value=None, triggered_binding=None, input_binding=None): # noqa: E501 + """CoreLabelValue - a model defined in Swagger""" # noqa: E501 + + self._static_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 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 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 index a0099dacf3..da80711e0c 100644 --- 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 @@ -38,23 +38,26 @@ class CoreLiteral(object): 'scalar': 'CoreScalar', 'collection': 'CoreLiteralCollection', 'map': 'CoreLiteralMap', - 'hash': 'str' + 'hash': 'str', + 'metadata': 'dict(str, str)' } attribute_map = { 'scalar': 'scalar', 'collection': 'collection', 'map': 'map', - 'hash': 'hash' + 'hash': 'hash', + 'metadata': 'metadata' } - def __init__(self, scalar=None, collection=None, map=None, hash=None): # noqa: E501 + 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: @@ -65,6 +68,8 @@ def __init__(self, scalar=None, collection=None, map=None, hash=None): # noqa: self.map = map if hash is not None: self.hash = hash + if metadata is not None: + self.metadata = metadata @property def scalar(self): @@ -156,6 +161,29 @@ def hash(self, hash): 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 = {} 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 index a6e71104f4..c8426a5833 100644 --- 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 @@ -16,6 +16,8 @@ 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 @@ -36,21 +38,27 @@ class CoreParameter(object): swagger_types = { 'var': 'CoreVariable', 'default': 'CoreLiteral', - 'required': 'bool' + 'required': 'bool', + 'artifact_query': 'CoreArtifactQuery', + 'artifact_id': 'CoreArtifactID' } attribute_map = { 'var': 'var', 'default': 'default', - 'required': 'required' + 'required': 'required', + 'artifact_query': 'artifact_query', + 'artifact_id': 'artifact_id' } - def __init__(self, var=None, default=None, required=None): # noqa: E501 + 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: @@ -59,6 +67,10 @@ def __init__(self, var=None, default=None, required=None): # noqa: E501 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): @@ -129,6 +141,50 @@ def required(self, required): 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 = {} 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 new file mode 100644 index 0000000000..cfd6d29cbf --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_partitions.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.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_variable.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/core_variable.py index 186179d2ce..5a57bd3aa0 100644 --- 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 @@ -16,6 +16,8 @@ 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 @@ -34,25 +36,35 @@ class CoreVariable(object): """ swagger_types = { 'type': 'CoreLiteralType', - 'description': 'str' + 'description': 'str', + 'artifact_partial_id': 'CoreArtifactID', + 'artifact_tag': 'CoreArtifactTag' } attribute_map = { 'type': 'type', - 'description': 'description' + 'description': 'description', + 'artifact_partial_id': 'artifact_partial_id', + 'artifact_tag': 'artifact_tag' } - def __init__(self, type=None, description=None): # noqa: E501 + 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): @@ -98,6 +110,50 @@ def description(self, description): 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 = {} 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 new file mode 100644 index 0000000000..ef1317d099 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/protobuf_any.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + 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/test/test_core_artifact_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_binding_data.py new file mode 100644 index 0000000000..b8bddd5f31 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_binding_data.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.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 new file mode 100644 index 0000000000..a53c965fb0 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_id.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.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 new file mode 100644 index 0000000000..72ed469119 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_key.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.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 new file mode 100644 index 0000000000..9edf91e3ba --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_query.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.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 new file mode 100644 index 0000000000..fbc9f058d2 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_artifact_tag.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.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_input_binding_data.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_input_binding_data.py new file mode 100644 index 0000000000..2afb623d9a --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_input_binding_data.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.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_label_value.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_label_value.py new file mode 100644 index 0000000000..505dba75e2 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_label_value.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.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_partitions.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_partitions.py new file mode 100644 index 0000000000..b79cf8551e --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_core_partitions.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.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_protobuf_any.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_any.py new file mode 100644 index 0000000000..8e201fcf46 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_protobuf_any.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.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_rust/flyteidl.admin.rs b/flyteidl/gen/pb_rust/flyteidl.admin.rs index 692a1ee5e7..dc1b065bfa 100644 --- a/flyteidl/gen/pb_rust/flyteidl.admin.rs +++ b/flyteidl/gen/pb_rust/flyteidl.admin.rs @@ -1087,6 +1087,10 @@ pub struct ExecutionMetadata { /// In this the future this may be gated behind an ACL or some sort of authorization. #[prost(message, optional, tag="17")] pub system_metadata: ::core::option::Option, + /// 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. + #[prost(message, repeated, tag="18")] + pub artifact_ids: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ExecutionMetadata`. pub mod execution_metadata { @@ -1581,6 +1585,9 @@ pub struct LaunchPlanMetadata { /// List of notifications based on Execution status transitions #[prost(message, repeated, tag="2")] pub notifications: ::prost::alloc::vec::Vec, + /// Additional metadata for how to launch the launch plan + #[prost(message, optional, tag="3")] + pub launch_conditions: ::core::option::Option<::prost_types::Any>, } /// Request to set the referenced launch plan state to the configured value. /// See :ref:`ref_flyteidl.admin.LaunchPlan` for more details diff --git a/flyteidl/gen/pb_rust/flyteidl.artifact.rs b/flyteidl/gen/pb_rust/flyteidl.artifact.rs new file mode 100644 index 0000000000..e3bc2c72fa --- /dev/null +++ b/flyteidl/gen/pb_rust/flyteidl.artifact.rs @@ -0,0 +1,248 @@ +// @generated +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Artifact { + #[prost(message, optional, tag="1")] + pub artifact_id: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub spec: ::core::option::Option, + /// references the tag field in ArtifactTag + #[prost(string, repeated, tag="3")] + pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + #[prost(message, optional, tag="4")] + pub source: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateArtifactRequest { + /// Specify just project/domain on creation + #[prost(message, optional, tag="1")] + pub artifact_key: ::core::option::Option, + #[prost(string, tag="3")] + pub version: ::prost::alloc::string::String, + #[prost(message, optional, tag="2")] + pub spec: ::core::option::Option, + #[prost(map="string, string", tag="4")] + pub partitions: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, + #[prost(string, tag="5")] + pub tag: ::prost::alloc::string::String, + #[prost(message, optional, tag="6")] + pub source: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactSource { + #[prost(message, optional, tag="1")] + pub workflow_execution: ::core::option::Option, + #[prost(string, tag="2")] + pub node_id: ::prost::alloc::string::String, + #[prost(message, optional, tag="3")] + pub task_id: ::core::option::Option, + #[prost(uint32, tag="4")] + pub retry_attempt: u32, + /// Uploads, either from the UI or from the CLI, or FlyteRemote, will have this. + #[prost(string, tag="5")] + pub principal: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactSpec { + #[prost(message, optional, tag="1")] + pub value: ::core::option::Option, + /// This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but + /// forgets to change the name, that is okay. And the reason why this is a separate field is because adding the + /// type to all Literals is a lot of work. + #[prost(message, optional, tag="2")] + pub r#type: ::core::option::Option, + #[prost(string, tag="3")] + pub short_description: ::prost::alloc::string::String, + /// Additional user metadata + #[prost(message, optional, tag="4")] + pub user_metadata: ::core::option::Option<::prost_types::Any>, + #[prost(string, tag="5")] + pub metadata_type: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateArtifactResponse { + #[prost(message, optional, tag="1")] + pub artifact: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct GetArtifactRequest { + #[prost(message, optional, tag="1")] + pub query: ::core::option::Option, + /// If false, then long_description is not returned. + #[prost(bool, tag="2")] + pub details: bool, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct GetArtifactResponse { + #[prost(message, optional, tag="1")] + pub artifact: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct SearchOptions { + /// If true, this means a strict partition search. meaning if you don't specify the partition + /// field, that will mean, non-partitioned, rather than any partition. + #[prost(bool, tag="1")] + pub strict_partitions: bool, + /// If true, only one artifact per key will be returned. It will be the latest one by creation time. + #[prost(bool, tag="2")] + pub latest_by_key: bool, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct SearchArtifactsRequest { + #[prost(message, optional, tag="1")] + pub artifact_key: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub partitions: ::core::option::Option, + #[prost(string, tag="3")] + pub principal: ::prost::alloc::string::String, + #[prost(string, tag="4")] + pub version: ::prost::alloc::string::String, + #[prost(message, optional, tag="5")] + pub options: ::core::option::Option, + #[prost(string, tag="6")] + pub token: ::prost::alloc::string::String, + #[prost(int32, tag="7")] + pub limit: i32, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct SearchArtifactsResponse { + /// If artifact specs are not requested, the resultant artifacts may be empty. + #[prost(message, repeated, tag="1")] + pub artifacts: ::prost::alloc::vec::Vec, + /// continuation token if relevant. + #[prost(string, tag="2")] + pub token: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct FindByWorkflowExecRequest { + #[prost(message, optional, tag="1")] + pub exec_id: ::core::option::Option, + #[prost(enumeration="find_by_workflow_exec_request::Direction", tag="2")] + pub direction: i32, +} +/// Nested message and enum types in `FindByWorkflowExecRequest`. +pub mod find_by_workflow_exec_request { + #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] + #[repr(i32)] + pub enum Direction { + Inputs = 0, + Outputs = 1, + } + impl Direction { + /// String value of the enum field names used in the ProtoBuf definition. + /// + /// The values are not transformed in any way and thus are considered stable + /// (if the ProtoBuf definition does not change) and safe for programmatic use. + pub fn as_str_name(&self) -> &'static str { + match self { + Direction::Inputs => "INPUTS", + Direction::Outputs => "OUTPUTS", + } + } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option { + match value { + "INPUTS" => Some(Self::Inputs), + "OUTPUTS" => Some(Self::Outputs), + _ => None, + } + } + } +} +/// Aliases identify a particular version of an artifact. They are different than tags in that they +/// have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind, +/// at most one version can have any given value at any point. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AddTagRequest { + #[prost(message, optional, tag="1")] + pub artifact_id: ::core::option::Option, + #[prost(string, tag="2")] + pub value: ::prost::alloc::string::String, + /// If true, and another version already has the specified kind/value, set this version instead + #[prost(bool, tag="3")] + pub overwrite: bool, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AddTagResponse { +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateTriggerRequest { + #[prost(message, optional, tag="1")] + pub trigger_launch_plan: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CreateTriggerResponse { +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct DeleteTriggerRequest { + #[prost(message, optional, tag="1")] + pub trigger_id: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct DeleteTriggerResponse { +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactProducer { + /// These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in + /// Admin's domain. + #[prost(message, optional, tag="1")] + pub entity_id: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub outputs: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct RegisterProducerRequest { + #[prost(message, repeated, tag="1")] + pub producers: ::prost::alloc::vec::Vec, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactConsumer { + /// These should all be launch plan IDs + #[prost(message, optional, tag="1")] + pub entity_id: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub inputs: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct RegisterConsumerRequest { + #[prost(message, repeated, tag="1")] + pub consumers: ::prost::alloc::vec::Vec, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct RegisterResponse { +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ExecutionInputsRequest { + #[prost(message, optional, tag="1")] + pub execution_id: ::core::option::Option, + /// can make this a map in the future, currently no need. + #[prost(message, repeated, tag="2")] + pub inputs: ::prost::alloc::vec::Vec, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ExecutionInputsResponse { +} +// @@protoc_insertion_point(module) diff --git a/flyteidl/gen/pb_rust/flyteidl.core.rs b/flyteidl/gen/pb_rust/flyteidl.core.rs index ca946db5f8..75bb7f2f64 100644 --- a/flyteidl/gen/pb_rust/flyteidl.core.rs +++ b/flyteidl/gen/pb_rust/flyteidl.core.rs @@ -485,6 +485,9 @@ pub struct Literal { /// () #[prost(string, tag="4")] pub hash: ::prost::alloc::string::String, + /// Additional metadata for literals. + #[prost(map="string, string", tag="5")] + pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, #[prost(oneof="literal::Value", tags="1, 2, 3")] pub value: ::core::option::Option, } @@ -704,6 +707,138 @@ impl ResourceType { } } } +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactKey { + /// Project and domain and suffix needs to be unique across a given artifact store. + #[prost(string, tag="1")] + pub project: ::prost::alloc::string::String, + #[prost(string, tag="2")] + pub domain: ::prost::alloc::string::String, + #[prost(string, tag="3")] + pub name: ::prost::alloc::string::String, +} +/// Only valid for triggers +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactBindingData { + #[prost(uint32, tag="1")] + pub index: u32, + /// These two fields are only relevant in the partition value case + #[prost(string, tag="2")] + pub partition_key: ::prost::alloc::string::String, + #[prost(string, tag="3")] + pub transform: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct InputBindingData { + #[prost(string, tag="1")] + pub var: ::prost::alloc::string::String, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct LabelValue { + #[prost(oneof="label_value::Value", tags="1, 2, 3")] + pub value: ::core::option::Option, +} +/// Nested message and enum types in `LabelValue`. +pub mod label_value { + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Value { + #[prost(string, tag="1")] + StaticValue(::prost::alloc::string::String), + #[prost(message, tag="2")] + TriggeredBinding(super::ArtifactBindingData), + #[prost(message, tag="3")] + InputBinding(super::InputBindingData), + } +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Partitions { + #[prost(map="string, message", tag="1")] + pub value: ::std::collections::HashMap<::prost::alloc::string::String, LabelValue>, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactId { + #[prost(message, optional, tag="1")] + pub artifact_key: ::core::option::Option, + #[prost(string, tag="2")] + pub version: ::prost::alloc::string::String, + /// 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). + /// This is a oneof because of partition querying... we need a way to distinguish between + /// a user not-specifying partitions when searching, and specifically searching for an Artifact + /// that is not partitioned (this can happen if an Artifact goes from partitioned to non- + /// partitioned across executions). + #[prost(oneof="artifact_id::Dimensions", tags="3")] + pub dimensions: ::core::option::Option, +} +/// Nested message and enum types in `ArtifactID`. +pub mod artifact_id { + /// 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). + /// This is a oneof because of partition querying... we need a way to distinguish between + /// a user not-specifying partitions when searching, and specifically searching for an Artifact + /// that is not partitioned (this can happen if an Artifact goes from partitioned to non- + /// partitioned across executions). + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Dimensions { + #[prost(message, tag="3")] + Partitions(super::Partitions), + } +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactTag { + #[prost(message, optional, tag="1")] + pub artifact_key: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub value: ::core::option::Option, +} +/// 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 +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ArtifactQuery { + #[prost(oneof="artifact_query::Identifier", tags="1, 2, 3, 4")] + pub identifier: ::core::option::Option, +} +/// Nested message and enum types in `ArtifactQuery`. +pub mod artifact_query { + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum Identifier { + #[prost(message, tag="1")] + ArtifactId(super::ArtifactId), + #[prost(message, tag="2")] + ArtifactTag(super::ArtifactTag), + #[prost(string, tag="3")] + Uri(::prost::alloc::string::String), + /// 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. + #[prost(message, tag="4")] + Binding(super::ArtifactBindingData), + } +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Trigger { + /// This will be set to a launch plan type, but note that this is different than the actual launch plan type. + #[prost(message, optional, tag="1")] + pub trigger_id: ::core::option::Option, + /// These are partial artifact IDs that will be triggered on + /// Consider making these ArtifactQuery instead. + #[prost(message, repeated, tag="2")] + pub triggers: ::prost::alloc::vec::Vec, +} /// Defines a strongly typed variable. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -714,6 +849,12 @@ pub struct Variable { /// +optional string describing input variable #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, + /// +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. + #[prost(message, optional, tag="3")] + pub artifact_partial_id: ::core::option::Option, + #[prost(message, optional, tag="4")] + pub artifact_tag: ::core::option::Option, } /// A map of Variables #[allow(clippy::derive_partial_eq_without_eq)] @@ -741,7 +882,7 @@ pub struct Parameter { #[prost(message, optional, tag="1")] pub var: ::core::option::Option, /// +optional - #[prost(oneof="parameter::Behavior", tags="2, 3")] + #[prost(oneof="parameter::Behavior", tags="2, 3, 4, 5")] pub behavior: ::core::option::Option, } /// Nested message and enum types in `Parameter`. @@ -756,6 +897,12 @@ pub mod parameter { /// +optional, is this value required to be filled. #[prost(bool, tag="3")] Required(bool), + /// This is an execution time search basically that should result in exactly one Artifact with a Type that + /// matches the type of the variable. + #[prost(message, tag="4")] + ArtifactQuery(super::ArtifactQuery), + #[prost(message, tag="5")] + ArtifactId(super::ArtifactId), } } /// A map of Parameters. diff --git a/flyteidl/gen/pb_rust/flyteidl.event.rs b/flyteidl/gen/pb_rust/flyteidl.event.rs index 537167cc99..b7dd7ac9f3 100644 --- a/flyteidl/gen/pb_rust/flyteidl.event.rs +++ b/flyteidl/gen/pb_rust/flyteidl.event.rs @@ -385,4 +385,86 @@ pub mod task_execution_metadata { } } } +/// This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional +/// information that downstream consumers may find useful. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CloudEventWorkflowExecution { + #[prost(message, optional, tag="1")] + pub raw_event: ::core::option::Option, + #[prost(message, optional, tag="2")] + pub output_data: ::core::option::Option, + #[prost(message, optional, tag="3")] + pub output_interface: ::core::option::Option, + #[prost(message, optional, tag="4")] + pub input_data: ::core::option::Option, + /// The following are ExecutionMetadata fields + /// We can't have the ExecutionMetadata object directly because of import cycle + #[prost(message, repeated, tag="5")] + pub artifact_ids: ::prost::alloc::vec::Vec, + #[prost(message, optional, tag="6")] + pub reference_execution: ::core::option::Option, + #[prost(string, tag="7")] + pub principal: ::prost::alloc::string::String, + /// 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. + #[prost(message, optional, tag="8")] + pub launch_plan_id: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CloudEventNodeExecution { + #[prost(message, optional, tag="1")] + pub raw_event: ::core::option::Option, + /// The relevant task execution if applicable + #[prost(message, optional, tag="2")] + pub task_exec_id: ::core::option::Option, + /// Hydrated output + #[prost(message, optional, tag="3")] + pub output_data: ::core::option::Option, + /// The typed interface for the task that produced the event. + #[prost(message, optional, tag="4")] + pub output_interface: ::core::option::Option, + #[prost(message, optional, tag="5")] + pub input_data: ::core::option::Option, + /// The following are ExecutionMetadata fields + /// We can't have the ExecutionMetadata object directly because of import cycle + #[prost(message, repeated, tag="6")] + pub artifact_ids: ::prost::alloc::vec::Vec, + #[prost(string, tag="7")] + pub principal: ::prost::alloc::string::String, + /// 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. + #[prost(message, optional, tag="8")] + pub launch_plan_id: ::core::option::Option, +} +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CloudEventTaskExecution { + #[prost(message, optional, tag="1")] + pub raw_event: ::core::option::Option, +} +/// This event is to be sent by Admin after it creates an execution. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CloudEventExecutionStart { + /// The execution created. + #[prost(message, optional, tag="1")] + pub execution_id: ::core::option::Option, + /// The launch plan used. + #[prost(message, optional, tag="2")] + pub launch_plan_id: ::core::option::Option, + #[prost(message, optional, tag="3")] + pub workflow_id: ::core::option::Option, + /// Artifact IDs found + #[prost(message, repeated, tag="4")] + pub artifact_ids: ::prost::alloc::vec::Vec, + /// Artifact keys found. + #[prost(string, repeated, tag="5")] + pub artifact_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + #[prost(string, tag="6")] + pub principal: ::prost::alloc::string::String, +} // @@protoc_insertion_point(module) diff --git a/flyteidl/generate_protos.sh b/flyteidl/generate_protos.sh index 02f75f1545..524330eb26 100755 --- a/flyteidl/generate_protos.sh +++ b/flyteidl/generate_protos.sh @@ -12,13 +12,14 @@ 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 --validate_out +docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/artifact --with_gateway -l go --go_source_relative --validate_out 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 --validate_out 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 --validate_out docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/plugins -l go --go_source_relative --validate_out docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/datacatalog -l go --go_source_relative --validate_out languages=("cpp" "java") -idlfolders=("service" "admin" "core" "event" "plugins" "datacatalog") +idlfolders=("service" "admin" "core" "event" "plugins" "datacatalog" "artifact") for lang in "${languages[@]}" do diff --git a/flyteidl/go.sum b/flyteidl/go.sum index 5eba97461f..3da11782cf 100644 --- a/flyteidl/go.sum +++ b/flyteidl/go.sum @@ -215,8 +215,8 @@ 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.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +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= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= diff --git a/flyteidl/protos/flyteidl/admin/execution.proto b/flyteidl/protos/flyteidl/admin/execution.proto index ee33969a0c..7ddda0f233 100644 --- a/flyteidl/protos/flyteidl/admin/execution.proto +++ b/flyteidl/protos/flyteidl/admin/execution.proto @@ -7,6 +7,7 @@ import "flyteidl/admin/cluster_assignment.proto"; import "flyteidl/admin/common.proto"; import "flyteidl/core/literals.proto"; import "flyteidl/core/execution.proto"; +import "flyteidl/core/artifact_id.proto"; import "flyteidl/core/identifier.proto"; import "flyteidl/core/metrics.proto"; import "flyteidl/core/security.proto"; @@ -245,6 +246,10 @@ message ExecutionMetadata { // Optional, platform-specific metadata about the execution. // In this the future this may be gated behind an ACL or some sort of authorization. SystemMetadata system_metadata = 17; + + // 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 core.ArtifactID artifact_ids = 18; } message NotificationList { @@ -316,6 +321,7 @@ message ExecutionSpec { // Environment variables to be set for the execution. Envs envs = 23; + // Tags to be set for the execution. repeated string tags = 24; } diff --git a/flyteidl/protos/flyteidl/admin/launch_plan.proto b/flyteidl/protos/flyteidl/admin/launch_plan.proto index c9bda4d252..252d926c5d 100644 --- a/flyteidl/protos/flyteidl/admin/launch_plan.proto +++ b/flyteidl/protos/flyteidl/admin/launch_plan.proto @@ -10,9 +10,11 @@ import "flyteidl/core/interface.proto"; import "flyteidl/core/security.proto"; import "flyteidl/admin/schedule.proto"; import "flyteidl/admin/common.proto"; +import "google/protobuf/any.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; + // 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. @@ -163,6 +165,9 @@ message LaunchPlanMetadata { // List of notifications based on Execution status transitions repeated Notification notifications = 2; + + // Additional metadata for how to launch the launch plan + google.protobuf.Any launch_conditions = 3; } // Request to set the referenced launch plan state to the configured value. diff --git a/flyteidl/protos/flyteidl/artifact/artifacts.proto b/flyteidl/protos/flyteidl/artifact/artifacts.proto new file mode 100644 index 0000000000..43cbddf9c5 --- /dev/null +++ b/flyteidl/protos/flyteidl/artifact/artifacts.proto @@ -0,0 +1,224 @@ +syntax = "proto3"; +package flyteidl.artifact; + +option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact"; + +import "google/protobuf/any.proto"; +import "google/api/annotations.proto"; + +import "flyteidl/admin/launch_plan.proto"; +import "flyteidl/core/literals.proto"; +import "flyteidl/core/types.proto"; +import "flyteidl/core/identifier.proto"; +import "flyteidl/core/artifact_id.proto"; +import "flyteidl/core/interface.proto"; +import "flyteidl/event/cloudevents.proto"; + +message Artifact { + core.ArtifactID artifact_id = 1; + + ArtifactSpec spec = 2; + + // references the tag field in ArtifactTag + repeated string tags = 3; + + ArtifactSource source = 4; +} + +message CreateArtifactRequest { + // Specify just project/domain on creation + core.ArtifactKey artifact_key = 1; + + string version = 3; + + ArtifactSpec spec = 2; + + map partitions = 4; + + string tag = 5; + + ArtifactSource source = 6; +} + +message ArtifactSource { + core.WorkflowExecutionIdentifier workflow_execution = 1; + string node_id = 2; + core.Identifier task_id = 3; + uint32 retry_attempt = 4; + + // Uploads, either from the UI or from the CLI, or FlyteRemote, will have this. + string principal = 5; +} + +message ArtifactSpec { + core.Literal value = 1; + + // This type will not form part of the artifact key, so for user-named artifacts, if the user changes the type, but + // forgets to change the name, that is okay. And the reason why this is a separate field is because adding the + // type to all Literals is a lot of work. + core.LiteralType type = 2; + + string short_description = 3; + + // Additional user metadata + google.protobuf.Any user_metadata = 4; + + string metadata_type = 5; +} + + +message CreateArtifactResponse { + Artifact artifact = 1; +} + +message GetArtifactRequest { + core.ArtifactQuery query = 1; + + // If false, then long_description is not returned. + bool details = 2; +} + +message GetArtifactResponse { + Artifact artifact = 1; +} + +message SearchOptions { + // If true, this means a strict partition search. meaning if you don't specify the partition + // field, that will mean, non-partitioned, rather than any partition. + bool strict_partitions = 1; + + // If true, only one artifact per key will be returned. It will be the latest one by creation time. + bool latest_by_key = 2; +} + +message SearchArtifactsRequest { + core.ArtifactKey artifact_key = 1; + + core.Partitions partitions = 2; + + string principal = 3; + string version = 4; + + SearchOptions options = 5; + + string token = 6; + int32 limit = 7; +} + +message SearchArtifactsResponse { + // If artifact specs are not requested, the resultant artifacts may be empty. + repeated Artifact artifacts = 1; + + // continuation token if relevant. + string token = 2; +} + +message FindByWorkflowExecRequest { + core.WorkflowExecutionIdentifier exec_id = 1; + + enum Direction { + INPUTS = 0; + OUTPUTS = 1; + } + + Direction direction = 2; +} + +// Aliases identify a particular version of an artifact. They are different than tags in that they +// have to be unique for a given artifact project/domain/name. That is, for a given project/domain/name/kind, +// at most one version can have any given value at any point. +message AddTagRequest { + core.ArtifactID artifact_id = 1; + + string value = 2; + + // If true, and another version already has the specified kind/value, set this version instead + bool overwrite = 3; +} + +message AddTagResponse {} + +message CreateTriggerRequest { + admin.LaunchPlan trigger_launch_plan = 1; +} + +message CreateTriggerResponse {} + +message DeleteTriggerRequest { + core.Identifier trigger_id = 1; +} + +message DeleteTriggerResponse {} + +message ArtifactProducer { + // These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in + // Admin's domain. + core.Identifier entity_id = 1; + + core.VariableMap outputs = 2; +} + +message RegisterProducerRequest { + repeated ArtifactProducer producers = 1; +} + +message ArtifactConsumer { + // These should all be launch plan IDs + core.Identifier entity_id = 1; + + core.ParameterMap inputs = 2; +} + +message RegisterConsumerRequest { + repeated ArtifactConsumer consumers = 1; +} + +message RegisterResponse {} + +message ExecutionInputsRequest { + core.WorkflowExecutionIdentifier execution_id = 1; + + // can make this a map in the future, currently no need. + repeated core.ArtifactID inputs = 2; +} + +message ExecutionInputsResponse {} + +service ArtifactRegistry { + rpc CreateArtifact (CreateArtifactRequest) returns (CreateArtifactResponse) {} + + rpc GetArtifact (GetArtifactRequest) returns (GetArtifactResponse) { + option (google.api.http) = { + get: "/artifacts/api/v1/data/artifacts" + additional_bindings {get: "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}"} + additional_bindings {get: "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}"} + additional_bindings {get: "/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}"} + }; + } + + rpc SearchArtifacts (SearchArtifactsRequest) returns (SearchArtifactsResponse) { + option (google.api.http) = { + get: "/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}" + additional_bindings {get: "/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}"} + }; + } + + rpc CreateTrigger (CreateTriggerRequest) returns (CreateTriggerResponse) {} + + rpc DeleteTrigger (DeleteTriggerRequest) returns (DeleteTriggerResponse) {} + + rpc AddTag(AddTagRequest) returns (AddTagResponse) {} + + rpc RegisterProducer(RegisterProducerRequest) returns (RegisterResponse) {} + + rpc RegisterConsumer(RegisterConsumerRequest) returns (RegisterResponse) {} + + rpc SetExecutionInputs(ExecutionInputsRequest) returns (ExecutionInputsResponse) {} + + rpc FindByWorkflowExec (FindByWorkflowExecRequest) returns (SearchArtifactsResponse) { + option (google.api.http) = { + get: "/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}" + }; + } + +} diff --git a/flyteidl/protos/flyteidl/core/artifact_id.proto b/flyteidl/protos/flyteidl/core/artifact_id.proto new file mode 100644 index 0000000000..e7719cf010 --- /dev/null +++ b/flyteidl/protos/flyteidl/core/artifact_id.proto @@ -0,0 +1,87 @@ +syntax = "proto3"; + +package flyteidl.core; + +option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core"; + +import "flyteidl/core/identifier.proto"; + + +message ArtifactKey { + // Project and domain and suffix needs to be unique across a given artifact store. + string project = 1; + string domain = 2; + string name = 3; +} + +// Only valid for triggers +message ArtifactBindingData { + uint32 index = 1; + + // These two fields are only relevant in the partition value case + string partition_key = 2; + string transform = 3; +} + +message InputBindingData { + string var = 1; +} + +message LabelValue { + oneof value { + string static_value = 1; + ArtifactBindingData triggered_binding = 2; + InputBindingData input_binding = 3; + } +} +message Partitions { + map value = 1; +} + +message ArtifactID { + ArtifactKey artifact_key = 1; + + string version = 2; + + // 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). + // This is a oneof because of partition querying... we need a way to distinguish between + // a user not-specifying partitions when searching, and specifically searching for an Artifact + // that is not partitioned (this can happen if an Artifact goes from partitioned to non- + // partitioned across executions). + oneof dimensions { + Partitions partitions = 3; + } +} + +message ArtifactTag { + ArtifactKey artifact_key = 1; + + LabelValue value = 2; +} + +// 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 +message ArtifactQuery { + oneof identifier { + ArtifactID artifact_id = 1; + ArtifactTag artifact_tag = 2; + string uri = 3; + + // 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. + ArtifactBindingData binding = 4; + } +} + +message Trigger { + // This will be set to a launch plan type, but note that this is different than the actual launch plan type. + Identifier trigger_id = 1; + + // These are partial artifact IDs that will be triggered on + // Consider making these ArtifactQuery instead. + repeated core.ArtifactID triggers = 2; +} diff --git a/flyteidl/protos/flyteidl/core/interface.proto b/flyteidl/protos/flyteidl/core/interface.proto index cfd56fadf8..ec7673d9c4 100644 --- a/flyteidl/protos/flyteidl/core/interface.proto +++ b/flyteidl/protos/flyteidl/core/interface.proto @@ -6,6 +6,7 @@ option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" import "flyteidl/core/types.proto"; import "flyteidl/core/literals.proto"; +import "flyteidl/core/artifact_id.proto"; // Defines a strongly typed variable. message Variable { @@ -14,6 +15,12 @@ message Variable { //+optional string describing input variable string description = 2; + + //+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. + core.ArtifactID artifact_partial_id = 3; + + core.ArtifactTag artifact_tag = 4; } // A map of Variables @@ -41,6 +48,12 @@ message Parameter { //+optional, is this value required to be filled. bool required = 3; + + // This is an execution time search basically that should result in exactly one Artifact with a Type that + // matches the type of the variable. + core.ArtifactQuery artifact_query = 4; + + core.ArtifactID artifact_id = 5; } } diff --git a/flyteidl/protos/flyteidl/core/literals.proto b/flyteidl/protos/flyteidl/core/literals.proto index 33ab9f45a2..f886873ffb 100644 --- a/flyteidl/protos/flyteidl/core/literals.proto +++ b/flyteidl/protos/flyteidl/core/literals.proto @@ -108,6 +108,9 @@ message 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; + + // Additional metadata for literals. + map metadata = 5; } // A collection of literals. This is a workaround since oneofs in proto messages cannot contain a repeated field. diff --git a/flyteidl/protos/flyteidl/event/cloudevents.proto b/flyteidl/protos/flyteidl/event/cloudevents.proto new file mode 100644 index 0000000000..0c628d52d4 --- /dev/null +++ b/flyteidl/protos/flyteidl/event/cloudevents.proto @@ -0,0 +1,82 @@ +syntax = "proto3"; + +package flyteidl.event; + +option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event"; + +import "flyteidl/event/event.proto"; +import "flyteidl/core/literals.proto"; +import "flyteidl/core/interface.proto"; +import "flyteidl/core/artifact_id.proto"; +import "flyteidl/core/identifier.proto"; +import "google/protobuf/timestamp.proto"; + +// This is the cloud event parallel to the raw WorkflowExecutionEvent message. It's filled in with additional +// information that downstream consumers may find useful. +message CloudEventWorkflowExecution { + event.WorkflowExecutionEvent raw_event = 1; + + core.LiteralMap output_data = 2; + + core.TypedInterface output_interface = 3; + + core.LiteralMap input_data = 4; + + // The following are ExecutionMetadata fields + // We can't have the ExecutionMetadata object directly because of import cycle + repeated core.ArtifactID artifact_ids = 5; + core.WorkflowExecutionIdentifier reference_execution = 6; + string principal = 7; + + // 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. + core.Identifier launch_plan_id = 8; +} + +message CloudEventNodeExecution { + event.NodeExecutionEvent raw_event = 1; + + // The relevant task execution if applicable + core.TaskExecutionIdentifier task_exec_id = 2; + + // Hydrated output + core.LiteralMap output_data = 3; + + // The typed interface for the task that produced the event. + core.TypedInterface output_interface = 4; + + core.LiteralMap input_data = 5; + + // The following are ExecutionMetadata fields + // We can't have the ExecutionMetadata object directly because of import cycle + repeated core.ArtifactID artifact_ids = 6; + string principal = 7; + + // 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. + core.Identifier launch_plan_id = 8; +} + +message CloudEventTaskExecution { + event.TaskExecutionEvent raw_event = 1; +} + +// This event is to be sent by Admin after it creates an execution. +message CloudEventExecutionStart { + // The execution created. + core.WorkflowExecutionIdentifier execution_id = 1; + // The launch plan used. + core.Identifier launch_plan_id = 2; + + core.Identifier workflow_id = 3; + + // Artifact IDs found + repeated core.ArtifactID artifact_ids = 4; + + // Artifact keys found. + repeated string artifact_keys = 5; + + string principal = 6; +} diff --git a/flyteidl/protos/flyteidl/event/event.proto b/flyteidl/protos/flyteidl/event/event.proto index 4702adcd9c..3157620af1 100644 --- a/flyteidl/protos/flyteidl/event/event.proto +++ b/flyteidl/protos/flyteidl/event/event.proto @@ -12,6 +12,7 @@ import "flyteidl/core/catalog.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/struct.proto"; + message WorkflowExecutionEvent { // Workflow execution id core.WorkflowExecutionIdentifier execution_id = 1; diff --git a/flyteplugins/go.sum b/flyteplugins/go.sum index 2b1931383f..6cd1d9bf49 100644 --- a/flyteplugins/go.sum +++ b/flyteplugins/go.sum @@ -335,8 +335,8 @@ github.com/ray-project/kuberay/ray-operator v0.0.0-20220728052838-eaa75fa6707c h github.com/ray-project/kuberay/ray-operator v0.0.0-20220728052838-eaa75fa6707c/go.mod h1:uLBlYqsCS2nsKiVlxJxI5EVgq8CrqNeHDP5uq3hde+c= 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.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +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= github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= diff --git a/flytepropeller/go.sum b/flytepropeller/go.sum index b576f96a7e..ad11190315 100644 --- a/flytepropeller/go.sum +++ b/flytepropeller/go.sum @@ -360,8 +360,8 @@ github.com/ray-project/kuberay/ray-operator v0.0.0-20220728052838-eaa75fa6707c h github.com/ray-project/kuberay/ray-operator v0.0.0-20220728052838-eaa75fa6707c/go.mod h1:uLBlYqsCS2nsKiVlxJxI5EVgq8CrqNeHDP5uq3hde+c= 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.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +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= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= diff --git a/flytestdlib/config/clouddeployment_enumer.go b/flytestdlib/config/clouddeployment_enumer.go new file mode 100644 index 0000000000..b4ee421c47 --- /dev/null +++ b/flytestdlib/config/clouddeployment_enumer.go @@ -0,0 +1,87 @@ +// Code generated by "enumer --type=CloudDeployment -json -yaml -trimprefix=CloudDeployment"; DO NOT EDIT. + +package config + +import ( + "encoding/json" + "fmt" +) + +const _CloudDeploymentName = "NoneAWSGCPSandboxLocal" + +var _CloudDeploymentIndex = [...]uint8{0, 4, 7, 10, 17, 22} + +func (i CloudDeployment) String() string { + if i >= CloudDeployment(len(_CloudDeploymentIndex)-1) { + return fmt.Sprintf("CloudDeployment(%d)", i) + } + return _CloudDeploymentName[_CloudDeploymentIndex[i]:_CloudDeploymentIndex[i+1]] +} + +var _CloudDeploymentValues = []CloudDeployment{0, 1, 2, 3, 4} + +var _CloudDeploymentNameToValueMap = map[string]CloudDeployment{ + _CloudDeploymentName[0:4]: 0, + _CloudDeploymentName[4:7]: 1, + _CloudDeploymentName[7:10]: 2, + _CloudDeploymentName[10:17]: 3, + _CloudDeploymentName[17:22]: 4, +} + +// CloudDeploymentString retrieves an enum value from the enum constants string name. +// Throws an error if the param is not part of the enum. +func CloudDeploymentString(s string) (CloudDeployment, error) { + if val, ok := _CloudDeploymentNameToValueMap[s]; ok { + return val, nil + } + return 0, fmt.Errorf("%s does not belong to CloudDeployment values", s) +} + +// CloudDeploymentValues returns all values of the enum +func CloudDeploymentValues() []CloudDeployment { + return _CloudDeploymentValues +} + +// IsACloudDeployment returns "true" if the value is listed in the enum definition. "false" otherwise +func (i CloudDeployment) IsACloudDeployment() bool { + for _, v := range _CloudDeploymentValues { + if i == v { + return true + } + } + return false +} + +// MarshalJSON implements the json.Marshaler interface for CloudDeployment +func (i CloudDeployment) MarshalJSON() ([]byte, error) { + return json.Marshal(i.String()) +} + +// UnmarshalJSON implements the json.Unmarshaler interface for CloudDeployment +func (i *CloudDeployment) UnmarshalJSON(data []byte) error { + var s string + if err := json.Unmarshal(data, &s); err != nil { + return fmt.Errorf("CloudDeployment should be a string, got %s", data) + } + + var err error + *i, err = CloudDeploymentString(s) + return err +} + +// MarshalYAML implements a YAML Marshaler for CloudDeployment +func (i CloudDeployment) MarshalYAML() (interface{}, error) { + return i.String(), nil +} + +// UnmarshalYAML implements a YAML Unmarshaler for CloudDeployment +func (i *CloudDeployment) UnmarshalYAML(unmarshal func(interface{}) error) error { + var s string + if err := unmarshal(&s); err != nil { + return err + } + + var err error + *i, err = CloudDeploymentString(s) + return err +} diff --git a/flytestdlib/config/constants.go b/flytestdlib/config/constants.go new file mode 100644 index 0000000000..cf499ac23c --- /dev/null +++ b/flytestdlib/config/constants.go @@ -0,0 +1,12 @@ +package config + +//go:generate enumer --type=CloudDeployment -json -yaml -trimprefix=CloudDeployment +type CloudDeployment uint8 + +const ( + CloudDeploymentNone CloudDeployment = iota + CloudDeploymentAWS + CloudDeploymentGCP + CloudDeploymentSandbox + CloudDeploymentLocal +) diff --git a/flytestdlib/database/config.go b/flytestdlib/database/config.go index c3dc2a31c0..16ca0e5708 100644 --- a/flytestdlib/database/config.go +++ b/flytestdlib/database/config.go @@ -7,8 +7,8 @@ import ( ) const ( - database = "database" - postgres = "postgres" + database = "database" + postgresStr = "postgres" ) //go:generate pflags DbConfig --default-var=defaultConfig @@ -18,10 +18,12 @@ var defaultConfig = &DbConfig{ MaxOpenConnections: 100, ConnMaxLifeTime: config.Duration{Duration: time.Hour}, Postgres: PostgresConfig{ - Port: 5432, - User: postgres, - Host: postgres, - DbName: postgres, + // These values are suitable for local sandbox development + Host: "localhost", + Port: 30001, + DbName: postgresStr, + User: postgresStr, + Password: postgresStr, ExtraOptions: "sslmode=disable", }, } diff --git a/flytestdlib/database/db.go b/flytestdlib/database/db.go new file mode 100644 index 0000000000..fe884c75f4 --- /dev/null +++ b/flytestdlib/database/db.go @@ -0,0 +1,145 @@ +package database + +import ( + "context" + "fmt" + + "github.com/go-gormigrate/gormigrate/v2" + "gorm.io/driver/sqlite" + "gorm.io/gorm" + + "github.com/flyteorg/flyte/flytestdlib/logger" +) + +// GetDB uses the dbConfig to create gorm DB object. If the db doesn't exist for the dbConfig then a new one is created +// using the default db for the provider. eg : postgres has default dbName as postgres +func GetDB(ctx context.Context, dbConfig *DbConfig, logConfig *logger.Config) ( + *gorm.DB, error) { + + if dbConfig == nil { + panic("Cannot initialize database repository from empty db config") + } + gormConfig := &gorm.Config{ + Logger: GetGormLogger(ctx, logConfig), + DisableForeignKeyConstraintWhenMigrating: false, + } + + var gormDb *gorm.DB + var err error + + switch { + case !(dbConfig.SQLite.IsEmpty()): + if dbConfig.SQLite.File == "" { + return nil, fmt.Errorf("illegal sqlite database configuration. `file` is a required parameter and should be a path") + } + gormDb, err = gorm.Open(sqlite.Open(dbConfig.SQLite.File), gormConfig) + if err != nil { + return nil, err + } + case !(dbConfig.Postgres.IsEmpty()): + gormDb, err = CreatePostgresDbIfNotExists(ctx, gormConfig, dbConfig.Postgres) + if err != nil { + return nil, err + } + + case len(dbConfig.DeprecatedHost) > 0 || len(dbConfig.DeprecatedUser) > 0 || len(dbConfig.DeprecatedDbName) > 0: + pgConfig := PostgresConfig{ + Host: dbConfig.DeprecatedHost, + Port: dbConfig.DeprecatedPort, + DbName: dbConfig.DeprecatedDbName, + User: dbConfig.DeprecatedUser, + Password: dbConfig.DeprecatedPassword, + PasswordPath: dbConfig.DeprecatedPasswordPath, + ExtraOptions: dbConfig.DeprecatedExtraOptions, + Debug: dbConfig.DeprecatedDebug, + } + gormDb, err = CreatePostgresDbIfNotExists(ctx, gormConfig, pgConfig) + if err != nil { + return nil, err + } + default: + return nil, fmt.Errorf("unrecognized database config, %v. Supported only postgres and sqlite", dbConfig) + } + + // Setup connection pool settings + return gormDb, setupDbConnectionPool(ctx, gormDb, dbConfig) +} + +func setupDbConnectionPool(ctx context.Context, gormDb *gorm.DB, dbConfig *DbConfig) error { + genericDb, err := gormDb.DB() + if err != nil { + return err + } + genericDb.SetConnMaxLifetime(dbConfig.ConnMaxLifeTime.Duration) + genericDb.SetMaxIdleConns(dbConfig.MaxIdleConnections) + genericDb.SetMaxOpenConns(dbConfig.MaxOpenConnections) + logger.Infof(ctx, "Set connection pool values to [%+v]", genericDb.Stats()) + return nil +} + +func withDB(ctx context.Context, databaseConfig *DbConfig, do func(db *gorm.DB) error) error { + if databaseConfig == nil { + databaseConfig = GetConfig() + } + logConfig := logger.GetConfig() + + db, err := GetDB(ctx, databaseConfig, logConfig) + if err != nil { + logger.Fatal(ctx, err) + } + + sqlDB, err := db.DB() + if err != nil { + logger.Fatal(ctx, err) + } + + defer func(deferCtx context.Context) { + if err = sqlDB.Close(); err != nil { + logger.Fatal(deferCtx, err) + } + }(ctx) + + if err = sqlDB.Ping(); err != nil { + return err + } + + return do(db) +} + +// Migrate runs all configured migrations +func Migrate(ctx context.Context, databaseConfig *DbConfig, migrations []*gormigrate.Migration, initializationSQL string) error { + if len(migrations) == 0 { + logger.Infof(ctx, "No migrations to run") + return nil + } + return withDB(ctx, databaseConfig, func(db *gorm.DB) error { + tx := db.Exec(initializationSQL) + if tx.Error != nil { + return tx.Error + } + + m := gormigrate.New(db, gormigrate.DefaultOptions, migrations) + if err := m.Migrate(); err != nil { + return fmt.Errorf("database migration failed: %v", err) + } + logger.Infof(ctx, "Migration ran successfully") + return nil + }) +} + +// Rollback rolls back the last migration +func Rollback(ctx context.Context, databaseConfig *DbConfig, migrations []*gormigrate.Migration) error { + if len(migrations) == 0 { + logger.Infof(ctx, "No migrations to rollback") + return nil + } + return withDB(ctx, databaseConfig, func(db *gorm.DB) error { + m := gormigrate.New(db, gormigrate.DefaultOptions, migrations) + err := m.RollbackLast() + if err != nil { + return fmt.Errorf("could not rollback latest migration: %v", err) + } + logger.Infof(ctx, "Rolled back one migration successfully") + return nil + }) +} diff --git a/flytestdlib/database/gorm.go b/flytestdlib/database/gorm.go index 2fc27b4f81..659c3df4af 100644 --- a/flytestdlib/database/gorm.go +++ b/flytestdlib/database/gorm.go @@ -37,7 +37,10 @@ func GetGormLogger(ctx context.Context, logConfig *logger.Config) gormLogger.Int logLevel = gormLogger.Info ignoreRecordNotFoundError = false default: - logLevel = gormLogger.Silent + logLevel = gormLogger.Info + } + if logConfigLevel > logger.DebugLevel { + logLevel = gormLogger.Info } // Copied from gormLogger.Default initialization. The gormLogger interface only allows modifying the LogLevel // and not IgnoreRecordNotFoundError. diff --git a/flytestdlib/database/postgres.go b/flytestdlib/database/postgres.go new file mode 100644 index 0000000000..be5c118e58 --- /dev/null +++ b/flytestdlib/database/postgres.go @@ -0,0 +1,114 @@ +package database + +import ( + "context" + "errors" + "fmt" + "io/ioutil" + "os" + "strings" + + oldPgConn "github.com/jackc/pgconn" + "github.com/jackc/pgx/v5/pgconn" + "gorm.io/driver/postgres" + "gorm.io/gorm" + + "github.com/flyteorg/flyte/flytestdlib/logger" +) + +const PqInvalidDBCode = "3D000" +const PqDbAlreadyExistsCode = "42P04" +const PgDuplicatedForeignKey = "23503" +const PgDuplicatedKey = "23505" +const defaultDB = "postgres" + +// Resolves a password value from either a user-provided inline value or a filepath whose contents contain a password. +func resolvePassword(ctx context.Context, passwordVal, passwordPath string) string { + password := passwordVal + if len(passwordPath) > 0 { + if _, err := os.Stat(passwordPath); os.IsNotExist(err) { + logger.Fatalf(ctx, + "missing database password at specified path [%s]", passwordPath) + } + passwordVal, err := ioutil.ReadFile(passwordPath) + if err != nil { + logger.Fatalf(ctx, "failed to read database password from path [%s] with err: %v", + passwordPath, err) + } + // Passwords can contain special characters as long as they are percent encoded + // https://www.postgresql.org/docs/current/libpq-connect.html + password = strings.TrimSpace(string(passwordVal)) + } + return password +} + +// Produces the DSN (data source name) for opening a postgres db connection. +func getPostgresDsn(ctx context.Context, pgConfig PostgresConfig) string { + password := resolvePassword(ctx, pgConfig.Password, pgConfig.PasswordPath) + if len(password) == 0 { + // The password-less case is included for development environments. + return fmt.Sprintf("host=%s port=%d dbname=%s user=%s sslmode=disable", + pgConfig.Host, pgConfig.Port, pgConfig.DbName, pgConfig.User) + } + return fmt.Sprintf("host=%s port=%d dbname=%s user=%s password=%s %s", + pgConfig.Host, pgConfig.Port, pgConfig.DbName, pgConfig.User, password, pgConfig.ExtraOptions) +} + +// CreatePostgresDbIfNotExists creates DB if it doesn't exist for the passed in config +func CreatePostgresDbIfNotExists(ctx context.Context, gormConfig *gorm.Config, pgConfig PostgresConfig) (*gorm.DB, error) { + dialector := postgres.Open(getPostgresDsn(ctx, pgConfig)) + gormDb, err := gorm.Open(dialector, gormConfig) + if err == nil { + return gormDb, nil + } + if !IsPgErrorWithCode(err, PqInvalidDBCode) { + return nil, err + } + logger.Warningf(ctx, "Database [%v] does not exist", pgConfig.DbName) + + // Every postgres installation includes a 'postgres' database by default. We connect to that now in order to + // initialize the user-specified database. + defaultDbPgConfig := pgConfig + defaultDbPgConfig.DbName = defaultDB + defaultDBDialector := postgres.Open(getPostgresDsn(ctx, defaultDbPgConfig)) + gormDb, err = gorm.Open(defaultDBDialector, gormConfig) + if err != nil { + return nil, err + } + + // Because we asserted earlier that the db does not exist, we create it now. + logger.Infof(ctx, "Creating database %v", pgConfig.DbName) + + // NOTE: golang sql drivers do not support parameter injection for CREATE calls + createDBStatement := fmt.Sprintf("CREATE DATABASE %s", pgConfig.DbName) + result := gormDb.Exec(createDBStatement) + + if result.Error != nil { + if !IsPgErrorWithCode(result.Error, PqDbAlreadyExistsCode) { + return nil, result.Error + } + logger.Warningf(ctx, "Got DB already exists error for [%s], skipping...", pgConfig.DbName) + } + // Now try connecting to the db again + return gorm.Open(dialector, gormConfig) +} + +func IsPgErrorWithCode(err error, code string) bool { + // Newer versions of the gorm postgres driver seem to use + // "github.com/jackc/pgx/v5/pgconn" + // See https://github.com/go-gorm/gorm/issues/4135 + // Let's just try both of them to make sure. + pgErr := &pgconn.PgError{} + if errors.As(err, &pgErr) { + // err chain does not contain a pgconn.PgError + return pgErr.Code == code + } + + oldPgErr := &oldPgConn.PgError{} + if errors.As(err, &oldPgErr) { + // err chain does not contain a pgconn.PgError + return oldPgErr.Code == code + } + + return false +} diff --git a/flytestdlib/database/postgres_test.go b/flytestdlib/database/postgres_test.go new file mode 100644 index 0000000000..311b05c351 --- /dev/null +++ b/flytestdlib/database/postgres_test.go @@ -0,0 +1,156 @@ +package database + +import ( + "context" + "errors" + "io/ioutil" + "net" + "os" + "testing" + + "github.com/jackc/pgconn" + "github.com/stretchr/testify/assert" +) + +func TestResolvePassword(t *testing.T) { + password := "123abc" + tmpFile, err := os.CreateTemp("", "prefix") + if err != nil { + t.Errorf("Couldn't open temp file: %v", err) + } + defer tmpFile.Close() + if _, err = tmpFile.WriteString(password); err != nil { + t.Errorf("Couldn't write to temp file: %v", err) + } + resolvedPassword := resolvePassword(context.TODO(), "", tmpFile.Name()) + assert.Equal(t, resolvedPassword, password) +} + +func TestGetPostgresDsn(t *testing.T) { + pgConfig := PostgresConfig{ + Host: "localhost", + Port: 5432, + DbName: "postgres", + User: "postgres", + ExtraOptions: "sslmode=disable", + } + t.Run("no password", func(t *testing.T) { + dsn := getPostgresDsn(context.TODO(), pgConfig) + assert.Equal(t, "host=localhost port=5432 dbname=postgres user=postgres sslmode=disable", dsn) + }) + t.Run("with password", func(t *testing.T) { + pgConfig.Password = "pass" + dsn := getPostgresDsn(context.TODO(), pgConfig) + assert.Equal(t, "host=localhost port=5432 dbname=postgres user=postgres password=pass sslmode=disable", dsn) + + }) + t.Run("with password, no extra", func(t *testing.T) { + pgConfig.Password = "pass" + pgConfig.ExtraOptions = "" + dsn := getPostgresDsn(context.TODO(), pgConfig) + assert.Equal(t, "host=localhost port=5432 dbname=postgres user=postgres password=pass ", dsn) + }) + t.Run("with password path", func(t *testing.T) { + password := "123abc" + tmpFile, err := ioutil.TempFile("", "prefix") + if err != nil { + t.Errorf("Couldn't open temp file: %v", err) + } + defer tmpFile.Close() + if _, err = tmpFile.WriteString(password); err != nil { + t.Errorf("Couldn't write to temp file: %v", err) + } + pgConfig.PasswordPath = tmpFile.Name() + dsn := getPostgresDsn(context.TODO(), pgConfig) + assert.Equal(t, "host=localhost port=5432 dbname=postgres user=postgres password=123abc ", dsn) + }) +} + +type wrappedError struct { + err error +} + +func (e *wrappedError) Error() string { + return e.err.Error() +} + +func (e *wrappedError) Unwrap() error { + return e.err +} + +func TestIsInvalidDBPgError(t *testing.T) { + // wrap error with wrappedError when testing to ensure the function checks the whole error chain + + testCases := []struct { + Name string + Err error + ExpectedResult bool + }{ + { + Name: "nil error", + Err: nil, + ExpectedResult: false, + }, + { + Name: "not a PgError", + Err: &wrappedError{err: &net.OpError{Op: "connect", Err: errors.New("connection refused")}}, + ExpectedResult: false, + }, + { + Name: "PgError but not invalid DB", + Err: &wrappedError{&pgconn.PgError{Severity: "FATAL", Message: "out of memory", Code: "53200"}}, + ExpectedResult: false, + }, + { + Name: "PgError and is invalid DB", + Err: &wrappedError{&pgconn.PgError{Severity: "FATAL", Message: "database \"flyte\" does not exist", Code: "3D000"}}, + ExpectedResult: true, + }, + } + + for _, tc := range testCases { + tc := tc + + t.Run(tc.Name, func(t *testing.T) { + assert.Equal(t, tc.ExpectedResult, IsPgErrorWithCode(tc.Err, PqInvalidDBCode)) + }) + } +} + +func TestIsPgDbAlreadyExistsError(t *testing.T) { + // wrap error with wrappedError when testing to ensure the function checks the whole error chain + + testCases := []struct { + Name string + Err error + ExpectedResult bool + }{ + { + Name: "nil error", + Err: nil, + ExpectedResult: false, + }, + { + Name: "not a PgError", + Err: &wrappedError{err: &net.OpError{Op: "connect", Err: errors.New("connection refused")}}, + ExpectedResult: false, + }, + { + Name: "PgError but not already exists", + Err: &wrappedError{&pgconn.PgError{Severity: "FATAL", Message: "out of memory", Code: "53200"}}, + ExpectedResult: false, + }, + { + Name: "PgError and is already exists", + Err: &wrappedError{&pgconn.PgError{Severity: "FATAL", Message: "database \"flyte\" does not exist", Code: "42P04"}}, + ExpectedResult: true, + }, + } + + for _, tc := range testCases { + tc := tc + t.Run(tc.Name, func(t *testing.T) { + assert.Equal(t, tc.ExpectedResult, IsPgErrorWithCode(tc.Err, PqDbAlreadyExistsCode)) + }) + } +} diff --git a/flytestdlib/go.mod b/flytestdlib/go.mod index 3c55115ca3..16d0fe3b06 100644 --- a/flytestdlib/go.mod +++ b/flytestdlib/go.mod @@ -12,9 +12,12 @@ require ( github.com/flyteorg/stow v0.3.8 github.com/fsnotify/fsnotify v1.6.0 github.com/ghodss/yaml v1.0.0 + github.com/go-gormigrate/gormigrate/v2 v2.1.1 github.com/go-test/deep v1.0.7 github.com/golang/protobuf v1.5.3 github.com/hashicorp/golang-lru v0.5.4 + github.com/jackc/pgconn v1.14.1 + github.com/jackc/pgx/v5 v5.4.3 github.com/magiconair/properties v1.8.6 github.com/mitchellh/mapstructure v1.5.0 github.com/pkg/errors v0.9.1 @@ -33,7 +36,9 @@ require ( golang.org/x/tools v0.9.3 google.golang.org/grpc v1.56.1 google.golang.org/protobuf v1.30.0 - gorm.io/gorm v1.22.4 + gorm.io/driver/postgres v1.5.3 + gorm.io/driver/sqlite v1.5.4 + gorm.io/gorm v1.25.4 gotest.tools v2.2.0+incompatible k8s.io/api v0.28.2 k8s.io/apimachinery v0.28.2 @@ -75,6 +80,13 @@ require ( github.com/googleapis/gax-go/v2 v2.7.1 // 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 + github.com/jackc/pgio v1.0.0 // indirect + github.com/jackc/pgpassfile v1.0.0 // indirect + github.com/jackc/pgproto3/v2 v2.3.2 // indirect + github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect + github.com/jinzhu/inflection v1.0.0 // indirect + github.com/jinzhu/now v1.1.5 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect @@ -82,6 +94,7 @@ require ( github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.12 // indirect github.com/mattn/go-isatty v0.0.14 // indirect + github.com/mattn/go-sqlite3 v1.14.17 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect @@ -94,6 +107,7 @@ require ( github.com/prometheus/client_model v0.4.0 // indirect github.com/prometheus/common v0.44.0 // indirect github.com/prometheus/procfs v0.10.1 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/spf13/afero v1.9.2 // indirect github.com/spf13/cast v1.4.1 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect diff --git a/flytestdlib/go.sum b/flytestdlib/go.sum index ebedafd9b3..baacaca1e5 100644 --- a/flytestdlib/go.sum +++ b/flytestdlib/go.sum @@ -84,9 +84,13 @@ 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/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/coocood/freecache v1.1.1 h1:uukNF7QKCZEdZ9gAV7WQzvh0SbjwdMF6m3x3rxEkaPc= github.com/coocood/freecache v1.1.1/go.mod h1:OKrEjkGVoxZhyWAJoeFi5BMLUJm2Tit0kpGkIr7NGYY= +github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -120,6 +124,8 @@ github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeME 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-gormigrate/gormigrate/v2 v2.1.1 h1:eGS0WTFRV30r103lU8JNXY27KbviRnqqIDobW3EV3iY= +github.com/go-gormigrate/gormigrate/v2 v2.1.1/go.mod h1:L7nJ620PFDKei9QOhJzqA8kRCk+E3UbV2f5gv+1ndLc= 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= @@ -134,6 +140,7 @@ github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2Kv github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= +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= @@ -233,10 +240,52 @@ 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= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= +github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/chunkreader/v2 v2.0.1 h1:i+RDz65UE+mmpjTfyz0MoVTnzeYxroil2G82ki7MGG8= +github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= +github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= +github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= +github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= +github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= +github.com/jackc/pgconn v1.14.1 h1:smbxIaZA08n6YuxEX1sDyjV/qkbtUtkH20qLkR9MUR4= +github.com/jackc/pgconn v1.14.1/go.mod h1:9mBNlny0UvkgJdCDvdVHYSjI+8tD2rnKK69Wz8ti++E= +github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE= +github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= +github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= +github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65 h1:DadwsjnMwFjfWc9y5Wi/+Zz7xoE5ALHsRQlOctkOiHc= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak= +github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg= +github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.3.2 h1:7eY55bdBeCz1F2fTzSz69QC+pG46jYq9/jtSPiJ5nn0= +github.com/jackc/pgproto3/v2 v2.3.2/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= +github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= +github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= +github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= +github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= +github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= +github.com/jackc/pgx/v5 v5.4.3 h1:cxFyXhxlvAifxnkKKdlxv8XqUf59tDlYjnV5YYfsJJY= +github.com/jackc/pgx/v5 v5.4.3/go.mod h1:Ig06C2Vu0t5qXC60W8sqIthScaEnFvojjj9dSljmHRA= +github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= -github.com/jinzhu/now v1.1.3 h1:PlHq1bSCSZL9K0wUhbm2pGLoTWs2GwVhsP6emvGV/ZI= -github.com/jinzhu/now v1.1.3/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= +github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= +github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -249,27 +298,38 @@ github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1 github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= 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/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= 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= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-sqlite3 v1.14.17 h1:mCRHCLDUBXgpKAqIKsaAaAsrAlbkeomtRFKXh2L6YIM= +github.com/mattn/go-sqlite3 v1.14.17/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= @@ -309,9 +369,16 @@ 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/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +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/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= +github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= +github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= @@ -329,6 +396,8 @@ github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An github.com/spf13/viper v1.11.0 h1:7OX/1FS6n7jHD1zGrZTM7WtY13ZELRyosK4k93oPr44= github.com/spf13/viper v1.11.0/go.mod h1:djo0X/bA5+tYVoCn+C7cAYJGcVn/qYLFTG8gdUsX7Zk= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= @@ -348,6 +417,8 @@ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= 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= @@ -368,17 +439,29 @@ 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.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/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= 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.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-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= 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-20190820162420-60c769a6c586/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.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +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.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= 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= @@ -416,6 +499,7 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -430,6 +514,7 @@ golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-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= @@ -451,6 +536,8 @@ 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-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.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= @@ -474,17 +561,23 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ 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/sync v0.0.0-20201207232520-09787c993a3a/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.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI= golang.org/x/sync v0.2.0/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-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/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-20190813064441-fde4db37ae7a/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= @@ -516,11 +609,16 @@ golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBc 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-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-20220722155257-8c9f86f7a55f/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.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +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.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= @@ -529,7 +627,9 @@ 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.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.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/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -544,12 +644,14 @@ golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3 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-20190425163242-31fd60d6bfdc/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-20190823170909-c4a336ef6a2f/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= @@ -586,8 +688,11 @@ golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM= golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -704,6 +809,7 @@ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8 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/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4= @@ -715,8 +821,12 @@ 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.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gorm.io/gorm v1.22.4 h1:8aPcyEJhY0MAt8aY6Dc524Pn+pO29K+ydu+e/cXSpQM= -gorm.io/gorm v1.22.4/go.mod h1:1aeVC+pe9ZmvKZban/gW4QPra7PRoTEssyc922qCAkk= +gorm.io/driver/postgres v1.5.3 h1:qKGY5CPHOuj47K/VxbCXJfFvIUeqMSXXadqdCY+MbBU= +gorm.io/driver/postgres v1.5.3/go.mod h1:F+LtvlFhZT7UBiA81mC9W6Su3D4WUhSboc/36QZU0gk= +gorm.io/driver/sqlite v1.5.4 h1:IqXwXi8M/ZlPzH/947tn5uik3aYQslP9BVveoax0nV0= +gorm.io/driver/sqlite v1.5.4/go.mod h1:qxAuCol+2r6PannQDpOP1FP6ag3mKi4esLnB/jHed+4= +gorm.io/gorm v1.25.4 h1:iyNd8fNAe8W9dvtlgeRI5zSVZPsq3OpcTu37cYcpCmw= +gorm.io/gorm v1.25.4/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/flytestdlib/sandboxutils/processor.go b/flytestdlib/sandboxutils/processor.go new file mode 100644 index 0000000000..9b6731691b --- /dev/null +++ b/flytestdlib/sandboxutils/processor.go @@ -0,0 +1,71 @@ +package sandboxutils + +import ( + "context" + "fmt" + "sync" + "time" + + "github.com/golang/protobuf/proto" + + "github.com/flyteorg/flyte/flytestdlib/logger" +) + +var MsgChan chan SandboxMessage +var once sync.Once + +func init() { + once.Do(func() { + MsgChan = make(chan SandboxMessage, 1000) + }) +} + +type SandboxMessage struct { + Msg proto.Message + Raw []byte + Topic string +} + +type CloudEventsSandboxOnlyPublisher struct { + subChan chan<- SandboxMessage +} + +func (z *CloudEventsSandboxOnlyPublisher) Publish(ctx context.Context, topic string, msg proto.Message) error { + logger.Debugf(ctx, "Sandbox cloud event publisher, sending to topic [%s]", topic) + sm := SandboxMessage{ + Msg: msg, + Topic: topic, + } + select { + case z.subChan <- sm: + return nil + case <-ctx.Done(): + return ctx.Err() + } +} + +// PublishRaw will publish a raw byte array as a message with context. +func (z *CloudEventsSandboxOnlyPublisher) PublishRaw(ctx context.Context, topic string, msgRaw []byte) error { + logger.Debugf(ctx, "Sandbox cloud event publisher, sending raw to topic [%s]", topic) + sm := SandboxMessage{ + Raw: msgRaw, + Topic: topic, + } + select { + case z.subChan <- sm: + // metric + logger.Debugf(ctx, "Sandbox publisher sent message to %s", topic) + return nil + case <-time.After(10000 * time.Millisecond): + // metric + logger.Errorf(context.Background(), "CloudEventsSandboxOnlyPublisher PublishRaw timed out") + return fmt.Errorf("CloudEventsSandboxOnlyPublisher PublishRaw timed out") + } + +} + +func NewCloudEventsPublisher() *CloudEventsSandboxOnlyPublisher { + return &CloudEventsSandboxOnlyPublisher{ + subChan: MsgChan, + } +} diff --git a/go.mod b/go.mod index fd97779819..9630132fd8 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 golang.org/x/sync v0.3.0 - gorm.io/driver/postgres v1.4.5 + gorm.io/driver/postgres v1.5.3 k8s.io/client-go v0.28.3 sigs.k8s.io/controller-runtime v0.16.3 ) @@ -48,9 +48,9 @@ require ( github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.8.0 // indirect + github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.14.0 // indirect github.com/cloudevents/sdk-go/protocol/kafka_sarama/v2 v2.8.0 // indirect - github.com/cloudevents/sdk-go/v2 v2.8.0 // indirect + github.com/cloudevents/sdk-go/v2 v2.14.0 // indirect github.com/coocood/freecache v1.1.1 // indirect github.com/coreos/go-oidc/v3 v3.6.0 // indirect github.com/dask/dask-kubernetes/v2023 v2023.0.0-20230626103304-abd02cd17b26 // indirect @@ -70,7 +70,7 @@ require ( github.com/flyteorg/stow v0.3.8 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect github.com/ghodss/yaml v1.0.0 // indirect - github.com/go-gormigrate/gormigrate/v2 v2.0.0 // indirect + github.com/go-gormigrate/gormigrate/v2 v2.1.1 // indirect github.com/go-jose/go-jose/v3 v3.0.0 // indirect github.com/go-logr/logr v1.2.4 // indirect github.com/go-logr/stdr v1.2.2 // indirect @@ -97,7 +97,7 @@ require ( 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.3.0 // 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/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69 // indirect @@ -107,13 +107,12 @@ require ( github.com/imdario/mergo v0.3.13 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jackc/chunkreader/v2 v2.0.1 // indirect - github.com/jackc/pgconn v1.13.0 // indirect + github.com/jackc/pgconn v1.14.1 // indirect github.com/jackc/pgio v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect - github.com/jackc/pgproto3/v2 v2.3.1 // indirect - github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect - github.com/jackc/pgtype v1.12.0 // indirect - github.com/jackc/pgx/v4 v4.17.2 // indirect + github.com/jackc/pgproto3/v2 v2.3.2 // indirect + github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect + github.com/jackc/pgx/v5 v5.4.3 // indirect github.com/jcmturner/gofork v1.0.0 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect @@ -208,8 +207,8 @@ require ( gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - gorm.io/driver/sqlite v1.5.0 // indirect - gorm.io/gorm v1.25.1 // indirect + gorm.io/driver/sqlite v1.5.4 // indirect + gorm.io/gorm v1.25.5 // indirect gorm.io/plugin/opentelemetry v0.1.4 // indirect k8s.io/api v0.28.3 // indirect k8s.io/apiextensions-apiserver v0.28.0 // indirect @@ -233,8 +232,6 @@ replace ( github.com/flyteorg/flyte/flytestdlib => ./flytestdlib github.com/google/gnostic-models => github.com/google/gnostic-models v0.6.8 github.com/robfig/cron/v3 => github.com/unionai/cron/v3 v3.0.2-0.20220915080349-5790c370e63a - gorm.io/driver/sqlite => gorm.io/driver/sqlite v1.1.1 - gorm.io/gorm => gorm.io/gorm v1.24.1-0.20221019064659-5dd2bb482755 k8s.io/api => k8s.io/api v0.28.2 k8s.io/apimachinery => k8s.io/apimachinery v0.28.2 k8s.io/client-go => k8s.io/client-go v0.28.2 diff --git a/go.sum b/go.sum index f07fb34369..585e45ec4b 100644 --- a/go.sum +++ b/go.sum @@ -76,11 +76,8 @@ github.com/DataDog/datadog-go v4.0.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3 github.com/DataDog/opencensus-go-exporter-datadog v0.0.0-20191210083620-6965a1cfed68/go.mod h1:gMGUEe16aZh0QN941HgDjwrdjU4iTthPoz2/AtDRADE= github.com/GoogleCloudPlatform/spark-on-k8s-operator v0.0.0-20200723154620-6f35a1152625 h1:cQyO5JQ2iuHnEcF3v24kdDMsgh04RjyFPDtuvD6PCE0= github.com/GoogleCloudPlatform/spark-on-k8s-operator v0.0.0-20200723154620-6f35a1152625/go.mod h1:6PnrZv6zUDkrNMw0mIoGRmGBR7i9LulhKPmxFq4rUiM= -github.com/Masterminds/semver v1.4.2 h1:WBLTQ37jOCzSLtXNdoo8bNM8876KhNqOKvrlGITgsTc= github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/semver/v3 v3.0.3/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= -github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= github.com/NYTimes/gizmo v1.3.6 h1:K+GRagPdAxojsT1TlTQlMkTeOmgfLxSdvuOhdki7GG0= @@ -89,7 +86,6 @@ github.com/NYTimes/logrotate v1.0.0/go.mod h1:GxNz1cSw1c6t99PXoZlw+nm90H6cyQyrH6 github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc= github.com/PuerkitoBio/purell v1.1.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= @@ -105,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/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= 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= @@ -138,6 +133,7 @@ github.com/aws/aws-xray-sdk-go v0.9.4/go.mod h1:XtMKdBQfpVut+tJEwI7+dJFRxxRdxHDy github.com/aws/smithy-go v1.0.0/go.mod h1:EzMw8dbp/YJL4A5/sbhGddag+NPT7q084agLbB9LgIw= github.com/aws/smithy-go v1.1.0 h1:D6CSsM3gdxaGaqXnPgOBCeL6Mophqzu7KJOu7zW78sU= github.com/aws/smithy-go v1.1.0/go.mod h1:EzMw8dbp/YJL4A5/sbhGddag+NPT7q084agLbB9LgIw= +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= @@ -167,12 +163,13 @@ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5P github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575/go.mod h1:9d6lWj8KzO/fd/NrVaLscBKmPigpZpn5YawRPw+e3Yo= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.8.0 h1:hRguaVL9rVsO8PMOpKSZ5gYZ2kjGRCvuKw4yMlfsBtg= -github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.8.0/go.mod h1:Ba4CS2d+naAK8tGd6nm5ftGIWuHim+1lryAaIxhuh1k= +github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.14.0 h1:dEopBSOSjB5fM9r76ufM44AVj9Dnz2IOM0Xs6FVxZRM= +github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.14.0/go.mod h1:qDSbb0fgIfFNjZrNTPtS5MOMScAGyQtn1KlSvoOdqYw= github.com/cloudevents/sdk-go/protocol/kafka_sarama/v2 v2.8.0 h1:48wFAj3LK/G80FqXgKzyciQF9BU3W+RwucGwWY1Tk0M= github.com/cloudevents/sdk-go/protocol/kafka_sarama/v2 v2.8.0/go.mod h1:m41mqM/Pa9pzPPNrvWwY3M7llCuzciKk5tqH0m6Rz9I= -github.com/cloudevents/sdk-go/v2 v2.8.0 h1:kmRaLbsafZmidZ0rZ6h7WOMqCkRMcVTLV5lxV/HKQ9Y= github.com/cloudevents/sdk-go/v2 v2.8.0/go.mod h1:GpCBmUj7DIRiDhVvsK5d6WCbgTWs8DxAWTRtAwQmIXs= +github.com/cloudevents/sdk-go/v2 v2.14.0 h1:Nrob4FwVgi5L4tV9lhjzZcjYqFVyJzsA56CwPaPfv6s= +github.com/cloudevents/sdk-go/v2 v2.14.0/go.mod h1:xDmKfzNjM8gBvjaF8ijFjM1VYOVUEeUfapHMUX1T5To= 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= @@ -182,7 +179,6 @@ github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWH 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 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/cockroach-go v0.0.0-20181001143604-e0a95dfd547c/go.mod h1:XGLbWH/ujMcbPbhZq52Nv6UrCghb1yGn//133kEsvDk= github.com/cockroachdb/cockroach-go v0.0.0-20190925194419-606b3d062051/go.mod h1:XGLbWH/ujMcbPbhZq52Nv6UrCghb1yGn//133kEsvDk= @@ -219,8 +215,6 @@ github.com/decred/dcrd/chaincfg/chainhash v1.0.2/go.mod h1:BpbrGgrPTr3YJYRN3Bm+D github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= github.com/decred/dcrd/dcrec/secp256k1/v3 v3.0.0 h1:sgNeV1VRMDzs6rzyPpxyM0jp317hnwiq58Filgag2xw= github.com/decred/dcrd/dcrec/secp256k1/v3 v3.0.0/go.mod h1:J70FGZSbzsjecRTiTzER+3f1KZLNaXkuv+yeFTKoxM8= -github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc h1:VRRKCwnzqk8QCaRC4os14xoKDdbHqqlJtJA0oc1ZAjg= -github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= github.com/dgraph-io/ristretto v0.0.1/go.mod h1:T40EBc7CJke8TkpiYfGGKAeFjSaxuFXhuXRyumBd6RE= github.com/dgraph-io/ristretto v0.0.2/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= github.com/dgraph-io/ristretto v0.0.3 h1:jh22xisGBjrEVnRZ1DVTpBVQm0Xndu8sMl0CWDzSIBI= @@ -296,8 +290,8 @@ github.com/go-bindata/go-bindata v3.1.1+incompatible/go.mod h1:xK8Dsgwmeed+BBsSy 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-gormigrate/gormigrate/v2 v2.0.0 h1:e2A3Uznk4viUC4UuemuVgsNnvYZyOA8B3awlYk3UioU= -github.com/go-gormigrate/gormigrate/v2 v2.0.0/go.mod h1:YuVJ+D/dNt4HWrThTBnjgZuRbt7AuwINeg4q52ZE3Jw= +github.com/go-gormigrate/gormigrate/v2 v2.1.1 h1:eGS0WTFRV30r103lU8JNXY27KbviRnqqIDobW3EV3iY= +github.com/go-gormigrate/gormigrate/v2 v2.1.1/go.mod h1:L7nJ620PFDKei9QOhJzqA8kRCk+E3UbV2f5gv+1ndLc= github.com/go-jose/go-jose/v3 v3.0.0 h1:s6rrhirfEP/CGIoc6p+PZAeogN2SxKav6Wp7+dyMWVo= 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= @@ -639,7 +633,6 @@ github.com/goccy/go-json v0.4.8 h1:TfwOxfSp8hXH+ivoOk36RyDNmXATUETRdaNWDaZglf8= github.com/goccy/go-json v0.4.8/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/gofrs/uuid v3.1.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= -github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= 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/gofrs/uuid/v3 v3.1.2/go.mod h1:xPwMqoocQ1L5G6pXX5BcE7N5jlzn2o19oqAKxwZW/kI= @@ -653,8 +646,6 @@ github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOW github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= 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-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY= -github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= 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= @@ -777,8 +768,8 @@ 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-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/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= @@ -816,16 +807,12 @@ github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9 github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= github.com/jackc/pgconn v1.3.2/go.mod h1:LvCquS3HbBKwgl7KbX9KyqEIumJAbm1UMcTvGaIf3bM= -github.com/jackc/pgconn v1.4.0/go.mod h1:Y2O3ZDF0q4mMacyWV3AstPJpeHXWGEetiFttmq5lahk= github.com/jackc/pgconn v1.5.0/go.mod h1:QeD3lBfpTFe8WUnPZWN5KY/mB8FGMIYRdd8P8Jr0fAI= -github.com/jackc/pgconn v1.5.1-0.20200601181101-fa742c524853/go.mod h1:QeD3lBfpTFe8WUnPZWN5KY/mB8FGMIYRdd8P8Jr0fAI= github.com/jackc/pgconn v1.6.0/go.mod h1:yeseQo4xhQbgyJs2c87RAXOH2i624N0Fh1KSPJya7qo= -github.com/jackc/pgconn v1.6.4/go.mod h1:w2pne1C2tZgP+TvjqLpOigGzNqjBgQW9dUw/4Chex78= github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= -github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI= -github.com/jackc/pgconn v1.13.0 h1:3L1XMNV2Zvca/8BYhzcRFS70Lr0WlDg16Di6SFGAbys= -github.com/jackc/pgconn v1.13.0/go.mod h1:AnowpAqO4CMIIJNZl2VJp+KrkAZciAkhEl0W0JIobpI= +github.com/jackc/pgconn v1.14.1 h1:smbxIaZA08n6YuxEX1sDyjV/qkbtUtkH20qLkR9MUR4= +github.com/jackc/pgconn v1.14.1/go.mod h1:9mBNlny0UvkgJdCDvdVHYSjI+8tD2rnKK69Wz8ti++E= github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE= github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= @@ -843,42 +830,29 @@ github.com/jackc/pgproto3/v2 v2.0.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwX github.com/jackc/pgproto3/v2 v2.0.2/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= -github.com/jackc/pgproto3/v2 v2.3.1 h1:nwj7qwf0S+Q7ISFfBndqeLwSwxs+4DPsbRFjECT1Y4Y= -github.com/jackc/pgproto3/v2 v2.3.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.3.2 h1:7eY55bdBeCz1F2fTzSz69QC+pG46jYq9/jtSPiJ5nn0= +github.com/jackc/pgproto3/v2 v2.3.2/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgservicefile v0.0.0-20200307190119-3430c5407db8/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= -github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b h1:C8S2+VttkHFdOOCXJe+YGfa4vHYwlt4Zx+IVXQ97jYg= github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= github.com/jackc/pgtype v1.2.0/go.mod h1:5m2OfMh1wTK7x+Fk952IDmI4nw3nPrvtQdM0ZT4WpC0= github.com/jackc/pgtype v1.3.0/go.mod h1:b0JqxHvPmljG+HQ5IsvQ0yqeSi4nGcDTVjFoiLDb0Ik= -github.com/jackc/pgtype v1.3.1-0.20200510190516-8cd94a14c75a/go.mod h1:vaogEUkALtxZMCH411K+tKzNpwzCKU+AnPzBKZ+I+Po= -github.com/jackc/pgtype v1.3.1-0.20200606141011-f6355165a91c/go.mod h1:cvk9Bgu/VzJ9/lxTO5R5sf80p0DiucVtN7ZxvaC4GmQ= -github.com/jackc/pgtype v1.4.2/go.mod h1:JCULISAZBFGrHaOXIIFiyfzW5VY0GRitRr8NeJsrdig= -github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM= -github.com/jackc/pgtype v1.12.0 h1:Dlq8Qvcch7kiehm8wPGIW0W3KsCCHJnRacKW0UM8n5w= -github.com/jackc/pgtype v1.12.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= github.com/jackc/pgx v3.2.0+incompatible/go.mod h1:0ZGrqGqkRlliWnWB4zKnWtjbSWbGkVEFm4TeybAXq+I= github.com/jackc/pgx v3.6.2+incompatible/go.mod h1:0ZGrqGqkRlliWnWB4zKnWtjbSWbGkVEFm4TeybAXq+I= github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= github.com/jackc/pgx/v4 v4.4.1/go.mod h1:6iSW+JznC0YT+SgBn7rNxoEBsBgSmnC5FwyCekOGUiE= -github.com/jackc/pgx/v4 v4.5.0/go.mod h1:EpAKPLdnTorwmPUUsqrPxy5fphV18j9q3wrfRXgo+kA= github.com/jackc/pgx/v4 v4.6.0/go.mod h1:vPh43ZzxijXUVJ+t/EmXBtFmbFVO72cuneCT9oAlxAg= -github.com/jackc/pgx/v4 v4.6.1-0.20200510190926-94ba730bb1e9/go.mod h1:t3/cdRQl6fOLDxqtlyhe9UWgfIi9R8+8v8GKV5TRA/o= -github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904/go.mod h1:ZDaNWkt9sW1JMiNn0kdYBaLelIhw7Pg4qd+Vk6tw7Hg= -github.com/jackc/pgx/v4 v4.8.1/go.mod h1:4HOLxrl8wToZJReD04/yB20GDwf4KBYETvlHciCnwW0= -github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= -github.com/jackc/pgx/v4 v4.17.2 h1:0Ut0rpeKwvIVbMQ1KbMBU4h6wxehBI535LK6Flheh8E= -github.com/jackc/pgx/v4 v4.17.2/go.mod h1:lcxIZN44yMIrWI78a5CpucdD14hX0SBDbNRvjDBItsw= +github.com/jackc/pgx/v5 v5.4.3 h1:cxFyXhxlvAifxnkKKdlxv8XqUf59tDlYjnV5YYfsJJY= +github.com/jackc/pgx/v5 v5.4.3/go.mod h1:Ig06C2Vu0t5qXC60W8sqIthScaEnFvojjj9dSljmHRA= github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= -github.com/jackc/puddle v1.1.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= -github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= -github.com/jackc/puddle v1.3.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jandelgado/gcov2lcov v1.0.4-0.20210120124023-b83752c6dc08/go.mod h1:NnSxK6TMlg1oGDBfGelGbjgorT5/L3cchlbtgFYZSss= github.com/jcmturner/gofork v0.0.0-20190328161633-dc7c13fece03/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= github.com/jcmturner/gofork v1.0.0 h1:J7uCkflzTEhUZ64xqKnkDxq3kzc96ajM1Gli5ktUem8= @@ -888,7 +862,6 @@ github.com/jinzhu/copier v0.3.5 h1:GlvfUwHk62RokgqVNvYsku0TATCF7bAHVwEXoBh3iJg= github.com/jinzhu/copier v0.3.5/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= -github.com/jinzhu/now v1.1.4/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= @@ -901,7 +874,6 @@ github.com/jmoiron/sqlx v0.0.0-20180614180643-0dae4fefe7c0/go.mod h1:IiEW3SEiiEr github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901/go.mod h1:Z86h9688Y0wesXCyonoVr47MasHilkuLMqGhRZ4Hpak= github.com/joho/godotenv v1.2.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= -github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= @@ -981,9 +953,6 @@ github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.3.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.10.4 h1:SO9z7FRPzA03QhHKJrH5BXA6HU1rS4V2nIVrrNC1iYk= -github.com/lib/pq v1.10.4/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/luna-duclos/instrumentedsql v0.0.0-20181127104832-b7d587d28109/go.mod h1:PWUIzhtavmOR965zfawVsHXbEuU1G29BPZ/CB3C7jXk= github.com/luna-duclos/instrumentedsql v1.1.2/go.mod h1:4LGbEqDnopzNAiyxPPDXhLspyunZxgPTMJBKtC6U0BQ= github.com/luna-duclos/instrumentedsql v1.1.3/go.mod h1:9J1njvFds+zN7y85EDhN9XNQLANWwZt2ULeIC8yMNYs= @@ -1042,7 +1011,6 @@ github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/ github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-sqlite3 v1.10.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/go-sqlite3 v1.14.0/go.mod h1:JIl7NbARA7phWnGvh0LKTyg7S9BA+6gx71ShQilpsus= github.com/mattn/go-sqlite3 v2.0.3+incompatible h1:gXHsfypPkaMZrKbD5209QV9jbUTJKjyR5WD3HYQSd+U= github.com/mattn/go-sqlite3 v2.0.3+incompatible/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= @@ -1219,8 +1187,8 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.3.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.4.0/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.5.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +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/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= @@ -1248,9 +1216,6 @@ github.com/serenize/snaker v0.0.0-20171204205717-a683aaf2d516/go.mod h1:Yow6lPLS github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= -github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= -github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ= -github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b/go.mod h1:ZpfEhSmds4ytuByIcDnOLkTHGUI6KNqRNPDLHDk+mUU= @@ -1418,20 +1383,18 @@ go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmY 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.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.5.1/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= -go.uber.org/atomic v1.6.0/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.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= +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/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= 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.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= +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= @@ -1452,7 +1415,6 @@ golang.org/x/crypto v0.0.0-20190102171810-8d7daa0c54b3/go.mod h1:6SG95UA2DQfeDnf golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190320223903-b7391e95e576/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190404164418-38d8ce5564a5/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= @@ -1481,7 +1443,7 @@ golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5y 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.0.0-20220722155217-630584e8d5aa/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/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1528,7 +1490,6 @@ golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180816102801-aaf60122140d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1587,6 +1548,7 @@ golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96b 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/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -1696,17 +1658,20 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc 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= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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/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/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1718,6 +1683,7 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 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/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1783,7 +1749,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-20191029190741-b9c20aec41a5/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= @@ -1792,7 +1758,6 @@ golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191224055732-dd894d0a8a40/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117220505-0cba7a3a9ee9/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -2028,21 +1993,18 @@ 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= -gorm.io/driver/mysql v1.0.1/go.mod h1:KtqSthtg55lFp3S5kUXqlGaelnWpKitn4k1xZTnoiPw= gorm.io/driver/mysql v1.4.4 h1:MX0K9Qvy0Na4o7qSC/YI7XxqUw5KDw01umqgID+svdQ= gorm.io/driver/mysql v1.4.4/go.mod h1:BCg8cKI+R0j/rZRQxeKis/forqRwRSYOR8OM3Wo6hOM= -gorm.io/driver/postgres v1.0.0/go.mod h1:wtMFcOzmuA5QigNsgEIb7O5lhvH1tHAF1RbWmLWV4to= -gorm.io/driver/postgres v1.4.5 h1:mTeXTTtHAgnS9PgmhN2YeUbazYpLhUI1doLnw42XUZc= -gorm.io/driver/postgres v1.4.5/go.mod h1:GKNQYSJ14qvWkvPwXljMGehpKrhlDNsqYRr5HnYGncg= -gorm.io/driver/sqlite v1.1.1 h1:qtWqNAEUyi7gYSUAJXeiAMz0lUOdakZF5ia9Fqnp5G4= -gorm.io/driver/sqlite v1.1.1/go.mod h1:hm2olEcl8Tmsc6eZyxYSeznnsDaMqamBvEXLNtBg4cI= -gorm.io/driver/sqlserver v1.0.2 h1:FzxAlw0/7hntMzSiNfotpYCo9Lz8dqWQGdmCGqIiFGo= -gorm.io/driver/sqlserver v1.0.2/go.mod h1:gb0Y9QePGgqjzrVyTQUZeh9zkd5v0iz71cM1B4ZycEY= -gorm.io/gorm v1.24.1-0.20221019064659-5dd2bb482755 h1:7AdrbfcvKnzejfqP5g37fdSZOXH/JvaPIzBIHTOqXKk= -gorm.io/gorm v1.24.1-0.20221019064659-5dd2bb482755/go.mod h1:DVrVomtaYTbqs7gB/x2uVvqnXzv0nqjB396B8cG4dBA= +gorm.io/driver/postgres v1.5.3 h1:qKGY5CPHOuj47K/VxbCXJfFvIUeqMSXXadqdCY+MbBU= +gorm.io/driver/postgres v1.5.3/go.mod h1:F+LtvlFhZT7UBiA81mC9W6Su3D4WUhSboc/36QZU0gk= +gorm.io/driver/sqlite v1.5.4 h1:IqXwXi8M/ZlPzH/947tn5uik3aYQslP9BVveoax0nV0= +gorm.io/driver/sqlite v1.5.4/go.mod h1:qxAuCol+2r6PannQDpOP1FP6ag3mKi4esLnB/jHed+4= +gorm.io/gorm v1.25.5 h1:zR9lOiiYf09VNh5Q1gphfyia1JpiClIWG9hQaxB/mls= +gorm.io/gorm v1.25.5/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= gorm.io/plugin/opentelemetry v0.1.4 h1:7p0ocWELjSSRI7NCKPW2mVe6h43YPini99sNJcbsTuc= gorm.io/plugin/opentelemetry v0.1.4/go.mod h1:tndJHOdvPT0pyGhOb8E2209eXJCUxhC5UpKw7bGVWeI= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= diff --git a/rsts/deployment/configuration/cloud_event.rst b/rsts/deployment/configuration/cloud_event.rst index 99de6af07c..5fa526cbc1 100644 --- a/rsts/deployment/configuration/cloud_event.rst +++ b/rsts/deployment/configuration/cloud_event.rst @@ -3,7 +3,7 @@ ############ Cloud Events ############ - +# gatepr: this doc needs to be updated .. tags:: Infrastructure, AWS, GCP, Advanced Progress of Flyte workflow and task execution is delimited by a series of @@ -98,6 +98,8 @@ The same flag is used for Helm as for Admin itself. Usage ***** +Version 1 +========= The events are emitted in cloud Event format, and the data in the cloud event will be base64 encoded binary representation of the following IDL messages: @@ -112,7 +114,7 @@ Note that these message wrap the underlying event messages :std:doc:`found here `. CloudEvent Spec -=============== +--------------- .. code:: json @@ -128,3 +130,30 @@ CloudEvent Spec .. note:: The message format may eventually change to an enriched and distinct message type in future releases. + +Version 2 +========= +These events are also in the cloud event spec, but there will be considerably more information in the event that users may find useful. Keep in mind however that turning on these events will induce a heavier load on the database as information is queried. + +The event types may be found in the following IDL messages (Python example given): + +* ``flyteidl.event.cloudevents_pb2.CloudEventWorkflowExecution`` +* ``flyteidl.event.cloudevents_pb2.CloudEventTaskExecution`` +* ``flyteidl.event.cloudevents_pb2.CloudEventNodeExecution`` +* ``flyteidl.event.cloudevents_pb2.CloudEventExecutionStart`` + +CloudEvent Spec +--------------- +The specification for these v2 events is similar, except that the jsonschemaurl will be blank for now. We are working on making these auto-generated from the IDL. + +.. code:: json + + { + "specversion" : "1.0", + "type" : "com.flyte.resource.cloudevents.WorkflowExecution", + "source" : "https://github.com/flyteorg/flyteadmin", + "id" : "D234-1234-1234", + "time" : "2018-04-05T17:31:00Z", + "jsonschemaurl": "", + "data" : (bytes of the underlying event) + } From 81ce71eb1892aa979abb8bf4e0bc65f4e8eb65df Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Date: Tue, 26 Dec 2023 22:55:41 -0300 Subject: [PATCH 06/16] Remove protoc-gen-validate (#4643) * Stop producing the protoc-gen-validate code in go and python Signed-off-by: Eduardo Apolinario * Remove python files Signed-off-by: Eduardo Apolinario * Remove pb.validate.go files Signed-off-by: Eduardo Apolinario * Add datacatalog files Signed-off-by: Eduardo Apolinario * Remove uses of validate in flyteadmin Signed-off-by: Eduardo Apolinario * Remove validate from artifacts and cloudevents Signed-off-by: Eduardo Apolinario --------- Signed-off-by: Eduardo Apolinario Co-authored-by: Eduardo Apolinario --- .../impl/validation/execution_validator.go | 5 - .../impl/validation/launch_plan_validator.go | 5 - .../pb-go/flyteidl/admin/agent.pb.validate.go | 1056 ------ .../admin/cluster_assignment.pb.validate.go | 106 - .../flyteidl/admin/common.pb.validate.go | 1885 ---------- .../admin/description_entity.pb.validate.go | 465 --- .../pb-go/flyteidl/admin/event.pb.validate.go | 712 ---- .../flyteidl/admin/execution.pb.validate.go | 2198 ------------ .../flyteidl/admin/launch_plan.pb.validate.go | 1156 ------- .../admin/matchable_resource.pb.validate.go | 1090 ------ .../admin/node_execution.pb.validate.go | 1191 ------- .../admin/notification.pb.validate.go | 108 - .../flyteidl/admin/project.pb.validate.go | 577 ---- .../admin/project_attributes.pb.validate.go | 552 --- .../project_domain_attributes.pb.validate.go | 558 --- .../flyteidl/admin/schedule.pb.validate.go | 271 -- .../flyteidl/admin/signal.pb.validate.go | 544 --- .../pb-go/flyteidl/admin/task.pb.validate.go | 527 --- .../admin/task_execution.pb.validate.go | 852 ----- .../flyteidl/admin/version.pb.validate.go | 251 -- .../flyteidl/admin/workflow.pb.validate.go | 796 ----- .../admin/workflow_attributes.pb.validate.go | 564 --- .../artifact/artifacts.pb.validate.go | 1984 ----------- .../flyteidl/core/artifact_id.pb.validate.go | 798 ----- .../flyteidl/core/catalog.pb.validate.go | 276 -- .../flyteidl/core/compiler.pb.validate.go | 470 --- .../flyteidl/core/condition.pb.validate.go | 405 --- .../flyteidl/core/dynamic_job.pb.validate.go | 164 - .../pb-go/flyteidl/core/errors.pb.validate.go | 185 - .../flyteidl/core/execution.pb.validate.go | 548 --- .../flyteidl/core/identifier.pb.validate.go | 430 --- .../flyteidl/core/interface.pb.validate.go | 499 --- .../flyteidl/core/literals.pb.validate.go | 1764 ---------- .../flyteidl/core/metrics.pb.validate.go | 179 - .../flyteidl/core/security.pb.validate.go | 456 --- .../pb-go/flyteidl/core/tasks.pb.validate.go | 1300 ------- .../pb-go/flyteidl/core/types.pb.validate.go | 1138 ------ .../flyteidl/core/workflow.pb.validate.go | 1619 --------- .../core/workflow_closure.pb.validate.go | 127 - .../flyteidl/datacatalog/datacatalog.pb.go | 2 +- .../datacatalog/datacatalog.pb.validate.go | 3061 ----------------- .../flyteidl/event/cloudevents.pb.validate.go | 517 --- .../pb-go/flyteidl/event/event.pb.validate.go | 1358 -------- .../flyteidl/plugins/array_job.pb.validate.go | 115 - .../flyteidl/plugins/dask.pb.validate.go | 277 -- .../plugins/kubeflow/common.pb.validate.go | 109 - .../plugins/kubeflow/mpi.pb.validate.go | 220 -- .../plugins/kubeflow/pytorch.pb.validate.go | 304 -- .../kubeflow/tensorflow.pb.validate.go | 239 -- .../pb-go/flyteidl/plugins/mpi.pb.validate.go | 110 - .../flyteidl/plugins/presto.pb.validate.go | 110 - .../flyteidl/plugins/pytorch.pb.validate.go | 192 -- .../flyteidl/plugins/qubole.pb.validate.go | 276 -- .../pb-go/flyteidl/plugins/ray.pb.validate.go | 350 -- .../flyteidl/plugins/spark.pb.validate.go | 192 -- .../plugins/tensorflow.pb.validate.go | 113 - .../flyteidl/plugins/waitable.pb.validate.go | 119 - .../gen/pb-java/datacatalog/Datacatalog.java | 30 +- flyteidl/gen/pb_python/validate/__init__.py | 0 .../gen/pb_python/validate/validate_pb2.py | 2366 ------------- flyteidl/gen/pb_rust/datacatalog.rs | 2 +- flyteidl/generate_protos.sh | 16 +- 62 files changed, 23 insertions(+), 37866 deletions(-) delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/agent.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/common.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/event.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/notification.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/project.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/signal.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/task.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/version.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/catalog.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/compiler.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/condition.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/errors.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/execution.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/identifier.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/metrics.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/security.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/tasks.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/types.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/workflow.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/event/event.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.validate.go delete mode 100644 flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.validate.go delete mode 100644 flyteidl/gen/pb_python/validate/__init__.py delete mode 100644 flyteidl/gen/pb_python/validate/validate_pb2.py diff --git a/flyteadmin/pkg/manager/impl/validation/execution_validator.go b/flyteadmin/pkg/manager/impl/validation/execution_validator.go index f7c88b2376..b01e878b5b 100644 --- a/flyteadmin/pkg/manager/impl/validation/execution_validator.go +++ b/flyteadmin/pkg/manager/impl/validation/execution_validator.go @@ -68,11 +68,6 @@ func ValidateExecutionRequest(ctx context.Context, request admin.ExecutionCreate return err } } - // TODO: Remove redundant validation with the rest of the method. - // This final call to validating the request ensures the notification types are expected. - if err := request.Validate(); err != nil { - return err - } return nil } diff --git a/flyteadmin/pkg/manager/impl/validation/launch_plan_validator.go b/flyteadmin/pkg/manager/impl/validation/launch_plan_validator.go index aa41265f2b..357c3c1e4e 100644 --- a/flyteadmin/pkg/manager/impl/validation/launch_plan_validator.go +++ b/flyteadmin/pkg/manager/impl/validation/launch_plan_validator.go @@ -61,11 +61,6 @@ func ValidateLaunchPlan(ctx context.Context, return err } } - // TODO: Remove redundant validation that occurs with launch plan and the validate method for the message. - // Ensure the notification types are validated. - if err := request.Validate(); err != nil { - return err - } return nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.validate.go deleted file mode 100644 index 8bdff082f3..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/agent.pb.validate.go +++ /dev/null @@ -1,1056 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/agent.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _agent_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on TaskExecutionMetadata with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTaskExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionMetadataValidationError{ - field: "TaskExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Namespace - - // no validation rules for Labels - - // no validation rules for Annotations - - // no validation rules for K8SServiceAccount - - // no validation rules for EnvironmentVariables - - return nil -} - -// TaskExecutionMetadataValidationError is the validation error returned by -// TaskExecutionMetadata.Validate if the designated constraints aren't met. -type TaskExecutionMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionMetadataValidationError) ErrorName() string { - return "TaskExecutionMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionMetadataValidationError{} - -// Validate checks the field values on CreateTaskRequest with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *CreateTaskRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateTaskRequestValidationError{ - field: "Inputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetTemplate()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateTaskRequestValidationError{ - field: "Template", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for OutputPrefix - - if v, ok := interface{}(m.GetTaskExecutionMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateTaskRequestValidationError{ - field: "TaskExecutionMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CreateTaskRequestValidationError is the validation error returned by -// CreateTaskRequest.Validate if the designated constraints aren't met. -type CreateTaskRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateTaskRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateTaskRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateTaskRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateTaskRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateTaskRequestValidationError) ErrorName() string { - return "CreateTaskRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateTaskRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateTaskRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateTaskRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateTaskRequestValidationError{} - -// Validate checks the field values on CreateTaskResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CreateTaskResponse) Validate() error { - if m == nil { - return nil - } - - switch m.Res.(type) { - - case *CreateTaskResponse_ResourceMeta: - // no validation rules for ResourceMeta - - case *CreateTaskResponse_Resource: - - if v, ok := interface{}(m.GetResource()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateTaskResponseValidationError{ - field: "Resource", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// CreateTaskResponseValidationError is the validation error returned by -// CreateTaskResponse.Validate if the designated constraints aren't met. -type CreateTaskResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateTaskResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateTaskResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateTaskResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateTaskResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateTaskResponseValidationError) ErrorName() string { - return "CreateTaskResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateTaskResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateTaskResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateTaskResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateTaskResponseValidationError{} - -// Validate checks the field values on GetTaskRequest with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *GetTaskRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for TaskType - - // no validation rules for ResourceMeta - - return nil -} - -// GetTaskRequestValidationError is the validation error returned by -// GetTaskRequest.Validate if the designated constraints aren't met. -type GetTaskRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetTaskRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetTaskRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetTaskRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetTaskRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetTaskRequestValidationError) ErrorName() string { return "GetTaskRequestValidationError" } - -// Error satisfies the builtin error interface -func (e GetTaskRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetTaskRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetTaskRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetTaskRequestValidationError{} - -// Validate checks the field values on GetTaskResponse with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *GetTaskResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetResource()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetTaskResponseValidationError{ - field: "Resource", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetLogLinks() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetTaskResponseValidationError{ - field: fmt.Sprintf("LogLinks[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// GetTaskResponseValidationError is the validation error returned by -// GetTaskResponse.Validate if the designated constraints aren't met. -type GetTaskResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetTaskResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetTaskResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetTaskResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetTaskResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetTaskResponseValidationError) ErrorName() string { return "GetTaskResponseValidationError" } - -// Error satisfies the builtin error interface -func (e GetTaskResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetTaskResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetTaskResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetTaskResponseValidationError{} - -// Validate checks the field values on Resource with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Resource) Validate() error { - if m == nil { - return nil - } - - // no validation rules for State - - if v, ok := interface{}(m.GetOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ResourceValidationError{ - field: "Outputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Message - - for idx, item := range m.GetLogLinks() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ResourceValidationError{ - field: fmt.Sprintf("LogLinks[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ResourceValidationError is the validation error returned by -// Resource.Validate if the designated constraints aren't met. -type ResourceValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ResourceValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ResourceValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ResourceValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ResourceValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ResourceValidationError) ErrorName() string { return "ResourceValidationError" } - -// Error satisfies the builtin error interface -func (e ResourceValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sResource.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ResourceValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ResourceValidationError{} - -// Validate checks the field values on DeleteTaskRequest with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *DeleteTaskRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for TaskType - - // no validation rules for ResourceMeta - - return nil -} - -// DeleteTaskRequestValidationError is the validation error returned by -// DeleteTaskRequest.Validate if the designated constraints aren't met. -type DeleteTaskRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DeleteTaskRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DeleteTaskRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DeleteTaskRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DeleteTaskRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DeleteTaskRequestValidationError) ErrorName() string { - return "DeleteTaskRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e DeleteTaskRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDeleteTaskRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DeleteTaskRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DeleteTaskRequestValidationError{} - -// Validate checks the field values on DeleteTaskResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DeleteTaskResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// DeleteTaskResponseValidationError is the validation error returned by -// DeleteTaskResponse.Validate if the designated constraints aren't met. -type DeleteTaskResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DeleteTaskResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DeleteTaskResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DeleteTaskResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DeleteTaskResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DeleteTaskResponseValidationError) ErrorName() string { - return "DeleteTaskResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e DeleteTaskResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDeleteTaskResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DeleteTaskResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DeleteTaskResponseValidationError{} - -// Validate checks the field values on Agent with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Agent) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Name - - return nil -} - -// AgentValidationError is the validation error returned by Agent.Validate if -// the designated constraints aren't met. -type AgentValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AgentValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AgentValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AgentValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AgentValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AgentValidationError) ErrorName() string { return "AgentValidationError" } - -// Error satisfies the builtin error interface -func (e AgentValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAgent.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AgentValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AgentValidationError{} - -// Validate checks the field values on GetAgentRequest with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *GetAgentRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Name - - return nil -} - -// GetAgentRequestValidationError is the validation error returned by -// GetAgentRequest.Validate if the designated constraints aren't met. -type GetAgentRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetAgentRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetAgentRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetAgentRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetAgentRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetAgentRequestValidationError) ErrorName() string { return "GetAgentRequestValidationError" } - -// Error satisfies the builtin error interface -func (e GetAgentRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetAgentRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetAgentRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetAgentRequestValidationError{} - -// Validate checks the field values on GetAgentResponse with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *GetAgentResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetAgent()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetAgentResponseValidationError{ - field: "Agent", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// GetAgentResponseValidationError is the validation error returned by -// GetAgentResponse.Validate if the designated constraints aren't met. -type GetAgentResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetAgentResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetAgentResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetAgentResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetAgentResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetAgentResponseValidationError) ErrorName() string { return "GetAgentResponseValidationError" } - -// Error satisfies the builtin error interface -func (e GetAgentResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetAgentResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetAgentResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetAgentResponseValidationError{} - -// Validate checks the field values on ListAgentsRequest with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ListAgentsRequest) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ListAgentsRequestValidationError is the validation error returned by -// ListAgentsRequest.Validate if the designated constraints aren't met. -type ListAgentsRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ListAgentsRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ListAgentsRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ListAgentsRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ListAgentsRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ListAgentsRequestValidationError) ErrorName() string { - return "ListAgentsRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ListAgentsRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sListAgentsRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ListAgentsRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ListAgentsRequestValidationError{} - -// Validate checks the field values on ListAgentsResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ListAgentsResponse) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetAgents() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ListAgentsResponseValidationError{ - field: fmt.Sprintf("Agents[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ListAgentsResponseValidationError is the validation error returned by -// ListAgentsResponse.Validate if the designated constraints aren't met. -type ListAgentsResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ListAgentsResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ListAgentsResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ListAgentsResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ListAgentsResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ListAgentsResponseValidationError) ErrorName() string { - return "ListAgentsResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ListAgentsResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sListAgentsResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ListAgentsResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ListAgentsResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.validate.go deleted file mode 100644 index abd1ac8738..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/cluster_assignment.pb.validate.go +++ /dev/null @@ -1,106 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/cluster_assignment.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _cluster_assignment_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ClusterAssignment with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ClusterAssignment) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ClusterPoolName - - return nil -} - -// ClusterAssignmentValidationError is the validation error returned by -// ClusterAssignment.Validate if the designated constraints aren't met. -type ClusterAssignmentValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ClusterAssignmentValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ClusterAssignmentValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ClusterAssignmentValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ClusterAssignmentValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ClusterAssignmentValidationError) ErrorName() string { - return "ClusterAssignmentValidationError" -} - -// Error satisfies the builtin error interface -func (e ClusterAssignmentValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sClusterAssignment.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ClusterAssignmentValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ClusterAssignmentValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/common.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/common.pb.validate.go deleted file mode 100644 index 9cdccf378e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/common.pb.validate.go +++ /dev/null @@ -1,1885 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/common.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" - - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} - - _ = core.ResourceType(0) - - _ = core.ResourceType(0) - - _ = core.ResourceType(0) - - _ = core.ResourceType(0) -) - -// define the regex for a UUID once up-front -var _common_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on NamedEntityIdentifier with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NamedEntityIdentifier) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Name - - return nil -} - -// NamedEntityIdentifierValidationError is the validation error returned by -// NamedEntityIdentifier.Validate if the designated constraints aren't met. -type NamedEntityIdentifierValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NamedEntityIdentifierValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NamedEntityIdentifierValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NamedEntityIdentifierValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NamedEntityIdentifierValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NamedEntityIdentifierValidationError) ErrorName() string { - return "NamedEntityIdentifierValidationError" -} - -// Error satisfies the builtin error interface -func (e NamedEntityIdentifierValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNamedEntityIdentifier.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NamedEntityIdentifierValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NamedEntityIdentifierValidationError{} - -// Validate checks the field values on NamedEntityMetadata with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NamedEntityMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Description - - // no validation rules for State - - return nil -} - -// NamedEntityMetadataValidationError is the validation error returned by -// NamedEntityMetadata.Validate if the designated constraints aren't met. -type NamedEntityMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NamedEntityMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NamedEntityMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NamedEntityMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NamedEntityMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NamedEntityMetadataValidationError) ErrorName() string { - return "NamedEntityMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e NamedEntityMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNamedEntityMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NamedEntityMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NamedEntityMetadataValidationError{} - -// Validate checks the field values on NamedEntity with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *NamedEntity) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ResourceType - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NamedEntityValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NamedEntityValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// NamedEntityValidationError is the validation error returned by -// NamedEntity.Validate if the designated constraints aren't met. -type NamedEntityValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NamedEntityValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NamedEntityValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NamedEntityValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NamedEntityValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NamedEntityValidationError) ErrorName() string { return "NamedEntityValidationError" } - -// Error satisfies the builtin error interface -func (e NamedEntityValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNamedEntity.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NamedEntityValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NamedEntityValidationError{} - -// Validate checks the field values on Sort with the rules defined in the proto -// definition for this message. If any rules are violated, an error is returned. -func (m *Sort) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Key - - // no validation rules for Direction - - return nil -} - -// SortValidationError is the validation error returned by Sort.Validate if the -// designated constraints aren't met. -type SortValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SortValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SortValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SortValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SortValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SortValidationError) ErrorName() string { return "SortValidationError" } - -// Error satisfies the builtin error interface -func (e SortValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSort.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SortValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SortValidationError{} - -// Validate checks the field values on NamedEntityIdentifierListRequest with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *NamedEntityIdentifierListRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Limit - - // no validation rules for Token - - if v, ok := interface{}(m.GetSortBy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NamedEntityIdentifierListRequestValidationError{ - field: "SortBy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Filters - - return nil -} - -// NamedEntityIdentifierListRequestValidationError is the validation error -// returned by NamedEntityIdentifierListRequest.Validate if the designated -// constraints aren't met. -type NamedEntityIdentifierListRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NamedEntityIdentifierListRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NamedEntityIdentifierListRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NamedEntityIdentifierListRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NamedEntityIdentifierListRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NamedEntityIdentifierListRequestValidationError) ErrorName() string { - return "NamedEntityIdentifierListRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e NamedEntityIdentifierListRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNamedEntityIdentifierListRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NamedEntityIdentifierListRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NamedEntityIdentifierListRequestValidationError{} - -// Validate checks the field values on NamedEntityListRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NamedEntityListRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ResourceType - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Limit - - // no validation rules for Token - - if v, ok := interface{}(m.GetSortBy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NamedEntityListRequestValidationError{ - field: "SortBy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Filters - - return nil -} - -// NamedEntityListRequestValidationError is the validation error returned by -// NamedEntityListRequest.Validate if the designated constraints aren't met. -type NamedEntityListRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NamedEntityListRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NamedEntityListRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NamedEntityListRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NamedEntityListRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NamedEntityListRequestValidationError) ErrorName() string { - return "NamedEntityListRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e NamedEntityListRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNamedEntityListRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NamedEntityListRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NamedEntityListRequestValidationError{} - -// Validate checks the field values on NamedEntityIdentifierList with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NamedEntityIdentifierList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetEntities() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NamedEntityIdentifierListValidationError{ - field: fmt.Sprintf("Entities[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// NamedEntityIdentifierListValidationError is the validation error returned by -// NamedEntityIdentifierList.Validate if the designated constraints aren't met. -type NamedEntityIdentifierListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NamedEntityIdentifierListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NamedEntityIdentifierListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NamedEntityIdentifierListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NamedEntityIdentifierListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NamedEntityIdentifierListValidationError) ErrorName() string { - return "NamedEntityIdentifierListValidationError" -} - -// Error satisfies the builtin error interface -func (e NamedEntityIdentifierListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNamedEntityIdentifierList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NamedEntityIdentifierListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NamedEntityIdentifierListValidationError{} - -// Validate checks the field values on NamedEntityList with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *NamedEntityList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetEntities() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NamedEntityListValidationError{ - field: fmt.Sprintf("Entities[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// NamedEntityListValidationError is the validation error returned by -// NamedEntityList.Validate if the designated constraints aren't met. -type NamedEntityListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NamedEntityListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NamedEntityListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NamedEntityListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NamedEntityListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NamedEntityListValidationError) ErrorName() string { return "NamedEntityListValidationError" } - -// Error satisfies the builtin error interface -func (e NamedEntityListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNamedEntityList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NamedEntityListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NamedEntityListValidationError{} - -// Validate checks the field values on NamedEntityGetRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NamedEntityGetRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ResourceType - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NamedEntityGetRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// NamedEntityGetRequestValidationError is the validation error returned by -// NamedEntityGetRequest.Validate if the designated constraints aren't met. -type NamedEntityGetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NamedEntityGetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NamedEntityGetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NamedEntityGetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NamedEntityGetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NamedEntityGetRequestValidationError) ErrorName() string { - return "NamedEntityGetRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e NamedEntityGetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNamedEntityGetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NamedEntityGetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NamedEntityGetRequestValidationError{} - -// Validate checks the field values on NamedEntityUpdateRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NamedEntityUpdateRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ResourceType - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NamedEntityUpdateRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NamedEntityUpdateRequestValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// NamedEntityUpdateRequestValidationError is the validation error returned by -// NamedEntityUpdateRequest.Validate if the designated constraints aren't met. -type NamedEntityUpdateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NamedEntityUpdateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NamedEntityUpdateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NamedEntityUpdateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NamedEntityUpdateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NamedEntityUpdateRequestValidationError) ErrorName() string { - return "NamedEntityUpdateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e NamedEntityUpdateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNamedEntityUpdateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NamedEntityUpdateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NamedEntityUpdateRequestValidationError{} - -// Validate checks the field values on NamedEntityUpdateResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NamedEntityUpdateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// NamedEntityUpdateResponseValidationError is the validation error returned by -// NamedEntityUpdateResponse.Validate if the designated constraints aren't met. -type NamedEntityUpdateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NamedEntityUpdateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NamedEntityUpdateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NamedEntityUpdateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NamedEntityUpdateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NamedEntityUpdateResponseValidationError) ErrorName() string { - return "NamedEntityUpdateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e NamedEntityUpdateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNamedEntityUpdateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NamedEntityUpdateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NamedEntityUpdateResponseValidationError{} - -// Validate checks the field values on ObjectGetRequest with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ObjectGetRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ObjectGetRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ObjectGetRequestValidationError is the validation error returned by -// ObjectGetRequest.Validate if the designated constraints aren't met. -type ObjectGetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ObjectGetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ObjectGetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ObjectGetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ObjectGetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ObjectGetRequestValidationError) ErrorName() string { return "ObjectGetRequestValidationError" } - -// Error satisfies the builtin error interface -func (e ObjectGetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sObjectGetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ObjectGetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ObjectGetRequestValidationError{} - -// Validate checks the field values on ResourceListRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ResourceListRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ResourceListRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Limit - - // no validation rules for Token - - // no validation rules for Filters - - if v, ok := interface{}(m.GetSortBy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ResourceListRequestValidationError{ - field: "SortBy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ResourceListRequestValidationError is the validation error returned by -// ResourceListRequest.Validate if the designated constraints aren't met. -type ResourceListRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ResourceListRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ResourceListRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ResourceListRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ResourceListRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ResourceListRequestValidationError) ErrorName() string { - return "ResourceListRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ResourceListRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sResourceListRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ResourceListRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ResourceListRequestValidationError{} - -// Validate checks the field values on EmailNotification with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *EmailNotification) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// EmailNotificationValidationError is the validation error returned by -// EmailNotification.Validate if the designated constraints aren't met. -type EmailNotificationValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e EmailNotificationValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e EmailNotificationValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e EmailNotificationValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e EmailNotificationValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e EmailNotificationValidationError) ErrorName() string { - return "EmailNotificationValidationError" -} - -// Error satisfies the builtin error interface -func (e EmailNotificationValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sEmailNotification.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = EmailNotificationValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = EmailNotificationValidationError{} - -// Validate checks the field values on PagerDutyNotification with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *PagerDutyNotification) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// PagerDutyNotificationValidationError is the validation error returned by -// PagerDutyNotification.Validate if the designated constraints aren't met. -type PagerDutyNotificationValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e PagerDutyNotificationValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e PagerDutyNotificationValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e PagerDutyNotificationValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e PagerDutyNotificationValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e PagerDutyNotificationValidationError) ErrorName() string { - return "PagerDutyNotificationValidationError" -} - -// Error satisfies the builtin error interface -func (e PagerDutyNotificationValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sPagerDutyNotification.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = PagerDutyNotificationValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = PagerDutyNotificationValidationError{} - -// Validate checks the field values on SlackNotification with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *SlackNotification) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// SlackNotificationValidationError is the validation error returned by -// SlackNotification.Validate if the designated constraints aren't met. -type SlackNotificationValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SlackNotificationValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SlackNotificationValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SlackNotificationValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SlackNotificationValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SlackNotificationValidationError) ErrorName() string { - return "SlackNotificationValidationError" -} - -// Error satisfies the builtin error interface -func (e SlackNotificationValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSlackNotification.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SlackNotificationValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SlackNotificationValidationError{} - -// Validate checks the field values on Notification with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *Notification) Validate() error { - if m == nil { - return nil - } - - switch m.Type.(type) { - - case *Notification_Email: - - if v, ok := interface{}(m.GetEmail()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NotificationValidationError{ - field: "Email", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Notification_PagerDuty: - - if v, ok := interface{}(m.GetPagerDuty()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NotificationValidationError{ - field: "PagerDuty", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Notification_Slack: - - if v, ok := interface{}(m.GetSlack()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NotificationValidationError{ - field: "Slack", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// NotificationValidationError is the validation error returned by -// Notification.Validate if the designated constraints aren't met. -type NotificationValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NotificationValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NotificationValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NotificationValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NotificationValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NotificationValidationError) ErrorName() string { return "NotificationValidationError" } - -// Error satisfies the builtin error interface -func (e NotificationValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNotification.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NotificationValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NotificationValidationError{} - -// Validate checks the field values on UrlBlob with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *UrlBlob) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Url - - // no validation rules for Bytes - - return nil -} - -// UrlBlobValidationError is the validation error returned by UrlBlob.Validate -// if the designated constraints aren't met. -type UrlBlobValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e UrlBlobValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e UrlBlobValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e UrlBlobValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e UrlBlobValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e UrlBlobValidationError) ErrorName() string { return "UrlBlobValidationError" } - -// Error satisfies the builtin error interface -func (e UrlBlobValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sUrlBlob.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = UrlBlobValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = UrlBlobValidationError{} - -// Validate checks the field values on Labels with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Labels) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Values - - return nil -} - -// LabelsValidationError is the validation error returned by Labels.Validate if -// the designated constraints aren't met. -type LabelsValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LabelsValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LabelsValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LabelsValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LabelsValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LabelsValidationError) ErrorName() string { return "LabelsValidationError" } - -// Error satisfies the builtin error interface -func (e LabelsValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLabels.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LabelsValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LabelsValidationError{} - -// Validate checks the field values on Annotations with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *Annotations) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Values - - return nil -} - -// AnnotationsValidationError is the validation error returned by -// Annotations.Validate if the designated constraints aren't met. -type AnnotationsValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AnnotationsValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AnnotationsValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AnnotationsValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AnnotationsValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AnnotationsValidationError) ErrorName() string { return "AnnotationsValidationError" } - -// Error satisfies the builtin error interface -func (e AnnotationsValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAnnotations.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AnnotationsValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AnnotationsValidationError{} - -// Validate checks the field values on Envs with the rules defined in the proto -// definition for this message. If any rules are violated, an error is returned. -func (m *Envs) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetValues() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return EnvsValidationError{ - field: fmt.Sprintf("Values[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// EnvsValidationError is the validation error returned by Envs.Validate if the -// designated constraints aren't met. -type EnvsValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e EnvsValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e EnvsValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e EnvsValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e EnvsValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e EnvsValidationError) ErrorName() string { return "EnvsValidationError" } - -// Error satisfies the builtin error interface -func (e EnvsValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sEnvs.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = EnvsValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = EnvsValidationError{} - -// Validate checks the field values on AuthRole with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *AuthRole) Validate() error { - if m == nil { - return nil - } - - // no validation rules for AssumableIamRole - - // no validation rules for KubernetesServiceAccount - - return nil -} - -// AuthRoleValidationError is the validation error returned by -// AuthRole.Validate if the designated constraints aren't met. -type AuthRoleValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AuthRoleValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AuthRoleValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AuthRoleValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AuthRoleValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AuthRoleValidationError) ErrorName() string { return "AuthRoleValidationError" } - -// Error satisfies the builtin error interface -func (e AuthRoleValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAuthRole.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AuthRoleValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AuthRoleValidationError{} - -// Validate checks the field values on RawOutputDataConfig with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *RawOutputDataConfig) Validate() error { - if m == nil { - return nil - } - - // no validation rules for OutputLocationPrefix - - return nil -} - -// RawOutputDataConfigValidationError is the validation error returned by -// RawOutputDataConfig.Validate if the designated constraints aren't met. -type RawOutputDataConfigValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e RawOutputDataConfigValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e RawOutputDataConfigValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e RawOutputDataConfigValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e RawOutputDataConfigValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e RawOutputDataConfigValidationError) ErrorName() string { - return "RawOutputDataConfigValidationError" -} - -// Error satisfies the builtin error interface -func (e RawOutputDataConfigValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sRawOutputDataConfig.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = RawOutputDataConfigValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = RawOutputDataConfigValidationError{} - -// Validate checks the field values on FlyteURLs with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *FlyteURLs) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Inputs - - // no validation rules for Outputs - - // no validation rules for Deck - - return nil -} - -// FlyteURLsValidationError is the validation error returned by -// FlyteURLs.Validate if the designated constraints aren't met. -type FlyteURLsValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e FlyteURLsValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e FlyteURLsValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e FlyteURLsValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e FlyteURLsValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e FlyteURLsValidationError) ErrorName() string { return "FlyteURLsValidationError" } - -// Error satisfies the builtin error interface -func (e FlyteURLsValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sFlyteURLs.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = FlyteURLsValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = FlyteURLsValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.validate.go deleted file mode 100644 index d1a462e0e8..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/description_entity.pb.validate.go +++ /dev/null @@ -1,465 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/description_entity.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" - - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} - - _ = core.ResourceType(0) -) - -// define the regex for a UUID once up-front -var _description_entity_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on DescriptionEntity with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *DescriptionEntity) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DescriptionEntityValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for ShortDescription - - if v, ok := interface{}(m.GetLongDescription()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DescriptionEntityValidationError{ - field: "LongDescription", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSourceCode()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DescriptionEntityValidationError{ - field: "SourceCode", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DescriptionEntityValidationError is the validation error returned by -// DescriptionEntity.Validate if the designated constraints aren't met. -type DescriptionEntityValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DescriptionEntityValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DescriptionEntityValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DescriptionEntityValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DescriptionEntityValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DescriptionEntityValidationError) ErrorName() string { - return "DescriptionEntityValidationError" -} - -// Error satisfies the builtin error interface -func (e DescriptionEntityValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDescriptionEntity.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DescriptionEntityValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DescriptionEntityValidationError{} - -// Validate checks the field values on Description with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *Description) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Format - - // no validation rules for IconLink - - switch m.Content.(type) { - - case *Description_Value: - // no validation rules for Value - - case *Description_Uri: - // no validation rules for Uri - - } - - return nil -} - -// DescriptionValidationError is the validation error returned by -// Description.Validate if the designated constraints aren't met. -type DescriptionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DescriptionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DescriptionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DescriptionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DescriptionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DescriptionValidationError) ErrorName() string { return "DescriptionValidationError" } - -// Error satisfies the builtin error interface -func (e DescriptionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDescription.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DescriptionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DescriptionValidationError{} - -// Validate checks the field values on SourceCode with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *SourceCode) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Link - - return nil -} - -// SourceCodeValidationError is the validation error returned by -// SourceCode.Validate if the designated constraints aren't met. -type SourceCodeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SourceCodeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SourceCodeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SourceCodeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SourceCodeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SourceCodeValidationError) ErrorName() string { return "SourceCodeValidationError" } - -// Error satisfies the builtin error interface -func (e SourceCodeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSourceCode.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SourceCodeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SourceCodeValidationError{} - -// Validate checks the field values on DescriptionEntityList with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DescriptionEntityList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetDescriptionEntities() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DescriptionEntityListValidationError{ - field: fmt.Sprintf("DescriptionEntities[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// DescriptionEntityListValidationError is the validation error returned by -// DescriptionEntityList.Validate if the designated constraints aren't met. -type DescriptionEntityListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DescriptionEntityListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DescriptionEntityListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DescriptionEntityListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DescriptionEntityListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DescriptionEntityListValidationError) ErrorName() string { - return "DescriptionEntityListValidationError" -} - -// Error satisfies the builtin error interface -func (e DescriptionEntityListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDescriptionEntityList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DescriptionEntityListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DescriptionEntityListValidationError{} - -// Validate checks the field values on DescriptionEntityListRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DescriptionEntityListRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ResourceType - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DescriptionEntityListRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Limit - - // no validation rules for Token - - // no validation rules for Filters - - if v, ok := interface{}(m.GetSortBy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DescriptionEntityListRequestValidationError{ - field: "SortBy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DescriptionEntityListRequestValidationError is the validation error returned -// by DescriptionEntityListRequest.Validate if the designated constraints -// aren't met. -type DescriptionEntityListRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DescriptionEntityListRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DescriptionEntityListRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DescriptionEntityListRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DescriptionEntityListRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DescriptionEntityListRequestValidationError) ErrorName() string { - return "DescriptionEntityListRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e DescriptionEntityListRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDescriptionEntityListRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DescriptionEntityListRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DescriptionEntityListRequestValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/event.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/event.pb.validate.go deleted file mode 100644 index 04fd96c15d..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/event.pb.validate.go +++ /dev/null @@ -1,712 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/event.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _event_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on EventErrorAlreadyInTerminalState with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *EventErrorAlreadyInTerminalState) Validate() error { - if m == nil { - return nil - } - - // no validation rules for CurrentPhase - - return nil -} - -// EventErrorAlreadyInTerminalStateValidationError is the validation error -// returned by EventErrorAlreadyInTerminalState.Validate if the designated -// constraints aren't met. -type EventErrorAlreadyInTerminalStateValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e EventErrorAlreadyInTerminalStateValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e EventErrorAlreadyInTerminalStateValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e EventErrorAlreadyInTerminalStateValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e EventErrorAlreadyInTerminalStateValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e EventErrorAlreadyInTerminalStateValidationError) ErrorName() string { - return "EventErrorAlreadyInTerminalStateValidationError" -} - -// Error satisfies the builtin error interface -func (e EventErrorAlreadyInTerminalStateValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sEventErrorAlreadyInTerminalState.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = EventErrorAlreadyInTerminalStateValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = EventErrorAlreadyInTerminalStateValidationError{} - -// Validate checks the field values on EventErrorIncompatibleCluster with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *EventErrorIncompatibleCluster) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Cluster - - return nil -} - -// EventErrorIncompatibleClusterValidationError is the validation error -// returned by EventErrorIncompatibleCluster.Validate if the designated -// constraints aren't met. -type EventErrorIncompatibleClusterValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e EventErrorIncompatibleClusterValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e EventErrorIncompatibleClusterValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e EventErrorIncompatibleClusterValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e EventErrorIncompatibleClusterValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e EventErrorIncompatibleClusterValidationError) ErrorName() string { - return "EventErrorIncompatibleClusterValidationError" -} - -// Error satisfies the builtin error interface -func (e EventErrorIncompatibleClusterValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sEventErrorIncompatibleCluster.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = EventErrorIncompatibleClusterValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = EventErrorIncompatibleClusterValidationError{} - -// Validate checks the field values on EventFailureReason with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *EventFailureReason) Validate() error { - if m == nil { - return nil - } - - switch m.Reason.(type) { - - case *EventFailureReason_AlreadyInTerminalState: - - if v, ok := interface{}(m.GetAlreadyInTerminalState()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return EventFailureReasonValidationError{ - field: "AlreadyInTerminalState", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *EventFailureReason_IncompatibleCluster: - - if v, ok := interface{}(m.GetIncompatibleCluster()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return EventFailureReasonValidationError{ - field: "IncompatibleCluster", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// EventFailureReasonValidationError is the validation error returned by -// EventFailureReason.Validate if the designated constraints aren't met. -type EventFailureReasonValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e EventFailureReasonValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e EventFailureReasonValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e EventFailureReasonValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e EventFailureReasonValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e EventFailureReasonValidationError) ErrorName() string { - return "EventFailureReasonValidationError" -} - -// Error satisfies the builtin error interface -func (e EventFailureReasonValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sEventFailureReason.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = EventFailureReasonValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = EventFailureReasonValidationError{} - -// Validate checks the field values on WorkflowExecutionEventRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowExecutionEventRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for RequestId - - if v, ok := interface{}(m.GetEvent()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionEventRequestValidationError{ - field: "Event", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowExecutionEventRequestValidationError is the validation error -// returned by WorkflowExecutionEventRequest.Validate if the designated -// constraints aren't met. -type WorkflowExecutionEventRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionEventRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionEventRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionEventRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionEventRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionEventRequestValidationError) ErrorName() string { - return "WorkflowExecutionEventRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionEventRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecutionEventRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionEventRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionEventRequestValidationError{} - -// Validate checks the field values on WorkflowExecutionEventResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowExecutionEventResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// WorkflowExecutionEventResponseValidationError is the validation error -// returned by WorkflowExecutionEventResponse.Validate if the designated -// constraints aren't met. -type WorkflowExecutionEventResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionEventResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionEventResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionEventResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionEventResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionEventResponseValidationError) ErrorName() string { - return "WorkflowExecutionEventResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionEventResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecutionEventResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionEventResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionEventResponseValidationError{} - -// Validate checks the field values on NodeExecutionEventRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionEventRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for RequestId - - if v, ok := interface{}(m.GetEvent()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventRequestValidationError{ - field: "Event", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// NodeExecutionEventRequestValidationError is the validation error returned by -// NodeExecutionEventRequest.Validate if the designated constraints aren't met. -type NodeExecutionEventRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionEventRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionEventRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionEventRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionEventRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionEventRequestValidationError) ErrorName() string { - return "NodeExecutionEventRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionEventRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionEventRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionEventRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionEventRequestValidationError{} - -// Validate checks the field values on NodeExecutionEventResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionEventResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// NodeExecutionEventResponseValidationError is the validation error returned -// by NodeExecutionEventResponse.Validate if the designated constraints aren't met. -type NodeExecutionEventResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionEventResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionEventResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionEventResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionEventResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionEventResponseValidationError) ErrorName() string { - return "NodeExecutionEventResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionEventResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionEventResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionEventResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionEventResponseValidationError{} - -// Validate checks the field values on TaskExecutionEventRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionEventRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for RequestId - - if v, ok := interface{}(m.GetEvent()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventRequestValidationError{ - field: "Event", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskExecutionEventRequestValidationError is the validation error returned by -// TaskExecutionEventRequest.Validate if the designated constraints aren't met. -type TaskExecutionEventRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionEventRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionEventRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionEventRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionEventRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionEventRequestValidationError) ErrorName() string { - return "TaskExecutionEventRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionEventRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionEventRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionEventRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionEventRequestValidationError{} - -// Validate checks the field values on TaskExecutionEventResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionEventResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// TaskExecutionEventResponseValidationError is the validation error returned -// by TaskExecutionEventResponse.Validate if the designated constraints aren't met. -type TaskExecutionEventResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionEventResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionEventResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionEventResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionEventResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionEventResponseValidationError) ErrorName() string { - return "TaskExecutionEventResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionEventResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionEventResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionEventResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionEventResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go deleted file mode 100644 index 1473435d45..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/execution.pb.validate.go +++ /dev/null @@ -1,2198 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/execution.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" - - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} - - _ = core.WorkflowExecution_Phase(0) -) - -// define the regex for a UUID once up-front -var _execution_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ExecutionCreateRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionCreateRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Name - - if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionCreateRequestValidationError{ - field: "Spec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionCreateRequestValidationError{ - field: "Inputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ExecutionCreateRequestValidationError is the validation error returned by -// ExecutionCreateRequest.Validate if the designated constraints aren't met. -type ExecutionCreateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionCreateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionCreateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionCreateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionCreateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionCreateRequestValidationError) ErrorName() string { - return "ExecutionCreateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionCreateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionCreateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionCreateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionCreateRequestValidationError{} - -// Validate checks the field values on ExecutionRelaunchRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionRelaunchRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionRelaunchRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Name - - // no validation rules for OverwriteCache - - return nil -} - -// ExecutionRelaunchRequestValidationError is the validation error returned by -// ExecutionRelaunchRequest.Validate if the designated constraints aren't met. -type ExecutionRelaunchRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionRelaunchRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionRelaunchRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionRelaunchRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionRelaunchRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionRelaunchRequestValidationError) ErrorName() string { - return "ExecutionRelaunchRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionRelaunchRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionRelaunchRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionRelaunchRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionRelaunchRequestValidationError{} - -// Validate checks the field values on ExecutionRecoverRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionRecoverRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionRecoverRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Name - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionRecoverRequestValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ExecutionRecoverRequestValidationError is the validation error returned by -// ExecutionRecoverRequest.Validate if the designated constraints aren't met. -type ExecutionRecoverRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionRecoverRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionRecoverRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionRecoverRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionRecoverRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionRecoverRequestValidationError) ErrorName() string { - return "ExecutionRecoverRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionRecoverRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionRecoverRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionRecoverRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionRecoverRequestValidationError{} - -// Validate checks the field values on ExecutionCreateResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionCreateResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionCreateResponseValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ExecutionCreateResponseValidationError is the validation error returned by -// ExecutionCreateResponse.Validate if the designated constraints aren't met. -type ExecutionCreateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionCreateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionCreateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionCreateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionCreateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionCreateResponseValidationError) ErrorName() string { - return "ExecutionCreateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionCreateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionCreateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionCreateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionCreateResponseValidationError{} - -// Validate checks the field values on WorkflowExecutionGetRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowExecutionGetRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionGetRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowExecutionGetRequestValidationError is the validation error returned -// by WorkflowExecutionGetRequest.Validate if the designated constraints -// aren't met. -type WorkflowExecutionGetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionGetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionGetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionGetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionGetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionGetRequestValidationError) ErrorName() string { - return "WorkflowExecutionGetRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionGetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecutionGetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionGetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionGetRequestValidationError{} - -// Validate checks the field values on Execution with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Execution) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionValidationError{ - field: "Spec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetClosure()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionValidationError{ - field: "Closure", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ExecutionValidationError is the validation error returned by -// Execution.Validate if the designated constraints aren't met. -type ExecutionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionValidationError) ErrorName() string { return "ExecutionValidationError" } - -// Error satisfies the builtin error interface -func (e ExecutionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecution.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionValidationError{} - -// Validate checks the field values on ExecutionList with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ExecutionList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetExecutions() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionListValidationError{ - field: fmt.Sprintf("Executions[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// ExecutionListValidationError is the validation error returned by -// ExecutionList.Validate if the designated constraints aren't met. -type ExecutionListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionListValidationError) ErrorName() string { return "ExecutionListValidationError" } - -// Error satisfies the builtin error interface -func (e ExecutionListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionListValidationError{} - -// Validate checks the field values on LiteralMapBlob with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *LiteralMapBlob) Validate() error { - if m == nil { - return nil - } - - switch m.Data.(type) { - - case *LiteralMapBlob_Values: - - if v, ok := interface{}(m.GetValues()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralMapBlobValidationError{ - field: "Values", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *LiteralMapBlob_Uri: - // no validation rules for Uri - - } - - return nil -} - -// LiteralMapBlobValidationError is the validation error returned by -// LiteralMapBlob.Validate if the designated constraints aren't met. -type LiteralMapBlobValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LiteralMapBlobValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LiteralMapBlobValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LiteralMapBlobValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LiteralMapBlobValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LiteralMapBlobValidationError) ErrorName() string { return "LiteralMapBlobValidationError" } - -// Error satisfies the builtin error interface -func (e LiteralMapBlobValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLiteralMapBlob.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LiteralMapBlobValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LiteralMapBlobValidationError{} - -// Validate checks the field values on AbortMetadata with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *AbortMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Cause - - // no validation rules for Principal - - return nil -} - -// AbortMetadataValidationError is the validation error returned by -// AbortMetadata.Validate if the designated constraints aren't met. -type AbortMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AbortMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AbortMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AbortMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AbortMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AbortMetadataValidationError) ErrorName() string { return "AbortMetadataValidationError" } - -// Error satisfies the builtin error interface -func (e AbortMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAbortMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AbortMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AbortMetadataValidationError{} - -// Validate checks the field values on ExecutionClosure with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ExecutionClosure) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetComputedInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "ComputedInputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Phase - - if v, ok := interface{}(m.GetStartedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "StartedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetDuration()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "Duration", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCreatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "CreatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetUpdatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "UpdatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetNotifications() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: fmt.Sprintf("Notifications[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetWorkflowId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "WorkflowId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetStateChangeDetails()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "StateChangeDetails", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.OutputResult.(type) { - - case *ExecutionClosure_Outputs: - - if v, ok := interface{}(m.GetOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "Outputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *ExecutionClosure_Error: - - if v, ok := interface{}(m.GetError()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "Error", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *ExecutionClosure_AbortCause: - // no validation rules for AbortCause - - case *ExecutionClosure_AbortMetadata: - - if v, ok := interface{}(m.GetAbortMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "AbortMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *ExecutionClosure_OutputData: - - if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionClosureValidationError{ - field: "OutputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ExecutionClosureValidationError is the validation error returned by -// ExecutionClosure.Validate if the designated constraints aren't met. -type ExecutionClosureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionClosureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionClosureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionClosureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionClosureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionClosureValidationError) ErrorName() string { return "ExecutionClosureValidationError" } - -// Error satisfies the builtin error interface -func (e ExecutionClosureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionClosure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionClosureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionClosureValidationError{} - -// Validate checks the field values on SystemMetadata with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *SystemMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ExecutionCluster - - // no validation rules for Namespace - - return nil -} - -// SystemMetadataValidationError is the validation error returned by -// SystemMetadata.Validate if the designated constraints aren't met. -type SystemMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SystemMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SystemMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SystemMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SystemMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SystemMetadataValidationError) ErrorName() string { return "SystemMetadataValidationError" } - -// Error satisfies the builtin error interface -func (e SystemMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSystemMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SystemMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SystemMetadataValidationError{} - -// Validate checks the field values on ExecutionMetadata with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ExecutionMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Mode - - // no validation rules for Principal - - // no validation rules for Nesting - - if v, ok := interface{}(m.GetScheduledAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionMetadataValidationError{ - field: "ScheduledAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetParentNodeExecution()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionMetadataValidationError{ - field: "ParentNodeExecution", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetReferenceExecution()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionMetadataValidationError{ - field: "ReferenceExecution", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSystemMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionMetadataValidationError{ - field: "SystemMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetArtifactIds() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionMetadataValidationError{ - field: fmt.Sprintf("ArtifactIds[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ExecutionMetadataValidationError is the validation error returned by -// ExecutionMetadata.Validate if the designated constraints aren't met. -type ExecutionMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionMetadataValidationError) ErrorName() string { - return "ExecutionMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionMetadataValidationError{} - -// Validate checks the field values on NotificationList with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *NotificationList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetNotifications() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NotificationListValidationError{ - field: fmt.Sprintf("Notifications[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// NotificationListValidationError is the validation error returned by -// NotificationList.Validate if the designated constraints aren't met. -type NotificationListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NotificationListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NotificationListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NotificationListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NotificationListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NotificationListValidationError) ErrorName() string { return "NotificationListValidationError" } - -// Error satisfies the builtin error interface -func (e NotificationListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNotificationList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NotificationListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NotificationListValidationError{} - -// Validate checks the field values on ExecutionSpec with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ExecutionSpec) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetLaunchPlan()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "LaunchPlan", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "Inputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetLabels()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "Labels", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetAnnotations()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "Annotations", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSecurityContext()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "SecurityContext", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetAuthRole()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "AuthRole", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetQualityOfService()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "QualityOfService", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for MaxParallelism - - if v, ok := interface{}(m.GetRawOutputDataConfig()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "RawOutputDataConfig", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetClusterAssignment()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "ClusterAssignment", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetInterruptible()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "Interruptible", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for OverwriteCache - - if v, ok := interface{}(m.GetEnvs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "Envs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.NotificationOverrides.(type) { - - case *ExecutionSpec_Notifications: - - if v, ok := interface{}(m.GetNotifications()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionSpecValidationError{ - field: "Notifications", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *ExecutionSpec_DisableAll: - // no validation rules for DisableAll - - } - - return nil -} - -// ExecutionSpecValidationError is the validation error returned by -// ExecutionSpec.Validate if the designated constraints aren't met. -type ExecutionSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionSpecValidationError) ErrorName() string { return "ExecutionSpecValidationError" } - -// Error satisfies the builtin error interface -func (e ExecutionSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionSpecValidationError{} - -// Validate checks the field values on ExecutionTerminateRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionTerminateRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionTerminateRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Cause - - return nil -} - -// ExecutionTerminateRequestValidationError is the validation error returned by -// ExecutionTerminateRequest.Validate if the designated constraints aren't met. -type ExecutionTerminateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionTerminateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionTerminateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionTerminateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionTerminateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionTerminateRequestValidationError) ErrorName() string { - return "ExecutionTerminateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionTerminateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionTerminateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionTerminateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionTerminateRequestValidationError{} - -// Validate checks the field values on ExecutionTerminateResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionTerminateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ExecutionTerminateResponseValidationError is the validation error returned -// by ExecutionTerminateResponse.Validate if the designated constraints aren't met. -type ExecutionTerminateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionTerminateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionTerminateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionTerminateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionTerminateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionTerminateResponseValidationError) ErrorName() string { - return "ExecutionTerminateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionTerminateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionTerminateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionTerminateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionTerminateResponseValidationError{} - -// Validate checks the field values on WorkflowExecutionGetDataRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowExecutionGetDataRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionGetDataRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowExecutionGetDataRequestValidationError is the validation error -// returned by WorkflowExecutionGetDataRequest.Validate if the designated -// constraints aren't met. -type WorkflowExecutionGetDataRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionGetDataRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionGetDataRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionGetDataRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionGetDataRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionGetDataRequestValidationError) ErrorName() string { - return "WorkflowExecutionGetDataRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionGetDataRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecutionGetDataRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionGetDataRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionGetDataRequestValidationError{} - -// Validate checks the field values on WorkflowExecutionGetDataResponse with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *WorkflowExecutionGetDataResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionGetDataResponseValidationError{ - field: "Outputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionGetDataResponseValidationError{ - field: "Inputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetFullInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionGetDataResponseValidationError{ - field: "FullInputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetFullOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionGetDataResponseValidationError{ - field: "FullOutputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowExecutionGetDataResponseValidationError is the validation error -// returned by WorkflowExecutionGetDataResponse.Validate if the designated -// constraints aren't met. -type WorkflowExecutionGetDataResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionGetDataResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionGetDataResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionGetDataResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionGetDataResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionGetDataResponseValidationError) ErrorName() string { - return "WorkflowExecutionGetDataResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionGetDataResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecutionGetDataResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionGetDataResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionGetDataResponseValidationError{} - -// Validate checks the field values on ExecutionUpdateRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionUpdateRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionUpdateRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for State - - return nil -} - -// ExecutionUpdateRequestValidationError is the validation error returned by -// ExecutionUpdateRequest.Validate if the designated constraints aren't met. -type ExecutionUpdateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionUpdateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionUpdateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionUpdateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionUpdateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionUpdateRequestValidationError) ErrorName() string { - return "ExecutionUpdateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionUpdateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionUpdateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionUpdateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionUpdateRequestValidationError{} - -// Validate checks the field values on ExecutionStateChangeDetails with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionStateChangeDetails) Validate() error { - if m == nil { - return nil - } - - // no validation rules for State - - if v, ok := interface{}(m.GetOccurredAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionStateChangeDetailsValidationError{ - field: "OccurredAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Principal - - return nil -} - -// ExecutionStateChangeDetailsValidationError is the validation error returned -// by ExecutionStateChangeDetails.Validate if the designated constraints -// aren't met. -type ExecutionStateChangeDetailsValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionStateChangeDetailsValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionStateChangeDetailsValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionStateChangeDetailsValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionStateChangeDetailsValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionStateChangeDetailsValidationError) ErrorName() string { - return "ExecutionStateChangeDetailsValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionStateChangeDetailsValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionStateChangeDetails.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionStateChangeDetailsValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionStateChangeDetailsValidationError{} - -// Validate checks the field values on ExecutionUpdateResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionUpdateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ExecutionUpdateResponseValidationError is the validation error returned by -// ExecutionUpdateResponse.Validate if the designated constraints aren't met. -type ExecutionUpdateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionUpdateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionUpdateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionUpdateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionUpdateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionUpdateResponseValidationError) ErrorName() string { - return "ExecutionUpdateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionUpdateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionUpdateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionUpdateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionUpdateResponseValidationError{} - -// Validate checks the field values on WorkflowExecutionGetMetricsRequest with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *WorkflowExecutionGetMetricsRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionGetMetricsRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Depth - - return nil -} - -// WorkflowExecutionGetMetricsRequestValidationError is the validation error -// returned by WorkflowExecutionGetMetricsRequest.Validate if the designated -// constraints aren't met. -type WorkflowExecutionGetMetricsRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionGetMetricsRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionGetMetricsRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionGetMetricsRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionGetMetricsRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionGetMetricsRequestValidationError) ErrorName() string { - return "WorkflowExecutionGetMetricsRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionGetMetricsRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecutionGetMetricsRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionGetMetricsRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionGetMetricsRequestValidationError{} - -// Validate checks the field values on WorkflowExecutionGetMetricsResponse with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *WorkflowExecutionGetMetricsResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetSpan()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionGetMetricsResponseValidationError{ - field: "Span", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowExecutionGetMetricsResponseValidationError is the validation error -// returned by WorkflowExecutionGetMetricsResponse.Validate if the designated -// constraints aren't met. -type WorkflowExecutionGetMetricsResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionGetMetricsResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionGetMetricsResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionGetMetricsResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionGetMetricsResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionGetMetricsResponseValidationError) ErrorName() string { - return "WorkflowExecutionGetMetricsResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionGetMetricsResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecutionGetMetricsResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionGetMetricsResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionGetMetricsResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go deleted file mode 100644 index d882416786..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/launch_plan.pb.validate.go +++ /dev/null @@ -1,1156 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/launch_plan.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _launch_plan_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on LaunchPlanCreateRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *LaunchPlanCreateRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanCreateRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanCreateRequestValidationError{ - field: "Spec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// LaunchPlanCreateRequestValidationError is the validation error returned by -// LaunchPlanCreateRequest.Validate if the designated constraints aren't met. -type LaunchPlanCreateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LaunchPlanCreateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LaunchPlanCreateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LaunchPlanCreateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LaunchPlanCreateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LaunchPlanCreateRequestValidationError) ErrorName() string { - return "LaunchPlanCreateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e LaunchPlanCreateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLaunchPlanCreateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LaunchPlanCreateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LaunchPlanCreateRequestValidationError{} - -// Validate checks the field values on LaunchPlanCreateResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *LaunchPlanCreateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// LaunchPlanCreateResponseValidationError is the validation error returned by -// LaunchPlanCreateResponse.Validate if the designated constraints aren't met. -type LaunchPlanCreateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LaunchPlanCreateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LaunchPlanCreateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LaunchPlanCreateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LaunchPlanCreateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LaunchPlanCreateResponseValidationError) ErrorName() string { - return "LaunchPlanCreateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e LaunchPlanCreateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLaunchPlanCreateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LaunchPlanCreateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LaunchPlanCreateResponseValidationError{} - -// Validate checks the field values on LaunchPlan with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *LaunchPlan) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanValidationError{ - field: "Spec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetClosure()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanValidationError{ - field: "Closure", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// LaunchPlanValidationError is the validation error returned by -// LaunchPlan.Validate if the designated constraints aren't met. -type LaunchPlanValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LaunchPlanValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LaunchPlanValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LaunchPlanValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LaunchPlanValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LaunchPlanValidationError) ErrorName() string { return "LaunchPlanValidationError" } - -// Error satisfies the builtin error interface -func (e LaunchPlanValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLaunchPlan.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LaunchPlanValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LaunchPlanValidationError{} - -// Validate checks the field values on LaunchPlanList with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *LaunchPlanList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetLaunchPlans() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanListValidationError{ - field: fmt.Sprintf("LaunchPlans[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// LaunchPlanListValidationError is the validation error returned by -// LaunchPlanList.Validate if the designated constraints aren't met. -type LaunchPlanListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LaunchPlanListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LaunchPlanListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LaunchPlanListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LaunchPlanListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LaunchPlanListValidationError) ErrorName() string { return "LaunchPlanListValidationError" } - -// Error satisfies the builtin error interface -func (e LaunchPlanListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLaunchPlanList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LaunchPlanListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LaunchPlanListValidationError{} - -// Validate checks the field values on Auth with the rules defined in the proto -// definition for this message. If any rules are violated, an error is returned. -func (m *Auth) Validate() error { - if m == nil { - return nil - } - - // no validation rules for AssumableIamRole - - // no validation rules for KubernetesServiceAccount - - return nil -} - -// AuthValidationError is the validation error returned by Auth.Validate if the -// designated constraints aren't met. -type AuthValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AuthValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AuthValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AuthValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AuthValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AuthValidationError) ErrorName() string { return "AuthValidationError" } - -// Error satisfies the builtin error interface -func (e AuthValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAuth.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AuthValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AuthValidationError{} - -// Validate checks the field values on LaunchPlanSpec with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *LaunchPlanSpec) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetWorkflowId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "WorkflowId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetEntityMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "EntityMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetDefaultInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "DefaultInputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetFixedInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "FixedInputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Role - - if v, ok := interface{}(m.GetLabels()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "Labels", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetAnnotations()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "Annotations", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetAuth()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "Auth", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetAuthRole()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "AuthRole", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSecurityContext()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "SecurityContext", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetQualityOfService()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "QualityOfService", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetRawOutputDataConfig()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "RawOutputDataConfig", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for MaxParallelism - - if v, ok := interface{}(m.GetInterruptible()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "Interruptible", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for OverwriteCache - - if v, ok := interface{}(m.GetEnvs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanSpecValidationError{ - field: "Envs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// LaunchPlanSpecValidationError is the validation error returned by -// LaunchPlanSpec.Validate if the designated constraints aren't met. -type LaunchPlanSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LaunchPlanSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LaunchPlanSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LaunchPlanSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LaunchPlanSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LaunchPlanSpecValidationError) ErrorName() string { return "LaunchPlanSpecValidationError" } - -// Error satisfies the builtin error interface -func (e LaunchPlanSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLaunchPlanSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LaunchPlanSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LaunchPlanSpecValidationError{} - -// Validate checks the field values on LaunchPlanClosure with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *LaunchPlanClosure) Validate() error { - if m == nil { - return nil - } - - // no validation rules for State - - if v, ok := interface{}(m.GetExpectedInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanClosureValidationError{ - field: "ExpectedInputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetExpectedOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanClosureValidationError{ - field: "ExpectedOutputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCreatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanClosureValidationError{ - field: "CreatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetUpdatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanClosureValidationError{ - field: "UpdatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// LaunchPlanClosureValidationError is the validation error returned by -// LaunchPlanClosure.Validate if the designated constraints aren't met. -type LaunchPlanClosureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LaunchPlanClosureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LaunchPlanClosureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LaunchPlanClosureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LaunchPlanClosureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LaunchPlanClosureValidationError) ErrorName() string { - return "LaunchPlanClosureValidationError" -} - -// Error satisfies the builtin error interface -func (e LaunchPlanClosureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLaunchPlanClosure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LaunchPlanClosureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LaunchPlanClosureValidationError{} - -// Validate checks the field values on LaunchPlanMetadata with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *LaunchPlanMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetSchedule()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanMetadataValidationError{ - field: "Schedule", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetNotifications() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanMetadataValidationError{ - field: fmt.Sprintf("Notifications[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetLaunchConditions()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanMetadataValidationError{ - field: "LaunchConditions", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// LaunchPlanMetadataValidationError is the validation error returned by -// LaunchPlanMetadata.Validate if the designated constraints aren't met. -type LaunchPlanMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LaunchPlanMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LaunchPlanMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LaunchPlanMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LaunchPlanMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LaunchPlanMetadataValidationError) ErrorName() string { - return "LaunchPlanMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e LaunchPlanMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLaunchPlanMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LaunchPlanMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LaunchPlanMetadataValidationError{} - -// Validate checks the field values on LaunchPlanUpdateRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *LaunchPlanUpdateRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LaunchPlanUpdateRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for State - - return nil -} - -// LaunchPlanUpdateRequestValidationError is the validation error returned by -// LaunchPlanUpdateRequest.Validate if the designated constraints aren't met. -type LaunchPlanUpdateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LaunchPlanUpdateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LaunchPlanUpdateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LaunchPlanUpdateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LaunchPlanUpdateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LaunchPlanUpdateRequestValidationError) ErrorName() string { - return "LaunchPlanUpdateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e LaunchPlanUpdateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLaunchPlanUpdateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LaunchPlanUpdateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LaunchPlanUpdateRequestValidationError{} - -// Validate checks the field values on LaunchPlanUpdateResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *LaunchPlanUpdateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// LaunchPlanUpdateResponseValidationError is the validation error returned by -// LaunchPlanUpdateResponse.Validate if the designated constraints aren't met. -type LaunchPlanUpdateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LaunchPlanUpdateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LaunchPlanUpdateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LaunchPlanUpdateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LaunchPlanUpdateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LaunchPlanUpdateResponseValidationError) ErrorName() string { - return "LaunchPlanUpdateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e LaunchPlanUpdateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLaunchPlanUpdateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LaunchPlanUpdateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LaunchPlanUpdateResponseValidationError{} - -// Validate checks the field values on ActiveLaunchPlanRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ActiveLaunchPlanRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ActiveLaunchPlanRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ActiveLaunchPlanRequestValidationError is the validation error returned by -// ActiveLaunchPlanRequest.Validate if the designated constraints aren't met. -type ActiveLaunchPlanRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ActiveLaunchPlanRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ActiveLaunchPlanRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ActiveLaunchPlanRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ActiveLaunchPlanRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ActiveLaunchPlanRequestValidationError) ErrorName() string { - return "ActiveLaunchPlanRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ActiveLaunchPlanRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sActiveLaunchPlanRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ActiveLaunchPlanRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ActiveLaunchPlanRequestValidationError{} - -// Validate checks the field values on ActiveLaunchPlanListRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ActiveLaunchPlanListRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Limit - - // no validation rules for Token - - if v, ok := interface{}(m.GetSortBy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ActiveLaunchPlanListRequestValidationError{ - field: "SortBy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ActiveLaunchPlanListRequestValidationError is the validation error returned -// by ActiveLaunchPlanListRequest.Validate if the designated constraints -// aren't met. -type ActiveLaunchPlanListRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ActiveLaunchPlanListRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ActiveLaunchPlanListRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ActiveLaunchPlanListRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ActiveLaunchPlanListRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ActiveLaunchPlanListRequestValidationError) ErrorName() string { - return "ActiveLaunchPlanListRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ActiveLaunchPlanListRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sActiveLaunchPlanListRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ActiveLaunchPlanListRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ActiveLaunchPlanListRequestValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go deleted file mode 100644 index 96cc2c01ac..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go +++ /dev/null @@ -1,1090 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/matchable_resource.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _matchable_resource_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on TaskResourceSpec with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *TaskResourceSpec) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Cpu - - // no validation rules for Gpu - - // no validation rules for Memory - - // no validation rules for Storage - - // no validation rules for EphemeralStorage - - return nil -} - -// TaskResourceSpecValidationError is the validation error returned by -// TaskResourceSpec.Validate if the designated constraints aren't met. -type TaskResourceSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskResourceSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskResourceSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskResourceSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskResourceSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskResourceSpecValidationError) ErrorName() string { return "TaskResourceSpecValidationError" } - -// Error satisfies the builtin error interface -func (e TaskResourceSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskResourceSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskResourceSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskResourceSpecValidationError{} - -// Validate checks the field values on TaskResourceAttributes with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskResourceAttributes) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetDefaults()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskResourceAttributesValidationError{ - field: "Defaults", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetLimits()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskResourceAttributesValidationError{ - field: "Limits", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskResourceAttributesValidationError is the validation error returned by -// TaskResourceAttributes.Validate if the designated constraints aren't met. -type TaskResourceAttributesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskResourceAttributesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskResourceAttributesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskResourceAttributesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskResourceAttributesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskResourceAttributesValidationError) ErrorName() string { - return "TaskResourceAttributesValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskResourceAttributesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskResourceAttributes.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskResourceAttributesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskResourceAttributesValidationError{} - -// Validate checks the field values on ClusterResourceAttributes with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ClusterResourceAttributes) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Attributes - - return nil -} - -// ClusterResourceAttributesValidationError is the validation error returned by -// ClusterResourceAttributes.Validate if the designated constraints aren't met. -type ClusterResourceAttributesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ClusterResourceAttributesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ClusterResourceAttributesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ClusterResourceAttributesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ClusterResourceAttributesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ClusterResourceAttributesValidationError) ErrorName() string { - return "ClusterResourceAttributesValidationError" -} - -// Error satisfies the builtin error interface -func (e ClusterResourceAttributesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sClusterResourceAttributes.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ClusterResourceAttributesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ClusterResourceAttributesValidationError{} - -// Validate checks the field values on ExecutionQueueAttributes with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionQueueAttributes) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ExecutionQueueAttributesValidationError is the validation error returned by -// ExecutionQueueAttributes.Validate if the designated constraints aren't met. -type ExecutionQueueAttributesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionQueueAttributesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionQueueAttributesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionQueueAttributesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionQueueAttributesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionQueueAttributesValidationError) ErrorName() string { - return "ExecutionQueueAttributesValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionQueueAttributesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionQueueAttributes.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionQueueAttributesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionQueueAttributesValidationError{} - -// Validate checks the field values on ExecutionClusterLabel with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionClusterLabel) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Value - - return nil -} - -// ExecutionClusterLabelValidationError is the validation error returned by -// ExecutionClusterLabel.Validate if the designated constraints aren't met. -type ExecutionClusterLabelValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionClusterLabelValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionClusterLabelValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionClusterLabelValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionClusterLabelValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionClusterLabelValidationError) ErrorName() string { - return "ExecutionClusterLabelValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionClusterLabelValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionClusterLabel.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionClusterLabelValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionClusterLabelValidationError{} - -// Validate checks the field values on PluginOverride with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *PluginOverride) Validate() error { - if m == nil { - return nil - } - - // no validation rules for TaskType - - // no validation rules for MissingPluginBehavior - - return nil -} - -// PluginOverrideValidationError is the validation error returned by -// PluginOverride.Validate if the designated constraints aren't met. -type PluginOverrideValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e PluginOverrideValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e PluginOverrideValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e PluginOverrideValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e PluginOverrideValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e PluginOverrideValidationError) ErrorName() string { return "PluginOverrideValidationError" } - -// Error satisfies the builtin error interface -func (e PluginOverrideValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sPluginOverride.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = PluginOverrideValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = PluginOverrideValidationError{} - -// Validate checks the field values on PluginOverrides with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *PluginOverrides) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetOverrides() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return PluginOverridesValidationError{ - field: fmt.Sprintf("Overrides[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// PluginOverridesValidationError is the validation error returned by -// PluginOverrides.Validate if the designated constraints aren't met. -type PluginOverridesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e PluginOverridesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e PluginOverridesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e PluginOverridesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e PluginOverridesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e PluginOverridesValidationError) ErrorName() string { return "PluginOverridesValidationError" } - -// Error satisfies the builtin error interface -func (e PluginOverridesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sPluginOverrides.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = PluginOverridesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = PluginOverridesValidationError{} - -// Validate checks the field values on WorkflowExecutionConfig with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowExecutionConfig) Validate() error { - if m == nil { - return nil - } - - // no validation rules for MaxParallelism - - if v, ok := interface{}(m.GetSecurityContext()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionConfigValidationError{ - field: "SecurityContext", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetRawOutputDataConfig()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionConfigValidationError{ - field: "RawOutputDataConfig", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetLabels()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionConfigValidationError{ - field: "Labels", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetAnnotations()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionConfigValidationError{ - field: "Annotations", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetInterruptible()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionConfigValidationError{ - field: "Interruptible", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for OverwriteCache - - if v, ok := interface{}(m.GetEnvs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionConfigValidationError{ - field: "Envs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowExecutionConfigValidationError is the validation error returned by -// WorkflowExecutionConfig.Validate if the designated constraints aren't met. -type WorkflowExecutionConfigValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionConfigValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionConfigValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionConfigValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionConfigValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionConfigValidationError) ErrorName() string { - return "WorkflowExecutionConfigValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionConfigValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecutionConfig.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionConfigValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionConfigValidationError{} - -// Validate checks the field values on MatchingAttributes with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *MatchingAttributes) Validate() error { - if m == nil { - return nil - } - - switch m.Target.(type) { - - case *MatchingAttributes_TaskResourceAttributes: - - if v, ok := interface{}(m.GetTaskResourceAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return MatchingAttributesValidationError{ - field: "TaskResourceAttributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *MatchingAttributes_ClusterResourceAttributes: - - if v, ok := interface{}(m.GetClusterResourceAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return MatchingAttributesValidationError{ - field: "ClusterResourceAttributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *MatchingAttributes_ExecutionQueueAttributes: - - if v, ok := interface{}(m.GetExecutionQueueAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return MatchingAttributesValidationError{ - field: "ExecutionQueueAttributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *MatchingAttributes_ExecutionClusterLabel: - - if v, ok := interface{}(m.GetExecutionClusterLabel()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return MatchingAttributesValidationError{ - field: "ExecutionClusterLabel", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *MatchingAttributes_QualityOfService: - - if v, ok := interface{}(m.GetQualityOfService()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return MatchingAttributesValidationError{ - field: "QualityOfService", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *MatchingAttributes_PluginOverrides: - - if v, ok := interface{}(m.GetPluginOverrides()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return MatchingAttributesValidationError{ - field: "PluginOverrides", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *MatchingAttributes_WorkflowExecutionConfig: - - if v, ok := interface{}(m.GetWorkflowExecutionConfig()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return MatchingAttributesValidationError{ - field: "WorkflowExecutionConfig", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *MatchingAttributes_ClusterAssignment: - - if v, ok := interface{}(m.GetClusterAssignment()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return MatchingAttributesValidationError{ - field: "ClusterAssignment", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// MatchingAttributesValidationError is the validation error returned by -// MatchingAttributes.Validate if the designated constraints aren't met. -type MatchingAttributesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e MatchingAttributesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e MatchingAttributesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e MatchingAttributesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e MatchingAttributesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e MatchingAttributesValidationError) ErrorName() string { - return "MatchingAttributesValidationError" -} - -// Error satisfies the builtin error interface -func (e MatchingAttributesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sMatchingAttributes.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = MatchingAttributesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = MatchingAttributesValidationError{} - -// Validate checks the field values on MatchableAttributesConfiguration with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *MatchableAttributesConfiguration) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return MatchableAttributesConfigurationValidationError{ - field: "Attributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Domain - - // no validation rules for Project - - // no validation rules for Workflow - - // no validation rules for LaunchPlan - - return nil -} - -// MatchableAttributesConfigurationValidationError is the validation error -// returned by MatchableAttributesConfiguration.Validate if the designated -// constraints aren't met. -type MatchableAttributesConfigurationValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e MatchableAttributesConfigurationValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e MatchableAttributesConfigurationValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e MatchableAttributesConfigurationValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e MatchableAttributesConfigurationValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e MatchableAttributesConfigurationValidationError) ErrorName() string { - return "MatchableAttributesConfigurationValidationError" -} - -// Error satisfies the builtin error interface -func (e MatchableAttributesConfigurationValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sMatchableAttributesConfiguration.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = MatchableAttributesConfigurationValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = MatchableAttributesConfigurationValidationError{} - -// Validate checks the field values on ListMatchableAttributesRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ListMatchableAttributesRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ResourceType - - return nil -} - -// ListMatchableAttributesRequestValidationError is the validation error -// returned by ListMatchableAttributesRequest.Validate if the designated -// constraints aren't met. -type ListMatchableAttributesRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ListMatchableAttributesRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ListMatchableAttributesRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ListMatchableAttributesRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ListMatchableAttributesRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ListMatchableAttributesRequestValidationError) ErrorName() string { - return "ListMatchableAttributesRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ListMatchableAttributesRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sListMatchableAttributesRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ListMatchableAttributesRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ListMatchableAttributesRequestValidationError{} - -// Validate checks the field values on ListMatchableAttributesResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ListMatchableAttributesResponse) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetConfigurations() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ListMatchableAttributesResponseValidationError{ - field: fmt.Sprintf("Configurations[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ListMatchableAttributesResponseValidationError is the validation error -// returned by ListMatchableAttributesResponse.Validate if the designated -// constraints aren't met. -type ListMatchableAttributesResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ListMatchableAttributesResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ListMatchableAttributesResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ListMatchableAttributesResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ListMatchableAttributesResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ListMatchableAttributesResponseValidationError) ErrorName() string { - return "ListMatchableAttributesResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ListMatchableAttributesResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sListMatchableAttributesResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ListMatchableAttributesResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ListMatchableAttributesResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.validate.go deleted file mode 100644 index 191b551497..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/node_execution.pb.validate.go +++ /dev/null @@ -1,1191 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/node_execution.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" - - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} - - _ = core.NodeExecution_Phase(0) - - _ = core.CatalogCacheStatus(0) -) - -// define the regex for a UUID once up-front -var _node_execution_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on NodeExecutionGetRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionGetRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionGetRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// NodeExecutionGetRequestValidationError is the validation error returned by -// NodeExecutionGetRequest.Validate if the designated constraints aren't met. -type NodeExecutionGetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionGetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionGetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionGetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionGetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionGetRequestValidationError) ErrorName() string { - return "NodeExecutionGetRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionGetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionGetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionGetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionGetRequestValidationError{} - -// Validate checks the field values on NodeExecutionListRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionListRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetWorkflowExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionListRequestValidationError{ - field: "WorkflowExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Limit - - // no validation rules for Token - - // no validation rules for Filters - - if v, ok := interface{}(m.GetSortBy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionListRequestValidationError{ - field: "SortBy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for UniqueParentId - - return nil -} - -// NodeExecutionListRequestValidationError is the validation error returned by -// NodeExecutionListRequest.Validate if the designated constraints aren't met. -type NodeExecutionListRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionListRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionListRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionListRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionListRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionListRequestValidationError) ErrorName() string { - return "NodeExecutionListRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionListRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionListRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionListRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionListRequestValidationError{} - -// Validate checks the field values on NodeExecutionForTaskListRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionForTaskListRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTaskExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionForTaskListRequestValidationError{ - field: "TaskExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Limit - - // no validation rules for Token - - // no validation rules for Filters - - if v, ok := interface{}(m.GetSortBy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionForTaskListRequestValidationError{ - field: "SortBy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// NodeExecutionForTaskListRequestValidationError is the validation error -// returned by NodeExecutionForTaskListRequest.Validate if the designated -// constraints aren't met. -type NodeExecutionForTaskListRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionForTaskListRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionForTaskListRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionForTaskListRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionForTaskListRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionForTaskListRequestValidationError) ErrorName() string { - return "NodeExecutionForTaskListRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionForTaskListRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionForTaskListRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionForTaskListRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionForTaskListRequestValidationError{} - -// Validate checks the field values on NodeExecution with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *NodeExecution) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for InputUri - - if v, ok := interface{}(m.GetClosure()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionValidationError{ - field: "Closure", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// NodeExecutionValidationError is the validation error returned by -// NodeExecution.Validate if the designated constraints aren't met. -type NodeExecutionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionValidationError) ErrorName() string { return "NodeExecutionValidationError" } - -// Error satisfies the builtin error interface -func (e NodeExecutionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecution.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionValidationError{} - -// Validate checks the field values on NodeExecutionMetaData with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionMetaData) Validate() error { - if m == nil { - return nil - } - - // no validation rules for RetryGroup - - // no validation rules for IsParentNode - - // no validation rules for SpecNodeId - - // no validation rules for IsDynamic - - // no validation rules for IsArray - - return nil -} - -// NodeExecutionMetaDataValidationError is the validation error returned by -// NodeExecutionMetaData.Validate if the designated constraints aren't met. -type NodeExecutionMetaDataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionMetaDataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionMetaDataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionMetaDataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionMetaDataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionMetaDataValidationError) ErrorName() string { - return "NodeExecutionMetaDataValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionMetaDataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionMetaData.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionMetaDataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionMetaDataValidationError{} - -// Validate checks the field values on NodeExecutionList with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *NodeExecutionList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetNodeExecutions() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionListValidationError{ - field: fmt.Sprintf("NodeExecutions[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// NodeExecutionListValidationError is the validation error returned by -// NodeExecutionList.Validate if the designated constraints aren't met. -type NodeExecutionListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionListValidationError) ErrorName() string { - return "NodeExecutionListValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionListValidationError{} - -// Validate checks the field values on NodeExecutionClosure with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionClosure) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Phase - - if v, ok := interface{}(m.GetStartedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionClosureValidationError{ - field: "StartedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetDuration()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionClosureValidationError{ - field: "Duration", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCreatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionClosureValidationError{ - field: "CreatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetUpdatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionClosureValidationError{ - field: "UpdatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for DeckUri - - // no validation rules for DynamicJobSpecUri - - switch m.OutputResult.(type) { - - case *NodeExecutionClosure_OutputUri: - // no validation rules for OutputUri - - case *NodeExecutionClosure_Error: - - if v, ok := interface{}(m.GetError()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionClosureValidationError{ - field: "Error", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *NodeExecutionClosure_OutputData: - - if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionClosureValidationError{ - field: "OutputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - switch m.TargetMetadata.(type) { - - case *NodeExecutionClosure_WorkflowNodeMetadata: - - if v, ok := interface{}(m.GetWorkflowNodeMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionClosureValidationError{ - field: "WorkflowNodeMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *NodeExecutionClosure_TaskNodeMetadata: - - if v, ok := interface{}(m.GetTaskNodeMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionClosureValidationError{ - field: "TaskNodeMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// NodeExecutionClosureValidationError is the validation error returned by -// NodeExecutionClosure.Validate if the designated constraints aren't met. -type NodeExecutionClosureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionClosureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionClosureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionClosureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionClosureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionClosureValidationError) ErrorName() string { - return "NodeExecutionClosureValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionClosureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionClosure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionClosureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionClosureValidationError{} - -// Validate checks the field values on WorkflowNodeMetadata with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowNodeMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowNodeMetadataValidationError{ - field: "ExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowNodeMetadataValidationError is the validation error returned by -// WorkflowNodeMetadata.Validate if the designated constraints aren't met. -type WorkflowNodeMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowNodeMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowNodeMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowNodeMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowNodeMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowNodeMetadataValidationError) ErrorName() string { - return "WorkflowNodeMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowNodeMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowNodeMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowNodeMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowNodeMetadataValidationError{} - -// Validate checks the field values on TaskNodeMetadata with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *TaskNodeMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for CacheStatus - - if v, ok := interface{}(m.GetCatalogKey()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskNodeMetadataValidationError{ - field: "CatalogKey", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for CheckpointUri - - return nil -} - -// TaskNodeMetadataValidationError is the validation error returned by -// TaskNodeMetadata.Validate if the designated constraints aren't met. -type TaskNodeMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskNodeMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskNodeMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskNodeMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskNodeMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskNodeMetadataValidationError) ErrorName() string { return "TaskNodeMetadataValidationError" } - -// Error satisfies the builtin error interface -func (e TaskNodeMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskNodeMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskNodeMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskNodeMetadataValidationError{} - -// Validate checks the field values on DynamicWorkflowNodeMetadata with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DynamicWorkflowNodeMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DynamicWorkflowNodeMetadataValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCompiledWorkflow()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DynamicWorkflowNodeMetadataValidationError{ - field: "CompiledWorkflow", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for DynamicJobSpecUri - - return nil -} - -// DynamicWorkflowNodeMetadataValidationError is the validation error returned -// by DynamicWorkflowNodeMetadata.Validate if the designated constraints -// aren't met. -type DynamicWorkflowNodeMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DynamicWorkflowNodeMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DynamicWorkflowNodeMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DynamicWorkflowNodeMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DynamicWorkflowNodeMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DynamicWorkflowNodeMetadataValidationError) ErrorName() string { - return "DynamicWorkflowNodeMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e DynamicWorkflowNodeMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDynamicWorkflowNodeMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DynamicWorkflowNodeMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DynamicWorkflowNodeMetadataValidationError{} - -// Validate checks the field values on NodeExecutionGetDataRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionGetDataRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionGetDataRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// NodeExecutionGetDataRequestValidationError is the validation error returned -// by NodeExecutionGetDataRequest.Validate if the designated constraints -// aren't met. -type NodeExecutionGetDataRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionGetDataRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionGetDataRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionGetDataRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionGetDataRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionGetDataRequestValidationError) ErrorName() string { - return "NodeExecutionGetDataRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionGetDataRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionGetDataRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionGetDataRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionGetDataRequestValidationError{} - -// Validate checks the field values on NodeExecutionGetDataResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionGetDataResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionGetDataResponseValidationError{ - field: "Inputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionGetDataResponseValidationError{ - field: "Outputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetFullInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionGetDataResponseValidationError{ - field: "FullInputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetFullOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionGetDataResponseValidationError{ - field: "FullOutputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetDynamicWorkflow()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionGetDataResponseValidationError{ - field: "DynamicWorkflow", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetFlyteUrls()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionGetDataResponseValidationError{ - field: "FlyteUrls", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// NodeExecutionGetDataResponseValidationError is the validation error returned -// by NodeExecutionGetDataResponse.Validate if the designated constraints -// aren't met. -type NodeExecutionGetDataResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionGetDataResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionGetDataResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionGetDataResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionGetDataResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionGetDataResponseValidationError) ErrorName() string { - return "NodeExecutionGetDataResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionGetDataResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionGetDataResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionGetDataResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionGetDataResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.validate.go deleted file mode 100644 index 46b7a7d305..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/notification.pb.validate.go +++ /dev/null @@ -1,108 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/notification.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _notification_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on EmailMessage with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *EmailMessage) Validate() error { - if m == nil { - return nil - } - - // no validation rules for SenderEmail - - // no validation rules for SubjectLine - - // no validation rules for Body - - return nil -} - -// EmailMessageValidationError is the validation error returned by -// EmailMessage.Validate if the designated constraints aren't met. -type EmailMessageValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e EmailMessageValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e EmailMessageValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e EmailMessageValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e EmailMessageValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e EmailMessageValidationError) ErrorName() string { return "EmailMessageValidationError" } - -// Error satisfies the builtin error interface -func (e EmailMessageValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sEmailMessage.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = EmailMessageValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = EmailMessageValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/project.pb.validate.go deleted file mode 100644 index 7dcfc2d57e..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/project.pb.validate.go +++ /dev/null @@ -1,577 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/project.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _project_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on Domain with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Domain) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Id - - // no validation rules for Name - - return nil -} - -// DomainValidationError is the validation error returned by Domain.Validate if -// the designated constraints aren't met. -type DomainValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DomainValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DomainValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DomainValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DomainValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DomainValidationError) ErrorName() string { return "DomainValidationError" } - -// Error satisfies the builtin error interface -func (e DomainValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDomain.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DomainValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DomainValidationError{} - -// Validate checks the field values on Project with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Project) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Id - - // no validation rules for Name - - for idx, item := range m.GetDomains() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectValidationError{ - field: fmt.Sprintf("Domains[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Description - - if v, ok := interface{}(m.GetLabels()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectValidationError{ - field: "Labels", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for State - - return nil -} - -// ProjectValidationError is the validation error returned by Project.Validate -// if the designated constraints aren't met. -type ProjectValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectValidationError) ErrorName() string { return "ProjectValidationError" } - -// Error satisfies the builtin error interface -func (e ProjectValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProject.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectValidationError{} - -// Validate checks the field values on Projects with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Projects) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetProjects() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectsValidationError{ - field: fmt.Sprintf("Projects[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// ProjectsValidationError is the validation error returned by -// Projects.Validate if the designated constraints aren't met. -type ProjectsValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectsValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectsValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectsValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectsValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectsValidationError) ErrorName() string { return "ProjectsValidationError" } - -// Error satisfies the builtin error interface -func (e ProjectsValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjects.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectsValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectsValidationError{} - -// Validate checks the field values on ProjectListRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectListRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Limit - - // no validation rules for Token - - // no validation rules for Filters - - if v, ok := interface{}(m.GetSortBy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectListRequestValidationError{ - field: "SortBy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ProjectListRequestValidationError is the validation error returned by -// ProjectListRequest.Validate if the designated constraints aren't met. -type ProjectListRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectListRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectListRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectListRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectListRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectListRequestValidationError) ErrorName() string { - return "ProjectListRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectListRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectListRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectListRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectListRequestValidationError{} - -// Validate checks the field values on ProjectRegisterRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectRegisterRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetProject()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectRegisterRequestValidationError{ - field: "Project", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ProjectRegisterRequestValidationError is the validation error returned by -// ProjectRegisterRequest.Validate if the designated constraints aren't met. -type ProjectRegisterRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectRegisterRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectRegisterRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectRegisterRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectRegisterRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectRegisterRequestValidationError) ErrorName() string { - return "ProjectRegisterRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectRegisterRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectRegisterRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectRegisterRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectRegisterRequestValidationError{} - -// Validate checks the field values on ProjectRegisterResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectRegisterResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ProjectRegisterResponseValidationError is the validation error returned by -// ProjectRegisterResponse.Validate if the designated constraints aren't met. -type ProjectRegisterResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectRegisterResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectRegisterResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectRegisterResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectRegisterResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectRegisterResponseValidationError) ErrorName() string { - return "ProjectRegisterResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectRegisterResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectRegisterResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectRegisterResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectRegisterResponseValidationError{} - -// Validate checks the field values on ProjectUpdateResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectUpdateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ProjectUpdateResponseValidationError is the validation error returned by -// ProjectUpdateResponse.Validate if the designated constraints aren't met. -type ProjectUpdateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectUpdateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectUpdateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectUpdateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectUpdateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectUpdateResponseValidationError) ErrorName() string { - return "ProjectUpdateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectUpdateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectUpdateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectUpdateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectUpdateResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.validate.go deleted file mode 100644 index 301ed25cc2..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.validate.go +++ /dev/null @@ -1,552 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/project_attributes.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _project_attributes_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ProjectAttributes with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ProjectAttributes) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - if v, ok := interface{}(m.GetMatchingAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectAttributesValidationError{ - field: "MatchingAttributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ProjectAttributesValidationError is the validation error returned by -// ProjectAttributes.Validate if the designated constraints aren't met. -type ProjectAttributesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectAttributesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectAttributesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectAttributesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectAttributesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectAttributesValidationError) ErrorName() string { - return "ProjectAttributesValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectAttributesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectAttributes.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectAttributesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectAttributesValidationError{} - -// Validate checks the field values on ProjectAttributesUpdateRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectAttributesUpdateRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectAttributesUpdateRequestValidationError{ - field: "Attributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ProjectAttributesUpdateRequestValidationError is the validation error -// returned by ProjectAttributesUpdateRequest.Validate if the designated -// constraints aren't met. -type ProjectAttributesUpdateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectAttributesUpdateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectAttributesUpdateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectAttributesUpdateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectAttributesUpdateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectAttributesUpdateRequestValidationError) ErrorName() string { - return "ProjectAttributesUpdateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectAttributesUpdateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectAttributesUpdateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectAttributesUpdateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectAttributesUpdateRequestValidationError{} - -// Validate checks the field values on ProjectAttributesUpdateResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectAttributesUpdateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ProjectAttributesUpdateResponseValidationError is the validation error -// returned by ProjectAttributesUpdateResponse.Validate if the designated -// constraints aren't met. -type ProjectAttributesUpdateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectAttributesUpdateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectAttributesUpdateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectAttributesUpdateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectAttributesUpdateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectAttributesUpdateResponseValidationError) ErrorName() string { - return "ProjectAttributesUpdateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectAttributesUpdateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectAttributesUpdateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectAttributesUpdateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectAttributesUpdateResponseValidationError{} - -// Validate checks the field values on ProjectAttributesGetRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectAttributesGetRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for ResourceType - - return nil -} - -// ProjectAttributesGetRequestValidationError is the validation error returned -// by ProjectAttributesGetRequest.Validate if the designated constraints -// aren't met. -type ProjectAttributesGetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectAttributesGetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectAttributesGetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectAttributesGetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectAttributesGetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectAttributesGetRequestValidationError) ErrorName() string { - return "ProjectAttributesGetRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectAttributesGetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectAttributesGetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectAttributesGetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectAttributesGetRequestValidationError{} - -// Validate checks the field values on ProjectAttributesGetResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectAttributesGetResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectAttributesGetResponseValidationError{ - field: "Attributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ProjectAttributesGetResponseValidationError is the validation error returned -// by ProjectAttributesGetResponse.Validate if the designated constraints -// aren't met. -type ProjectAttributesGetResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectAttributesGetResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectAttributesGetResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectAttributesGetResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectAttributesGetResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectAttributesGetResponseValidationError) ErrorName() string { - return "ProjectAttributesGetResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectAttributesGetResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectAttributesGetResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectAttributesGetResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectAttributesGetResponseValidationError{} - -// Validate checks the field values on ProjectAttributesDeleteRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectAttributesDeleteRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for ResourceType - - return nil -} - -// ProjectAttributesDeleteRequestValidationError is the validation error -// returned by ProjectAttributesDeleteRequest.Validate if the designated -// constraints aren't met. -type ProjectAttributesDeleteRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectAttributesDeleteRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectAttributesDeleteRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectAttributesDeleteRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectAttributesDeleteRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectAttributesDeleteRequestValidationError) ErrorName() string { - return "ProjectAttributesDeleteRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectAttributesDeleteRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectAttributesDeleteRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectAttributesDeleteRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectAttributesDeleteRequestValidationError{} - -// Validate checks the field values on ProjectAttributesDeleteResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectAttributesDeleteResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ProjectAttributesDeleteResponseValidationError is the validation error -// returned by ProjectAttributesDeleteResponse.Validate if the designated -// constraints aren't met. -type ProjectAttributesDeleteResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectAttributesDeleteResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectAttributesDeleteResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectAttributesDeleteResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectAttributesDeleteResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectAttributesDeleteResponseValidationError) ErrorName() string { - return "ProjectAttributesDeleteResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectAttributesDeleteResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectAttributesDeleteResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectAttributesDeleteResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectAttributesDeleteResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.validate.go deleted file mode 100644 index 6e9387c213..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.validate.go +++ /dev/null @@ -1,558 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/project_domain_attributes.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _project_domain_attributes_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ProjectDomainAttributes with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ProjectDomainAttributes) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - if v, ok := interface{}(m.GetMatchingAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectDomainAttributesValidationError{ - field: "MatchingAttributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ProjectDomainAttributesValidationError is the validation error returned by -// ProjectDomainAttributes.Validate if the designated constraints aren't met. -type ProjectDomainAttributesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectDomainAttributesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectDomainAttributesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectDomainAttributesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectDomainAttributesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectDomainAttributesValidationError) ErrorName() string { - return "ProjectDomainAttributesValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectDomainAttributesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectDomainAttributes.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectDomainAttributesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectDomainAttributesValidationError{} - -// Validate checks the field values on ProjectDomainAttributesUpdateRequest -// with the rules defined in the proto definition for this message. If any -// rules are violated, an error is returned. -func (m *ProjectDomainAttributesUpdateRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectDomainAttributesUpdateRequestValidationError{ - field: "Attributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ProjectDomainAttributesUpdateRequestValidationError is the validation error -// returned by ProjectDomainAttributesUpdateRequest.Validate if the designated -// constraints aren't met. -type ProjectDomainAttributesUpdateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectDomainAttributesUpdateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectDomainAttributesUpdateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectDomainAttributesUpdateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectDomainAttributesUpdateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectDomainAttributesUpdateRequestValidationError) ErrorName() string { - return "ProjectDomainAttributesUpdateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectDomainAttributesUpdateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectDomainAttributesUpdateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectDomainAttributesUpdateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectDomainAttributesUpdateRequestValidationError{} - -// Validate checks the field values on ProjectDomainAttributesUpdateResponse -// with the rules defined in the proto definition for this message. If any -// rules are violated, an error is returned. -func (m *ProjectDomainAttributesUpdateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ProjectDomainAttributesUpdateResponseValidationError is the validation error -// returned by ProjectDomainAttributesUpdateResponse.Validate if the -// designated constraints aren't met. -type ProjectDomainAttributesUpdateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectDomainAttributesUpdateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectDomainAttributesUpdateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectDomainAttributesUpdateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectDomainAttributesUpdateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectDomainAttributesUpdateResponseValidationError) ErrorName() string { - return "ProjectDomainAttributesUpdateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectDomainAttributesUpdateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectDomainAttributesUpdateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectDomainAttributesUpdateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectDomainAttributesUpdateResponseValidationError{} - -// Validate checks the field values on ProjectDomainAttributesGetRequest with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *ProjectDomainAttributesGetRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for ResourceType - - return nil -} - -// ProjectDomainAttributesGetRequestValidationError is the validation error -// returned by ProjectDomainAttributesGetRequest.Validate if the designated -// constraints aren't met. -type ProjectDomainAttributesGetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectDomainAttributesGetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectDomainAttributesGetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectDomainAttributesGetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectDomainAttributesGetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectDomainAttributesGetRequestValidationError) ErrorName() string { - return "ProjectDomainAttributesGetRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectDomainAttributesGetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectDomainAttributesGetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectDomainAttributesGetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectDomainAttributesGetRequestValidationError{} - -// Validate checks the field values on ProjectDomainAttributesGetResponse with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *ProjectDomainAttributesGetResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ProjectDomainAttributesGetResponseValidationError{ - field: "Attributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ProjectDomainAttributesGetResponseValidationError is the validation error -// returned by ProjectDomainAttributesGetResponse.Validate if the designated -// constraints aren't met. -type ProjectDomainAttributesGetResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectDomainAttributesGetResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectDomainAttributesGetResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectDomainAttributesGetResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectDomainAttributesGetResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectDomainAttributesGetResponseValidationError) ErrorName() string { - return "ProjectDomainAttributesGetResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectDomainAttributesGetResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectDomainAttributesGetResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectDomainAttributesGetResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectDomainAttributesGetResponseValidationError{} - -// Validate checks the field values on ProjectDomainAttributesDeleteRequest -// with the rules defined in the proto definition for this message. If any -// rules are violated, an error is returned. -func (m *ProjectDomainAttributesDeleteRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for ResourceType - - return nil -} - -// ProjectDomainAttributesDeleteRequestValidationError is the validation error -// returned by ProjectDomainAttributesDeleteRequest.Validate if the designated -// constraints aren't met. -type ProjectDomainAttributesDeleteRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectDomainAttributesDeleteRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectDomainAttributesDeleteRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectDomainAttributesDeleteRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectDomainAttributesDeleteRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectDomainAttributesDeleteRequestValidationError) ErrorName() string { - return "ProjectDomainAttributesDeleteRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectDomainAttributesDeleteRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectDomainAttributesDeleteRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectDomainAttributesDeleteRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectDomainAttributesDeleteRequestValidationError{} - -// Validate checks the field values on ProjectDomainAttributesDeleteResponse -// with the rules defined in the proto definition for this message. If any -// rules are violated, an error is returned. -func (m *ProjectDomainAttributesDeleteResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ProjectDomainAttributesDeleteResponseValidationError is the validation error -// returned by ProjectDomainAttributesDeleteResponse.Validate if the -// designated constraints aren't met. -type ProjectDomainAttributesDeleteResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ProjectDomainAttributesDeleteResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ProjectDomainAttributesDeleteResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ProjectDomainAttributesDeleteResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ProjectDomainAttributesDeleteResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ProjectDomainAttributesDeleteResponseValidationError) ErrorName() string { - return "ProjectDomainAttributesDeleteResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ProjectDomainAttributesDeleteResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sProjectDomainAttributesDeleteResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ProjectDomainAttributesDeleteResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ProjectDomainAttributesDeleteResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.validate.go deleted file mode 100644 index 8c27386f19..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/schedule.pb.validate.go +++ /dev/null @@ -1,271 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/schedule.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _schedule_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on FixedRate with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *FixedRate) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Value - - // no validation rules for Unit - - return nil -} - -// FixedRateValidationError is the validation error returned by -// FixedRate.Validate if the designated constraints aren't met. -type FixedRateValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e FixedRateValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e FixedRateValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e FixedRateValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e FixedRateValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e FixedRateValidationError) ErrorName() string { return "FixedRateValidationError" } - -// Error satisfies the builtin error interface -func (e FixedRateValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sFixedRate.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = FixedRateValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = FixedRateValidationError{} - -// Validate checks the field values on CronSchedule with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *CronSchedule) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Schedule - - // no validation rules for Offset - - return nil -} - -// CronScheduleValidationError is the validation error returned by -// CronSchedule.Validate if the designated constraints aren't met. -type CronScheduleValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CronScheduleValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CronScheduleValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CronScheduleValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CronScheduleValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CronScheduleValidationError) ErrorName() string { return "CronScheduleValidationError" } - -// Error satisfies the builtin error interface -func (e CronScheduleValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCronSchedule.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CronScheduleValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CronScheduleValidationError{} - -// Validate checks the field values on Schedule with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Schedule) Validate() error { - if m == nil { - return nil - } - - // no validation rules for KickoffTimeInputArg - - switch m.ScheduleExpression.(type) { - - case *Schedule_CronExpression: - // no validation rules for CronExpression - - case *Schedule_Rate: - - if v, ok := interface{}(m.GetRate()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScheduleValidationError{ - field: "Rate", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Schedule_CronSchedule: - - if v, ok := interface{}(m.GetCronSchedule()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScheduleValidationError{ - field: "CronSchedule", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ScheduleValidationError is the validation error returned by -// Schedule.Validate if the designated constraints aren't met. -type ScheduleValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ScheduleValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ScheduleValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ScheduleValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ScheduleValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ScheduleValidationError) ErrorName() string { return "ScheduleValidationError" } - -// Error satisfies the builtin error interface -func (e ScheduleValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSchedule.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ScheduleValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ScheduleValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.validate.go deleted file mode 100644 index bd497009e3..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/signal.pb.validate.go +++ /dev/null @@ -1,544 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/signal.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _signal_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on SignalGetOrCreateRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *SignalGetOrCreateRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalGetOrCreateRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalGetOrCreateRequestValidationError{ - field: "Type", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// SignalGetOrCreateRequestValidationError is the validation error returned by -// SignalGetOrCreateRequest.Validate if the designated constraints aren't met. -type SignalGetOrCreateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SignalGetOrCreateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SignalGetOrCreateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SignalGetOrCreateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SignalGetOrCreateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SignalGetOrCreateRequestValidationError) ErrorName() string { - return "SignalGetOrCreateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e SignalGetOrCreateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSignalGetOrCreateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SignalGetOrCreateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SignalGetOrCreateRequestValidationError{} - -// Validate checks the field values on SignalListRequest with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *SignalListRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetWorkflowExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalListRequestValidationError{ - field: "WorkflowExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Limit - - // no validation rules for Token - - // no validation rules for Filters - - if v, ok := interface{}(m.GetSortBy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalListRequestValidationError{ - field: "SortBy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// SignalListRequestValidationError is the validation error returned by -// SignalListRequest.Validate if the designated constraints aren't met. -type SignalListRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SignalListRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SignalListRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SignalListRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SignalListRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SignalListRequestValidationError) ErrorName() string { - return "SignalListRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e SignalListRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSignalListRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SignalListRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SignalListRequestValidationError{} - -// Validate checks the field values on SignalList with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *SignalList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetSignals() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalListValidationError{ - field: fmt.Sprintf("Signals[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// SignalListValidationError is the validation error returned by -// SignalList.Validate if the designated constraints aren't met. -type SignalListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SignalListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SignalListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SignalListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SignalListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SignalListValidationError) ErrorName() string { return "SignalListValidationError" } - -// Error satisfies the builtin error interface -func (e SignalListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSignalList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SignalListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SignalListValidationError{} - -// Validate checks the field values on SignalSetRequest with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *SignalSetRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalSetRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalSetRequestValidationError{ - field: "Value", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// SignalSetRequestValidationError is the validation error returned by -// SignalSetRequest.Validate if the designated constraints aren't met. -type SignalSetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SignalSetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SignalSetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SignalSetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SignalSetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SignalSetRequestValidationError) ErrorName() string { return "SignalSetRequestValidationError" } - -// Error satisfies the builtin error interface -func (e SignalSetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSignalSetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SignalSetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SignalSetRequestValidationError{} - -// Validate checks the field values on SignalSetResponse with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *SignalSetResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// SignalSetResponseValidationError is the validation error returned by -// SignalSetResponse.Validate if the designated constraints aren't met. -type SignalSetResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SignalSetResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SignalSetResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SignalSetResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SignalSetResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SignalSetResponseValidationError) ErrorName() string { - return "SignalSetResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e SignalSetResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSignalSetResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SignalSetResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SignalSetResponseValidationError{} - -// Validate checks the field values on Signal with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Signal) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalValidationError{ - field: "Type", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalValidationError{ - field: "Value", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// SignalValidationError is the validation error returned by Signal.Validate if -// the designated constraints aren't met. -type SignalValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SignalValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SignalValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SignalValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SignalValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SignalValidationError) ErrorName() string { return "SignalValidationError" } - -// Error satisfies the builtin error interface -func (e SignalValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSignal.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SignalValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SignalValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/task.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/task.pb.validate.go deleted file mode 100644 index aa781643a4..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/task.pb.validate.go +++ /dev/null @@ -1,527 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/task.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _task_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on TaskCreateRequest with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *TaskCreateRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskCreateRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskCreateRequestValidationError{ - field: "Spec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskCreateRequestValidationError is the validation error returned by -// TaskCreateRequest.Validate if the designated constraints aren't met. -type TaskCreateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskCreateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskCreateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskCreateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskCreateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskCreateRequestValidationError) ErrorName() string { - return "TaskCreateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskCreateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskCreateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskCreateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskCreateRequestValidationError{} - -// Validate checks the field values on TaskCreateResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskCreateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// TaskCreateResponseValidationError is the validation error returned by -// TaskCreateResponse.Validate if the designated constraints aren't met. -type TaskCreateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskCreateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskCreateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskCreateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskCreateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskCreateResponseValidationError) ErrorName() string { - return "TaskCreateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskCreateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskCreateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskCreateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskCreateResponseValidationError{} - -// Validate checks the field values on Task with the rules defined in the proto -// definition for this message. If any rules are violated, an error is returned. -func (m *Task) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetClosure()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskValidationError{ - field: "Closure", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for ShortDescription - - return nil -} - -// TaskValidationError is the validation error returned by Task.Validate if the -// designated constraints aren't met. -type TaskValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskValidationError) ErrorName() string { return "TaskValidationError" } - -// Error satisfies the builtin error interface -func (e TaskValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTask.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskValidationError{} - -// Validate checks the field values on TaskList with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *TaskList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetTasks() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskListValidationError{ - field: fmt.Sprintf("Tasks[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// TaskListValidationError is the validation error returned by -// TaskList.Validate if the designated constraints aren't met. -type TaskListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskListValidationError) ErrorName() string { return "TaskListValidationError" } - -// Error satisfies the builtin error interface -func (e TaskListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskListValidationError{} - -// Validate checks the field values on TaskSpec with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *TaskSpec) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTemplate()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskSpecValidationError{ - field: "Template", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetDescription()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskSpecValidationError{ - field: "Description", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskSpecValidationError is the validation error returned by -// TaskSpec.Validate if the designated constraints aren't met. -type TaskSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskSpecValidationError) ErrorName() string { return "TaskSpecValidationError" } - -// Error satisfies the builtin error interface -func (e TaskSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskSpecValidationError{} - -// Validate checks the field values on TaskClosure with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *TaskClosure) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetCompiledTask()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskClosureValidationError{ - field: "CompiledTask", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCreatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskClosureValidationError{ - field: "CreatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskClosureValidationError is the validation error returned by -// TaskClosure.Validate if the designated constraints aren't met. -type TaskClosureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskClosureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskClosureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskClosureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskClosureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskClosureValidationError) ErrorName() string { return "TaskClosureValidationError" } - -// Error satisfies the builtin error interface -func (e TaskClosureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskClosure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskClosureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskClosureValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.validate.go deleted file mode 100644 index 34040d213f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/task_execution.pb.validate.go +++ /dev/null @@ -1,852 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/task_execution.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" - - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} - - _ = core.TaskExecution_Phase(0) -) - -// define the regex for a UUID once up-front -var _task_execution_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on TaskExecutionGetRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionGetRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionGetRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskExecutionGetRequestValidationError is the validation error returned by -// TaskExecutionGetRequest.Validate if the designated constraints aren't met. -type TaskExecutionGetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionGetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionGetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionGetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionGetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionGetRequestValidationError) ErrorName() string { - return "TaskExecutionGetRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionGetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionGetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionGetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionGetRequestValidationError{} - -// Validate checks the field values on TaskExecutionListRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionListRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetNodeExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionListRequestValidationError{ - field: "NodeExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Limit - - // no validation rules for Token - - // no validation rules for Filters - - if v, ok := interface{}(m.GetSortBy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionListRequestValidationError{ - field: "SortBy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskExecutionListRequestValidationError is the validation error returned by -// TaskExecutionListRequest.Validate if the designated constraints aren't met. -type TaskExecutionListRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionListRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionListRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionListRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionListRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionListRequestValidationError) ErrorName() string { - return "TaskExecutionListRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionListRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionListRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionListRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionListRequestValidationError{} - -// Validate checks the field values on TaskExecution with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *TaskExecution) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for InputUri - - if v, ok := interface{}(m.GetClosure()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionValidationError{ - field: "Closure", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for IsParent - - return nil -} - -// TaskExecutionValidationError is the validation error returned by -// TaskExecution.Validate if the designated constraints aren't met. -type TaskExecutionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionValidationError) ErrorName() string { return "TaskExecutionValidationError" } - -// Error satisfies the builtin error interface -func (e TaskExecutionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecution.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionValidationError{} - -// Validate checks the field values on TaskExecutionList with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *TaskExecutionList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetTaskExecutions() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionListValidationError{ - field: fmt.Sprintf("TaskExecutions[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// TaskExecutionListValidationError is the validation error returned by -// TaskExecutionList.Validate if the designated constraints aren't met. -type TaskExecutionListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionListValidationError) ErrorName() string { - return "TaskExecutionListValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionListValidationError{} - -// Validate checks the field values on TaskExecutionClosure with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionClosure) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Phase - - for idx, item := range m.GetLogs() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionClosureValidationError{ - field: fmt.Sprintf("Logs[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetStartedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionClosureValidationError{ - field: "StartedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetDuration()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionClosureValidationError{ - field: "Duration", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCreatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionClosureValidationError{ - field: "CreatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetUpdatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionClosureValidationError{ - field: "UpdatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCustomInfo()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionClosureValidationError{ - field: "CustomInfo", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Reason - - // no validation rules for TaskType - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionClosureValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for EventVersion - - for idx, item := range m.GetReasons() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionClosureValidationError{ - field: fmt.Sprintf("Reasons[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - switch m.OutputResult.(type) { - - case *TaskExecutionClosure_OutputUri: - // no validation rules for OutputUri - - case *TaskExecutionClosure_Error: - - if v, ok := interface{}(m.GetError()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionClosureValidationError{ - field: "Error", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *TaskExecutionClosure_OutputData: - - if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionClosureValidationError{ - field: "OutputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// TaskExecutionClosureValidationError is the validation error returned by -// TaskExecutionClosure.Validate if the designated constraints aren't met. -type TaskExecutionClosureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionClosureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionClosureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionClosureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionClosureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionClosureValidationError) ErrorName() string { - return "TaskExecutionClosureValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionClosureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionClosure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionClosureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionClosureValidationError{} - -// Validate checks the field values on Reason with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Reason) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetOccurredAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ReasonValidationError{ - field: "OccurredAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Message - - return nil -} - -// ReasonValidationError is the validation error returned by Reason.Validate if -// the designated constraints aren't met. -type ReasonValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ReasonValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ReasonValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ReasonValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ReasonValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ReasonValidationError) ErrorName() string { return "ReasonValidationError" } - -// Error satisfies the builtin error interface -func (e ReasonValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sReason.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ReasonValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ReasonValidationError{} - -// Validate checks the field values on TaskExecutionGetDataRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionGetDataRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionGetDataRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskExecutionGetDataRequestValidationError is the validation error returned -// by TaskExecutionGetDataRequest.Validate if the designated constraints -// aren't met. -type TaskExecutionGetDataRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionGetDataRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionGetDataRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionGetDataRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionGetDataRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionGetDataRequestValidationError) ErrorName() string { - return "TaskExecutionGetDataRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionGetDataRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionGetDataRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionGetDataRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionGetDataRequestValidationError{} - -// Validate checks the field values on TaskExecutionGetDataResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionGetDataResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionGetDataResponseValidationError{ - field: "Inputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionGetDataResponseValidationError{ - field: "Outputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetFullInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionGetDataResponseValidationError{ - field: "FullInputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetFullOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionGetDataResponseValidationError{ - field: "FullOutputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetFlyteUrls()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionGetDataResponseValidationError{ - field: "FlyteUrls", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskExecutionGetDataResponseValidationError is the validation error returned -// by TaskExecutionGetDataResponse.Validate if the designated constraints -// aren't met. -type TaskExecutionGetDataResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionGetDataResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionGetDataResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionGetDataResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionGetDataResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionGetDataResponseValidationError) ErrorName() string { - return "TaskExecutionGetDataResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionGetDataResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionGetDataResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionGetDataResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionGetDataResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/version.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/version.pb.validate.go deleted file mode 100644 index 697aab8fc1..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/version.pb.validate.go +++ /dev/null @@ -1,251 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/version.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _version_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on GetVersionResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *GetVersionResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetControlPlaneVersion()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetVersionResponseValidationError{ - field: "ControlPlaneVersion", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// GetVersionResponseValidationError is the validation error returned by -// GetVersionResponse.Validate if the designated constraints aren't met. -type GetVersionResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetVersionResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetVersionResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetVersionResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetVersionResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetVersionResponseValidationError) ErrorName() string { - return "GetVersionResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e GetVersionResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetVersionResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetVersionResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetVersionResponseValidationError{} - -// Validate checks the field values on Version with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Version) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Build - - // no validation rules for Version - - // no validation rules for BuildTime - - return nil -} - -// VersionValidationError is the validation error returned by Version.Validate -// if the designated constraints aren't met. -type VersionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e VersionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e VersionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e VersionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e VersionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e VersionValidationError) ErrorName() string { return "VersionValidationError" } - -// Error satisfies the builtin error interface -func (e VersionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sVersion.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = VersionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = VersionValidationError{} - -// Validate checks the field values on GetVersionRequest with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *GetVersionRequest) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// GetVersionRequestValidationError is the validation error returned by -// GetVersionRequest.Validate if the designated constraints aren't met. -type GetVersionRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetVersionRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetVersionRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetVersionRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetVersionRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetVersionRequestValidationError) ErrorName() string { - return "GetVersionRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e GetVersionRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetVersionRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetVersionRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetVersionRequestValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.validate.go deleted file mode 100644 index b5989e2ca7..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/workflow.pb.validate.go +++ /dev/null @@ -1,796 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/workflow.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _workflow_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on WorkflowCreateRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowCreateRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowCreateRequestValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowCreateRequestValidationError{ - field: "Spec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowCreateRequestValidationError is the validation error returned by -// WorkflowCreateRequest.Validate if the designated constraints aren't met. -type WorkflowCreateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowCreateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowCreateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowCreateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowCreateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowCreateRequestValidationError) ErrorName() string { - return "WorkflowCreateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowCreateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowCreateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowCreateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowCreateRequestValidationError{} - -// Validate checks the field values on WorkflowCreateResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowCreateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// WorkflowCreateResponseValidationError is the validation error returned by -// WorkflowCreateResponse.Validate if the designated constraints aren't met. -type WorkflowCreateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowCreateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowCreateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowCreateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowCreateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowCreateResponseValidationError) ErrorName() string { - return "WorkflowCreateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowCreateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowCreateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowCreateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowCreateResponseValidationError{} - -// Validate checks the field values on Workflow with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Workflow) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetClosure()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowValidationError{ - field: "Closure", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for ShortDescription - - return nil -} - -// WorkflowValidationError is the validation error returned by -// Workflow.Validate if the designated constraints aren't met. -type WorkflowValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowValidationError) ErrorName() string { return "WorkflowValidationError" } - -// Error satisfies the builtin error interface -func (e WorkflowValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflow.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowValidationError{} - -// Validate checks the field values on WorkflowList with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *WorkflowList) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetWorkflows() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowListValidationError{ - field: fmt.Sprintf("Workflows[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// WorkflowListValidationError is the validation error returned by -// WorkflowList.Validate if the designated constraints aren't met. -type WorkflowListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowListValidationError) ErrorName() string { return "WorkflowListValidationError" } - -// Error satisfies the builtin error interface -func (e WorkflowListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowListValidationError{} - -// Validate checks the field values on WorkflowSpec with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *WorkflowSpec) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTemplate()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowSpecValidationError{ - field: "Template", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetSubWorkflows() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowSpecValidationError{ - field: fmt.Sprintf("SubWorkflows[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetDescription()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowSpecValidationError{ - field: "Description", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowSpecValidationError is the validation error returned by -// WorkflowSpec.Validate if the designated constraints aren't met. -type WorkflowSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowSpecValidationError) ErrorName() string { return "WorkflowSpecValidationError" } - -// Error satisfies the builtin error interface -func (e WorkflowSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowSpecValidationError{} - -// Validate checks the field values on WorkflowClosure with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *WorkflowClosure) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetCompiledWorkflow()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowClosureValidationError{ - field: "CompiledWorkflow", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCreatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowClosureValidationError{ - field: "CreatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowClosureValidationError is the validation error returned by -// WorkflowClosure.Validate if the designated constraints aren't met. -type WorkflowClosureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowClosureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowClosureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowClosureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowClosureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowClosureValidationError) ErrorName() string { return "WorkflowClosureValidationError" } - -// Error satisfies the builtin error interface -func (e WorkflowClosureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowClosure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowClosureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowClosureValidationError{} - -// Validate checks the field values on WorkflowErrorExistsDifferentStructure -// with the rules defined in the proto definition for this message. If any -// rules are violated, an error is returned. -func (m *WorkflowErrorExistsDifferentStructure) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowErrorExistsDifferentStructureValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowErrorExistsDifferentStructureValidationError is the validation error -// returned by WorkflowErrorExistsDifferentStructure.Validate if the -// designated constraints aren't met. -type WorkflowErrorExistsDifferentStructureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowErrorExistsDifferentStructureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowErrorExistsDifferentStructureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowErrorExistsDifferentStructureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowErrorExistsDifferentStructureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowErrorExistsDifferentStructureValidationError) ErrorName() string { - return "WorkflowErrorExistsDifferentStructureValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowErrorExistsDifferentStructureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowErrorExistsDifferentStructure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowErrorExistsDifferentStructureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowErrorExistsDifferentStructureValidationError{} - -// Validate checks the field values on WorkflowErrorExistsIdenticalStructure -// with the rules defined in the proto definition for this message. If any -// rules are violated, an error is returned. -func (m *WorkflowErrorExistsIdenticalStructure) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowErrorExistsIdenticalStructureValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowErrorExistsIdenticalStructureValidationError is the validation error -// returned by WorkflowErrorExistsIdenticalStructure.Validate if the -// designated constraints aren't met. -type WorkflowErrorExistsIdenticalStructureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowErrorExistsIdenticalStructureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowErrorExistsIdenticalStructureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowErrorExistsIdenticalStructureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowErrorExistsIdenticalStructureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowErrorExistsIdenticalStructureValidationError) ErrorName() string { - return "WorkflowErrorExistsIdenticalStructureValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowErrorExistsIdenticalStructureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowErrorExistsIdenticalStructure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowErrorExistsIdenticalStructureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowErrorExistsIdenticalStructureValidationError{} - -// Validate checks the field values on CreateWorkflowFailureReason with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CreateWorkflowFailureReason) Validate() error { - if m == nil { - return nil - } - - switch m.Reason.(type) { - - case *CreateWorkflowFailureReason_ExistsDifferentStructure: - - if v, ok := interface{}(m.GetExistsDifferentStructure()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateWorkflowFailureReasonValidationError{ - field: "ExistsDifferentStructure", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *CreateWorkflowFailureReason_ExistsIdenticalStructure: - - if v, ok := interface{}(m.GetExistsIdenticalStructure()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateWorkflowFailureReasonValidationError{ - field: "ExistsIdenticalStructure", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// CreateWorkflowFailureReasonValidationError is the validation error returned -// by CreateWorkflowFailureReason.Validate if the designated constraints -// aren't met. -type CreateWorkflowFailureReasonValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateWorkflowFailureReasonValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateWorkflowFailureReasonValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateWorkflowFailureReasonValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateWorkflowFailureReasonValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateWorkflowFailureReasonValidationError) ErrorName() string { - return "CreateWorkflowFailureReasonValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateWorkflowFailureReasonValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateWorkflowFailureReason.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateWorkflowFailureReasonValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateWorkflowFailureReasonValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.validate.go deleted file mode 100644 index e72928d025..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.validate.go +++ /dev/null @@ -1,564 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/admin/workflow_attributes.proto - -package admin - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _workflow_attributes_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on WorkflowAttributes with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowAttributes) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Workflow - - if v, ok := interface{}(m.GetMatchingAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowAttributesValidationError{ - field: "MatchingAttributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowAttributesValidationError is the validation error returned by -// WorkflowAttributes.Validate if the designated constraints aren't met. -type WorkflowAttributesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowAttributesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowAttributesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowAttributesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowAttributesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowAttributesValidationError) ErrorName() string { - return "WorkflowAttributesValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowAttributesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowAttributes.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowAttributesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowAttributesValidationError{} - -// Validate checks the field values on WorkflowAttributesUpdateRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowAttributesUpdateRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowAttributesUpdateRequestValidationError{ - field: "Attributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowAttributesUpdateRequestValidationError is the validation error -// returned by WorkflowAttributesUpdateRequest.Validate if the designated -// constraints aren't met. -type WorkflowAttributesUpdateRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowAttributesUpdateRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowAttributesUpdateRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowAttributesUpdateRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowAttributesUpdateRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowAttributesUpdateRequestValidationError) ErrorName() string { - return "WorkflowAttributesUpdateRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowAttributesUpdateRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowAttributesUpdateRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowAttributesUpdateRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowAttributesUpdateRequestValidationError{} - -// Validate checks the field values on WorkflowAttributesUpdateResponse with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *WorkflowAttributesUpdateResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// WorkflowAttributesUpdateResponseValidationError is the validation error -// returned by WorkflowAttributesUpdateResponse.Validate if the designated -// constraints aren't met. -type WorkflowAttributesUpdateResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowAttributesUpdateResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowAttributesUpdateResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowAttributesUpdateResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowAttributesUpdateResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowAttributesUpdateResponseValidationError) ErrorName() string { - return "WorkflowAttributesUpdateResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowAttributesUpdateResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowAttributesUpdateResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowAttributesUpdateResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowAttributesUpdateResponseValidationError{} - -// Validate checks the field values on WorkflowAttributesGetRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowAttributesGetRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Workflow - - // no validation rules for ResourceType - - return nil -} - -// WorkflowAttributesGetRequestValidationError is the validation error returned -// by WorkflowAttributesGetRequest.Validate if the designated constraints -// aren't met. -type WorkflowAttributesGetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowAttributesGetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowAttributesGetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowAttributesGetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowAttributesGetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowAttributesGetRequestValidationError) ErrorName() string { - return "WorkflowAttributesGetRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowAttributesGetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowAttributesGetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowAttributesGetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowAttributesGetRequestValidationError{} - -// Validate checks the field values on WorkflowAttributesGetResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowAttributesGetResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetAttributes()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowAttributesGetResponseValidationError{ - field: "Attributes", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowAttributesGetResponseValidationError is the validation error -// returned by WorkflowAttributesGetResponse.Validate if the designated -// constraints aren't met. -type WorkflowAttributesGetResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowAttributesGetResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowAttributesGetResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowAttributesGetResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowAttributesGetResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowAttributesGetResponseValidationError) ErrorName() string { - return "WorkflowAttributesGetResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowAttributesGetResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowAttributesGetResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowAttributesGetResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowAttributesGetResponseValidationError{} - -// Validate checks the field values on WorkflowAttributesDeleteRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowAttributesDeleteRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Workflow - - // no validation rules for ResourceType - - return nil -} - -// WorkflowAttributesDeleteRequestValidationError is the validation error -// returned by WorkflowAttributesDeleteRequest.Validate if the designated -// constraints aren't met. -type WorkflowAttributesDeleteRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowAttributesDeleteRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowAttributesDeleteRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowAttributesDeleteRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowAttributesDeleteRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowAttributesDeleteRequestValidationError) ErrorName() string { - return "WorkflowAttributesDeleteRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowAttributesDeleteRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowAttributesDeleteRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowAttributesDeleteRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowAttributesDeleteRequestValidationError{} - -// Validate checks the field values on WorkflowAttributesDeleteResponse with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *WorkflowAttributesDeleteResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// WorkflowAttributesDeleteResponseValidationError is the validation error -// returned by WorkflowAttributesDeleteResponse.Validate if the designated -// constraints aren't met. -type WorkflowAttributesDeleteResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowAttributesDeleteResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowAttributesDeleteResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowAttributesDeleteResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowAttributesDeleteResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowAttributesDeleteResponseValidationError) ErrorName() string { - return "WorkflowAttributesDeleteResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowAttributesDeleteResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowAttributesDeleteResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowAttributesDeleteResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowAttributesDeleteResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go deleted file mode 100644 index e934e168e6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.validate.go +++ /dev/null @@ -1,1984 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/artifact/artifacts.proto - -package artifact - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _artifacts_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on Artifact with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Artifact) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactValidationError{ - field: "ArtifactId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactValidationError{ - field: "Spec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetSource()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactValidationError{ - field: "Source", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ArtifactValidationError is the validation error returned by -// Artifact.Validate if the designated constraints aren't met. -type ArtifactValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactValidationError) ErrorName() string { return "ArtifactValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifact.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactValidationError{} - -// Validate checks the field values on CreateArtifactRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CreateArtifactRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateArtifactRequestValidationError{ - field: "ArtifactKey", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Version - - if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateArtifactRequestValidationError{ - field: "Spec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Partitions - - // no validation rules for Tag - - if v, ok := interface{}(m.GetSource()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateArtifactRequestValidationError{ - field: "Source", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CreateArtifactRequestValidationError is the validation error returned by -// CreateArtifactRequest.Validate if the designated constraints aren't met. -type CreateArtifactRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateArtifactRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateArtifactRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateArtifactRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateArtifactRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateArtifactRequestValidationError) ErrorName() string { - return "CreateArtifactRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateArtifactRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateArtifactRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateArtifactRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateArtifactRequestValidationError{} - -// Validate checks the field values on ArtifactSource with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ArtifactSource) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetWorkflowExecution()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactSourceValidationError{ - field: "WorkflowExecution", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for NodeId - - if v, ok := interface{}(m.GetTaskId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactSourceValidationError{ - field: "TaskId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for RetryAttempt - - // no validation rules for Principal - - return nil -} - -// ArtifactSourceValidationError is the validation error returned by -// ArtifactSource.Validate if the designated constraints aren't met. -type ArtifactSourceValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactSourceValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactSourceValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactSourceValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactSourceValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactSourceValidationError) ErrorName() string { return "ArtifactSourceValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactSourceValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactSource.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactSourceValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactSourceValidationError{} - -// Validate checks the field values on ArtifactSpec with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ArtifactSpec) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactSpecValidationError{ - field: "Value", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactSpecValidationError{ - field: "Type", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for ShortDescription - - if v, ok := interface{}(m.GetUserMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactSpecValidationError{ - field: "UserMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for MetadataType - - return nil -} - -// ArtifactSpecValidationError is the validation error returned by -// ArtifactSpec.Validate if the designated constraints aren't met. -type ArtifactSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactSpecValidationError) ErrorName() string { return "ArtifactSpecValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactSpecValidationError{} - -// Validate checks the field values on CreateArtifactResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CreateArtifactResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetArtifact()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateArtifactResponseValidationError{ - field: "Artifact", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CreateArtifactResponseValidationError is the validation error returned by -// CreateArtifactResponse.Validate if the designated constraints aren't met. -type CreateArtifactResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateArtifactResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateArtifactResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateArtifactResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateArtifactResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateArtifactResponseValidationError) ErrorName() string { - return "CreateArtifactResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateArtifactResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateArtifactResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateArtifactResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateArtifactResponseValidationError{} - -// Validate checks the field values on GetArtifactRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *GetArtifactRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetQuery()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetArtifactRequestValidationError{ - field: "Query", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Details - - return nil -} - -// GetArtifactRequestValidationError is the validation error returned by -// GetArtifactRequest.Validate if the designated constraints aren't met. -type GetArtifactRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetArtifactRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetArtifactRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetArtifactRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetArtifactRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetArtifactRequestValidationError) ErrorName() string { - return "GetArtifactRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e GetArtifactRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetArtifactRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetArtifactRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetArtifactRequestValidationError{} - -// Validate checks the field values on GetArtifactResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *GetArtifactResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetArtifact()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetArtifactResponseValidationError{ - field: "Artifact", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// GetArtifactResponseValidationError is the validation error returned by -// GetArtifactResponse.Validate if the designated constraints aren't met. -type GetArtifactResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetArtifactResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetArtifactResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetArtifactResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetArtifactResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetArtifactResponseValidationError) ErrorName() string { - return "GetArtifactResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e GetArtifactResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetArtifactResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetArtifactResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetArtifactResponseValidationError{} - -// Validate checks the field values on SearchOptions with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *SearchOptions) Validate() error { - if m == nil { - return nil - } - - // no validation rules for StrictPartitions - - // no validation rules for LatestByKey - - return nil -} - -// SearchOptionsValidationError is the validation error returned by -// SearchOptions.Validate if the designated constraints aren't met. -type SearchOptionsValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SearchOptionsValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SearchOptionsValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SearchOptionsValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SearchOptionsValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SearchOptionsValidationError) ErrorName() string { return "SearchOptionsValidationError" } - -// Error satisfies the builtin error interface -func (e SearchOptionsValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSearchOptions.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SearchOptionsValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SearchOptionsValidationError{} - -// Validate checks the field values on SearchArtifactsRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *SearchArtifactsRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SearchArtifactsRequestValidationError{ - field: "ArtifactKey", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetPartitions()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SearchArtifactsRequestValidationError{ - field: "Partitions", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Principal - - // no validation rules for Version - - if v, ok := interface{}(m.GetOptions()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SearchArtifactsRequestValidationError{ - field: "Options", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Token - - // no validation rules for Limit - - return nil -} - -// SearchArtifactsRequestValidationError is the validation error returned by -// SearchArtifactsRequest.Validate if the designated constraints aren't met. -type SearchArtifactsRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SearchArtifactsRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SearchArtifactsRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SearchArtifactsRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SearchArtifactsRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SearchArtifactsRequestValidationError) ErrorName() string { - return "SearchArtifactsRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e SearchArtifactsRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSearchArtifactsRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SearchArtifactsRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SearchArtifactsRequestValidationError{} - -// Validate checks the field values on SearchArtifactsResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *SearchArtifactsResponse) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetArtifacts() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SearchArtifactsResponseValidationError{ - field: fmt.Sprintf("Artifacts[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Token - - return nil -} - -// SearchArtifactsResponseValidationError is the validation error returned by -// SearchArtifactsResponse.Validate if the designated constraints aren't met. -type SearchArtifactsResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SearchArtifactsResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SearchArtifactsResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SearchArtifactsResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SearchArtifactsResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SearchArtifactsResponseValidationError) ErrorName() string { - return "SearchArtifactsResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e SearchArtifactsResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSearchArtifactsResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SearchArtifactsResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SearchArtifactsResponseValidationError{} - -// Validate checks the field values on FindByWorkflowExecRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *FindByWorkflowExecRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetExecId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return FindByWorkflowExecRequestValidationError{ - field: "ExecId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Direction - - return nil -} - -// FindByWorkflowExecRequestValidationError is the validation error returned by -// FindByWorkflowExecRequest.Validate if the designated constraints aren't met. -type FindByWorkflowExecRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e FindByWorkflowExecRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e FindByWorkflowExecRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e FindByWorkflowExecRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e FindByWorkflowExecRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e FindByWorkflowExecRequestValidationError) ErrorName() string { - return "FindByWorkflowExecRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e FindByWorkflowExecRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sFindByWorkflowExecRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = FindByWorkflowExecRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = FindByWorkflowExecRequestValidationError{} - -// Validate checks the field values on AddTagRequest with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *AddTagRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return AddTagRequestValidationError{ - field: "ArtifactId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Value - - // no validation rules for Overwrite - - return nil -} - -// AddTagRequestValidationError is the validation error returned by -// AddTagRequest.Validate if the designated constraints aren't met. -type AddTagRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AddTagRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AddTagRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AddTagRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AddTagRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AddTagRequestValidationError) ErrorName() string { return "AddTagRequestValidationError" } - -// Error satisfies the builtin error interface -func (e AddTagRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAddTagRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AddTagRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AddTagRequestValidationError{} - -// Validate checks the field values on AddTagResponse with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *AddTagResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// AddTagResponseValidationError is the validation error returned by -// AddTagResponse.Validate if the designated constraints aren't met. -type AddTagResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AddTagResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AddTagResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AddTagResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AddTagResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AddTagResponseValidationError) ErrorName() string { return "AddTagResponseValidationError" } - -// Error satisfies the builtin error interface -func (e AddTagResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAddTagResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AddTagResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AddTagResponseValidationError{} - -// Validate checks the field values on CreateTriggerRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CreateTriggerRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTriggerLaunchPlan()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateTriggerRequestValidationError{ - field: "TriggerLaunchPlan", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CreateTriggerRequestValidationError is the validation error returned by -// CreateTriggerRequest.Validate if the designated constraints aren't met. -type CreateTriggerRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateTriggerRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateTriggerRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateTriggerRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateTriggerRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateTriggerRequestValidationError) ErrorName() string { - return "CreateTriggerRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateTriggerRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateTriggerRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateTriggerRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateTriggerRequestValidationError{} - -// Validate checks the field values on CreateTriggerResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CreateTriggerResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// CreateTriggerResponseValidationError is the validation error returned by -// CreateTriggerResponse.Validate if the designated constraints aren't met. -type CreateTriggerResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateTriggerResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateTriggerResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateTriggerResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateTriggerResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateTriggerResponseValidationError) ErrorName() string { - return "CreateTriggerResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateTriggerResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateTriggerResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateTriggerResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateTriggerResponseValidationError{} - -// Validate checks the field values on DeleteTriggerRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DeleteTriggerRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTriggerId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DeleteTriggerRequestValidationError{ - field: "TriggerId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DeleteTriggerRequestValidationError is the validation error returned by -// DeleteTriggerRequest.Validate if the designated constraints aren't met. -type DeleteTriggerRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DeleteTriggerRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DeleteTriggerRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DeleteTriggerRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DeleteTriggerRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DeleteTriggerRequestValidationError) ErrorName() string { - return "DeleteTriggerRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e DeleteTriggerRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDeleteTriggerRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DeleteTriggerRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DeleteTriggerRequestValidationError{} - -// Validate checks the field values on DeleteTriggerResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DeleteTriggerResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// DeleteTriggerResponseValidationError is the validation error returned by -// DeleteTriggerResponse.Validate if the designated constraints aren't met. -type DeleteTriggerResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DeleteTriggerResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DeleteTriggerResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DeleteTriggerResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DeleteTriggerResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DeleteTriggerResponseValidationError) ErrorName() string { - return "DeleteTriggerResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e DeleteTriggerResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDeleteTriggerResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DeleteTriggerResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DeleteTriggerResponseValidationError{} - -// Validate checks the field values on ArtifactProducer with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ArtifactProducer) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetEntityId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactProducerValidationError{ - field: "EntityId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactProducerValidationError{ - field: "Outputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ArtifactProducerValidationError is the validation error returned by -// ArtifactProducer.Validate if the designated constraints aren't met. -type ArtifactProducerValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactProducerValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactProducerValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactProducerValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactProducerValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactProducerValidationError) ErrorName() string { return "ArtifactProducerValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactProducerValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactProducer.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactProducerValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactProducerValidationError{} - -// Validate checks the field values on RegisterProducerRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *RegisterProducerRequest) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetProducers() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return RegisterProducerRequestValidationError{ - field: fmt.Sprintf("Producers[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// RegisterProducerRequestValidationError is the validation error returned by -// RegisterProducerRequest.Validate if the designated constraints aren't met. -type RegisterProducerRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e RegisterProducerRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e RegisterProducerRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e RegisterProducerRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e RegisterProducerRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e RegisterProducerRequestValidationError) ErrorName() string { - return "RegisterProducerRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e RegisterProducerRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sRegisterProducerRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = RegisterProducerRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = RegisterProducerRequestValidationError{} - -// Validate checks the field values on ArtifactConsumer with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ArtifactConsumer) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetEntityId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactConsumerValidationError{ - field: "EntityId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactConsumerValidationError{ - field: "Inputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ArtifactConsumerValidationError is the validation error returned by -// ArtifactConsumer.Validate if the designated constraints aren't met. -type ArtifactConsumerValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactConsumerValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactConsumerValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactConsumerValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactConsumerValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactConsumerValidationError) ErrorName() string { return "ArtifactConsumerValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactConsumerValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactConsumer.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactConsumerValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactConsumerValidationError{} - -// Validate checks the field values on RegisterConsumerRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *RegisterConsumerRequest) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetConsumers() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return RegisterConsumerRequestValidationError{ - field: fmt.Sprintf("Consumers[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// RegisterConsumerRequestValidationError is the validation error returned by -// RegisterConsumerRequest.Validate if the designated constraints aren't met. -type RegisterConsumerRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e RegisterConsumerRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e RegisterConsumerRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e RegisterConsumerRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e RegisterConsumerRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e RegisterConsumerRequestValidationError) ErrorName() string { - return "RegisterConsumerRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e RegisterConsumerRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sRegisterConsumerRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = RegisterConsumerRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = RegisterConsumerRequestValidationError{} - -// Validate checks the field values on RegisterResponse with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *RegisterResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// RegisterResponseValidationError is the validation error returned by -// RegisterResponse.Validate if the designated constraints aren't met. -type RegisterResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e RegisterResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e RegisterResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e RegisterResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e RegisterResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e RegisterResponseValidationError) ErrorName() string { return "RegisterResponseValidationError" } - -// Error satisfies the builtin error interface -func (e RegisterResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sRegisterResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = RegisterResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = RegisterResponseValidationError{} - -// Validate checks the field values on ExecutionInputsRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionInputsRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionInputsRequestValidationError{ - field: "ExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetInputs() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExecutionInputsRequestValidationError{ - field: fmt.Sprintf("Inputs[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ExecutionInputsRequestValidationError is the validation error returned by -// ExecutionInputsRequest.Validate if the designated constraints aren't met. -type ExecutionInputsRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionInputsRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionInputsRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionInputsRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionInputsRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionInputsRequestValidationError) ErrorName() string { - return "ExecutionInputsRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionInputsRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionInputsRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionInputsRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionInputsRequestValidationError{} - -// Validate checks the field values on ExecutionInputsResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExecutionInputsResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ExecutionInputsResponseValidationError is the validation error returned by -// ExecutionInputsResponse.Validate if the designated constraints aren't met. -type ExecutionInputsResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionInputsResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionInputsResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionInputsResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionInputsResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionInputsResponseValidationError) ErrorName() string { - return "ExecutionInputsResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ExecutionInputsResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionInputsResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionInputsResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionInputsResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go deleted file mode 100644 index 4ae8664822..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/artifact_id.pb.validate.go +++ /dev/null @@ -1,798 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/artifact_id.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _artifact_id_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ArtifactKey with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ArtifactKey) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Name - - return nil -} - -// ArtifactKeyValidationError is the validation error returned by -// ArtifactKey.Validate if the designated constraints aren't met. -type ArtifactKeyValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactKeyValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactKeyValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactKeyValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactKeyValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactKeyValidationError) ErrorName() string { return "ArtifactKeyValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactKeyValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactKey.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactKeyValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactKeyValidationError{} - -// Validate checks the field values on ArtifactBindingData with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ArtifactBindingData) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Index - - // no validation rules for PartitionKey - - // no validation rules for Transform - - return nil -} - -// ArtifactBindingDataValidationError is the validation error returned by -// ArtifactBindingData.Validate if the designated constraints aren't met. -type ArtifactBindingDataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactBindingDataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactBindingDataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactBindingDataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactBindingDataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactBindingDataValidationError) ErrorName() string { - return "ArtifactBindingDataValidationError" -} - -// Error satisfies the builtin error interface -func (e ArtifactBindingDataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactBindingData.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactBindingDataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactBindingDataValidationError{} - -// Validate checks the field values on InputBindingData with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *InputBindingData) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Var - - return nil -} - -// InputBindingDataValidationError is the validation error returned by -// InputBindingData.Validate if the designated constraints aren't met. -type InputBindingDataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e InputBindingDataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e InputBindingDataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e InputBindingDataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e InputBindingDataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e InputBindingDataValidationError) ErrorName() string { return "InputBindingDataValidationError" } - -// Error satisfies the builtin error interface -func (e InputBindingDataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sInputBindingData.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = InputBindingDataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = InputBindingDataValidationError{} - -// Validate checks the field values on LabelValue with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *LabelValue) Validate() error { - if m == nil { - return nil - } - - switch m.Value.(type) { - - case *LabelValue_StaticValue: - // no validation rules for StaticValue - - case *LabelValue_TriggeredBinding: - - if v, ok := interface{}(m.GetTriggeredBinding()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LabelValueValidationError{ - field: "TriggeredBinding", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *LabelValue_InputBinding: - - if v, ok := interface{}(m.GetInputBinding()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LabelValueValidationError{ - field: "InputBinding", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// LabelValueValidationError is the validation error returned by -// LabelValue.Validate if the designated constraints aren't met. -type LabelValueValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LabelValueValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LabelValueValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LabelValueValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LabelValueValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LabelValueValidationError) ErrorName() string { return "LabelValueValidationError" } - -// Error satisfies the builtin error interface -func (e LabelValueValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLabelValue.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LabelValueValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LabelValueValidationError{} - -// Validate checks the field values on Partitions with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Partitions) Validate() error { - if m == nil { - return nil - } - - for key, val := range m.GetValue() { - _ = val - - // no validation rules for Value[key] - - if v, ok := interface{}(val).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return PartitionsValidationError{ - field: fmt.Sprintf("Value[%v]", key), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// PartitionsValidationError is the validation error returned by -// Partitions.Validate if the designated constraints aren't met. -type PartitionsValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e PartitionsValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e PartitionsValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e PartitionsValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e PartitionsValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e PartitionsValidationError) ErrorName() string { return "PartitionsValidationError" } - -// Error satisfies the builtin error interface -func (e PartitionsValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sPartitions.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = PartitionsValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = PartitionsValidationError{} - -// Validate checks the field values on ArtifactID with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *ArtifactID) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactIDValidationError{ - field: "ArtifactKey", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Version - - switch m.Dimensions.(type) { - - case *ArtifactID_Partitions: - - if v, ok := interface{}(m.GetPartitions()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactIDValidationError{ - field: "Partitions", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ArtifactIDValidationError is the validation error returned by -// ArtifactID.Validate if the designated constraints aren't met. -type ArtifactIDValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactIDValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactIDValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactIDValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactIDValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactIDValidationError) ErrorName() string { return "ArtifactIDValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactIDValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactID.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactIDValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactIDValidationError{} - -// Validate checks the field values on ArtifactTag with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ArtifactTag) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetArtifactKey()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactTagValidationError{ - field: "ArtifactKey", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactTagValidationError{ - field: "Value", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ArtifactTagValidationError is the validation error returned by -// ArtifactTag.Validate if the designated constraints aren't met. -type ArtifactTagValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactTagValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactTagValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactTagValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactTagValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactTagValidationError) ErrorName() string { return "ArtifactTagValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactTagValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactTag.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactTagValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactTagValidationError{} - -// Validate checks the field values on ArtifactQuery with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ArtifactQuery) Validate() error { - if m == nil { - return nil - } - - switch m.Identifier.(type) { - - case *ArtifactQuery_ArtifactId: - - if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactQueryValidationError{ - field: "ArtifactId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *ArtifactQuery_ArtifactTag: - - if v, ok := interface{}(m.GetArtifactTag()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactQueryValidationError{ - field: "ArtifactTag", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *ArtifactQuery_Uri: - // no validation rules for Uri - - case *ArtifactQuery_Binding: - - if v, ok := interface{}(m.GetBinding()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactQueryValidationError{ - field: "Binding", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ArtifactQueryValidationError is the validation error returned by -// ArtifactQuery.Validate if the designated constraints aren't met. -type ArtifactQueryValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactQueryValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactQueryValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactQueryValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactQueryValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactQueryValidationError) ErrorName() string { return "ArtifactQueryValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactQueryValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactQuery.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactQueryValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactQueryValidationError{} - -// Validate checks the field values on Trigger with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Trigger) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTriggerId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TriggerValidationError{ - field: "TriggerId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetTriggers() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TriggerValidationError{ - field: fmt.Sprintf("Triggers[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// TriggerValidationError is the validation error returned by Trigger.Validate -// if the designated constraints aren't met. -type TriggerValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TriggerValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TriggerValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TriggerValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TriggerValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TriggerValidationError) ErrorName() string { return "TriggerValidationError" } - -// Error satisfies the builtin error interface -func (e TriggerValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTrigger.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TriggerValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TriggerValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.validate.go deleted file mode 100644 index 86a8905f54..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/catalog.pb.validate.go +++ /dev/null @@ -1,276 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/catalog.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _catalog_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on CatalogArtifactTag with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CatalogArtifactTag) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ArtifactId - - // no validation rules for Name - - return nil -} - -// CatalogArtifactTagValidationError is the validation error returned by -// CatalogArtifactTag.Validate if the designated constraints aren't met. -type CatalogArtifactTagValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CatalogArtifactTagValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CatalogArtifactTagValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CatalogArtifactTagValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CatalogArtifactTagValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CatalogArtifactTagValidationError) ErrorName() string { - return "CatalogArtifactTagValidationError" -} - -// Error satisfies the builtin error interface -func (e CatalogArtifactTagValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCatalogArtifactTag.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CatalogArtifactTagValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CatalogArtifactTagValidationError{} - -// Validate checks the field values on CatalogMetadata with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *CatalogMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetDatasetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CatalogMetadataValidationError{ - field: "DatasetId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetArtifactTag()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CatalogMetadataValidationError{ - field: "ArtifactTag", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.SourceExecution.(type) { - - case *CatalogMetadata_SourceTaskExecution: - - if v, ok := interface{}(m.GetSourceTaskExecution()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CatalogMetadataValidationError{ - field: "SourceTaskExecution", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// CatalogMetadataValidationError is the validation error returned by -// CatalogMetadata.Validate if the designated constraints aren't met. -type CatalogMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CatalogMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CatalogMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CatalogMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CatalogMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CatalogMetadataValidationError) ErrorName() string { return "CatalogMetadataValidationError" } - -// Error satisfies the builtin error interface -func (e CatalogMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCatalogMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CatalogMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CatalogMetadataValidationError{} - -// Validate checks the field values on CatalogReservation with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CatalogReservation) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// CatalogReservationValidationError is the validation error returned by -// CatalogReservation.Validate if the designated constraints aren't met. -type CatalogReservationValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CatalogReservationValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CatalogReservationValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CatalogReservationValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CatalogReservationValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CatalogReservationValidationError) ErrorName() string { - return "CatalogReservationValidationError" -} - -// Error satisfies the builtin error interface -func (e CatalogReservationValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCatalogReservation.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CatalogReservationValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CatalogReservationValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.validate.go deleted file mode 100644 index 5fa2a39c38..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/compiler.pb.validate.go +++ /dev/null @@ -1,470 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/compiler.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _compiler_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ConnectionSet with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ConnectionSet) Validate() error { - if m == nil { - return nil - } - - for key, val := range m.GetDownstream() { - _ = val - - // no validation rules for Downstream[key] - - if v, ok := interface{}(val).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ConnectionSetValidationError{ - field: fmt.Sprintf("Downstream[%v]", key), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for key, val := range m.GetUpstream() { - _ = val - - // no validation rules for Upstream[key] - - if v, ok := interface{}(val).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ConnectionSetValidationError{ - field: fmt.Sprintf("Upstream[%v]", key), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ConnectionSetValidationError is the validation error returned by -// ConnectionSet.Validate if the designated constraints aren't met. -type ConnectionSetValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ConnectionSetValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ConnectionSetValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ConnectionSetValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ConnectionSetValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ConnectionSetValidationError) ErrorName() string { return "ConnectionSetValidationError" } - -// Error satisfies the builtin error interface -func (e ConnectionSetValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sConnectionSet.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ConnectionSetValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ConnectionSetValidationError{} - -// Validate checks the field values on CompiledWorkflow with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *CompiledWorkflow) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTemplate()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CompiledWorkflowValidationError{ - field: "Template", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetConnections()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CompiledWorkflowValidationError{ - field: "Connections", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CompiledWorkflowValidationError is the validation error returned by -// CompiledWorkflow.Validate if the designated constraints aren't met. -type CompiledWorkflowValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CompiledWorkflowValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CompiledWorkflowValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CompiledWorkflowValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CompiledWorkflowValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CompiledWorkflowValidationError) ErrorName() string { return "CompiledWorkflowValidationError" } - -// Error satisfies the builtin error interface -func (e CompiledWorkflowValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCompiledWorkflow.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CompiledWorkflowValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CompiledWorkflowValidationError{} - -// Validate checks the field values on CompiledTask with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *CompiledTask) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTemplate()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CompiledTaskValidationError{ - field: "Template", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CompiledTaskValidationError is the validation error returned by -// CompiledTask.Validate if the designated constraints aren't met. -type CompiledTaskValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CompiledTaskValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CompiledTaskValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CompiledTaskValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CompiledTaskValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CompiledTaskValidationError) ErrorName() string { return "CompiledTaskValidationError" } - -// Error satisfies the builtin error interface -func (e CompiledTaskValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCompiledTask.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CompiledTaskValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CompiledTaskValidationError{} - -// Validate checks the field values on CompiledWorkflowClosure with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CompiledWorkflowClosure) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetPrimary()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CompiledWorkflowClosureValidationError{ - field: "Primary", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetSubWorkflows() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CompiledWorkflowClosureValidationError{ - field: fmt.Sprintf("SubWorkflows[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetTasks() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CompiledWorkflowClosureValidationError{ - field: fmt.Sprintf("Tasks[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// CompiledWorkflowClosureValidationError is the validation error returned by -// CompiledWorkflowClosure.Validate if the designated constraints aren't met. -type CompiledWorkflowClosureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CompiledWorkflowClosureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CompiledWorkflowClosureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CompiledWorkflowClosureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CompiledWorkflowClosureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CompiledWorkflowClosureValidationError) ErrorName() string { - return "CompiledWorkflowClosureValidationError" -} - -// Error satisfies the builtin error interface -func (e CompiledWorkflowClosureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCompiledWorkflowClosure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CompiledWorkflowClosureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CompiledWorkflowClosureValidationError{} - -// Validate checks the field values on ConnectionSet_IdList with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ConnectionSet_IdList) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ConnectionSet_IdListValidationError is the validation error returned by -// ConnectionSet_IdList.Validate if the designated constraints aren't met. -type ConnectionSet_IdListValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ConnectionSet_IdListValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ConnectionSet_IdListValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ConnectionSet_IdListValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ConnectionSet_IdListValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ConnectionSet_IdListValidationError) ErrorName() string { - return "ConnectionSet_IdListValidationError" -} - -// Error satisfies the builtin error interface -func (e ConnectionSet_IdListValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sConnectionSet_IdList.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ConnectionSet_IdListValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ConnectionSet_IdListValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/condition.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/condition.pb.validate.go deleted file mode 100644 index 0eb34fb8ab..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/condition.pb.validate.go +++ /dev/null @@ -1,405 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/condition.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _condition_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ComparisonExpression with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ComparisonExpression) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Operator - - if v, ok := interface{}(m.GetLeftValue()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ComparisonExpressionValidationError{ - field: "LeftValue", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetRightValue()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ComparisonExpressionValidationError{ - field: "RightValue", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ComparisonExpressionValidationError is the validation error returned by -// ComparisonExpression.Validate if the designated constraints aren't met. -type ComparisonExpressionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ComparisonExpressionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ComparisonExpressionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ComparisonExpressionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ComparisonExpressionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ComparisonExpressionValidationError) ErrorName() string { - return "ComparisonExpressionValidationError" -} - -// Error satisfies the builtin error interface -func (e ComparisonExpressionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sComparisonExpression.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ComparisonExpressionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ComparisonExpressionValidationError{} - -// Validate checks the field values on Operand with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Operand) Validate() error { - if m == nil { - return nil - } - - switch m.Val.(type) { - - case *Operand_Primitive: - - if v, ok := interface{}(m.GetPrimitive()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return OperandValidationError{ - field: "Primitive", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Operand_Var: - // no validation rules for Var - - case *Operand_Scalar: - - if v, ok := interface{}(m.GetScalar()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return OperandValidationError{ - field: "Scalar", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// OperandValidationError is the validation error returned by Operand.Validate -// if the designated constraints aren't met. -type OperandValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e OperandValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e OperandValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e OperandValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e OperandValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e OperandValidationError) ErrorName() string { return "OperandValidationError" } - -// Error satisfies the builtin error interface -func (e OperandValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sOperand.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = OperandValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = OperandValidationError{} - -// Validate checks the field values on BooleanExpression with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *BooleanExpression) Validate() error { - if m == nil { - return nil - } - - switch m.Expr.(type) { - - case *BooleanExpression_Conjunction: - - if v, ok := interface{}(m.GetConjunction()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BooleanExpressionValidationError{ - field: "Conjunction", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *BooleanExpression_Comparison: - - if v, ok := interface{}(m.GetComparison()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BooleanExpressionValidationError{ - field: "Comparison", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// BooleanExpressionValidationError is the validation error returned by -// BooleanExpression.Validate if the designated constraints aren't met. -type BooleanExpressionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e BooleanExpressionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e BooleanExpressionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e BooleanExpressionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e BooleanExpressionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e BooleanExpressionValidationError) ErrorName() string { - return "BooleanExpressionValidationError" -} - -// Error satisfies the builtin error interface -func (e BooleanExpressionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sBooleanExpression.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = BooleanExpressionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = BooleanExpressionValidationError{} - -// Validate checks the field values on ConjunctionExpression with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ConjunctionExpression) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Operator - - if v, ok := interface{}(m.GetLeftExpression()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ConjunctionExpressionValidationError{ - field: "LeftExpression", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetRightExpression()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ConjunctionExpressionValidationError{ - field: "RightExpression", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ConjunctionExpressionValidationError is the validation error returned by -// ConjunctionExpression.Validate if the designated constraints aren't met. -type ConjunctionExpressionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ConjunctionExpressionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ConjunctionExpressionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ConjunctionExpressionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ConjunctionExpressionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ConjunctionExpressionValidationError) ErrorName() string { - return "ConjunctionExpressionValidationError" -} - -// Error satisfies the builtin error interface -func (e ConjunctionExpressionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sConjunctionExpression.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ConjunctionExpressionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ConjunctionExpressionValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.validate.go deleted file mode 100644 index 3a74195817..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/dynamic_job.pb.validate.go +++ /dev/null @@ -1,164 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/dynamic_job.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _dynamic_job_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on DynamicJobSpec with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *DynamicJobSpec) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetNodes() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DynamicJobSpecValidationError{ - field: fmt.Sprintf("Nodes[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for MinSuccesses - - for idx, item := range m.GetOutputs() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DynamicJobSpecValidationError{ - field: fmt.Sprintf("Outputs[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetTasks() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DynamicJobSpecValidationError{ - field: fmt.Sprintf("Tasks[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetSubworkflows() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DynamicJobSpecValidationError{ - field: fmt.Sprintf("Subworkflows[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// DynamicJobSpecValidationError is the validation error returned by -// DynamicJobSpec.Validate if the designated constraints aren't met. -type DynamicJobSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DynamicJobSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DynamicJobSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DynamicJobSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DynamicJobSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DynamicJobSpecValidationError) ErrorName() string { return "DynamicJobSpecValidationError" } - -// Error satisfies the builtin error interface -func (e DynamicJobSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDynamicJobSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DynamicJobSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DynamicJobSpecValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/errors.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/errors.pb.validate.go deleted file mode 100644 index 4d091b1e6d..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/errors.pb.validate.go +++ /dev/null @@ -1,185 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/errors.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _errors_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ContainerError with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ContainerError) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Code - - // no validation rules for Message - - // no validation rules for Kind - - // no validation rules for Origin - - return nil -} - -// ContainerErrorValidationError is the validation error returned by -// ContainerError.Validate if the designated constraints aren't met. -type ContainerErrorValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ContainerErrorValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ContainerErrorValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ContainerErrorValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ContainerErrorValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ContainerErrorValidationError) ErrorName() string { return "ContainerErrorValidationError" } - -// Error satisfies the builtin error interface -func (e ContainerErrorValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sContainerError.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ContainerErrorValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ContainerErrorValidationError{} - -// Validate checks the field values on ErrorDocument with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ErrorDocument) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetError()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ErrorDocumentValidationError{ - field: "Error", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ErrorDocumentValidationError is the validation error returned by -// ErrorDocument.Validate if the designated constraints aren't met. -type ErrorDocumentValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ErrorDocumentValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ErrorDocumentValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ErrorDocumentValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ErrorDocumentValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ErrorDocumentValidationError) ErrorName() string { return "ErrorDocumentValidationError" } - -// Error satisfies the builtin error interface -func (e ErrorDocumentValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sErrorDocument.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ErrorDocumentValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ErrorDocumentValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/execution.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/execution.pb.validate.go deleted file mode 100644 index 202cbc6db6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/execution.pb.validate.go +++ /dev/null @@ -1,548 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/execution.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _execution_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on WorkflowExecution with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *WorkflowExecution) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// WorkflowExecutionValidationError is the validation error returned by -// WorkflowExecution.Validate if the designated constraints aren't met. -type WorkflowExecutionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionValidationError) ErrorName() string { - return "WorkflowExecutionValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecution.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionValidationError{} - -// Validate checks the field values on NodeExecution with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *NodeExecution) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// NodeExecutionValidationError is the validation error returned by -// NodeExecution.Validate if the designated constraints aren't met. -type NodeExecutionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionValidationError) ErrorName() string { return "NodeExecutionValidationError" } - -// Error satisfies the builtin error interface -func (e NodeExecutionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecution.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionValidationError{} - -// Validate checks the field values on TaskExecution with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *TaskExecution) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// TaskExecutionValidationError is the validation error returned by -// TaskExecution.Validate if the designated constraints aren't met. -type TaskExecutionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionValidationError) ErrorName() string { return "TaskExecutionValidationError" } - -// Error satisfies the builtin error interface -func (e TaskExecutionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecution.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionValidationError{} - -// Validate checks the field values on ExecutionError with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ExecutionError) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Code - - // no validation rules for Message - - // no validation rules for ErrorUri - - // no validation rules for Kind - - return nil -} - -// ExecutionErrorValidationError is the validation error returned by -// ExecutionError.Validate if the designated constraints aren't met. -type ExecutionErrorValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExecutionErrorValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExecutionErrorValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExecutionErrorValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExecutionErrorValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExecutionErrorValidationError) ErrorName() string { return "ExecutionErrorValidationError" } - -// Error satisfies the builtin error interface -func (e ExecutionErrorValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExecutionError.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExecutionErrorValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExecutionErrorValidationError{} - -// Validate checks the field values on TaskLog with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *TaskLog) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Uri - - // no validation rules for Name - - // no validation rules for MessageFormat - - if v, ok := interface{}(m.GetTtl()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskLogValidationError{ - field: "Ttl", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskLogValidationError is the validation error returned by TaskLog.Validate -// if the designated constraints aren't met. -type TaskLogValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskLogValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskLogValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskLogValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskLogValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskLogValidationError) ErrorName() string { return "TaskLogValidationError" } - -// Error satisfies the builtin error interface -func (e TaskLogValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskLog.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskLogValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskLogValidationError{} - -// Validate checks the field values on QualityOfServiceSpec with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *QualityOfServiceSpec) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetQueueingBudget()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return QualityOfServiceSpecValidationError{ - field: "QueueingBudget", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// QualityOfServiceSpecValidationError is the validation error returned by -// QualityOfServiceSpec.Validate if the designated constraints aren't met. -type QualityOfServiceSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e QualityOfServiceSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e QualityOfServiceSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e QualityOfServiceSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e QualityOfServiceSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e QualityOfServiceSpecValidationError) ErrorName() string { - return "QualityOfServiceSpecValidationError" -} - -// Error satisfies the builtin error interface -func (e QualityOfServiceSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sQualityOfServiceSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = QualityOfServiceSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = QualityOfServiceSpecValidationError{} - -// Validate checks the field values on QualityOfService with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *QualityOfService) Validate() error { - if m == nil { - return nil - } - - switch m.Designation.(type) { - - case *QualityOfService_Tier_: - // no validation rules for Tier - - case *QualityOfService_Spec: - - if v, ok := interface{}(m.GetSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return QualityOfServiceValidationError{ - field: "Spec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// QualityOfServiceValidationError is the validation error returned by -// QualityOfService.Validate if the designated constraints aren't met. -type QualityOfServiceValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e QualityOfServiceValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e QualityOfServiceValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e QualityOfServiceValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e QualityOfServiceValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e QualityOfServiceValidationError) ErrorName() string { return "QualityOfServiceValidationError" } - -// Error satisfies the builtin error interface -func (e QualityOfServiceValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sQualityOfService.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = QualityOfServiceValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = QualityOfServiceValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.validate.go deleted file mode 100644 index ab319a070f..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/identifier.pb.validate.go +++ /dev/null @@ -1,430 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/identifier.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _identifier_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on Identifier with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Identifier) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ResourceType - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Name - - // no validation rules for Version - - return nil -} - -// IdentifierValidationError is the validation error returned by -// Identifier.Validate if the designated constraints aren't met. -type IdentifierValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e IdentifierValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e IdentifierValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e IdentifierValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e IdentifierValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e IdentifierValidationError) ErrorName() string { return "IdentifierValidationError" } - -// Error satisfies the builtin error interface -func (e IdentifierValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sIdentifier.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = IdentifierValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = IdentifierValidationError{} - -// Validate checks the field values on WorkflowExecutionIdentifier with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowExecutionIdentifier) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Domain - - // no validation rules for Name - - return nil -} - -// WorkflowExecutionIdentifierValidationError is the validation error returned -// by WorkflowExecutionIdentifier.Validate if the designated constraints -// aren't met. -type WorkflowExecutionIdentifierValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionIdentifierValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionIdentifierValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionIdentifierValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionIdentifierValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionIdentifierValidationError) ErrorName() string { - return "WorkflowExecutionIdentifierValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionIdentifierValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecutionIdentifier.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionIdentifierValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionIdentifierValidationError{} - -// Validate checks the field values on NodeExecutionIdentifier with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionIdentifier) Validate() error { - if m == nil { - return nil - } - - // no validation rules for NodeId - - if v, ok := interface{}(m.GetExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionIdentifierValidationError{ - field: "ExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// NodeExecutionIdentifierValidationError is the validation error returned by -// NodeExecutionIdentifier.Validate if the designated constraints aren't met. -type NodeExecutionIdentifierValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionIdentifierValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionIdentifierValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionIdentifierValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionIdentifierValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionIdentifierValidationError) ErrorName() string { - return "NodeExecutionIdentifierValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionIdentifierValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionIdentifier.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionIdentifierValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionIdentifierValidationError{} - -// Validate checks the field values on TaskExecutionIdentifier with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionIdentifier) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTaskId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionIdentifierValidationError{ - field: "TaskId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetNodeExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionIdentifierValidationError{ - field: "NodeExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for RetryAttempt - - return nil -} - -// TaskExecutionIdentifierValidationError is the validation error returned by -// TaskExecutionIdentifier.Validate if the designated constraints aren't met. -type TaskExecutionIdentifierValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionIdentifierValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionIdentifierValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionIdentifierValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionIdentifierValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionIdentifierValidationError) ErrorName() string { - return "TaskExecutionIdentifierValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionIdentifierValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionIdentifier.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionIdentifierValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionIdentifierValidationError{} - -// Validate checks the field values on SignalIdentifier with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *SignalIdentifier) Validate() error { - if m == nil { - return nil - } - - // no validation rules for SignalId - - if v, ok := interface{}(m.GetExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalIdentifierValidationError{ - field: "ExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// SignalIdentifierValidationError is the validation error returned by -// SignalIdentifier.Validate if the designated constraints aren't met. -type SignalIdentifierValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SignalIdentifierValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SignalIdentifierValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SignalIdentifierValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SignalIdentifierValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SignalIdentifierValidationError) ErrorName() string { return "SignalIdentifierValidationError" } - -// Error satisfies the builtin error interface -func (e SignalIdentifierValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSignalIdentifier.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SignalIdentifierValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SignalIdentifierValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go deleted file mode 100644 index 91aaf0f6f8..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/interface.pb.validate.go +++ /dev/null @@ -1,499 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/interface.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _interface_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on Variable with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Variable) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return VariableValidationError{ - field: "Type", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Description - - if v, ok := interface{}(m.GetArtifactPartialId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return VariableValidationError{ - field: "ArtifactPartialId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetArtifactTag()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return VariableValidationError{ - field: "ArtifactTag", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// VariableValidationError is the validation error returned by -// Variable.Validate if the designated constraints aren't met. -type VariableValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e VariableValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e VariableValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e VariableValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e VariableValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e VariableValidationError) ErrorName() string { return "VariableValidationError" } - -// Error satisfies the builtin error interface -func (e VariableValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sVariable.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = VariableValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = VariableValidationError{} - -// Validate checks the field values on VariableMap with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *VariableMap) Validate() error { - if m == nil { - return nil - } - - for key, val := range m.GetVariables() { - _ = val - - // no validation rules for Variables[key] - - if v, ok := interface{}(val).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return VariableMapValidationError{ - field: fmt.Sprintf("Variables[%v]", key), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// VariableMapValidationError is the validation error returned by -// VariableMap.Validate if the designated constraints aren't met. -type VariableMapValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e VariableMapValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e VariableMapValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e VariableMapValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e VariableMapValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e VariableMapValidationError) ErrorName() string { return "VariableMapValidationError" } - -// Error satisfies the builtin error interface -func (e VariableMapValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sVariableMap.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = VariableMapValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = VariableMapValidationError{} - -// Validate checks the field values on TypedInterface with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *TypedInterface) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetInputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TypedInterfaceValidationError{ - field: "Inputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetOutputs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TypedInterfaceValidationError{ - field: "Outputs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TypedInterfaceValidationError is the validation error returned by -// TypedInterface.Validate if the designated constraints aren't met. -type TypedInterfaceValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TypedInterfaceValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TypedInterfaceValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TypedInterfaceValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TypedInterfaceValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TypedInterfaceValidationError) ErrorName() string { return "TypedInterfaceValidationError" } - -// Error satisfies the builtin error interface -func (e TypedInterfaceValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTypedInterface.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TypedInterfaceValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TypedInterfaceValidationError{} - -// Validate checks the field values on Parameter with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Parameter) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetVar()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ParameterValidationError{ - field: "Var", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.Behavior.(type) { - - case *Parameter_Default: - - if v, ok := interface{}(m.GetDefault()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ParameterValidationError{ - field: "Default", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Parameter_Required: - // no validation rules for Required - - case *Parameter_ArtifactQuery: - - if v, ok := interface{}(m.GetArtifactQuery()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ParameterValidationError{ - field: "ArtifactQuery", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Parameter_ArtifactId: - - if v, ok := interface{}(m.GetArtifactId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ParameterValidationError{ - field: "ArtifactId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ParameterValidationError is the validation error returned by -// Parameter.Validate if the designated constraints aren't met. -type ParameterValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ParameterValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ParameterValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ParameterValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ParameterValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ParameterValidationError) ErrorName() string { return "ParameterValidationError" } - -// Error satisfies the builtin error interface -func (e ParameterValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sParameter.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ParameterValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ParameterValidationError{} - -// Validate checks the field values on ParameterMap with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ParameterMap) Validate() error { - if m == nil { - return nil - } - - for key, val := range m.GetParameters() { - _ = val - - // no validation rules for Parameters[key] - - if v, ok := interface{}(val).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ParameterMapValidationError{ - field: fmt.Sprintf("Parameters[%v]", key), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ParameterMapValidationError is the validation error returned by -// ParameterMap.Validate if the designated constraints aren't met. -type ParameterMapValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ParameterMapValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ParameterMapValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ParameterMapValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ParameterMapValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ParameterMapValidationError) ErrorName() string { return "ParameterMapValidationError" } - -// Error satisfies the builtin error interface -func (e ParameterMapValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sParameterMap.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ParameterMapValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ParameterMapValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go deleted file mode 100644 index 5f720bc247..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/literals.pb.validate.go +++ /dev/null @@ -1,1764 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/literals.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _literals_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on Primitive with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Primitive) Validate() error { - if m == nil { - return nil - } - - switch m.Value.(type) { - - case *Primitive_Integer: - // no validation rules for Integer - - case *Primitive_FloatValue: - // no validation rules for FloatValue - - case *Primitive_StringValue: - // no validation rules for StringValue - - case *Primitive_Boolean: - // no validation rules for Boolean - - case *Primitive_Datetime: - - if v, ok := interface{}(m.GetDatetime()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return PrimitiveValidationError{ - field: "Datetime", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Primitive_Duration: - - if v, ok := interface{}(m.GetDuration()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return PrimitiveValidationError{ - field: "Duration", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// PrimitiveValidationError is the validation error returned by -// Primitive.Validate if the designated constraints aren't met. -type PrimitiveValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e PrimitiveValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e PrimitiveValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e PrimitiveValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e PrimitiveValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e PrimitiveValidationError) ErrorName() string { return "PrimitiveValidationError" } - -// Error satisfies the builtin error interface -func (e PrimitiveValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sPrimitive.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = PrimitiveValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = PrimitiveValidationError{} - -// Validate checks the field values on Void with the rules defined in the proto -// definition for this message. If any rules are violated, an error is returned. -func (m *Void) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// VoidValidationError is the validation error returned by Void.Validate if the -// designated constraints aren't met. -type VoidValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e VoidValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e VoidValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e VoidValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e VoidValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e VoidValidationError) ErrorName() string { return "VoidValidationError" } - -// Error satisfies the builtin error interface -func (e VoidValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sVoid.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = VoidValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = VoidValidationError{} - -// Validate checks the field values on Blob with the rules defined in the proto -// definition for this message. If any rules are violated, an error is returned. -func (m *Blob) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BlobValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Uri - - return nil -} - -// BlobValidationError is the validation error returned by Blob.Validate if the -// designated constraints aren't met. -type BlobValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e BlobValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e BlobValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e BlobValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e BlobValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e BlobValidationError) ErrorName() string { return "BlobValidationError" } - -// Error satisfies the builtin error interface -func (e BlobValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sBlob.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = BlobValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = BlobValidationError{} - -// Validate checks the field values on BlobMetadata with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *BlobMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BlobMetadataValidationError{ - field: "Type", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// BlobMetadataValidationError is the validation error returned by -// BlobMetadata.Validate if the designated constraints aren't met. -type BlobMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e BlobMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e BlobMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e BlobMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e BlobMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e BlobMetadataValidationError) ErrorName() string { return "BlobMetadataValidationError" } - -// Error satisfies the builtin error interface -func (e BlobMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sBlobMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = BlobMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = BlobMetadataValidationError{} - -// Validate checks the field values on Binary with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Binary) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Value - - // no validation rules for Tag - - return nil -} - -// BinaryValidationError is the validation error returned by Binary.Validate if -// the designated constraints aren't met. -type BinaryValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e BinaryValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e BinaryValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e BinaryValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e BinaryValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e BinaryValidationError) ErrorName() string { return "BinaryValidationError" } - -// Error satisfies the builtin error interface -func (e BinaryValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sBinary.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = BinaryValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = BinaryValidationError{} - -// Validate checks the field values on Schema with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Schema) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Uri - - if v, ok := interface{}(m.GetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SchemaValidationError{ - field: "Type", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// SchemaValidationError is the validation error returned by Schema.Validate if -// the designated constraints aren't met. -type SchemaValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SchemaValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SchemaValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SchemaValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SchemaValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SchemaValidationError) ErrorName() string { return "SchemaValidationError" } - -// Error satisfies the builtin error interface -func (e SchemaValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSchema.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SchemaValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SchemaValidationError{} - -// Validate checks the field values on Union with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Union) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return UnionValidationError{ - field: "Value", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return UnionValidationError{ - field: "Type", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// UnionValidationError is the validation error returned by Union.Validate if -// the designated constraints aren't met. -type UnionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e UnionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e UnionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e UnionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e UnionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e UnionValidationError) ErrorName() string { return "UnionValidationError" } - -// Error satisfies the builtin error interface -func (e UnionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sUnion.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = UnionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = UnionValidationError{} - -// Validate checks the field values on StructuredDatasetMetadata with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *StructuredDatasetMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetStructuredDatasetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return StructuredDatasetMetadataValidationError{ - field: "StructuredDatasetType", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// StructuredDatasetMetadataValidationError is the validation error returned by -// StructuredDatasetMetadata.Validate if the designated constraints aren't met. -type StructuredDatasetMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e StructuredDatasetMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e StructuredDatasetMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e StructuredDatasetMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e StructuredDatasetMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e StructuredDatasetMetadataValidationError) ErrorName() string { - return "StructuredDatasetMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e StructuredDatasetMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sStructuredDatasetMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = StructuredDatasetMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = StructuredDatasetMetadataValidationError{} - -// Validate checks the field values on StructuredDataset with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *StructuredDataset) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Uri - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return StructuredDatasetValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// StructuredDatasetValidationError is the validation error returned by -// StructuredDataset.Validate if the designated constraints aren't met. -type StructuredDatasetValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e StructuredDatasetValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e StructuredDatasetValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e StructuredDatasetValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e StructuredDatasetValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e StructuredDatasetValidationError) ErrorName() string { - return "StructuredDatasetValidationError" -} - -// Error satisfies the builtin error interface -func (e StructuredDatasetValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sStructuredDataset.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = StructuredDatasetValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = StructuredDatasetValidationError{} - -// Validate checks the field values on Scalar with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Scalar) Validate() error { - if m == nil { - return nil - } - - switch m.Value.(type) { - - case *Scalar_Primitive: - - if v, ok := interface{}(m.GetPrimitive()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScalarValidationError{ - field: "Primitive", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Scalar_Blob: - - if v, ok := interface{}(m.GetBlob()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScalarValidationError{ - field: "Blob", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Scalar_Binary: - - if v, ok := interface{}(m.GetBinary()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScalarValidationError{ - field: "Binary", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Scalar_Schema: - - if v, ok := interface{}(m.GetSchema()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScalarValidationError{ - field: "Schema", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Scalar_NoneType: - - if v, ok := interface{}(m.GetNoneType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScalarValidationError{ - field: "NoneType", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Scalar_Error: - - if v, ok := interface{}(m.GetError()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScalarValidationError{ - field: "Error", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Scalar_Generic: - - if v, ok := interface{}(m.GetGeneric()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScalarValidationError{ - field: "Generic", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Scalar_StructuredDataset: - - if v, ok := interface{}(m.GetStructuredDataset()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScalarValidationError{ - field: "StructuredDataset", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Scalar_Union: - - if v, ok := interface{}(m.GetUnion()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ScalarValidationError{ - field: "Union", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ScalarValidationError is the validation error returned by Scalar.Validate if -// the designated constraints aren't met. -type ScalarValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ScalarValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ScalarValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ScalarValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ScalarValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ScalarValidationError) ErrorName() string { return "ScalarValidationError" } - -// Error satisfies the builtin error interface -func (e ScalarValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sScalar.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ScalarValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ScalarValidationError{} - -// Validate checks the field values on Literal with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Literal) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Hash - - // no validation rules for Metadata - - switch m.Value.(type) { - - case *Literal_Scalar: - - if v, ok := interface{}(m.GetScalar()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralValidationError{ - field: "Scalar", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Literal_Collection: - - if v, ok := interface{}(m.GetCollection()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralValidationError{ - field: "Collection", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Literal_Map: - - if v, ok := interface{}(m.GetMap()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralValidationError{ - field: "Map", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// LiteralValidationError is the validation error returned by Literal.Validate -// if the designated constraints aren't met. -type LiteralValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LiteralValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LiteralValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LiteralValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LiteralValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LiteralValidationError) ErrorName() string { return "LiteralValidationError" } - -// Error satisfies the builtin error interface -func (e LiteralValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLiteral.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LiteralValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LiteralValidationError{} - -// Validate checks the field values on LiteralCollection with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *LiteralCollection) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetLiterals() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralCollectionValidationError{ - field: fmt.Sprintf("Literals[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// LiteralCollectionValidationError is the validation error returned by -// LiteralCollection.Validate if the designated constraints aren't met. -type LiteralCollectionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LiteralCollectionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LiteralCollectionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LiteralCollectionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LiteralCollectionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LiteralCollectionValidationError) ErrorName() string { - return "LiteralCollectionValidationError" -} - -// Error satisfies the builtin error interface -func (e LiteralCollectionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLiteralCollection.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LiteralCollectionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LiteralCollectionValidationError{} - -// Validate checks the field values on LiteralMap with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *LiteralMap) Validate() error { - if m == nil { - return nil - } - - for key, val := range m.GetLiterals() { - _ = val - - // no validation rules for Literals[key] - - if v, ok := interface{}(val).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralMapValidationError{ - field: fmt.Sprintf("Literals[%v]", key), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// LiteralMapValidationError is the validation error returned by -// LiteralMap.Validate if the designated constraints aren't met. -type LiteralMapValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LiteralMapValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LiteralMapValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LiteralMapValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LiteralMapValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LiteralMapValidationError) ErrorName() string { return "LiteralMapValidationError" } - -// Error satisfies the builtin error interface -func (e LiteralMapValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLiteralMap.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LiteralMapValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LiteralMapValidationError{} - -// Validate checks the field values on BindingDataCollection with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *BindingDataCollection) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetBindings() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BindingDataCollectionValidationError{ - field: fmt.Sprintf("Bindings[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// BindingDataCollectionValidationError is the validation error returned by -// BindingDataCollection.Validate if the designated constraints aren't met. -type BindingDataCollectionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e BindingDataCollectionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e BindingDataCollectionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e BindingDataCollectionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e BindingDataCollectionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e BindingDataCollectionValidationError) ErrorName() string { - return "BindingDataCollectionValidationError" -} - -// Error satisfies the builtin error interface -func (e BindingDataCollectionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sBindingDataCollection.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = BindingDataCollectionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = BindingDataCollectionValidationError{} - -// Validate checks the field values on BindingDataMap with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *BindingDataMap) Validate() error { - if m == nil { - return nil - } - - for key, val := range m.GetBindings() { - _ = val - - // no validation rules for Bindings[key] - - if v, ok := interface{}(val).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BindingDataMapValidationError{ - field: fmt.Sprintf("Bindings[%v]", key), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// BindingDataMapValidationError is the validation error returned by -// BindingDataMap.Validate if the designated constraints aren't met. -type BindingDataMapValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e BindingDataMapValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e BindingDataMapValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e BindingDataMapValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e BindingDataMapValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e BindingDataMapValidationError) ErrorName() string { return "BindingDataMapValidationError" } - -// Error satisfies the builtin error interface -func (e BindingDataMapValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sBindingDataMap.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = BindingDataMapValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = BindingDataMapValidationError{} - -// Validate checks the field values on UnionInfo with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *UnionInfo) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTargetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return UnionInfoValidationError{ - field: "TargetType", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// UnionInfoValidationError is the validation error returned by -// UnionInfo.Validate if the designated constraints aren't met. -type UnionInfoValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e UnionInfoValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e UnionInfoValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e UnionInfoValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e UnionInfoValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e UnionInfoValidationError) ErrorName() string { return "UnionInfoValidationError" } - -// Error satisfies the builtin error interface -func (e UnionInfoValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sUnionInfo.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = UnionInfoValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = UnionInfoValidationError{} - -// Validate checks the field values on BindingData with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *BindingData) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetUnion()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BindingDataValidationError{ - field: "Union", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.Value.(type) { - - case *BindingData_Scalar: - - if v, ok := interface{}(m.GetScalar()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BindingDataValidationError{ - field: "Scalar", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *BindingData_Collection: - - if v, ok := interface{}(m.GetCollection()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BindingDataValidationError{ - field: "Collection", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *BindingData_Promise: - - if v, ok := interface{}(m.GetPromise()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BindingDataValidationError{ - field: "Promise", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *BindingData_Map: - - if v, ok := interface{}(m.GetMap()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BindingDataValidationError{ - field: "Map", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// BindingDataValidationError is the validation error returned by -// BindingData.Validate if the designated constraints aren't met. -type BindingDataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e BindingDataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e BindingDataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e BindingDataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e BindingDataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e BindingDataValidationError) ErrorName() string { return "BindingDataValidationError" } - -// Error satisfies the builtin error interface -func (e BindingDataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sBindingData.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = BindingDataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = BindingDataValidationError{} - -// Validate checks the field values on Binding with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Binding) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Var - - if v, ok := interface{}(m.GetBinding()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BindingValidationError{ - field: "Binding", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// BindingValidationError is the validation error returned by Binding.Validate -// if the designated constraints aren't met. -type BindingValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e BindingValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e BindingValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e BindingValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e BindingValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e BindingValidationError) ErrorName() string { return "BindingValidationError" } - -// Error satisfies the builtin error interface -func (e BindingValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sBinding.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = BindingValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = BindingValidationError{} - -// Validate checks the field values on KeyValuePair with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *KeyValuePair) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Key - - // no validation rules for Value - - return nil -} - -// KeyValuePairValidationError is the validation error returned by -// KeyValuePair.Validate if the designated constraints aren't met. -type KeyValuePairValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e KeyValuePairValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e KeyValuePairValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e KeyValuePairValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e KeyValuePairValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e KeyValuePairValidationError) ErrorName() string { return "KeyValuePairValidationError" } - -// Error satisfies the builtin error interface -func (e KeyValuePairValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sKeyValuePair.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = KeyValuePairValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = KeyValuePairValidationError{} - -// Validate checks the field values on RetryStrategy with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *RetryStrategy) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Retries - - return nil -} - -// RetryStrategyValidationError is the validation error returned by -// RetryStrategy.Validate if the designated constraints aren't met. -type RetryStrategyValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e RetryStrategyValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e RetryStrategyValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e RetryStrategyValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e RetryStrategyValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e RetryStrategyValidationError) ErrorName() string { return "RetryStrategyValidationError" } - -// Error satisfies the builtin error interface -func (e RetryStrategyValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sRetryStrategy.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = RetryStrategyValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = RetryStrategyValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.validate.go deleted file mode 100644 index 3c14669ee8..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/metrics.pb.validate.go +++ /dev/null @@ -1,179 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/metrics.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _metrics_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on Span with the rules defined in the proto -// definition for this message. If any rules are violated, an error is returned. -func (m *Span) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetStartTime()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SpanValidationError{ - field: "StartTime", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetEndTime()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SpanValidationError{ - field: "EndTime", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetSpans() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SpanValidationError{ - field: fmt.Sprintf("Spans[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - switch m.Id.(type) { - - case *Span_WorkflowId: - - if v, ok := interface{}(m.GetWorkflowId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SpanValidationError{ - field: "WorkflowId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Span_NodeId: - - if v, ok := interface{}(m.GetNodeId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SpanValidationError{ - field: "NodeId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Span_TaskId: - - if v, ok := interface{}(m.GetTaskId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SpanValidationError{ - field: "TaskId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Span_OperationId: - // no validation rules for OperationId - - } - - return nil -} - -// SpanValidationError is the validation error returned by Span.Validate if the -// designated constraints aren't met. -type SpanValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SpanValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SpanValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SpanValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SpanValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SpanValidationError) ErrorName() string { return "SpanValidationError" } - -// Error satisfies the builtin error interface -func (e SpanValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSpan.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SpanValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SpanValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/security.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/security.pb.validate.go deleted file mode 100644 index 139c056aad..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/security.pb.validate.go +++ /dev/null @@ -1,456 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/security.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _security_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on Secret with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Secret) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Group - - // no validation rules for GroupVersion - - // no validation rules for Key - - // no validation rules for MountRequirement - - return nil -} - -// SecretValidationError is the validation error returned by Secret.Validate if -// the designated constraints aren't met. -type SecretValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SecretValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SecretValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SecretValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SecretValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SecretValidationError) ErrorName() string { return "SecretValidationError" } - -// Error satisfies the builtin error interface -func (e SecretValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSecret.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SecretValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SecretValidationError{} - -// Validate checks the field values on OAuth2Client with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *OAuth2Client) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ClientId - - if v, ok := interface{}(m.GetClientSecret()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return OAuth2ClientValidationError{ - field: "ClientSecret", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// OAuth2ClientValidationError is the validation error returned by -// OAuth2Client.Validate if the designated constraints aren't met. -type OAuth2ClientValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e OAuth2ClientValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e OAuth2ClientValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e OAuth2ClientValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e OAuth2ClientValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e OAuth2ClientValidationError) ErrorName() string { return "OAuth2ClientValidationError" } - -// Error satisfies the builtin error interface -func (e OAuth2ClientValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sOAuth2Client.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = OAuth2ClientValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = OAuth2ClientValidationError{} - -// Validate checks the field values on Identity with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Identity) Validate() error { - if m == nil { - return nil - } - - // no validation rules for IamRole - - // no validation rules for K8SServiceAccount - - if v, ok := interface{}(m.GetOauth2Client()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return IdentityValidationError{ - field: "Oauth2Client", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for ExecutionIdentity - - return nil -} - -// IdentityValidationError is the validation error returned by -// Identity.Validate if the designated constraints aren't met. -type IdentityValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e IdentityValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e IdentityValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e IdentityValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e IdentityValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e IdentityValidationError) ErrorName() string { return "IdentityValidationError" } - -// Error satisfies the builtin error interface -func (e IdentityValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sIdentity.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = IdentityValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = IdentityValidationError{} - -// Validate checks the field values on OAuth2TokenRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *OAuth2TokenRequest) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Name - - // no validation rules for Type - - if v, ok := interface{}(m.GetClient()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return OAuth2TokenRequestValidationError{ - field: "Client", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for IdpDiscoveryEndpoint - - // no validation rules for TokenEndpoint - - return nil -} - -// OAuth2TokenRequestValidationError is the validation error returned by -// OAuth2TokenRequest.Validate if the designated constraints aren't met. -type OAuth2TokenRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e OAuth2TokenRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e OAuth2TokenRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e OAuth2TokenRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e OAuth2TokenRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e OAuth2TokenRequestValidationError) ErrorName() string { - return "OAuth2TokenRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e OAuth2TokenRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sOAuth2TokenRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = OAuth2TokenRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = OAuth2TokenRequestValidationError{} - -// Validate checks the field values on SecurityContext with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *SecurityContext) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetRunAs()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SecurityContextValidationError{ - field: "RunAs", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetSecrets() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SecurityContextValidationError{ - field: fmt.Sprintf("Secrets[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetTokens() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SecurityContextValidationError{ - field: fmt.Sprintf("Tokens[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// SecurityContextValidationError is the validation error returned by -// SecurityContext.Validate if the designated constraints aren't met. -type SecurityContextValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SecurityContextValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SecurityContextValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SecurityContextValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SecurityContextValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SecurityContextValidationError) ErrorName() string { return "SecurityContextValidationError" } - -// Error satisfies the builtin error interface -func (e SecurityContextValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSecurityContext.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SecurityContextValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SecurityContextValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.validate.go deleted file mode 100644 index 7731c43125..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/tasks.pb.validate.go +++ /dev/null @@ -1,1300 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/tasks.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _tasks_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on Resources with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Resources) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetRequests() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ResourcesValidationError{ - field: fmt.Sprintf("Requests[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetLimits() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ResourcesValidationError{ - field: fmt.Sprintf("Limits[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ResourcesValidationError is the validation error returned by -// Resources.Validate if the designated constraints aren't met. -type ResourcesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ResourcesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ResourcesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ResourcesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ResourcesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ResourcesValidationError) ErrorName() string { return "ResourcesValidationError" } - -// Error satisfies the builtin error interface -func (e ResourcesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sResources.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ResourcesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ResourcesValidationError{} - -// Validate checks the field values on GPUAccelerator with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *GPUAccelerator) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Device - - switch m.PartitionSizeValue.(type) { - - case *GPUAccelerator_Unpartitioned: - // no validation rules for Unpartitioned - - case *GPUAccelerator_PartitionSize: - // no validation rules for PartitionSize - - } - - return nil -} - -// GPUAcceleratorValidationError is the validation error returned by -// GPUAccelerator.Validate if the designated constraints aren't met. -type GPUAcceleratorValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GPUAcceleratorValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GPUAcceleratorValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GPUAcceleratorValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GPUAcceleratorValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GPUAcceleratorValidationError) ErrorName() string { return "GPUAcceleratorValidationError" } - -// Error satisfies the builtin error interface -func (e GPUAcceleratorValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGPUAccelerator.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GPUAcceleratorValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GPUAcceleratorValidationError{} - -// Validate checks the field values on ExtendedResources with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ExtendedResources) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetGpuAccelerator()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExtendedResourcesValidationError{ - field: "GpuAccelerator", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ExtendedResourcesValidationError is the validation error returned by -// ExtendedResources.Validate if the designated constraints aren't met. -type ExtendedResourcesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExtendedResourcesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExtendedResourcesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExtendedResourcesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExtendedResourcesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExtendedResourcesValidationError) ErrorName() string { - return "ExtendedResourcesValidationError" -} - -// Error satisfies the builtin error interface -func (e ExtendedResourcesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExtendedResources.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExtendedResourcesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExtendedResourcesValidationError{} - -// Validate checks the field values on RuntimeMetadata with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *RuntimeMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Type - - // no validation rules for Version - - // no validation rules for Flavor - - return nil -} - -// RuntimeMetadataValidationError is the validation error returned by -// RuntimeMetadata.Validate if the designated constraints aren't met. -type RuntimeMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e RuntimeMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e RuntimeMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e RuntimeMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e RuntimeMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e RuntimeMetadataValidationError) ErrorName() string { return "RuntimeMetadataValidationError" } - -// Error satisfies the builtin error interface -func (e RuntimeMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sRuntimeMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = RuntimeMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = RuntimeMetadataValidationError{} - -// Validate checks the field values on TaskMetadata with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *TaskMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Discoverable - - if v, ok := interface{}(m.GetRuntime()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskMetadataValidationError{ - field: "Runtime", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetTimeout()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskMetadataValidationError{ - field: "Timeout", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetRetries()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskMetadataValidationError{ - field: "Retries", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for DiscoveryVersion - - // no validation rules for DeprecatedErrorMessage - - // no validation rules for CacheSerializable - - // no validation rules for GeneratesDeck - - // no validation rules for Tags - - // no validation rules for PodTemplateName - - switch m.InterruptibleValue.(type) { - - case *TaskMetadata_Interruptible: - // no validation rules for Interruptible - - } - - return nil -} - -// TaskMetadataValidationError is the validation error returned by -// TaskMetadata.Validate if the designated constraints aren't met. -type TaskMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskMetadataValidationError) ErrorName() string { return "TaskMetadataValidationError" } - -// Error satisfies the builtin error interface -func (e TaskMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskMetadataValidationError{} - -// Validate checks the field values on TaskTemplate with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *TaskTemplate) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskTemplateValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Type - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskTemplateValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetInterface()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskTemplateValidationError{ - field: "Interface", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCustom()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskTemplateValidationError{ - field: "Custom", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for TaskTypeVersion - - if v, ok := interface{}(m.GetSecurityContext()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskTemplateValidationError{ - field: "SecurityContext", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetExtendedResources()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskTemplateValidationError{ - field: "ExtendedResources", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Config - - switch m.Target.(type) { - - case *TaskTemplate_Container: - - if v, ok := interface{}(m.GetContainer()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskTemplateValidationError{ - field: "Container", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *TaskTemplate_K8SPod: - - if v, ok := interface{}(m.GetK8SPod()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskTemplateValidationError{ - field: "K8SPod", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *TaskTemplate_Sql: - - if v, ok := interface{}(m.GetSql()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskTemplateValidationError{ - field: "Sql", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// TaskTemplateValidationError is the validation error returned by -// TaskTemplate.Validate if the designated constraints aren't met. -type TaskTemplateValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskTemplateValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskTemplateValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskTemplateValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskTemplateValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskTemplateValidationError) ErrorName() string { return "TaskTemplateValidationError" } - -// Error satisfies the builtin error interface -func (e TaskTemplateValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskTemplate.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskTemplateValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskTemplateValidationError{} - -// Validate checks the field values on ContainerPort with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ContainerPort) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ContainerPort - - return nil -} - -// ContainerPortValidationError is the validation error returned by -// ContainerPort.Validate if the designated constraints aren't met. -type ContainerPortValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ContainerPortValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ContainerPortValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ContainerPortValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ContainerPortValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ContainerPortValidationError) ErrorName() string { return "ContainerPortValidationError" } - -// Error satisfies the builtin error interface -func (e ContainerPortValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sContainerPort.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ContainerPortValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ContainerPortValidationError{} - -// Validate checks the field values on Container with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Container) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Image - - if v, ok := interface{}(m.GetResources()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ContainerValidationError{ - field: "Resources", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetEnv() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ContainerValidationError{ - field: fmt.Sprintf("Env[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetConfig() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ContainerValidationError{ - field: fmt.Sprintf("Config[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetPorts() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ContainerValidationError{ - field: fmt.Sprintf("Ports[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetDataConfig()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ContainerValidationError{ - field: "DataConfig", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Architecture - - return nil -} - -// ContainerValidationError is the validation error returned by -// Container.Validate if the designated constraints aren't met. -type ContainerValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ContainerValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ContainerValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ContainerValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ContainerValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ContainerValidationError) ErrorName() string { return "ContainerValidationError" } - -// Error satisfies the builtin error interface -func (e ContainerValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sContainer.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ContainerValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ContainerValidationError{} - -// Validate checks the field values on IOStrategy with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *IOStrategy) Validate() error { - if m == nil { - return nil - } - - // no validation rules for DownloadMode - - // no validation rules for UploadMode - - return nil -} - -// IOStrategyValidationError is the validation error returned by -// IOStrategy.Validate if the designated constraints aren't met. -type IOStrategyValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e IOStrategyValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e IOStrategyValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e IOStrategyValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e IOStrategyValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e IOStrategyValidationError) ErrorName() string { return "IOStrategyValidationError" } - -// Error satisfies the builtin error interface -func (e IOStrategyValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sIOStrategy.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = IOStrategyValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = IOStrategyValidationError{} - -// Validate checks the field values on DataLoadingConfig with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *DataLoadingConfig) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Enabled - - // no validation rules for InputPath - - // no validation rules for OutputPath - - // no validation rules for Format - - if v, ok := interface{}(m.GetIoStrategy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DataLoadingConfigValidationError{ - field: "IoStrategy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DataLoadingConfigValidationError is the validation error returned by -// DataLoadingConfig.Validate if the designated constraints aren't met. -type DataLoadingConfigValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DataLoadingConfigValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DataLoadingConfigValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DataLoadingConfigValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DataLoadingConfigValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DataLoadingConfigValidationError) ErrorName() string { - return "DataLoadingConfigValidationError" -} - -// Error satisfies the builtin error interface -func (e DataLoadingConfigValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDataLoadingConfig.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DataLoadingConfigValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DataLoadingConfigValidationError{} - -// Validate checks the field values on K8SPod with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *K8SPod) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return K8SPodValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetPodSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return K8SPodValidationError{ - field: "PodSpec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetDataConfig()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return K8SPodValidationError{ - field: "DataConfig", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// K8SPodValidationError is the validation error returned by K8SPod.Validate if -// the designated constraints aren't met. -type K8SPodValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e K8SPodValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e K8SPodValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e K8SPodValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e K8SPodValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e K8SPodValidationError) ErrorName() string { return "K8SPodValidationError" } - -// Error satisfies the builtin error interface -func (e K8SPodValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sK8SPod.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = K8SPodValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = K8SPodValidationError{} - -// Validate checks the field values on K8SObjectMetadata with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *K8SObjectMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Labels - - // no validation rules for Annotations - - return nil -} - -// K8SObjectMetadataValidationError is the validation error returned by -// K8SObjectMetadata.Validate if the designated constraints aren't met. -type K8SObjectMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e K8SObjectMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e K8SObjectMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e K8SObjectMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e K8SObjectMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e K8SObjectMetadataValidationError) ErrorName() string { - return "K8SObjectMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e K8SObjectMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sK8SObjectMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = K8SObjectMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = K8SObjectMetadataValidationError{} - -// Validate checks the field values on Sql with the rules defined in the proto -// definition for this message. If any rules are violated, an error is returned. -func (m *Sql) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Statement - - // no validation rules for Dialect - - return nil -} - -// SqlValidationError is the validation error returned by Sql.Validate if the -// designated constraints aren't met. -type SqlValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SqlValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SqlValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SqlValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SqlValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SqlValidationError) ErrorName() string { return "SqlValidationError" } - -// Error satisfies the builtin error interface -func (e SqlValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSql.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SqlValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SqlValidationError{} - -// Validate checks the field values on Resources_ResourceEntry with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *Resources_ResourceEntry) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Name - - // no validation rules for Value - - return nil -} - -// Resources_ResourceEntryValidationError is the validation error returned by -// Resources_ResourceEntry.Validate if the designated constraints aren't met. -type Resources_ResourceEntryValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e Resources_ResourceEntryValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e Resources_ResourceEntryValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e Resources_ResourceEntryValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e Resources_ResourceEntryValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e Resources_ResourceEntryValidationError) ErrorName() string { - return "Resources_ResourceEntryValidationError" -} - -// Error satisfies the builtin error interface -func (e Resources_ResourceEntryValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sResources_ResourceEntry.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = Resources_ResourceEntryValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = Resources_ResourceEntryValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/types.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/types.pb.validate.go deleted file mode 100644 index 47a7f6f085..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/types.pb.validate.go +++ /dev/null @@ -1,1138 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/types.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _types_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on SchemaType with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *SchemaType) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetColumns() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SchemaTypeValidationError{ - field: fmt.Sprintf("Columns[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// SchemaTypeValidationError is the validation error returned by -// SchemaType.Validate if the designated constraints aren't met. -type SchemaTypeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SchemaTypeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SchemaTypeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SchemaTypeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SchemaTypeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SchemaTypeValidationError) ErrorName() string { return "SchemaTypeValidationError" } - -// Error satisfies the builtin error interface -func (e SchemaTypeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSchemaType.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SchemaTypeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SchemaTypeValidationError{} - -// Validate checks the field values on StructuredDatasetType with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *StructuredDatasetType) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetColumns() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return StructuredDatasetTypeValidationError{ - field: fmt.Sprintf("Columns[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Format - - // no validation rules for ExternalSchemaType - - // no validation rules for ExternalSchemaBytes - - return nil -} - -// StructuredDatasetTypeValidationError is the validation error returned by -// StructuredDatasetType.Validate if the designated constraints aren't met. -type StructuredDatasetTypeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e StructuredDatasetTypeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e StructuredDatasetTypeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e StructuredDatasetTypeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e StructuredDatasetTypeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e StructuredDatasetTypeValidationError) ErrorName() string { - return "StructuredDatasetTypeValidationError" -} - -// Error satisfies the builtin error interface -func (e StructuredDatasetTypeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sStructuredDatasetType.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = StructuredDatasetTypeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = StructuredDatasetTypeValidationError{} - -// Validate checks the field values on BlobType with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *BlobType) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Format - - // no validation rules for Dimensionality - - return nil -} - -// BlobTypeValidationError is the validation error returned by -// BlobType.Validate if the designated constraints aren't met. -type BlobTypeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e BlobTypeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e BlobTypeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e BlobTypeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e BlobTypeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e BlobTypeValidationError) ErrorName() string { return "BlobTypeValidationError" } - -// Error satisfies the builtin error interface -func (e BlobTypeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sBlobType.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = BlobTypeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = BlobTypeValidationError{} - -// Validate checks the field values on EnumType with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *EnumType) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// EnumTypeValidationError is the validation error returned by -// EnumType.Validate if the designated constraints aren't met. -type EnumTypeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e EnumTypeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e EnumTypeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e EnumTypeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e EnumTypeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e EnumTypeValidationError) ErrorName() string { return "EnumTypeValidationError" } - -// Error satisfies the builtin error interface -func (e EnumTypeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sEnumType.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = EnumTypeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = EnumTypeValidationError{} - -// Validate checks the field values on UnionType with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *UnionType) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetVariants() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return UnionTypeValidationError{ - field: fmt.Sprintf("Variants[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// UnionTypeValidationError is the validation error returned by -// UnionType.Validate if the designated constraints aren't met. -type UnionTypeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e UnionTypeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e UnionTypeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e UnionTypeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e UnionTypeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e UnionTypeValidationError) ErrorName() string { return "UnionTypeValidationError" } - -// Error satisfies the builtin error interface -func (e UnionTypeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sUnionType.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = UnionTypeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = UnionTypeValidationError{} - -// Validate checks the field values on TypeStructure with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *TypeStructure) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Tag - - for key, val := range m.GetDataclassType() { - _ = val - - // no validation rules for DataclassType[key] - - if v, ok := interface{}(val).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TypeStructureValidationError{ - field: fmt.Sprintf("DataclassType[%v]", key), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// TypeStructureValidationError is the validation error returned by -// TypeStructure.Validate if the designated constraints aren't met. -type TypeStructureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TypeStructureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TypeStructureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TypeStructureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TypeStructureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TypeStructureValidationError) ErrorName() string { return "TypeStructureValidationError" } - -// Error satisfies the builtin error interface -func (e TypeStructureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTypeStructure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TypeStructureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TypeStructureValidationError{} - -// Validate checks the field values on TypeAnnotation with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *TypeAnnotation) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetAnnotations()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TypeAnnotationValidationError{ - field: "Annotations", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TypeAnnotationValidationError is the validation error returned by -// TypeAnnotation.Validate if the designated constraints aren't met. -type TypeAnnotationValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TypeAnnotationValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TypeAnnotationValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TypeAnnotationValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TypeAnnotationValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TypeAnnotationValidationError) ErrorName() string { return "TypeAnnotationValidationError" } - -// Error satisfies the builtin error interface -func (e TypeAnnotationValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTypeAnnotation.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TypeAnnotationValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TypeAnnotationValidationError{} - -// Validate checks the field values on LiteralType with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *LiteralType) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralTypeValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetAnnotation()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralTypeValidationError{ - field: "Annotation", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetStructure()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralTypeValidationError{ - field: "Structure", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.Type.(type) { - - case *LiteralType_Simple: - // no validation rules for Simple - - case *LiteralType_Schema: - - if v, ok := interface{}(m.GetSchema()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralTypeValidationError{ - field: "Schema", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *LiteralType_CollectionType: - - if v, ok := interface{}(m.GetCollectionType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralTypeValidationError{ - field: "CollectionType", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *LiteralType_MapValueType: - - if v, ok := interface{}(m.GetMapValueType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralTypeValidationError{ - field: "MapValueType", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *LiteralType_Blob: - - if v, ok := interface{}(m.GetBlob()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralTypeValidationError{ - field: "Blob", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *LiteralType_EnumType: - - if v, ok := interface{}(m.GetEnumType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralTypeValidationError{ - field: "EnumType", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *LiteralType_StructuredDatasetType: - - if v, ok := interface{}(m.GetStructuredDatasetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralTypeValidationError{ - field: "StructuredDatasetType", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *LiteralType_UnionType: - - if v, ok := interface{}(m.GetUnionType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return LiteralTypeValidationError{ - field: "UnionType", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// LiteralTypeValidationError is the validation error returned by -// LiteralType.Validate if the designated constraints aren't met. -type LiteralTypeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e LiteralTypeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e LiteralTypeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e LiteralTypeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e LiteralTypeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e LiteralTypeValidationError) ErrorName() string { return "LiteralTypeValidationError" } - -// Error satisfies the builtin error interface -func (e LiteralTypeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sLiteralType.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = LiteralTypeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = LiteralTypeValidationError{} - -// Validate checks the field values on OutputReference with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *OutputReference) Validate() error { - if m == nil { - return nil - } - - // no validation rules for NodeId - - // no validation rules for Var - - for idx, item := range m.GetAttrPath() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return OutputReferenceValidationError{ - field: fmt.Sprintf("AttrPath[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// OutputReferenceValidationError is the validation error returned by -// OutputReference.Validate if the designated constraints aren't met. -type OutputReferenceValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e OutputReferenceValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e OutputReferenceValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e OutputReferenceValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e OutputReferenceValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e OutputReferenceValidationError) ErrorName() string { return "OutputReferenceValidationError" } - -// Error satisfies the builtin error interface -func (e OutputReferenceValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sOutputReference.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = OutputReferenceValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = OutputReferenceValidationError{} - -// Validate checks the field values on PromiseAttribute with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *PromiseAttribute) Validate() error { - if m == nil { - return nil - } - - switch m.Value.(type) { - - case *PromiseAttribute_StringValue: - // no validation rules for StringValue - - case *PromiseAttribute_IntValue: - // no validation rules for IntValue - - } - - return nil -} - -// PromiseAttributeValidationError is the validation error returned by -// PromiseAttribute.Validate if the designated constraints aren't met. -type PromiseAttributeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e PromiseAttributeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e PromiseAttributeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e PromiseAttributeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e PromiseAttributeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e PromiseAttributeValidationError) ErrorName() string { return "PromiseAttributeValidationError" } - -// Error satisfies the builtin error interface -func (e PromiseAttributeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sPromiseAttribute.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = PromiseAttributeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = PromiseAttributeValidationError{} - -// Validate checks the field values on Error with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Error) Validate() error { - if m == nil { - return nil - } - - // no validation rules for FailedNodeId - - // no validation rules for Message - - return nil -} - -// ErrorValidationError is the validation error returned by Error.Validate if -// the designated constraints aren't met. -type ErrorValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ErrorValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ErrorValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ErrorValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ErrorValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ErrorValidationError) ErrorName() string { return "ErrorValidationError" } - -// Error satisfies the builtin error interface -func (e ErrorValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sError.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ErrorValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ErrorValidationError{} - -// Validate checks the field values on SchemaType_SchemaColumn with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *SchemaType_SchemaColumn) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Name - - // no validation rules for Type - - return nil -} - -// SchemaType_SchemaColumnValidationError is the validation error returned by -// SchemaType_SchemaColumn.Validate if the designated constraints aren't met. -type SchemaType_SchemaColumnValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SchemaType_SchemaColumnValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SchemaType_SchemaColumnValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SchemaType_SchemaColumnValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SchemaType_SchemaColumnValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SchemaType_SchemaColumnValidationError) ErrorName() string { - return "SchemaType_SchemaColumnValidationError" -} - -// Error satisfies the builtin error interface -func (e SchemaType_SchemaColumnValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSchemaType_SchemaColumn.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SchemaType_SchemaColumnValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SchemaType_SchemaColumnValidationError{} - -// Validate checks the field values on StructuredDatasetType_DatasetColumn with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *StructuredDatasetType_DatasetColumn) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Name - - if v, ok := interface{}(m.GetLiteralType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return StructuredDatasetType_DatasetColumnValidationError{ - field: "LiteralType", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// StructuredDatasetType_DatasetColumnValidationError is the validation error -// returned by StructuredDatasetType_DatasetColumn.Validate if the designated -// constraints aren't met. -type StructuredDatasetType_DatasetColumnValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e StructuredDatasetType_DatasetColumnValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e StructuredDatasetType_DatasetColumnValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e StructuredDatasetType_DatasetColumnValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e StructuredDatasetType_DatasetColumnValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e StructuredDatasetType_DatasetColumnValidationError) ErrorName() string { - return "StructuredDatasetType_DatasetColumnValidationError" -} - -// Error satisfies the builtin error interface -func (e StructuredDatasetType_DatasetColumnValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sStructuredDatasetType_DatasetColumn.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = StructuredDatasetType_DatasetColumnValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = StructuredDatasetType_DatasetColumnValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.validate.go deleted file mode 100644 index 7102112d21..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/workflow.pb.validate.go +++ /dev/null @@ -1,1619 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/workflow.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _workflow_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on IfBlock with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *IfBlock) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetCondition()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return IfBlockValidationError{ - field: "Condition", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetThenNode()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return IfBlockValidationError{ - field: "ThenNode", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// IfBlockValidationError is the validation error returned by IfBlock.Validate -// if the designated constraints aren't met. -type IfBlockValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e IfBlockValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e IfBlockValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e IfBlockValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e IfBlockValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e IfBlockValidationError) ErrorName() string { return "IfBlockValidationError" } - -// Error satisfies the builtin error interface -func (e IfBlockValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sIfBlock.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = IfBlockValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = IfBlockValidationError{} - -// Validate checks the field values on IfElseBlock with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *IfElseBlock) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetCase()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return IfElseBlockValidationError{ - field: "Case", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetOther() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return IfElseBlockValidationError{ - field: fmt.Sprintf("Other[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - switch m.Default.(type) { - - case *IfElseBlock_ElseNode: - - if v, ok := interface{}(m.GetElseNode()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return IfElseBlockValidationError{ - field: "ElseNode", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *IfElseBlock_Error: - - if v, ok := interface{}(m.GetError()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return IfElseBlockValidationError{ - field: "Error", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// IfElseBlockValidationError is the validation error returned by -// IfElseBlock.Validate if the designated constraints aren't met. -type IfElseBlockValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e IfElseBlockValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e IfElseBlockValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e IfElseBlockValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e IfElseBlockValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e IfElseBlockValidationError) ErrorName() string { return "IfElseBlockValidationError" } - -// Error satisfies the builtin error interface -func (e IfElseBlockValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sIfElseBlock.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = IfElseBlockValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = IfElseBlockValidationError{} - -// Validate checks the field values on BranchNode with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *BranchNode) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetIfElse()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return BranchNodeValidationError{ - field: "IfElse", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// BranchNodeValidationError is the validation error returned by -// BranchNode.Validate if the designated constraints aren't met. -type BranchNodeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e BranchNodeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e BranchNodeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e BranchNodeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e BranchNodeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e BranchNodeValidationError) ErrorName() string { return "BranchNodeValidationError" } - -// Error satisfies the builtin error interface -func (e BranchNodeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sBranchNode.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = BranchNodeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = BranchNodeValidationError{} - -// Validate checks the field values on TaskNode with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *TaskNode) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetOverrides()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskNodeValidationError{ - field: "Overrides", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.Reference.(type) { - - case *TaskNode_ReferenceId: - - if v, ok := interface{}(m.GetReferenceId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskNodeValidationError{ - field: "ReferenceId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// TaskNodeValidationError is the validation error returned by -// TaskNode.Validate if the designated constraints aren't met. -type TaskNodeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskNodeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskNodeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskNodeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskNodeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskNodeValidationError) ErrorName() string { return "TaskNodeValidationError" } - -// Error satisfies the builtin error interface -func (e TaskNodeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskNode.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskNodeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskNodeValidationError{} - -// Validate checks the field values on WorkflowNode with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *WorkflowNode) Validate() error { - if m == nil { - return nil - } - - switch m.Reference.(type) { - - case *WorkflowNode_LaunchplanRef: - - if v, ok := interface{}(m.GetLaunchplanRef()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowNodeValidationError{ - field: "LaunchplanRef", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *WorkflowNode_SubWorkflowRef: - - if v, ok := interface{}(m.GetSubWorkflowRef()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowNodeValidationError{ - field: "SubWorkflowRef", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// WorkflowNodeValidationError is the validation error returned by -// WorkflowNode.Validate if the designated constraints aren't met. -type WorkflowNodeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowNodeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowNodeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowNodeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowNodeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowNodeValidationError) ErrorName() string { return "WorkflowNodeValidationError" } - -// Error satisfies the builtin error interface -func (e WorkflowNodeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowNode.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowNodeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowNodeValidationError{} - -// Validate checks the field values on ApproveCondition with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ApproveCondition) Validate() error { - if m == nil { - return nil - } - - // no validation rules for SignalId - - return nil -} - -// ApproveConditionValidationError is the validation error returned by -// ApproveCondition.Validate if the designated constraints aren't met. -type ApproveConditionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ApproveConditionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ApproveConditionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ApproveConditionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ApproveConditionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ApproveConditionValidationError) ErrorName() string { return "ApproveConditionValidationError" } - -// Error satisfies the builtin error interface -func (e ApproveConditionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sApproveCondition.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ApproveConditionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ApproveConditionValidationError{} - -// Validate checks the field values on SignalCondition with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *SignalCondition) Validate() error { - if m == nil { - return nil - } - - // no validation rules for SignalId - - if v, ok := interface{}(m.GetType()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SignalConditionValidationError{ - field: "Type", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for OutputVariableName - - return nil -} - -// SignalConditionValidationError is the validation error returned by -// SignalCondition.Validate if the designated constraints aren't met. -type SignalConditionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SignalConditionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SignalConditionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SignalConditionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SignalConditionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SignalConditionValidationError) ErrorName() string { return "SignalConditionValidationError" } - -// Error satisfies the builtin error interface -func (e SignalConditionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSignalCondition.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SignalConditionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SignalConditionValidationError{} - -// Validate checks the field values on SleepCondition with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *SleepCondition) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetDuration()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SleepConditionValidationError{ - field: "Duration", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// SleepConditionValidationError is the validation error returned by -// SleepCondition.Validate if the designated constraints aren't met. -type SleepConditionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SleepConditionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SleepConditionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SleepConditionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SleepConditionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SleepConditionValidationError) ErrorName() string { return "SleepConditionValidationError" } - -// Error satisfies the builtin error interface -func (e SleepConditionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSleepCondition.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SleepConditionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SleepConditionValidationError{} - -// Validate checks the field values on GateNode with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *GateNode) Validate() error { - if m == nil { - return nil - } - - switch m.Condition.(type) { - - case *GateNode_Approve: - - if v, ok := interface{}(m.GetApprove()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GateNodeValidationError{ - field: "Approve", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *GateNode_Signal: - - if v, ok := interface{}(m.GetSignal()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GateNodeValidationError{ - field: "Signal", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *GateNode_Sleep: - - if v, ok := interface{}(m.GetSleep()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GateNodeValidationError{ - field: "Sleep", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// GateNodeValidationError is the validation error returned by -// GateNode.Validate if the designated constraints aren't met. -type GateNodeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GateNodeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GateNodeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GateNodeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GateNodeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GateNodeValidationError) ErrorName() string { return "GateNodeValidationError" } - -// Error satisfies the builtin error interface -func (e GateNodeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGateNode.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GateNodeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GateNodeValidationError{} - -// Validate checks the field values on ArrayNode with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *ArrayNode) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetNode()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArrayNodeValidationError{ - field: "Node", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Parallelism - - switch m.SuccessCriteria.(type) { - - case *ArrayNode_MinSuccesses: - // no validation rules for MinSuccesses - - case *ArrayNode_MinSuccessRatio: - // no validation rules for MinSuccessRatio - - } - - return nil -} - -// ArrayNodeValidationError is the validation error returned by -// ArrayNode.Validate if the designated constraints aren't met. -type ArrayNodeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArrayNodeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArrayNodeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArrayNodeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArrayNodeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArrayNodeValidationError) ErrorName() string { return "ArrayNodeValidationError" } - -// Error satisfies the builtin error interface -func (e ArrayNodeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArrayNode.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArrayNodeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArrayNodeValidationError{} - -// Validate checks the field values on NodeMetadata with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *NodeMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Name - - if v, ok := interface{}(m.GetTimeout()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeMetadataValidationError{ - field: "Timeout", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetRetries()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeMetadataValidationError{ - field: "Retries", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.InterruptibleValue.(type) { - - case *NodeMetadata_Interruptible: - // no validation rules for Interruptible - - } - - return nil -} - -// NodeMetadataValidationError is the validation error returned by -// NodeMetadata.Validate if the designated constraints aren't met. -type NodeMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeMetadataValidationError) ErrorName() string { return "NodeMetadataValidationError" } - -// Error satisfies the builtin error interface -func (e NodeMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeMetadataValidationError{} - -// Validate checks the field values on Alias with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Alias) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Var - - // no validation rules for Alias - - return nil -} - -// AliasValidationError is the validation error returned by Alias.Validate if -// the designated constraints aren't met. -type AliasValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AliasValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AliasValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AliasValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AliasValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AliasValidationError) ErrorName() string { return "AliasValidationError" } - -// Error satisfies the builtin error interface -func (e AliasValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAlias.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AliasValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AliasValidationError{} - -// Validate checks the field values on Node with the rules defined in the proto -// definition for this message. If any rules are violated, an error is returned. -func (m *Node) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Id - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetInputs() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeValidationError{ - field: fmt.Sprintf("Inputs[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetOutputAliases() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeValidationError{ - field: fmt.Sprintf("OutputAliases[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - switch m.Target.(type) { - - case *Node_TaskNode: - - if v, ok := interface{}(m.GetTaskNode()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeValidationError{ - field: "TaskNode", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Node_WorkflowNode: - - if v, ok := interface{}(m.GetWorkflowNode()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeValidationError{ - field: "WorkflowNode", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Node_BranchNode: - - if v, ok := interface{}(m.GetBranchNode()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeValidationError{ - field: "BranchNode", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Node_GateNode: - - if v, ok := interface{}(m.GetGateNode()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeValidationError{ - field: "GateNode", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *Node_ArrayNode: - - if v, ok := interface{}(m.GetArrayNode()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeValidationError{ - field: "ArrayNode", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// NodeValidationError is the validation error returned by Node.Validate if the -// designated constraints aren't met. -type NodeValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeValidationError) ErrorName() string { return "NodeValidationError" } - -// Error satisfies the builtin error interface -func (e NodeValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNode.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeValidationError{} - -// Validate checks the field values on WorkflowMetadata with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *WorkflowMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetQualityOfService()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowMetadataValidationError{ - field: "QualityOfService", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for OnFailure - - // no validation rules for Tags - - return nil -} - -// WorkflowMetadataValidationError is the validation error returned by -// WorkflowMetadata.Validate if the designated constraints aren't met. -type WorkflowMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowMetadataValidationError) ErrorName() string { return "WorkflowMetadataValidationError" } - -// Error satisfies the builtin error interface -func (e WorkflowMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowMetadataValidationError{} - -// Validate checks the field values on WorkflowMetadataDefaults with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowMetadataDefaults) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Interruptible - - return nil -} - -// WorkflowMetadataDefaultsValidationError is the validation error returned by -// WorkflowMetadataDefaults.Validate if the designated constraints aren't met. -type WorkflowMetadataDefaultsValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowMetadataDefaultsValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowMetadataDefaultsValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowMetadataDefaultsValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowMetadataDefaultsValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowMetadataDefaultsValidationError) ErrorName() string { - return "WorkflowMetadataDefaultsValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowMetadataDefaultsValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowMetadataDefaults.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowMetadataDefaultsValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowMetadataDefaultsValidationError{} - -// Validate checks the field values on WorkflowTemplate with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *WorkflowTemplate) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowTemplateValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowTemplateValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetInterface()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowTemplateValidationError{ - field: "Interface", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetNodes() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowTemplateValidationError{ - field: fmt.Sprintf("Nodes[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetOutputs() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowTemplateValidationError{ - field: fmt.Sprintf("Outputs[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetFailureNode()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowTemplateValidationError{ - field: "FailureNode", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetMetadataDefaults()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowTemplateValidationError{ - field: "MetadataDefaults", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowTemplateValidationError is the validation error returned by -// WorkflowTemplate.Validate if the designated constraints aren't met. -type WorkflowTemplateValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowTemplateValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowTemplateValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowTemplateValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowTemplateValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowTemplateValidationError) ErrorName() string { return "WorkflowTemplateValidationError" } - -// Error satisfies the builtin error interface -func (e WorkflowTemplateValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowTemplate.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowTemplateValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowTemplateValidationError{} - -// Validate checks the field values on TaskNodeOverrides with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *TaskNodeOverrides) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetResources()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskNodeOverridesValidationError{ - field: "Resources", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetExtendedResources()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskNodeOverridesValidationError{ - field: "ExtendedResources", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskNodeOverridesValidationError is the validation error returned by -// TaskNodeOverrides.Validate if the designated constraints aren't met. -type TaskNodeOverridesValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskNodeOverridesValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskNodeOverridesValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskNodeOverridesValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskNodeOverridesValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskNodeOverridesValidationError) ErrorName() string { - return "TaskNodeOverridesValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskNodeOverridesValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskNodeOverrides.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskNodeOverridesValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskNodeOverridesValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.validate.go deleted file mode 100644 index c87e4a4aa0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/core/workflow_closure.pb.validate.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/core/workflow_closure.proto - -package core - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _workflow_closure_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on WorkflowClosure with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *WorkflowClosure) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetWorkflow()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowClosureValidationError{ - field: "Workflow", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetTasks() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowClosureValidationError{ - field: fmt.Sprintf("Tasks[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// WorkflowClosureValidationError is the validation error returned by -// WorkflowClosure.Validate if the designated constraints aren't met. -type WorkflowClosureValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowClosureValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowClosureValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowClosureValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowClosureValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowClosureValidationError) ErrorName() string { return "WorkflowClosureValidationError" } - -// Error satisfies the builtin error interface -func (e WorkflowClosureValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowClosure.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowClosureValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowClosureValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go b/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go index 54aca9cd58..1095091b5c 100644 --- a/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.go @@ -760,7 +760,7 @@ type UpdateArtifactRequest struct { // 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. Data []*ArtifactData `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"` - // Update task execution metadata when overwriting cache + // 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:"-"` diff --git a/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.validate.go deleted file mode 100644 index 499f456839..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/datacatalog/datacatalog.pb.validate.go +++ /dev/null @@ -1,3061 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/datacatalog/datacatalog.proto - -package datacatalog - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _datacatalog_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on CreateDatasetRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CreateDatasetRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetDataset()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateDatasetRequestValidationError{ - field: "Dataset", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CreateDatasetRequestValidationError is the validation error returned by -// CreateDatasetRequest.Validate if the designated constraints aren't met. -type CreateDatasetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateDatasetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateDatasetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateDatasetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateDatasetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateDatasetRequestValidationError) ErrorName() string { - return "CreateDatasetRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateDatasetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateDatasetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateDatasetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateDatasetRequestValidationError{} - -// Validate checks the field values on CreateDatasetResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CreateDatasetResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// CreateDatasetResponseValidationError is the validation error returned by -// CreateDatasetResponse.Validate if the designated constraints aren't met. -type CreateDatasetResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateDatasetResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateDatasetResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateDatasetResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateDatasetResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateDatasetResponseValidationError) ErrorName() string { - return "CreateDatasetResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateDatasetResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateDatasetResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateDatasetResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateDatasetResponseValidationError{} - -// Validate checks the field values on GetDatasetRequest with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *GetDatasetRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetDataset()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetDatasetRequestValidationError{ - field: "Dataset", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// GetDatasetRequestValidationError is the validation error returned by -// GetDatasetRequest.Validate if the designated constraints aren't met. -type GetDatasetRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetDatasetRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetDatasetRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetDatasetRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetDatasetRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetDatasetRequestValidationError) ErrorName() string { - return "GetDatasetRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e GetDatasetRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetDatasetRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetDatasetRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetDatasetRequestValidationError{} - -// Validate checks the field values on GetDatasetResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *GetDatasetResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetDataset()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetDatasetResponseValidationError{ - field: "Dataset", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// GetDatasetResponseValidationError is the validation error returned by -// GetDatasetResponse.Validate if the designated constraints aren't met. -type GetDatasetResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetDatasetResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetDatasetResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetDatasetResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetDatasetResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetDatasetResponseValidationError) ErrorName() string { - return "GetDatasetResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e GetDatasetResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetDatasetResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetDatasetResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetDatasetResponseValidationError{} - -// Validate checks the field values on GetArtifactRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *GetArtifactRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetDataset()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetArtifactRequestValidationError{ - field: "Dataset", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.QueryHandle.(type) { - - case *GetArtifactRequest_ArtifactId: - // no validation rules for ArtifactId - - case *GetArtifactRequest_TagName: - // no validation rules for TagName - - } - - return nil -} - -// GetArtifactRequestValidationError is the validation error returned by -// GetArtifactRequest.Validate if the designated constraints aren't met. -type GetArtifactRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetArtifactRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetArtifactRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetArtifactRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetArtifactRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetArtifactRequestValidationError) ErrorName() string { - return "GetArtifactRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e GetArtifactRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetArtifactRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetArtifactRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetArtifactRequestValidationError{} - -// Validate checks the field values on GetArtifactResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *GetArtifactResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetArtifact()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetArtifactResponseValidationError{ - field: "Artifact", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// GetArtifactResponseValidationError is the validation error returned by -// GetArtifactResponse.Validate if the designated constraints aren't met. -type GetArtifactResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetArtifactResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetArtifactResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetArtifactResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetArtifactResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetArtifactResponseValidationError) ErrorName() string { - return "GetArtifactResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e GetArtifactResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetArtifactResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetArtifactResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetArtifactResponseValidationError{} - -// Validate checks the field values on CreateArtifactRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CreateArtifactRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetArtifact()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CreateArtifactRequestValidationError{ - field: "Artifact", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CreateArtifactRequestValidationError is the validation error returned by -// CreateArtifactRequest.Validate if the designated constraints aren't met. -type CreateArtifactRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateArtifactRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateArtifactRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateArtifactRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateArtifactRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateArtifactRequestValidationError) ErrorName() string { - return "CreateArtifactRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateArtifactRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateArtifactRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateArtifactRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateArtifactRequestValidationError{} - -// Validate checks the field values on CreateArtifactResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CreateArtifactResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// CreateArtifactResponseValidationError is the validation error returned by -// CreateArtifactResponse.Validate if the designated constraints aren't met. -type CreateArtifactResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CreateArtifactResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CreateArtifactResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CreateArtifactResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CreateArtifactResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CreateArtifactResponseValidationError) ErrorName() string { - return "CreateArtifactResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e CreateArtifactResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCreateArtifactResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CreateArtifactResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CreateArtifactResponseValidationError{} - -// Validate checks the field values on AddTagRequest with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *AddTagRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTag()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return AddTagRequestValidationError{ - field: "Tag", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// AddTagRequestValidationError is the validation error returned by -// AddTagRequest.Validate if the designated constraints aren't met. -type AddTagRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AddTagRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AddTagRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AddTagRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AddTagRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AddTagRequestValidationError) ErrorName() string { return "AddTagRequestValidationError" } - -// Error satisfies the builtin error interface -func (e AddTagRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAddTagRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AddTagRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AddTagRequestValidationError{} - -// Validate checks the field values on AddTagResponse with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *AddTagResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// AddTagResponseValidationError is the validation error returned by -// AddTagResponse.Validate if the designated constraints aren't met. -type AddTagResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e AddTagResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e AddTagResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e AddTagResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e AddTagResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e AddTagResponseValidationError) ErrorName() string { return "AddTagResponseValidationError" } - -// Error satisfies the builtin error interface -func (e AddTagResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sAddTagResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = AddTagResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = AddTagResponseValidationError{} - -// Validate checks the field values on ListArtifactsRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ListArtifactsRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetDataset()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ListArtifactsRequestValidationError{ - field: "Dataset", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetFilter()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ListArtifactsRequestValidationError{ - field: "Filter", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetPagination()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ListArtifactsRequestValidationError{ - field: "Pagination", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ListArtifactsRequestValidationError is the validation error returned by -// ListArtifactsRequest.Validate if the designated constraints aren't met. -type ListArtifactsRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ListArtifactsRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ListArtifactsRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ListArtifactsRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ListArtifactsRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ListArtifactsRequestValidationError) ErrorName() string { - return "ListArtifactsRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ListArtifactsRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sListArtifactsRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ListArtifactsRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ListArtifactsRequestValidationError{} - -// Validate checks the field values on ListArtifactsResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ListArtifactsResponse) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetArtifacts() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ListArtifactsResponseValidationError{ - field: fmt.Sprintf("Artifacts[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for NextToken - - return nil -} - -// ListArtifactsResponseValidationError is the validation error returned by -// ListArtifactsResponse.Validate if the designated constraints aren't met. -type ListArtifactsResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ListArtifactsResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ListArtifactsResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ListArtifactsResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ListArtifactsResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ListArtifactsResponseValidationError) ErrorName() string { - return "ListArtifactsResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ListArtifactsResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sListArtifactsResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ListArtifactsResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ListArtifactsResponseValidationError{} - -// Validate checks the field values on ListDatasetsRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ListDatasetsRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetFilter()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ListDatasetsRequestValidationError{ - field: "Filter", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetPagination()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ListDatasetsRequestValidationError{ - field: "Pagination", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ListDatasetsRequestValidationError is the validation error returned by -// ListDatasetsRequest.Validate if the designated constraints aren't met. -type ListDatasetsRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ListDatasetsRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ListDatasetsRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ListDatasetsRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ListDatasetsRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ListDatasetsRequestValidationError) ErrorName() string { - return "ListDatasetsRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ListDatasetsRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sListDatasetsRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ListDatasetsRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ListDatasetsRequestValidationError{} - -// Validate checks the field values on ListDatasetsResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ListDatasetsResponse) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetDatasets() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ListDatasetsResponseValidationError{ - field: fmt.Sprintf("Datasets[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for NextToken - - return nil -} - -// ListDatasetsResponseValidationError is the validation error returned by -// ListDatasetsResponse.Validate if the designated constraints aren't met. -type ListDatasetsResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ListDatasetsResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ListDatasetsResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ListDatasetsResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ListDatasetsResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ListDatasetsResponseValidationError) ErrorName() string { - return "ListDatasetsResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ListDatasetsResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sListDatasetsResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ListDatasetsResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ListDatasetsResponseValidationError{} - -// Validate checks the field values on UpdateArtifactRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *UpdateArtifactRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetDataset()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return UpdateArtifactRequestValidationError{ - field: "Dataset", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetData() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return UpdateArtifactRequestValidationError{ - field: fmt.Sprintf("Data[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return UpdateArtifactRequestValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.QueryHandle.(type) { - - case *UpdateArtifactRequest_ArtifactId: - // no validation rules for ArtifactId - - case *UpdateArtifactRequest_TagName: - // no validation rules for TagName - - } - - return nil -} - -// UpdateArtifactRequestValidationError is the validation error returned by -// UpdateArtifactRequest.Validate if the designated constraints aren't met. -type UpdateArtifactRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e UpdateArtifactRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e UpdateArtifactRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e UpdateArtifactRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e UpdateArtifactRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e UpdateArtifactRequestValidationError) ErrorName() string { - return "UpdateArtifactRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e UpdateArtifactRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sUpdateArtifactRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = UpdateArtifactRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = UpdateArtifactRequestValidationError{} - -// Validate checks the field values on UpdateArtifactResponse with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *UpdateArtifactResponse) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ArtifactId - - return nil -} - -// UpdateArtifactResponseValidationError is the validation error returned by -// UpdateArtifactResponse.Validate if the designated constraints aren't met. -type UpdateArtifactResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e UpdateArtifactResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e UpdateArtifactResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e UpdateArtifactResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e UpdateArtifactResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e UpdateArtifactResponseValidationError) ErrorName() string { - return "UpdateArtifactResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e UpdateArtifactResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sUpdateArtifactResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = UpdateArtifactResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = UpdateArtifactResponseValidationError{} - -// Validate checks the field values on ReservationID with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ReservationID) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetDatasetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ReservationIDValidationError{ - field: "DatasetId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for TagName - - return nil -} - -// ReservationIDValidationError is the validation error returned by -// ReservationID.Validate if the designated constraints aren't met. -type ReservationIDValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ReservationIDValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ReservationIDValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ReservationIDValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ReservationIDValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ReservationIDValidationError) ErrorName() string { return "ReservationIDValidationError" } - -// Error satisfies the builtin error interface -func (e ReservationIDValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sReservationID.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ReservationIDValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ReservationIDValidationError{} - -// Validate checks the field values on GetOrExtendReservationRequest with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *GetOrExtendReservationRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetReservationId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetOrExtendReservationRequestValidationError{ - field: "ReservationId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for OwnerId - - if v, ok := interface{}(m.GetHeartbeatInterval()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetOrExtendReservationRequestValidationError{ - field: "HeartbeatInterval", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// GetOrExtendReservationRequestValidationError is the validation error -// returned by GetOrExtendReservationRequest.Validate if the designated -// constraints aren't met. -type GetOrExtendReservationRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetOrExtendReservationRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetOrExtendReservationRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetOrExtendReservationRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetOrExtendReservationRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetOrExtendReservationRequestValidationError) ErrorName() string { - return "GetOrExtendReservationRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e GetOrExtendReservationRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetOrExtendReservationRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetOrExtendReservationRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetOrExtendReservationRequestValidationError{} - -// Validate checks the field values on Reservation with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *Reservation) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetReservationId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ReservationValidationError{ - field: "ReservationId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for OwnerId - - if v, ok := interface{}(m.GetHeartbeatInterval()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ReservationValidationError{ - field: "HeartbeatInterval", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetExpiresAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ReservationValidationError{ - field: "ExpiresAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ReservationValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ReservationValidationError is the validation error returned by -// Reservation.Validate if the designated constraints aren't met. -type ReservationValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ReservationValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ReservationValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ReservationValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ReservationValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ReservationValidationError) ErrorName() string { return "ReservationValidationError" } - -// Error satisfies the builtin error interface -func (e ReservationValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sReservation.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ReservationValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ReservationValidationError{} - -// Validate checks the field values on GetOrExtendReservationResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *GetOrExtendReservationResponse) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetReservation()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return GetOrExtendReservationResponseValidationError{ - field: "Reservation", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// GetOrExtendReservationResponseValidationError is the validation error -// returned by GetOrExtendReservationResponse.Validate if the designated -// constraints aren't met. -type GetOrExtendReservationResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e GetOrExtendReservationResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e GetOrExtendReservationResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e GetOrExtendReservationResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e GetOrExtendReservationResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e GetOrExtendReservationResponseValidationError) ErrorName() string { - return "GetOrExtendReservationResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e GetOrExtendReservationResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sGetOrExtendReservationResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = GetOrExtendReservationResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = GetOrExtendReservationResponseValidationError{} - -// Validate checks the field values on ReleaseReservationRequest with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ReleaseReservationRequest) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetReservationId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ReleaseReservationRequestValidationError{ - field: "ReservationId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for OwnerId - - return nil -} - -// ReleaseReservationRequestValidationError is the validation error returned by -// ReleaseReservationRequest.Validate if the designated constraints aren't met. -type ReleaseReservationRequestValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ReleaseReservationRequestValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ReleaseReservationRequestValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ReleaseReservationRequestValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ReleaseReservationRequestValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ReleaseReservationRequestValidationError) ErrorName() string { - return "ReleaseReservationRequestValidationError" -} - -// Error satisfies the builtin error interface -func (e ReleaseReservationRequestValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sReleaseReservationRequest.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ReleaseReservationRequestValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ReleaseReservationRequestValidationError{} - -// Validate checks the field values on ReleaseReservationResponse with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ReleaseReservationResponse) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// ReleaseReservationResponseValidationError is the validation error returned -// by ReleaseReservationResponse.Validate if the designated constraints aren't met. -type ReleaseReservationResponseValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ReleaseReservationResponseValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ReleaseReservationResponseValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ReleaseReservationResponseValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ReleaseReservationResponseValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ReleaseReservationResponseValidationError) ErrorName() string { - return "ReleaseReservationResponseValidationError" -} - -// Error satisfies the builtin error interface -func (e ReleaseReservationResponseValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sReleaseReservationResponse.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ReleaseReservationResponseValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ReleaseReservationResponseValidationError{} - -// Validate checks the field values on Dataset with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Dataset) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DatasetValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DatasetValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DatasetValidationError is the validation error returned by Dataset.Validate -// if the designated constraints aren't met. -type DatasetValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DatasetValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DatasetValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DatasetValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DatasetValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DatasetValidationError) ErrorName() string { return "DatasetValidationError" } - -// Error satisfies the builtin error interface -func (e DatasetValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDataset.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DatasetValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DatasetValidationError{} - -// Validate checks the field values on Partition with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Partition) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Key - - // no validation rules for Value - - return nil -} - -// PartitionValidationError is the validation error returned by -// Partition.Validate if the designated constraints aren't met. -type PartitionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e PartitionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e PartitionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e PartitionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e PartitionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e PartitionValidationError) ErrorName() string { return "PartitionValidationError" } - -// Error satisfies the builtin error interface -func (e PartitionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sPartition.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = PartitionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = PartitionValidationError{} - -// Validate checks the field values on DatasetID with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *DatasetID) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Project - - // no validation rules for Name - - // no validation rules for Domain - - // no validation rules for Version - - // no validation rules for UUID - - return nil -} - -// DatasetIDValidationError is the validation error returned by -// DatasetID.Validate if the designated constraints aren't met. -type DatasetIDValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DatasetIDValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DatasetIDValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DatasetIDValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DatasetIDValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DatasetIDValidationError) ErrorName() string { return "DatasetIDValidationError" } - -// Error satisfies the builtin error interface -func (e DatasetIDValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDatasetID.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DatasetIDValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DatasetIDValidationError{} - -// Validate checks the field values on Artifact with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Artifact) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Id - - if v, ok := interface{}(m.GetDataset()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactValidationError{ - field: "Dataset", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetData() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactValidationError{ - field: fmt.Sprintf("Data[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetPartitions() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactValidationError{ - field: fmt.Sprintf("Partitions[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetTags() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactValidationError{ - field: fmt.Sprintf("Tags[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetCreatedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactValidationError{ - field: "CreatedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ArtifactValidationError is the validation error returned by -// Artifact.Validate if the designated constraints aren't met. -type ArtifactValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactValidationError) ErrorName() string { return "ArtifactValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifact.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactValidationError{} - -// Validate checks the field values on ArtifactData with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ArtifactData) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Name - - if v, ok := interface{}(m.GetValue()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ArtifactDataValidationError{ - field: "Value", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ArtifactDataValidationError is the validation error returned by -// ArtifactData.Validate if the designated constraints aren't met. -type ArtifactDataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactDataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactDataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactDataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactDataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactDataValidationError) ErrorName() string { return "ArtifactDataValidationError" } - -// Error satisfies the builtin error interface -func (e ArtifactDataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactData.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactDataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactDataValidationError{} - -// Validate checks the field values on Tag with the rules defined in the proto -// definition for this message. If any rules are violated, an error is returned. -func (m *Tag) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Name - - // no validation rules for ArtifactId - - if v, ok := interface{}(m.GetDataset()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TagValidationError{ - field: "Dataset", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TagValidationError is the validation error returned by Tag.Validate if the -// designated constraints aren't met. -type TagValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TagValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TagValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TagValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TagValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TagValidationError) ErrorName() string { return "TagValidationError" } - -// Error satisfies the builtin error interface -func (e TagValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTag.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TagValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TagValidationError{} - -// Validate checks the field values on Metadata with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Metadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for KeyMap - - return nil -} - -// MetadataValidationError is the validation error returned by -// Metadata.Validate if the designated constraints aren't met. -type MetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e MetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e MetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e MetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e MetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e MetadataValidationError) ErrorName() string { return "MetadataValidationError" } - -// Error satisfies the builtin error interface -func (e MetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = MetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = MetadataValidationError{} - -// Validate checks the field values on FilterExpression with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *FilterExpression) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetFilters() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return FilterExpressionValidationError{ - field: fmt.Sprintf("Filters[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// FilterExpressionValidationError is the validation error returned by -// FilterExpression.Validate if the designated constraints aren't met. -type FilterExpressionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e FilterExpressionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e FilterExpressionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e FilterExpressionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e FilterExpressionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e FilterExpressionValidationError) ErrorName() string { return "FilterExpressionValidationError" } - -// Error satisfies the builtin error interface -func (e FilterExpressionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sFilterExpression.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = FilterExpressionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = FilterExpressionValidationError{} - -// Validate checks the field values on SinglePropertyFilter with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *SinglePropertyFilter) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Operator - - switch m.PropertyFilter.(type) { - - case *SinglePropertyFilter_TagFilter: - - if v, ok := interface{}(m.GetTagFilter()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SinglePropertyFilterValidationError{ - field: "TagFilter", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *SinglePropertyFilter_PartitionFilter: - - if v, ok := interface{}(m.GetPartitionFilter()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SinglePropertyFilterValidationError{ - field: "PartitionFilter", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *SinglePropertyFilter_ArtifactFilter: - - if v, ok := interface{}(m.GetArtifactFilter()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SinglePropertyFilterValidationError{ - field: "ArtifactFilter", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *SinglePropertyFilter_DatasetFilter: - - if v, ok := interface{}(m.GetDatasetFilter()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SinglePropertyFilterValidationError{ - field: "DatasetFilter", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// SinglePropertyFilterValidationError is the validation error returned by -// SinglePropertyFilter.Validate if the designated constraints aren't met. -type SinglePropertyFilterValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SinglePropertyFilterValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SinglePropertyFilterValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SinglePropertyFilterValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SinglePropertyFilterValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SinglePropertyFilterValidationError) ErrorName() string { - return "SinglePropertyFilterValidationError" -} - -// Error satisfies the builtin error interface -func (e SinglePropertyFilterValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSinglePropertyFilter.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SinglePropertyFilterValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SinglePropertyFilterValidationError{} - -// Validate checks the field values on ArtifactPropertyFilter with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ArtifactPropertyFilter) Validate() error { - if m == nil { - return nil - } - - switch m.Property.(type) { - - case *ArtifactPropertyFilter_ArtifactId: - // no validation rules for ArtifactId - - } - - return nil -} - -// ArtifactPropertyFilterValidationError is the validation error returned by -// ArtifactPropertyFilter.Validate if the designated constraints aren't met. -type ArtifactPropertyFilterValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArtifactPropertyFilterValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArtifactPropertyFilterValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArtifactPropertyFilterValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArtifactPropertyFilterValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArtifactPropertyFilterValidationError) ErrorName() string { - return "ArtifactPropertyFilterValidationError" -} - -// Error satisfies the builtin error interface -func (e ArtifactPropertyFilterValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArtifactPropertyFilter.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArtifactPropertyFilterValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArtifactPropertyFilterValidationError{} - -// Validate checks the field values on TagPropertyFilter with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *TagPropertyFilter) Validate() error { - if m == nil { - return nil - } - - switch m.Property.(type) { - - case *TagPropertyFilter_TagName: - // no validation rules for TagName - - } - - return nil -} - -// TagPropertyFilterValidationError is the validation error returned by -// TagPropertyFilter.Validate if the designated constraints aren't met. -type TagPropertyFilterValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TagPropertyFilterValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TagPropertyFilterValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TagPropertyFilterValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TagPropertyFilterValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TagPropertyFilterValidationError) ErrorName() string { - return "TagPropertyFilterValidationError" -} - -// Error satisfies the builtin error interface -func (e TagPropertyFilterValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTagPropertyFilter.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TagPropertyFilterValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TagPropertyFilterValidationError{} - -// Validate checks the field values on PartitionPropertyFilter with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *PartitionPropertyFilter) Validate() error { - if m == nil { - return nil - } - - switch m.Property.(type) { - - case *PartitionPropertyFilter_KeyVal: - - if v, ok := interface{}(m.GetKeyVal()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return PartitionPropertyFilterValidationError{ - field: "KeyVal", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// PartitionPropertyFilterValidationError is the validation error returned by -// PartitionPropertyFilter.Validate if the designated constraints aren't met. -type PartitionPropertyFilterValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e PartitionPropertyFilterValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e PartitionPropertyFilterValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e PartitionPropertyFilterValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e PartitionPropertyFilterValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e PartitionPropertyFilterValidationError) ErrorName() string { - return "PartitionPropertyFilterValidationError" -} - -// Error satisfies the builtin error interface -func (e PartitionPropertyFilterValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sPartitionPropertyFilter.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = PartitionPropertyFilterValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = PartitionPropertyFilterValidationError{} - -// Validate checks the field values on KeyValuePair with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *KeyValuePair) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Key - - // no validation rules for Value - - return nil -} - -// KeyValuePairValidationError is the validation error returned by -// KeyValuePair.Validate if the designated constraints aren't met. -type KeyValuePairValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e KeyValuePairValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e KeyValuePairValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e KeyValuePairValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e KeyValuePairValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e KeyValuePairValidationError) ErrorName() string { return "KeyValuePairValidationError" } - -// Error satisfies the builtin error interface -func (e KeyValuePairValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sKeyValuePair.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = KeyValuePairValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = KeyValuePairValidationError{} - -// Validate checks the field values on DatasetPropertyFilter with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DatasetPropertyFilter) Validate() error { - if m == nil { - return nil - } - - switch m.Property.(type) { - - case *DatasetPropertyFilter_Project: - // no validation rules for Project - - case *DatasetPropertyFilter_Name: - // no validation rules for Name - - case *DatasetPropertyFilter_Domain: - // no validation rules for Domain - - case *DatasetPropertyFilter_Version: - // no validation rules for Version - - } - - return nil -} - -// DatasetPropertyFilterValidationError is the validation error returned by -// DatasetPropertyFilter.Validate if the designated constraints aren't met. -type DatasetPropertyFilterValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DatasetPropertyFilterValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DatasetPropertyFilterValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DatasetPropertyFilterValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DatasetPropertyFilterValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DatasetPropertyFilterValidationError) ErrorName() string { - return "DatasetPropertyFilterValidationError" -} - -// Error satisfies the builtin error interface -func (e DatasetPropertyFilterValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDatasetPropertyFilter.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DatasetPropertyFilterValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DatasetPropertyFilterValidationError{} - -// Validate checks the field values on PaginationOptions with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *PaginationOptions) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Limit - - // no validation rules for Token - - // no validation rules for SortKey - - // no validation rules for SortOrder - - return nil -} - -// PaginationOptionsValidationError is the validation error returned by -// PaginationOptions.Validate if the designated constraints aren't met. -type PaginationOptionsValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e PaginationOptionsValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e PaginationOptionsValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e PaginationOptionsValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e PaginationOptionsValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e PaginationOptionsValidationError) ErrorName() string { - return "PaginationOptionsValidationError" -} - -// Error satisfies the builtin error interface -func (e PaginationOptionsValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sPaginationOptions.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = PaginationOptionsValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = PaginationOptionsValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go deleted file mode 100644 index 79aa9866dd..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.validate.go +++ /dev/null @@ -1,517 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/event/cloudevents.proto - -package event - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _cloudevents_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on CloudEventWorkflowExecution with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CloudEventWorkflowExecution) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetRawEvent()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventWorkflowExecutionValidationError{ - field: "RawEvent", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventWorkflowExecutionValidationError{ - field: "OutputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetOutputInterface()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventWorkflowExecutionValidationError{ - field: "OutputInterface", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetInputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventWorkflowExecutionValidationError{ - field: "InputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetArtifactIds() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventWorkflowExecutionValidationError{ - field: fmt.Sprintf("ArtifactIds[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetReferenceExecution()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventWorkflowExecutionValidationError{ - field: "ReferenceExecution", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Principal - - if v, ok := interface{}(m.GetLaunchPlanId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventWorkflowExecutionValidationError{ - field: "LaunchPlanId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CloudEventWorkflowExecutionValidationError is the validation error returned -// by CloudEventWorkflowExecution.Validate if the designated constraints -// aren't met. -type CloudEventWorkflowExecutionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CloudEventWorkflowExecutionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CloudEventWorkflowExecutionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CloudEventWorkflowExecutionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CloudEventWorkflowExecutionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CloudEventWorkflowExecutionValidationError) ErrorName() string { - return "CloudEventWorkflowExecutionValidationError" -} - -// Error satisfies the builtin error interface -func (e CloudEventWorkflowExecutionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCloudEventWorkflowExecution.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CloudEventWorkflowExecutionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CloudEventWorkflowExecutionValidationError{} - -// Validate checks the field values on CloudEventNodeExecution with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CloudEventNodeExecution) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetRawEvent()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventNodeExecutionValidationError{ - field: "RawEvent", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetTaskExecId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventNodeExecutionValidationError{ - field: "TaskExecId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventNodeExecutionValidationError{ - field: "OutputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetOutputInterface()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventNodeExecutionValidationError{ - field: "OutputInterface", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetInputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventNodeExecutionValidationError{ - field: "InputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetArtifactIds() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventNodeExecutionValidationError{ - field: fmt.Sprintf("ArtifactIds[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Principal - - if v, ok := interface{}(m.GetLaunchPlanId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventNodeExecutionValidationError{ - field: "LaunchPlanId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CloudEventNodeExecutionValidationError is the validation error returned by -// CloudEventNodeExecution.Validate if the designated constraints aren't met. -type CloudEventNodeExecutionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CloudEventNodeExecutionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CloudEventNodeExecutionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CloudEventNodeExecutionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CloudEventNodeExecutionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CloudEventNodeExecutionValidationError) ErrorName() string { - return "CloudEventNodeExecutionValidationError" -} - -// Error satisfies the builtin error interface -func (e CloudEventNodeExecutionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCloudEventNodeExecution.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CloudEventNodeExecutionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CloudEventNodeExecutionValidationError{} - -// Validate checks the field values on CloudEventTaskExecution with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CloudEventTaskExecution) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetRawEvent()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventTaskExecutionValidationError{ - field: "RawEvent", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// CloudEventTaskExecutionValidationError is the validation error returned by -// CloudEventTaskExecution.Validate if the designated constraints aren't met. -type CloudEventTaskExecutionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CloudEventTaskExecutionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CloudEventTaskExecutionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CloudEventTaskExecutionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CloudEventTaskExecutionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CloudEventTaskExecutionValidationError) ErrorName() string { - return "CloudEventTaskExecutionValidationError" -} - -// Error satisfies the builtin error interface -func (e CloudEventTaskExecutionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCloudEventTaskExecution.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CloudEventTaskExecutionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CloudEventTaskExecutionValidationError{} - -// Validate checks the field values on CloudEventExecutionStart with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *CloudEventExecutionStart) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventExecutionStartValidationError{ - field: "ExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetLaunchPlanId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventExecutionStartValidationError{ - field: "LaunchPlanId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetWorkflowId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventExecutionStartValidationError{ - field: "WorkflowId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetArtifactIds() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return CloudEventExecutionStartValidationError{ - field: fmt.Sprintf("ArtifactIds[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for Principal - - return nil -} - -// CloudEventExecutionStartValidationError is the validation error returned by -// CloudEventExecutionStart.Validate if the designated constraints aren't met. -type CloudEventExecutionStartValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e CloudEventExecutionStartValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e CloudEventExecutionStartValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e CloudEventExecutionStartValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e CloudEventExecutionStartValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e CloudEventExecutionStartValidationError) ErrorName() string { - return "CloudEventExecutionStartValidationError" -} - -// Error satisfies the builtin error interface -func (e CloudEventExecutionStartValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sCloudEventExecutionStart.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = CloudEventExecutionStartValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = CloudEventExecutionStartValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/event/event.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/event/event.pb.validate.go deleted file mode 100644 index fe19b7b989..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/event/event.pb.validate.go +++ /dev/null @@ -1,1358 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/event/event.proto - -package event - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" - - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} - - _ = core.WorkflowExecution_Phase(0) - - _ = core.NodeExecution_Phase(0) - - _ = core.CatalogCacheStatus(0) - - _ = core.CatalogReservation_Status(0) - - _ = core.TaskExecution_Phase(0) - - _ = core.TaskExecution_Phase(0) - - _ = core.CatalogCacheStatus(0) -) - -// define the regex for a UUID once up-front -var _event_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on WorkflowExecutionEvent with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowExecutionEvent) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionEventValidationError{ - field: "ExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for ProducerId - - // no validation rules for Phase - - if v, ok := interface{}(m.GetOccurredAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionEventValidationError{ - field: "OccurredAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.OutputResult.(type) { - - case *WorkflowExecutionEvent_OutputUri: - // no validation rules for OutputUri - - case *WorkflowExecutionEvent_Error: - - if v, ok := interface{}(m.GetError()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionEventValidationError{ - field: "Error", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *WorkflowExecutionEvent_OutputData: - - if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowExecutionEventValidationError{ - field: "OutputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// WorkflowExecutionEventValidationError is the validation error returned by -// WorkflowExecutionEvent.Validate if the designated constraints aren't met. -type WorkflowExecutionEventValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowExecutionEventValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowExecutionEventValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowExecutionEventValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowExecutionEventValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowExecutionEventValidationError) ErrorName() string { - return "WorkflowExecutionEventValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowExecutionEventValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowExecutionEvent.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowExecutionEventValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowExecutionEventValidationError{} - -// Validate checks the field values on NodeExecutionEvent with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *NodeExecutionEvent) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for ProducerId - - // no validation rules for Phase - - if v, ok := interface{}(m.GetOccurredAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventValidationError{ - field: "OccurredAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetParentTaskMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventValidationError{ - field: "ParentTaskMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetParentNodeMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventValidationError{ - field: "ParentNodeMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for RetryGroup - - // no validation rules for SpecNodeId - - // no validation rules for NodeName - - // no validation rules for EventVersion - - // no validation rules for IsParent - - // no validation rules for IsDynamic - - // no validation rules for DeckUri - - if v, ok := interface{}(m.GetReportedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventValidationError{ - field: "ReportedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for IsArray - - switch m.InputValue.(type) { - - case *NodeExecutionEvent_InputUri: - // no validation rules for InputUri - - case *NodeExecutionEvent_InputData: - - if v, ok := interface{}(m.GetInputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventValidationError{ - field: "InputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - switch m.OutputResult.(type) { - - case *NodeExecutionEvent_OutputUri: - // no validation rules for OutputUri - - case *NodeExecutionEvent_Error: - - if v, ok := interface{}(m.GetError()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventValidationError{ - field: "Error", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *NodeExecutionEvent_OutputData: - - if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventValidationError{ - field: "OutputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - switch m.TargetMetadata.(type) { - - case *NodeExecutionEvent_WorkflowNodeMetadata: - - if v, ok := interface{}(m.GetWorkflowNodeMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventValidationError{ - field: "WorkflowNodeMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *NodeExecutionEvent_TaskNodeMetadata: - - if v, ok := interface{}(m.GetTaskNodeMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return NodeExecutionEventValidationError{ - field: "TaskNodeMetadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// NodeExecutionEventValidationError is the validation error returned by -// NodeExecutionEvent.Validate if the designated constraints aren't met. -type NodeExecutionEventValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e NodeExecutionEventValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e NodeExecutionEventValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e NodeExecutionEventValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e NodeExecutionEventValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e NodeExecutionEventValidationError) ErrorName() string { - return "NodeExecutionEventValidationError" -} - -// Error satisfies the builtin error interface -func (e NodeExecutionEventValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sNodeExecutionEvent.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = NodeExecutionEventValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = NodeExecutionEventValidationError{} - -// Validate checks the field values on WorkflowNodeMetadata with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *WorkflowNodeMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WorkflowNodeMetadataValidationError{ - field: "ExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// WorkflowNodeMetadataValidationError is the validation error returned by -// WorkflowNodeMetadata.Validate if the designated constraints aren't met. -type WorkflowNodeMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkflowNodeMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkflowNodeMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkflowNodeMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkflowNodeMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkflowNodeMetadataValidationError) ErrorName() string { - return "WorkflowNodeMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e WorkflowNodeMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkflowNodeMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkflowNodeMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkflowNodeMetadataValidationError{} - -// Validate checks the field values on TaskNodeMetadata with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *TaskNodeMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for CacheStatus - - if v, ok := interface{}(m.GetCatalogKey()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskNodeMetadataValidationError{ - field: "CatalogKey", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for ReservationStatus - - // no validation rules for CheckpointUri - - if v, ok := interface{}(m.GetDynamicWorkflow()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskNodeMetadataValidationError{ - field: "DynamicWorkflow", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// TaskNodeMetadataValidationError is the validation error returned by -// TaskNodeMetadata.Validate if the designated constraints aren't met. -type TaskNodeMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskNodeMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskNodeMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskNodeMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskNodeMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskNodeMetadataValidationError) ErrorName() string { return "TaskNodeMetadataValidationError" } - -// Error satisfies the builtin error interface -func (e TaskNodeMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskNodeMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskNodeMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskNodeMetadataValidationError{} - -// Validate checks the field values on DynamicWorkflowNodeMetadata with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DynamicWorkflowNodeMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DynamicWorkflowNodeMetadataValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCompiledWorkflow()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DynamicWorkflowNodeMetadataValidationError{ - field: "CompiledWorkflow", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for DynamicJobSpecUri - - return nil -} - -// DynamicWorkflowNodeMetadataValidationError is the validation error returned -// by DynamicWorkflowNodeMetadata.Validate if the designated constraints -// aren't met. -type DynamicWorkflowNodeMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DynamicWorkflowNodeMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DynamicWorkflowNodeMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DynamicWorkflowNodeMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DynamicWorkflowNodeMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DynamicWorkflowNodeMetadataValidationError) ErrorName() string { - return "DynamicWorkflowNodeMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e DynamicWorkflowNodeMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDynamicWorkflowNodeMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DynamicWorkflowNodeMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DynamicWorkflowNodeMetadataValidationError{} - -// Validate checks the field values on ParentTaskExecutionMetadata with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ParentTaskExecutionMetadata) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ParentTaskExecutionMetadataValidationError{ - field: "Id", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// ParentTaskExecutionMetadataValidationError is the validation error returned -// by ParentTaskExecutionMetadata.Validate if the designated constraints -// aren't met. -type ParentTaskExecutionMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ParentTaskExecutionMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ParentTaskExecutionMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ParentTaskExecutionMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ParentTaskExecutionMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ParentTaskExecutionMetadataValidationError) ErrorName() string { - return "ParentTaskExecutionMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e ParentTaskExecutionMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sParentTaskExecutionMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ParentTaskExecutionMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ParentTaskExecutionMetadataValidationError{} - -// Validate checks the field values on ParentNodeExecutionMetadata with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ParentNodeExecutionMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for NodeId - - return nil -} - -// ParentNodeExecutionMetadataValidationError is the validation error returned -// by ParentNodeExecutionMetadata.Validate if the designated constraints -// aren't met. -type ParentNodeExecutionMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ParentNodeExecutionMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ParentNodeExecutionMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ParentNodeExecutionMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ParentNodeExecutionMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ParentNodeExecutionMetadataValidationError) ErrorName() string { - return "ParentNodeExecutionMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e ParentNodeExecutionMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sParentNodeExecutionMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ParentNodeExecutionMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ParentNodeExecutionMetadataValidationError{} - -// Validate checks the field values on EventReason with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *EventReason) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Reason - - if v, ok := interface{}(m.GetOccurredAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return EventReasonValidationError{ - field: "OccurredAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// EventReasonValidationError is the validation error returned by -// EventReason.Validate if the designated constraints aren't met. -type EventReasonValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e EventReasonValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e EventReasonValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e EventReasonValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e EventReasonValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e EventReasonValidationError) ErrorName() string { return "EventReasonValidationError" } - -// Error satisfies the builtin error interface -func (e EventReasonValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sEventReason.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = EventReasonValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = EventReasonValidationError{} - -// Validate checks the field values on TaskExecutionEvent with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionEvent) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetTaskId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: "TaskId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetParentNodeExecutionId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: "ParentNodeExecutionId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for RetryAttempt - - // no validation rules for Phase - - // no validation rules for ProducerId - - for idx, item := range m.GetLogs() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: fmt.Sprintf("Logs[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - if v, ok := interface{}(m.GetOccurredAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: "OccurredAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetCustomInfo()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: "CustomInfo", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for PhaseVersion - - // no validation rules for Reason - - for idx, item := range m.GetReasons() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: fmt.Sprintf("Reasons[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for TaskType - - if v, ok := interface{}(m.GetMetadata()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: "Metadata", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for EventVersion - - if v, ok := interface{}(m.GetReportedAt()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: "ReportedAt", - reason: "embedded message failed validation", - cause: err, - } - } - } - - switch m.InputValue.(type) { - - case *TaskExecutionEvent_InputUri: - // no validation rules for InputUri - - case *TaskExecutionEvent_InputData: - - if v, ok := interface{}(m.GetInputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: "InputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - switch m.OutputResult.(type) { - - case *TaskExecutionEvent_OutputUri: - // no validation rules for OutputUri - - case *TaskExecutionEvent_Error: - - if v, ok := interface{}(m.GetError()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: "Error", - reason: "embedded message failed validation", - cause: err, - } - } - } - - case *TaskExecutionEvent_OutputData: - - if v, ok := interface{}(m.GetOutputData()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionEventValidationError{ - field: "OutputData", - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// TaskExecutionEventValidationError is the validation error returned by -// TaskExecutionEvent.Validate if the designated constraints aren't met. -type TaskExecutionEventValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionEventValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionEventValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionEventValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionEventValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionEventValidationError) ErrorName() string { - return "TaskExecutionEventValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionEventValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionEvent.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionEventValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionEventValidationError{} - -// Validate checks the field values on ExternalResourceInfo with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *ExternalResourceInfo) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ExternalId - - // no validation rules for Index - - // no validation rules for RetryAttempt - - // no validation rules for Phase - - // no validation rules for CacheStatus - - for idx, item := range m.GetLogs() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return ExternalResourceInfoValidationError{ - field: fmt.Sprintf("Logs[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// ExternalResourceInfoValidationError is the validation error returned by -// ExternalResourceInfo.Validate if the designated constraints aren't met. -type ExternalResourceInfoValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ExternalResourceInfoValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ExternalResourceInfoValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ExternalResourceInfoValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ExternalResourceInfoValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ExternalResourceInfoValidationError) ErrorName() string { - return "ExternalResourceInfoValidationError" -} - -// Error satisfies the builtin error interface -func (e ExternalResourceInfoValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sExternalResourceInfo.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ExternalResourceInfoValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ExternalResourceInfoValidationError{} - -// Validate checks the field values on ResourcePoolInfo with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *ResourcePoolInfo) Validate() error { - if m == nil { - return nil - } - - // no validation rules for AllocationToken - - // no validation rules for Namespace - - return nil -} - -// ResourcePoolInfoValidationError is the validation error returned by -// ResourcePoolInfo.Validate if the designated constraints aren't met. -type ResourcePoolInfoValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ResourcePoolInfoValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ResourcePoolInfoValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ResourcePoolInfoValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ResourcePoolInfoValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ResourcePoolInfoValidationError) ErrorName() string { return "ResourcePoolInfoValidationError" } - -// Error satisfies the builtin error interface -func (e ResourcePoolInfoValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sResourcePoolInfo.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ResourcePoolInfoValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ResourcePoolInfoValidationError{} - -// Validate checks the field values on TaskExecutionMetadata with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *TaskExecutionMetadata) Validate() error { - if m == nil { - return nil - } - - // no validation rules for GeneratedName - - for idx, item := range m.GetExternalResources() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionMetadataValidationError{ - field: fmt.Sprintf("ExternalResources[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - for idx, item := range m.GetResourcePoolInfo() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return TaskExecutionMetadataValidationError{ - field: fmt.Sprintf("ResourcePoolInfo[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for PluginIdentifier - - // no validation rules for InstanceClass - - return nil -} - -// TaskExecutionMetadataValidationError is the validation error returned by -// TaskExecutionMetadata.Validate if the designated constraints aren't met. -type TaskExecutionMetadataValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e TaskExecutionMetadataValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e TaskExecutionMetadataValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e TaskExecutionMetadataValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e TaskExecutionMetadataValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e TaskExecutionMetadataValidationError) ErrorName() string { - return "TaskExecutionMetadataValidationError" -} - -// Error satisfies the builtin error interface -func (e TaskExecutionMetadataValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sTaskExecutionMetadata.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = TaskExecutionMetadataValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = TaskExecutionMetadataValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.validate.go deleted file mode 100644 index 322ffd7140..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/array_job.pb.validate.go +++ /dev/null @@ -1,115 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/array_job.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _array_job_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ArrayJob with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *ArrayJob) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Parallelism - - // no validation rules for Size - - switch m.SuccessCriteria.(type) { - - case *ArrayJob_MinSuccesses: - // no validation rules for MinSuccesses - - case *ArrayJob_MinSuccessRatio: - // no validation rules for MinSuccessRatio - - } - - return nil -} - -// ArrayJobValidationError is the validation error returned by -// ArrayJob.Validate if the designated constraints aren't met. -type ArrayJobValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ArrayJobValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ArrayJobValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ArrayJobValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ArrayJobValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ArrayJobValidationError) ErrorName() string { return "ArrayJobValidationError" } - -// Error satisfies the builtin error interface -func (e ArrayJobValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sArrayJob.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ArrayJobValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ArrayJobValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.validate.go deleted file mode 100644 index 74037528b0..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/dask.pb.validate.go +++ /dev/null @@ -1,277 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/dask.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _dask_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on DaskJob with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *DaskJob) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetScheduler()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DaskJobValidationError{ - field: "Scheduler", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetWorkers()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DaskJobValidationError{ - field: "Workers", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DaskJobValidationError is the validation error returned by DaskJob.Validate -// if the designated constraints aren't met. -type DaskJobValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DaskJobValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DaskJobValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DaskJobValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DaskJobValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DaskJobValidationError) ErrorName() string { return "DaskJobValidationError" } - -// Error satisfies the builtin error interface -func (e DaskJobValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDaskJob.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DaskJobValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DaskJobValidationError{} - -// Validate checks the field values on DaskScheduler with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *DaskScheduler) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Image - - if v, ok := interface{}(m.GetResources()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DaskSchedulerValidationError{ - field: "Resources", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DaskSchedulerValidationError is the validation error returned by -// DaskScheduler.Validate if the designated constraints aren't met. -type DaskSchedulerValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DaskSchedulerValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DaskSchedulerValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DaskSchedulerValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DaskSchedulerValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DaskSchedulerValidationError) ErrorName() string { return "DaskSchedulerValidationError" } - -// Error satisfies the builtin error interface -func (e DaskSchedulerValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDaskScheduler.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DaskSchedulerValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DaskSchedulerValidationError{} - -// Validate checks the field values on DaskWorkerGroup with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *DaskWorkerGroup) Validate() error { - if m == nil { - return nil - } - - // no validation rules for NumberOfWorkers - - // no validation rules for Image - - if v, ok := interface{}(m.GetResources()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DaskWorkerGroupValidationError{ - field: "Resources", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DaskWorkerGroupValidationError is the validation error returned by -// DaskWorkerGroup.Validate if the designated constraints aren't met. -type DaskWorkerGroupValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DaskWorkerGroupValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DaskWorkerGroupValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DaskWorkerGroupValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DaskWorkerGroupValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DaskWorkerGroupValidationError) ErrorName() string { return "DaskWorkerGroupValidationError" } - -// Error satisfies the builtin error interface -func (e DaskWorkerGroupValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDaskWorkerGroup.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DaskWorkerGroupValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DaskWorkerGroupValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.validate.go deleted file mode 100644 index 0ec2f0e0e6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/common.pb.validate.go +++ /dev/null @@ -1,109 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/kubeflow/common.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _common_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on RunPolicy with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *RunPolicy) Validate() error { - if m == nil { - return nil - } - - // no validation rules for CleanPodPolicy - - // no validation rules for TtlSecondsAfterFinished - - // no validation rules for ActiveDeadlineSeconds - - // no validation rules for BackoffLimit - - return nil -} - -// RunPolicyValidationError is the validation error returned by -// RunPolicy.Validate if the designated constraints aren't met. -type RunPolicyValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e RunPolicyValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e RunPolicyValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e RunPolicyValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e RunPolicyValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e RunPolicyValidationError) ErrorName() string { return "RunPolicyValidationError" } - -// Error satisfies the builtin error interface -func (e RunPolicyValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sRunPolicy.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = RunPolicyValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = RunPolicyValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.validate.go deleted file mode 100644 index a68e68a3f7..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/mpi.pb.validate.go +++ /dev/null @@ -1,220 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/kubeflow/mpi.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _mpi_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on DistributedMPITrainingTask with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DistributedMPITrainingTask) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetWorkerReplicas()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedMPITrainingTaskValidationError{ - field: "WorkerReplicas", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetLauncherReplicas()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedMPITrainingTaskValidationError{ - field: "LauncherReplicas", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetRunPolicy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedMPITrainingTaskValidationError{ - field: "RunPolicy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Slots - - return nil -} - -// DistributedMPITrainingTaskValidationError is the validation error returned -// by DistributedMPITrainingTask.Validate if the designated constraints aren't met. -type DistributedMPITrainingTaskValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DistributedMPITrainingTaskValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DistributedMPITrainingTaskValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DistributedMPITrainingTaskValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DistributedMPITrainingTaskValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DistributedMPITrainingTaskValidationError) ErrorName() string { - return "DistributedMPITrainingTaskValidationError" -} - -// Error satisfies the builtin error interface -func (e DistributedMPITrainingTaskValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDistributedMPITrainingTask.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DistributedMPITrainingTaskValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DistributedMPITrainingTaskValidationError{} - -// Validate checks the field values on DistributedMPITrainingReplicaSpec with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *DistributedMPITrainingReplicaSpec) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Replicas - - // no validation rules for Image - - if v, ok := interface{}(m.GetResources()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedMPITrainingReplicaSpecValidationError{ - field: "Resources", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for RestartPolicy - - return nil -} - -// DistributedMPITrainingReplicaSpecValidationError is the validation error -// returned by DistributedMPITrainingReplicaSpec.Validate if the designated -// constraints aren't met. -type DistributedMPITrainingReplicaSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DistributedMPITrainingReplicaSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DistributedMPITrainingReplicaSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DistributedMPITrainingReplicaSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DistributedMPITrainingReplicaSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DistributedMPITrainingReplicaSpecValidationError) ErrorName() string { - return "DistributedMPITrainingReplicaSpecValidationError" -} - -// Error satisfies the builtin error interface -func (e DistributedMPITrainingReplicaSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDistributedMPITrainingReplicaSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DistributedMPITrainingReplicaSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DistributedMPITrainingReplicaSpecValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.validate.go deleted file mode 100644 index fa6e40749c..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/pytorch.pb.validate.go +++ /dev/null @@ -1,304 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/kubeflow/pytorch.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _pytorch_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ElasticConfig with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ElasticConfig) Validate() error { - if m == nil { - return nil - } - - // no validation rules for RdzvBackend - - // no validation rules for MinReplicas - - // no validation rules for MaxReplicas - - // no validation rules for NprocPerNode - - // no validation rules for MaxRestarts - - return nil -} - -// ElasticConfigValidationError is the validation error returned by -// ElasticConfig.Validate if the designated constraints aren't met. -type ElasticConfigValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ElasticConfigValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ElasticConfigValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ElasticConfigValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ElasticConfigValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ElasticConfigValidationError) ErrorName() string { return "ElasticConfigValidationError" } - -// Error satisfies the builtin error interface -func (e ElasticConfigValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sElasticConfig.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ElasticConfigValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ElasticConfigValidationError{} - -// Validate checks the field values on DistributedPyTorchTrainingTask with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DistributedPyTorchTrainingTask) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetWorkerReplicas()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedPyTorchTrainingTaskValidationError{ - field: "WorkerReplicas", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetMasterReplicas()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedPyTorchTrainingTaskValidationError{ - field: "MasterReplicas", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetRunPolicy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedPyTorchTrainingTaskValidationError{ - field: "RunPolicy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetElasticConfig()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedPyTorchTrainingTaskValidationError{ - field: "ElasticConfig", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DistributedPyTorchTrainingTaskValidationError is the validation error -// returned by DistributedPyTorchTrainingTask.Validate if the designated -// constraints aren't met. -type DistributedPyTorchTrainingTaskValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DistributedPyTorchTrainingTaskValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DistributedPyTorchTrainingTaskValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DistributedPyTorchTrainingTaskValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DistributedPyTorchTrainingTaskValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DistributedPyTorchTrainingTaskValidationError) ErrorName() string { - return "DistributedPyTorchTrainingTaskValidationError" -} - -// Error satisfies the builtin error interface -func (e DistributedPyTorchTrainingTaskValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDistributedPyTorchTrainingTask.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DistributedPyTorchTrainingTaskValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DistributedPyTorchTrainingTaskValidationError{} - -// Validate checks the field values on DistributedPyTorchTrainingReplicaSpec -// with the rules defined in the proto definition for this message. If any -// rules are violated, an error is returned. -func (m *DistributedPyTorchTrainingReplicaSpec) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Replicas - - // no validation rules for Image - - if v, ok := interface{}(m.GetResources()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedPyTorchTrainingReplicaSpecValidationError{ - field: "Resources", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for RestartPolicy - - return nil -} - -// DistributedPyTorchTrainingReplicaSpecValidationError is the validation error -// returned by DistributedPyTorchTrainingReplicaSpec.Validate if the -// designated constraints aren't met. -type DistributedPyTorchTrainingReplicaSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DistributedPyTorchTrainingReplicaSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DistributedPyTorchTrainingReplicaSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DistributedPyTorchTrainingReplicaSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DistributedPyTorchTrainingReplicaSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DistributedPyTorchTrainingReplicaSpecValidationError) ErrorName() string { - return "DistributedPyTorchTrainingReplicaSpecValidationError" -} - -// Error satisfies the builtin error interface -func (e DistributedPyTorchTrainingReplicaSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDistributedPyTorchTrainingReplicaSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DistributedPyTorchTrainingReplicaSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DistributedPyTorchTrainingReplicaSpecValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.validate.go deleted file mode 100644 index 397b3a813b..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/kubeflow/tensorflow.pb.validate.go +++ /dev/null @@ -1,239 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/kubeflow/tensorflow.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _tensorflow_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on DistributedTensorflowTrainingTask with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *DistributedTensorflowTrainingTask) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetWorkerReplicas()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedTensorflowTrainingTaskValidationError{ - field: "WorkerReplicas", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetPsReplicas()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedTensorflowTrainingTaskValidationError{ - field: "PsReplicas", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetChiefReplicas()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedTensorflowTrainingTaskValidationError{ - field: "ChiefReplicas", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetRunPolicy()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedTensorflowTrainingTaskValidationError{ - field: "RunPolicy", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetEvaluatorReplicas()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedTensorflowTrainingTaskValidationError{ - field: "EvaluatorReplicas", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DistributedTensorflowTrainingTaskValidationError is the validation error -// returned by DistributedTensorflowTrainingTask.Validate if the designated -// constraints aren't met. -type DistributedTensorflowTrainingTaskValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DistributedTensorflowTrainingTaskValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DistributedTensorflowTrainingTaskValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DistributedTensorflowTrainingTaskValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DistributedTensorflowTrainingTaskValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DistributedTensorflowTrainingTaskValidationError) ErrorName() string { - return "DistributedTensorflowTrainingTaskValidationError" -} - -// Error satisfies the builtin error interface -func (e DistributedTensorflowTrainingTaskValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDistributedTensorflowTrainingTask.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DistributedTensorflowTrainingTaskValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DistributedTensorflowTrainingTaskValidationError{} - -// Validate checks the field values on DistributedTensorflowTrainingReplicaSpec -// with the rules defined in the proto definition for this message. If any -// rules are violated, an error is returned. -func (m *DistributedTensorflowTrainingReplicaSpec) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Replicas - - // no validation rules for Image - - if v, ok := interface{}(m.GetResources()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedTensorflowTrainingReplicaSpecValidationError{ - field: "Resources", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for RestartPolicy - - return nil -} - -// DistributedTensorflowTrainingReplicaSpecValidationError is the validation -// error returned by DistributedTensorflowTrainingReplicaSpec.Validate if the -// designated constraints aren't met. -type DistributedTensorflowTrainingReplicaSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DistributedTensorflowTrainingReplicaSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DistributedTensorflowTrainingReplicaSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DistributedTensorflowTrainingReplicaSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DistributedTensorflowTrainingReplicaSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DistributedTensorflowTrainingReplicaSpecValidationError) ErrorName() string { - return "DistributedTensorflowTrainingReplicaSpecValidationError" -} - -// Error satisfies the builtin error interface -func (e DistributedTensorflowTrainingReplicaSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDistributedTensorflowTrainingReplicaSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DistributedTensorflowTrainingReplicaSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DistributedTensorflowTrainingReplicaSpecValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.validate.go deleted file mode 100644 index c0d746eee7..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/mpi.pb.validate.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/mpi.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _mpi_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on DistributedMPITrainingTask with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DistributedMPITrainingTask) Validate() error { - if m == nil { - return nil - } - - // no validation rules for NumWorkers - - // no validation rules for NumLauncherReplicas - - // no validation rules for Slots - - return nil -} - -// DistributedMPITrainingTaskValidationError is the validation error returned -// by DistributedMPITrainingTask.Validate if the designated constraints aren't met. -type DistributedMPITrainingTaskValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DistributedMPITrainingTaskValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DistributedMPITrainingTaskValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DistributedMPITrainingTaskValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DistributedMPITrainingTaskValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DistributedMPITrainingTaskValidationError) ErrorName() string { - return "DistributedMPITrainingTaskValidationError" -} - -// Error satisfies the builtin error interface -func (e DistributedMPITrainingTaskValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDistributedMPITrainingTask.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DistributedMPITrainingTaskValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DistributedMPITrainingTaskValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.validate.go deleted file mode 100644 index 42b8695fa9..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/presto.pb.validate.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/presto.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _presto_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on PrestoQuery with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *PrestoQuery) Validate() error { - if m == nil { - return nil - } - - // no validation rules for RoutingGroup - - // no validation rules for Catalog - - // no validation rules for Schema - - // no validation rules for Statement - - return nil -} - -// PrestoQueryValidationError is the validation error returned by -// PrestoQuery.Validate if the designated constraints aren't met. -type PrestoQueryValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e PrestoQueryValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e PrestoQueryValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e PrestoQueryValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e PrestoQueryValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e PrestoQueryValidationError) ErrorName() string { return "PrestoQueryValidationError" } - -// Error satisfies the builtin error interface -func (e PrestoQueryValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sPrestoQuery.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = PrestoQueryValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = PrestoQueryValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.validate.go deleted file mode 100644 index 17b90db727..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/pytorch.pb.validate.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/pytorch.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _pytorch_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on ElasticConfig with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *ElasticConfig) Validate() error { - if m == nil { - return nil - } - - // no validation rules for RdzvBackend - - // no validation rules for MinReplicas - - // no validation rules for MaxReplicas - - // no validation rules for NprocPerNode - - // no validation rules for MaxRestarts - - return nil -} - -// ElasticConfigValidationError is the validation error returned by -// ElasticConfig.Validate if the designated constraints aren't met. -type ElasticConfigValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e ElasticConfigValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e ElasticConfigValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e ElasticConfigValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e ElasticConfigValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e ElasticConfigValidationError) ErrorName() string { return "ElasticConfigValidationError" } - -// Error satisfies the builtin error interface -func (e ElasticConfigValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sElasticConfig.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = ElasticConfigValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = ElasticConfigValidationError{} - -// Validate checks the field values on DistributedPyTorchTrainingTask with the -// rules defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *DistributedPyTorchTrainingTask) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Workers - - if v, ok := interface{}(m.GetElasticConfig()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return DistributedPyTorchTrainingTaskValidationError{ - field: "ElasticConfig", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// DistributedPyTorchTrainingTaskValidationError is the validation error -// returned by DistributedPyTorchTrainingTask.Validate if the designated -// constraints aren't met. -type DistributedPyTorchTrainingTaskValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DistributedPyTorchTrainingTaskValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DistributedPyTorchTrainingTaskValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DistributedPyTorchTrainingTaskValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DistributedPyTorchTrainingTaskValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DistributedPyTorchTrainingTaskValidationError) ErrorName() string { - return "DistributedPyTorchTrainingTaskValidationError" -} - -// Error satisfies the builtin error interface -func (e DistributedPyTorchTrainingTaskValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDistributedPyTorchTrainingTask.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DistributedPyTorchTrainingTaskValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DistributedPyTorchTrainingTaskValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.validate.go deleted file mode 100644 index 55fab0f374..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/qubole.pb.validate.go +++ /dev/null @@ -1,276 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/qubole.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _qubole_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on HiveQuery with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *HiveQuery) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Query - - // no validation rules for TimeoutSec - - // no validation rules for RetryCount - - return nil -} - -// HiveQueryValidationError is the validation error returned by -// HiveQuery.Validate if the designated constraints aren't met. -type HiveQueryValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e HiveQueryValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e HiveQueryValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e HiveQueryValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e HiveQueryValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e HiveQueryValidationError) ErrorName() string { return "HiveQueryValidationError" } - -// Error satisfies the builtin error interface -func (e HiveQueryValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sHiveQuery.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = HiveQueryValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = HiveQueryValidationError{} - -// Validate checks the field values on HiveQueryCollection with the rules -// defined in the proto definition for this message. If any rules are -// violated, an error is returned. -func (m *HiveQueryCollection) Validate() error { - if m == nil { - return nil - } - - for idx, item := range m.GetQueries() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return HiveQueryCollectionValidationError{ - field: fmt.Sprintf("Queries[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - return nil -} - -// HiveQueryCollectionValidationError is the validation error returned by -// HiveQueryCollection.Validate if the designated constraints aren't met. -type HiveQueryCollectionValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e HiveQueryCollectionValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e HiveQueryCollectionValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e HiveQueryCollectionValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e HiveQueryCollectionValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e HiveQueryCollectionValidationError) ErrorName() string { - return "HiveQueryCollectionValidationError" -} - -// Error satisfies the builtin error interface -func (e HiveQueryCollectionValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sHiveQueryCollection.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = HiveQueryCollectionValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = HiveQueryCollectionValidationError{} - -// Validate checks the field values on QuboleHiveJob with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *QuboleHiveJob) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ClusterLabel - - if v, ok := interface{}(m.GetQueryCollection()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return QuboleHiveJobValidationError{ - field: "QueryCollection", - reason: "embedded message failed validation", - cause: err, - } - } - } - - if v, ok := interface{}(m.GetQuery()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return QuboleHiveJobValidationError{ - field: "Query", - reason: "embedded message failed validation", - cause: err, - } - } - } - - return nil -} - -// QuboleHiveJobValidationError is the validation error returned by -// QuboleHiveJob.Validate if the designated constraints aren't met. -type QuboleHiveJobValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e QuboleHiveJobValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e QuboleHiveJobValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e QuboleHiveJobValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e QuboleHiveJobValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e QuboleHiveJobValidationError) ErrorName() string { return "QuboleHiveJobValidationError" } - -// Error satisfies the builtin error interface -func (e QuboleHiveJobValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sQuboleHiveJob.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = QuboleHiveJobValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = QuboleHiveJobValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.validate.go deleted file mode 100644 index b079e610f5..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.validate.go +++ /dev/null @@ -1,350 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/ray.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _ray_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on RayJob with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *RayJob) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetRayCluster()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return RayJobValidationError{ - field: "RayCluster", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for RuntimeEnv - - // no validation rules for ShutdownAfterJobFinishes - - // no validation rules for TtlSecondsAfterFinished - - return nil -} - -// RayJobValidationError is the validation error returned by RayJob.Validate if -// the designated constraints aren't met. -type RayJobValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e RayJobValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e RayJobValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e RayJobValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e RayJobValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e RayJobValidationError) ErrorName() string { return "RayJobValidationError" } - -// Error satisfies the builtin error interface -func (e RayJobValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sRayJob.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = RayJobValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = RayJobValidationError{} - -// Validate checks the field values on RayCluster with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *RayCluster) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetHeadGroupSpec()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return RayClusterValidationError{ - field: "HeadGroupSpec", - reason: "embedded message failed validation", - cause: err, - } - } - } - - for idx, item := range m.GetWorkerGroupSpec() { - _, _ = idx, item - - if v, ok := interface{}(item).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return RayClusterValidationError{ - field: fmt.Sprintf("WorkerGroupSpec[%v]", idx), - reason: "embedded message failed validation", - cause: err, - } - } - } - - } - - // no validation rules for EnableAutoscaling - - return nil -} - -// RayClusterValidationError is the validation error returned by -// RayCluster.Validate if the designated constraints aren't met. -type RayClusterValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e RayClusterValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e RayClusterValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e RayClusterValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e RayClusterValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e RayClusterValidationError) ErrorName() string { return "RayClusterValidationError" } - -// Error satisfies the builtin error interface -func (e RayClusterValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sRayCluster.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = RayClusterValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = RayClusterValidationError{} - -// Validate checks the field values on HeadGroupSpec with the rules defined in -// the proto definition for this message. If any rules are violated, an error -// is returned. -func (m *HeadGroupSpec) Validate() error { - if m == nil { - return nil - } - - // no validation rules for RayStartParams - - return nil -} - -// HeadGroupSpecValidationError is the validation error returned by -// HeadGroupSpec.Validate if the designated constraints aren't met. -type HeadGroupSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e HeadGroupSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e HeadGroupSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e HeadGroupSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e HeadGroupSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e HeadGroupSpecValidationError) ErrorName() string { return "HeadGroupSpecValidationError" } - -// Error satisfies the builtin error interface -func (e HeadGroupSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sHeadGroupSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = HeadGroupSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = HeadGroupSpecValidationError{} - -// Validate checks the field values on WorkerGroupSpec with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *WorkerGroupSpec) Validate() error { - if m == nil { - return nil - } - - // no validation rules for GroupName - - // no validation rules for Replicas - - // no validation rules for MinReplicas - - // no validation rules for MaxReplicas - - // no validation rules for RayStartParams - - return nil -} - -// WorkerGroupSpecValidationError is the validation error returned by -// WorkerGroupSpec.Validate if the designated constraints aren't met. -type WorkerGroupSpecValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WorkerGroupSpecValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WorkerGroupSpecValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WorkerGroupSpecValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WorkerGroupSpecValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WorkerGroupSpecValidationError) ErrorName() string { return "WorkerGroupSpecValidationError" } - -// Error satisfies the builtin error interface -func (e WorkerGroupSpecValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWorkerGroupSpec.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WorkerGroupSpecValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WorkerGroupSpecValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.validate.go deleted file mode 100644 index 0577090e28..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/spark.pb.validate.go +++ /dev/null @@ -1,192 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/spark.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _spark_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on SparkApplication with the rules defined -// in the proto definition for this message. If any rules are violated, an -// error is returned. -func (m *SparkApplication) Validate() error { - if m == nil { - return nil - } - - return nil -} - -// SparkApplicationValidationError is the validation error returned by -// SparkApplication.Validate if the designated constraints aren't met. -type SparkApplicationValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SparkApplicationValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SparkApplicationValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SparkApplicationValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SparkApplicationValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SparkApplicationValidationError) ErrorName() string { return "SparkApplicationValidationError" } - -// Error satisfies the builtin error interface -func (e SparkApplicationValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSparkApplication.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SparkApplicationValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SparkApplicationValidationError{} - -// Validate checks the field values on SparkJob with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *SparkJob) Validate() error { - if m == nil { - return nil - } - - // no validation rules for ApplicationType - - // no validation rules for MainApplicationFile - - // no validation rules for MainClass - - // no validation rules for SparkConf - - // no validation rules for HadoopConf - - // no validation rules for ExecutorPath - - if v, ok := interface{}(m.GetDatabricksConf()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return SparkJobValidationError{ - field: "DatabricksConf", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for DatabricksToken - - // no validation rules for DatabricksInstance - - return nil -} - -// SparkJobValidationError is the validation error returned by -// SparkJob.Validate if the designated constraints aren't met. -type SparkJobValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e SparkJobValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e SparkJobValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e SparkJobValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e SparkJobValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e SparkJobValidationError) ErrorName() string { return "SparkJobValidationError" } - -// Error satisfies the builtin error interface -func (e SparkJobValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sSparkJob.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = SparkJobValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = SparkJobValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.validate.go deleted file mode 100644 index 00db969ce6..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/tensorflow.pb.validate.go +++ /dev/null @@ -1,113 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/tensorflow.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} -) - -// define the regex for a UUID once up-front -var _tensorflow_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on DistributedTensorflowTrainingTask with -// the rules defined in the proto definition for this message. If any rules -// are violated, an error is returned. -func (m *DistributedTensorflowTrainingTask) Validate() error { - if m == nil { - return nil - } - - // no validation rules for Workers - - // no validation rules for PsReplicas - - // no validation rules for ChiefReplicas - - // no validation rules for EvaluatorReplicas - - return nil -} - -// DistributedTensorflowTrainingTaskValidationError is the validation error -// returned by DistributedTensorflowTrainingTask.Validate if the designated -// constraints aren't met. -type DistributedTensorflowTrainingTaskValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e DistributedTensorflowTrainingTaskValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e DistributedTensorflowTrainingTaskValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e DistributedTensorflowTrainingTaskValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e DistributedTensorflowTrainingTaskValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e DistributedTensorflowTrainingTaskValidationError) ErrorName() string { - return "DistributedTensorflowTrainingTaskValidationError" -} - -// Error satisfies the builtin error interface -func (e DistributedTensorflowTrainingTaskValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sDistributedTensorflowTrainingTask.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = DistributedTensorflowTrainingTaskValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = DistributedTensorflowTrainingTaskValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.validate.go deleted file mode 100644 index 1923947c32..0000000000 --- a/flyteidl/gen/pb-go/flyteidl/plugins/waitable.pb.validate.go +++ /dev/null @@ -1,119 +0,0 @@ -// Code generated by protoc-gen-validate. DO NOT EDIT. -// source: flyteidl/plugins/waitable.proto - -package plugins - -import ( - "bytes" - "errors" - "fmt" - "net" - "net/mail" - "net/url" - "regexp" - "strings" - "time" - "unicode/utf8" - - "github.com/golang/protobuf/ptypes" - - core "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" -) - -// ensure the imports are used -var ( - _ = bytes.MinRead - _ = errors.New("") - _ = fmt.Print - _ = utf8.UTFMax - _ = (*regexp.Regexp)(nil) - _ = (*strings.Reader)(nil) - _ = net.IPv4len - _ = time.Duration(0) - _ = (*url.URL)(nil) - _ = (*mail.Address)(nil) - _ = ptypes.DynamicAny{} - - _ = core.WorkflowExecution_Phase(0) -) - -// define the regex for a UUID once up-front -var _waitable_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") - -// Validate checks the field values on Waitable with the rules defined in the -// proto definition for this message. If any rules are violated, an error is returned. -func (m *Waitable) Validate() error { - if m == nil { - return nil - } - - if v, ok := interface{}(m.GetWfExecId()).(interface{ Validate() error }); ok { - if err := v.Validate(); err != nil { - return WaitableValidationError{ - field: "WfExecId", - reason: "embedded message failed validation", - cause: err, - } - } - } - - // no validation rules for Phase - - // no validation rules for WorkflowId - - return nil -} - -// WaitableValidationError is the validation error returned by -// Waitable.Validate if the designated constraints aren't met. -type WaitableValidationError struct { - field string - reason string - cause error - key bool -} - -// Field function returns field value. -func (e WaitableValidationError) Field() string { return e.field } - -// Reason function returns reason value. -func (e WaitableValidationError) Reason() string { return e.reason } - -// Cause function returns cause value. -func (e WaitableValidationError) Cause() error { return e.cause } - -// Key function returns key value. -func (e WaitableValidationError) Key() bool { return e.key } - -// ErrorName returns error name. -func (e WaitableValidationError) ErrorName() string { return "WaitableValidationError" } - -// Error satisfies the builtin error interface -func (e WaitableValidationError) Error() string { - cause := "" - if e.cause != nil { - cause = fmt.Sprintf(" | caused by: %v", e.cause) - } - - key := "" - if e.key { - key = "key for " - } - - return fmt.Sprintf( - "invalid %sWaitable.%s: %s%s", - key, - e.field, - e.reason, - cause) -} - -var _ error = WaitableValidationError{} - -var _ interface { - Field() string - Reason() string - Key() bool - Cause() error - ErrorName() string -} = WaitableValidationError{} diff --git a/flyteidl/gen/pb-java/datacatalog/Datacatalog.java b/flyteidl/gen/pb-java/datacatalog/Datacatalog.java index 3dda04336f..9ad108fc95 100644 --- a/flyteidl/gen/pb-java/datacatalog/Datacatalog.java +++ b/flyteidl/gen/pb-java/datacatalog/Datacatalog.java @@ -10339,7 +10339,7 @@ datacatalog.Datacatalog.ArtifactDataOrBuilder getDataOrBuilder( /** *
-     * Update task execution metadata when overwriting cache
+     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
      * 
* * .datacatalog.Metadata metadata = 5; @@ -10347,7 +10347,7 @@ datacatalog.Datacatalog.ArtifactDataOrBuilder getDataOrBuilder( boolean hasMetadata(); /** *
-     * Update task execution metadata when overwriting cache
+     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
      * 
* * .datacatalog.Metadata metadata = 5; @@ -10355,7 +10355,7 @@ datacatalog.Datacatalog.ArtifactDataOrBuilder getDataOrBuilder( datacatalog.Datacatalog.Metadata getMetadata(); /** *
-     * Update task execution metadata when overwriting cache
+     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
      * 
* * .datacatalog.Metadata metadata = 5; @@ -10712,7 +10712,7 @@ public datacatalog.Datacatalog.ArtifactDataOrBuilder getDataOrBuilder( private datacatalog.Datacatalog.Metadata metadata_; /** *
-     * Update task execution metadata when overwriting cache
+     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
      * 
* * .datacatalog.Metadata metadata = 5; @@ -10722,7 +10722,7 @@ public boolean hasMetadata() { } /** *
-     * Update task execution metadata when overwriting cache
+     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
      * 
* * .datacatalog.Metadata metadata = 5; @@ -10732,7 +10732,7 @@ public datacatalog.Datacatalog.Metadata getMetadata() { } /** *
-     * Update task execution metadata when overwriting cache
+     * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
      * 
* * .datacatalog.Metadata metadata = 5; @@ -11875,7 +11875,7 @@ public datacatalog.Datacatalog.ArtifactData.Builder addDataBuilder( datacatalog.Datacatalog.Metadata, datacatalog.Datacatalog.Metadata.Builder, datacatalog.Datacatalog.MetadataOrBuilder> metadataBuilder_; /** *
-       * Update task execution metadata when overwriting cache
+       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
        * 
* * .datacatalog.Metadata metadata = 5; @@ -11885,7 +11885,7 @@ public boolean hasMetadata() { } /** *
-       * Update task execution metadata when overwriting cache
+       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
        * 
* * .datacatalog.Metadata metadata = 5; @@ -11899,7 +11899,7 @@ public datacatalog.Datacatalog.Metadata getMetadata() { } /** *
-       * Update task execution metadata when overwriting cache
+       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
        * 
* * .datacatalog.Metadata metadata = 5; @@ -11919,7 +11919,7 @@ public Builder setMetadata(datacatalog.Datacatalog.Metadata value) { } /** *
-       * Update task execution metadata when overwriting cache
+       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
        * 
* * .datacatalog.Metadata metadata = 5; @@ -11937,7 +11937,7 @@ public Builder setMetadata( } /** *
-       * Update task execution metadata when overwriting cache
+       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
        * 
* * .datacatalog.Metadata metadata = 5; @@ -11959,7 +11959,7 @@ public Builder mergeMetadata(datacatalog.Datacatalog.Metadata value) { } /** *
-       * Update task execution metadata when overwriting cache
+       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
        * 
* * .datacatalog.Metadata metadata = 5; @@ -11977,7 +11977,7 @@ public Builder clearMetadata() { } /** *
-       * Update task execution metadata when overwriting cache
+       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
        * 
* * .datacatalog.Metadata metadata = 5; @@ -11989,7 +11989,7 @@ public datacatalog.Datacatalog.Metadata.Builder getMetadataBuilder() { } /** *
-       * Update task execution metadata when overwriting cache
+       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
        * 
* * .datacatalog.Metadata metadata = 5; @@ -12004,7 +12004,7 @@ public datacatalog.Datacatalog.MetadataOrBuilder getMetadataOrBuilder() { } /** *
-       * Update task execution metadata when overwriting cache
+       * Update execution metadata(including execution domain, name, node, project data) when overwriting cache
        * 
* * .datacatalog.Metadata metadata = 5; diff --git a/flyteidl/gen/pb_python/validate/__init__.py b/flyteidl/gen/pb_python/validate/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/flyteidl/gen/pb_python/validate/validate_pb2.py b/flyteidl/gen/pb_python/validate/validate_pb2.py deleted file mode 100644 index 73988e7c38..0000000000 --- a/flyteidl/gen/pb_python/validate/validate_pb2.py +++ /dev/null @@ -1,2366 +0,0 @@ -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: validate/validate.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='validate/validate.proto', - package='validate', - syntax='proto2', - serialized_options=_b('\n\032io.envoyproxy.pgv.validateZ2github.com/envoyproxy/protoc-gen-validate/validate'), - serialized_pb=_b('\n\x17validate/validate.proto\x12\x08validate\x1a google/protobuf/descriptor.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x98\x07\n\nFieldRules\x12\'\n\x07message\x18\x11 \x01(\x0b\x32\x16.validate.MessageRules\x12%\n\x05\x66loat\x18\x01 \x01(\x0b\x32\x14.validate.FloatRulesH\x00\x12\'\n\x06\x64ouble\x18\x02 \x01(\x0b\x32\x15.validate.DoubleRulesH\x00\x12%\n\x05int32\x18\x03 \x01(\x0b\x32\x14.validate.Int32RulesH\x00\x12%\n\x05int64\x18\x04 \x01(\x0b\x32\x14.validate.Int64RulesH\x00\x12\'\n\x06uint32\x18\x05 \x01(\x0b\x32\x15.validate.UInt32RulesH\x00\x12\'\n\x06uint64\x18\x06 \x01(\x0b\x32\x15.validate.UInt64RulesH\x00\x12\'\n\x06sint32\x18\x07 \x01(\x0b\x32\x15.validate.SInt32RulesH\x00\x12\'\n\x06sint64\x18\x08 \x01(\x0b\x32\x15.validate.SInt64RulesH\x00\x12)\n\x07\x66ixed32\x18\t \x01(\x0b\x32\x16.validate.Fixed32RulesH\x00\x12)\n\x07\x66ixed64\x18\n \x01(\x0b\x32\x16.validate.Fixed64RulesH\x00\x12+\n\x08sfixed32\x18\x0b \x01(\x0b\x32\x17.validate.SFixed32RulesH\x00\x12+\n\x08sfixed64\x18\x0c \x01(\x0b\x32\x17.validate.SFixed64RulesH\x00\x12#\n\x04\x62ool\x18\r \x01(\x0b\x32\x13.validate.BoolRulesH\x00\x12\'\n\x06string\x18\x0e \x01(\x0b\x32\x15.validate.StringRulesH\x00\x12%\n\x05\x62ytes\x18\x0f \x01(\x0b\x32\x14.validate.BytesRulesH\x00\x12#\n\x04\x65num\x18\x10 \x01(\x0b\x32\x13.validate.EnumRulesH\x00\x12+\n\x08repeated\x18\x12 \x01(\x0b\x32\x17.validate.RepeatedRulesH\x00\x12!\n\x03map\x18\x13 \x01(\x0b\x32\x12.validate.MapRulesH\x00\x12!\n\x03\x61ny\x18\x14 \x01(\x0b\x32\x12.validate.AnyRulesH\x00\x12+\n\x08\x64uration\x18\x15 \x01(\x0b\x32\x17.validate.DurationRulesH\x00\x12-\n\ttimestamp\x18\x16 \x01(\x0b\x32\x18.validate.TimestampRulesH\x00\x42\x06\n\x04type\"\x7f\n\nFloatRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x02\x12\n\n\x02lt\x18\x02 \x01(\x02\x12\x0b\n\x03lte\x18\x03 \x01(\x02\x12\n\n\x02gt\x18\x04 \x01(\x02\x12\x0b\n\x03gte\x18\x05 \x01(\x02\x12\n\n\x02in\x18\x06 \x03(\x02\x12\x0e\n\x06not_in\x18\x07 \x03(\x02\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x80\x01\n\x0b\x44oubleRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x01\x12\n\n\x02lt\x18\x02 \x01(\x01\x12\x0b\n\x03lte\x18\x03 \x01(\x01\x12\n\n\x02gt\x18\x04 \x01(\x01\x12\x0b\n\x03gte\x18\x05 \x01(\x01\x12\n\n\x02in\x18\x06 \x03(\x01\x12\x0e\n\x06not_in\x18\x07 \x03(\x01\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x7f\n\nInt32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x05\x12\n\n\x02lt\x18\x02 \x01(\x05\x12\x0b\n\x03lte\x18\x03 \x01(\x05\x12\n\n\x02gt\x18\x04 \x01(\x05\x12\x0b\n\x03gte\x18\x05 \x01(\x05\x12\n\n\x02in\x18\x06 \x03(\x05\x12\x0e\n\x06not_in\x18\x07 \x03(\x05\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x7f\n\nInt64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x03\x12\n\n\x02lt\x18\x02 \x01(\x03\x12\x0b\n\x03lte\x18\x03 \x01(\x03\x12\n\n\x02gt\x18\x04 \x01(\x03\x12\x0b\n\x03gte\x18\x05 \x01(\x03\x12\n\n\x02in\x18\x06 \x03(\x03\x12\x0e\n\x06not_in\x18\x07 \x03(\x03\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x80\x01\n\x0bUInt32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\r\x12\n\n\x02lt\x18\x02 \x01(\r\x12\x0b\n\x03lte\x18\x03 \x01(\r\x12\n\n\x02gt\x18\x04 \x01(\r\x12\x0b\n\x03gte\x18\x05 \x01(\r\x12\n\n\x02in\x18\x06 \x03(\r\x12\x0e\n\x06not_in\x18\x07 \x03(\r\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x80\x01\n\x0bUInt64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x04\x12\n\n\x02lt\x18\x02 \x01(\x04\x12\x0b\n\x03lte\x18\x03 \x01(\x04\x12\n\n\x02gt\x18\x04 \x01(\x04\x12\x0b\n\x03gte\x18\x05 \x01(\x04\x12\n\n\x02in\x18\x06 \x03(\x04\x12\x0e\n\x06not_in\x18\x07 \x03(\x04\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x80\x01\n\x0bSInt32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x11\x12\n\n\x02lt\x18\x02 \x01(\x11\x12\x0b\n\x03lte\x18\x03 \x01(\x11\x12\n\n\x02gt\x18\x04 \x01(\x11\x12\x0b\n\x03gte\x18\x05 \x01(\x11\x12\n\n\x02in\x18\x06 \x03(\x11\x12\x0e\n\x06not_in\x18\x07 \x03(\x11\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x80\x01\n\x0bSInt64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x12\x12\n\n\x02lt\x18\x02 \x01(\x12\x12\x0b\n\x03lte\x18\x03 \x01(\x12\x12\n\n\x02gt\x18\x04 \x01(\x12\x12\x0b\n\x03gte\x18\x05 \x01(\x12\x12\n\n\x02in\x18\x06 \x03(\x12\x12\x0e\n\x06not_in\x18\x07 \x03(\x12\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x81\x01\n\x0c\x46ixed32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x07\x12\n\n\x02lt\x18\x02 \x01(\x07\x12\x0b\n\x03lte\x18\x03 \x01(\x07\x12\n\n\x02gt\x18\x04 \x01(\x07\x12\x0b\n\x03gte\x18\x05 \x01(\x07\x12\n\n\x02in\x18\x06 \x03(\x07\x12\x0e\n\x06not_in\x18\x07 \x03(\x07\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x81\x01\n\x0c\x46ixed64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x06\x12\n\n\x02lt\x18\x02 \x01(\x06\x12\x0b\n\x03lte\x18\x03 \x01(\x06\x12\n\n\x02gt\x18\x04 \x01(\x06\x12\x0b\n\x03gte\x18\x05 \x01(\x06\x12\n\n\x02in\x18\x06 \x03(\x06\x12\x0e\n\x06not_in\x18\x07 \x03(\x06\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x82\x01\n\rSFixed32Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x0f\x12\n\n\x02lt\x18\x02 \x01(\x0f\x12\x0b\n\x03lte\x18\x03 \x01(\x0f\x12\n\n\x02gt\x18\x04 \x01(\x0f\x12\x0b\n\x03gte\x18\x05 \x01(\x0f\x12\n\n\x02in\x18\x06 \x03(\x0f\x12\x0e\n\x06not_in\x18\x07 \x03(\x0f\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x82\x01\n\rSFixed64Rules\x12\r\n\x05\x63onst\x18\x01 \x01(\x10\x12\n\n\x02lt\x18\x02 \x01(\x10\x12\x0b\n\x03lte\x18\x03 \x01(\x10\x12\n\n\x02gt\x18\x04 \x01(\x10\x12\x0b\n\x03gte\x18\x05 \x01(\x10\x12\n\n\x02in\x18\x06 \x03(\x10\x12\x0e\n\x06not_in\x18\x07 \x03(\x10\x12\x14\n\x0cignore_empty\x18\x08 \x01(\x08\"\x1a\n\tBoolRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x08\"\xfd\x03\n\x0bStringRules\x12\r\n\x05\x63onst\x18\x01 \x01(\t\x12\x0b\n\x03len\x18\x13 \x01(\x04\x12\x0f\n\x07min_len\x18\x02 \x01(\x04\x12\x0f\n\x07max_len\x18\x03 \x01(\x04\x12\x11\n\tlen_bytes\x18\x14 \x01(\x04\x12\x11\n\tmin_bytes\x18\x04 \x01(\x04\x12\x11\n\tmax_bytes\x18\x05 \x01(\x04\x12\x0f\n\x07pattern\x18\x06 \x01(\t\x12\x0e\n\x06prefix\x18\x07 \x01(\t\x12\x0e\n\x06suffix\x18\x08 \x01(\t\x12\x10\n\x08\x63ontains\x18\t \x01(\t\x12\x14\n\x0cnot_contains\x18\x17 \x01(\t\x12\n\n\x02in\x18\n \x03(\t\x12\x0e\n\x06not_in\x18\x0b \x03(\t\x12\x0f\n\x05\x65mail\x18\x0c \x01(\x08H\x00\x12\x12\n\x08hostname\x18\r \x01(\x08H\x00\x12\x0c\n\x02ip\x18\x0e \x01(\x08H\x00\x12\x0e\n\x04ipv4\x18\x0f \x01(\x08H\x00\x12\x0e\n\x04ipv6\x18\x10 \x01(\x08H\x00\x12\r\n\x03uri\x18\x11 \x01(\x08H\x00\x12\x11\n\x07uri_ref\x18\x12 \x01(\x08H\x00\x12\x11\n\x07\x61\x64\x64ress\x18\x15 \x01(\x08H\x00\x12\x0e\n\x04uuid\x18\x16 \x01(\x08H\x00\x12\x30\n\x10well_known_regex\x18\x18 \x01(\x0e\x32\x14.validate.KnownRegexH\x00\x12\x14\n\x06strict\x18\x19 \x01(\x08:\x04true\x12\x14\n\x0cignore_empty\x18\x1a \x01(\x08\x42\x0c\n\nwell_known\"\xfb\x01\n\nBytesRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x0c\x12\x0b\n\x03len\x18\r \x01(\x04\x12\x0f\n\x07min_len\x18\x02 \x01(\x04\x12\x0f\n\x07max_len\x18\x03 \x01(\x04\x12\x0f\n\x07pattern\x18\x04 \x01(\t\x12\x0e\n\x06prefix\x18\x05 \x01(\x0c\x12\x0e\n\x06suffix\x18\x06 \x01(\x0c\x12\x10\n\x08\x63ontains\x18\x07 \x01(\x0c\x12\n\n\x02in\x18\x08 \x03(\x0c\x12\x0e\n\x06not_in\x18\t \x03(\x0c\x12\x0c\n\x02ip\x18\n \x01(\x08H\x00\x12\x0e\n\x04ipv4\x18\x0b \x01(\x08H\x00\x12\x0e\n\x04ipv6\x18\x0c \x01(\x08H\x00\x12\x14\n\x0cignore_empty\x18\x0e \x01(\x08\x42\x0c\n\nwell_known\"L\n\tEnumRules\x12\r\n\x05\x63onst\x18\x01 \x01(\x05\x12\x14\n\x0c\x64\x65\x66ined_only\x18\x02 \x01(\x08\x12\n\n\x02in\x18\x03 \x03(\x05\x12\x0e\n\x06not_in\x18\x04 \x03(\x05\".\n\x0cMessageRules\x12\x0c\n\x04skip\x18\x01 \x01(\x08\x12\x10\n\x08required\x18\x02 \x01(\x08\"\x80\x01\n\rRepeatedRules\x12\x11\n\tmin_items\x18\x01 \x01(\x04\x12\x11\n\tmax_items\x18\x02 \x01(\x04\x12\x0e\n\x06unique\x18\x03 \x01(\x08\x12#\n\x05items\x18\x04 \x01(\x0b\x32\x14.validate.FieldRules\x12\x14\n\x0cignore_empty\x18\x05 \x01(\x08\"\xa3\x01\n\x08MapRules\x12\x11\n\tmin_pairs\x18\x01 \x01(\x04\x12\x11\n\tmax_pairs\x18\x02 \x01(\x04\x12\x11\n\tno_sparse\x18\x03 \x01(\x08\x12\"\n\x04keys\x18\x04 \x01(\x0b\x32\x14.validate.FieldRules\x12$\n\x06values\x18\x05 \x01(\x0b\x32\x14.validate.FieldRules\x12\x14\n\x0cignore_empty\x18\x06 \x01(\x08\"8\n\x08\x41nyRules\x12\x10\n\x08required\x18\x01 \x01(\x08\x12\n\n\x02in\x18\x02 \x03(\t\x12\x0e\n\x06not_in\x18\x03 \x03(\t\"\xbb\x02\n\rDurationRules\x12\x10\n\x08required\x18\x01 \x01(\x08\x12(\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x02lt\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x03lte\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x02gt\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x03gte\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x02in\x18\x07 \x03(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x06not_in\x18\x08 \x03(\x0b\x32\x19.google.protobuf.Duration\"\xba\x02\n\x0eTimestampRules\x12\x10\n\x08required\x18\x01 \x01(\x08\x12)\n\x05\x63onst\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x02lt\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03lte\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x02gt\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03gte\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06lt_now\x18\x07 \x01(\x08\x12\x0e\n\x06gt_now\x18\x08 \x01(\x08\x12)\n\x06within\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration*F\n\nKnownRegex\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x14\n\x10HTTP_HEADER_NAME\x10\x01\x12\x15\n\x11HTTP_HEADER_VALUE\x10\x02:2\n\x08\x64isabled\x12\x1f.google.protobuf.MessageOptions\x18\xaf\x08 \x01(\x08:1\n\x07ignored\x12\x1f.google.protobuf.MessageOptions\x18\xb0\x08 \x01(\x08:0\n\x08required\x12\x1d.google.protobuf.OneofOptions\x18\xaf\x08 \x01(\x08:C\n\x05rules\x12\x1d.google.protobuf.FieldOptions\x18\xaf\x08 \x01(\x0b\x32\x14.validate.FieldRulesBP\n\x1aio.envoyproxy.pgv.validateZ2github.com/envoyproxy/protoc-gen-validate/validate') - , - dependencies=[google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,]) - -_KNOWNREGEX = _descriptor.EnumDescriptor( - name='KnownRegex', - full_name='validate.KnownRegex', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HTTP_HEADER_NAME', index=1, number=1, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='HTTP_HEADER_VALUE', index=2, number=2, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=4541, - serialized_end=4611, -) -_sym_db.RegisterEnumDescriptor(_KNOWNREGEX) - -KnownRegex = enum_type_wrapper.EnumTypeWrapper(_KNOWNREGEX) -UNKNOWN = 0 -HTTP_HEADER_NAME = 1 -HTTP_HEADER_VALUE = 2 - -DISABLED_FIELD_NUMBER = 1071 -disabled = _descriptor.FieldDescriptor( - name='disabled', full_name='validate.disabled', index=0, - number=1071, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR) -IGNORED_FIELD_NUMBER = 1072 -ignored = _descriptor.FieldDescriptor( - name='ignored', full_name='validate.ignored', index=1, - number=1072, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR) -REQUIRED_FIELD_NUMBER = 1071 -required = _descriptor.FieldDescriptor( - name='required', full_name='validate.required', index=2, - number=1071, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR) -RULES_FIELD_NUMBER = 1071 -rules = _descriptor.FieldDescriptor( - name='rules', full_name='validate.rules', index=3, - number=1071, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=True, extension_scope=None, - serialized_options=None, file=DESCRIPTOR) - - -_FIELDRULES = _descriptor.Descriptor( - name='FieldRules', - full_name='validate.FieldRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='message', full_name='validate.FieldRules.message', index=0, - number=17, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='float', full_name='validate.FieldRules.float', index=1, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='double', full_name='validate.FieldRules.double', index=2, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='int32', full_name='validate.FieldRules.int32', index=3, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='int64', full_name='validate.FieldRules.int64', index=4, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='uint32', full_name='validate.FieldRules.uint32', index=5, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='uint64', full_name='validate.FieldRules.uint64', index=6, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='sint32', full_name='validate.FieldRules.sint32', index=7, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='sint64', full_name='validate.FieldRules.sint64', index=8, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='fixed32', full_name='validate.FieldRules.fixed32', index=9, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='fixed64', full_name='validate.FieldRules.fixed64', index=10, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='sfixed32', full_name='validate.FieldRules.sfixed32', index=11, - number=11, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='sfixed64', full_name='validate.FieldRules.sfixed64', index=12, - number=12, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='bool', full_name='validate.FieldRules.bool', index=13, - number=13, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='string', full_name='validate.FieldRules.string', index=14, - number=14, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='bytes', full_name='validate.FieldRules.bytes', index=15, - number=15, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='enum', full_name='validate.FieldRules.enum', index=16, - number=16, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='repeated', full_name='validate.FieldRules.repeated', index=17, - number=18, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='map', full_name='validate.FieldRules.map', index=18, - number=19, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='any', full_name='validate.FieldRules.any', index=19, - number=20, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='duration', full_name='validate.FieldRules.duration', index=20, - number=21, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='timestamp', full_name='validate.FieldRules.timestamp', index=21, - number=22, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='type', full_name='validate.FieldRules.type', - index=0, containing_type=None, fields=[]), - ], - serialized_start=137, - serialized_end=1057, -) - - -_FLOATRULES = _descriptor.Descriptor( - name='FloatRules', - full_name='validate.FloatRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.FloatRules.const', index=0, - number=1, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.FloatRules.lt', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.FloatRules.lte', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.FloatRules.gt', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.FloatRules.gte', index=4, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.FloatRules.in', index=5, - number=6, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.FloatRules.not_in', index=6, - number=7, type=2, cpp_type=6, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.FloatRules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1059, - serialized_end=1186, -) - - -_DOUBLERULES = _descriptor.Descriptor( - name='DoubleRules', - full_name='validate.DoubleRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.DoubleRules.const', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.DoubleRules.lt', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.DoubleRules.lte', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.DoubleRules.gt', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.DoubleRules.gte', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.DoubleRules.in', index=5, - number=6, type=1, cpp_type=5, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.DoubleRules.not_in', index=6, - number=7, type=1, cpp_type=5, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.DoubleRules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1189, - serialized_end=1317, -) - - -_INT32RULES = _descriptor.Descriptor( - name='Int32Rules', - full_name='validate.Int32Rules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.Int32Rules.const', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.Int32Rules.lt', index=1, - number=2, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.Int32Rules.lte', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.Int32Rules.gt', index=3, - number=4, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.Int32Rules.gte', index=4, - number=5, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.Int32Rules.in', index=5, - number=6, type=5, cpp_type=1, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.Int32Rules.not_in', index=6, - number=7, type=5, cpp_type=1, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.Int32Rules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1319, - serialized_end=1446, -) - - -_INT64RULES = _descriptor.Descriptor( - name='Int64Rules', - full_name='validate.Int64Rules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.Int64Rules.const', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.Int64Rules.lt', index=1, - number=2, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.Int64Rules.lte', index=2, - number=3, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.Int64Rules.gt', index=3, - number=4, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.Int64Rules.gte', index=4, - number=5, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.Int64Rules.in', index=5, - number=6, type=3, cpp_type=2, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.Int64Rules.not_in', index=6, - number=7, type=3, cpp_type=2, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.Int64Rules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1448, - serialized_end=1575, -) - - -_UINT32RULES = _descriptor.Descriptor( - name='UInt32Rules', - full_name='validate.UInt32Rules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.UInt32Rules.const', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.UInt32Rules.lt', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.UInt32Rules.lte', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.UInt32Rules.gt', index=3, - number=4, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.UInt32Rules.gte', index=4, - number=5, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.UInt32Rules.in', index=5, - number=6, type=13, cpp_type=3, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.UInt32Rules.not_in', index=6, - number=7, type=13, cpp_type=3, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.UInt32Rules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1578, - serialized_end=1706, -) - - -_UINT64RULES = _descriptor.Descriptor( - name='UInt64Rules', - full_name='validate.UInt64Rules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.UInt64Rules.const', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.UInt64Rules.lt', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.UInt64Rules.lte', index=2, - number=3, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.UInt64Rules.gt', index=3, - number=4, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.UInt64Rules.gte', index=4, - number=5, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.UInt64Rules.in', index=5, - number=6, type=4, cpp_type=4, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.UInt64Rules.not_in', index=6, - number=7, type=4, cpp_type=4, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.UInt64Rules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1709, - serialized_end=1837, -) - - -_SINT32RULES = _descriptor.Descriptor( - name='SInt32Rules', - full_name='validate.SInt32Rules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.SInt32Rules.const', index=0, - number=1, type=17, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.SInt32Rules.lt', index=1, - number=2, type=17, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.SInt32Rules.lte', index=2, - number=3, type=17, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.SInt32Rules.gt', index=3, - number=4, type=17, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.SInt32Rules.gte', index=4, - number=5, type=17, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.SInt32Rules.in', index=5, - number=6, type=17, cpp_type=1, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.SInt32Rules.not_in', index=6, - number=7, type=17, cpp_type=1, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.SInt32Rules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1840, - serialized_end=1968, -) - - -_SINT64RULES = _descriptor.Descriptor( - name='SInt64Rules', - full_name='validate.SInt64Rules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.SInt64Rules.const', index=0, - number=1, type=18, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.SInt64Rules.lt', index=1, - number=2, type=18, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.SInt64Rules.lte', index=2, - number=3, type=18, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.SInt64Rules.gt', index=3, - number=4, type=18, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.SInt64Rules.gte', index=4, - number=5, type=18, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.SInt64Rules.in', index=5, - number=6, type=18, cpp_type=2, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.SInt64Rules.not_in', index=6, - number=7, type=18, cpp_type=2, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.SInt64Rules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1971, - serialized_end=2099, -) - - -_FIXED32RULES = _descriptor.Descriptor( - name='Fixed32Rules', - full_name='validate.Fixed32Rules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.Fixed32Rules.const', index=0, - number=1, type=7, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.Fixed32Rules.lt', index=1, - number=2, type=7, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.Fixed32Rules.lte', index=2, - number=3, type=7, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.Fixed32Rules.gt', index=3, - number=4, type=7, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.Fixed32Rules.gte', index=4, - number=5, type=7, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.Fixed32Rules.in', index=5, - number=6, type=7, cpp_type=3, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.Fixed32Rules.not_in', index=6, - number=7, type=7, cpp_type=3, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.Fixed32Rules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2102, - serialized_end=2231, -) - - -_FIXED64RULES = _descriptor.Descriptor( - name='Fixed64Rules', - full_name='validate.Fixed64Rules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.Fixed64Rules.const', index=0, - number=1, type=6, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.Fixed64Rules.lt', index=1, - number=2, type=6, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.Fixed64Rules.lte', index=2, - number=3, type=6, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.Fixed64Rules.gt', index=3, - number=4, type=6, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.Fixed64Rules.gte', index=4, - number=5, type=6, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.Fixed64Rules.in', index=5, - number=6, type=6, cpp_type=4, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.Fixed64Rules.not_in', index=6, - number=7, type=6, cpp_type=4, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.Fixed64Rules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2234, - serialized_end=2363, -) - - -_SFIXED32RULES = _descriptor.Descriptor( - name='SFixed32Rules', - full_name='validate.SFixed32Rules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.SFixed32Rules.const', index=0, - number=1, type=15, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.SFixed32Rules.lt', index=1, - number=2, type=15, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.SFixed32Rules.lte', index=2, - number=3, type=15, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.SFixed32Rules.gt', index=3, - number=4, type=15, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.SFixed32Rules.gte', index=4, - number=5, type=15, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.SFixed32Rules.in', index=5, - number=6, type=15, cpp_type=1, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.SFixed32Rules.not_in', index=6, - number=7, type=15, cpp_type=1, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.SFixed32Rules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2366, - serialized_end=2496, -) - - -_SFIXED64RULES = _descriptor.Descriptor( - name='SFixed64Rules', - full_name='validate.SFixed64Rules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.SFixed64Rules.const', index=0, - number=1, type=16, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.SFixed64Rules.lt', index=1, - number=2, type=16, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.SFixed64Rules.lte', index=2, - number=3, type=16, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.SFixed64Rules.gt', index=3, - number=4, type=16, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.SFixed64Rules.gte', index=4, - number=5, type=16, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.SFixed64Rules.in', index=5, - number=6, type=16, cpp_type=2, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.SFixed64Rules.not_in', index=6, - number=7, type=16, cpp_type=2, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.SFixed64Rules.ignore_empty', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2499, - serialized_end=2629, -) - - -_BOOLRULES = _descriptor.Descriptor( - name='BoolRules', - full_name='validate.BoolRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.BoolRules.const', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2631, - serialized_end=2657, -) - - -_STRINGRULES = _descriptor.Descriptor( - name='StringRules', - full_name='validate.StringRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.StringRules.const', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='len', full_name='validate.StringRules.len', index=1, - number=19, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='min_len', full_name='validate.StringRules.min_len', index=2, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_len', full_name='validate.StringRules.max_len', index=3, - number=3, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='len_bytes', full_name='validate.StringRules.len_bytes', index=4, - number=20, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='min_bytes', full_name='validate.StringRules.min_bytes', index=5, - number=4, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_bytes', full_name='validate.StringRules.max_bytes', index=6, - number=5, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='pattern', full_name='validate.StringRules.pattern', index=7, - number=6, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='prefix', full_name='validate.StringRules.prefix', index=8, - number=7, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='suffix', full_name='validate.StringRules.suffix', index=9, - number=8, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='contains', full_name='validate.StringRules.contains', index=10, - number=9, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_contains', full_name='validate.StringRules.not_contains', index=11, - number=23, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.StringRules.in', index=12, - number=10, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.StringRules.not_in', index=13, - number=11, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='email', full_name='validate.StringRules.email', index=14, - number=12, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='hostname', full_name='validate.StringRules.hostname', index=15, - number=13, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ip', full_name='validate.StringRules.ip', index=16, - number=14, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ipv4', full_name='validate.StringRules.ipv4', index=17, - number=15, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ipv6', full_name='validate.StringRules.ipv6', index=18, - number=16, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='uri', full_name='validate.StringRules.uri', index=19, - number=17, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='uri_ref', full_name='validate.StringRules.uri_ref', index=20, - number=18, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='address', full_name='validate.StringRules.address', index=21, - number=21, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='uuid', full_name='validate.StringRules.uuid', index=22, - number=22, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='well_known_regex', full_name='validate.StringRules.well_known_regex', index=23, - number=24, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='strict', full_name='validate.StringRules.strict', index=24, - number=25, type=8, cpp_type=7, label=1, - has_default_value=True, default_value=True, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.StringRules.ignore_empty', index=25, - number=26, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='well_known', full_name='validate.StringRules.well_known', - index=0, containing_type=None, fields=[]), - ], - serialized_start=2660, - serialized_end=3169, -) - - -_BYTESRULES = _descriptor.Descriptor( - name='BytesRules', - full_name='validate.BytesRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.BytesRules.const', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='len', full_name='validate.BytesRules.len', index=1, - number=13, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='min_len', full_name='validate.BytesRules.min_len', index=2, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_len', full_name='validate.BytesRules.max_len', index=3, - number=3, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='pattern', full_name='validate.BytesRules.pattern', index=4, - number=4, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='prefix', full_name='validate.BytesRules.prefix', index=5, - number=5, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='suffix', full_name='validate.BytesRules.suffix', index=6, - number=6, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='contains', full_name='validate.BytesRules.contains', index=7, - number=7, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.BytesRules.in', index=8, - number=8, type=12, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.BytesRules.not_in', index=9, - number=9, type=12, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ip', full_name='validate.BytesRules.ip', index=10, - number=10, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ipv4', full_name='validate.BytesRules.ipv4', index=11, - number=11, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ipv6', full_name='validate.BytesRules.ipv6', index=12, - number=12, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.BytesRules.ignore_empty', index=13, - number=14, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='well_known', full_name='validate.BytesRules.well_known', - index=0, containing_type=None, fields=[]), - ], - serialized_start=3172, - serialized_end=3423, -) - - -_ENUMRULES = _descriptor.Descriptor( - name='EnumRules', - full_name='validate.EnumRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='const', full_name='validate.EnumRules.const', index=0, - number=1, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='defined_only', full_name='validate.EnumRules.defined_only', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.EnumRules.in', index=2, - number=3, type=5, cpp_type=1, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.EnumRules.not_in', index=3, - number=4, type=5, cpp_type=1, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3425, - serialized_end=3501, -) - - -_MESSAGERULES = _descriptor.Descriptor( - name='MessageRules', - full_name='validate.MessageRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='skip', full_name='validate.MessageRules.skip', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='required', full_name='validate.MessageRules.required', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3503, - serialized_end=3549, -) - - -_REPEATEDRULES = _descriptor.Descriptor( - name='RepeatedRules', - full_name='validate.RepeatedRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='min_items', full_name='validate.RepeatedRules.min_items', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_items', full_name='validate.RepeatedRules.max_items', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='unique', full_name='validate.RepeatedRules.unique', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='items', full_name='validate.RepeatedRules.items', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.RepeatedRules.ignore_empty', index=4, - number=5, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3552, - serialized_end=3680, -) - - -_MAPRULES = _descriptor.Descriptor( - name='MapRules', - full_name='validate.MapRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='min_pairs', full_name='validate.MapRules.min_pairs', index=0, - number=1, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='max_pairs', full_name='validate.MapRules.max_pairs', index=1, - number=2, type=4, cpp_type=4, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='no_sparse', full_name='validate.MapRules.no_sparse', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='keys', full_name='validate.MapRules.keys', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='values', full_name='validate.MapRules.values', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ignore_empty', full_name='validate.MapRules.ignore_empty', index=5, - number=6, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3683, - serialized_end=3846, -) - - -_ANYRULES = _descriptor.Descriptor( - name='AnyRules', - full_name='validate.AnyRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='required', full_name='validate.AnyRules.required', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.AnyRules.in', index=1, - number=2, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.AnyRules.not_in', index=2, - number=3, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3848, - serialized_end=3904, -) - - -_DURATIONRULES = _descriptor.Descriptor( - name='DurationRules', - full_name='validate.DurationRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='required', full_name='validate.DurationRules.required', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='const', full_name='validate.DurationRules.const', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.DurationRules.lt', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.DurationRules.lte', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.DurationRules.gt', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.DurationRules.gte', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='in', full_name='validate.DurationRules.in', index=6, - number=7, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='not_in', full_name='validate.DurationRules.not_in', index=7, - number=8, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3907, - serialized_end=4222, -) - - -_TIMESTAMPRULES = _descriptor.Descriptor( - name='TimestampRules', - full_name='validate.TimestampRules', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='required', full_name='validate.TimestampRules.required', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='const', full_name='validate.TimestampRules.const', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt', full_name='validate.TimestampRules.lt', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lte', full_name='validate.TimestampRules.lte', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt', full_name='validate.TimestampRules.gt', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gte', full_name='validate.TimestampRules.gte', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='lt_now', full_name='validate.TimestampRules.lt_now', index=6, - number=7, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gt_now', full_name='validate.TimestampRules.gt_now', index=7, - number=8, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='within', full_name='validate.TimestampRules.within', index=8, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto2', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4225, - serialized_end=4539, -) - -_FIELDRULES.fields_by_name['message'].message_type = _MESSAGERULES -_FIELDRULES.fields_by_name['float'].message_type = _FLOATRULES -_FIELDRULES.fields_by_name['double'].message_type = _DOUBLERULES -_FIELDRULES.fields_by_name['int32'].message_type = _INT32RULES -_FIELDRULES.fields_by_name['int64'].message_type = _INT64RULES -_FIELDRULES.fields_by_name['uint32'].message_type = _UINT32RULES -_FIELDRULES.fields_by_name['uint64'].message_type = _UINT64RULES -_FIELDRULES.fields_by_name['sint32'].message_type = _SINT32RULES -_FIELDRULES.fields_by_name['sint64'].message_type = _SINT64RULES -_FIELDRULES.fields_by_name['fixed32'].message_type = _FIXED32RULES -_FIELDRULES.fields_by_name['fixed64'].message_type = _FIXED64RULES -_FIELDRULES.fields_by_name['sfixed32'].message_type = _SFIXED32RULES -_FIELDRULES.fields_by_name['sfixed64'].message_type = _SFIXED64RULES -_FIELDRULES.fields_by_name['bool'].message_type = _BOOLRULES -_FIELDRULES.fields_by_name['string'].message_type = _STRINGRULES -_FIELDRULES.fields_by_name['bytes'].message_type = _BYTESRULES -_FIELDRULES.fields_by_name['enum'].message_type = _ENUMRULES -_FIELDRULES.fields_by_name['repeated'].message_type = _REPEATEDRULES -_FIELDRULES.fields_by_name['map'].message_type = _MAPRULES -_FIELDRULES.fields_by_name['any'].message_type = _ANYRULES -_FIELDRULES.fields_by_name['duration'].message_type = _DURATIONRULES -_FIELDRULES.fields_by_name['timestamp'].message_type = _TIMESTAMPRULES -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['float']) -_FIELDRULES.fields_by_name['float'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['double']) -_FIELDRULES.fields_by_name['double'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['int32']) -_FIELDRULES.fields_by_name['int32'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['int64']) -_FIELDRULES.fields_by_name['int64'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['uint32']) -_FIELDRULES.fields_by_name['uint32'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['uint64']) -_FIELDRULES.fields_by_name['uint64'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['sint32']) -_FIELDRULES.fields_by_name['sint32'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['sint64']) -_FIELDRULES.fields_by_name['sint64'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['fixed32']) -_FIELDRULES.fields_by_name['fixed32'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['fixed64']) -_FIELDRULES.fields_by_name['fixed64'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['sfixed32']) -_FIELDRULES.fields_by_name['sfixed32'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['sfixed64']) -_FIELDRULES.fields_by_name['sfixed64'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['bool']) -_FIELDRULES.fields_by_name['bool'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['string']) -_FIELDRULES.fields_by_name['string'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['bytes']) -_FIELDRULES.fields_by_name['bytes'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['enum']) -_FIELDRULES.fields_by_name['enum'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['repeated']) -_FIELDRULES.fields_by_name['repeated'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['map']) -_FIELDRULES.fields_by_name['map'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['any']) -_FIELDRULES.fields_by_name['any'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['duration']) -_FIELDRULES.fields_by_name['duration'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_FIELDRULES.oneofs_by_name['type'].fields.append( - _FIELDRULES.fields_by_name['timestamp']) -_FIELDRULES.fields_by_name['timestamp'].containing_oneof = _FIELDRULES.oneofs_by_name['type'] -_STRINGRULES.fields_by_name['well_known_regex'].enum_type = _KNOWNREGEX -_STRINGRULES.oneofs_by_name['well_known'].fields.append( - _STRINGRULES.fields_by_name['email']) -_STRINGRULES.fields_by_name['email'].containing_oneof = _STRINGRULES.oneofs_by_name['well_known'] -_STRINGRULES.oneofs_by_name['well_known'].fields.append( - _STRINGRULES.fields_by_name['hostname']) -_STRINGRULES.fields_by_name['hostname'].containing_oneof = _STRINGRULES.oneofs_by_name['well_known'] -_STRINGRULES.oneofs_by_name['well_known'].fields.append( - _STRINGRULES.fields_by_name['ip']) -_STRINGRULES.fields_by_name['ip'].containing_oneof = _STRINGRULES.oneofs_by_name['well_known'] -_STRINGRULES.oneofs_by_name['well_known'].fields.append( - _STRINGRULES.fields_by_name['ipv4']) -_STRINGRULES.fields_by_name['ipv4'].containing_oneof = _STRINGRULES.oneofs_by_name['well_known'] -_STRINGRULES.oneofs_by_name['well_known'].fields.append( - _STRINGRULES.fields_by_name['ipv6']) -_STRINGRULES.fields_by_name['ipv6'].containing_oneof = _STRINGRULES.oneofs_by_name['well_known'] -_STRINGRULES.oneofs_by_name['well_known'].fields.append( - _STRINGRULES.fields_by_name['uri']) -_STRINGRULES.fields_by_name['uri'].containing_oneof = _STRINGRULES.oneofs_by_name['well_known'] -_STRINGRULES.oneofs_by_name['well_known'].fields.append( - _STRINGRULES.fields_by_name['uri_ref']) -_STRINGRULES.fields_by_name['uri_ref'].containing_oneof = _STRINGRULES.oneofs_by_name['well_known'] -_STRINGRULES.oneofs_by_name['well_known'].fields.append( - _STRINGRULES.fields_by_name['address']) -_STRINGRULES.fields_by_name['address'].containing_oneof = _STRINGRULES.oneofs_by_name['well_known'] -_STRINGRULES.oneofs_by_name['well_known'].fields.append( - _STRINGRULES.fields_by_name['uuid']) -_STRINGRULES.fields_by_name['uuid'].containing_oneof = _STRINGRULES.oneofs_by_name['well_known'] -_STRINGRULES.oneofs_by_name['well_known'].fields.append( - _STRINGRULES.fields_by_name['well_known_regex']) -_STRINGRULES.fields_by_name['well_known_regex'].containing_oneof = _STRINGRULES.oneofs_by_name['well_known'] -_BYTESRULES.oneofs_by_name['well_known'].fields.append( - _BYTESRULES.fields_by_name['ip']) -_BYTESRULES.fields_by_name['ip'].containing_oneof = _BYTESRULES.oneofs_by_name['well_known'] -_BYTESRULES.oneofs_by_name['well_known'].fields.append( - _BYTESRULES.fields_by_name['ipv4']) -_BYTESRULES.fields_by_name['ipv4'].containing_oneof = _BYTESRULES.oneofs_by_name['well_known'] -_BYTESRULES.oneofs_by_name['well_known'].fields.append( - _BYTESRULES.fields_by_name['ipv6']) -_BYTESRULES.fields_by_name['ipv6'].containing_oneof = _BYTESRULES.oneofs_by_name['well_known'] -_REPEATEDRULES.fields_by_name['items'].message_type = _FIELDRULES -_MAPRULES.fields_by_name['keys'].message_type = _FIELDRULES -_MAPRULES.fields_by_name['values'].message_type = _FIELDRULES -_DURATIONRULES.fields_by_name['const'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name['lt'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name['lte'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name['gt'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name['gte'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name['in'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_DURATIONRULES.fields_by_name['not_in'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -_TIMESTAMPRULES.fields_by_name['const'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name['lt'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name['lte'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name['gt'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name['gte'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP -_TIMESTAMPRULES.fields_by_name['within'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION -DESCRIPTOR.message_types_by_name['FieldRules'] = _FIELDRULES -DESCRIPTOR.message_types_by_name['FloatRules'] = _FLOATRULES -DESCRIPTOR.message_types_by_name['DoubleRules'] = _DOUBLERULES -DESCRIPTOR.message_types_by_name['Int32Rules'] = _INT32RULES -DESCRIPTOR.message_types_by_name['Int64Rules'] = _INT64RULES -DESCRIPTOR.message_types_by_name['UInt32Rules'] = _UINT32RULES -DESCRIPTOR.message_types_by_name['UInt64Rules'] = _UINT64RULES -DESCRIPTOR.message_types_by_name['SInt32Rules'] = _SINT32RULES -DESCRIPTOR.message_types_by_name['SInt64Rules'] = _SINT64RULES -DESCRIPTOR.message_types_by_name['Fixed32Rules'] = _FIXED32RULES -DESCRIPTOR.message_types_by_name['Fixed64Rules'] = _FIXED64RULES -DESCRIPTOR.message_types_by_name['SFixed32Rules'] = _SFIXED32RULES -DESCRIPTOR.message_types_by_name['SFixed64Rules'] = _SFIXED64RULES -DESCRIPTOR.message_types_by_name['BoolRules'] = _BOOLRULES -DESCRIPTOR.message_types_by_name['StringRules'] = _STRINGRULES -DESCRIPTOR.message_types_by_name['BytesRules'] = _BYTESRULES -DESCRIPTOR.message_types_by_name['EnumRules'] = _ENUMRULES -DESCRIPTOR.message_types_by_name['MessageRules'] = _MESSAGERULES -DESCRIPTOR.message_types_by_name['RepeatedRules'] = _REPEATEDRULES -DESCRIPTOR.message_types_by_name['MapRules'] = _MAPRULES -DESCRIPTOR.message_types_by_name['AnyRules'] = _ANYRULES -DESCRIPTOR.message_types_by_name['DurationRules'] = _DURATIONRULES -DESCRIPTOR.message_types_by_name['TimestampRules'] = _TIMESTAMPRULES -DESCRIPTOR.enum_types_by_name['KnownRegex'] = _KNOWNREGEX -DESCRIPTOR.extensions_by_name['disabled'] = disabled -DESCRIPTOR.extensions_by_name['ignored'] = ignored -DESCRIPTOR.extensions_by_name['required'] = required -DESCRIPTOR.extensions_by_name['rules'] = rules -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FieldRules = _reflection.GeneratedProtocolMessageType('FieldRules', (_message.Message,), dict( - DESCRIPTOR = _FIELDRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.FieldRules) - )) -_sym_db.RegisterMessage(FieldRules) - -FloatRules = _reflection.GeneratedProtocolMessageType('FloatRules', (_message.Message,), dict( - DESCRIPTOR = _FLOATRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.FloatRules) - )) -_sym_db.RegisterMessage(FloatRules) - -DoubleRules = _reflection.GeneratedProtocolMessageType('DoubleRules', (_message.Message,), dict( - DESCRIPTOR = _DOUBLERULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.DoubleRules) - )) -_sym_db.RegisterMessage(DoubleRules) - -Int32Rules = _reflection.GeneratedProtocolMessageType('Int32Rules', (_message.Message,), dict( - DESCRIPTOR = _INT32RULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.Int32Rules) - )) -_sym_db.RegisterMessage(Int32Rules) - -Int64Rules = _reflection.GeneratedProtocolMessageType('Int64Rules', (_message.Message,), dict( - DESCRIPTOR = _INT64RULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.Int64Rules) - )) -_sym_db.RegisterMessage(Int64Rules) - -UInt32Rules = _reflection.GeneratedProtocolMessageType('UInt32Rules', (_message.Message,), dict( - DESCRIPTOR = _UINT32RULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.UInt32Rules) - )) -_sym_db.RegisterMessage(UInt32Rules) - -UInt64Rules = _reflection.GeneratedProtocolMessageType('UInt64Rules', (_message.Message,), dict( - DESCRIPTOR = _UINT64RULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.UInt64Rules) - )) -_sym_db.RegisterMessage(UInt64Rules) - -SInt32Rules = _reflection.GeneratedProtocolMessageType('SInt32Rules', (_message.Message,), dict( - DESCRIPTOR = _SINT32RULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.SInt32Rules) - )) -_sym_db.RegisterMessage(SInt32Rules) - -SInt64Rules = _reflection.GeneratedProtocolMessageType('SInt64Rules', (_message.Message,), dict( - DESCRIPTOR = _SINT64RULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.SInt64Rules) - )) -_sym_db.RegisterMessage(SInt64Rules) - -Fixed32Rules = _reflection.GeneratedProtocolMessageType('Fixed32Rules', (_message.Message,), dict( - DESCRIPTOR = _FIXED32RULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.Fixed32Rules) - )) -_sym_db.RegisterMessage(Fixed32Rules) - -Fixed64Rules = _reflection.GeneratedProtocolMessageType('Fixed64Rules', (_message.Message,), dict( - DESCRIPTOR = _FIXED64RULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.Fixed64Rules) - )) -_sym_db.RegisterMessage(Fixed64Rules) - -SFixed32Rules = _reflection.GeneratedProtocolMessageType('SFixed32Rules', (_message.Message,), dict( - DESCRIPTOR = _SFIXED32RULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.SFixed32Rules) - )) -_sym_db.RegisterMessage(SFixed32Rules) - -SFixed64Rules = _reflection.GeneratedProtocolMessageType('SFixed64Rules', (_message.Message,), dict( - DESCRIPTOR = _SFIXED64RULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.SFixed64Rules) - )) -_sym_db.RegisterMessage(SFixed64Rules) - -BoolRules = _reflection.GeneratedProtocolMessageType('BoolRules', (_message.Message,), dict( - DESCRIPTOR = _BOOLRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.BoolRules) - )) -_sym_db.RegisterMessage(BoolRules) - -StringRules = _reflection.GeneratedProtocolMessageType('StringRules', (_message.Message,), dict( - DESCRIPTOR = _STRINGRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.StringRules) - )) -_sym_db.RegisterMessage(StringRules) - -BytesRules = _reflection.GeneratedProtocolMessageType('BytesRules', (_message.Message,), dict( - DESCRIPTOR = _BYTESRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.BytesRules) - )) -_sym_db.RegisterMessage(BytesRules) - -EnumRules = _reflection.GeneratedProtocolMessageType('EnumRules', (_message.Message,), dict( - DESCRIPTOR = _ENUMRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.EnumRules) - )) -_sym_db.RegisterMessage(EnumRules) - -MessageRules = _reflection.GeneratedProtocolMessageType('MessageRules', (_message.Message,), dict( - DESCRIPTOR = _MESSAGERULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.MessageRules) - )) -_sym_db.RegisterMessage(MessageRules) - -RepeatedRules = _reflection.GeneratedProtocolMessageType('RepeatedRules', (_message.Message,), dict( - DESCRIPTOR = _REPEATEDRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.RepeatedRules) - )) -_sym_db.RegisterMessage(RepeatedRules) - -MapRules = _reflection.GeneratedProtocolMessageType('MapRules', (_message.Message,), dict( - DESCRIPTOR = _MAPRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.MapRules) - )) -_sym_db.RegisterMessage(MapRules) - -AnyRules = _reflection.GeneratedProtocolMessageType('AnyRules', (_message.Message,), dict( - DESCRIPTOR = _ANYRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.AnyRules) - )) -_sym_db.RegisterMessage(AnyRules) - -DurationRules = _reflection.GeneratedProtocolMessageType('DurationRules', (_message.Message,), dict( - DESCRIPTOR = _DURATIONRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.DurationRules) - )) -_sym_db.RegisterMessage(DurationRules) - -TimestampRules = _reflection.GeneratedProtocolMessageType('TimestampRules', (_message.Message,), dict( - DESCRIPTOR = _TIMESTAMPRULES, - __module__ = 'validate.validate_pb2' - # @@protoc_insertion_point(class_scope:validate.TimestampRules) - )) -_sym_db.RegisterMessage(TimestampRules) - -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(disabled) -google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(ignored) -google_dot_protobuf_dot_descriptor__pb2.OneofOptions.RegisterExtension(required) -rules.message_type = _FIELDRULES -google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(rules) - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_rust/datacatalog.rs b/flyteidl/gen/pb_rust/datacatalog.rs index 159e620ca0..8c8a79dcc7 100644 --- a/flyteidl/gen/pb_rust/datacatalog.rs +++ b/flyteidl/gen/pb_rust/datacatalog.rs @@ -150,7 +150,7 @@ pub struct UpdateArtifactRequest { /// ArtifactData entries will be removed from the underlying blob storage and database. #[prost(message, repeated, tag="4")] pub data: ::prost::alloc::vec::Vec, - /// Update task execution metadata when overwriting cache + /// Update execution metadata(including execution domain, name, node, project data) when overwriting cache #[prost(message, optional, tag="5")] pub metadata: ::core::option::Option, /// Either ID of artifact or name of tag to retrieve existing artifact from diff --git a/flyteidl/generate_protos.sh b/flyteidl/generate_protos.sh index 524330eb26..7955536737 100755 --- a/flyteidl/generate_protos.sh +++ b/flyteidl/generate_protos.sh @@ -11,12 +11,12 @@ PROTOC_GEN_DOC_IMAGE="pseudomuto/protoc-gen-doc:1.4.1" 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 --validate_out -docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/artifact --with_gateway -l go --go_source_relative --validate_out -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 --validate_out -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 --validate_out -docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/plugins -l go --go_source_relative --validate_out -docker run --rm -u $(id -u):$(id -g) -v $DIR:/defs $LYFT_IMAGE -i ./protos -d protos/flyteidl/datacatalog -l go --go_source_relative --validate_out +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/artifact --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" "artifact") @@ -90,10 +90,6 @@ rm -rf gen/pb_python/flyteidl/service/flyteadmin/docs cp -r gen/pb-go/github.com/flyteorg/flyte/flyteidl/gen/* gen/ rm -rf gen/pb-go/github.com -# Copy the validate.py protos. -mkdir -p gen/pb_python/validate -cp -r validate/* gen/pb_python/validate/ - # 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 From c06527e7ca218cb8d68a3cbc5a13fe2933aba952 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Fri, 29 Dec 2023 18:26:28 +0800 Subject: [PATCH 07/16] Artf/cleanup post shell (#4646) Clean up. * Remove the inputs/outputs logic from the cloud publisher on the admin side and move it to the event handler on the artifact side * Remove the initialization sql bit and made hstore extension creation just a migration * Refactor the handler to be outside of the receiver in artifact events * Add adminclient into the servicecallhandler object * Set gizmo sqs config to false for consuming base64 and update the sqs processor to be roughly functional * Fixing lint issues * Add artifact configuration to the sandbox values file * Infra related updates * Remove the old python artifact service helm templates * update local sandbox configuration to support routing back out to local development endpoint Signed-off-by: Yee Hing Tong Signed-off-by: Eduardo Apolinario Co-authored-by: Eduardo Apolinario --- Dockerfile | 1 + Dockerfile.flyteartifacts | 4 +- charts/flyte-sandbox/README.md | 14 +- .../templates/artifacts/deployment.yaml | 36 - .../templates/artifacts/service.yaml | 14 - .../templates/local/endpoint.yaml | 6 + .../templates/local/service.yaml | 6 + .../templates/proxy/configmap.yaml | 49 +- charts/flyte-sandbox/values.yaml | 26 +- cmd/single/start.go | 3 +- datacatalog/go.mod | 2 +- .../manifests/complete-agent.yaml | 68 +- .../sandbox-bundled/manifests/complete.yaml | 68 +- docker/sandbox-bundled/manifests/dev.yaml | 52 +- .../implementations/cloudevent_publisher.go | 60 - flyteartifacts/Makefile | 5 +- .../flyte/code_of_conduct/CODE_OF_CONDUCT.md | 2 + .../flyte/code_of_conduct/README.rst | 2 + .../flyte/code_of_conduct/update.sh | 12 + .../boilerplate/flyte/docker_build/Makefile | 12 + .../boilerplate/flyte/docker_build/Readme.rst | 23 + .../flyte/docker_build/docker_build.sh | 67 + .../boilerplate/flyte/end2end/Makefile | 14 + .../boilerplate/flyte/end2end/end2end.sh | 12 + .../flyte/end2end/functional-test-config.yaml | 5 + .../boilerplate/flyte/end2end/run-tests.py | 285 ++++ .../flyte/flyte_golang_compile/Readme.rst | 16 + .../flyte_golang_compile.Template | 26 + .../flyte/flyte_golang_compile/update.sh | 13 + .../flyte/github_workflows/Readme.rst | 22 + .../flyte/github_workflows/master.yml | 31 + .../flyte/github_workflows/pull_request.yml | 19 + .../flyte/github_workflows/update.sh | 16 + .../golang_dockerfile/Dockerfile.GoTemplate | 32 + .../flyte/golang_dockerfile/Readme.rst | 16 + .../flyte/golang_dockerfile/update.sh | 13 + .../flyte/golang_support_tools/go.mod | 247 ++++ .../flyte/golang_support_tools/go.sum | 1225 +++++++++++++++++ .../flyte/golang_support_tools/tools.go | 13 + .../flyte/golang_test_targets/Makefile | 57 + .../flyte/golang_test_targets/Readme.rst | 31 + .../golang_test_targets/download_tooling.sh | 38 + .../flyte/golang_test_targets/go-gen.sh | 22 + .../flyte/golang_test_targets/goimports | 9 + .../flyte/golangci_file/.golangci.yml | 40 + .../flyte/golangci_file/Readme.rst | 8 + .../boilerplate/flyte/golangci_file/update.sh | 14 + .../flyte/pull_request_template/Readme.rst | 8 + .../pull_request_template.md | 35 + .../flyte/pull_request_template/update.sh | 12 + flyteartifacts/boilerplate/update.cfg | 6 + flyteartifacts/boilerplate/update.sh | 73 + flyteartifacts/cmd/main.go | 3 +- flyteartifacts/cmd/shared/migrate.go | 4 +- flyteartifacts/cmd/shared/serve.go | 3 +- flyteartifacts/go.mod | 42 +- flyteartifacts/go.sum | 353 ++--- .../pkg/configuration/shared/config.go | 19 - flyteartifacts/pkg/db/gorm_transformers.go | 2 +- flyteartifacts/pkg/db/migrations.go | 7 + flyteartifacts/pkg/db/querying_test.go | 7 +- flyteartifacts/pkg/db/storage.go | 4 +- flyteartifacts/pkg/lib/url_parse_test.go | 3 +- flyteartifacts/pkg/models/transformers.go | 2 +- .../pkg/server/processor/channel_processor.go | 16 +- .../pkg/server/processor/events_handler.go | 77 +- .../pkg/server/processor/http_processor.go | 9 - .../pkg/server/processor/interfaces.go | 2 +- .../pkg/server/processor/processor.go | 9 +- .../pkg/server/processor/sqs_processor.go | 77 +- .../server/processor/sqs_processor_test.go | 44 + flyteartifacts/pkg/server/server.go | 14 +- flyteartifacts/pkg/server/trigger_engine.go | 4 +- flytecopilot/go.mod | 2 +- flyteidl/go.mod | 2 +- flyteplugins/go.mod | 2 +- flytestdlib/database/db.go | 7 +- flytestdlib/database/postgres.go | 1 + flytestdlib/go.mod | 3 +- go.sum | 1 - 80 files changed, 3113 insertions(+), 496 deletions(-) delete mode 100644 charts/flyte-sandbox/templates/artifacts/deployment.yaml delete mode 100644 charts/flyte-sandbox/templates/artifacts/service.yaml create mode 100644 flyteartifacts/boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md create mode 100644 flyteartifacts/boilerplate/flyte/code_of_conduct/README.rst create mode 100755 flyteartifacts/boilerplate/flyte/code_of_conduct/update.sh create mode 100644 flyteartifacts/boilerplate/flyte/docker_build/Makefile create mode 100644 flyteartifacts/boilerplate/flyte/docker_build/Readme.rst create mode 100755 flyteartifacts/boilerplate/flyte/docker_build/docker_build.sh create mode 100644 flyteartifacts/boilerplate/flyte/end2end/Makefile create mode 100755 flyteartifacts/boilerplate/flyte/end2end/end2end.sh create mode 100644 flyteartifacts/boilerplate/flyte/end2end/functional-test-config.yaml create mode 100644 flyteartifacts/boilerplate/flyte/end2end/run-tests.py create mode 100644 flyteartifacts/boilerplate/flyte/flyte_golang_compile/Readme.rst create mode 100644 flyteartifacts/boilerplate/flyte/flyte_golang_compile/flyte_golang_compile.Template create mode 100755 flyteartifacts/boilerplate/flyte/flyte_golang_compile/update.sh create mode 100644 flyteartifacts/boilerplate/flyte/github_workflows/Readme.rst create mode 100644 flyteartifacts/boilerplate/flyte/github_workflows/master.yml create mode 100644 flyteartifacts/boilerplate/flyte/github_workflows/pull_request.yml create mode 100755 flyteartifacts/boilerplate/flyte/github_workflows/update.sh create mode 100644 flyteartifacts/boilerplate/flyte/golang_dockerfile/Dockerfile.GoTemplate create mode 100644 flyteartifacts/boilerplate/flyte/golang_dockerfile/Readme.rst create mode 100755 flyteartifacts/boilerplate/flyte/golang_dockerfile/update.sh create mode 100644 flyteartifacts/boilerplate/flyte/golang_support_tools/go.mod create mode 100644 flyteartifacts/boilerplate/flyte/golang_support_tools/go.sum create mode 100644 flyteartifacts/boilerplate/flyte/golang_support_tools/tools.go create mode 100644 flyteartifacts/boilerplate/flyte/golang_test_targets/Makefile create mode 100644 flyteartifacts/boilerplate/flyte/golang_test_targets/Readme.rst create mode 100755 flyteartifacts/boilerplate/flyte/golang_test_targets/download_tooling.sh create mode 100755 flyteartifacts/boilerplate/flyte/golang_test_targets/go-gen.sh create mode 100755 flyteartifacts/boilerplate/flyte/golang_test_targets/goimports create mode 100644 flyteartifacts/boilerplate/flyte/golangci_file/.golangci.yml create mode 100644 flyteartifacts/boilerplate/flyte/golangci_file/Readme.rst create mode 100755 flyteartifacts/boilerplate/flyte/golangci_file/update.sh create mode 100644 flyteartifacts/boilerplate/flyte/pull_request_template/Readme.rst create mode 100644 flyteartifacts/boilerplate/flyte/pull_request_template/pull_request_template.md create mode 100755 flyteartifacts/boilerplate/flyte/pull_request_template/update.sh create mode 100644 flyteartifacts/boilerplate/update.cfg create mode 100755 flyteartifacts/boilerplate/update.sh delete mode 100644 flyteartifacts/pkg/server/processor/http_processor.go create mode 100644 flyteartifacts/pkg/server/processor/sqs_processor_test.go diff --git a/Dockerfile b/Dockerfile index 6ce448399b..887d980e80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ WORKDIR /flyteorg/build COPY datacatalog datacatalog COPY flyteadmin flyteadmin +COPY flyteartifacts flyteartifacts COPY flytecopilot flytecopilot COPY flyteidl flyteidl COPY flyteplugins flyteplugins diff --git a/Dockerfile.flyteartifacts b/Dockerfile.flyteartifacts index 51303aad69..a3f2cc7df4 100644 --- a/Dockerfile.flyteartifacts +++ b/Dockerfile.flyteartifacts @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM} golang:1.19-alpine3.16 as builder +FROM --platform=${BUILDPLATFORM} golang:1.21.5-alpine3.18 as builder ARG TARGETARCH ENV GOARCH "${TARGETARCH}" @@ -21,7 +21,7 @@ COPY flytepropeller ../flytepropeller COPY flytestdlib ../flytestdlib # This 'linux_compile' target should compile binaries to the /artifacts directory -# The main entrypoint should be compiled to /artifacts/flyteadmin +# The main entrypoint should be compiled to /artifacts/flyteartifacts RUN make linux_compile # update the PATH to include the /artifacts directory diff --git a/charts/flyte-sandbox/README.md b/charts/flyte-sandbox/README.md index 79ffe8065a..2506d78a0c 100644 --- a/charts/flyte-sandbox/README.md +++ b/charts/flyte-sandbox/README.md @@ -11,7 +11,6 @@ A Helm chart for the Flyte local sandbox | file://../flyte-binary | flyte-binary | v0.1.10 | | https://charts.bitnami.com/bitnami | minio | 12.1.1 | | https://charts.bitnami.com/bitnami | postgresql | 12.1.9 | -| https://charts.bitnami.com/bitnami | redis | 18.0.1 | | https://helm.twun.io/ | docker-registry | 2.2.2 | | https://kubernetes.github.io/dashboard/ | kubernetes-dashboard | 6.0.0 | @@ -28,6 +27,12 @@ A Helm chart for the Flyte local sandbox | flyte-binary.clusterResourceTemplates.inlineConfigMap | string | `"{{ include \"flyte-sandbox.clusterResourceTemplates.inlineConfigMap\" . }}"` | | | flyte-binary.configuration.database.host | string | `"{{ printf \"%s-postgresql\" .Release.Name | trunc 63 | trimSuffix \"-\" }}"` | | | flyte-binary.configuration.database.password | string | `"postgres"` | | +| flyte-binary.configuration.inline.artifacts.host | string | `"localhost"` | | +| flyte-binary.configuration.inline.artifacts.insecure | bool | `true` | | +| flyte-binary.configuration.inline.artifacts.port | int | `50051` | | +| flyte-binary.configuration.inline.cloudEvents.cloudEventVersion | string | `"v2"` | | +| flyte-binary.configuration.inline.cloudEvents.enable | bool | `true` | | +| flyte-binary.configuration.inline.cloudEvents.type | string | `"sandbox"` | | | flyte-binary.configuration.inline.plugins.k8s.default-env-vars[0].FLYTE_AWS_ENDPOINT | string | `"http://{{ printf \"%s-minio\" .Release.Name | trunc 63 | trimSuffix \"-\" }}.{{ .Release.Namespace }}:9000"` | | | flyte-binary.configuration.inline.plugins.k8s.default-env-vars[1].FLYTE_AWS_ACCESS_KEY_ID | string | `"minio"` | | | flyte-binary.configuration.inline.plugins.k8s.default-env-vars[2].FLYTE_AWS_SECRET_ACCESS_KEY | string | `"miniostorage"` | | @@ -101,13 +106,6 @@ A Helm chart for the Flyte local sandbox | postgresql.volumePermissions.enabled | bool | `true` | | | postgresql.volumePermissions.image.pullPolicy | string | `"Never"` | | | postgresql.volumePermissions.image.tag | string | `"sandbox"` | | -| redis.auth.enabled | bool | `false` | | -| redis.enabled | bool | `true` | | -| redis.image.pullPolicy | string | `"Never"` | | -| redis.image.tag | string | `"sandbox"` | | -| redis.master.service.nodePorts.redis | int | `30004` | | -| redis.master.service.type | string | `"NodePort"` | | -| redis.replica.replicaCount | int | `0` | | | sandbox.buildkit.enabled | bool | `true` | | | sandbox.buildkit.image.pullPolicy | string | `"Never"` | | | sandbox.buildkit.image.repository | string | `"moby/buildkit"` | | diff --git a/charts/flyte-sandbox/templates/artifacts/deployment.yaml b/charts/flyte-sandbox/templates/artifacts/deployment.yaml deleted file mode 100644 index 99219beec2..0000000000 --- a/charts/flyte-sandbox/templates/artifacts/deployment.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app: artifact-service - name: artifact-service -spec: - replicas: 1 - selector: - matchLabels: - app: artifact-service - template: - metadata: - labels: - app: artifact-service - spec: - containers: - - name: main - image: ghcr.io/unionai/artifacts:sandbox - env: - - name: DATABASE_URL - value: postgresql://postgres:postgres@flyte-sandbox-postgresql.flyte:5432/postgres - - name: REDIS_HOST - value: flyte-sandbox-redis-headless.flyte.svc.cluster.local - - name: REDIS_PORT - value: "6379" - ports: - - name: grpc - containerPort: 50051 - livenessProbe: - initialDelaySeconds: 30 - tcpSocket: - port: grpc - readinessProbe: - tcpSocket: - port: grpc diff --git a/charts/flyte-sandbox/templates/artifacts/service.yaml b/charts/flyte-sandbox/templates/artifacts/service.yaml deleted file mode 100644 index 16d97b8c9f..0000000000 --- a/charts/flyte-sandbox/templates/artifacts/service.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: artifact-service - labels: - app: artifact-service -spec: - ports: - - name: grpc - port: 50051 - targetPort: 50051 - selector: - app: artifact-service - type: ClusterIP diff --git a/charts/flyte-sandbox/templates/local/endpoint.yaml b/charts/flyte-sandbox/templates/local/endpoint.yaml index 54fe75312a..97e609851c 100644 --- a/charts/flyte-sandbox/templates/local/endpoint.yaml +++ b/charts/flyte-sandbox/templates/local/endpoint.yaml @@ -19,4 +19,10 @@ subsets: - name: webhook port: 9443 protocol: TCP + - name: artifact-http + port: 50050 + protocol: TCP + - name: artifact-grpc + port: 50051 + protocol: TCP {{- end }} diff --git a/charts/flyte-sandbox/templates/local/service.yaml b/charts/flyte-sandbox/templates/local/service.yaml index 35633d3d93..2fbd51cbaf 100644 --- a/charts/flyte-sandbox/templates/local/service.yaml +++ b/charts/flyte-sandbox/templates/local/service.yaml @@ -18,4 +18,10 @@ spec: - name: webhook port: 9443 protocol: TCP + - name: artifact-http + port: 50050 + protocol: TCP + - name: artifact-grpc + port: 50051 + protocol: TCP {{- end }} diff --git a/charts/flyte-sandbox/templates/proxy/configmap.yaml b/charts/flyte-sandbox/templates/proxy/configmap.yaml index 3fecffdb9a..43f2b42db6 100644 --- a/charts/flyte-sandbox/templates/proxy/configmap.yaml +++ b/charts/flyte-sandbox/templates/proxy/configmap.yaml @@ -84,6 +84,10 @@ data: prefix: "/v1" route: cluster: flyte + - match: + prefix: "/artifacts/api" + route: + cluster: artifact_http - match: prefix: "/flyteidl.service.AdminService" route: @@ -111,7 +115,7 @@ data: - match: prefix: "/flyteidl.artifact.ArtifactRegistry" route: - cluster: artifact + cluster: artifact_grpc {{- end }} {{- if index .Values "kubernetes-dashboard" "enabled" }} - match: @@ -176,6 +180,34 @@ data: address: {{ include "flyte-sandbox.localHeadlessService" . }} {{- end }} port_value: 8089 + - name: artifact_http + connect_timeout: 0.25s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + http2_protocol_options: {} + load_assignment: + cluster_name: artifact_http + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: flyte-sandbox-local + port_value: 50050 + - name: artifact_grpc + connect_timeout: 0.25s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + http2_protocol_options: {} + load_assignment: + cluster_name: artifact_grpc + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: flyte-sandbox-local + port_value: 50051 {{- end }} {{- if index .Values "kubernetes-dashboard" "enabled" }} - name: kubernetes-dashboard @@ -207,19 +239,4 @@ data: address: {{ .Release.Name }}-minio port_value: 9001 {{- end }} - - name: artifact - connect_timeout: 0.25s - type: STRICT_DNS - lb_policy: ROUND_ROBIN - http2_protocol_options: {} - load_assignment: - cluster_name: artifact - endpoints: - - lb_endpoints: - - endpoint: - address: - socket_address: - address: artifact-service - port_value: 50051 - {{- end }} diff --git a/charts/flyte-sandbox/values.yaml b/charts/flyte-sandbox/values.yaml index 353d44012e..603ea00515 100644 --- a/charts/flyte-sandbox/values.yaml +++ b/charts/flyte-sandbox/values.yaml @@ -51,10 +51,28 @@ flyte-binary: enable: true cloudEventVersion: v2 type: sandbox - artifacts: - host: localhost - port: 50051 - insecure: true + artifactsServer: + artifactBlobStoreConfig: + type: stow + stow: + kind: s3 + config: + disable_ssl: true + v2_signing: true + endpoint: http://localhost:30002 + auth_type: accesskey + access_key_id: minio + secret_key: miniostorage + artifactDatabaseConfig: + postgres: + username: postgres + password: postgres + host: '{{ printf "%s-postgresql" .Release.Name | trunc 63 | trimSuffix "-" }}' + port: 5432 + dbname: artifacts + options: "sslmode=disable" + artifactsProcessor: + cloudProvider: Sandbox storage: signedURL: stowConfigOverride: diff --git a/cmd/single/start.go b/cmd/single/start.go index de2578dc34..e46b86e119 100644 --- a/cmd/single/start.go +++ b/cmd/single/start.go @@ -75,9 +75,8 @@ func startArtifact(ctx context.Context, cfg Artifacts) error { // Roughly copies main/NewMigrateCmd logger.Infof(ctx, "Artifacts: running database migrations if any...") migs := artifactsServer.GetMigrations(ctx) - initializationSql := "create extension if not exists hstore;" dbConfig := artifactsServer.GetDbConfig() - err := database.Migrate(context.Background(), dbConfig, migs, initializationSql) + err := database.Migrate(context.Background(), dbConfig, migs) if err != nil { logger.Errorf(ctx, "Failed to run Artifacts database migrations. Error: %v", err) return err diff --git a/datacatalog/go.mod b/datacatalog/go.mod index 387fcb0b24..eabde2da91 100644 --- a/datacatalog/go.mod +++ b/datacatalog/go.mod @@ -132,7 +132,7 @@ require ( k8s.io/klog/v2 v2.100.1 // indirect k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect - sigs.k8s.io/controller-runtime v0.0.0-00010101000000-000000000000 // indirect + sigs.k8s.io/controller-runtime v0.16.2 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect diff --git a/docker/sandbox-bundled/manifests/complete-agent.yaml b/docker/sandbox-bundled/manifests/complete-agent.yaml index caf6ecd0a4..427c654ec7 100644 --- a/docker/sandbox-bundled/manifests/complete-agent.yaml +++ b/docker/sandbox-bundled/manifests/complete-agent.yaml @@ -508,6 +508,32 @@ data: auth_type: accesskey container: my-s3-bucket 100-inline-config.yaml: | + artifactsProcessor: + cloudProvider: Sandbox + artifactsServer: + artifactBlobStoreConfig: + stow: + config: + access_key_id: minio + auth_type: accesskey + disable_ssl: true + endpoint: http://localhost:30002 + secret_key: miniostorage + v2_signing: true + kind: s3 + type: stow + artifactDatabaseConfig: + postgres: + dbname: artifacts + host: 'flyte-sandbox-postgresql' + options: sslmode=disable + password: postgres + port: 5432 + username: postgres + cloudEvents: + cloudEventVersion: v2 + enable: true + type: sandbox plugins: k8s: default-env-vars: @@ -666,6 +692,10 @@ data: prefix: "/v1" route: cluster: flyte + - match: + prefix: "/artifacts/api" + route: + cluster: artifact_http - match: prefix: "/flyteidl.service.AdminService" route: @@ -690,6 +720,10 @@ data: prefix: "/flyteidl.service.SignalService" route: cluster: flyte_grpc + - match: + prefix: "/flyteidl.artifact.ArtifactRegistry" + route: + cluster: artifact_grpc - match: path: "/kubernetes-dashboard" redirect: @@ -740,6 +774,34 @@ data: socket_address: address: flyte-sandbox-grpc port_value: 8089 + - name: artifact_http + connect_timeout: 0.25s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + http2_protocol_options: {} + load_assignment: + cluster_name: artifact_http + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: flyte-sandbox-local + port_value: 50050 + - name: artifact_grpc + connect_timeout: 0.25s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + http2_protocol_options: {} + load_assignment: + cluster_name: artifact_grpc + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: flyte-sandbox-local + port_value: 50051 - name: kubernetes-dashboard connect_timeout: 0.25s type: STRICT_DNS @@ -816,7 +878,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: SlF2M0tXNXdGTUpHZzdvNg== + haSharedSecret: YnZWQm1tMm9ETTY3enZUcQ== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1246,7 +1308,7 @@ spec: metadata: annotations: checksum/cluster-resource-templates: 6fd9b172465e3089fcc59f738b92b8dc4d8939360c19de8ee65f68b0e7422035 - checksum/configuration: 9cb50a36963e1d23a3b500b148de3407c1fcc1b65da0f7da8b038cfd35c97fca + checksum/configuration: c3f03f3b03d7909e7fac95f3490d43d9e50cf4759a67ac38d4c1992f08f64ce3 checksum/configuration-secret: 09216ffaa3d29e14f88b1f30af580d02a2a5e014de4d750b7f275cc07ed4e914 labels: app.kubernetes.io/component: flyte-binary @@ -1411,7 +1473,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: b76914839daf95717da7a8ef31769c3b97f6c3c46a09776e5d0f8cc3fe9b1e9a + checksum/secret: db210d75941d85245039373f167036040860dde6eb2db965c9a482e496483240 labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/complete.yaml b/docker/sandbox-bundled/manifests/complete.yaml index 15db5aa597..0ed370422b 100644 --- a/docker/sandbox-bundled/manifests/complete.yaml +++ b/docker/sandbox-bundled/manifests/complete.yaml @@ -488,6 +488,32 @@ data: auth_type: accesskey container: my-s3-bucket 100-inline-config.yaml: | + artifactsProcessor: + cloudProvider: Sandbox + artifactsServer: + artifactBlobStoreConfig: + stow: + config: + access_key_id: minio + auth_type: accesskey + disable_ssl: true + endpoint: http://localhost:30002 + secret_key: miniostorage + v2_signing: true + kind: s3 + type: stow + artifactDatabaseConfig: + postgres: + dbname: artifacts + host: 'flyte-sandbox-postgresql' + options: sslmode=disable + password: postgres + port: 5432 + username: postgres + cloudEvents: + cloudEventVersion: v2 + enable: true + type: sandbox plugins: k8s: default-env-vars: @@ -646,6 +672,10 @@ data: prefix: "/v1" route: cluster: flyte + - match: + prefix: "/artifacts/api" + route: + cluster: artifact_http - match: prefix: "/flyteidl.service.AdminService" route: @@ -670,6 +700,10 @@ data: prefix: "/flyteidl.service.SignalService" route: cluster: flyte_grpc + - match: + prefix: "/flyteidl.artifact.ArtifactRegistry" + route: + cluster: artifact_grpc - match: path: "/kubernetes-dashboard" redirect: @@ -720,6 +754,34 @@ data: socket_address: address: flyte-sandbox-grpc port_value: 8089 + - name: artifact_http + connect_timeout: 0.25s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + http2_protocol_options: {} + load_assignment: + cluster_name: artifact_http + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: flyte-sandbox-local + port_value: 50050 + - name: artifact_grpc + connect_timeout: 0.25s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + http2_protocol_options: {} + load_assignment: + cluster_name: artifact_grpc + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: flyte-sandbox-local + port_value: 50051 - name: kubernetes-dashboard connect_timeout: 0.25s type: STRICT_DNS @@ -796,7 +858,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: QU5jN3V6ZjA4Y0tFbzZ0dw== + haSharedSecret: RTRFWEhLQ1c3V3h5N1JpQg== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1194,7 +1256,7 @@ spec: metadata: annotations: checksum/cluster-resource-templates: 6fd9b172465e3089fcc59f738b92b8dc4d8939360c19de8ee65f68b0e7422035 - checksum/configuration: 52331d07774723e1045269ebc8e4cdf95e1bdd85ab104699149cae45f1eb0327 + checksum/configuration: 3e7625f0de3a210017c0f2ab5b8ad17a9ccac048a5a06f6466b8d762d8aa27d7 checksum/configuration-secret: 09216ffaa3d29e14f88b1f30af580d02a2a5e014de4d750b7f275cc07ed4e914 labels: app.kubernetes.io/component: flyte-binary @@ -1359,7 +1421,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 436cdf2d6630635a2652233c83f71c617facb2fda8edabb639ab7dfa0f15e46f + checksum/secret: 266445a61b2ef5d294e608c36659f8c3c6605c1b718d73870eb7e0584783504a labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/dev.yaml b/docker/sandbox-bundled/manifests/dev.yaml index 8b171faf49..bd867b22d6 100644 --- a/docker/sandbox-bundled/manifests/dev.yaml +++ b/docker/sandbox-bundled/manifests/dev.yaml @@ -373,6 +373,10 @@ data: prefix: "/v1" route: cluster: flyte + - match: + prefix: "/artifacts/api" + route: + cluster: artifact_http - match: prefix: "/flyteidl.service.AdminService" route: @@ -397,6 +401,10 @@ data: prefix: "/flyteidl.service.SignalService" route: cluster: flyte_grpc + - match: + prefix: "/flyteidl.artifact.ArtifactRegistry" + route: + cluster: artifact_grpc - match: path: "/kubernetes-dashboard" redirect: @@ -447,6 +455,34 @@ data: socket_address: address: flyte-sandbox-local port_value: 8089 + - name: artifact_http + connect_timeout: 0.25s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + http2_protocol_options: {} + load_assignment: + cluster_name: artifact_http + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: flyte-sandbox-local + port_value: 50050 + - name: artifact_grpc + connect_timeout: 0.25s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + http2_protocol_options: {} + load_assignment: + cluster_name: artifact_grpc + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: flyte-sandbox-local + port_value: 50051 - name: kubernetes-dashboard connect_timeout: 0.25s type: STRICT_DNS @@ -499,7 +535,7 @@ metadata: --- apiVersion: v1 data: - haSharedSecret: MGNlbmFPenJydE1hNlB0Sw== + haSharedSecret: YVdudG42ZklJTWZGTmpUZw== proxyPassword: "" proxyUsername: "" kind: Secret @@ -605,6 +641,12 @@ subsets: - name: webhook port: 9443 protocol: TCP + - name: artifact-http + port: 50050 + protocol: TCP + - name: artifact-grpc + port: 50051 + protocol: TCP --- apiVersion: v1 kind: Service @@ -675,6 +717,12 @@ spec: - name: webhook port: 9443 protocol: TCP + - name: artifact-http + port: 50050 + protocol: TCP + - name: artifact-grpc + port: 50051 + protocol: TCP --- apiVersion: v1 kind: Service @@ -933,7 +981,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 05cc4dc3bf13796e3a35e79da36baf286c81f80b207628f1f64197c80a04130c + checksum/secret: 460f5a9ea128429763eb9a5cc9e25c1cd84e1a2a5f032853085c8061f0e20da4 labels: app: docker-registry release: flyte-sandbox diff --git a/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go b/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go index 20bdc0203d..24acc3b9fa 100644 --- a/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go +++ b/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go @@ -181,13 +181,6 @@ func (c *CloudEventWrappedPublisher) TransformWorkflowExecutionEvent(ctx context } } - // Get inputs to the workflow execution - var inputs *core.LiteralMap - inputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, - c.storageClient, executionModel.InputsURI.String()) - if err != nil { - logger.Warningf(ctx, "Error fetching input literal map %s", executionModel.InputsURI.String()) - } // The spec is used to retrieve metadata fields spec := &admin.ExecutionSpec{} err = proto.Unmarshal(executionModel.Spec, spec) @@ -195,25 +188,9 @@ func (c *CloudEventWrappedPublisher) TransformWorkflowExecutionEvent(ctx context fmt.Printf("there was an error with spec %v %v", err, executionModel.Spec) } - // Get outputs from the workflow execution - var outputs *core.LiteralMap - if rawEvent.GetOutputData() != nil { - outputs = rawEvent.GetOutputData() - } else if len(rawEvent.GetOutputUri()) > 0 { - // GetInputs actually fetches the data, even though this is an output - outputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, c.storageClient, rawEvent.GetOutputUri()) - if err != nil { - // gatepr: metric this - logger.Warningf(ctx, "Error fetching output literal map %v", rawEvent) - return nil, err - } - } - return &event.CloudEventWorkflowExecution{ RawEvent: rawEvent, - OutputData: outputs, OutputInterface: &workflowInterface, - InputData: inputs, ArtifactIds: spec.GetMetadata().GetArtifactIds(), ReferenceExecution: spec.GetMetadata().GetReferenceExecution(), Principal: spec.GetMetadata().Principal, @@ -303,40 +280,6 @@ func (c *CloudEventWrappedPublisher) TransformNodeExecutionEvent(ctx context.Con fmt.Printf("there was an error with spec %v %v", err, executionModel.Spec) } - // Get inputs/outputs - // This will likely need to move to the artifact service side, given message size limits. - // Replace with call to GetNodeExecutionData - var inputs *core.LiteralMap - logger.Debugf(ctx, "RawEvent id %v", rawEvent.Id) - if len(rawEvent.GetInputUri()) > 0 { - inputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, - c.storageClient, rawEvent.GetInputUri()) - logger.Debugf(ctx, "RawEvent input uri %v, %v", rawEvent.GetInputUri(), inputs) - - if err != nil { - fmt.Printf("Error fetching input literal map %v", rawEvent) - } - } else if rawEvent.GetInputData() != nil { - inputs = rawEvent.GetInputData() - logger.Debugf(ctx, "RawEvent input data %v, %v", rawEvent.GetInputData(), inputs) - } else { - logger.Infof(ctx, "Node execution for node exec [%+v] has no input data", rawEvent.Id) - } - - // This will likely need to move to the artifact service side, given message size limits. - var outputs *core.LiteralMap - if rawEvent.GetOutputData() != nil { - outputs = rawEvent.GetOutputData() - } else if len(rawEvent.GetOutputUri()) > 0 { - // GetInputs actually fetches the data, even though this is an output - outputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, - c.storageClient, rawEvent.GetOutputUri()) - if err != nil { - fmt.Printf("Error fetching output literal map %v", rawEvent) - return nil, err - } - } - // Fetch the latest task execution if any, and pull out the task interface, if applicable. // These are optional fields... if the node execution doesn't have a task execution then these will be empty. var taskExecID *core.TaskExecutionIdentifier @@ -369,13 +312,10 @@ func (c *CloudEventWrappedPublisher) TransformNodeExecutionEvent(ctx context.Con taskExecID = lte.Id } - logger.Debugf(ctx, "RawEvent inputs %v", inputs) return &event.CloudEventNodeExecution{ RawEvent: rawEvent, TaskExecId: taskExecID, - OutputData: outputs, OutputInterface: typedInterface, - InputData: inputs, ArtifactIds: spec.GetMetadata().GetArtifactIds(), Principal: spec.GetMetadata().Principal, LaunchPlanId: spec.LaunchPlan, diff --git a/flyteartifacts/Makefile b/flyteartifacts/Makefile index 7b5ada6444..62684d152b 100644 --- a/flyteartifacts/Makefile +++ b/flyteartifacts/Makefile @@ -1,6 +1,7 @@ -#TODO delete this comment +include ../boilerplate/flyte/golang_test_targets/Makefile + .PHONY: linux_compile linux_compile: export CGO_ENABLED ?= 0 linux_compile: export GOOS ?= linux linux_compile: - go build -o /artifacts/flyteadmin -ldflags=$(LD_FLAGS) ./cmd/ + go build -o /artifacts/flyteartifacts -ldflags=$(LD_FLAGS) ./cmd/ diff --git a/flyteartifacts/boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md b/flyteartifacts/boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..e12139d691 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/code_of_conduct/CODE_OF_CONDUCT.md @@ -0,0 +1,2 @@ +This project is governed by LF AI Foundation's [code of conduct](https://lfprojects.org/policies/code-of-conduct/). +All contributors and participants agree to abide by its terms. diff --git a/flyteartifacts/boilerplate/flyte/code_of_conduct/README.rst b/flyteartifacts/boilerplate/flyte/code_of_conduct/README.rst new file mode 100644 index 0000000000..0c9f2f1ec5 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/code_of_conduct/README.rst @@ -0,0 +1,2 @@ +CODE OF CONDUCT +~~~~~~~~~~~~~~~ diff --git a/flyteartifacts/boilerplate/flyte/code_of_conduct/update.sh b/flyteartifacts/boilerplate/flyte/code_of_conduct/update.sh new file mode 100755 index 0000000000..42f6158460 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/code_of_conduct/update.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +set -e + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" + +cp ${DIR}/CODE_OF_CONDUCT.md ${DIR}/../../../CODE_OF_CONDUCT.md diff --git a/flyteartifacts/boilerplate/flyte/docker_build/Makefile b/flyteartifacts/boilerplate/flyte/docker_build/Makefile new file mode 100644 index 0000000000..e2b2b8a18d --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/docker_build/Makefile @@ -0,0 +1,12 @@ +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +.PHONY: docker_build +docker_build: + IMAGE_NAME=$$REPOSITORY ./boilerplate/flyte/docker_build/docker_build.sh + +.PHONY: dockerhub_push +dockerhub_push: + IMAGE_NAME=flyteorg/$$REPOSITORY REGISTRY=docker.io ./boilerplate/flyte/docker_build/docker_build.sh diff --git a/flyteartifacts/boilerplate/flyte/docker_build/Readme.rst b/flyteartifacts/boilerplate/flyte/docker_build/Readme.rst new file mode 100644 index 0000000000..7790b8fbfd --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/docker_build/Readme.rst @@ -0,0 +1,23 @@ +Docker Build and Push +~~~~~~~~~~~~~~~~~~~~~ + +Provides a ``make docker_build`` target that builds your image locally. + +Provides a ``make dockerhub_push`` target that pushes your final image to Dockerhub. + +The Dockerhub image will tagged ``:`` + +If git head has a git tag, the Dockerhub image will also be tagged ``:``. + +**To Enable:** + +Add ``flyteorg/docker_build`` to your ``boilerplate/update.cfg`` file. + +Add ``include boilerplate/flyte/docker_build/Makefile`` in your main ``Makefile`` _after_ your REPOSITORY environment variable + +:: + + REPOSITORY= + include boilerplate/flyte/docker_build/Makefile + +(this ensures the extra Make targets get included in your main Makefile) diff --git a/flyteartifacts/boilerplate/flyte/docker_build/docker_build.sh b/flyteartifacts/boilerplate/flyte/docker_build/docker_build.sh new file mode 100755 index 0000000000..817189aee1 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/docker_build/docker_build.sh @@ -0,0 +1,67 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +set -e + +echo "" +echo "------------------------------------" +echo " DOCKER BUILD" +echo "------------------------------------" +echo "" + +if [ -n "$REGISTRY" ]; then + # Do not push if there are unstaged git changes + CHANGED=$(git status --porcelain) + if [ -n "$CHANGED" ]; then + echo "Please commit git changes before pushing to a registry" + exit 1 + fi +fi + + +GIT_SHA=$(git rev-parse HEAD) + +IMAGE_TAG_SUFFIX="" +# for intermediate build phases, append -$BUILD_PHASE to all image tags +if [ -n "$BUILD_PHASE" ]; then + IMAGE_TAG_SUFFIX="-${BUILD_PHASE}" +fi + +IMAGE_TAG_WITH_SHA="${IMAGE_NAME}:${GIT_SHA}${IMAGE_TAG_SUFFIX}" + +RELEASE_SEMVER=$(git describe --tags --exact-match "$GIT_SHA" 2>/dev/null) || true +if [ -n "$RELEASE_SEMVER" ]; then + IMAGE_TAG_WITH_SEMVER="${IMAGE_NAME}:${RELEASE_SEMVER}${IMAGE_TAG_SUFFIX}" +fi + +# build the image +# passing no build phase will build the final image +docker build -t "$IMAGE_TAG_WITH_SHA" --target=${BUILD_PHASE} . +echo "${IMAGE_TAG_WITH_SHA} built locally." + +# if REGISTRY specified, push the images to the remote registry +if [ -n "$REGISTRY" ]; then + + if [ -n "${DOCKER_REGISTRY_PASSWORD}" ]; then + docker login --username="$DOCKER_REGISTRY_USERNAME" --password="$DOCKER_REGISTRY_PASSWORD" + fi + + docker tag "$IMAGE_TAG_WITH_SHA" "${REGISTRY}/${IMAGE_TAG_WITH_SHA}" + + docker push "${REGISTRY}/${IMAGE_TAG_WITH_SHA}" + echo "${REGISTRY}/${IMAGE_TAG_WITH_SHA} pushed to remote." + + # If the current commit has a semver tag, also push the images with the semver tag + if [ -n "$RELEASE_SEMVER" ]; then + + docker tag "$IMAGE_TAG_WITH_SHA" "${REGISTRY}/${IMAGE_TAG_WITH_SEMVER}" + + docker push "${REGISTRY}/${IMAGE_TAG_WITH_SEMVER}" + echo "${REGISTRY}/${IMAGE_TAG_WITH_SEMVER} pushed to remote." + + fi +fi diff --git a/flyteartifacts/boilerplate/flyte/end2end/Makefile b/flyteartifacts/boilerplate/flyte/end2end/Makefile new file mode 100644 index 0000000000..98ee63ae7a --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/end2end/Makefile @@ -0,0 +1,14 @@ +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +.PHONY: end2end_execute +end2end_execute: export FLYTESNACKS_PRIORITIES ?= P0 +end2end_execute: export FLYTESNACKS_VERSION ?= $(shell curl --silent "https://api.github.com/repos/flyteorg/flytesnacks/releases/latest" | jq -r .tag_name) +end2end_execute: + ./boilerplate/flyte/end2end/end2end.sh ./boilerplate/flyte/end2end/functional-test-config.yaml --return_non_zero_on_failure + +.PHONY: k8s_integration_execute +k8s_integration_execute: + echo "pass" diff --git a/flyteartifacts/boilerplate/flyte/end2end/end2end.sh b/flyteartifacts/boilerplate/flyte/end2end/end2end.sh new file mode 100755 index 0000000000..5dd825c1a0 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/end2end/end2end.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst +set -eu + +CONFIG_FILE=$1; shift +EXTRA_FLAGS=( "$@" ) + +python ./boilerplate/flyte/end2end/run-tests.py $FLYTESNACKS_VERSION $FLYTESNACKS_PRIORITIES $CONFIG_FILE ${EXTRA_FLAGS[@]} diff --git a/flyteartifacts/boilerplate/flyte/end2end/functional-test-config.yaml b/flyteartifacts/boilerplate/flyte/end2end/functional-test-config.yaml new file mode 100644 index 0000000000..13fc445675 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/end2end/functional-test-config.yaml @@ -0,0 +1,5 @@ +admin: + # For GRPC endpoints you might want to use dns:///flyte.myexample.com + endpoint: dns:///localhost:30080 + authType: Pkce + insecure: true diff --git a/flyteartifacts/boilerplate/flyte/end2end/run-tests.py b/flyteartifacts/boilerplate/flyte/end2end/run-tests.py new file mode 100644 index 0000000000..5365da006e --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/end2end/run-tests.py @@ -0,0 +1,285 @@ +#!/usr/bin/env python3 + +import datetime +import json +import sys +import time +import traceback +from typing import Dict, List, Mapping, Tuple + +import click +import requests +from flytekit.configuration import Config +from flytekit.models.core.execution import WorkflowExecutionPhase +from flytekit.remote import FlyteRemote +from flytekit.remote.executions import FlyteWorkflowExecution + +WAIT_TIME = 10 +MAX_ATTEMPTS = 200 + +# This dictionary maps the names found in the flytesnacks manifest to a list of workflow names and +# inputs. This is so we can progressively cover all priorities in the original flytesnacks manifest, +# starting with "core". +FLYTESNACKS_WORKFLOW_GROUPS: Mapping[str, List[Tuple[str, dict]]] = { + "lite": [ + ("basics.hello_world.hello_world_wf", {}), + ], + "core": [ + # ("development_lifecycle.decks.image_renderer_wf", {}), + # The chain_workflows example in flytesnacks expects to be running in a sandbox. + ("advanced_composition.chain_entities.chain_workflows_wf", {}), + ("advanced_composition.dynamics.wf", {"s1": "Pear", "s2": "Earth"}), + ("advanced_composition.map_task.my_map_workflow", {"a": [1, 2, 3, 4, 5]}), + # Workflows that use nested executions cannot be launched via flyteremote. + # This issue is being tracked in https://github.com/flyteorg/flyte/issues/1482. + # ("control_flow.run_conditions.multiplier", {"my_input": 0.5}), + # ("control_flow.run_conditions.multiplier_2", {"my_input": 10}), + # ("control_flow.run_conditions.multiplier_3", {"my_input": 5}), + # ("control_flow.run_conditions.basic_boolean_wf", {"seed": 5}), + # ("control_flow.run_conditions.bool_input_wf", {"b": True}), + # ("control_flow.run_conditions.nested_conditions", {"my_input": 0.4}), + # ("control_flow.run_conditions.consume_outputs", {"my_input": 0.4, "seed": 7}), + # ("control_flow.run_merge_sort.merge_sort", {"numbers": [5, 4, 3, 2, 1], "count": 5}), + ("advanced_composition.subworkflows.parent_workflow", {"my_input1": "hello"}), + ("advanced_composition.subworkflows.nested_parent_wf", {"a": 3}), + ("basics.workflow.simple_wf", {"x": [1, 2, 3], "y": [1, 2, 3]}), + # TODO: enable new files and folders workflows + # ("basics.files.rotate_one_workflow", {"in_image": "https://upload.wikimedia.org/wikipedia/commons/d/d2/Julia_set_%28C_%3D_0.285%2C_0.01%29.jpg"}), + # ("basics.folders.download_and_rotate", {}), + ("basics.hello_world.hello_world_wf", {}), + ("basics.named_outputs.simple_wf_with_named_outputs", {}), + # # Getting a 403 for the wikipedia image + # # ("basics.reference_task.wf", {}), + ("data_types_and_io.custom_objects.wf", {"x": 10, "y": 20}), + # Enums are not supported in flyteremote + # ("type_system.enums.enum_wf", {"c": "red"}), + ("data_types_and_io.schema.df_wf", {"a": 42}), + ("data_types_and_io.typed_schema.wf", {}), + # ("my.imperative.workflow.example", {"in1": "hello", "in2": "foo"}), + ], + "integrations-k8s-spark": [ + ("k8s_spark_plugin.pyspark_pi.my_spark", {"triggered_date": datetime.datetime.now()}), + ], + "integrations-kfpytorch": [ + ("kfpytorch_plugin.pytorch_mnist.pytorch_training_wf", {}), + ], + "integrations-kftensorflow": [ + ("kftensorflow_plugin.tf_mnist.mnist_tensorflow_workflow", {}), + ], + # "integrations-pod": [ + # ("pod.pod.pod_workflow", {}), + # ], + "integrations-pandera_examples": [ + ("pandera_plugin.basic_schema_example.process_data", {}), + # TODO: investigate type mismatch float -> numpy.float64 + # ("pandera_plugin.validating_and_testing_ml_pipelines.pipeline", {"data_random_state": 42, "model_random_state": 99}), + ], + "integrations-modin_examples": [ + ("modin_plugin.knn_classifier.pipeline", {}), + ], + "integrations-papermilltasks": [ + ("papermill_plugin.simple.nb_to_python_wf", {"f": 3.1415926535}), + ], + "integrations-greatexpectations": [ + ("greatexpectations_plugin.task_example.simple_wf", {}), + ("greatexpectations_plugin.task_example.file_wf", {}), + ("greatexpectations_plugin.task_example.schema_wf", {}), + ("greatexpectations_plugin.task_example.runtime_wf", {}), + ], +} + + +def execute_workflow(remote, version, workflow_name, inputs): + print(f"Fetching workflow={workflow_name} and version={version}") + wf = remote.fetch_workflow(name=workflow_name, version=version) + return remote.execute(wf, inputs=inputs, wait=False) + + +def executions_finished(executions_by_wfgroup: Dict[str, List[FlyteWorkflowExecution]]) -> bool: + for executions in executions_by_wfgroup.values(): + if not all([execution.is_done for execution in executions]): + return False + return True + + +def sync_executions(remote: FlyteRemote, executions_by_wfgroup: Dict[str, List[FlyteWorkflowExecution]]): + try: + for executions in executions_by_wfgroup.values(): + for execution in executions: + print(f"About to sync execution_id={execution.id.name}") + remote.sync(execution) + except Exception: + print(traceback.format_exc()) + print("GOT TO THE EXCEPT") + print("COUNT THIS!") + + +def report_executions(executions_by_wfgroup: Dict[str, List[FlyteWorkflowExecution]]): + for executions in executions_by_wfgroup.values(): + for execution in executions: + print(execution) + + +def schedule_workflow_groups( + tag: str, + workflow_groups: List[str], + remote: FlyteRemote, + terminate_workflow_on_failure: bool, +) -> Dict[str, bool]: + """ + Schedule workflows executions for all workflow groups and return True if all executions succeed, otherwise + return False. + """ + executions_by_wfgroup = {} + # Schedule executions for each workflow group, + for wf_group in workflow_groups: + workflows = FLYTESNACKS_WORKFLOW_GROUPS.get(wf_group, []) + executions_by_wfgroup[wf_group] = [ + execute_workflow(remote, tag, workflow[0], workflow[1]) for workflow in workflows + ] + + # Wait for all executions to finish + attempt = 0 + while attempt == 0 or (not executions_finished(executions_by_wfgroup) and attempt < MAX_ATTEMPTS): + attempt += 1 + print(f"Not all executions finished yet. Sleeping for some time, will check again in {WAIT_TIME}s") + time.sleep(WAIT_TIME) + sync_executions(remote, executions_by_wfgroup) + + report_executions(executions_by_wfgroup) + + results = {} + for wf_group, executions in executions_by_wfgroup.items(): + non_succeeded_executions = [] + for execution in executions: + if execution.closure.phase != WorkflowExecutionPhase.SUCCEEDED: + non_succeeded_executions.append(execution) + # Report failing cases + if len(non_succeeded_executions) != 0: + print(f"Failed executions for {wf_group}:") + for execution in non_succeeded_executions: + print(f" workflow={execution.spec.launch_plan.name}, execution_id={execution.id.name}") + if terminate_workflow_on_failure: + remote.terminate(execution, "aborting execution scheduled in functional test") + # A workflow group succeeds iff all of its executions succeed + results[wf_group] = len(non_succeeded_executions) == 0 + return results + + +def valid(workflow_group): + """ + Return True if a workflow group is contained in FLYTESNACKS_WORKFLOW_GROUPS, + False otherwise. + """ + return workflow_group in FLYTESNACKS_WORKFLOW_GROUPS.keys() + + +def run( + flytesnacks_release_tag: str, + priorities: List[str], + config_file_path, + terminate_workflow_on_failure: bool, +) -> List[Dict[str, str]]: + remote = FlyteRemote( + Config.auto(config_file=config_file_path), + default_project="flytesnacks", + default_domain="development", + ) + + # For a given release tag and priority, this function filters the workflow groups from the flytesnacks + # manifest file. For example, for the release tag "v0.2.224" and the priority "P0" it returns [ "core" ]. + manifest_url = ( + "https://raw.githubusercontent.com/flyteorg/flytesnacks/" f"{flytesnacks_release_tag}/flyte_tests_manifest.json" + ) + r = requests.get(manifest_url) + parsed_manifest = r.json() + workflow_groups = [] + workflow_groups = ( + ["lite"] + if "lite" in priorities + else [group["name"] for group in parsed_manifest if group["priority"] in priorities] + ) + + results = [] + valid_workgroups = [] + for workflow_group in workflow_groups: + if not valid(workflow_group): + results.append( + { + "label": workflow_group, + "status": "coming soon", + "color": "grey", + } + ) + continue + valid_workgroups.append(workflow_group) + + results_by_wfgroup = schedule_workflow_groups( + flytesnacks_release_tag, valid_workgroups, remote, terminate_workflow_on_failure + ) + + for workflow_group, succeeded in results_by_wfgroup.items(): + if succeeded: + background_color = "green" + status = "passing" + else: + background_color = "red" + status = "failing" + + # Workflow groups can be only in one of three states: + # 1. passing: this indicates all the workflow executions for that workflow group + # executed successfully + # 2. failing: this state indicates that at least one execution failed in that + # workflow group + # 3. coming soon: this state is used to indicate that the workflow group was not + # implemented yet. + # + # Each state has a corresponding status and color to be used in the badge for that + # workflow group. + result = { + "label": workflow_group, + "status": status, + "color": background_color, + } + results.append(result) + return results + + +@click.command() +@click.option( + "--return_non_zero_on_failure", + default=False, + is_flag=True, + help="Return a non-zero exit status if any workflow fails", +) +@click.option( + "--terminate_workflow_on_failure", + default=False, + is_flag=True, + help="Abort failing workflows upon exit", +) +@click.argument("flytesnacks_release_tag") +@click.argument("priorities") +@click.argument("config_file") +def cli( + flytesnacks_release_tag, + priorities, + config_file, + return_non_zero_on_failure, + terminate_workflow_on_failure, +): + print(f"return_non_zero_on_failure={return_non_zero_on_failure}") + results = run(flytesnacks_release_tag, priorities, config_file, terminate_workflow_on_failure) + + # Write a json object in its own line describing the result of this run to stdout + print(f"Result of run:\n{json.dumps(results)}") + + # Return a non-zero exit code if core fails + if return_non_zero_on_failure: + for result in results: + if result["status"] not in ("passing", "coming soon"): + sys.exit(1) + + +if __name__ == "__main__": + cli() diff --git a/flyteartifacts/boilerplate/flyte/flyte_golang_compile/Readme.rst b/flyteartifacts/boilerplate/flyte/flyte_golang_compile/Readme.rst new file mode 100644 index 0000000000..e6b56dd16e --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/flyte_golang_compile/Readme.rst @@ -0,0 +1,16 @@ +Flyte Golang Compile +~~~~~~~~~~~~~~~~~~~~ + +Common compile script for Flyte golang services. + +**To Enable:** + +Add ``flyteorg/flyte_golang_compile`` to your ``boilerplate/update.cfg`` file. + +Add the following to your Makefile + +:: + + .PHONY: compile_linux + compile_linux: + PACKAGES={{ *your packages }} OUTPUT={{ /path/to/output }} ./boilerplate/flyte/flyte_golang_compile.sh diff --git a/flyteartifacts/boilerplate/flyte/flyte_golang_compile/flyte_golang_compile.Template b/flyteartifacts/boilerplate/flyte/flyte_golang_compile/flyte_golang_compile.Template new file mode 100644 index 0000000000..f587e971be --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/flyte_golang_compile/flyte_golang_compile.Template @@ -0,0 +1,26 @@ +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +if [ -z "$PACKAGES" ]; then + echo "PACKAGES environment VAR not set" + exit 1 +fi + +if [ -z "$OUTPUT" ]; then + echo "OUTPUT environment VAR not set" + exit 1 +fi + +# get the GIT_SHA and RELEASE_SEMVER + +GIT_SHA=$(git rev-parse HEAD) +RELEASE_SEMVER=$(git describe --tags --exact-match $GIT_SHA 2>/dev/null) + +CURRENT_PKG=github.com/flyteorg/{{ REPOSITORY }} +VERSION_PKG="${CURRENT_PKG}/vendor/github.com/flyteorg/flytestdlib" + +LDFLAGS="-X ${VERSION_PKG}/version.Build=${GIT_SHA} -X ${VERSION_PKG}/version.Version=${RELEASE_SEMVER}" + +GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "$LDFLAGS" -o "$OUTPUT" "$PACKAGES" diff --git a/flyteartifacts/boilerplate/flyte/flyte_golang_compile/update.sh b/flyteartifacts/boilerplate/flyte/flyte_golang_compile/update.sh new file mode 100755 index 0000000000..b1e6101c2b --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/flyte_golang_compile/update.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +set -e + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" + +echo " - generating ${DIR}/flyte_golang_compile.sh" +sed -e "s/{{REPOSITORY}}/${REPOSITORY}/g" ${DIR}/flyte_golang_compile.Template > ${DIR}/flyte_golang_compile.sh diff --git a/flyteartifacts/boilerplate/flyte/github_workflows/Readme.rst b/flyteartifacts/boilerplate/flyte/github_workflows/Readme.rst new file mode 100644 index 0000000000..f236923514 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/github_workflows/Readme.rst @@ -0,0 +1,22 @@ +Golang Github Actions +~~~~~~~~~~~~~~~~~ + +Provides a two github actions workflows. + +**To Enable:** + +Add ``flyteorg/github_workflows`` to your ``boilerplate/update.cfg`` file. + +Add a github secret ``package_name`` with the name to use for publishing (e.g. ``flytepropeller``). Typically, this will be the same name as the repository. + +*Note*: If you are working on a fork, include that prefix in your package name (``myfork/flytepropeller``). + +The actions will push to 2 repos: + + 1. ``docker.pkg.github.com/flyteorg//`` + 2. ``docker.pkg.github.com/flyteorg//-stages`` : this repo is used to cache build stages to speed up iterative builds after. + +There are two workflows that get deployed: + + 1. A workflow that runs on Pull Requests to build and push images to github registry tagged with the commit sha. + 2. A workflow that runs on master merges that bump the patch version of release tag, builds and pushes images to github registry tagged with the version, commit sha as well as "latest" diff --git a/flyteartifacts/boilerplate/flyte/github_workflows/master.yml b/flyteartifacts/boilerplate/flyte/github_workflows/master.yml new file mode 100644 index 0000000000..dade522918 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/github_workflows/master.yml @@ -0,0 +1,31 @@ +name: Master + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + with: + fetch-depth: '0' + - name: Bump version and push tag + id: bump-version + uses: anothrNick/github-tag-action@1.36.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + WITH_V: true + DEFAULT_BUMP: patch + - name: Push Docker Image to Github Registry + uses: whoan/docker-build-with-cache-action@v5 + with: + username: "${{ github.actor }}" + password: "${{ secrets.GITHUB_TOKEN }}" + image_name: ${{ secrets.package_name }} + image_tag: latest,${{ github.sha }},${{ steps.bump-version.outputs.tag }} + push_git_tag: true + registry: docker.pkg.github.com + build_extra_args: "--compress=true" diff --git a/flyteartifacts/boilerplate/flyte/github_workflows/pull_request.yml b/flyteartifacts/boilerplate/flyte/github_workflows/pull_request.yml new file mode 100644 index 0000000000..932400bc4f --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/github_workflows/pull_request.yml @@ -0,0 +1,19 @@ +name: Pull Request + +on: + pull_request + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Push Docker Image to Github Registry + uses: whoan/docker-build-with-cache-action@v5 + with: + username: "${{ github.actor }}" + password: "${{ secrets.GITHUB_TOKEN }}" + image_name: ${{ secrets.package_name }} + image_tag: ${{ github.sha }} + push_git_tag: true + registry: docker.pkg.github.com diff --git a/flyteartifacts/boilerplate/flyte/github_workflows/update.sh b/flyteartifacts/boilerplate/flyte/github_workflows/update.sh new file mode 100755 index 0000000000..d5a74a4fc0 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/github_workflows/update.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +set -e + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" + +mkdir -p ${DIR}/../../../.github/workflows + +echo " - generating github action workflows in root directory." +sed -e "s/{{REPOSITORY}}/${REPOSITORY}/g" ${DIR}/master.yml > ${DIR}/../../../.github/workflows/master.yml +sed -e "s/{{REPOSITORY}}/${REPOSITORY}/g" ${DIR}/pull_request.yml > ${DIR}/../../../.github/workflows/pull_request.yml diff --git a/flyteartifacts/boilerplate/flyte/golang_dockerfile/Dockerfile.GoTemplate b/flyteartifacts/boilerplate/flyte/golang_dockerfile/Dockerfile.GoTemplate new file mode 100644 index 0000000000..0334cae08d --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_dockerfile/Dockerfile.GoTemplate @@ -0,0 +1,32 @@ +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +FROM golang:1.13.3-alpine3.10 as builder +RUN apk add git openssh-client make curl + +# COPY only the go mod files for efficient caching +COPY go.mod go.sum /go/src/github.com/flyteorg/{{REPOSITORY}}/ +WORKDIR /go/src/github.com/flyteorg/{{REPOSITORY}} + +# Pull dependencies +RUN go mod download + +# COPY the rest of the source code +COPY . /go/src/github.com/flyteorg/{{REPOSITORY}}/ + +# This 'linux_compile' target should compile binaries to the /artifacts directory +# The main entrypoint should be compiled to /artifacts/{{REPOSITORY}} +RUN make linux_compile + +# update the PATH to include the /artifacts directory +ENV PATH="/artifacts:${PATH}" + +# This will eventually move to centurylink/ca-certs:latest for minimum possible image size +FROM alpine:3.13.7 +COPY --from=builder /artifacts /bin + +RUN apk --update add ca-certificates + +CMD ["{{REPOSITORY}}"] diff --git a/flyteartifacts/boilerplate/flyte/golang_dockerfile/Readme.rst b/flyteartifacts/boilerplate/flyte/golang_dockerfile/Readme.rst new file mode 100644 index 0000000000..dba3b34f60 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_dockerfile/Readme.rst @@ -0,0 +1,16 @@ +Golang Dockerfile +~~~~~~~~~~~~~~~~~ + +Provides a Dockerfile that produces a small image. + +**To Enable:** + +Add ``flyteorg/golang_dockerfile`` to your ``boilerplate/update.cfg`` file. + +Create and configure a ``make linux_compile`` target that compiles your go binaries to the ``/artifacts`` directory :: + + .PHONY: linux_compile + linux_compile: + RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /artifacts {{ packages }} + +All binaries compiled to ``/artifacts`` will be available at ``/bin`` in your final image. diff --git a/flyteartifacts/boilerplate/flyte/golang_dockerfile/update.sh b/flyteartifacts/boilerplate/flyte/golang_dockerfile/update.sh new file mode 100755 index 0000000000..5439bada4f --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_dockerfile/update.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +set -e + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" + +echo " - generating Dockerfile in root directory." +sed -e "s/{{REPOSITORY}}/${REPOSITORY}/g" ${DIR}/Dockerfile.GoTemplate > ${DIR}/../../../Dockerfile diff --git a/flyteartifacts/boilerplate/flyte/golang_support_tools/go.mod b/flyteartifacts/boilerplate/flyte/golang_support_tools/go.mod new file mode 100644 index 0000000000..2cfeb8aa3a --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_support_tools/go.mod @@ -0,0 +1,247 @@ +module github.com/flyteorg/boilerplate + +go 1.19 + +require ( + github.com/EngHabu/mockery v0.0.0-20220405200825-3f76291311cf + github.com/alvaroloes/enumer v1.1.2 + github.com/flyteorg/flytestdlib v0.4.16 + github.com/golangci/golangci-lint v1.53.3 + github.com/pseudomuto/protoc-gen-doc v1.4.1 +) + +require ( + 4d63.com/gocheckcompilerdirectives v1.2.1 // indirect + 4d63.com/gochecknoglobals v0.2.1 // indirect + cloud.google.com/go v0.110.2 // indirect + cloud.google.com/go/compute v1.19.3 // indirect + cloud.google.com/go/compute/metadata v0.2.3 // indirect + cloud.google.com/go/iam v1.1.2 // indirect + cloud.google.com/go/storage v1.29.0 // indirect + github.com/4meepo/tagalign v1.2.2 // indirect + github.com/Abirdcfly/dupword v0.0.11 // indirect + github.com/Antonboom/errname v0.1.10 // indirect + github.com/Antonboom/nilnil v0.1.5 // indirect + github.com/Azure/azure-sdk-for-go v62.3.0+incompatible // indirect + github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1 // indirect + github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3 // indirect + github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0 // indirect + github.com/Azure/go-autorest v14.2.0+incompatible // indirect + github.com/Azure/go-autorest/autorest v0.11.17 // indirect + github.com/Azure/go-autorest/autorest/adal v0.9.10 // indirect + github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect + github.com/Azure/go-autorest/logger v0.2.0 // indirect + github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/BurntSushi/toml v1.3.2 // indirect + github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect + github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0 // indirect + github.com/Masterminds/semver v1.5.0 // indirect + github.com/Masterminds/sprig v2.15.0+incompatible // indirect + github.com/OpenPeeDeeP/depguard/v2 v2.1.0 // indirect + github.com/alexkohler/nakedret/v2 v2.0.2 // indirect + github.com/alexkohler/prealloc v1.0.0 // indirect + github.com/alingse/asasalint v0.0.11 // indirect + github.com/aokoli/goutils v1.0.1 // indirect + github.com/ashanbrown/forbidigo v1.5.3 // indirect + github.com/ashanbrown/makezero v1.1.1 // indirect + github.com/aws/aws-sdk-go v1.37.1 // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/bkielbasa/cyclop v1.2.1 // indirect + github.com/blizzy78/varnamelen v0.8.0 // indirect + github.com/bombsimon/wsl/v3 v3.4.0 // indirect + github.com/breml/bidichk v0.2.4 // indirect + github.com/breml/errchkjson v0.3.1 // indirect + github.com/butuzov/ireturn v0.2.0 // indirect + github.com/butuzov/mirror v1.1.0 // indirect + github.com/cespare/xxhash v1.1.0 // indirect + github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/charithe/durationcheck v0.0.10 // indirect + github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8 // indirect + github.com/coocood/freecache v1.1.1 // indirect + github.com/curioswitch/go-reassign v0.2.0 // indirect + github.com/daixiang0/gci v0.10.1 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/denis-tingaikin/go-header v0.4.3 // indirect + github.com/envoyproxy/protoc-gen-validate v0.10.0 // indirect + github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607 // indirect + github.com/esimonov/ifshort v1.0.4 // indirect + github.com/ettle/strcase v0.1.1 // indirect + github.com/fatih/color v1.15.0 // indirect + github.com/fatih/structtag v1.2.0 // indirect + github.com/firefart/nonamedreturns v1.0.4 // indirect + github.com/flyteorg/stow v0.3.1 // indirect + github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect + github.com/fsnotify/fsnotify v1.5.4 // indirect + github.com/fzipp/gocyclo v0.6.0 // indirect + github.com/ghodss/yaml v1.0.0 // indirect + github.com/go-critic/go-critic v0.8.1 // indirect + github.com/go-logr/logr v1.2.4 // indirect + github.com/go-toolsmith/astcast v1.1.0 // indirect + github.com/go-toolsmith/astcopy v1.1.0 // indirect + github.com/go-toolsmith/astequal v1.1.0 // indirect + github.com/go-toolsmith/astfmt v1.1.0 // indirect + github.com/go-toolsmith/astp v1.1.0 // indirect + github.com/go-toolsmith/strparse v1.1.0 // indirect + github.com/go-toolsmith/typep v1.1.0 // indirect + github.com/go-xmlfmt/xmlfmt v1.1.2 // indirect + github.com/gobwas/glob v0.2.3 // indirect + github.com/gofrs/flock v0.8.1 // indirect + github.com/gofrs/uuid v4.2.0+incompatible // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/protobuf v1.5.3 // indirect + github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 // indirect + github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect + github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe // indirect + github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2 // indirect + github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0 // indirect + github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca // indirect + github.com/golangci/misspell v0.4.0 // indirect + github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 // indirect + github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 // indirect + github.com/google/go-cmp v0.5.9 // indirect + github.com/google/s2a-go v0.1.4 // indirect + github.com/google/uuid v1.3.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect + github.com/googleapis/gax-go/v2 v2.11.0 // indirect + github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601 // indirect + github.com/gostaticanalysis/analysisutil v0.7.1 // indirect + github.com/gostaticanalysis/comment v1.4.2 // indirect + github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect + github.com/gostaticanalysis/nilerr v0.1.1 // indirect + github.com/hashicorp/errwrap v1.0.0 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/go-version v1.6.0 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/hexops/gotextdiff v1.0.3 // indirect + github.com/huandu/xstrings v1.0.0 // indirect + github.com/imdario/mergo v0.3.5 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/jgautheron/goconst v1.5.1 // indirect + github.com/jingyugao/rowserrcheck v1.1.1 // indirect + github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect + github.com/jmespath/go-jmespath v0.4.0 // indirect + github.com/julz/importas v0.1.0 // indirect + github.com/kisielk/errcheck v1.6.3 // indirect + github.com/kisielk/gotool v1.0.0 // indirect + github.com/kkHAIKE/contextcheck v1.1.4 // indirect + github.com/kulti/thelper v0.6.3 // indirect + github.com/kunwardeep/paralleltest v1.0.7 // indirect + github.com/kyoh86/exportloopref v0.1.11 // indirect + github.com/ldez/gomoddirectives v0.2.3 // indirect + github.com/ldez/tagliatelle v0.5.0 // indirect + github.com/leonklingele/grouper v1.1.1 // indirect + github.com/lufeee/execinquery v1.2.1 // indirect + github.com/magiconair/properties v1.8.6 // indirect + github.com/maratori/testableexamples v1.0.0 // indirect + github.com/maratori/testpackage v1.1.1 // indirect + github.com/matoous/godox v0.0.0-20230222163458-006bad1f9d26 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.17 // indirect + github.com/mattn/go-runewidth v0.0.9 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect + github.com/mbilski/exhaustivestruct v1.2.0 // indirect + github.com/mgechev/revive v1.3.2 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/mitchellh/mapstructure v1.5.0 // indirect + github.com/moricho/tparallel v0.3.1 // indirect + github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007 // indirect + github.com/nakabonne/nestif v0.3.1 // indirect + github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 // indirect + github.com/ncw/swift v1.0.53 // indirect + github.com/nishanths/exhaustive v0.11.0 // indirect + github.com/nishanths/predeclared v0.2.2 // indirect + github.com/nunnatsa/ginkgolinter v0.12.1 // indirect + github.com/olekukonko/tablewriter v0.0.5 // indirect + github.com/pascaldekloe/name v0.0.0-20180628100202-0fd16699aae1 // indirect + github.com/pelletier/go-toml v1.9.5 // indirect + github.com/pelletier/go-toml/v2 v2.0.5 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/polyfloyd/go-errorlint v1.4.2 // indirect + github.com/prometheus/client_golang v1.12.1 // indirect + github.com/prometheus/client_model v0.2.0 // indirect + github.com/prometheus/common v0.32.1 // indirect + github.com/prometheus/procfs v0.7.3 // indirect + github.com/pseudomuto/protokit v0.2.0 // indirect + github.com/quasilyte/go-ruleguard v0.3.19 // indirect + github.com/quasilyte/gogrep v0.5.0 // indirect + github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect + github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect + github.com/ryancurrah/gomodguard v1.3.0 // indirect + github.com/ryanrolds/sqlclosecheck v0.4.0 // indirect + github.com/sanposhiho/wastedassign/v2 v2.0.7 // indirect + github.com/sashamelentyev/interfacebloat v1.1.0 // indirect + github.com/sashamelentyev/usestdlibvars v1.23.0 // indirect + github.com/securego/gosec/v2 v2.16.0 // indirect + github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect + github.com/sirupsen/logrus v1.9.3 // indirect + github.com/sivchari/containedctx v1.0.3 // indirect + github.com/sivchari/nosnakecase v1.7.0 // indirect + github.com/sivchari/tenv v1.7.1 // indirect + github.com/sonatard/noctx v0.0.2 // indirect + github.com/sourcegraph/go-diff v0.7.0 // indirect + github.com/spf13/afero v1.8.2 // indirect + github.com/spf13/cast v1.5.0 // indirect + github.com/spf13/cobra v1.7.0 // indirect + github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/spf13/viper v1.12.0 // indirect + github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect + github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect + github.com/stretchr/objx v0.5.0 // indirect + github.com/stretchr/testify v1.8.4 // indirect + github.com/subosito/gotenv v1.4.1 // indirect + github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c // indirect + github.com/tdakkota/asciicheck v0.2.0 // indirect + github.com/tetafro/godot v1.4.11 // indirect + github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 // indirect + github.com/timonwong/loggercheck v0.9.4 // indirect + github.com/tomarrell/wrapcheck/v2 v2.8.1 // indirect + github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect + github.com/ultraware/funlen v0.0.3 // indirect + github.com/ultraware/whitespace v0.0.5 // indirect + github.com/uudashr/gocognit v1.0.6 // indirect + github.com/xen0n/gosmopolitan v1.2.1 // indirect + github.com/yagipy/maintidx v1.0.0 // indirect + github.com/yeya24/promlinter v0.2.0 // indirect + github.com/ykadowak/zerologlint v0.1.2 // indirect + gitlab.com/bosi/decorder v0.2.3 // indirect + go.opencensus.io v0.24.0 // indirect + go.tmz.dev/musttag v0.7.0 // indirect + go.uber.org/atomic v1.7.0 // indirect + go.uber.org/multierr v1.6.0 // indirect + go.uber.org/zap v1.24.0 // indirect + golang.org/x/crypto v0.11.0 // indirect + golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea // indirect + golang.org/x/exp/typeparams v0.0.0-20230224173230-c95f2b4c22f2 // indirect + golang.org/x/mod v0.12.0 // indirect + golang.org/x/net v0.12.0 // indirect + golang.org/x/oauth2 v0.8.0 // indirect + golang.org/x/sync v0.3.0 // indirect + golang.org/x/sys v0.10.0 // indirect + golang.org/x/text v0.11.0 // indirect + golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 // indirect + golang.org/x/tools v0.11.1 // indirect + golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // 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.55.0 // indirect + google.golang.org/protobuf v1.30.0 // indirect + gopkg.in/ini.v1 v1.67.0 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + honnef.co/go/tools v0.4.3 // indirect + k8s.io/apimachinery v0.20.2 // indirect + k8s.io/client-go v0.0.0-20210217172142-7279fc64d847 // indirect + k8s.io/klog/v2 v2.5.0 // indirect + mvdan.cc/gofumpt v0.5.0 // indirect + mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed // indirect + mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect + mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d // indirect +) + +replace github.com/pseudomuto/protoc-gen-doc => github.com/flyteorg/protoc-gen-doc v1.4.2 diff --git a/flyteartifacts/boilerplate/flyte/golang_support_tools/go.sum b/flyteartifacts/boilerplate/flyte/golang_support_tools/go.sum new file mode 100644 index 0000000000..4cc434803e --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_support_tools/go.sum @@ -0,0 +1,1225 @@ +4d63.com/gocheckcompilerdirectives v1.2.1 h1:AHcMYuw56NPjq/2y615IGg2kYkBdTvOaojYCBcRE7MA= +4d63.com/gocheckcompilerdirectives v1.2.1/go.mod h1:yjDJSxmDTtIHHCqX0ufRYZDL6vQtMG7tJdKVeWwsqvs= +4d63.com/gochecknoglobals v0.2.1 h1:1eiorGsgHOFOuoOiJDy2psSrQbRdIHrlge0IJIkUgDc= +4d63.com/gochecknoglobals v0.2.1/go.mod h1:KRE8wtJB3CXCsb1xy421JfTHIIbmT3U5ruxw2Qu8fSU= +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.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +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.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/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.3 h1:DcTwsFgGev/wV5+q8o2fzgcHOaac+DKGC91ZlvpsQds= +cloud.google.com/go/compute v1.19.3/go.mod h1:qxvISKp/gYnXkSAD1ppcSOveRAmzxicEv/JlizULFrI= +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 v1.1.2 h1:gacbrBdWcoVmGLozRuStX45YKvJtzIjJdAolzUs1sm4= +cloud.google.com/go/iam v1.1.2/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= +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.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= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/4meepo/tagalign v1.2.2 h1:kQeUTkFTaBRtd/7jm8OKJl9iHk0gAO+TDFPHGSna0aw= +github.com/4meepo/tagalign v1.2.2/go.mod h1:Q9c1rYMZJc9dPRkbQPpcBNCLEmY2njbAsXhQOZFE2dE= +github.com/Abirdcfly/dupword v0.0.11 h1:z6v8rMETchZXUIuHxYNmlUAuKuB21PeaSymTed16wgU= +github.com/Abirdcfly/dupword v0.0.11/go.mod h1:wH8mVGuf3CP5fsBTkfWwwwKTjDnVVCxtU8d8rgeVYXA= +github.com/Antonboom/errname v0.1.10 h1:RZ7cYo/GuZqjr1nuJLNe8ZH+a+Jd9DaZzttWzak9Bls= +github.com/Antonboom/errname v0.1.10/go.mod h1:xLeiCIrvVNpUtsN0wxAh05bNIZpqE22/qDMnTBTttiA= +github.com/Antonboom/nilnil v0.1.5 h1:X2JAdEVcbPaOom2TUa1FxZ3uyuUlex0XMLGYMemu6l0= +github.com/Antonboom/nilnil v0.1.5/go.mod h1:I24toVuBKhfP5teihGWctrRiPbRKHwZIFOvc6v3HZXk= +github.com/Azure/azure-sdk-for-go v62.3.0+incompatible h1:Ctfsn9UoA/BB4HMYQlbPPgNXdX0tZ4tmb85+KFb2+RE= +github.com/Azure/azure-sdk-for-go v62.3.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1 h1:qoVeMsc9/fh/yhxVaA0obYjVH/oI/ihrOoMwsLS9KSA= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.21.1/go.mod h1:fBF9PQNqB8scdgpZ3ufzaLntG0AG7C1WjPMsiFOmfHM= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3 h1:E+m3SkZCN0Bf5q7YdTs5lSm2CYY3CK4spn5OmUIiQtk= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.3/go.mod h1:KLF4gFr6DcKFZwSuH8w8yEK6DpFl3LP5rhdvAb7Yz5I= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0 h1:Px2UA+2RvSSvv+RvJNuUB6n7rs5Wsel4dXLe90Um2n4= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0/go.mod h1:tPaiy8S5bQ+S5sOiDlINkp7+Ef339+Nz5L5XO+cnOHo= +github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= +github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= +github.com/Azure/go-autorest/autorest v0.11.12/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= +github.com/Azure/go-autorest/autorest v0.11.17 h1:2zCdHwNgRH+St1J+ZMf66xI8aLr/5KMy+wWLH97zwYM= +github.com/Azure/go-autorest/autorest v0.11.17/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= +github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= +github.com/Azure/go-autorest/autorest/adal v0.9.10 h1:r6fZHMaHD8B6LDCn0o5vyBFHIHrM6Ywwx7mb49lPItI= +github.com/Azure/go-autorest/autorest/adal v0.9.10/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= +github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= +github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= +github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= +github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= +github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= +github.com/Azure/go-autorest/logger v0.2.0 h1:e4RVHVZKC5p6UANLJHkM4OfR1UKZPj8Wt8Pcx+3oqrE= +github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= +github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= +github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= +github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM= +github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= +github.com/EngHabu/mockery v0.0.0-20220405200825-3f76291311cf h1:M7A2Tn3R8rVgsoJHHKkmkpiNOItys4GxJj6JytRjdDg= +github.com/EngHabu/mockery v0.0.0-20220405200825-3f76291311cf/go.mod h1:Kya4Y46gyq/3TEyAzeNe5UkCk+W9apy5KbuX+5KnZ6M= +github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0 h1:+r1rSv4gvYn0wmRjC8X7IAzX8QezqtFV9m0MUHFJgts= +github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0/go.mod h1:b3g59n2Y+T5xmcxJL+UEG2f8cQploZm1mR/v6BW0mU0= +github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= +github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= +github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= +github.com/Masterminds/sprig v2.15.0+incompatible h1:0gSxPGWS9PAr7U2NsQ2YQg6juRDINkUyuvbb4b2Xm8w= +github.com/Masterminds/sprig v2.15.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= +github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= +github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= +github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/OpenPeeDeeP/depguard/v2 v2.1.0 h1:aQl70G173h/GZYhWf36aE5H0KaujXfVMnn/f1kSDVYY= +github.com/OpenPeeDeeP/depguard/v2 v2.1.0/go.mod h1:PUBgk35fX4i7JDmwzlJwJ+GMe6NfO1723wmJMgPThNQ= +github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= +github.com/alexkohler/nakedret/v2 v2.0.2 h1:qnXuZNvv3/AxkAb22q/sEsEpcA99YxLFACDtEw9TPxE= +github.com/alexkohler/nakedret/v2 v2.0.2/go.mod h1:2b8Gkk0GsOrqQv/gPWjNLDSKwG8I5moSXG1K4VIBcTQ= +github.com/alexkohler/prealloc v1.0.0 h1:Hbq0/3fJPQhNkN0dR95AVrr6R7tou91y0uHG5pOcUuw= +github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cvfHR56wJVlKE= +github.com/alingse/asasalint v0.0.11 h1:SFwnQXJ49Kx/1GghOFz1XGqHYKp21Kq1nHad/0WQRnw= +github.com/alingse/asasalint v0.0.11/go.mod h1:nCaoMhw7a9kSJObvQyVzNTPBDbNpdocqrSP7t/cW5+I= +github.com/alvaroloes/enumer v1.1.2 h1:5khqHB33TZy1GWCO/lZwcroBFh7u+0j40T83VUbfAMY= +github.com/alvaroloes/enumer v1.1.2/go.mod h1:FxrjvuXoDAx9isTJrv4c+T410zFi0DtXIT0m65DJ+Wo= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/aokoli/goutils v1.0.1 h1:7fpzNGoJ3VA8qcrm++XEE1QUe0mIwNeLa02Nwq7RDkg= +github.com/aokoli/goutils v1.0.1/go.mod h1:SijmP0QR8LtwsmDs8Yii5Z/S4trXFGFC2oO5g9DP+DQ= +github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/ashanbrown/forbidigo v1.5.3 h1:jfg+fkm/snMx+V9FBwsl1d340BV/99kZGv5jN9hBoXk= +github.com/ashanbrown/forbidigo v1.5.3/go.mod h1:Y8j9jy9ZYAEHXdu723cUlraTqbzjKF1MUyfOKL+AjcU= +github.com/ashanbrown/makezero v1.1.1 h1:iCQ87C0V0vSyO+M9E/FZYbu65auqH0lnsOkf5FcB28s= +github.com/ashanbrown/makezero v1.1.1/go.mod h1:i1bJLCRSCHOcOa9Y6MyF2FTfMZMFdHvxKHxgO5Z1axI= +github.com/aws/aws-sdk-go v1.37.1 h1:BTHmuN+gzhxkvU9sac2tZvaY0gV9ihbHw+KxZOecYvY= +github.com/aws/aws-sdk-go v1.37.1/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bkielbasa/cyclop v1.2.1 h1:AeF71HZDob1P2/pRm1so9cd1alZnrpyc4q2uP2l0gJY= +github.com/bkielbasa/cyclop v1.2.1/go.mod h1:K/dT/M0FPAiYjBgQGau7tz+3TMh4FWAEqlMhzFWCrgM= +github.com/blizzy78/varnamelen v0.8.0 h1:oqSblyuQvFsW1hbBHh1zfwrKe3kcSj0rnXkKzsQ089M= +github.com/blizzy78/varnamelen v0.8.0/go.mod h1:V9TzQZ4fLJ1DSrjVDfl89H7aMnTvKkApdHeyESmyR7k= +github.com/bombsimon/wsl/v3 v3.4.0 h1:RkSxjT3tmlptwfgEgTgU+KYKLI35p/tviNXNXiL2aNU= +github.com/bombsimon/wsl/v3 v3.4.0/go.mod h1:KkIB+TXkqy6MvK9BDZVbZxKNYsE1/oLRJbIFtf14qqo= +github.com/breml/bidichk v0.2.4 h1:i3yedFWWQ7YzjdZJHnPo9d/xURinSq3OM+gyM43K4/8= +github.com/breml/bidichk v0.2.4/go.mod h1:7Zk0kRFt1LIZxtQdl9W9JwGAcLTTkOs+tN7wuEYGJ3s= +github.com/breml/errchkjson v0.3.1 h1:hlIeXuspTyt8Y/UmP5qy1JocGNR00KQHgfaNtRAjoxQ= +github.com/breml/errchkjson v0.3.1/go.mod h1:XroxrzKjdiutFyW3nWhw34VGg7kiMsDQox73yWCGI2U= +github.com/butuzov/ireturn v0.2.0 h1:kCHi+YzC150GE98WFuZQu9yrTn6GEydO2AuPLbTgnO4= +github.com/butuzov/ireturn v0.2.0/go.mod h1:Wh6Zl3IMtTpaIKbmwzqi6olnM9ptYQxxVacMsOEFPoc= +github.com/butuzov/mirror v1.1.0 h1:ZqX54gBVMXu78QLoiqdwpl2mgmoOJTk7s4p4o+0avZI= +github.com/butuzov/mirror v1.1.0/go.mod h1:8Q0BdQU6rC6WILDiBM60DBfvV78OLJmMmixe7GF45AE= +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.1.2/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/charithe/durationcheck v0.0.10 h1:wgw73BiocdBDQPik+zcEoBG/ob8uyBHf2iyoHGPf5w4= +github.com/charithe/durationcheck v0.0.10/go.mod h1:bCWXb7gYRysD1CU3C+u4ceO49LoGOY1C1L6uouGNreQ= +github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8 h1:W9o46d2kbNL06lq7UNDPV0zYLzkrde/bjIqO02eoll0= +github.com/chavacava/garif v0.0.0-20230227094218-b8c73b2037b8/go.mod h1:gakxgyXaaPkxvLw1XQxNGK4I37ys9iBRzNUx/B7pUCo= +github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 h1:SKI1/fuSdodxmNNyVBR8d7X/HuLnRpvvFO0AgyQk764= +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-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/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= +github.com/curioswitch/go-reassign v0.2.0 h1:G9UZyOcpk/d7Gd6mqYgd8XYWFMw/znxwGDUstnC9DIo= +github.com/curioswitch/go-reassign v0.2.0/go.mod h1:x6OpXuWvgfQaMGks2BZybTngWjT84hqJfKoO8Tt/Roc= +github.com/daixiang0/gci v0.10.1 h1:eheNA3ljF6SxnPD/vE4lCBusVHmV3Rs3dkKvFrJ7MR0= +github.com/daixiang0/gci v0.10.1/go.mod h1:xtHP9N7AHdNvtRNfcx9gwTDfw7FRJx4bZUsiEfiNNAI= +github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/denis-tingaikin/go-header v0.4.3 h1:tEaZKAlqql6SKCY++utLmkPLd6K8IBM20Ha7UVm+mtU= +github.com/denis-tingaikin/go-header v0.4.3/go.mod h1:0wOCWuN71D5qIgE2nz9KrKmuYBAC2Mra5RassOIQ2/c= +github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= +github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= +github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= +github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= +github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= +github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.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.3.0-java/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/envoyproxy/protoc-gen-validate v0.10.0 h1:oIfnZFdC0YhpNNEX+SuIqko4cqqVZeN9IGTrhZje83Y= +github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= +github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607 h1:cTavhURetDkezJCvxFggiyLeP40Mrk/TtVg2+ycw1Es= +github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607/go.mod h1:Cg4fM0vhYWOZdgM7RIOSTRNIc8/VT7CXClC3Ni86lu4= +github.com/esimonov/ifshort v1.0.4 h1:6SID4yGWfRae/M7hkVDVVyppy8q/v9OuxNdmjLQStBA= +github.com/esimonov/ifshort v1.0.4/go.mod h1:Pe8zjlRrJ80+q2CxHLfEOfTwxCZ4O+MuhcHcfgNWTk0= +github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw= +github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= +github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= +github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= +github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= +github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= +github.com/firefart/nonamedreturns v1.0.4 h1:abzI1p7mAEPYuR4A+VLKn4eNDOycjYo2phmY9sfv40Y= +github.com/firefart/nonamedreturns v1.0.4/go.mod h1:TDhe/tjI1BXo48CmYbUduTV7BdIga8MAO/xbKdcVsGI= +github.com/flyteorg/flytestdlib v0.4.16 h1:r4dCPUOqoE9xCAhOw9KDB7O6cBoCxyEtepIWYcj93H0= +github.com/flyteorg/flytestdlib v0.4.16/go.mod h1:WA5Y4hrcgD0ybGOKJVOQ4sP8q7NLRV+S5SWOlH0axgM= +github.com/flyteorg/protoc-gen-doc v1.4.2 h1:Otw0F+RHaPQ8XlpzhLLgjsCMcrAIcMO01Zh+ALe3rrE= +github.com/flyteorg/protoc-gen-doc v1.4.2/go.mod h1:exDTOVwqpp30eV/EDPFLZy3Pwr2sn6hBC1WIYH/UbIg= +github.com/flyteorg/stow v0.3.1 h1:cBMbWl03Gsy5KoA5mutUYTuYpqtT7Pb8+ANGCLnmFEs= +github.com/flyteorg/stow v0.3.1/go.mod h1:HBld7ud0i4khMHwJjkO8v+NSP7ddKa/ruhf4I8fliaA= +github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= +github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= +github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= +github.com/fzipp/gocyclo v0.6.0 h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo= +github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA= +github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= +github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/go-critic/go-critic v0.8.1 h1:16omCF1gN3gTzt4j4J6fKI/HnRojhEp+Eks6EuKw3vw= +github.com/go-critic/go-critic v0.8.1/go.mod h1:kpzXl09SIJX1cr9TB/g/sAG+eFEl7ZS9f9cqvZtyNl0= +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-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 v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= +github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= +github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= +github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= +github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-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-toolsmith/astcast v1.1.0 h1:+JN9xZV1A+Re+95pgnMgDboWNVnIMMQXwfBwLRPgSC8= +github.com/go-toolsmith/astcast v1.1.0/go.mod h1:qdcuFWeGGS2xX5bLM/c3U9lewg7+Zu4mr+xPwZIB4ZU= +github.com/go-toolsmith/astcopy v1.1.0 h1:YGwBN0WM+ekI/6SS6+52zLDEf8Yvp3n2seZITCUBt5s= +github.com/go-toolsmith/astcopy v1.1.0/go.mod h1:hXM6gan18VA1T/daUEHCFcYiW8Ai1tIwIzHY6srfEAw= +github.com/go-toolsmith/astequal v1.0.3/go.mod h1:9Ai4UglvtR+4up+bAD4+hCj7iTo4m/OXVTSLnCyTAx4= +github.com/go-toolsmith/astequal v1.1.0 h1:kHKm1AWqClYn15R0K1KKE4RG614D46n+nqUQ06E1dTw= +github.com/go-toolsmith/astequal v1.1.0/go.mod h1:sedf7VIdCL22LD8qIvv7Nn9MuWJruQA/ysswh64lffQ= +github.com/go-toolsmith/astfmt v1.1.0 h1:iJVPDPp6/7AaeLJEruMsBUlOYCmvg0MoCfJprsOmcco= +github.com/go-toolsmith/astfmt v1.1.0/go.mod h1:OrcLlRwu0CuiIBp/8b5PYF9ktGVZUjlNMV634mhwuQ4= +github.com/go-toolsmith/astp v1.1.0 h1:dXPuCl6u2llURjdPLLDxJeZInAeZ0/eZwFJmqZMnpQA= +github.com/go-toolsmith/astp v1.1.0/go.mod h1:0T1xFGz9hicKs8Z5MfAqSUitoUYS30pDMsRVIDHs8CA= +github.com/go-toolsmith/pkgload v1.2.2 h1:0CtmHq/02QhxcF7E9N5LIFcYFsMR5rdovfqTtRKkgIk= +github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8= +github.com/go-toolsmith/strparse v1.1.0 h1:GAioeZUK9TGxnLS+qfdqNbA4z0SSm5zVNtCQiyP2Bvw= +github.com/go-toolsmith/strparse v1.1.0/go.mod h1:7ksGy58fsaQkGQlY8WVoBFNyEPMGuJin1rfoPS4lBSQ= +github.com/go-toolsmith/typep v1.1.0 h1:fIRYDyF+JywLfqzyhdiHzRop/GQDxxNhLGQ6gFUNHus= +github.com/go-toolsmith/typep v1.1.0/go.mod h1:fVIw+7zjdsMxDA3ITWnH1yOiw1rnTQKCsF/sk2H/qig= +github.com/go-xmlfmt/xmlfmt v1.1.2 h1:Nea7b4icn8s57fTx1M5AI4qQT5HEM3rVUO8MuE6g80U= +github.com/go-xmlfmt/xmlfmt v1.1.2/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= +github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= +github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= +github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw= +github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= +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.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +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/golangci/check v0.0.0-20180506172741-cfe4005ccda2 h1:23T5iq8rbUYlhpt5DB4XJkc6BU31uODLD1o1gKvZmD0= +github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2/go.mod h1:k9Qvh+8juN+UKMCS/3jFtGICgW8O96FVaZsaxdzDkR4= +github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a h1:w8hkcTqaFpzKqonE9uMCefW1WDie15eSP/4MssdenaM= +github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a/go.mod h1:ryS0uhF+x9jgbj/N71xsEqODy9BN81/GonCZiOzirOk= +github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe h1:6RGUuS7EGotKx6J5HIP8ZtyMdiDscjMLfRBSPuzVVeo= +github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe/go.mod h1:gjqyPShc/m8pEMpk0a3SeagVb0kaqvhscv+i9jI5ZhQ= +github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2 h1:amWTbTGqOZ71ruzrdA+Nx5WA3tV1N0goTspwmKCQvBY= +github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2/go.mod h1:9wOXstvyDRshQ9LggQuzBCGysxs3b6Uo/1MvYCR2NMs= +github.com/golangci/golangci-lint v1.53.3 h1:CUcRafczT4t1F+mvdkUm6KuOpxUZTl0yWN/rSU6sSMo= +github.com/golangci/golangci-lint v1.53.3/go.mod h1:W4Gg3ONq6p3Jl+0s/h9Gr0j7yEgHJWWZO2bHl2tBUXM= +github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0 h1:MfyDlzVjl1hoaPzPD4Gpb/QgoRfSBR0jdhwGyAWwMSA= +github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0/go.mod h1:66R6K6P6VWk9I95jvqGxkqJxVWGFy9XlDwLwVz1RCFg= +github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca h1:kNY3/svz5T29MYHubXix4aDDuE3RWHkPvopM/EDv/MA= +github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca/go.mod h1:tvlJhZqDe4LMs4ZHD0oMUlt9G2LWuDGoisJTBzLMV9o= +github.com/golangci/misspell v0.4.0 h1:KtVB/hTK4bbL/S6bs64rYyk8adjmh1BygbBiaAiX+a0= +github.com/golangci/misspell v0.4.0/go.mod h1:W6O/bwV6lGDxUCChm2ykw9NQdd5bYd1Xkjo88UcWyJc= +github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 h1:DIPQnGy2Gv2FSA4B/hh8Q7xx3B7AIDk3DAMeHclH1vQ= +github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6/go.mod h1:0AKcRCkMoKvUvlf89F6O7H2LYdhr1zBh736mBItOdRs= +github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 h1:zwtduBRr5SSWhqsYNgcuWO2kFlpdOZbP0+yRjmvPGys= +github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4/go.mod h1:Izgrg8RkN3rCIMLGE9CyYmU9pY2Jer6DgANEnZ/L/cQ= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +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.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/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.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +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.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= +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-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 h1:yAJXTCF9TqKcTiHJAE8dj7HMvPfh66eeA2JYW7eFpSE= +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/uuid v0.0.0-20161128191214-064e2069ce9c/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.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/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.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= +github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= +github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= +github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601 h1:mrEEilTAUmaAORhssPPkxj84TsHrPMLBGW2Z4SoTxm8= +github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gostaticanalysis/analysisutil v0.7.1 h1:ZMCjoue3DtDWQ5WyU16YbjbQEQ3VuzwxALrpYd+HeKk= +github.com/gostaticanalysis/analysisutil v0.7.1/go.mod h1:v21E3hY37WKMGSnbsw2S/ojApNWb6C1//mXO48CXbVc= +github.com/gostaticanalysis/comment v1.4.1/go.mod h1:ih6ZxzTHLdadaiSnF5WY3dxUoXfXAlTaRzuaNDlSado= +github.com/gostaticanalysis/comment v1.4.2 h1:hlnx5+S2fY9Zo9ePo4AhgYsYHbM2+eAv8m/s1JiCd6Q= +github.com/gostaticanalysis/comment v1.4.2/go.mod h1:KLUTGDv6HOCotCH8h2erHKmpci2ZoR8VPu34YA2uzdM= +github.com/gostaticanalysis/forcetypeassert v0.1.0 h1:6eUflI3DiGusXGK6X7cCcIgVCpZ2CiZ1Q7jl6ZxNV70= +github.com/gostaticanalysis/forcetypeassert v0.1.0/go.mod h1:qZEedyP/sY1lTGV1uJ3VhWZ2mqag3IkWsDHVbplHXak= +github.com/gostaticanalysis/nilerr v0.1.1 h1:ThE+hJP0fEp4zWLkWHWcRyI2Od0p7DlgYG3Uqrmrcpk= +github.com/gostaticanalysis/nilerr v0.1.1/go.mod h1:wZYb6YI5YAxxq0i1+VJbY0s2YONW0HU0GPE3+5PWN4A= +github.com/gostaticanalysis/testutil v0.3.1-0.20210208050101-bfb5c8eec0e4/go.mod h1:D+FIZ+7OahH3ePw/izIEeH5I06eKs1IKI4Xr64/Am3M= +github.com/gostaticanalysis/testutil v0.4.0 h1:nhdCmubdmDF6VEatUNjgUZBJKWRqugoISdUv3PPQgHY= +github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= +github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +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/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= +github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/huandu/xstrings v1.0.0 h1:pO2K/gKgKaat5LdpAhxhluX2GPQMaI3W5FUz/I/UnWk= +github.com/huandu/xstrings v1.0.0/go.mod h1:4qWG/gcEcfX4z/mBDHJ++3ReCw9ibxbsNJbcucJdbSo= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/imdario/mergo v0.3.4/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.5 h1:JboBksRwiiAJWvIYJVo46AfV+IAIKZpfrSzVKj42R4Q= +github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/jgautheron/goconst v1.5.1 h1:HxVbL1MhydKs8R8n/HE5NPvzfaYmQJA3o879lE4+WcM= +github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= +github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs= +github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c= +github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48= +github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0= +github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= +github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= +github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= +github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/julz/importas v0.1.0 h1:F78HnrsjY3cR7j0etXy5+TU1Zuy7Xt08X/1aJnH5xXY= +github.com/julz/importas v0.1.0/go.mod h1:oSFU2R4XK/P7kNBrnL/FEQlDGN1/6WoxXEjSSXO0DV0= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= +github.com/kisielk/errcheck v1.6.3 h1:dEKh+GLHcWm2oN34nMvDzn1sqI0i0WxPvrgiJA5JuM8= +github.com/kisielk/errcheck v1.6.3/go.mod h1:nXw/i/MfnvRHqXa7XXmQMUB0oNFGuBrNI8d8NLy0LPw= +github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/kkHAIKE/contextcheck v1.1.4 h1:B6zAaLhOEEcjvUgIYEqystmnFk1Oemn8bvJhbt0GMb8= +github.com/kkHAIKE/contextcheck v1.1.4/go.mod h1:1+i/gWqokIa+dm31mqGLZhZJ7Uh44DJGZVmr6QRBNJg= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kulti/thelper v0.6.3 h1:ElhKf+AlItIu+xGnI990no4cE2+XaSu1ULymV2Yulxs= +github.com/kulti/thelper v0.6.3/go.mod h1:DsqKShOvP40epevkFrvIwkCMNYxMeTNjdWL4dqWHZ6I= +github.com/kunwardeep/paralleltest v1.0.7 h1:2uCk94js0+nVNQoHZNLBkAR1DQJrVzw6T0RMzJn55dQ= +github.com/kunwardeep/paralleltest v1.0.7/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY= +github.com/kyoh86/exportloopref v0.1.11 h1:1Z0bcmTypkL3Q4k+IDHMWTcnCliEZcaPiIe0/ymEyhQ= +github.com/kyoh86/exportloopref v0.1.11/go.mod h1:qkV4UF1zGl6EkF1ox8L5t9SwyeBAZ3qLMd6up458uqA= +github.com/ldez/gomoddirectives v0.2.3 h1:y7MBaisZVDYmKvt9/l1mjNCiSA1BVn34U0ObUcJwlhA= +github.com/ldez/gomoddirectives v0.2.3/go.mod h1:cpgBogWITnCfRq2qGoDkKMEVSaarhdBr6g8G04uz6d0= +github.com/ldez/tagliatelle v0.5.0 h1:epgfuYt9v0CG3fms0pEgIMNPuFf/LpPIfjk4kyqSioo= +github.com/ldez/tagliatelle v0.5.0/go.mod h1:rj1HmWiL1MiKQuOONhd09iySTEkUuE/8+5jtPYz9xa4= +github.com/leonklingele/grouper v1.1.1 h1:suWXRU57D4/Enn6pXR0QVqqWWrnJ9Osrz+5rjt8ivzU= +github.com/leonklingele/grouper v1.1.1/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY= +github.com/lufeee/execinquery v1.2.1 h1:hf0Ems4SHcUGBxpGN7Jz78z1ppVkP/837ZlETPCEtOM= +github.com/lufeee/execinquery v1.2.1/go.mod h1:EC7DrEKView09ocscGHC+apXMIaorh4xqSxS/dy8SbM= +github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= +github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/maratori/testableexamples v1.0.0 h1:dU5alXRrD8WKSjOUnmJZuzdxWOEQ57+7s93SLMxb2vI= +github.com/maratori/testableexamples v1.0.0/go.mod h1:4rhjL1n20TUTT4vdh3RDqSizKLyXp7K2u6HgraZCGzE= +github.com/maratori/testpackage v1.1.1 h1:S58XVV5AD7HADMmD0fNnziNHqKvSdDuEKdPD1rNTU04= +github.com/maratori/testpackage v1.1.1/go.mod h1:s4gRK/ym6AMrqpOa/kEbQTV4Q4jb7WeLZzVhVVVOQMc= +github.com/matoous/godox v0.0.0-20230222163458-006bad1f9d26 h1:gWg6ZQ4JhDfJPqlo2srm/LN17lpybq15AryXIRcWYLE= +github.com/matoous/godox v0.0.0-20230222163458-006bad1f9d26/go.mod h1:1BELzlh859Sh1c6+90blK8lbYy0kwQf1bYlBhBysy1s= +github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= +github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= +github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= +github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/mbilski/exhaustivestruct v1.2.0 h1:wCBmUnSYufAHO6J4AVWY6ff+oxWxsVFrwgOdMUQePUo= +github.com/mbilski/exhaustivestruct v1.2.0/go.mod h1:OeTBVxQWoEmB2J2JCHmXWPJ0aksxSUOUy+nvtVEfzXc= +github.com/mgechev/revive v1.3.2 h1:Wb8NQKBaALBJ3xrrj4zpwJwqwNA6nDpyJSEQWcCka6U= +github.com/mgechev/revive v1.3.2/go.mod h1:UCLtc7o5vg5aXCwdUTU1kEBQ1v+YXPAkYDIDXbrs5I0= +github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= +github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= +github.com/moricho/tparallel v0.3.1 h1:fQKD4U1wRMAYNngDonW5XupoB/ZGJHdpzrWqgyg9krA= +github.com/moricho/tparallel v0.3.1/go.mod h1:leENX2cUv7Sv2qDgdi0D0fCftN8fRC67Bcn8pqzeYNI= +github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007 h1:28i1IjGcx8AofiB4N3q5Yls55VEaitzuEPkFJEVgGkA= +github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007/go.mod h1:m2XC9Qq0AlmmVksL6FktJCdTYyLk7V3fKyp0sl1yWQo= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= +github.com/nakabonne/nestif v0.3.1 h1:wm28nZjhQY5HyYPx+weN3Q65k6ilSBxDb8v5S81B81U= +github.com/nakabonne/nestif v0.3.1/go.mod h1:9EtoZochLn5iUprVDmDjqGKPofoUEBL8U4Ngq6aY7OE= +github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 h1:4kuARK6Y6FxaNu/BnU2OAaLF86eTVhP2hjTB6iMvItA= +github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354/go.mod h1:KSVJerMDfblTH7p5MZaTt+8zaT2iEk3AkVb9PQdZuE8= +github.com/ncw/swift v1.0.53 h1:luHjjTNtekIEvHg5KdAFIBaH7bWfNkefwFnpDffSIks= +github.com/ncw/swift v1.0.53/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= +github.com/nishanths/exhaustive v0.11.0 h1:T3I8nUGhl/Cwu5Z2hfc92l0e04D2GEW6e0l8pzda2l0= +github.com/nishanths/exhaustive v0.11.0/go.mod h1:RqwDsZ1xY0dNdqHho2z6X+bgzizwbLYOWnZbbl2wLB4= +github.com/nishanths/predeclared v0.2.2 h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk= +github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c= +github.com/nunnatsa/ginkgolinter v0.12.1 h1:vwOqb5Nu05OikTXqhvLdHCGcx5uthIYIl0t79UVrERQ= +github.com/nunnatsa/ginkgolinter v0.12.1/go.mod h1:AK8Ab1PypVrcGUusuKD8RDcl2KgsIwvNaaxAlyHSzso= +github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= +github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= +github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.11.0 h1:JAKSXpt1YjtLA7YpPiqO9ss6sNXEsPfSGdwN0UHqzrw= +github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo/v2 v2.9.4 h1:xR7vG4IXt5RWx6FfIjyAtsoMAtnc3C/rFXBBd2AjZwE= +github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.27.6 h1:ENqfyGeS5AX/rlXDd/ETokDz93u0YufY1Pgxuy/PvWE= +github.com/otiai10/copy v1.2.0 h1:HvG945u96iNadPoG2/Ja2+AUJeW5YuFQMixq9yirC+k= +github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw= +github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= +github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= +github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= +github.com/otiai10/mint v1.3.1/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc= +github.com/pascaldekloe/name v0.0.0-20180628100202-0fd16699aae1 h1:/I3lTljEEDNYLho3/FUB7iD/oc2cEFgVmbHzV+O0PtU= +github.com/pascaldekloe/name v0.0.0-20180628100202-0fd16699aae1/go.mod h1:eD5JxqMiuNYyFNmyY9rkJ/slN8y59oEu4Ei7F8OoKWQ= +github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= +github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/pelletier/go-toml/v2 v2.0.5 h1:ipoSadvV8oGUjnUbMub59IDPPwfxF694nG/jwbMiyQg= +github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas= +github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= +github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +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/polyfloyd/go-errorlint v1.4.2 h1:CU+O4181IxFDdPH6t/HT7IiDj1I7zxNi1RIUxYwn8d0= +github.com/polyfloyd/go-errorlint v1.4.2/go.mod h1:k6fU/+fQe38ednoZS51T7gSIGQW1y94d6TkSr35OzH8= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk= +github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= +github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= +github.com/prometheus/common v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4= +github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= +github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/pseudomuto/protokit v0.2.0 h1:hlnBDcy3YEDXH7kc9gV+NLaN0cDzhDvD1s7Y6FZ8RpM= +github.com/pseudomuto/protokit v0.2.0/go.mod h1:2PdH30hxVHsup8KpBTOXTBeMVhJZVio3Q8ViKSAXT0Q= +github.com/quasilyte/go-ruleguard v0.3.19 h1:tfMnabXle/HzOb5Xe9CUZYWXKfkS1KwRmZyPmD9nVcc= +github.com/quasilyte/go-ruleguard v0.3.19/go.mod h1:lHSn69Scl48I7Gt9cX3VrbsZYvYiBYszZOZW4A+oTEw= +github.com/quasilyte/gogrep v0.5.0 h1:eTKODPXbI8ffJMN+W2aE0+oL0z/nh8/5eNdiO34SOAo= +github.com/quasilyte/gogrep v0.5.0/go.mod h1:Cm9lpz9NZjEoL1tgZ2OgeUKPIxL1meE7eo60Z6Sk+Ng= +github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 h1:TCg2WBOl980XxGFEZSS6KlBGIV0diGdySzxATTWoqaU= +github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0= +github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs= +github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ= +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.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ryancurrah/gomodguard v1.3.0 h1:q15RT/pd6UggBXVBuLps8BXRvl5GPBcwVA7BJHMLuTw= +github.com/ryancurrah/gomodguard v1.3.0/go.mod h1:ggBxb3luypPEzqVtq33ee7YSN35V28XeGnid8dnni50= +github.com/ryanrolds/sqlclosecheck v0.4.0 h1:i8SX60Rppc1wRuyQjMciLqIzV3xnoHB7/tXbr6RGYNI= +github.com/ryanrolds/sqlclosecheck v0.4.0/go.mod h1:TBRRjzL31JONc9i4XMinicuo+s+E8yKZ5FN8X3G6CKQ= +github.com/sanposhiho/wastedassign/v2 v2.0.7 h1:J+6nrY4VW+gC9xFzUc+XjPD3g3wF3je/NsJFwFK7Uxc= +github.com/sanposhiho/wastedassign/v2 v2.0.7/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI= +github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tMEOsumirXcOJqAw= +github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ= +github.com/sashamelentyev/usestdlibvars v1.23.0 h1:01h+/2Kd+NblNItNeux0veSL5cBF1jbEOPrEhDzGYq0= +github.com/sashamelentyev/usestdlibvars v1.23.0/go.mod h1:YPwr/Y1LATzHI93CqoPUN/2BzGQ/6N/cl/KwgR0B/aU= +github.com/securego/gosec/v2 v2.16.0 h1:Pi0JKoasQQ3NnoRao/ww/N/XdynIB9NRYYZT5CyOs5U= +github.com/securego/gosec/v2 v2.16.0/go.mod h1:xvLcVZqUfo4aAQu56TNv7/Ltz6emAOQAEsrZrt7uGlI= +github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU= +github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c/go.mod h1:/PevMnwAxekIXwN8qQyfc5gl2NlkB3CQlkizAbOkeBs= +github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= +github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= +github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/sivchari/containedctx v1.0.3 h1:x+etemjbsh2fB5ewm5FeLNi5bUjK0V8n0RB+Wwfd0XE= +github.com/sivchari/containedctx v1.0.3/go.mod h1:c1RDvCbnJLtH4lLcYD/GqwiBSSf4F5Qk0xld2rBqzJ4= +github.com/sivchari/nosnakecase v1.7.0 h1:7QkpWIRMe8x25gckkFd2A5Pi6Ymo0qgr4JrhGt95do8= +github.com/sivchari/nosnakecase v1.7.0/go.mod h1:CwDzrzPea40/GB6uynrNLiorAlgFRvRbFSgJx2Gs+QY= +github.com/sivchari/tenv v1.7.1 h1:PSpuD4bu6fSmtWMxSGWcvqUUgIn7k3yOJhOIzVWn8Ak= +github.com/sivchari/tenv v1.7.1/go.mod h1:64yStXKSOxDfX47NlhVwND4dHwfZDdbp2Lyl018Icvg= +github.com/sonatard/noctx v0.0.2 h1:L7Dz4De2zDQhW8S0t+KUjY0MAQJd6SgVwhzNIc4ok00= +github.com/sonatard/noctx v0.0.2/go.mod h1:kzFz+CzWSjQ2OzIm46uJZoXuBpa2+0y3T36U18dWqIo= +github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0= +github.com/sourcegraph/go-diff v0.7.0/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= +github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= +github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/afero v1.8.2 h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo= +github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo= +github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= +github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= +github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= +github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ= +github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI= +github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0= +github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= +github.com/stbenjam/no-sprintf-host-port v0.1.1 h1:tYugd/yrm1O0dV+ThCbaKZh195Dfm07ysF0U6JQXczc= +github.com/stbenjam/no-sprintf-host-port v0.1.1/go.mod h1:TLhvtIvONRzdmkFiio4O8LHsN9N74I+PhRquPsxpL0I= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v0.0.0-20170130113145-4d4bfba8f1d1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.1.4/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +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.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +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.2/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/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs= +github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c h1:+aPplBwWcHBo6q9xrfWdMrT9o4kltkmmvpemgIjep/8= +github.com/t-yuki/gocover-cobertura v0.0.0-20180217150009-aaee18c8195c/go.mod h1:SbErYREK7xXdsRiigaQiQkI9McGRzYMvlKYaP3Nimdk= +github.com/tdakkota/asciicheck v0.2.0 h1:o8jvnUANo0qXtnslk2d3nMKTFNlOnJjRrNcj0j9qkHM= +github.com/tdakkota/asciicheck v0.2.0/go.mod h1:Qb7Y9EgjCLJGup51gDHFzbI08/gbGhL/UVhYIPWG2rg= +github.com/tenntenn/modver v1.0.1 h1:2klLppGhDgzJrScMpkj9Ujy3rXPUspSjAcev9tSEBgA= +github.com/tenntenn/modver v1.0.1/go.mod h1:bePIyQPb7UeioSRkw3Q0XeMhYZSMx9B8ePqg6SAMGH0= +github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3 h1:f+jULpRQGxTSkNYKJ51yaw6ChIqO+Je8UqsTKN/cDag= +github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY= +github.com/tetafro/godot v1.4.11 h1:BVoBIqAf/2QdbFmSwAWnaIqDivZdOV0ZRwEm6jivLKw= +github.com/tetafro/godot v1.4.11/go.mod h1:LR3CJpxDVGlYOWn3ZZg1PgNZdTUvzsZWu8xaEohUpn8= +github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 h1:quvGphlmUVU+nhpFa4gg4yJyTRJ13reZMDHrKwYw53M= +github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966/go.mod h1:27bSVNWSBOHm+qRp1T9qzaIpsWEP6TbUnei/43HK+PQ= +github.com/timonwong/loggercheck v0.9.4 h1:HKKhqrjcVj8sxL7K77beXh0adEm6DLjV/QOGeMXEVi4= +github.com/timonwong/loggercheck v0.9.4/go.mod h1:caz4zlPcgvpEkXgVnAJGowHAMW2NwHaNlpS8xDbVhTg= +github.com/tomarrell/wrapcheck/v2 v2.8.1 h1:HxSqDSN0sAt0yJYsrcYVoEeyM4aI9yAm3KQpIXDJRhQ= +github.com/tomarrell/wrapcheck/v2 v2.8.1/go.mod h1:/n2Q3NZ4XFT50ho6Hbxg+RV1uyo2Uow/Vdm9NQcl5SE= +github.com/tommy-muehle/go-mnd/v2 v2.5.1 h1:NowYhSdyE/1zwK9QCLeRb6USWdoif80Ie+v+yU8u1Zw= +github.com/tommy-muehle/go-mnd/v2 v2.5.1/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= +github.com/ultraware/funlen v0.0.3 h1:5ylVWm8wsNwH5aWo9438pwvsK0QiqVuUrt9bn7S/iLA= +github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA= +github.com/ultraware/whitespace v0.0.5 h1:hh+/cpIcopyMYbZNVov9iSxvJU3OYQg78Sfaqzi/CzI= +github.com/ultraware/whitespace v0.0.5/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA= +github.com/uudashr/gocognit v1.0.6 h1:2Cgi6MweCsdB6kpcVQp7EW4U23iBFQWfTXiWlyp842Y= +github.com/uudashr/gocognit v1.0.6/go.mod h1:nAIUuVBnYU7pcninia3BHOvQkpQCeO76Uscky5BOwcY= +github.com/xen0n/gosmopolitan v1.2.1 h1:3pttnTuFumELBRSh+KQs1zcz4fN6Zy7aB0xlnQSn1Iw= +github.com/xen0n/gosmopolitan v1.2.1/go.mod h1:JsHq/Brs1o050OOdmzHeOr0N7OtlnKRAGAsElF8xBQA= +github.com/yagipy/maintidx v1.0.0 h1:h5NvIsCz+nRDapQ0exNv4aJ0yXSI0420omVANTv3GJM= +github.com/yagipy/maintidx v1.0.0/go.mod h1:0qNf/I/CCZXSMhsRsrEPDZ+DkekpKLXAJfsTACwgXLk= +github.com/yeya24/promlinter v0.2.0 h1:xFKDQ82orCU5jQujdaD8stOHiv8UN68BSdn2a8u8Y3o= +github.com/yeya24/promlinter v0.2.0/go.mod h1:u54lkmBOZrpEbQQ6gox2zWKKLKu2SGe+2KOiextY+IA= +github.com/ykadowak/zerologlint v0.1.2 h1:Um4P5RMmelfjQqQJKtE8ZW+dLZrXrENeIzWWKw800U4= +github.com/ykadowak/zerologlint v0.1.2/go.mod h1:KaUskqF3e/v59oPmdq1U1DnKcuHokl2/K1U4pmIELKg= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +gitlab.com/bosi/decorder v0.2.3 h1:gX4/RgK16ijY8V+BRQHAySfQAb354T7/xQpDB2n10P0= +gitlab.com/bosi/decorder v0.2.3/go.mod h1:9K1RB5+VPNQYtXtTDAzd2OEftsZb1oV0IrJrzChSdGE= +go-simpler.org/assert v0.5.0 h1:+5L/lajuQtzmbtEfh69sr5cRf2/xZzyJhFjoOz/PPqs= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= +go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.tmz.dev/musttag v0.7.0 h1:QfytzjTWGXZmChoX0L++7uQN+yRCPfyFm+whsM+lfGc= +go.tmz.dev/musttag v0.7.0/go.mod h1:oTFPvgOkJmp5kYL02S8+jrH0eLrBIl57rzWeA26zDEM= +go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= +go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= +go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= +golang.org/x/crypto v0.0.0-20180501155221-613d6eafa307/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA= +golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= +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-20230510235704-dd950f8aeaea h1:vLCWI/yYrdEHyN2JzIzPO3aaQJHQdp89IZBA/+azVC4= +golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= +golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= +golang.org/x/exp/typeparams v0.0.0-20230224173230-c95f2b4c22f2 h1:J74nGeMgeFnYQJN59eFwh06jX/V8g0lB7LWpjSLxtgU= +golang.org/x/exp/typeparams v0.0.0-20230224173230-c95f2b4c22f2/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= +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/lint v0.0.0-20201208152925-83fdc39ff7b5/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/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= +golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= +golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-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-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +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-20190827160401-ba9fcec4b297/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-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-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-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= +golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= +golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50= +golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +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-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.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-20190412183630-56d357773e84/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/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.1.0/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/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/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-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-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-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-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-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-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-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211105183446-c75c47738b0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/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-20220702020025-31831981b65f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= +golang.org/x/sys v0.10.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.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= +golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.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.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4= +golang.org/x/text v0.11.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.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20201208040808-7e3f01d25324 h1:Hir2P/De0WpUhtrKGGjvSb2YxUgyZ7EFOSLIcSSpiwE= +golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +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-20190321232350-e250d351ecad/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-20190524210228-3d17549cdc6b/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-20190614205625-5aca471b1d59/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-20190910044552-dd2b5c81c578/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-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= +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-20200324003944-a576cf524670/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200329025819-fd4102a86c65/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +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-20200724022722-7017fd6b1305/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +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-20200820010801-b793a1359eac/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20201001104356-43ebab892c4c/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= +golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.1-0.20210205202024-ef80cdb6ec6d/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU= +golang.org/x/tools v0.1.1-0.20210302220138-2ac05c832e1a/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU= +golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= +golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= +golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= +golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= +golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.11.1 h1:ojD5zOW8+7dOGzdnNgersm8aPfcDjhMp12UfG93NIMc= +golang.org/x/tools v0.11.1/go.mod h1:anzJrxPjNtfgiYQYirP2CPGzGLxrH2u2QBhn6Bf3qY8= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +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.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/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-20181107211654-5fc9ac540362/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-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-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/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.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.55.0 h1:3Oj82/tFSCeUrRTg/5E/7d/W5A1tj6Ky1ABAuZuv5ag= +google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +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.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= +google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/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/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= +gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +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.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +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-20210107192922-496545a6307b/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= +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= +honnef.co/go/tools v0.4.3 h1:o/n5/K5gXqk8Gozvs2cnL0F2S1/g1vcGCAx2vETjITw= +honnef.co/go/tools v0.4.3/go.mod h1:36ZgoUOrqOk1GxwHhyryEkq8FQWkUO2xGuSMhUCcdvA= +k8s.io/api v0.0.0-20210217171935-8e2decd92398/go.mod h1:60tmSUpHxGPFerNHbo/ayI2lKxvtrhbxFyXuEIWJd78= +k8s.io/apimachinery v0.0.0-20210217011835-527a61b4dffe/go.mod h1:Z7ps/g0rjlTeMstYrMOUttJfT2Gg34DEaG/f2PYLCWY= +k8s.io/apimachinery v0.20.2 h1:hFx6Sbt1oG0n6DZ+g4bFt5f6BoMkOjKWsQFu077M3Vg= +k8s.io/apimachinery v0.20.2/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= +k8s.io/client-go v0.0.0-20210217172142-7279fc64d847 h1:d+LBRNY3c/KGp7lDblRlUJkayx4Vla7WUTIazoGMdYo= +k8s.io/client-go v0.0.0-20210217172142-7279fc64d847/go.mod h1:q0EaghmVye2uui19vxSZ2NG6ssgUWgjudO6vrwXneSI= +k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= +k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.5.0 h1:8mOnjf1RmUPW6KRqQCfYSZq/K20Unmp3IhuZUhxl8KI= +k8s.io/klog/v2 v2.5.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= +k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= +k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +mvdan.cc/gofumpt v0.5.0 h1:0EQ+Z56k8tXjj/6TQD25BFNKQXpCvT0rnansIc7Ug5E= +mvdan.cc/gofumpt v0.5.0/go.mod h1:HBeVDtMKRZpXyxFciAirzdKklDlGu8aAy1wEbH5Y9js= +mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I= +mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc= +mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b h1:DxJ5nJdkhDlLok9K6qO+5290kphDJbHOQO1DFFFTeBo= +mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4= +mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d h1:3rvTIIM22r9pvXk+q3swxUQAQOxksVMGK7sml4nG57w= +mvdan.cc/unparam v0.0.0-20221223090309-7455f1af531d/go.mod h1:IeHQjmn6TOD+e4Z3RFiZMMsLVL+A96Nvptar8Fj71is= +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/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= +sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= diff --git a/flyteartifacts/boilerplate/flyte/golang_support_tools/tools.go b/flyteartifacts/boilerplate/flyte/golang_support_tools/tools.go new file mode 100644 index 0000000000..6c3da04107 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_support_tools/tools.go @@ -0,0 +1,13 @@ +//go:build tools +// +build tools + +package tools + +import ( + _ "github.com/EngHabu/mockery/cmd/mockery" + _ "github.com/alvaroloes/enumer" + _ "github.com/golangci/golangci-lint/cmd/golangci-lint" + _ "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc" + + _ "github.com/flyteorg/flyte/flytestdlib/cli/pflags" +) diff --git a/flyteartifacts/boilerplate/flyte/golang_test_targets/Makefile b/flyteartifacts/boilerplate/flyte/golang_test_targets/Makefile new file mode 100644 index 0000000000..be72275f5a --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_test_targets/Makefile @@ -0,0 +1,57 @@ +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + + +.PHONY: download_tooling +download_tooling: #download dependencies (including test deps) for the package + @boilerplate/flyte/golang_test_targets/download_tooling.sh + +.PHONY: generate +generate: download_tooling #generate go code + @boilerplate/flyte/golang_test_targets/go-gen.sh + +.PHONY: lint +lint: download_tooling #lints the package for common code smells + GL_DEBUG=linters_output,env golangci-lint run --fix --deadline=5m --exclude deprecated -v + +# If code is failing goimports linter, this will fix. +# skips 'vendor' +.PHONY: goimports +goimports: + @boilerplate/flyte/golang_test_targets/goimports + +.PHONY: mod_download +mod_download: #download dependencies (including test deps) for the package + go mod download + +.PHONY: install +install: download_tooling mod_download + +.PHONY: show +show: + go list -m all + +.PHONY: test_unit +test_unit: + go test -cover ./... -race + +.PHONY: test_benchmark +test_benchmark: + go test -bench . ./... + +.PHONY: test_unit_cover +test_unit_cover: + go test ./... -coverprofile /tmp/cover.out -covermode=count + go tool cover -func /tmp/cover.out + +.PHONY: test_unit_visual +test_unit_visual: + go test ./... -coverprofile /tmp/cover.out -covermode=count + go tool cover -html=/tmp/cover.out + +.PHONY: test_unit_codecov +test_unit_codecov: + go test ./... -race -coverprofile=coverage.txt -covermode=atomic + curl -s https://codecov.io/bash > codecov_bash.sh && bash codecov_bash.sh diff --git a/flyteartifacts/boilerplate/flyte/golang_test_targets/Readme.rst b/flyteartifacts/boilerplate/flyte/golang_test_targets/Readme.rst new file mode 100644 index 0000000000..f9d890fdd7 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_test_targets/Readme.rst @@ -0,0 +1,31 @@ +Golang Test Targets +~~~~~~~~~~~~~~~~~~~ + +Provides an ``install`` make target that uses ``go mod`` to install golang dependencies. + +Provides a ``lint`` make target that uses golangci to lint your code. + +Provides a ``test_unit`` target for unit tests. + +Provides a ``test_unit_cover`` target for analysing coverage of unit tests, which will output the coverage of each function and total statement coverage. + +Provides a ``test_unit_visual`` target for visualizing coverage of unit tests through an interactive html code heat map. + +Provides a ``test_benchmark`` target for benchmark tests. + +**To Enable:** + +Add ``flyteorg/golang_test_targets`` to your ``boilerplate/update.cfg`` file. + +Make sure you're using ``go mod`` for dependency management. + +Provide a ``.golangci`` configuration (the lint target requires it). + +Add ``include boilerplate/flyte/golang_test_targets/Makefile`` in your main ``Makefile`` _after_ your REPOSITORY environment variable + +:: + + REPOSITORY= + include boilerplate/flyte/golang_test_targets/Makefile + +(this ensures the extra make targets get included in your main Makefile) diff --git a/flyteartifacts/boilerplate/flyte/golang_test_targets/download_tooling.sh b/flyteartifacts/boilerplate/flyte/golang_test_targets/download_tooling.sh new file mode 100755 index 0000000000..9cd49959f4 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_test_targets/download_tooling.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +# Everything in this file needs to be installed outside of current module +# The reason we cannot turn off module entirely and install is that we need the replace statement in go.mod +# because we are installing a mockery fork. Turning it off would result installing the original not the fork. +# We also want to version all the other tools. We also want to be able to run go mod tidy without removing the version +# pins. To facilitate this, we're maintaining two sets of go.mod/sum files - the second one only for tooling. This is +# the same approach that go 1.14 will take as well. +# See: +# https://github.com/flyteorg/flyte/issues/129 +# https://github.com/golang/go/issues/30515 for some background context +# https://github.com/go-modules-by-example/index/blob/5ec250b4b78114a55001bd7c9cb88f6e07270ea5/010_tools/README.md + +set -e + +# List of tools to go get +# In the format of ":" or ":" if no cli +tools=( + "github.com/EngHabu/mockery/cmd/mockery" + "github.com/flyteorg/flytestdlib/cli/pflags@latest" + "github.com/golangci/golangci-lint/cmd/golangci-lint" + "github.com/daixiang0/gci" + "github.com/alvaroloes/enumer" + "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc" +) + +tmp_dir=$(mktemp -d -t gotooling-XXX) +echo "Using temp directory ${tmp_dir}" +cp -R boilerplate/flyte/golang_support_tools/* $tmp_dir +pushd "$tmp_dir" + +for tool in "${tools[@]}" +do + echo "Installing ${tool}" + GO111MODULE=on go install $tool +done + +popd diff --git a/flyteartifacts/boilerplate/flyte/golang_test_targets/go-gen.sh b/flyteartifacts/boilerplate/flyte/golang_test_targets/go-gen.sh new file mode 100755 index 0000000000..5ac17fa40a --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_test_targets/go-gen.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +set -ex + +echo "Running go generate" +go generate ./... + +# This section is used by GitHub workflow to ensure that the generation step was run +if [ -n "$DELTA_CHECK" ]; then + DIRTY=$(git status --porcelain) + if [ -n "$DIRTY" ]; then + echo "FAILED: Go code 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/flyteartifacts/boilerplate/flyte/golang_test_targets/goimports b/flyteartifacts/boilerplate/flyte/golang_test_targets/goimports new file mode 100755 index 0000000000..40f50d106e --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golang_test_targets/goimports @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +goimports -w $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./pkg/client/*" -not -path "./boilerplate/*") +gci write -s standard -s default -s "prefix(github.com/flyteorg)" --custom-order --skip-generated . diff --git a/flyteartifacts/boilerplate/flyte/golangci_file/.golangci.yml b/flyteartifacts/boilerplate/flyte/golangci_file/.golangci.yml new file mode 100644 index 0000000000..7f4dbc80e8 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golangci_file/.golangci.yml @@ -0,0 +1,40 @@ +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +run: + skip-dirs: + - pkg/client + +linters: + disable-all: true + enable: + - deadcode + - errcheck + - gas + - gci + - goconst + - goimports + - golint + - gosimple + - govet + - ineffassign + - misspell + - nakedret + - staticcheck + - structcheck + - typecheck + - unconvert + - unparam + - unused + - varcheck + +linters-settings: + gci: + custom-order: true + sections: + - standard + - default + - prefix(github.com/flyteorg) + skip-generated: true diff --git a/flyteartifacts/boilerplate/flyte/golangci_file/Readme.rst b/flyteartifacts/boilerplate/flyte/golangci_file/Readme.rst new file mode 100644 index 0000000000..e4cbd18b96 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golangci_file/Readme.rst @@ -0,0 +1,8 @@ +GolangCI File +~~~~~~~~~~~~~ + +Provides a ``.golangci`` file with the linters we've agreed upon. + +**To Enable:** + +Add ``flyteorg/golangci_file`` to your ``boilerplate/update.cfg`` file. diff --git a/flyteartifacts/boilerplate/flyte/golangci_file/update.sh b/flyteartifacts/boilerplate/flyte/golangci_file/update.sh new file mode 100755 index 0000000000..ab2f85c680 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/golangci_file/update.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +set -e + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" + +# Clone the .golangci file +echo " - copying ${DIR}/.golangci to the root directory." +cp ${DIR}/.golangci.yml ${DIR}/../../../.golangci.yml diff --git a/flyteartifacts/boilerplate/flyte/pull_request_template/Readme.rst b/flyteartifacts/boilerplate/flyte/pull_request_template/Readme.rst new file mode 100644 index 0000000000..ee54437252 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/pull_request_template/Readme.rst @@ -0,0 +1,8 @@ +Pull Request Template +~~~~~~~~~~~~~~~~~~~~~ + +Provides a Pull Request template. + +**To Enable:** + +Add ``flyteorg/golang_test_targets`` to your ``boilerplate/update.cfg`` file. diff --git a/flyteartifacts/boilerplate/flyte/pull_request_template/pull_request_template.md b/flyteartifacts/boilerplate/flyte/pull_request_template/pull_request_template.md new file mode 100644 index 0000000000..9cdab99b46 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/pull_request_template/pull_request_template.md @@ -0,0 +1,35 @@ +## _Read then delete this section_ + +_- Make sure to use a concise title for the pull-request._ + +_- Use #patch, #minor or #major in the pull-request title to bump the corresponding version. Otherwise, the patch version +will be bumped. [More details](https://github.com/marketplace/actions/github-tag-bump)_ + +# TL;DR +_Please replace this text with a description of what this PR accomplishes._ + +## Type + - [ ] Bug Fix + - [ ] Feature + - [ ] Plugin + +## Are all requirements met? + + - [ ] Code completed + - [ ] Smoke tested + - [ ] Unit tests added + - [ ] Code documentation added + - [ ] Any pending items have an associated Issue + +## Complete description + _How did you fix the bug, make the feature etc. Link to any design docs etc_ + +## Tracking Issue +_Remove the '*fixes*' keyword if there will be multiple PRs to fix the linked issue_ + +fixes https://github.com/flyteorg/flyte/issues/ + +## Follow-up issue +_NA_ +OR +_https://github.com/flyteorg/flyte/issues/_ diff --git a/flyteartifacts/boilerplate/flyte/pull_request_template/update.sh b/flyteartifacts/boilerplate/flyte/pull_request_template/update.sh new file mode 100755 index 0000000000..051e9dbce0 --- /dev/null +++ b/flyteartifacts/boilerplate/flyte/pull_request_template/update.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +set -e + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" + +cp ${DIR}/pull_request_template.md ${DIR}/../../../pull_request_template.md diff --git a/flyteartifacts/boilerplate/update.cfg b/flyteartifacts/boilerplate/update.cfg new file mode 100644 index 0000000000..4ed6a8b1e2 --- /dev/null +++ b/flyteartifacts/boilerplate/update.cfg @@ -0,0 +1,6 @@ +flyte/docker_build +flyte/golang_test_targets +flyte/golang_support_tools +flyte/pull_request_template +flyte/end2end +flyte/code_of_conduct diff --git a/flyteartifacts/boilerplate/update.sh b/flyteartifacts/boilerplate/update.sh new file mode 100755 index 0000000000..73de4dc91c --- /dev/null +++ b/flyteartifacts/boilerplate/update.sh @@ -0,0 +1,73 @@ +#!/usr/bin/env bash + +# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES. +# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY: +# +# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst + +set -e + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" + +OUT="$(mktemp -d)" +trap 'rm -fr $OUT' EXIT + +git clone https://github.com/flyteorg/boilerplate.git "${OUT}" + +echo "Updating the update.sh script." +cp "${OUT}/boilerplate/update.sh" "${DIR}/update.sh" + +CONFIG_FILE="${DIR}/update.cfg" +README="https://github.com/flyteorg/boilerplate/blob/master/Readme.rst" + +if [ ! -f "$CONFIG_FILE" ]; then + echo "$CONFIG_FILE not found." + echo "This file is required in order to select which features to include." + echo "See $README for more details." + exit 1 +fi + +if [ -z "$REPOSITORY" ]; then + echo "$REPOSITORY is required to run this script" + echo "See $README for more details." + exit 1 +fi + +while read -r directory junk; do + # Skip comment lines (which can have leading whitespace) + if [[ "$directory" == '#'* ]]; then + continue + fi + # Skip blank or whitespace-only lines + if [[ "$directory" == "" ]]; then + continue + fi + # Lines like + # valid/path other_junk + # are not acceptable, unless `other_junk` is a comment + if [[ "$junk" != "" ]] && [[ "$junk" != '#'* ]]; then + echo "Invalid config! Only one directory is allowed per line. Found '$junk'" + exit 1 + fi + + dir_path="${OUT}/boilerplate/${directory}" + # Make sure the directory exists + if ! [[ -d "$dir_path" ]]; then + echo "Invalid boilerplate directory: '$directory'" + exit 1 + fi + + echo "***********************************************************************************" + echo "$directory is configured in update.cfg." + echo "-----------------------------------------------------------------------------------" + echo "syncing files from source." + rm -rf "${DIR:?}/${directory}" + mkdir -p "$(dirname "${DIR}"/"${directory}")" + cp -r "$dir_path" "${DIR}/${directory}" + if [ -f "${DIR}/${directory}/update.sh" ]; then + echo "executing ${DIR}/${directory}/update.sh" + "${DIR}/${directory}/update.sh" + fi + echo "***********************************************************************************" + echo "" +done < "$CONFIG_FILE" diff --git a/flyteartifacts/cmd/main.go b/flyteartifacts/cmd/main.go index afbc88eef6..2d4f40c7f8 100644 --- a/flyteartifacts/cmd/main.go +++ b/flyteartifacts/cmd/main.go @@ -17,9 +17,8 @@ func main() { logger.Infof(ctx, "Beginning Flyte Artifacts Service") rootCmd := sharedCmd.NewRootCmd("artifacts", server.GrpcRegistrationHook, server.HttpRegistrationHook) migs := server.GetMigrations(ctx) - initializationSql := "create extension if not exists hstore;" dbConfig := server.GetDbConfig() - rootCmd.AddCommand(sharedCmd.NewMigrateCmd(migs, dbConfig, initializationSql)) + rootCmd.AddCommand(sharedCmd.NewMigrateCmd(migs, dbConfig)) err := rootCmd.ExecuteContext(ctx) if err != nil { panic(err) diff --git a/flyteartifacts/cmd/shared/migrate.go b/flyteartifacts/cmd/shared/migrate.go index 843f6e881f..d7fcb9dbcd 100644 --- a/flyteartifacts/cmd/shared/migrate.go +++ b/flyteartifacts/cmd/shared/migrate.go @@ -8,12 +8,12 @@ import ( ) // NewMigrateCmd represents the migrate command -func NewMigrateCmd(migs []*gormigrate.Migration, databaseConfig *database.DbConfig, initializationSql string) *cobra.Command { +func NewMigrateCmd(migs []*gormigrate.Migration, databaseConfig *database.DbConfig) *cobra.Command { return &cobra.Command{ Use: "migrate", Short: "This command will run all the migrations for the database", RunE: func(cmd *cobra.Command, args []string) error { - return database.Migrate(context.Background(), databaseConfig, migs, initializationSql) + return database.Migrate(context.Background(), databaseConfig, migs) }, } } diff --git a/flyteartifacts/cmd/shared/serve.go b/flyteartifacts/cmd/shared/serve.go index 9a3a3e8411..64cb3bfd22 100644 --- a/flyteartifacts/cmd/shared/serve.go +++ b/flyteartifacts/cmd/shared/serve.go @@ -164,8 +164,7 @@ func launchHttpServer(ctx context.Context, cfg *sharedCfg.ServerConfiguration, h // getHTTPHandler gets the http handler for the configured security options func getHTTPHandler(httpServer *http.ServeMux, _ sharedCfg.ServerSecurityOptions) http.Handler { // not really used yet (reserved for admin) - var handler http.Handler - handler = httpServer + var handler http.Handler = httpServer return handler } diff --git a/flyteartifacts/go.mod b/flyteartifacts/go.mod index cbc5473643..1cf0ffcc61 100644 --- a/flyteartifacts/go.mod +++ b/flyteartifacts/go.mod @@ -34,16 +34,11 @@ require ( cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v0.13.0 // indirect cloud.google.com/go/storage v1.28.1 // indirect - github.com/Azure/azure-sdk-for-go v63.4.0+incompatible // 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 github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.1.0 // indirect - github.com/Azure/go-autorest v14.2.0+incompatible // indirect - github.com/Azure/go-autorest/autorest v0.11.27 // indirect - github.com/Azure/go-autorest/autorest/adal v0.9.18 // indirect - github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect - github.com/Azure/go-autorest/logger v0.2.1 // indirect - github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0 // indirect github.com/aws/aws-sdk-go v1.44.2 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bradfitz/gomemcache v0.0.0-20180710155616-bc664df96737 // indirect @@ -51,15 +46,23 @@ require ( github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/coocood/freecache v1.1.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect + github.com/emicklei/go-restful/v3 v3.9.0 // indirect + github.com/evanphx/json-patch/v5 v5.6.0 // indirect github.com/fatih/color v1.13.0 // indirect github.com/flyteorg/stow v0.3.8 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect github.com/ghodss/yaml v1.0.0 // indirect github.com/go-logr/logr v1.2.4 // indirect - github.com/gofrs/uuid v4.2.0+incompatible // indirect - github.com/golang-jwt/jwt/v4 v4.5.0 // indirect + github.com/go-logr/stdr v1.2.2 // indirect + github.com/go-openapi/jsonpointer v0.19.6 // indirect + github.com/go-openapi/jsonreference v0.20.2 // indirect + github.com/go-openapi/swag v0.22.3 // 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/google/gnostic-models v0.6.8 // indirect github.com/google/go-cmp v0.5.9 // indirect + github.com/google/gofuzz v1.2.0 // 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.7.1 // indirect @@ -74,9 +77,12 @@ require ( github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect + github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/kelseyhightower/envconfig v1.4.0 // indirect + github.com/kylelemons/godebug v1.1.0 // indirect github.com/magiconair/properties v1.8.6 // indirect + github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.12 // indirect github.com/mattn/go-isatty v0.0.14 // indirect github.com/mattn/go-sqlite3 v2.0.3+incompatible // indirect @@ -84,6 +90,7 @@ require ( github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/ncw/swift v1.0.53 // indirect github.com/pelletier/go-toml v1.9.4 // indirect github.com/pelletier/go-toml/v2 v2.0.0-beta.8 // indirect @@ -100,24 +107,41 @@ require ( github.com/stretchr/objx v0.5.0 // indirect github.com/subosito/gotenv v1.2.0 // indirect go.opencensus.io v0.24.0 // indirect + go.opentelemetry.io/otel v1.19.0 // indirect + go.opentelemetry.io/otel/exporters/jaeger v1.17.0 // indirect + go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.19.0 // indirect + 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.13.0 // indirect + golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect golang.org/x/net v0.15.0 // indirect golang.org/x/oauth2 v0.8.0 // indirect golang.org/x/sys v0.12.0 // indirect + golang.org/x/term v0.12.0 // indirect golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.3.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.114.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect + gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/ini.v1 v1.66.4 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gorm.io/driver/sqlite v1.5.4 // indirect + k8s.io/api v0.28.2 // indirect k8s.io/apimachinery v0.28.2 // indirect k8s.io/client-go v0.28.1 // indirect k8s.io/klog/v2 v2.100.1 // indirect + k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect + sigs.k8s.io/controller-runtime v0.16.2 // indirect + sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect + sigs.k8s.io/yaml v1.3.0 // indirect ) replace ( diff --git a/flyteartifacts/go.sum b/flyteartifacts/go.sum index 459f759252..5e701218ff 100644 --- a/flyteartifacts/go.sum +++ b/flyteartifacts/go.sum @@ -18,9 +18,6 @@ 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.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= -cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= -cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= cloud.google.com/go v0.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= @@ -39,6 +36,7 @@ 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/logging v1.0.0/go.mod h1:V1cc3ogwobYzQq5f2R7DS/GvRIrI4FKj01Gs5glwAls= 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= @@ -53,37 +51,18 @@ cloud.google.com/go/storage v1.28.1 h1:F5QDG5ChchaAVQhINh24U99OWHURqrW8OmQcGKXcb cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= 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 v63.4.0+incompatible h1:fle3M5Q7vr8auaiPffKyUQmLbvYeqpw30bKU6PrWJFo= -github.com/Azure/azure-sdk-for-go v63.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.1 h1:3CVsSo4mp8NDWO11tHzN/mdo2zP0CtaSK5IcwBjfqRA= -github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.1/go.mod h1:w5pDIZuawUmY3Bj4tVx3Xb8KS96ToB0j315w9rqpAg0= +github.com/Azure/azure-sdk-for-go/sdk/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 v0.14.0 h1:NVS/4LOQfkBpk+B1VopIzv1ptmYeEskA8w/3K/w7vjo= -github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.2 h1:Px2KVERcYEg2Lv25AqC2hVr0xUWaq94wuEObLIkYzmA= -github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.2/go.mod h1:CdSJQNNzZhCkwDaV27XV1w48ZBPtxe7mlrZAsPNxD5g= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.1 h1:LNHhpdK7hzUcx/k1LIcuh5k7k1LGIWLQfCjaneSj7Fc= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.1/go.mod h1:uE9zaUfEQT/nbQjVi2IblCG9iaLtZsuYZ8ne+PuQ02M= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 h1:sXr+ck84g/ZlZUOZiNELInmMgOsuGwdjjVkEIde0OtY= github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0/go.mod h1:okt5dMMTOFjX/aovMlrjvvXoPMBVSPzk9185BT0+eZM= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.0 h1:0nJeKDmB7a1a8RDMjTltahlPsaNlWjq/LpkZleSwINk= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.0/go.mod h1:mbwxKc/fW+IkF0GG591MuXw0KuEQBDkeRoZ9vmVJPxg= +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.2.0 h1:Ma67P/GGprNwsslzEH6+Kb8nybI8jpDTm4Wmzu2ReK8= +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.2.0/go.mod h1:c+Lifp3EDEamAkPVzMooRNOK6CZjNSdEnf1A7jsI9u4= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.1.0 h1:nVocQV40OQne5613EeLayJiRAJuKlBGy+m22qWG+WRg= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.1.0/go.mod h1:7QJP7dr2wznCMeqIrhMgWGf7XpAQnVrJqDm9nvV3Cu4= -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= -github.com/Azure/go-autorest/autorest v0.11.27 h1:F3R3q42aWytozkV8ihzcgMO4OA4cuqr3bNlsEuF6//A= -github.com/Azure/go-autorest/autorest v0.11.27/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= -github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= -github.com/Azure/go-autorest/autorest/adal v0.9.18 h1:kLnPsRjzZZUF3K5REu/Kc+qMQrvuza2bwSnNdhmzLfQ= -github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= -github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/mocks v0.4.2 h1:PGN4EDXnuQbojHbU0UWoNvmu9AGVwYHG9/fkDYhtAfw= -github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= -github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= -github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= -github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= -github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= +github.com/AzureAD/microsoft-authentication-library-for-go 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/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= @@ -92,22 +71,14 @@ github.com/DataDog/datadog-go v3.4.1+incompatible/go.mod h1:LButxg5PwREeZtORoXG3 github.com/DataDog/opencensus-go-exporter-datadog v0.0.0-20191210083620-6965a1cfed68/go.mod h1:gMGUEe16aZh0QN941HgDjwrdjU4iTthPoz2/AtDRADE= github.com/NYTimes/gizmo v1.3.6 h1:K+GRagPdAxojsT1TlTQlMkTeOmgfLxSdvuOhdki7GG0= github.com/NYTimes/gizmo v1.3.6/go.mod h1:8S8QVnITA40p/1jGsUMcPI8R9SSKkoKu+8WF13s9Uhw= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/logrotate v1.0.0/go.mod h1:GxNz1cSw1c6t99PXoZlw+nm90H6cyQyrH66pjVv7x88= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/Shopify/sarama v1.26.4/go.mod h1:NbSGBSSndYaIhRcBtY9V0U7AyH+x71bG668AuWys/yU= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.31.3/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= github.com/aws/aws-sdk-go v1.44.2 h1:5VBk5r06bgxgRKVaUtm1/4NT/rtrnH2E4cnAYv5zgQc= @@ -122,11 +93,10 @@ github.com/bradfitz/gomemcache v0.0.0-20180710155616-bc664df96737/go.mod h1:PmM6 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.1.2/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= @@ -143,44 +113,35 @@ github.com/coocood/freecache v1.1.1 h1:uukNF7QKCZEdZ9gAV7WQzvh0SbjwdMF6m3x3rxEka github.com/coocood/freecache v1.1.1/go.mod h1:OKrEjkGVoxZhyWAJoeFi5BMLUJm2Tit0kpGkIr7NGYY= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dnaeon/go-vcr v1.1.0 h1:ReYa/UBrRyQdant9B4fNHGoCNKw6qh6P0fsdGmZpR7c= -github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= +github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/eapache/go-resiliency v1.2.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= -github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emicklei/go-restful/v3 v3.9.0 h1:XwGDlfxEnQZzuopoqxwSEllNcCOM9DhhFyhFIIGKwxE= +github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +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= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/flyteorg/stow v0.3.7 h1:Cx7j8/Ux6+toD5hp5fy++927V+yAcAttDeQAlUD/864= -github.com/flyteorg/stow v0.3.7/go.mod h1:5dfBitPM004dwaZdoVylVjxFT4GWAgI0ghAndhNUzCo= +github.com/flyteorg/stow v0.3.8 h1:4a6BtfgDR86fUwa48DkkZTcp6WK4oQXSfewPd/kN0Z4= github.com/flyteorg/stow v0.3.8/go.mod h1:fArjMpsYJNWkp/hyDKKdbcv07gxbuLmKFcb7YT1aSOM= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/frankban/quicktest v1.7.2/go.mod h1:jaStnuzAqU1AJdCO0l53JDCJrVDKcS03DbaAcR7Ks/o= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= -github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= +github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= -github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= 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= @@ -194,31 +155,30 @@ github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vb 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 v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= -github.com/go-logr/logr v1.2.3/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= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/go-logr/zapr v1.2.4 h1:QHVo+6stLbfJmYGkQ7uGHUCu5hnAFAj6mDe6Ea0SeOo= +github.com/go-logr/zapr v1.2.4/go.mod h1:FyHWQIzQORZ0QVE1BtVHv3cKtNLuXsbNLtpuhNapBOA= +github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= +github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= +github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= +github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= +github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= +github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -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/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/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= -github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang-jwt/jwt/v4 v4.4.1 h1:pC5DB52sCeK48Wlb9oPcdhnjkz1TKt1D/P7WKJ0kUcQ= -github.com/golang-jwt/jwt/v4 v4.4.1/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= -github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +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/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= @@ -232,7 +192,6 @@ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= github.com/golang/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= @@ -248,15 +207,13 @@ 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.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= -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/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= -github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= +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= @@ -271,12 +228,14 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ 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.1.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.1.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= @@ -287,12 +246,11 @@ github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-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.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/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= @@ -304,9 +262,6 @@ github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8 github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/handlers v1.4.2/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/go-grpc-middleware v1.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= @@ -319,12 +274,11 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 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/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/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= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= @@ -368,7 +322,9 @@ github.com/jackc/pgx/v5 v5.4.3/go.mod h1:Ig06C2Vu0t5qXC60W8sqIthScaEnFvojjj9dSlj github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jinzhu/copier v0.3.5 h1:GlvfUwHk62RokgqVNvYsku0TATCF7bAHVwEXoBh3iJg= +github.com/jinzhu/copier v0.3.5/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= @@ -379,17 +335,14 @@ github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9Y github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= +github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.12 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/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dvMUtDTo2cv8= github.com/kelseyhightower/envconfig v1.4.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= @@ -403,21 +356,23 @@ github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= +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= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= @@ -430,48 +385,34 @@ github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27k github.com/mattn/go-sqlite3 v2.0.3+incompatible h1:gXHsfypPkaMZrKbD5209QV9jbUTJKjyR5WD3HYQSd+U= github.com/mattn/go-sqlite3 v2.0.3+incompatible/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= -github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/ncw/swift v1.0.53 h1:luHjjTNtekIEvHg5KdAFIBaH7bWfNkefwFnpDffSIks= github.com/ncw/swift v1.0.53/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d/go.mod h1:YUTz3bUH2ZwIWBy3CJBeOBEugqcmXREj14T+iG/4k4U= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/onsi/ginkgo/v2 v2.11.0 h1:WgqUCUt/lT6yXoQ8Wef0fsNn5cAuMK7+KT9UFRz2tcU= +github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM= +github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/pelletier/go-toml v1.9.4 h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM= github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml/v2 v2.0.0-beta.8 h1:dy81yyLYJDwMTifq24Oi/IslOslRrDSb3jwDggjz3Z0= github.com/pelletier/go-toml/v2 v2.0.0-beta.8/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= -github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= github.com/pierrec/lz4 v2.4.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -482,35 +423,25 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb 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.4/go.mod h1:oCXIBxdI62A4cR6aTRJCgetEjecSIYzOEaeAn4iYEpM= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk= -github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +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.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4= -github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/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.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= -github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/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/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= 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/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= @@ -525,13 +456,11 @@ github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw= github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q= -github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= @@ -539,7 +468,6 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.11.0 h1:7OX/1FS6n7jHD1zGrZTM7WtY13ZELRyosK4k93oPr44= github.com/spf13/viper v1.11.0/go.mod h1:djo0X/bA5+tYVoCn+C7cAYJGcVn/qYLFTG8gdUsX7Zk= -github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= @@ -550,7 +478,6 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf 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.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= 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= @@ -566,7 +493,6 @@ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= @@ -576,21 +502,33 @@ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= 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= +go.opentelemetry.io/otel v1.19.0/go.mod h1:i0QyjOq3UPoTzff0PJB2N66fb4S0+rSbSB15/oyH9fY= +go.opentelemetry.io/otel/exporters/jaeger v1.17.0 h1:D7UpUy2Xc2wsi1Ras6V40q806WM07rqoCWzXu7Sqy+4= +go.opentelemetry.io/otel/exporters/jaeger v1.17.0/go.mod h1:nPCqOnEH9rNLKqH/+rrUjiMzHJdV1BlpKcTwRTyKkKI= +go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.19.0 h1:Nw7Dv4lwvGrI68+wULbcq7su9K2cebeCUrDjVrUJHxM= +go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.19.0/go.mod h1:1MsF6Y7gTqosgoZvHlzcaaM8DIMNZgJh87ykokoNH7Y= +go.opentelemetry.io/otel/metric v1.19.0 h1:aTzpGtV0ar9wlV4Sna9sdJyII5jTVJEvKETPiOKwvpE= +go.opentelemetry.io/otel/metric v1.19.0/go.mod h1:L5rUsV9kM1IxCj1MmSdS+JQAcVm319EUrDVLrt7jqt8= +go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJi3o= +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.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.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= 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/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= 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 h1:CSUJ2mjFszzEWt4CdKISEuChVIXGBn3lAPwkRGyVrc4= 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-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= @@ -600,15 +538,12 @@ golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200204104054-c9f3fb736b72/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= 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-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= @@ -622,6 +557,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 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= @@ -645,11 +582,9 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -658,12 +593,10 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn 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-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -675,23 +608,16 @@ golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/ 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-20200520004742-59133d7f0dd7/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-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= @@ -706,12 +632,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-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.7.0 h1:qe6s0zUXlPX80/dITx3440hWZ7GwMwgDDyrSGTPJG/g= -golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= +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= @@ -723,11 +644,9 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ 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/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -741,14 +660,10 @@ golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7w 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-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/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-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -761,10 +676,7 @@ golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7w 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-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -772,25 +684,14 @@ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-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-20210603081109-ebe580a85c40/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-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -801,13 +702,14 @@ golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXR 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.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.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= @@ -816,7 +718,6 @@ 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.0.0-20220210224613-90d013bbcef8/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= @@ -858,7 +759,6 @@ golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjs 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-20200505023115-26f46d2f7ef8/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= @@ -874,8 +774,9 @@ golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM= +golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -884,6 +785,8 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= 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= @@ -905,8 +808,6 @@ 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.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= -google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= google.golang.org/api v0.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= @@ -952,21 +853,18 @@ google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6D 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-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +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= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +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= @@ -985,8 +883,6 @@ 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.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= 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= @@ -1001,7 +897,6 @@ 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/DataDog/dd-trace-go.v1 v1.22.0/go.mod h1:DVp8HmDh8PuTu2Z0fVVlBsyWaC++fzwVCaGWylTe3tg= @@ -1009,11 +904,11 @@ gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLks gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/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/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= +gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4= gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= @@ -1022,18 +917,13 @@ gopkg.in/jcmturner/dnsutils.v1 v1.0.1/go.mod h1:m3v+5svpVOhtFAP/wSz+yzh4Mc0Fg7eR gopkg.in/jcmturner/goidentity.v3 v3.0.0/go.mod h1:oG2kH0IvSYNIu80dVAyu/yoefjq1mNfM5bm88whjWx4= gopkg.in/jcmturner/gokrb5.v7 v7.5.0/go.mod h1:l8VISx+WGYp+Fp7KRbsiUuXTTOnxIc3Tuvyavf11/WM= gopkg.in/jcmturner/rpc.v1 v1.1.0/go.mod h1:YIdkC4XfD6GXbzje11McwsDuOlZQSb9W4vfLvuNnlv8= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= 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.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= 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-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.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= @@ -1050,31 +940,30 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh 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.24.1/go.mod h1:JhoOvNiLXKTPQ60zh2g0ewpA+bnEYf5q44Flhquh4vQ= -k8s.io/apimachinery v0.24.1 h1:ShD4aDxTQKN5zNf8K1RQ2u98ELLdIW7jEnlO9uAMX/I= -k8s.io/apimachinery v0.24.1/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= +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= +k8s.io/apiextensions-apiserver v0.28.0/go.mod h1:uRdYiwIuu0SyqJKriKmqEN2jThIJPhVmOWETm8ud1VE= +k8s.io/apimachinery v0.28.2 h1:KCOJLrc6gu+wV1BYgwik4AF4vXOlVJPdiqn0yAWWwXQ= k8s.io/apimachinery v0.28.2/go.mod h1:RdzF87y/ngqk9H4z3EL2Rppv5jj95vGS/HaFXrLDApU= -k8s.io/client-go v0.24.1 h1:w1hNdI9PFrzu3OlovVeTnf4oHDt+FJLd9Ndluvnb42E= -k8s.io/client-go v0.24.1/go.mod h1:f1kIDqcEYmwXS/vTbbhopMUbhKp2JhOeVTfxgaCIlF8= +k8s.io/client-go v0.28.1 h1:pRhMzB8HyLfVwpngWKE8hDcXRqifh1ga2Z/PU9SXVK8= k8s.io/client-go v0.28.1/go.mod h1:pEZA3FqOsVkCc07pFVzK076R+P/eXqsgx5zuuRWukNE= -k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/klog/v2 v2.90.1 h1:m4bYOKall2MmOiRaR1J+We67Do7vm9KiQVlT96lnHUw= -k8s.io/klog/v2 v2.90.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/component-base v0.28.1 h1:LA4AujMlK2mr0tZbQDZkjWbdhTV5bRyEyAFe0TJxlWg= +k8s.io/component-base v0.28.1/go.mod h1:jI11OyhbX21Qtbav7JkhehyBsIRfnO8oEgoAR12ArIU= +k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg= k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= -k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20230209194617-a36077c30491 h1:r0BAOLElQnnFhE/ApUsg3iHdVYYPBjNSSOMowRZxxsY= -k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5OhxCKlKJy0sHc+PcDwFB24dQ= +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/json v0.0.0-20211208200746-9f7c6b3444d2 h1:kDi4JBNAsJWfz1aEXhO8Jg87JJaPNLh5tIzYHgStQ9Y= -sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= -sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= +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= +sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= +sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= +sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= +sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= +sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/flyteartifacts/pkg/configuration/shared/config.go b/flyteartifacts/pkg/configuration/shared/config.go index 35c9d4ecfb..d4605ea557 100644 --- a/flyteartifacts/pkg/configuration/shared/config.go +++ b/flyteartifacts/pkg/configuration/shared/config.go @@ -5,8 +5,6 @@ import ( "github.com/flyteorg/flyte/flytestdlib/config" ) -const sharedServer = "sharedServer" - type Metrics struct { MetricsScope string `json:"metricsScope" pflag:",MetricsScope"` Port config.Port `json:"port" pflag:",Profile port to start listen for pprof and metric handlers on."` @@ -36,23 +34,6 @@ type ServerConfiguration struct { MaxConcurrentStreams int `json:"maxConcurrentStreams" pflag:",Limit on the number of concurrent streams to each ServerTransport."` } -var sharedServerConfiguration = ServerConfiguration{ - Metrics: Metrics{ - MetricsScope: "service:", - Port: config.Port{Port: 10254}, - ProfilerEnabled: false, - }, - Port: config.Port{Port: 8089}, - HttpPort: config.Port{Port: 8088}, - GrpcMaxResponseStatusBytes: 320000, - GrpcServerReflection: false, - Security: ServerSecurityOptions{ - Secure: false, - UseAuth: false, - }, - MaxConcurrentStreams: 100, -} - func (s ServerConfiguration) GetGrpcHostAddress() string { return fmt.Sprintf("0.0.0.0:%s", s.Port.String()) } diff --git a/flyteartifacts/pkg/db/gorm_transformers.go b/flyteartifacts/pkg/db/gorm_transformers.go index 9569896f78..bc77eebbb0 100644 --- a/flyteartifacts/pkg/db/gorm_transformers.go +++ b/flyteartifacts/pkg/db/gorm_transformers.go @@ -32,7 +32,7 @@ func PartitionsIdlToHstore(idlPartitions *core.Partitions) pgtype.Hstore { } func HstoreToIdlPartitions(hs pgtype.Hstore) *core.Partitions { - if hs == nil || len(hs) == 0 { + if len(hs) == 0 { return nil } m := make(map[string]*core.LabelValue, len(hs)) diff --git a/flyteartifacts/pkg/db/migrations.go b/flyteartifacts/pkg/db/migrations.go index 719d17a8d9..e3141cb175 100644 --- a/flyteartifacts/pkg/db/migrations.go +++ b/flyteartifacts/pkg/db/migrations.go @@ -7,6 +7,13 @@ import ( ) var Migrations = []*gormigrate.Migration{ + { + ID: "2023-10-12-hstore", + Migrate: func(tx *gorm.DB) error { + tx.Exec("CREATE EXTENSION IF NOT EXISTS hstore") + return nil + }, + }, { ID: "2023-10-12-inits", Migrate: func(tx *gorm.DB) error { diff --git a/flyteartifacts/pkg/db/querying_test.go b/flyteartifacts/pkg/db/querying_test.go index fd9ff014e4..9b0f9bce55 100644 --- a/flyteartifacts/pkg/db/querying_test.go +++ b/flyteartifacts/pkg/db/querying_test.go @@ -138,8 +138,8 @@ func TestQuery3_Find(t *testing.T) { res, ct, err := rds.SearchArtifacts(ctx, s) assert.NoError(t, err) - - fmt.Println(res, ct) + assert.Equal(t, "", ct) + assert.Equal(t, nil, res) s = artifact.SearchArtifactsRequest{ ArtifactKey: &core.ArtifactKey{ @@ -153,8 +153,9 @@ func TestQuery3_Find(t *testing.T) { }, } - res, ct, err = rds.SearchArtifacts(ctx, s) + _, ct, err = rds.SearchArtifacts(ctx, s) assert.NoError(t, err) + assert.Equal(t, "", ct) s = artifact.SearchArtifactsRequest{ ArtifactKey: &core.ArtifactKey{ diff --git a/flyteartifacts/pkg/db/storage.go b/flyteartifacts/pkg/db/storage.go index 177e9741cb..184c319a11 100644 --- a/flyteartifacts/pkg/db/storage.go +++ b/flyteartifacts/pkg/db/storage.go @@ -327,7 +327,7 @@ func (r *RDSStorage) GetTriggersByArtifactKey(ctx context.Context, key core.Arti return nil, err } logger.Debugf(ctx, "Found trigger keys: %+v for artifact key %v", triggerKey, key) - if triggerKey == nil || len(triggerKey) == 0 { + if len(triggerKey) == 0 { logger.Infof(ctx, "No triggers found for artifact key %v", key) return nil, nil } @@ -549,6 +549,8 @@ func NewStorage(ctx context.Context, scope promutils.Scope) *RDSStorage { dbCfg := configuration.ApplicationConfig.GetConfig().(*configuration.ApplicationConfiguration).ArtifactDatabaseConfig logConfig := logger.GetConfig() + logger.Debugf(ctx, "Artifact database config: %v", dbCfg) + db, err := database.GetDB(ctx, &dbCfg, logConfig) if err != nil { logger.Fatal(ctx, err) diff --git a/flyteartifacts/pkg/lib/url_parse_test.go b/flyteartifacts/pkg/lib/url_parse_test.go index 3739b4c2a6..6d8b2c8d13 100644 --- a/flyteartifacts/pkg/lib/url_parse_test.go +++ b/flyteartifacts/pkg/lib/url_parse_test.go @@ -52,7 +52,8 @@ func TestURLParseNameWithSlashes(t *testing.T) { assert.Equal(t, "name/with/slashes", artifactID.ArtifactKey.Name) assert.Equal(t, "", tag) - artifactID, tag, err = ParseFlyteURL("flyte://av0.1/project/domain/name/with/slashes?ds=2020-01-01") + artifactID, _, err = ParseFlyteURL("flyte://av0.1/project/domain/name/with/slashes?ds=2020-01-01") + assert.NoError(t, err) assert.Equal(t, "name/with/slashes", artifactID.ArtifactKey.Name) assert.Equal(t, "project", artifactID.ArtifactKey.Project) assert.Equal(t, "domain", artifactID.ArtifactKey.Domain) diff --git a/flyteartifacts/pkg/models/transformers.go b/flyteartifacts/pkg/models/transformers.go index 64cd433cb5..f10d62694a 100644 --- a/flyteartifacts/pkg/models/transformers.go +++ b/flyteartifacts/pkg/models/transformers.go @@ -69,7 +69,7 @@ func CreateArtifactModelFromRequest(ctx context.Context, key *core.ArtifactKey, } func PartitionsToIdl(partitions map[string]string) *core.Partitions { - if partitions == nil || len(partitions) == 0 { + if len(partitions) == 0 { return nil } diff --git a/flyteartifacts/pkg/server/processor/channel_processor.go b/flyteartifacts/pkg/server/processor/channel_processor.go index 741c5801f9..905d3d317c 100644 --- a/flyteartifacts/pkg/server/processor/channel_processor.go +++ b/flyteartifacts/pkg/server/processor/channel_processor.go @@ -15,13 +15,12 @@ import ( type SandboxCloudEventsReceiver struct { subChan <-chan sandboxutils.SandboxMessage - Handler EventsHandlerInterface } -func (p *SandboxCloudEventsReceiver) StartProcessing(ctx context.Context) { +func (p *SandboxCloudEventsReceiver) StartProcessing(ctx context.Context, handler EventsHandlerInterface) { for { logger.Warningf(context.Background(), "Starting SandBox notifications processor") - err := p.run(ctx) + err := p.run(ctx, handler) if err != nil { logger.Errorf(context.Background(), "error with running processor err: [%v], sleeping and restarting", err) time.Sleep(1000 * 1000 * 1000 * 1) @@ -33,7 +32,7 @@ func (p *SandboxCloudEventsReceiver) StartProcessing(ctx context.Context) { logger.Warning(context.Background(), "Sandbox cloud event processor has stopped because context cancelled") } -func (p *SandboxCloudEventsReceiver) handleMessage(ctx context.Context, sandboxMsg sandboxutils.SandboxMessage) error { +func (p *SandboxCloudEventsReceiver) handleMessage(ctx context.Context, sandboxMsg sandboxutils.SandboxMessage, handler EventsHandlerInterface) error { ce := &event.Event{} err := pbcloudevents.Protobuf.Unmarshal(sandboxMsg.Raw, ce) if err != nil { @@ -72,7 +71,7 @@ func (p *SandboxCloudEventsReceiver) handleMessage(ctx context.Context, sandboxM return err } - err = p.Handler.HandleEvent(ctx, ce, flyteEvent) + err = handler.HandleEvent(ctx, ce, flyteEvent) if err != nil { logger.Errorf(context.Background(), "error handling event on topic [%s] [%v]", sandboxMsg.Topic, err) return err @@ -80,7 +79,7 @@ func (p *SandboxCloudEventsReceiver) handleMessage(ctx context.Context, sandboxM return nil } -func (p *SandboxCloudEventsReceiver) run(ctx context.Context) error { +func (p *SandboxCloudEventsReceiver) run(ctx context.Context, handler EventsHandlerInterface) error { for { select { case <-ctx.Done(): @@ -91,7 +90,7 @@ func (p *SandboxCloudEventsReceiver) run(ctx context.Context) error { // metric logger.Debugf(ctx, "received message [%v]", sandboxMsg) if sandboxMsg.Raw != nil { - err := p.handleMessage(ctx, sandboxMsg) + err := p.handleMessage(ctx, sandboxMsg, handler) if err != nil { // Assuming that handle message will return a fair number of errors // add metric @@ -109,9 +108,8 @@ func (p *SandboxCloudEventsReceiver) StopProcessing() error { return nil } -func NewSandboxCloudEventProcessor(eventsHandler EventsHandlerInterface) *SandboxCloudEventsReceiver { +func NewSandboxCloudEventProcessor() *SandboxCloudEventsReceiver { return &SandboxCloudEventsReceiver{ - Handler: eventsHandler, subChan: sandboxutils.MsgChan, } } diff --git a/flyteartifacts/pkg/server/processor/events_handler.go b/flyteartifacts/pkg/server/processor/events_handler.go index dd47658f7c..faf70dfd06 100644 --- a/flyteartifacts/pkg/server/processor/events_handler.go +++ b/flyteartifacts/pkg/server/processor/events_handler.go @@ -5,6 +5,9 @@ import ( "fmt" event2 "github.com/cloudevents/sdk-go/v2/event" "github.com/flyteorg/flyte/flyteartifacts/pkg/lib" + "github.com/flyteorg/flyte/flyteidl/clients/go/admin" + adminPb "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" @@ -14,8 +17,9 @@ import ( // ServiceCallHandler will take events and call the grpc endpoints directly. The service should most likely be local. type ServiceCallHandler struct { - service artifact.ArtifactRegistryServer - created chan<- artifact.Artifact + service artifact.ArtifactRegistryServer + created chan<- artifact.Artifact + adminClients admin.Clientset } func (s *ServiceCallHandler) HandleEvent(ctx context.Context, cloudEvent *event2.Event, msg proto.Message) error { @@ -65,16 +69,37 @@ func (s *ServiceCallHandler) HandleEventWorkflowExec(ctx context.Context, source return nil } + // TODO: add check for evt.OutputInterface.Outputs.Variables if its empty, then we early exit + execID := evt.RawEvent.ExecutionId - if evt.GetOutputData().GetLiterals() == nil || len(evt.OutputData.Literals) == 0 { - logger.Debugf(ctx, "No output data to process for workflow event from [%v]", execID) + req := adminPb.WorkflowExecutionGetDataRequest{ + Id: execID, + } + + client := s.adminClients.AdminClient() + executionData, err := client.GetExecutionData(ctx, &req) // use this to get input/output data + if err != nil { + logger.Errorf(ctx, "Failed to get node executionData data for [%v] with error: %v", execID, err) + return err + } + + if executionData.Inputs != nil { + logger.Debugf(ctx, "DEBUGART WE: Deprecated inputs was set to: %v", executionData.Inputs) + } else if executionData.Outputs != nil { + logger.Debugf(ctx, "DEBUGART WE: Deprecated outputs was set to: %v", executionData.Outputs) + } + + if executionData.FullInputs == nil { + logger.Debugf(ctx, "FullInputs is nil for %s", execID) + } else if executionData.FullOutputs == nil { + logger.Debugf(ctx, "FullOutputs is nil for %s", execID) } for varName, variable := range evt.OutputInterface.Outputs.Variables { if variable.GetArtifactPartialId() != nil { logger.Debugf(ctx, "Processing workflow output for %s, artifact name %s, from %v", varName, variable.GetArtifactPartialId().ArtifactKey.Name, execID) - output := evt.OutputData.Literals[varName] + output := executionData.FullOutputs.GetLiterals()[varName] // Add a tracking tag to the Literal before saving. version := fmt.Sprintf("%s/%s", source, varName) @@ -99,7 +124,7 @@ func (s *ServiceCallHandler) HandleEventWorkflowExec(ctx context.Context, source ctx, *variable.GetArtifactPartialId(), variable, - evt.InputData, + executionData.FullInputs, ) if err != nil { logger.Errorf(ctx, "failed processing [%s] variable [%v] with error: %v", varName, variable, err) @@ -214,17 +239,27 @@ func (s *ServiceCallHandler) HandleEventNodeExec(ctx context.Context, source str // metric execID := evt.RawEvent.Id.ExecutionId - if evt.GetOutputData().GetLiterals() == nil || len(evt.OutputData.Literals) == 0 { - logger.Debugf(ctx, "No output data to process for task event from [%s] node %s", execID, evt.RawEvent.Id.NodeId) + + req := adminPb.NodeExecutionGetDataRequest{ + Id: &core.NodeExecutionIdentifier{NodeId: evt.RawEvent.Id.NodeId, ExecutionId: execID}, + } + client := s.adminClients.AdminClient() + + executionData, err := client.GetNodeExecutionData(ctx, &req) + if err != nil { + logger.Errorf(ctx, "Failed to get node execution data for [%v] with error: %v", execID, err) + return err } if evt.OutputInterface == nil { - if evt.GetOutputData() != nil { + if executionData.FullOutputs != nil && len(executionData.FullOutputs.GetLiterals()) > 0 { // metric this as error logger.Errorf(ctx, "No output interface to process for task event from [%s] node %s, but output data is not nil", execID, evt.RawEvent.Id.NodeId) } logger.Debugf(ctx, "No output interface to process for task event from [%s] node %s", execID, evt.RawEvent.Id.NodeId) return nil + } else if len(executionData.GetFullOutputs().GetLiterals()) > 0 && len(evt.GetOutputInterface().GetOutputs().GetVariables()) == 0 { + return fmt.Errorf("output interface is empty but output data is not nil for task event from [%s] node %s", execID, evt.RawEvent.Id.NodeId) } if evt.RawEvent.GetTaskNodeMetadata() != nil { @@ -236,18 +271,19 @@ func (s *ServiceCallHandler) HandleEventNodeExec(ctx context.Context, source str var taskExecID *core.TaskExecutionIdentifier if taskExecID = evt.GetTaskExecId(); taskExecID == nil { logger.Debugf(ctx, "No task execution id to process for task event from [%s] node %s", execID, evt.RawEvent.Id.NodeId) + return nil } - // See note on the cloudevent_publisher side, we'll have to call one of the get data endpoints to get the actual data - // rather than reading them here. But read here for now. - // Iterate through the output interface. For any outputs that have an artifact ID specified, grab the // output Literal and construct a Create request and call the service. for varName, variable := range evt.OutputInterface.Outputs.Variables { if variable.GetArtifactPartialId() != nil { logger.Debugf(ctx, "Processing output for %s, artifact name %s, from %v", varName, variable.GetArtifactPartialId().ArtifactKey.Name, execID) - output := evt.OutputData.Literals[varName] + output, ok := executionData.FullOutputs.GetLiterals()[varName] + if !ok { + return fmt.Errorf("output [%s] not found in output data", varName) + } // Add a tracking tag to the Literal before saving. version := fmt.Sprintf("%s/%d/%s", source, taskExecID.RetryAttempt, varName) @@ -263,10 +299,8 @@ func (s *ServiceCallHandler) HandleEventNodeExec(ctx context.Context, source str Principal: evt.Principal, } - if taskExecID != nil { - aSrc.RetryAttempt = taskExecID.RetryAttempt - aSrc.TaskId = taskExecID.TaskId - } + aSrc.RetryAttempt = taskExecID.RetryAttempt + aSrc.TaskId = taskExecID.TaskId spec := artifact.ArtifactSpec{ Value: output, @@ -277,7 +311,7 @@ func (s *ServiceCallHandler) HandleEventNodeExec(ctx context.Context, source str ctx, *variable.GetArtifactPartialId(), variable, - evt.InputData, + executionData.FullInputs, ) if err != nil { logger.Errorf(ctx, "failed processing [%s] variable [%v] with error: %v", varName, variable, err) @@ -318,10 +352,11 @@ func (s *ServiceCallHandler) HandleEventNodeExec(ctx context.Context, source str return nil } -func NewServiceCallHandler(ctx context.Context, svc artifact.ArtifactRegistryServer, created chan<- artifact.Artifact) EventsHandlerInterface { +func NewServiceCallHandler(ctx context.Context, svc artifact.ArtifactRegistryServer, created chan<- artifact.Artifact, adminClients admin.Clientset) EventsHandlerInterface { logger.Infof(ctx, "Creating new service call handler") return &ServiceCallHandler{ - service: svc, - created: created, + service: svc, + created: created, + adminClients: adminClients, } } diff --git a/flyteartifacts/pkg/server/processor/http_processor.go b/flyteartifacts/pkg/server/processor/http_processor.go deleted file mode 100644 index 89e216d339..0000000000 --- a/flyteartifacts/pkg/server/processor/http_processor.go +++ /dev/null @@ -1,9 +0,0 @@ -package processor - -import "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" - -// HTTPCloudEventProcessor could potentially run another local http service to handle traffic instead of a go channel -// todo: either implement or remote this file. -type HTTPCloudEventProcessor struct { - service *artifact.UnimplementedArtifactRegistryServer -} diff --git a/flyteartifacts/pkg/server/processor/interfaces.go b/flyteartifacts/pkg/server/processor/interfaces.go index ff61126adb..8f5fd8ab8f 100644 --- a/flyteartifacts/pkg/server/processor/interfaces.go +++ b/flyteartifacts/pkg/server/processor/interfaces.go @@ -15,7 +15,7 @@ type EventsHandlerInterface interface { // EventsProcessorInterface is a copy of the notifications processor in admin except that start takes a context type EventsProcessorInterface interface { // StartProcessing whatever it is that needs to be processed. - StartProcessing(ctx context.Context) + StartProcessing(ctx context.Context, handler EventsHandlerInterface) // StopProcessing is called when the server is shutting down. StopProcessing() error diff --git a/flyteartifacts/pkg/server/processor/processor.go b/flyteartifacts/pkg/server/processor/processor.go index 64aec5c149..8e00c3ef22 100644 --- a/flyteartifacts/pkg/server/processor/processor.go +++ b/flyteartifacts/pkg/server/processor/processor.go @@ -17,7 +17,7 @@ func NewBackgroundProcessor(ctx context.Context, processorConfiguration configur var sub pubsub.Subscriber switch processorConfiguration.CloudProvider { case configCommon.CloudDeploymentAWS: - // TODO: When we start using this, the created channel will also need to be added to the pubsubprocessor + ff := false sqsConfig := gizmoAWS.SQSConfig{ QueueName: processorConfiguration.Subscriber.QueueName, QueueOwnerAccountID: processorConfiguration.Subscriber.AccountID, @@ -25,8 +25,7 @@ func NewBackgroundProcessor(ctx context.Context, processorConfiguration configur // Gizmo by default will decode the SQS message using Base64 decoding. // However, the message body of SQS is the SNS message format which isn't Base64 encoded. // gatepr: Understand this when we do sqs testing - // TODO: - //ConsumeBase64: &enable64decoding, + ConsumeBase64: &ff, } sqsConfig.Region = processorConfiguration.Region var err error @@ -43,8 +42,8 @@ func NewBackgroundProcessor(ctx context.Context, processorConfiguration configur case configCommon.CloudDeploymentGCP: panic("Artifacts not implemented for GCP") case configCommon.CloudDeploymentSandbox: - handler := NewServiceCallHandler(ctx, service, created) - return NewSandboxCloudEventProcessor(handler) + // + return NewSandboxCloudEventProcessor() case configCommon.CloudDeploymentLocal: fallthrough default: diff --git a/flyteartifacts/pkg/server/processor/sqs_processor.go b/flyteartifacts/pkg/server/processor/sqs_processor.go index ec82a65436..17bce5e645 100644 --- a/flyteartifacts/pkg/server/processor/sqs_processor.go +++ b/flyteartifacts/pkg/server/processor/sqs_processor.go @@ -1,36 +1,42 @@ package processor import ( + "bytes" "context" "encoding/base64" "encoding/json" + "time" + "github.com/NYTimes/gizmo/pubsub" + pbcloudevents "github.com/cloudevents/sdk-go/binding/format/protobuf/v2" + "github.com/cloudevents/sdk-go/v2/event" + flyteEvents "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" + "github.com/golang/protobuf/jsonpb" + "github.com/golang/protobuf/proto" + "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" - "time" ) type PubSubProcessor struct { sub pubsub.Subscriber } -func (p *PubSubProcessor) StartProcessing(ctx context.Context) { +func (p *PubSubProcessor) StartProcessing(ctx context.Context, handler EventsHandlerInterface) { for { logger.Warningf(context.Background(), "Starting notifications processor") - err := p.run() + err := p.run(ctx, handler) logger.Errorf(context.Background(), "error with running processor err: [%v] ", err) time.Sleep(1000 * 1000 * 1000 * 5) } } -// todo: i think we can easily add context -func (p *PubSubProcessor) run() error { +func (p *PubSubProcessor) run(ctx context.Context, handler EventsHandlerInterface) error { var err error for msg := range p.sub.Start() { // gatepr: add metrics // Currently this is safe because Gizmo takes a string and casts it to a byte array. stringMsg := string(msg.Message()) - var snsJSONFormat map[string]interface{} // Typically, SNS populates SQS. This results in the message body of SQS having the SNS message format. @@ -38,7 +44,7 @@ func (p *PubSubProcessor) run() error { // The notification published is stored in the message field after unmarshalling the SQS message. if err := json.Unmarshal(msg.Message(), &snsJSONFormat); err != nil { //p.systemMetrics.MessageDecodingError.Inc() - logger.Errorf(context.Background(), "failed to unmarshall JSON message [%s] from processor with err: %v", stringMsg, err) + logger.Errorf(context.Background(), "failed to unmarshal JSON message [%s] from processor with err: %v", stringMsg, err) p.markMessageDone(msg) continue } @@ -70,8 +76,13 @@ func (p *PubSubProcessor) run() error { p.markMessageDone(msg) continue } - logger.Infof(context.Background(), "incoming message bytes [%v]", incomingMessageBytes) - // handle message + err = p.handleMessage(ctx, incomingMessageBytes, handler) + if err != nil { + logger.Errorf(context.Background(), "error handling message [%v] with err: %v", snsJSONFormat, err) + //p.systemMetrics.MessageHandlingError.Inc() + p.markMessageDone(msg) + continue + } p.markMessageDone(msg) } @@ -87,6 +98,54 @@ func (p *PubSubProcessor) run() error { return err } +func (p *PubSubProcessor) handleMessage(ctx context.Context, msgBytes []byte, handler EventsHandlerInterface) error { + ce := &event.Event{} + err := pbcloudevents.Protobuf.Unmarshal(msgBytes, ce) + if err != nil { + logger.Errorf(context.Background(), "error with unmarshalling message [%v]", err) + return err + } + + logger.Debugf(ctx, "Cloud event received message type [%s]", ce.Type()) + // ce data should be a jsonpb Marshaled proto message, one of + // - event.CloudEventTaskExecution + // - event.CloudEventNodeExecution + // - event.CloudEventWorkflowExecution + // - event.CloudEventExecutionStart + ceData := bytes.NewReader(ce.Data()) + unmarshaler := jsonpb.Unmarshaler{} + // Use the type to determine which proto message to unmarshal to. + var flyteEvent proto.Message + if ce.Type() == "com.flyte.resource.cloudevents.TaskExecution" { + flyteEvent = &flyteEvents.CloudEventTaskExecution{} + err = unmarshaler.Unmarshal(ceData, flyteEvent) + } else if ce.Type() == "com.flyte.resource.cloudevents.WorkflowExecution" { + flyteEvent = &flyteEvents.CloudEventWorkflowExecution{} + err = unmarshaler.Unmarshal(ceData, flyteEvent) + } else if ce.Type() == "com.flyte.resource.cloudevents.NodeExecution" { + flyteEvent = &flyteEvents.CloudEventNodeExecution{} + err = unmarshaler.Unmarshal(ceData, flyteEvent) + } else if ce.Type() == "com.flyte.resource.cloudevents.ExecutionStart" { + flyteEvent = &flyteEvents.CloudEventExecutionStart{} + err = unmarshaler.Unmarshal(ceData, flyteEvent) + } else { + logger.Infof(ctx, "Ignoring cloud event type [%s]", ce.Type()) + return nil + } + + if err != nil { + logger.Errorf(ctx, "error unmarshalling message [%s] [%v]", ce.Type(), err) + return err + } + err = handler.HandleEvent(ctx, ce, flyteEvent) + if err != nil { + logger.Errorf(context.Background(), "error handling event on topic [%v]", err) + return err + } + + return nil +} + func (p *PubSubProcessor) markMessageDone(message pubsub.SubscriberMessage) { if err := message.Done(); err != nil { //p.systemMetrics.MessageDoneError.Inc() diff --git a/flyteartifacts/pkg/server/processor/sqs_processor_test.go b/flyteartifacts/pkg/server/processor/sqs_processor_test.go new file mode 100644 index 0000000000..8819398b38 --- /dev/null +++ b/flyteartifacts/pkg/server/processor/sqs_processor_test.go @@ -0,0 +1,44 @@ +package processor + +import ( + "context" + "fmt" + gizmoAWS "github.com/NYTimes/gizmo/pubsub/aws" + "github.com/cloudevents/sdk-go/v2/event" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/golang/protobuf/proto" + "testing" +) + +type EchoEventsHandler struct{} + +func (e *EchoEventsHandler) HandleEvent(ctx context.Context, cloudEvent *event.Event, msg proto.Message) error { + logger.Infof(ctx, "echo event handler received event [%s] %v", cloudEvent.Source(), msg) + return nil +} + +func TestRead(t *testing.T) { + tt := false + sqsConfig := gizmoAWS.SQSConfig{ + QueueName: "staging-artifacts-cloudEventsQueue", + QueueOwnerAccountID: "479331373192", + ConsumeBase64: &tt, + } + sqsConfig.Region = "us-east-2" + var err error + sub, err := gizmoAWS.NewSubscriber(sqsConfig) + if err != nil { + logger.Warnf(context.TODO(), "Failed to initialize new gizmo aws subscriber with config [%+v] and err: %v", sqsConfig, err) + } + + if err != nil { + panic(err) + } + scope := promutils.NewTestScope() + echoer := EchoEventsHandler{} + p := NewPubSubProcessor(sub, scope) + p.StartProcessing(context.Background(), &echoer) + + fmt.Println("done") +} diff --git a/flyteartifacts/pkg/server/server.go b/flyteartifacts/pkg/server/server.go index 6ae88c312c..5751af52fc 100644 --- a/flyteartifacts/pkg/server/server.go +++ b/flyteartifacts/pkg/server/server.go @@ -7,6 +7,7 @@ import ( "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" "github.com/flyteorg/flyte/flyteartifacts/pkg/db" "github.com/flyteorg/flyte/flyteartifacts/pkg/server/processor" + admin2 "github.com/flyteorg/flyte/flyteidl/clients/go/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "github.com/flyteorg/flyte/flytestdlib/database" "github.com/flyteorg/flyte/flytestdlib/logger" @@ -110,14 +111,23 @@ func NewArtifactService(ctx context.Context, scope promutils.Scope) *ArtifactSer coreService := NewCoreService(storage, &blobStore, scope.NewSubScope("server")) triggerHandler, err := NewTriggerEngine(ctx, storage, &coreService, scope.NewSubScope("triggers")) if err != nil { - logger.Errorf(ctx, "Failed to create Admin client, stopping server. Error: %v", err) + logger.Errorf(ctx, "Failed to create Trigger engine, stopping server. Error: %v", err) panic(err) } + + adminClientCfg := admin2.GetConfig(ctx) + clientSet, err := admin2.NewClientsetBuilder().WithConfig(adminClientCfg).Build(ctx) + if err != nil { + logger.Errorf(ctx, "Failed to create Admin client set, stopping server. Error: %v", err) + panic(err) + } + + handler := processor.NewServiceCallHandler(ctx, &coreService, createdArtifacts, *clientSet) eventsReceiverAndHandler := processor.NewBackgroundProcessor(ctx, *eventsCfg, &coreService, createdArtifacts, scope.NewSubScope("events")) if eventsReceiverAndHandler != nil { go func() { logger.Info(ctx, "Starting Artifact service background processing...") - eventsReceiverAndHandler.StartProcessing(ctx) + eventsReceiverAndHandler.StartProcessing(ctx, handler) }() } diff --git a/flyteartifacts/pkg/server/trigger_engine.go b/flyteartifacts/pkg/server/trigger_engine.go index 68da0645b0..e0d2ae5bdd 100644 --- a/flyteartifacts/pkg/server/trigger_engine.go +++ b/flyteartifacts/pkg/server/trigger_engine.go @@ -60,7 +60,7 @@ func (e *TriggerEngine) evaluateAndHandleTrigger(ctx context.Context, trigger mo // They must either both have no partitions, or both have the same partitions. var thisIDPartitions = make(map[string]string) if triggeringArtifactID.GetPartitions().GetValue() != nil { - for k, _ := range triggeringArtifactID.GetPartitions().GetValue() { + for k := range triggeringArtifactID.GetPartitions().GetValue() { thisIDPartitions[k] = "placeholder" } } @@ -72,7 +72,7 @@ func (e *TriggerEngine) evaluateAndHandleTrigger(ctx context.Context, trigger mo // Build a query map of partitions for this triggering artifact while at it. queryPartitions := map[string]*core.LabelValue{} if len(thisIDPartitions) > 0 { - for k, _ := range thisIDPartitions { + for k := range thisIDPartitions { if incomingValue, ok := incomingPartitions[k]; !ok { return fmt.Errorf("trigger %s has different partitions [%v] [%+v]", trigger.Name, incoming.GetArtifactId(), triggeringArtifactID) } else { diff --git a/flytecopilot/go.mod b/flytecopilot/go.mod index 254e636513..f05cf9992e 100644 --- a/flytecopilot/go.mod +++ b/flytecopilot/go.mod @@ -115,7 +115,7 @@ require ( k8s.io/klog/v2 v2.100.1 // indirect k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect - sigs.k8s.io/controller-runtime v0.0.0-00010101000000-000000000000 // indirect + sigs.k8s.io/controller-runtime v0.16.2 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect diff --git a/flyteidl/go.mod b/flyteidl/go.mod index f410e79d6b..18e746a952 100644 --- a/flyteidl/go.mod +++ b/flyteidl/go.mod @@ -108,7 +108,7 @@ require ( k8s.io/klog/v2 v2.100.1 // indirect k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect - sigs.k8s.io/controller-runtime v0.0.0-00010101000000-000000000000 // indirect + sigs.k8s.io/controller-runtime v0.16.2 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect diff --git a/flyteplugins/go.mod b/flyteplugins/go.mod index 4992ae6072..8ef62d725d 100644 --- a/flyteplugins/go.mod +++ b/flyteplugins/go.mod @@ -35,7 +35,7 @@ require ( k8s.io/apimachinery v0.28.2 k8s.io/client-go v0.28.1 k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 - sigs.k8s.io/controller-runtime v0.12.1 + sigs.k8s.io/controller-runtime v0.16.2 ) require ( diff --git a/flytestdlib/database/db.go b/flytestdlib/database/db.go index fe884c75f4..8046c7ead4 100644 --- a/flytestdlib/database/db.go +++ b/flytestdlib/database/db.go @@ -107,17 +107,12 @@ func withDB(ctx context.Context, databaseConfig *DbConfig, do func(db *gorm.DB) } // Migrate runs all configured migrations -func Migrate(ctx context.Context, databaseConfig *DbConfig, migrations []*gormigrate.Migration, initializationSQL string) error { +func Migrate(ctx context.Context, databaseConfig *DbConfig, migrations []*gormigrate.Migration) error { if len(migrations) == 0 { logger.Infof(ctx, "No migrations to run") return nil } return withDB(ctx, databaseConfig, func(db *gorm.DB) error { - tx := db.Exec(initializationSQL) - if tx.Error != nil { - return tx.Error - } - m := gormigrate.New(db, gormigrate.DefaultOptions, migrations) if err := m.Migrate(); err != nil { return fmt.Errorf("database migration failed: %v", err) diff --git a/flytestdlib/database/postgres.go b/flytestdlib/database/postgres.go index be5c118e58..ec43330af1 100644 --- a/flytestdlib/database/postgres.go +++ b/flytestdlib/database/postgres.go @@ -62,6 +62,7 @@ func CreatePostgresDbIfNotExists(ctx context.Context, gormConfig *gorm.Config, p return gormDb, nil } if !IsPgErrorWithCode(err, PqInvalidDBCode) { + logger.Errorf(ctx, "Unhandled error connecting to postgres, pg [%v], gorm [%v]: %v", pgConfig, gormConfig, err) return nil, err } logger.Warningf(ctx, "Database [%v] does not exist", pgConfig.DbName) diff --git a/flytestdlib/go.mod b/flytestdlib/go.mod index 16d0fe3b06..22df6f139e 100644 --- a/flytestdlib/go.mod +++ b/flytestdlib/go.mod @@ -43,7 +43,7 @@ require ( k8s.io/api v0.28.2 k8s.io/apimachinery v0.28.2 k8s.io/client-go v0.28.1 - sigs.k8s.io/controller-runtime v0.0.0-00010101000000-000000000000 + sigs.k8s.io/controller-runtime v0.16.2 ) require ( @@ -147,7 +147,6 @@ replace ( github.com/flyteorg/flyte/flyteplugins => ../flyteplugins github.com/flyteorg/flyte/flytepropeller => ../flytepropeller github.com/flyteorg/flyte/flytestdlib => ../flytestdlib - github.com/flyteorg/flyteidl => ../flyteidl k8s.io/api => k8s.io/api v0.28.2 k8s.io/apimachinery => k8s.io/apimachinery v0.28.2 k8s.io/client-go => k8s.io/client-go v0.28.2 diff --git a/go.sum b/go.sum index 571a46f2f7..217fc7003d 100644 --- a/go.sum +++ b/go.sum @@ -55,7 +55,6 @@ cloud.google.com/go/storage v1.29.0 h1:6weCgzRvMg7lzuUurI4697AqIRPU1SvzHhynwpW31 cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= 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 v63.4.0+incompatible h1:fle3M5Q7vr8auaiPffKyUQmLbvYeqpw30bKU6PrWJFo= 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= From 7211dbb02f803483a5e8236c12f9bac9b5d4906f Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Fri, 29 Dec 2023 19:36:53 +0800 Subject: [PATCH 08/16] artf/make goimports (#4651) make goimports Update minio address so artifacts can find s3 in sandbox. make helm Signed-off-by: Yee Hing Tong --- charts/flyte-sandbox/README.md | 18 +++++++++++++++--- charts/flyte-sandbox/values.yaml | 2 +- .../manifests/complete-agent.yaml | 8 ++++---- docker/sandbox-bundled/manifests/complete.yaml | 8 ++++---- docker/sandbox-bundled/manifests/dev.yaml | 4 ++-- flyteartifacts/Makefile | 2 +- flyteartifacts/cmd/main.go | 4 ++-- flyteartifacts/cmd/shared/migrate.go | 4 +++- flyteartifacts/cmd/shared/root.go | 8 +++++--- flyteartifacts/cmd/shared/serve.go | 9 +++++---- flyteartifacts/cmd/shared/types.go | 4 +++- flyteartifacts/pkg/blob/artifact_blob_store.go | 4 +++- flyteartifacts/pkg/configuration/config.go | 4 ++-- .../pkg/configuration/shared/config.go | 1 + flyteartifacts/pkg/db/gorm_transformers.go | 8 +++++--- flyteartifacts/pkg/db/querying_test.go | 11 ++++++----- flyteartifacts/pkg/db/storage.go | 10 ++++++---- flyteartifacts/pkg/db/storage_test.go | 10 +++++----- flyteartifacts/pkg/lib/string_converter.go | 3 ++- .../pkg/lib/string_converter_test.go | 8 +++++--- flyteartifacts/pkg/lib/url_parse.go | 5 +++-- flyteartifacts/pkg/lib/url_parse_test.go | 6 ++++-- flyteartifacts/pkg/models/transformers.go | 6 ++++-- flyteartifacts/pkg/server/interfaces.go | 4 +++- flyteartifacts/pkg/server/metrics.go | 6 ++++-- .../pkg/server/processor/channel_processor.go | 8 +++++--- .../pkg/server/processor/events_handler.go | 5 +++-- .../server/processor/events_handler_test.go | 6 ++++-- .../pkg/server/processor/interfaces.go | 1 + .../pkg/server/processor/processor.go | 2 ++ .../pkg/server/processor/sqs_processor.go | 2 +- .../pkg/server/processor/sqs_processor_test.go | 6 ++++-- flyteartifacts/pkg/server/server.go | 12 +++++++----- flyteartifacts/pkg/server/service.go | 1 + flyteartifacts/pkg/server/trigger_engine.go | 18 ++++++++++-------- .../pkg/server/trigger_engine_test.go | 3 ++- 36 files changed, 138 insertions(+), 83 deletions(-) diff --git a/charts/flyte-sandbox/README.md b/charts/flyte-sandbox/README.md index 2506d78a0c..e74f0724e5 100644 --- a/charts/flyte-sandbox/README.md +++ b/charts/flyte-sandbox/README.md @@ -27,9 +27,21 @@ A Helm chart for the Flyte local sandbox | flyte-binary.clusterResourceTemplates.inlineConfigMap | string | `"{{ include \"flyte-sandbox.clusterResourceTemplates.inlineConfigMap\" . }}"` | | | flyte-binary.configuration.database.host | string | `"{{ printf \"%s-postgresql\" .Release.Name | trunc 63 | trimSuffix \"-\" }}"` | | | flyte-binary.configuration.database.password | string | `"postgres"` | | -| flyte-binary.configuration.inline.artifacts.host | string | `"localhost"` | | -| flyte-binary.configuration.inline.artifacts.insecure | bool | `true` | | -| flyte-binary.configuration.inline.artifacts.port | int | `50051` | | +| flyte-binary.configuration.inline.artifactsProcessor.cloudProvider | string | `"Sandbox"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactBlobStoreConfig.stow.config.access_key_id | string | `"minio"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactBlobStoreConfig.stow.config.auth_type | string | `"accesskey"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactBlobStoreConfig.stow.config.disable_ssl | bool | `true` | | +| flyte-binary.configuration.inline.artifactsServer.artifactBlobStoreConfig.stow.config.endpoint | string | `"http://flyte-sandbox-minio.flyte:9000"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactBlobStoreConfig.stow.config.secret_key | string | `"miniostorage"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactBlobStoreConfig.stow.config.v2_signing | bool | `true` | | +| flyte-binary.configuration.inline.artifactsServer.artifactBlobStoreConfig.stow.kind | string | `"s3"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactBlobStoreConfig.type | string | `"stow"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactDatabaseConfig.postgres.dbname | string | `"artifacts"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactDatabaseConfig.postgres.host | string | `"{{ printf \"%s-postgresql\" .Release.Name | trunc 63 | trimSuffix \"-\" }}"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactDatabaseConfig.postgres.options | string | `"sslmode=disable"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactDatabaseConfig.postgres.password | string | `"postgres"` | | +| flyte-binary.configuration.inline.artifactsServer.artifactDatabaseConfig.postgres.port | int | `5432` | | +| flyte-binary.configuration.inline.artifactsServer.artifactDatabaseConfig.postgres.username | string | `"postgres"` | | | flyte-binary.configuration.inline.cloudEvents.cloudEventVersion | string | `"v2"` | | | flyte-binary.configuration.inline.cloudEvents.enable | bool | `true` | | | flyte-binary.configuration.inline.cloudEvents.type | string | `"sandbox"` | | diff --git a/charts/flyte-sandbox/values.yaml b/charts/flyte-sandbox/values.yaml index 603ea00515..b799b9e767 100644 --- a/charts/flyte-sandbox/values.yaml +++ b/charts/flyte-sandbox/values.yaml @@ -59,7 +59,7 @@ flyte-binary: config: disable_ssl: true v2_signing: true - endpoint: http://localhost:30002 + endpoint: http://flyte-sandbox-minio.flyte:9000 auth_type: accesskey access_key_id: minio secret_key: miniostorage diff --git a/docker/sandbox-bundled/manifests/complete-agent.yaml b/docker/sandbox-bundled/manifests/complete-agent.yaml index 427c654ec7..0c753699b5 100644 --- a/docker/sandbox-bundled/manifests/complete-agent.yaml +++ b/docker/sandbox-bundled/manifests/complete-agent.yaml @@ -517,7 +517,7 @@ data: access_key_id: minio auth_type: accesskey disable_ssl: true - endpoint: http://localhost:30002 + endpoint: http://flyte-sandbox-minio.flyte:9000 secret_key: miniostorage v2_signing: true kind: s3 @@ -878,7 +878,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: YnZWQm1tMm9ETTY3enZUcQ== + haSharedSecret: eTJZeFhSZWF0TEVQVWlybw== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1308,7 +1308,7 @@ spec: metadata: annotations: checksum/cluster-resource-templates: 6fd9b172465e3089fcc59f738b92b8dc4d8939360c19de8ee65f68b0e7422035 - checksum/configuration: c3f03f3b03d7909e7fac95f3490d43d9e50cf4759a67ac38d4c1992f08f64ce3 + checksum/configuration: 45373e78f147407fbee7ae52351e92542475be8fefff767255d1b3bdc48c3a0a checksum/configuration-secret: 09216ffaa3d29e14f88b1f30af580d02a2a5e014de4d750b7f275cc07ed4e914 labels: app.kubernetes.io/component: flyte-binary @@ -1473,7 +1473,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: db210d75941d85245039373f167036040860dde6eb2db965c9a482e496483240 + checksum/secret: 101b0e951be7ace5815290755725d39275a0f550892b354b9cfa129e0a750f0f labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/complete.yaml b/docker/sandbox-bundled/manifests/complete.yaml index 0ed370422b..168627b78d 100644 --- a/docker/sandbox-bundled/manifests/complete.yaml +++ b/docker/sandbox-bundled/manifests/complete.yaml @@ -497,7 +497,7 @@ data: access_key_id: minio auth_type: accesskey disable_ssl: true - endpoint: http://localhost:30002 + endpoint: http://flyte-sandbox-minio.flyte:9000 secret_key: miniostorage v2_signing: true kind: s3 @@ -858,7 +858,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: RTRFWEhLQ1c3V3h5N1JpQg== + haSharedSecret: bkVuc0pmTEgwZEp0QUVSbQ== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1256,7 +1256,7 @@ spec: metadata: annotations: checksum/cluster-resource-templates: 6fd9b172465e3089fcc59f738b92b8dc4d8939360c19de8ee65f68b0e7422035 - checksum/configuration: 3e7625f0de3a210017c0f2ab5b8ad17a9ccac048a5a06f6466b8d762d8aa27d7 + checksum/configuration: 9502021d87030cfe424e840eee4c26900579d180008686827db9d9ef3f723a5b checksum/configuration-secret: 09216ffaa3d29e14f88b1f30af580d02a2a5e014de4d750b7f275cc07ed4e914 labels: app.kubernetes.io/component: flyte-binary @@ -1421,7 +1421,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 266445a61b2ef5d294e608c36659f8c3c6605c1b718d73870eb7e0584783504a + checksum/secret: 63b35e1a77beeb576299ff75680ecfdebf9034eab5c85af9b0c24646b1e3007c labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/dev.yaml b/docker/sandbox-bundled/manifests/dev.yaml index bd867b22d6..0ae038ac5c 100644 --- a/docker/sandbox-bundled/manifests/dev.yaml +++ b/docker/sandbox-bundled/manifests/dev.yaml @@ -535,7 +535,7 @@ metadata: --- apiVersion: v1 data: - haSharedSecret: YVdudG42ZklJTWZGTmpUZw== + haSharedSecret: NDV4Z0JTUVAwRnlCYUFPWQ== proxyPassword: "" proxyUsername: "" kind: Secret @@ -981,7 +981,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 460f5a9ea128429763eb9a5cc9e25c1cd84e1a2a5f032853085c8061f0e20da4 + checksum/secret: 17dd6127a719e8f5716b5cbddc9f2c3ccb88560fca3dc5cad286376afc6271c0 labels: app: docker-registry release: flyte-sandbox diff --git a/flyteartifacts/Makefile b/flyteartifacts/Makefile index 62684d152b..db6ed45f1d 100644 --- a/flyteartifacts/Makefile +++ b/flyteartifacts/Makefile @@ -1,4 +1,4 @@ -include ../boilerplate/flyte/golang_test_targets/Makefile +include boilerplate/flyte/golang_test_targets/Makefile .PHONY: linux_compile linux_compile: export CGO_ENABLED ?= 0 diff --git a/flyteartifacts/cmd/main.go b/flyteartifacts/cmd/main.go index 2d4f40c7f8..e34b3b1dce 100644 --- a/flyteartifacts/cmd/main.go +++ b/flyteartifacts/cmd/main.go @@ -2,14 +2,14 @@ package main import ( "context" + _ "net/http/pprof" // Required to serve application. + sharedCmd "github.com/flyteorg/flyte/flyteartifacts/cmd/shared" "github.com/flyteorg/flyte/flyteartifacts/pkg/server" "github.com/flyteorg/flyte/flytestdlib/contextutils" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils/labeled" "github.com/flyteorg/flyte/flytestdlib/storage" - - _ "net/http/pprof" // Required to serve application. ) func main() { diff --git a/flyteartifacts/cmd/shared/migrate.go b/flyteartifacts/cmd/shared/migrate.go index d7fcb9dbcd..e5a102846e 100644 --- a/flyteartifacts/cmd/shared/migrate.go +++ b/flyteartifacts/cmd/shared/migrate.go @@ -2,9 +2,11 @@ package shared import ( "context" - "github.com/flyteorg/flyte/flytestdlib/database" + "github.com/go-gormigrate/gormigrate/v2" "github.com/spf13/cobra" + + "github.com/flyteorg/flyte/flytestdlib/database" ) // NewMigrateCmd represents the migrate command diff --git a/flyteartifacts/cmd/shared/root.go b/flyteartifacts/cmd/shared/root.go index 8bc0390c30..5ffb6eac53 100644 --- a/flyteartifacts/cmd/shared/root.go +++ b/flyteartifacts/cmd/shared/root.go @@ -4,14 +4,16 @@ import ( "context" "flag" "fmt" + "os" + + "github.com/spf13/cobra" + "github.com/spf13/pflag" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" "github.com/flyteorg/flyte/flytestdlib/config" "github.com/flyteorg/flyte/flytestdlib/config/viper" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/profutils" - "github.com/spf13/cobra" - "github.com/spf13/pflag" - "os" ) var ( diff --git a/flyteartifacts/cmd/shared/serve.go b/flyteartifacts/cmd/shared/serve.go index 64cb3bfd22..f11b36c706 100644 --- a/flyteartifacts/cmd/shared/serve.go +++ b/flyteartifacts/cmd/shared/serve.go @@ -2,13 +2,9 @@ package shared import ( "context" - "google.golang.org/grpc/reflection" "net" "net/http" - sharedCfg "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration/shared" - "github.com/flyteorg/flyte/flytestdlib/logger" - "github.com/flyteorg/flyte/flytestdlib/promutils" grpcMiddleware "github.com/grpc-ecosystem/go-grpc-middleware" grpcPrometheus "github.com/grpc-ecosystem/go-grpc-prometheus" "github.com/grpc-ecosystem/grpc-gateway/runtime" @@ -18,6 +14,11 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/health" "google.golang.org/grpc/health/grpc_health_v1" + "google.golang.org/grpc/reflection" + + sharedCfg "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration/shared" + "github.com/flyteorg/flyte/flytestdlib/logger" + "github.com/flyteorg/flyte/flytestdlib/promutils" ) func NewServeCmd(commandName string, serverCfg sharedCfg.ServerConfiguration, grpcHook GrpcRegistrationHook, httpHook HttpRegistrationHook) *cobra.Command { diff --git a/flyteartifacts/cmd/shared/types.go b/flyteartifacts/cmd/shared/types.go index be1878a6d3..c6f580fcf3 100644 --- a/flyteartifacts/cmd/shared/types.go +++ b/flyteartifacts/cmd/shared/types.go @@ -2,9 +2,11 @@ package shared import ( "context" - "github.com/flyteorg/flyte/flytestdlib/promutils" + "github.com/grpc-ecosystem/grpc-gateway/runtime" "google.golang.org/grpc" + + "github.com/flyteorg/flyte/flytestdlib/promutils" ) type GrpcRegistrationHook func(ctx context.Context, server *grpc.Server, scope promutils.Scope) error diff --git a/flyteartifacts/pkg/blob/artifact_blob_store.go b/flyteartifacts/pkg/blob/artifact_blob_store.go index 36a9c30518..bb8d2f8687 100644 --- a/flyteartifacts/pkg/blob/artifact_blob_store.go +++ b/flyteartifacts/pkg/blob/artifact_blob_store.go @@ -3,11 +3,13 @@ package blob import ( "context" "fmt" + + "github.com/golang/protobuf/ptypes/any" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" "github.com/flyteorg/flyte/flytestdlib/storage" - "github.com/golang/protobuf/ptypes/any" ) type ArtifactBlobStore struct { diff --git a/flyteartifacts/pkg/configuration/config.go b/flyteartifacts/pkg/configuration/config.go index 7848789db1..861c01e403 100644 --- a/flyteartifacts/pkg/configuration/config.go +++ b/flyteartifacts/pkg/configuration/config.go @@ -1,12 +1,12 @@ package configuration import ( + "time" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration/shared" "github.com/flyteorg/flyte/flytestdlib/config" stdLibDb "github.com/flyteorg/flyte/flytestdlib/database" stdLibStorage "github.com/flyteorg/flyte/flytestdlib/storage" - - "time" ) const artifactsServer = "artifactsServer" diff --git a/flyteartifacts/pkg/configuration/shared/config.go b/flyteartifacts/pkg/configuration/shared/config.go index d4605ea557..f3c23a7b02 100644 --- a/flyteartifacts/pkg/configuration/shared/config.go +++ b/flyteartifacts/pkg/configuration/shared/config.go @@ -2,6 +2,7 @@ package shared import ( "fmt" + "github.com/flyteorg/flyte/flytestdlib/config" ) diff --git a/flyteartifacts/pkg/db/gorm_transformers.go b/flyteartifacts/pkg/db/gorm_transformers.go index bc77eebbb0..659984e52f 100644 --- a/flyteartifacts/pkg/db/gorm_transformers.go +++ b/flyteartifacts/pkg/db/gorm_transformers.go @@ -3,14 +3,16 @@ package db import ( "context" "fmt" + + "github.com/golang/protobuf/proto" + "github.com/golang/protobuf/ptypes" + "github.com/jackc/pgx/v5/pgtype" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flytestdlib/logger" - "github.com/golang/protobuf/proto" - "github.com/golang/protobuf/ptypes" - "github.com/jackc/pgx/v5/pgtype" ) func PartitionsIdlToHstore(idlPartitions *core.Partitions) pgtype.Hstore { diff --git a/flyteartifacts/pkg/db/querying_test.go b/flyteartifacts/pkg/db/querying_test.go index 9b0f9bce55..5625d2e9ea 100644 --- a/flyteartifacts/pkg/db/querying_test.go +++ b/flyteartifacts/pkg/db/querying_test.go @@ -4,17 +4,18 @@ import ( "context" "database/sql" "fmt" + "testing" + "github.com/DATA-DOG/go-sqlmock" + "github.com/stretchr/testify/assert" + "gorm.io/driver/postgres" + "gorm.io/gorm" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flytestdlib/database" "github.com/flyteorg/flyte/flytestdlib/promutils" - "github.com/stretchr/testify/assert" - "testing" - - "gorm.io/driver/postgres" - "gorm.io/gorm" ) func getMockRds(t *testing.T) (*sql.DB, sqlmock.Sqlmock, RDSStorage) { diff --git a/flyteartifacts/pkg/db/storage.go b/flyteartifacts/pkg/db/storage.go index 184c319a11..a7387312fe 100644 --- a/flyteartifacts/pkg/db/storage.go +++ b/flyteartifacts/pkg/db/storage.go @@ -4,6 +4,12 @@ import ( "context" "errors" "fmt" + "strconv" + + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "gorm.io/gorm" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" "github.com/flyteorg/flyte/flyteartifacts/pkg/lib" "github.com/flyteorg/flyte/flyteartifacts/pkg/models" @@ -12,10 +18,6 @@ import ( "github.com/flyteorg/flyte/flytestdlib/database" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" - "gorm.io/gorm" - "strconv" ) // RDSStorage should implement StorageInterface diff --git a/flyteartifacts/pkg/db/storage_test.go b/flyteartifacts/pkg/db/storage_test.go index ef99d160b1..bf74a15c3d 100644 --- a/flyteartifacts/pkg/db/storage_test.go +++ b/flyteartifacts/pkg/db/storage_test.go @@ -7,17 +7,17 @@ package db import ( "context" "fmt" - "github.com/flyteorg/flyte/flyteartifacts/pkg/models" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "os" "testing" - "github.com/flyteorg/flyte/flytestdlib/config" - "github.com/flyteorg/flyte/flytestdlib/config/viper" - "github.com/flyteorg/flyte/flytestdlib/promutils" "github.com/stretchr/testify/assert" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "github.com/flyteorg/flyte/flytestdlib/config" + "github.com/flyteorg/flyte/flytestdlib/config/viper" + "github.com/flyteorg/flyte/flytestdlib/promutils" ) func TestBasicWrite(t *testing.T) { diff --git a/flyteartifacts/pkg/lib/string_converter.go b/flyteartifacts/pkg/lib/string_converter.go index b85e56ee2a..a4ffba2170 100644 --- a/flyteartifacts/pkg/lib/string_converter.go +++ b/flyteartifacts/pkg/lib/string_converter.go @@ -2,9 +2,10 @@ package lib import ( "fmt" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "strings" "time" + + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" ) const DateFormat string = "2006-01-02" diff --git a/flyteartifacts/pkg/lib/string_converter_test.go b/flyteartifacts/pkg/lib/string_converter_test.go index ec50b1f46d..15a7463ab4 100644 --- a/flyteartifacts/pkg/lib/string_converter_test.go +++ b/flyteartifacts/pkg/lib/string_converter_test.go @@ -1,11 +1,13 @@ package lib import ( - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - "github.com/golang/protobuf/ptypes/timestamp" - "github.com/stretchr/testify/assert" "testing" "time" + + "github.com/golang/protobuf/ptypes/timestamp" + "github.com/stretchr/testify/assert" + + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" ) func TestRenderDate(t *testing.T) { diff --git a/flyteartifacts/pkg/lib/url_parse.go b/flyteartifacts/pkg/lib/url_parse.go index 41bb5df16a..489e416d64 100644 --- a/flyteartifacts/pkg/lib/url_parse.go +++ b/flyteartifacts/pkg/lib/url_parse.go @@ -2,11 +2,12 @@ package lib import ( "errors" - "github.com/flyteorg/flyte/flyteartifacts/pkg/models" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "net/url" "regexp" "strings" + + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" ) var flyteURLNameRe = regexp.MustCompile(`(?P[\w/-]+)(?:(:(?P\w+))?)(?:(@(?P\w+))?)`) diff --git a/flyteartifacts/pkg/lib/url_parse_test.go b/flyteartifacts/pkg/lib/url_parse_test.go index 6d8b2c8d13..2340d07252 100644 --- a/flyteartifacts/pkg/lib/url_parse_test.go +++ b/flyteartifacts/pkg/lib/url_parse_test.go @@ -2,9 +2,11 @@ package lib import ( "context" - "github.com/flyteorg/flyte/flyteartifacts/pkg/models" - "github.com/stretchr/testify/assert" "testing" + + "github.com/stretchr/testify/assert" + + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" ) func TestURLParseWithTag(t *testing.T) { diff --git a/flyteartifacts/pkg/models/transformers.go b/flyteartifacts/pkg/models/transformers.go index f10d62694a..833dbea447 100644 --- a/flyteartifacts/pkg/models/transformers.go +++ b/flyteartifacts/pkg/models/transformers.go @@ -3,11 +3,13 @@ package models import ( "context" "fmt" + + "github.com/golang/protobuf/proto" + "github.com/golang/protobuf/ptypes" + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flytestdlib/logger" - "github.com/golang/protobuf/proto" - "github.com/golang/protobuf/ptypes" ) func CreateArtifactModelFromRequest(ctx context.Context, key *core.ArtifactKey, spec *artifact.ArtifactSpec, version string, partitions map[string]string, tag string, source *artifact.ArtifactSource) (Artifact, error) { diff --git a/flyteartifacts/pkg/server/interfaces.go b/flyteartifacts/pkg/server/interfaces.go index 275b2d8343..cdb3565d55 100644 --- a/flyteartifacts/pkg/server/interfaces.go +++ b/flyteartifacts/pkg/server/interfaces.go @@ -2,11 +2,13 @@ package server import ( "context" + + "github.com/golang/protobuf/ptypes/any" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" stdLibStorage "github.com/flyteorg/flyte/flytestdlib/storage" - "github.com/golang/protobuf/ptypes/any" ) type StorageInterface interface { diff --git a/flyteartifacts/pkg/server/metrics.go b/flyteartifacts/pkg/server/metrics.go index 3ae7d5f8ba..cd36ed29c9 100644 --- a/flyteartifacts/pkg/server/metrics.go +++ b/flyteartifacts/pkg/server/metrics.go @@ -1,9 +1,11 @@ package server import ( - "github.com/flyteorg/flyte/flytestdlib/promutils" - "github.com/prometheus/client_golang/prometheus" "time" + + "github.com/prometheus/client_golang/prometheus" + + "github.com/flyteorg/flyte/flytestdlib/promutils" ) type RequestMetrics struct { diff --git a/flyteartifacts/pkg/server/processor/channel_processor.go b/flyteartifacts/pkg/server/processor/channel_processor.go index 905d3d317c..04dd7d971c 100644 --- a/flyteartifacts/pkg/server/processor/channel_processor.go +++ b/flyteartifacts/pkg/server/processor/channel_processor.go @@ -3,14 +3,16 @@ package processor import ( "bytes" "context" + "time" + pbcloudevents "github.com/cloudevents/sdk-go/binding/format/protobuf/v2" "github.com/cloudevents/sdk-go/v2/event" + "github.com/golang/protobuf/jsonpb" + "github.com/golang/protobuf/proto" + flyteEvents "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/sandboxutils" - "github.com/golang/protobuf/jsonpb" - "github.com/golang/protobuf/proto" - "time" ) type SandboxCloudEventsReceiver struct { diff --git a/flyteartifacts/pkg/server/processor/events_handler.go b/flyteartifacts/pkg/server/processor/events_handler.go index faf70dfd06..71f7813268 100644 --- a/flyteartifacts/pkg/server/processor/events_handler.go +++ b/flyteartifacts/pkg/server/processor/events_handler.go @@ -3,16 +3,17 @@ package processor import ( "context" "fmt" + event2 "github.com/cloudevents/sdk-go/v2/event" + "github.com/golang/protobuf/proto" + "github.com/flyteorg/flyte/flyteartifacts/pkg/lib" "github.com/flyteorg/flyte/flyteidl/clients/go/admin" adminPb "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/admin" - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "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/logger" - "github.com/golang/protobuf/proto" ) // ServiceCallHandler will take events and call the grpc endpoints directly. The service should most likely be local. diff --git a/flyteartifacts/pkg/server/processor/events_handler_test.go b/flyteartifacts/pkg/server/processor/events_handler_test.go index 61d668215b..57c38a539f 100644 --- a/flyteartifacts/pkg/server/processor/events_handler_test.go +++ b/flyteartifacts/pkg/server/processor/events_handler_test.go @@ -1,9 +1,11 @@ package processor import ( - "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" - "github.com/stretchr/testify/assert" "testing" + + "github.com/stretchr/testify/assert" + + "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" ) func TestMetaDataWrite(t *testing.T) { diff --git a/flyteartifacts/pkg/server/processor/interfaces.go b/flyteartifacts/pkg/server/processor/interfaces.go index 8f5fd8ab8f..90264b2669 100644 --- a/flyteartifacts/pkg/server/processor/interfaces.go +++ b/flyteartifacts/pkg/server/processor/interfaces.go @@ -2,6 +2,7 @@ package processor import ( "context" + "github.com/cloudevents/sdk-go/v2/event" "github.com/golang/protobuf/proto" ) diff --git a/flyteartifacts/pkg/server/processor/processor.go b/flyteartifacts/pkg/server/processor/processor.go index 8e00c3ef22..8995f0132d 100644 --- a/flyteartifacts/pkg/server/processor/processor.go +++ b/flyteartifacts/pkg/server/processor/processor.go @@ -2,8 +2,10 @@ package processor import ( "context" + "github.com/NYTimes/gizmo/pubsub" gizmoAWS "github.com/NYTimes/gizmo/pubsub/aws" + "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" configCommon "github.com/flyteorg/flyte/flytestdlib/config" diff --git a/flyteartifacts/pkg/server/processor/sqs_processor.go b/flyteartifacts/pkg/server/processor/sqs_processor.go index 17bce5e645..0430204570 100644 --- a/flyteartifacts/pkg/server/processor/sqs_processor.go +++ b/flyteartifacts/pkg/server/processor/sqs_processor.go @@ -10,10 +10,10 @@ import ( "github.com/NYTimes/gizmo/pubsub" pbcloudevents "github.com/cloudevents/sdk-go/binding/format/protobuf/v2" "github.com/cloudevents/sdk-go/v2/event" - flyteEvents "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" "github.com/golang/protobuf/jsonpb" "github.com/golang/protobuf/proto" + flyteEvents "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" ) diff --git a/flyteartifacts/pkg/server/processor/sqs_processor_test.go b/flyteartifacts/pkg/server/processor/sqs_processor_test.go index 8819398b38..9b2fd0012a 100644 --- a/flyteartifacts/pkg/server/processor/sqs_processor_test.go +++ b/flyteartifacts/pkg/server/processor/sqs_processor_test.go @@ -3,12 +3,14 @@ package processor import ( "context" "fmt" + "testing" + gizmoAWS "github.com/NYTimes/gizmo/pubsub/aws" "github.com/cloudevents/sdk-go/v2/event" + "github.com/golang/protobuf/proto" + "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" - "github.com/golang/protobuf/proto" - "testing" ) type EchoEventsHandler struct{} diff --git a/flyteartifacts/pkg/server/server.go b/flyteartifacts/pkg/server/server.go index 5751af52fc..89e9448205 100644 --- a/flyteartifacts/pkg/server/server.go +++ b/flyteartifacts/pkg/server/server.go @@ -3,6 +3,13 @@ package server import ( "context" "fmt" + _ "net/http/pprof" // Required to serve application. + + "github.com/go-gormigrate/gormigrate/v2" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/pkg/errors" + "google.golang.org/grpc" + "github.com/flyteorg/flyte/flyteartifacts/pkg/blob" "github.com/flyteorg/flyte/flyteartifacts/pkg/configuration" "github.com/flyteorg/flyte/flyteartifacts/pkg/db" @@ -12,11 +19,6 @@ import ( "github.com/flyteorg/flyte/flytestdlib/database" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" - "github.com/go-gormigrate/gormigrate/v2" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/pkg/errors" - "google.golang.org/grpc" - _ "net/http/pprof" // Required to serve application. ) type ArtifactService struct { diff --git a/flyteartifacts/pkg/server/service.go b/flyteartifacts/pkg/server/service.go index e28124a415..abc1b81b6a 100644 --- a/flyteartifacts/pkg/server/service.go +++ b/flyteartifacts/pkg/server/service.go @@ -3,6 +3,7 @@ package server import ( "context" "fmt" + "github.com/flyteorg/flyte/flyteartifacts/pkg/models" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" "github.com/flyteorg/flyte/flytestdlib/logger" diff --git a/flyteartifacts/pkg/server/trigger_engine.go b/flyteartifacts/pkg/server/trigger_engine.go index e0d2ae5bdd..49d5593f69 100644 --- a/flyteartifacts/pkg/server/trigger_engine.go +++ b/flyteartifacts/pkg/server/trigger_engine.go @@ -3,6 +3,16 @@ package server import ( "context" "fmt" + "math/rand" + "regexp" + "strconv" + "time" + "unicode/utf8" + + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/types/known/timestamppb" + "github.com/flyteorg/flyte/flyteartifacts/pkg/lib" "github.com/flyteorg/flyte/flyteartifacts/pkg/models" admin2 "github.com/flyteorg/flyte/flyteidl/clients/go/admin" @@ -12,14 +22,6 @@ import ( "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/service" "github.com/flyteorg/flyte/flytestdlib/logger" "github.com/flyteorg/flyte/flytestdlib/promutils" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" - "google.golang.org/protobuf/types/known/timestamppb" - "math/rand" - "regexp" - "strconv" - "time" - "unicode/utf8" ) type TriggerEngine struct { diff --git a/flyteartifacts/pkg/server/trigger_engine_test.go b/flyteartifacts/pkg/server/trigger_engine_test.go index 3c61d6cc46..e7033b3c41 100644 --- a/flyteartifacts/pkg/server/trigger_engine_test.go +++ b/flyteartifacts/pkg/server/trigger_engine_test.go @@ -1,9 +1,10 @@ package server import ( - "github.com/stretchr/testify/assert" "testing" "time" + + "github.com/stretchr/testify/assert" ) func TestA(t *testing.T) { From cb37291e54c033e959d1b46f04fb95e0e5b6b027 Mon Sep 17 00:00:00 2001 From: David Espejo <82604841+davidmirror-ops@users.noreply.github.com> Date: Tue, 2 Jan 2024 11:31:41 -0500 Subject: [PATCH 09/16] Readme update 2023 (#4549) * 1st stab at updating README Signed-off-by: davidmirror-ops * Expand README Signed-off-by: davidmirror-ops * Remove code snippets Signed-off-by: davidmirror-ops * update readme Signed-off-by: davidmirror-ops * Add note to BUILD section Signed-off-by: davidmirror-ops * Apply 1st round of reviews v2 Signed-off-by: davidmirror-ops * Remove question marks Signed-off-by: davidmirror-ops * Unify build and scale sections Signed-off-by: davidmirror-ops * reposition gif Signed-off-by: davidmirror-ops --------- Signed-off-by: davidmirror-ops Signed-off-by: David Espejo <82604841+davidmirror-ops@users.noreply.github.com> Co-authored-by: Niels Bantilan Co-authored-by: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> --- README.md | 162 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 98 insertions(+), 64 deletions(-) diff --git a/README.md b/README.md index b83a3f81c5..4f5a86fafb 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,6 @@ :building_construction: :rocket: :chart_with_upwards_trend:

-

- - Build. Deploy. Scale. - -

- -Flyte is an **open-source orchestrator** that facilitates building production-grade data and ML pipelines. It is built for scalability and reproducibility, leveraging Kubernetes as its underlying platform. With Flyte, user teams can construct pipelines using the Python SDK, and seamlessly deploy them on both cloud and on-premises environments, enabling distributed processing and efficient resource utilization.

@@ -37,82 +30,123 @@ Flyte is an **open-source orchestrator** that facilitates building production-gr Flyte Slack label

+Flyte is an open-source orchestrator that facilitates building production-grade data and ML pipelines. It is built for scalability and reproducibility, leveraging Kubernetes as its underlying platform. With Flyte, user teams can construct pipelines using the Python SDK, and seamlessly deploy them on both cloud and on-premises environments, enabling distributed processing and efficient resource utilization. + +

+ Build +

+

+Write code in Python or any other language and leverage a robust type engine. +

+ +Getting started with Flyte + +

+ Deploy & Scale +

+

+Either locally or on a remote cluster, execute your models with ease. +

+Getting started with Flyte + +

Get Started · Documentation · - Resources + Resources

-
- -Getting started with Flyte, showing the welcome screen and Flyte dashboard - +## Table of contents +* [Quick start](#quick-start) +* [Tutorials](#tutorials) +* [Features](#features) +* [Who uses Flyte](#whos-using-flyte) +* [How to stay involved](#how-to-stay-involved) +* [How to contribute](#how-to-contribute) --- - -## Features - -We ship new features, bug fixes and performance improvements regularly. Read our [release notes](https://github.com/flyteorg/flyte/releases) to stay updated. - -:rocket: **Strongly typed interfaces**: Validate your data at every step of the workflow by defining data guardrails using Flyte types.
-:globe_with_meridians: **Any language**: Write code in any language using raw containers, or choose [Python](https://github.com/flyteorg/flytekit), [Java](https://github.com/flyteorg/flytekit-java), [Scala](https://github.com/flyteorg/flytekit-java) or [JavaScript](https://github.com/NotMatthewGriffin/pterodactyl) SDKs to develop your Flyte workflows.
-:bar_chart: **Map tasks**: Achieve parallel code execution with minimal configuration using [map tasks](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/map_task.html).
-:star2: **Dynamic workflows**: [Build flexible and adaptable workflows](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/dynamics.html) that can change and evolve as needed, making it easier to respond to changing requirements.
-:deciduous_tree: **Branching**: [Selectively execute branches](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/conditions.html) of your workflow based on static or dynamic data produced by other tasks or input data.
-:open_file_folder: **FlyteFile & FlyteDirectory**: Transfer [files](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/files.html) and [directories](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/folders.html) between local and cloud storage.
-:card_file_box: **Structured dataset**: Convert dataframes between types and enforce column-level type checking using the abstract 2D representation provided by [Structured Dataset](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/data_types_and_io/structured_dataset.html).
-:shield: **Recover from failures**: Recover only the failed tasks.
-:arrows_counterclockwise: **Rerun a single task**: Rerun workflows at the most granular level without modifying the previous state of a data/ML workflow.
-:vertical_traffic_light: **Versioned workflows**: Reproduce results and roll back to a previous workflow version any time.
-:mag: **Cache outputs**: Cache task outputs by passing `cache=True` to the task decorator.
-:triangular_flag_on_post: **Intra-task checkpointing**: [Checkpoint progress](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/checkpoint.html) within a task execution.
-:earth_americas: **Multi-tenancy**: Multiple users can share the same platform while maintaining their own distinct data and configurations.
-:alarm_clock: **Timeout**: Define a timeout period, after which the task is marked as failure.
-:lock: **Immutability**: Immutable executions help ensure reproducibility by preventing any changes to the state of an execution.
-:dna: **Data lineage**: Track the movement and transformation of data throughout the lifecycle of your data and ML workflows.
-:chart_with_upwards_trend: **Data visualization**: Visualize data, monitor models and view training history through plots.
-:factory: **Dev to prod**: As simple as changing your [domain](https://docs.flyte.org/en/latest/concepts/domains.html) from development or staging to production.
-:money_with_wings: **Spot or preemptible instances**: Schedule your workflows on spot instances by setting `interruptible` to `True` in the task decorator.
-:cloud: **Cloud-native deployment**: Deploy Flyte on AWS, GCP, Azure and other cloud services.
-:calendar: **Scheduling**: [Schedule](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/productionizing/lp_schedules.html) your data and ML workflows to run at a specific time.
-:mega: **Notifications**: Stay informed about changes to your workflow's state by configuring [notifications](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/productionizing/lp_notifications.html) through Slack, PagerDuty or email.
-:hourglass: **Timeline view**: Evaluate the duration of each of your Flyte tasks and identify potential bottlenecks.
-:fast_forward: **GPU acceleration**: Enable and control your tasks’ GPU demands by requesting resources in the task decorator.
-:whale: **Dependency isolation via containers**: Maintain separate sets of dependencies for your tasks so no dependency conflicts arise.
-:arrows_counterclockwise: **Parallelism**: Flyte tasks are inherently parallel to optimize resource consumption and improve performance.
-:floppy_disk: **Allocate resources dynamically** at the task level.
-:play_or_pause_button: [Wait](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/waiting_for_external_inputs.html) for **external inputs** before proceeding with the execution.
- ## Quick start -If you want to try out Flyte, the easiest way to get started is by using the Flyte Hosted Sandbox, available at https://sandbox.union.ai/. It allows you to experiment with Flyte's capabilities without installing anything on your local machine. - -However, if you prefer to install Flyte locally and run a workflow, our [getting started guide](https://docs.flyte.org/projects/cookbook/en/latest/index.html) is the best place to start. It provides step-by-step instructions on how to install Flyte locally and run your first workflow. - -> If you're unsure what either a [Flyte task](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/basics/task.html), or a [workflow](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/basics/workflow.html) is, be sure to check out our guides on both! +1. Install Flyte's Python SDK +```bash +pip install flytekit +``` +2. Create a workflow (see [example](https://github.com/flyteorg/flytesnacks/blob/master/examples/basics/basics/hello_world.py)) +3. Run it locally with: +```bash +pyflyte run hello_world.py hello_world_wf +``` +**Ready to try a Flyte cluster?** + +1. Create a new sandbox cluster, running as a Docker container: +```bash +flytectl demo start +``` +2. Now execute your workflows on the cluster: +```bash +pyflyte run --remote hello_world.py hello_world_wf +``` +Getting started with Flyte, showing the welcome screen and Flyte dashboard -### Deploy Flyte to production +**Do you want to see more but don't want to install anything?** -The [deployment guide](https://docs.flyte.org/en/latest/deployment/index.html) provides useful information on how to self-host and manage Flyte. +Head over to https://sandbox.union.ai/. It allows you to experiment with Flyte's capabilities from a hosted Jupyter notebook. -## Adopters +**Ready to productionize?** -Join the likes of LinkedIn, Spotify, Freenome, Pachama, Gojek, and Woven Planet in adopting Flyte. For a full list of adopters and information on how to add your organization or project, please visit our [ADOPTERS](https://github.com/flyteorg/community/blob/main/ADOPTERS.md) page. +Go to the [Deployment guide](https://docs.flyte.org/en/latest/deployment/deployment/index.html) for instructions to install Flyte on different environments +## Tutorials +- [Fine-tune Code Llama on the Flyte codebase](https://github.com/unionai-oss/llm-fine-tuning/tree/main/flyte_llama#readme) +- [Forecast sales with Horovod and Spark](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/forecasting_sales/index.html) +- [Nucleotide Sequence Querying with BLASTX](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/blast/index.html) -## Resources +## Features +🚀 **Strongly typed interfaces**: Validate your data at every step of the workflow by defining data guardrails using Flyte types.
+🌐 **Any language**: Write code in any language using raw containers, or choose [Python](https://github.com/flyteorg/flytekit), [Java](https://github.com/flyteorg/flytekit-java), [Scala](https://github.com/flyteorg/flytekit-java) or [JavaScript](https://github.com/NotMatthewGriffin/pterodactyl) SDKs to develop your Flyte workflows.
+🔒 **Immutability**: Immutable executions help ensure reproducibility by preventing any changes to the state of an execution.
+🧬 **Data lineage**: Track the movement and transformation of data throughout the lifecycle of your data and ML workflows.
+📊 **Map tasks**: Achieve parallel code execution with minimal configuration using [map tasks](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/map_task.html).
+🌎 **Multi-tenancy**: Multiple users can share the same platform while maintaining their own distinct data and configurations.
+🌟 **Dynamic workflows**: [Build flexible and adaptable workflows](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/dynamics.html) that can change and evolve as needed, making it easier to respond to changing requirements.
+⏯️ [Wait](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/waiting_for_external_inputs.html) for **external inputs** before proceeding with the execution.
+🌳 **Branching**: [Selectively execute branches](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/conditions.html) of your workflow based on static or dynamic data produced by other tasks or input data.
+📈 **Data visualization**: Visualize data, monitor models and view training history through plots.
+📂 **FlyteFile & FlyteDirectory**: Transfer [files](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/files.html) and [directories](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/folders.html) between local and cloud storage.
+🗃️ **Structured dataset**: Convert dataframes between types and enforce column-level type checking using the abstract 2D representation provided by [Structured Dataset](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/data_types_and_io/structured_dataset.html).
+🛡️ **Recover from failures**: Recover only the failed tasks.
+🔁 **Rerun a single task**: Rerun workflows at the most granular level without modifying the previous state of a data/ML workflow.
+🔍 **Cache outputs**: Cache task outputs by passing `cache=True` to the task decorator.
+🚩 **Intra-task checkpointing**: [Checkpoint progress](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/advanced_composition/checkpoint.html) within a task execution.
+⏰ **Timeout**: Define a timeout period, after which the task is marked as failure.
+🏭 **Dev to prod**: As simple as changing your [domain](https://docs.flyte.org/en/latest/concepts/domains.html) from development or staging to production.
+💸 **Spot or preemptible instances**: Schedule your workflows on spot instances by setting `interruptible` to `True` in the task decorator.
+☁️ **Cloud-native deployment**: Deploy Flyte on AWS, GCP, Azure and other cloud services.
+📅 **Scheduling**: [Schedule](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/productionizing/lp_schedules.html) your data and ML workflows to run at a specific time.
+📢 **Notifications**: Stay informed about changes to your workflow's state by configuring [notifications](https://docs.flyte.org/projects/cookbook/en/latest/auto_examples/productionizing/lp_notifications.html) through Slack, PagerDuty or email.
+⌛️ **Timeline view**: Evaluate the duration of each of your Flyte tasks and identify potential bottlenecks.
+💨 **GPU acceleration**: Enable and control your tasks’ GPU demands by requesting resources in the task decorator.
+🐳 **Dependency isolation via containers**: Maintain separate sets of dependencies for your tasks so no dependency conflicts arise.
+🔀 **Parallelism**: Flyte tasks are inherently parallel to optimize resource consumption and improve performance.
+💾 **Allocate resources dynamically** at the task level.
+ + +## Who's using Flyte +Join the likes of LinkedIn, Spotify, Freenome, Pachama, Warner Bros. and many others in adopting Flyte for mission-critical use cases. For a full list of adopters and information on how to add your organization or project, please visit our [ADOPTERS](https://github.com/flyteorg/community/blob/main/ADOPTERS.md) page. + + +## How to stay involved +📆 [Weekly office hours](https://calendly.com/flyte-office-hours-01/30min): Live informal sessions with the Flyte team held every week. Book a 30-minute slot and get your questions answered.
+👥 [Biweekly community sync](https://www.addevent.com/event/EA7823958): A biweekly event where the Flyte team provides updates on the project and community members can share their progress and ask questions.
+💬 [Slack](https://slack.flyte.org/): Join the Flyte community on Slack to chat with other users, ask questions, and get help.
+⚠️ [Newsletter](https://lists.lfaidata.foundation/g/flyte-announce/join): join this group to receive the Flyte Monthly newsletter.
+📹 [Youtube](https://www.youtube.com/channel/UCNduEoLOToNo3nFVly-vUTQ): Tune into panel discussions, customer success stories, community updates and feature deep dives.
+📄 [Blog](https://flyte.org/blog): Here, you can find tutorials and feature deep dives to help you learn more about Flyte.
+💡 [RFCs](rfc/.): RFCs are used for proposing new ideas and features to improve Flyte. You can refer to them to stay updated on the latest developments and contribute to the growth of the platform. -:spiral_calendar: [Weekly office hours](https://calendly.com/flyte-office-hours-01/30min): Live informal sessions with the Flyte team held every week. Book a 30-minute slot and get your questions answered.
-:couple: [Biweekly community sync](https://www.addevent.com/event/EA7823958): A biweekly event where the Flyte team provides updates on the project and community members can share their progress and ask questions.
-:speech_balloon: [Slack](https://slack.flyte.org/): Join the Flyte community on Slack to chat with other users, ask questions, and get help.
-:warning: [GitHub](https://github.com/flyteorg/flyte): Check out the Flyte project on GitHub to file issues, contribute code, and stay up to date on the latest development.
-:video_camera: [Youtube](https://www.youtube.com/channel/UCNduEoLOToNo3nFVly-vUTQ): Tune into panel discussions, customer success stories, community updates and feature deep dives.
-:writing_hand: [Blog](https://flyte.org/blog): Here, you can find tutorials and feature deep dives to help you learn more about Flyte.
-:bulb: [RFCs](rfc/.): RFCs are used for proposing new ideas and features to improve Flyte. You can refer to them to stay updated on the latest developments and contribute to the growth of the platform. ## How to contribute - There are many ways to get involved in Flyte, including: - Submitting [bugs](https://github.com/flyteorg/flyte/issues/new?assignees=&labels=bug%2Cuntriaged&template=bug_report.yaml&title=%5BBUG%5D+) and [feature requests](https://github.com/flyteorg/flyte/issues/new?assignees=&labels=enhancement%2Cuntriaged&template=feature_request.yaml&title=%5BCore+feature%5D+) for various components. From ba10600e633b731cb759343e040a6b941f1841a8 Mon Sep 17 00:00:00 2001 From: Dan Rammer Date: Tue, 2 Jan 2024 12:19:26 -0600 Subject: [PATCH 10/16] Fixing ArrayNode integration with backoff controller (#4640) * handle WaitingForResources phase from backoff controller Signed-off-by: Daniel Rammer * added unit test Signed-off-by: Daniel Rammer --------- Signed-off-by: Daniel Rammer --- .../pkg/controller/nodes/array/handler.go | 2 +- .../pkg/controller/nodes/array/handler_test.go | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/flytepropeller/pkg/controller/nodes/array/handler.go b/flytepropeller/pkg/controller/nodes/array/handler.go index 7dcdef4749..06a693334e 100644 --- a/flytepropeller/pkg/controller/nodes/array/handler.go +++ b/flytepropeller/pkg/controller/nodes/array/handler.go @@ -633,7 +633,7 @@ func (a *arrayNodeHandler) buildArrayNodeContext(ctx context.Context, nCtx inter // currently just mocking based on node phase -> which works for all k8s plugins // we can not pre-allocated a bit array because max size is 256B and with 5k fanout node state = 1.28MB pluginStateBytes := a.pluginStateBytesStarted - if taskPhase == int(core.PhaseUndefined) || taskPhase == int(core.PhaseRetryableFailure) { + if taskPhase == int(core.PhaseUndefined) || taskPhase == int(core.PhaseRetryableFailure) || taskPhase == int(core.PhaseWaitingForResources) { pluginStateBytes = a.pluginStateBytesNotStarted } diff --git a/flytepropeller/pkg/controller/nodes/array/handler_test.go b/flytepropeller/pkg/controller/nodes/array/handler_test.go index fbb5ae875c..b0328250ab 100644 --- a/flytepropeller/pkg/controller/nodes/array/handler_test.go +++ b/flytepropeller/pkg/controller/nodes/array/handler_test.go @@ -507,6 +507,24 @@ func TestHandleArrayNodePhaseExecuting(t *testing.T) { expectedTransitionPhase: handler.EPhaseRunning, expectedExternalResourcePhases: []idlcore.TaskExecution_Phase{idlcore.TaskExecution_RUNNING}, }, + { + name: "StartSubNodesNewAttempts", + subNodePhases: []v1alpha1.NodePhase{ + v1alpha1.NodePhaseQueued, + v1alpha1.NodePhaseQueued, + }, + subNodeTaskPhases: []core.Phase{ + core.PhaseRetryableFailure, + core.PhaseWaitingForResources, + }, + subNodeTransitions: []handler.Transition{ + handler.DoTransition(handler.TransitionTypeEphemeral, handler.PhaseInfoRunning(&handler.ExecutionInfo{})), + handler.DoTransition(handler.TransitionTypeEphemeral, handler.PhaseInfoRunning(&handler.ExecutionInfo{})), + }, + expectedArrayNodePhase: v1alpha1.ArrayNodePhaseExecuting, + expectedTransitionPhase: handler.EPhaseRunning, + expectedExternalResourcePhases: []idlcore.TaskExecution_Phase{idlcore.TaskExecution_RUNNING, idlcore.TaskExecution_RUNNING}, + }, { name: "AllSubNodesSuccedeed", subNodePhases: []v1alpha1.NodePhase{ From a726c3650bb6f88ab15d9b6f33a4ede7b03e77dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20G=C3=B3mez?= Date: Wed, 3 Jan 2024 21:00:35 +0100 Subject: [PATCH 11/16] Avoid to use the http.DefaultClient (#4667) * Avoid to use the http.DefaultClient Signed-off-by: Andres Gomez Ferrer * Add httpClient to ClientOptions Signed-off-by: Andres Gomez Ferrer --------- Signed-off-by: Andres Gomez Ferrer --- .../go/tasks/pluginmachinery/k8s/client.go | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/flyteplugins/go/tasks/pluginmachinery/k8s/client.go b/flyteplugins/go/tasks/pluginmachinery/k8s/client.go index 79a81c7e79..f14ae2c8a0 100644 --- a/flyteplugins/go/tasks/pluginmachinery/k8s/client.go +++ b/flyteplugins/go/tasks/pluginmachinery/k8s/client.go @@ -3,8 +3,6 @@ package k8s import ( - "net/http" - "k8s.io/apimachinery/pkg/api/meta" "k8s.io/client-go/rest" "sigs.k8s.io/controller-runtime/pkg/cache" @@ -40,9 +38,14 @@ type Options struct { // NewKubeClient creates a new KubeClient that caches reads and falls back to // make API calls on failure. Write calls are not cached. func NewKubeClient(config *rest.Config, options Options) (core.KubeClient, error) { + httpClient, err := rest.HTTPClientFor(config) + if err != nil { + return nil, err + } + if options.MapperProvider == nil { options.MapperProvider = func(c *rest.Config) (meta.RESTMapper, error) { - return apiutil.NewDynamicRESTMapper(config, http.DefaultClient) + return apiutil.NewDynamicRESTMapper(config, httpClient) } } @@ -53,7 +56,7 @@ func NewKubeClient(config *rest.Config, options Options) (core.KubeClient, error if options.CacheOptions == nil { options.CacheOptions = &cache.Options{ - HTTPClient: http.DefaultClient, + HTTPClient: httpClient, Mapper: mapper, } } @@ -64,7 +67,10 @@ func NewKubeClient(config *rest.Config, options Options) (core.KubeClient, error } if options.ClientOptions == nil { - options.ClientOptions = &client.Options{Mapper: mapper} + options.ClientOptions = &client.Options{ + HTTPClient: httpClient, + Mapper: mapper, + } } client, err := client.New(config, *options.ClientOptions) From b96419c6e71d584acf75641edac74f66f7428c45 Mon Sep 17 00:00:00 2001 From: Jeev B Date: Thu, 4 Jan 2024 14:41:37 -0800 Subject: [PATCH 12/16] Update dns policy for sandbox buildkit instance to ClusterFirstWithHostNet (#4678) Signed-off-by: Jeev B --- charts/flyte-sandbox/templates/buildkit/deployment.yaml | 1 + docker/sandbox-bundled/Makefile | 3 ++- docker/sandbox-bundled/manifests/complete-agent.yaml | 5 +++-- docker/sandbox-bundled/manifests/complete.yaml | 5 +++-- docker/sandbox-bundled/manifests/dev.yaml | 5 +++-- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/charts/flyte-sandbox/templates/buildkit/deployment.yaml b/charts/flyte-sandbox/templates/buildkit/deployment.yaml index c128e65e12..9485a0fb43 100644 --- a/charts/flyte-sandbox/templates/buildkit/deployment.yaml +++ b/charts/flyte-sandbox/templates/buildkit/deployment.yaml @@ -13,6 +13,7 @@ spec: metadata: labels: {{- include "flyte-sandbox.buildkitSelectorLabels" . | nindent 8 }} spec: + dnsPolicy: ClusterFirstWithHostNet hostNetwork: true containers: - name: buildkit diff --git a/docker/sandbox-bundled/Makefile b/docker/sandbox-bundled/Makefile index 9ae4197673..0b4eac7e0a 100644 --- a/docker/sandbox-bundled/Makefile +++ b/docker/sandbox-bundled/Makefile @@ -18,8 +18,9 @@ flyte: .PHONY: manifests manifests: mkdir -p manifests - helm dependency update ../../charts/flyte-sandbox helm dependency update ../../charts/flyteagent + helm dependency update ../../charts/flyte-binary + helm dependency update ../../charts/flyte-sandbox kustomize build \ --enable-helm \ --load-restrictor=LoadRestrictionsNone \ diff --git a/docker/sandbox-bundled/manifests/complete-agent.yaml b/docker/sandbox-bundled/manifests/complete-agent.yaml index caf6ecd0a4..2eb6d250bf 100644 --- a/docker/sandbox-bundled/manifests/complete-agent.yaml +++ b/docker/sandbox-bundled/manifests/complete-agent.yaml @@ -816,7 +816,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: SlF2M0tXNXdGTUpHZzdvNg== + haSharedSecret: RkZLd2xsVEZSNXNHMExjeg== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1388,6 +1388,7 @@ spec: periodSeconds: 30 securityContext: privileged: true + dnsPolicy: ClusterFirstWithHostNet hostNetwork: true --- apiVersion: apps/v1 @@ -1411,7 +1412,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: b76914839daf95717da7a8ef31769c3b97f6c3c46a09776e5d0f8cc3fe9b1e9a + checksum/secret: 54b8e8ed67f9cf2f4b8c83b917ba11b0ed9f81f453df70376c332e202522643e labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/complete.yaml b/docker/sandbox-bundled/manifests/complete.yaml index 15db5aa597..2a4bd6bbdc 100644 --- a/docker/sandbox-bundled/manifests/complete.yaml +++ b/docker/sandbox-bundled/manifests/complete.yaml @@ -796,7 +796,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: QU5jN3V6ZjA4Y0tFbzZ0dw== + haSharedSecret: SENrVEZGc09ob3RKdFJRSA== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1336,6 +1336,7 @@ spec: periodSeconds: 30 securityContext: privileged: true + dnsPolicy: ClusterFirstWithHostNet hostNetwork: true --- apiVersion: apps/v1 @@ -1359,7 +1360,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 436cdf2d6630635a2652233c83f71c617facb2fda8edabb639ab7dfa0f15e46f + checksum/secret: 7c61351bdfcc86e008feb9f8d023e02d3aa7e570e1759790f8d7c3f6a4fd9c86 labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/dev.yaml b/docker/sandbox-bundled/manifests/dev.yaml index 8b171faf49..050efccd96 100644 --- a/docker/sandbox-bundled/manifests/dev.yaml +++ b/docker/sandbox-bundled/manifests/dev.yaml @@ -499,7 +499,7 @@ metadata: --- apiVersion: v1 data: - haSharedSecret: MGNlbmFPenJydE1hNlB0Sw== + haSharedSecret: RjVjd3lFdXVJRllyTzlTNA== proxyPassword: "" proxyUsername: "" kind: Secret @@ -910,6 +910,7 @@ spec: periodSeconds: 30 securityContext: privileged: true + dnsPolicy: ClusterFirstWithHostNet hostNetwork: true --- apiVersion: apps/v1 @@ -933,7 +934,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 05cc4dc3bf13796e3a35e79da36baf286c81f80b207628f1f64197c80a04130c + checksum/secret: 048f8e7e067f646dce51250b72fe31919755c8fa62f7f4f4ccc054e20a719d9e labels: app: docker-registry release: flyte-sandbox From 513c3e1b8dba948cb2443609b27aae04d5609af4 Mon Sep 17 00:00:00 2001 From: Dan Rammer Date: Fri, 5 Jan 2024 15:14:36 -0600 Subject: [PATCH 13/16] Updating ArrayNode ExternalResourceInfo ID (#4677) * updating externalResourceID Signed-off-by: Daniel Rammer * fix unit tests Signed-off-by: Daniel Rammer * generate event recorder mocks Signed-off-by: Daniel Rammer * correctly setting task id in events Signed-off-by: Daniel Rammer --------- Signed-off-by: Daniel Rammer --- .../controller/nodes/array/event_recorder.go | 54 +++++++++++++------ .../pkg/controller/nodes/array/handler.go | 12 +++-- .../controller/nodes/array/handler_test.go | 5 ++ .../nodes/array/mocks/array_event_recorder.go | 31 ++++++++++- 4 files changed, 82 insertions(+), 20 deletions(-) diff --git a/flytepropeller/pkg/controller/nodes/array/event_recorder.go b/flytepropeller/pkg/controller/nodes/array/event_recorder.go index c4e3004011..c2e0c96ed8 100644 --- a/flytepropeller/pkg/controller/nodes/array/event_recorder.go +++ b/flytepropeller/pkg/controller/nodes/array/event_recorder.go @@ -3,21 +3,24 @@ package array import ( "context" "fmt" + "strconv" "time" "github.com/golang/protobuf/ptypes" idlcore "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" + "github.com/flyteorg/flyte/flyteplugins/go/tasks/pluginmachinery/encoding" "github.com/flyteorg/flyte/flytepropeller/pkg/apis/flyteworkflow/v1alpha1" "github.com/flyteorg/flyte/flytepropeller/pkg/controller/config" "github.com/flyteorg/flyte/flytepropeller/pkg/controller/nodes/common" "github.com/flyteorg/flyte/flytepropeller/pkg/controller/nodes/interfaces" + "github.com/flyteorg/flyte/flytepropeller/pkg/controller/nodes/task" ) type arrayEventRecorder interface { interfaces.EventRecorder - process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) + process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) error finalize(ctx context.Context, nCtx interfaces.NodeExecutionContext, taskPhase idlcore.TaskExecution_Phase, taskPhaseVersion uint32, eventConfig *config.EventConfig) error finalizeRequired(ctx context.Context) bool } @@ -39,8 +42,23 @@ func (e *externalResourcesEventRecorder) RecordTaskEvent(ctx context.Context, ev return nil } -func (e *externalResourcesEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) { - externalResourceID := fmt.Sprintf("%s-%d", buildSubNodeID(nCtx, index), retryAttempt) +func (e *externalResourcesEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) error { + // generate externalResourceID + currentNodeUniqueID := nCtx.NodeID() + if nCtx.ExecutionContext().GetEventVersion() != v1alpha1.EventVersion0 { + var err error + currentNodeUniqueID, err = common.GenerateUniqueID(nCtx.ExecutionContext().GetParentInfo(), nCtx.NodeID()) + if err != nil { + return err + } + } + + uniqueID, err := encoding.FixedLengthUniqueIDForParts(task.IDMaxLength, []string{nCtx.NodeExecutionMetadata().GetOwnerID().Name, currentNodeUniqueID, strconv.Itoa(int(retryAttempt))}) + if err != nil { + return err + } + + externalResourceID := fmt.Sprintf("%s-n%d-%d", uniqueID, index, retryAttempt) // process events cacheStatus := idlcore.CatalogCacheStatus_CACHE_DISABLED @@ -83,6 +101,8 @@ func (e *externalResourcesEventRecorder) process(ctx context.Context, nCtx inter // clear nodeEvents and taskEvents e.nodeEvents = e.nodeEvents[:0] e.taskEvents = e.taskEvents[:0] + + return nil } func (e *externalResourcesEventRecorder) finalize(ctx context.Context, nCtx interfaces.NodeExecutionContext, @@ -94,6 +114,17 @@ func (e *externalResourcesEventRecorder) finalize(ctx context.Context, nCtx inte return err } + var taskID *idlcore.Identifier + subNode := nCtx.Node().GetArrayNode().GetSubNodeSpec() + if subNode != nil && subNode.Kind == v1alpha1.NodeKindTask { + executableTask, err := nCtx.ExecutionContext().GetTask(*subNode.GetTaskID()) + if err != nil { + return err + } + + taskID = executableTask.CoreTask().GetId() + } + nodeExecutionID := *nCtx.NodeExecutionMetadata().GetNodeExecutionID() if nCtx.ExecutionContext().GetEventVersion() != v1alpha1.EventVersion0 { currentNodeUniqueID, err := common.GenerateUniqueID(nCtx.ExecutionContext().GetParentInfo(), nodeExecutionID.NodeId) @@ -103,16 +134,8 @@ func (e *externalResourcesEventRecorder) finalize(ctx context.Context, nCtx inte nodeExecutionID.NodeId = currentNodeUniqueID } - workflowExecutionID := nodeExecutionID.ExecutionId - taskExecutionEvent := &event.TaskExecutionEvent{ - TaskId: &idlcore.Identifier{ - ResourceType: idlcore.ResourceType_TASK, - Project: workflowExecutionID.Project, - Domain: workflowExecutionID.Domain, - Name: nCtx.NodeID(), - Version: "v1", // this value is irrelevant but necessary for the identifier to be valid - }, + TaskId: taskID, ParentNodeExecutionId: &nodeExecutionID, RetryAttempt: 0, // ArrayNode will never retry Phase: taskPhase, @@ -120,9 +143,9 @@ func (e *externalResourcesEventRecorder) finalize(ctx context.Context, nCtx inte OccurredAt: occurredAt, Metadata: &event.TaskExecutionMetadata{ ExternalResources: e.externalResources, - PluginIdentifier: "container", + PluginIdentifier: "k8s-array", }, - TaskType: "k8s-array", + TaskType: "container_array", EventVersion: 1, } @@ -165,7 +188,8 @@ type passThroughEventRecorder struct { interfaces.EventRecorder } -func (*passThroughEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) { +func (*passThroughEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) error { + return nil } func (*passThroughEventRecorder) finalize(ctx context.Context, nCtx interfaces.NodeExecutionContext, diff --git a/flytepropeller/pkg/controller/nodes/array/handler.go b/flytepropeller/pkg/controller/nodes/array/handler.go index 06a693334e..72b2c511eb 100644 --- a/flytepropeller/pkg/controller/nodes/array/handler.go +++ b/flytepropeller/pkg/controller/nodes/array/handler.go @@ -98,7 +98,9 @@ func (a *arrayNodeHandler) Abort(ctx context.Context, nCtx interfaces.NodeExecut logger.Warnf(ctx, "failed to record ArrayNode events: %v", err) } - eventRecorder.process(ctx, nCtx, i, retryAttempt) + if err := eventRecorder.process(ctx, nCtx, i, retryAttempt); err != nil { + logger.Warnf(ctx, "failed to record ArrayNode events: %v", err) + } } } } @@ -241,7 +243,9 @@ func (a *arrayNodeHandler) Handle(ctx context.Context, nCtx interfaces.NodeExecu logger.Warnf(ctx, "failed to record ArrayNode events: %v", err) } - eventRecorder.process(ctx, nCtx, i, 0) + if err := eventRecorder.process(ctx, nCtx, i, 0); err != nil { + logger.Warnf(ctx, "failed to record ArrayNode events: %v", err) + } } // transition ArrayNode to `ArrayNodePhaseExecuting` @@ -331,7 +335,9 @@ func (a *arrayNodeHandler) Handle(ctx context.Context, nCtx interfaces.NodeExecu } } } - eventRecorder.process(ctx, nCtx, index, subNodeStatus.GetAttempts()) + if err := eventRecorder.process(ctx, nCtx, index, subNodeStatus.GetAttempts()); err != nil { + return handler.UnknownTransition, err + } // update subNode state arrayNodeState.SubNodePhases.SetItem(index, uint64(subNodeStatus.GetPhase())) diff --git a/flytepropeller/pkg/controller/nodes/array/handler_test.go b/flytepropeller/pkg/controller/nodes/array/handler_test.go index b0328250ab..f4107c1f11 100644 --- a/flytepropeller/pkg/controller/nodes/array/handler_test.go +++ b/flytepropeller/pkg/controller/nodes/array/handler_test.go @@ -7,6 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" + "k8s.io/apimachinery/pkg/types" idlcore "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event" @@ -145,6 +146,10 @@ func createNodeExecutionContext(dataStore *storage.DataStore, eventRecorder inte Name: "name", }, }) + nodeExecutionMetadata.OnGetOwnerID().Return(types.NamespacedName{ + Namespace: "wf-namespace", + Name: "wf-name", + }) nCtx.OnNodeExecutionMetadata().Return(nodeExecutionMetadata) // NodeID diff --git a/flytepropeller/pkg/controller/nodes/array/mocks/array_event_recorder.go b/flytepropeller/pkg/controller/nodes/array/mocks/array_event_recorder.go index b51ba86931..7e235daa25 100644 --- a/flytepropeller/pkg/controller/nodes/array/mocks/array_event_recorder.go +++ b/flytepropeller/pkg/controller/nodes/array/mocks/array_event_recorder.go @@ -149,7 +149,34 @@ func (_m *arrayEventRecorder) finalizeRequired(ctx context.Context) bool { return r0 } +type arrayEventRecorder_process struct { + *mock.Call +} + +func (_m arrayEventRecorder_process) Return(_a0 error) *arrayEventRecorder_process { + return &arrayEventRecorder_process{Call: _m.Call.Return(_a0)} +} + +func (_m *arrayEventRecorder) Onprocess(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) *arrayEventRecorder_process { + c_call := _m.On("process", ctx, nCtx, index, retryAttempt) + return &arrayEventRecorder_process{Call: c_call} +} + +func (_m *arrayEventRecorder) OnprocessMatch(matchers ...interface{}) *arrayEventRecorder_process { + c_call := _m.On("process", matchers...) + return &arrayEventRecorder_process{Call: c_call} +} + // process provides a mock function with given fields: ctx, nCtx, index, retryAttempt -func (_m *arrayEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) { - _m.Called(ctx, nCtx, index, retryAttempt) +func (_m *arrayEventRecorder) process(ctx context.Context, nCtx interfaces.NodeExecutionContext, index int, retryAttempt uint32) error { + ret := _m.Called(ctx, nCtx, index, retryAttempt) + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, interfaces.NodeExecutionContext, int, uint32) error); ok { + r0 = rf(ctx, nCtx, index, retryAttempt) + } else { + r0 = ret.Error(0) + } + + return r0 } From 6dde005a8090f4840e6fa64188eb3f1c1ab0ab35 Mon Sep 17 00:00:00 2001 From: "Fabio M. Graetz, Ph.D" Date: Mon, 8 Jan 2024 18:29:16 +0100 Subject: [PATCH 14/16] Feat: Add option in K8s plugin config to inject user identity as pod label (#4637) * Add option in K8s plugin config to inject user identity into pod labels Signed-off-by: Fabio Graetz * Inject user identity into TaskExecutionMetadata labels Signed-off-by: Fabio Graetz * Add unit tests Signed-off-by: Fabio Graetz * Remove duplicate labels injection Signed-off-by: Fabio Graetz * Lint Signed-off-by: Fabio Graetz * Revert "Add option in K8s plugin config to inject user identity into pod labels" This reverts commit c42a4a02fd9ba30c2af7d2c42b1a7b5916140fb4. Signed-off-by: Fabio Graetz * Always inject user identity as pod label if known Signed-off-by: Fabio Graetz * Use hyphen instead of underscore in pod label Signed-off-by: Fabio Graetz * Update flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go Signed-off-by: Fabio M. Graetz, Ph.D. Signed-off-by: Fabio Graetz * Fix tests Signed-off-by: Fabio Graetz * Remove duplicate unit test logic Signed-off-by: Fabio Graetz --------- Signed-off-by: Fabio Graetz Signed-off-by: Fabio M. Graetz, Ph.D. Co-authored-by: Dan Rammer --- .../nodes/task/k8s/plugin_manager_test.go | 1 + .../nodes/task/k8s/task_exec_context.go | 17 +++++++++----- .../nodes/task/k8s/task_exec_context_test.go | 22 +++++++++++++++++++ 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/flytepropeller/pkg/controller/nodes/task/k8s/plugin_manager_test.go b/flytepropeller/pkg/controller/nodes/task/k8s/plugin_manager_test.go index a96536e7ac..2c7fda0f6e 100644 --- a/flytepropeller/pkg/controller/nodes/task/k8s/plugin_manager_test.go +++ b/flytepropeller/pkg/controller/nodes/task/k8s/plugin_manager_test.go @@ -200,6 +200,7 @@ func getMockTaskExecutionMetadata() pluginsCore.TaskExecutionMetadata { taskExecutionMetadata.On("GetAnnotations").Return(map[string]string{"aKey": "aVal"}) taskExecutionMetadata.On("GetLabels").Return(map[string]string{"lKey": "lVal"}) taskExecutionMetadata.On("GetOwnerReference").Return(metav1.OwnerReference{Name: "x"}) + taskExecutionMetadata.On("GetSecurityContext").Return(core.SecurityContext{RunAs: &core.Identity{}}) id := &pluginsCoreMock.TaskExecutionID{} id.On("GetGeneratedName").Return("test") diff --git a/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go b/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go index 14984e3f97..17bbce5398 100644 --- a/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go +++ b/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context.go @@ -7,6 +7,8 @@ import ( "github.com/flyteorg/flyte/flyteplugins/go/tasks/pluginmachinery/utils/secrets" ) +const executionIdentityVariable = "execution-identity" + // TaskExecutionContext provides a layer on top of core TaskExecutionContext with a custom TaskExecutionMetadata. type TaskExecutionContext struct { pluginsCore.TaskExecutionContext @@ -42,25 +44,28 @@ func (t TaskExecutionMetadata) GetAnnotations() map[string]string { } // newTaskExecutionMetadata creates a TaskExecutionMetadata with secrets serialized as annotations and a label added -// to trigger the flyte pod webhook +// to trigger the flyte pod webhook. If known, the execution identity is injected as a label. func newTaskExecutionMetadata(tCtx pluginsCore.TaskExecutionMetadata, taskTmpl *core.TaskTemplate) (TaskExecutionMetadata, error) { var err error secretsMap := make(map[string]string) - injectSecretsLabel := make(map[string]string) + injectLabels := make(map[string]string) if taskTmpl.SecurityContext != nil && len(taskTmpl.SecurityContext.Secrets) > 0 { secretsMap, err = secrets.MarshalSecretsToMapStrings(taskTmpl.SecurityContext.Secrets) if err != nil { return TaskExecutionMetadata{}, err } - injectSecretsLabel = map[string]string{ - secrets.PodLabel: secrets.PodLabelValue, - } + injectLabels[secrets.PodLabel] = secrets.PodLabelValue + } + + id := tCtx.GetSecurityContext().RunAs.ExecutionIdentity + if len(id) > 0 { + injectLabels[executionIdentityVariable] = id } return TaskExecutionMetadata{ TaskExecutionMetadata: tCtx, annotations: utils.UnionMaps(tCtx.GetAnnotations(), secretsMap), - labels: utils.UnionMaps(tCtx.GetLabels(), injectSecretsLabel), + labels: utils.UnionMaps(tCtx.GetLabels(), injectLabels), }, nil } diff --git a/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context_test.go b/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context_test.go index 8807236bff..bf9ca1eadb 100644 --- a/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context_test.go +++ b/flytepropeller/pkg/controller/nodes/task/k8s/task_exec_context_test.go @@ -21,6 +21,7 @@ func Test_newTaskExecutionMetadata(t *testing.T) { "existingLabel": "existingLabelValue", } existingMetadata.OnGetLabels().Return(existingLabels) + existingMetadata.OnGetSecurityContext().Return(core.SecurityContext{RunAs: &core.Identity{}}) actual, err := newTaskExecutionMetadata(existingMetadata, &core.TaskTemplate{}) assert.NoError(t, err) @@ -40,6 +41,7 @@ func Test_newTaskExecutionMetadata(t *testing.T) { "existingLabel": "existingLabelValue", } existingMetadata.OnGetLabels().Return(existingLabels) + existingMetadata.OnGetSecurityContext().Return(core.SecurityContext{RunAs: &core.Identity{}}) actual, err := newTaskExecutionMetadata(existingMetadata, &core.TaskTemplate{ SecurityContext: &core.SecurityContext{ @@ -64,6 +66,26 @@ func Test_newTaskExecutionMetadata(t *testing.T) { "inject-flyte-secrets": "true", }, actual.GetLabels()) }) + + t.Run("Inject exec identity", func(t *testing.T) { + + existingMetadata := &mocks.TaskExecutionMetadata{} + existingAnnotations := map[string]string{} + existingMetadata.OnGetAnnotations().Return(existingAnnotations) + + existingMetadata.OnGetSecurityContext().Return(core.SecurityContext{RunAs: &core.Identity{ExecutionIdentity: "test-exec-identity"}}) + + existingLabels := map[string]string{ + "existingLabel": "existingLabelValue", + } + existingMetadata.OnGetLabels().Return(existingLabels) + + actual, err := newTaskExecutionMetadata(existingMetadata, &core.TaskTemplate{}) + assert.NoError(t, err) + + assert.Equal(t, 2, len(actual.GetLabels())) + assert.Equal(t, "test-exec-identity", actual.GetLabels()[executionIdentityVariable]) + }) } func Test_newTaskExecutionContext(t *testing.T) { From 8ac697e3467e5c3b49c63979c0e4316b3587e839 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Tue, 9 Jan 2024 02:10:41 +0800 Subject: [PATCH 15/16] Artifacts shell 2 (#4649) This is a follow up PR to the [first shell pr](https://github.com/flyteorg/flyte/pull/4474/), which just brought in the non-artifact-service artifact changes. This PR continues with additional smaller changes. * Remove the `/data` prefix in the grpc gateway paths. Signed-off-by: Yee Hing Tong --- .github/workflows/flyteidl-buf-publish.yml | 2 +- flyteadmin/pkg/artifacts/registry.go | 4 +- .../implementations/cloudevent_publisher.go | 64 +- .../manager/impl/exec_manager_other_test.go | 12 +- .../pkg/manager/impl/execution_manager.go | 52 +- .../flyteidl/artifact/artifacts.grpc.pb.cc | 38 +- .../flyteidl/artifact/artifacts.grpc.pb.h | 132 +- .../pb-cpp/flyteidl/artifact/artifacts.pb.cc | 391 +++-- .../pb-cpp/flyteidl/artifact/artifacts.pb.h | 130 +- .../pb-cpp/flyteidl/event/cloudevents.pb.cc | 602 ++----- .../pb-cpp/flyteidl/event/cloudevents.pb.h | 398 +---- .../pb-go/flyteidl/artifact/artifacts.pb.go | 307 ++-- .../flyteidl/artifact/artifacts.pb.gw.go | 55 +- .../flyteidl/artifact/artifacts.swagger.json | 62 +- .../pb-go/flyteidl/event/cloudevents.pb.go | 136 +- .../pb-java/flyteidl/artifact/Artifacts.java | 395 ++--- .../pb-java/flyteidl/event/Cloudevents.java | 1561 ++++------------- flyteidl/gen/pb-js/flyteidl.d.ts | 32 +- flyteidl/gen/pb-js/flyteidl.js | 142 +- .../flyteidl/artifact/artifacts_pb2.py | 50 +- .../flyteidl/artifact/artifacts_pb2.pyi | 4 +- .../flyteidl/artifact/artifacts_pb2_grpc.py | 26 +- .../flyteidl/event/cloudevents_pb2.py | 16 +- .../flyteidl/event/cloudevents_pb2.pyi | 24 +- flyteidl/gen/pb_rust/flyteidl.artifact.rs | 4 +- flyteidl/gen/pb_rust/flyteidl.event.rs | 31 +- .../protos/flyteidl/artifact/artifacts.proto | 25 +- .../protos/flyteidl/event/cloudevents.proto | 33 +- flytestdlib/database/db.go | 7 +- flytestdlib/database/postgres.go | 1 + flytestdlib/go.mod | 1 - 31 files changed, 1619 insertions(+), 3118 deletions(-) diff --git a/.github/workflows/flyteidl-buf-publish.yml b/.github/workflows/flyteidl-buf-publish.yml index cbb530421c..96bd0085a6 100644 --- a/.github/workflows/flyteidl-buf-publish.yml +++ b/.github/workflows/flyteidl-buf-publish.yml @@ -3,7 +3,7 @@ name: Publish flyteidl Buf Package on: push: branches: - - artifacts-shell + - artifacts-shell-2 - artifacts - master paths: diff --git a/flyteadmin/pkg/artifacts/registry.go b/flyteadmin/pkg/artifacts/registry.go index cdc0717ac6..0ea2e11a5c 100644 --- a/flyteadmin/pkg/artifacts/registry.go +++ b/flyteadmin/pkg/artifacts/registry.go @@ -87,8 +87,8 @@ func NewArtifactRegistry(ctx context.Context, connCfg *admin2.Config, _ ...grpc. client: nil, } } - var cfg = connCfg - clients, err := admin2.NewClientsetBuilder().WithConfig(cfg).Build(ctx) + + clients, err := admin2.NewClientsetBuilder().WithConfig(connCfg).Build(ctx) if err != nil { logger.Errorf(ctx, "Failed to create Artifact client") // too many calls to this function to update, just panic for now. diff --git a/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go b/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go index 20bdc0203d..46bd0f0ede 100644 --- a/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go +++ b/flyteadmin/pkg/async/cloudevent/implementations/cloudevent_publisher.go @@ -136,9 +136,7 @@ func (c *CloudEventWrappedPublisher) TransformWorkflowExecutionEvent(ctx context // For now, don't append any additional information unless succeeded if rawEvent.Phase != core.WorkflowExecution_SUCCEEDED { return &event.CloudEventWorkflowExecution{ - RawEvent: rawEvent, - OutputData: nil, - OutputInterface: nil, + RawEvent: rawEvent, }, nil } @@ -181,13 +179,6 @@ func (c *CloudEventWrappedPublisher) TransformWorkflowExecutionEvent(ctx context } } - // Get inputs to the workflow execution - var inputs *core.LiteralMap - inputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, - c.storageClient, executionModel.InputsURI.String()) - if err != nil { - logger.Warningf(ctx, "Error fetching input literal map %s", executionModel.InputsURI.String()) - } // The spec is used to retrieve metadata fields spec := &admin.ExecutionSpec{} err = proto.Unmarshal(executionModel.Spec, spec) @@ -195,25 +186,9 @@ func (c *CloudEventWrappedPublisher) TransformWorkflowExecutionEvent(ctx context fmt.Printf("there was an error with spec %v %v", err, executionModel.Spec) } - // Get outputs from the workflow execution - var outputs *core.LiteralMap - if rawEvent.GetOutputData() != nil { - outputs = rawEvent.GetOutputData() - } else if len(rawEvent.GetOutputUri()) > 0 { - // GetInputs actually fetches the data, even though this is an output - outputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, c.storageClient, rawEvent.GetOutputUri()) - if err != nil { - // gatepr: metric this - logger.Warningf(ctx, "Error fetching output literal map %v", rawEvent) - return nil, err - } - } - return &event.CloudEventWorkflowExecution{ RawEvent: rawEvent, - OutputData: outputs, OutputInterface: &workflowInterface, - InputData: inputs, ArtifactIds: spec.GetMetadata().GetArtifactIds(), ReferenceExecution: spec.GetMetadata().GetReferenceExecution(), Principal: spec.GetMetadata().Principal, @@ -303,40 +278,6 @@ func (c *CloudEventWrappedPublisher) TransformNodeExecutionEvent(ctx context.Con fmt.Printf("there was an error with spec %v %v", err, executionModel.Spec) } - // Get inputs/outputs - // This will likely need to move to the artifact service side, given message size limits. - // Replace with call to GetNodeExecutionData - var inputs *core.LiteralMap - logger.Debugf(ctx, "RawEvent id %v", rawEvent.Id) - if len(rawEvent.GetInputUri()) > 0 { - inputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, - c.storageClient, rawEvent.GetInputUri()) - logger.Debugf(ctx, "RawEvent input uri %v, %v", rawEvent.GetInputUri(), inputs) - - if err != nil { - fmt.Printf("Error fetching input literal map %v", rawEvent) - } - } else if rawEvent.GetInputData() != nil { - inputs = rawEvent.GetInputData() - logger.Debugf(ctx, "RawEvent input data %v, %v", rawEvent.GetInputData(), inputs) - } else { - logger.Infof(ctx, "Node execution for node exec [%+v] has no input data", rawEvent.Id) - } - - // This will likely need to move to the artifact service side, given message size limits. - var outputs *core.LiteralMap - if rawEvent.GetOutputData() != nil { - outputs = rawEvent.GetOutputData() - } else if len(rawEvent.GetOutputUri()) > 0 { - // GetInputs actually fetches the data, even though this is an output - outputs, _, err = util.GetInputs(ctx, c.urlData, &c.remoteDataConfig, - c.storageClient, rawEvent.GetOutputUri()) - if err != nil { - fmt.Printf("Error fetching output literal map %v", rawEvent) - return nil, err - } - } - // Fetch the latest task execution if any, and pull out the task interface, if applicable. // These are optional fields... if the node execution doesn't have a task execution then these will be empty. var taskExecID *core.TaskExecutionIdentifier @@ -369,13 +310,10 @@ func (c *CloudEventWrappedPublisher) TransformNodeExecutionEvent(ctx context.Con taskExecID = lte.Id } - logger.Debugf(ctx, "RawEvent inputs %v", inputs) return &event.CloudEventNodeExecution{ RawEvent: rawEvent, TaskExecId: taskExecID, - OutputData: outputs, OutputInterface: typedInterface, - InputData: inputs, ArtifactIds: spec.GetMetadata().GetArtifactIds(), Principal: spec.GetMetadata().Principal, LaunchPlanId: spec.LaunchPlan, diff --git a/flyteadmin/pkg/manager/impl/exec_manager_other_test.go b/flyteadmin/pkg/manager/impl/exec_manager_other_test.go index 35b8e14d5b..2534d4055f 100644 --- a/flyteadmin/pkg/manager/impl/exec_manager_other_test.go +++ b/flyteadmin/pkg/manager/impl/exec_manager_other_test.go @@ -54,12 +54,16 @@ func TestTrackingBitExtract(t *testing.T) { }, } - trackers := execManager.ExtractArtifactKeys(&lit) + var trackers = make(map[string]string) + execManager.ExtractArtifactTrackers(trackers, &lit) assert.Equal(t, 1, len(trackers)) - trackers = execManager.ExtractArtifactKeys(&core.Literal{Value: &core.Literal_Map{Map: &inputMap}}) + trackers = make(map[string]string) + execManager.ExtractArtifactTrackers(trackers, &core.Literal{Value: &core.Literal_Map{Map: &inputMap}}) assert.Equal(t, 1, len(trackers)) - trackers = execManager.ExtractArtifactKeys(&core.Literal{Value: &core.Literal_Collection{Collection: &inputColl}}) + + trackers = make(map[string]string) + execManager.ExtractArtifactTrackers(trackers, &core.Literal{Value: &core.Literal_Collection{Collection: &inputColl}}) assert.Equal(t, 1, len(trackers)) - assert.Equal(t, "proj/domain/name@version", trackers[0]) + assert.Equal(t, "", trackers["proj/domain/name@version"]) } diff --git a/flyteadmin/pkg/manager/impl/execution_manager.go b/flyteadmin/pkg/manager/impl/execution_manager.go index db02fabf07..dc36a308c4 100644 --- a/flyteadmin/pkg/manager/impl/execution_manager.go +++ b/flyteadmin/pkg/manager/impl/execution_manager.go @@ -47,6 +47,7 @@ import ( ) const childContainerQueueKey = "child_queue" +const artifactTrackerKey = "_ua" // Map of [project] -> map of [domain] -> stop watch type projectDomainScopedStopWatchMap = map[string]map[string]*promutils.StopWatch @@ -700,31 +701,26 @@ func resolveSecurityCtx(ctx context.Context, executionConfigSecurityCtx *core.Se } } -// ExtractArtifactKeys pulls out artifact keys from Literals for lineage -// todo: rename this function to be less confusing -func (m *ExecutionManager) ExtractArtifactKeys(input *core.Literal) []string { - var artifactKeys []string +// ExtractArtifactTrackers pulls out artifact tracker strings from Literals for lineage +func (m *ExecutionManager) ExtractArtifactTrackers(artifactTrackers map[string]string, input *core.Literal) { if input == nil { - return artifactKeys + return } if input.GetMetadata() != nil { - if artifactKey, ok := input.GetMetadata()["_ua"]; ok { - artifactKeys = append(artifactKeys, artifactKey) + if tracker, ok := input.GetMetadata()[artifactTrackerKey]; ok { + artifactTrackers[tracker] = "" } } if input.GetCollection() != nil { for _, v := range input.GetCollection().Literals { - mapKeys := m.ExtractArtifactKeys(v) - artifactKeys = append(artifactKeys, mapKeys...) + m.ExtractArtifactTrackers(artifactTrackers, v) } } else if input.GetMap() != nil { for _, v := range input.GetMap().Literals { - mapKeys := m.ExtractArtifactKeys(v) - artifactKeys = append(artifactKeys, mapKeys...) + m.ExtractArtifactTrackers(artifactTrackers, v) } } - return artifactKeys } // getStringFromInput should be called when a tag or partition value is a binding to an input. the input is looked up @@ -976,7 +972,7 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( // TODO: Artifact feature gate, remove when ready var lpExpectedInputs *core.ParameterMap - var artifactTrackers []string + var artifactTrackers = make(map[string]string) var usedArtifactIDs []*core.ArtifactID if m.artifactRegistry.GetClient() != nil { // Literals may have an artifact key in the metadata field. This is something the artifact service should have @@ -988,9 +984,8 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( fixedInputMap := &core.Literal{ Value: &core.Literal_Map{Map: launchPlan.Spec.FixedInputs}, } - artifactTrackers = m.ExtractArtifactKeys(requestInputMap) - fixedInputArtifactKeys := m.ExtractArtifactKeys(fixedInputMap) - artifactTrackers = append(artifactTrackers, fixedInputArtifactKeys...) + m.ExtractArtifactTrackers(artifactTrackers, requestInputMap) + m.ExtractArtifactTrackers(artifactTrackers, fixedInputMap) // Put together the inputs that we've already resolved so that the artifact querying bit can fill them in. // This is to support artifact queries that depend on other inputs using the {{ .inputs.var }} construct. @@ -1018,7 +1013,7 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( } logger.Debugf(ctx, "Resolved launch plan closure expected inputs from [%+v] to [%+v]", launchPlan.Closure.ExpectedInputs, lpExpectedInputs) - logger.Debugf(ctx, "Found artifact keys: %v", artifactTrackers) + logger.Debugf(ctx, "Found artifact trackers: %v", artifactTrackers) logger.Debugf(ctx, "Found artifact IDs: %v", usedArtifactIDs) } else { @@ -1173,6 +1168,7 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( // Publish of event is also gated on the artifact client being available, even though it's not directly required. // TODO: Artifact feature gate, remove when ready if m.artifactRegistry.GetClient() != nil { + // TODO: Add principal m.publishExecutionStart(ctx, workflowExecutionID, request.Spec.LaunchPlan, workflow.Id, artifactTrackers, usedArtifactIDs) } @@ -1227,17 +1223,23 @@ func (m *ExecutionManager) launchExecutionAndPrepareModel( // publishExecutionStart is an event that Admin publishes for artifact lineage. func (m *ExecutionManager) publishExecutionStart(ctx context.Context, executionID core.WorkflowExecutionIdentifier, - launchPlanID *core.Identifier, workflowID *core.Identifier, inputArtifactKeys []string, usedArtifactIDs []*core.ArtifactID) { + launchPlanID *core.Identifier, workflowID *core.Identifier, artifactTrackers map[string]string, usedArtifactIDs []*core.ArtifactID) { + + var artifactTrackerList []string + // Use a list instead of the fake set + for k := range artifactTrackers { + artifactTrackerList = append(artifactTrackerList, k) + } - if len(inputArtifactKeys) > 0 || len(usedArtifactIDs) > 0 { - logger.Debugf(ctx, "Sending execution start event for execution [%+v] with input artifact keys [%+v] and used artifact ids [%+v]", executionID, inputArtifactKeys, usedArtifactIDs) + if len(artifactTrackerList) > 0 || len(usedArtifactIDs) > 0 { + logger.Debugf(ctx, "Sending execution start event for execution [%+v] with trackers [%+v] and artifact ids [%+v]", executionID, artifactTrackerList, usedArtifactIDs) request := event.CloudEventExecutionStart{ - ExecutionId: &executionID, - LaunchPlanId: launchPlanID, - WorkflowId: workflowID, - ArtifactIds: usedArtifactIDs, - ArtifactKeys: inputArtifactKeys, + ExecutionId: &executionID, + LaunchPlanId: launchPlanID, + WorkflowId: workflowID, + ArtifactIds: usedArtifactIDs, + ArtifactTrackers: artifactTrackerList, } go func() { ceCtx := context.TODO() diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc index bcf5f3f71a..80aff7ed55 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.cc @@ -24,7 +24,7 @@ static const char* ArtifactRegistry_method_names[] = { "/flyteidl.artifact.ArtifactRegistry/GetArtifact", "/flyteidl.artifact.ArtifactRegistry/SearchArtifacts", "/flyteidl.artifact.ArtifactRegistry/CreateTrigger", - "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", + "/flyteidl.artifact.ArtifactRegistry/DeactivateTrigger", "/flyteidl.artifact.ArtifactRegistry/AddTag", "/flyteidl.artifact.ArtifactRegistry/RegisterProducer", "/flyteidl.artifact.ArtifactRegistry/RegisterConsumer", @@ -43,7 +43,7 @@ ArtifactRegistry::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& c , rpcmethod_GetArtifact_(ArtifactRegistry_method_names[1], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_SearchArtifacts_(ArtifactRegistry_method_names[2], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_CreateTrigger_(ArtifactRegistry_method_names[3], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_DeleteTrigger_(ArtifactRegistry_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_DeactivateTrigger_(ArtifactRegistry_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_AddTag_(ArtifactRegistry_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_RegisterProducer_(ArtifactRegistry_method_names[6], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_RegisterConsumer_(ArtifactRegistry_method_names[7], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) @@ -163,32 +163,32 @@ ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::CreateTriggerResponse>::Create(channel_.get(), cq, rpcmethod_CreateTrigger_, context, request, false); } -::grpc::Status ArtifactRegistry::Stub::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) { - return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeleteTrigger_, context, request, response); +::grpc::Status ArtifactRegistry::Stub::DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::flyteidl::artifact::DeactivateTriggerResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_DeactivateTrigger_, context, request, response); } -void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, std::move(f)); +void ArtifactRegistry::Stub::experimental_async::DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeactivateTrigger_, context, request, response, std::move(f)); } -void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function f) { - ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, std::move(f)); +void ArtifactRegistry::Stub::experimental_async::DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_DeactivateTrigger_, context, request, response, std::move(f)); } -void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, reactor); +void ArtifactRegistry::Stub::experimental_async::DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeactivateTrigger_, context, request, response, reactor); } -void ArtifactRegistry::Stub::experimental_async::DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { - ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeleteTrigger_, context, request, response, reactor); +void ArtifactRegistry::Stub::experimental_async::DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_DeactivateTrigger_, context, request, response, reactor); } -::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* ArtifactRegistry::Stub::AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeleteTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTrigger_, context, request, true); +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>* ArtifactRegistry::Stub::AsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeactivateTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeactivateTrigger_, context, request, true); } -::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* ArtifactRegistry::Stub::PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeleteTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeleteTrigger_, context, request, false); +::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>* ArtifactRegistry::Stub::PrepareAsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::artifact::DeactivateTriggerResponse>::Create(channel_.get(), cq, rpcmethod_DeactivateTrigger_, context, request, false); } ::grpc::Status ArtifactRegistry::Stub::AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) { @@ -355,8 +355,8 @@ ArtifactRegistry::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( ArtifactRegistry_method_names[4], ::grpc::internal::RpcMethod::NORMAL_RPC, - new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>( - std::mem_fn(&ArtifactRegistry::Service::DeleteTrigger), this))); + new ::grpc::internal::RpcMethodHandler< ArtifactRegistry::Service, ::flyteidl::artifact::DeactivateTriggerRequest, ::flyteidl::artifact::DeactivateTriggerResponse>( + std::mem_fn(&ArtifactRegistry::Service::DeactivateTrigger), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( ArtifactRegistry_method_names[5], ::grpc::internal::RpcMethod::NORMAL_RPC, @@ -415,7 +415,7 @@ ::grpc::Status ArtifactRegistry::Service::CreateTrigger(::grpc::ServerContext* c return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } -::grpc::Status ArtifactRegistry::Service::DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) { +::grpc::Status ArtifactRegistry::Service::DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) { (void) context; (void) request; (void) response; diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h index 1fbe28eb23..8de7e34e02 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.grpc.pb.h @@ -76,12 +76,12 @@ class ArtifactRegistry final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>> PrepareAsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>>(PrepareAsyncCreateTriggerRaw(context, request, cq)); } - virtual ::grpc::Status DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) = 0; - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>> AsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>>(AsyncDeleteTriggerRaw(context, request, cq)); + virtual ::grpc::Status DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::flyteidl::artifact::DeactivateTriggerResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>> AsyncDeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>>(AsyncDeactivateTriggerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>> PrepareAsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>>(PrepareAsyncDeleteTriggerRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>> PrepareAsyncDeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>>(PrepareAsyncDeactivateTriggerRaw(context, request, cq)); } virtual ::grpc::Status AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>> AsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { @@ -137,10 +137,10 @@ class ArtifactRegistry final { virtual void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) = 0; virtual void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) = 0; - virtual void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) = 0; - virtual void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; - virtual void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function) = 0; + virtual void DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function) = 0; + virtual void DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, std::function) = 0; virtual void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, std::function) = 0; virtual void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; @@ -172,8 +172,8 @@ class ArtifactRegistry final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::SearchArtifactsResponse>* PrepareAsyncSearchArtifactsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>* AsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::CreateTriggerResponse>* PrepareAsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>* AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; - virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeleteTriggerResponse>* PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>* AsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::DeactivateTriggerResponse>* PrepareAsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>* AsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::AddTagResponse>* PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -216,12 +216,12 @@ class ArtifactRegistry final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>> PrepareAsyncCreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>>(PrepareAsyncCreateTriggerRaw(context, request, cq)); } - ::grpc::Status DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::flyteidl::artifact::DeleteTriggerResponse* response) override; - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>> AsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>>(AsyncDeleteTriggerRaw(context, request, cq)); + ::grpc::Status DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>> AsyncDeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>>(AsyncDeactivateTriggerRaw(context, request, cq)); } - std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>> PrepareAsyncDeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) { - return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>>(PrepareAsyncDeleteTriggerRaw(context, request, cq)); + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>> PrepareAsyncDeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>>(PrepareAsyncDeactivateTriggerRaw(context, request, cq)); } ::grpc::Status AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::flyteidl::artifact::AddTagResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>> AsyncAddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) { @@ -277,10 +277,10 @@ class ArtifactRegistry final { void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, std::function) override; void CreateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void CreateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) override; - void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, std::function) override; - void DeleteTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; - void DeleteTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function) override; + void DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, std::function) override; + void DeactivateTrigger(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void DeactivateTrigger(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, std::function) override; void AddTag(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::artifact::AddTagResponse* response, std::function) override; void AddTag(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; @@ -320,8 +320,8 @@ class ArtifactRegistry final { ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::SearchArtifactsResponse>* PrepareAsyncSearchArtifactsRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::SearchArtifactsRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* AsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::CreateTriggerResponse>* PrepareAsyncCreateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::CreateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* AsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) override; - ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeleteTriggerResponse>* PrepareAsyncDeleteTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeleteTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>* AsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::DeactivateTriggerResponse>* PrepareAsyncDeactivateTriggerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* AsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::AddTagResponse>* PrepareAsyncAddTagRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::AddTagRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::artifact::RegisterResponse>* AsyncRegisterProducerRaw(::grpc::ClientContext* context, const ::flyteidl::artifact::RegisterProducerRequest& request, ::grpc::CompletionQueue* cq) override; @@ -336,7 +336,7 @@ class ArtifactRegistry final { const ::grpc::internal::RpcMethod rpcmethod_GetArtifact_; const ::grpc::internal::RpcMethod rpcmethod_SearchArtifacts_; const ::grpc::internal::RpcMethod rpcmethod_CreateTrigger_; - const ::grpc::internal::RpcMethod rpcmethod_DeleteTrigger_; + const ::grpc::internal::RpcMethod rpcmethod_DeactivateTrigger_; const ::grpc::internal::RpcMethod rpcmethod_AddTag_; const ::grpc::internal::RpcMethod rpcmethod_RegisterProducer_; const ::grpc::internal::RpcMethod rpcmethod_RegisterConsumer_; @@ -353,7 +353,7 @@ class ArtifactRegistry final { virtual ::grpc::Status GetArtifact(::grpc::ServerContext* context, const ::flyteidl::artifact::GetArtifactRequest* request, ::flyteidl::artifact::GetArtifactResponse* response); virtual ::grpc::Status SearchArtifacts(::grpc::ServerContext* context, const ::flyteidl::artifact::SearchArtifactsRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response); virtual ::grpc::Status CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response); - virtual ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response); + virtual ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response); virtual ::grpc::Status AddTag(::grpc::ServerContext* context, const ::flyteidl::artifact::AddTagRequest* request, ::flyteidl::artifact::AddTagResponse* response); virtual ::grpc::Status RegisterProducer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterProducerRequest* request, ::flyteidl::artifact::RegisterResponse* response); virtual ::grpc::Status RegisterConsumer(::grpc::ServerContext* context, const ::flyteidl::artifact::RegisterConsumerRequest* request, ::flyteidl::artifact::RegisterResponse* response); @@ -441,22 +441,22 @@ class ArtifactRegistry final { } }; template - class WithAsyncMethod_DeleteTrigger : public BaseClass { + class WithAsyncMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - WithAsyncMethod_DeleteTrigger() { + WithAsyncMethod_DeactivateTrigger() { ::grpc::Service::MarkMethodAsync(4); } - ~WithAsyncMethod_DeleteTrigger() override { + ~WithAsyncMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestDeleteTrigger(::grpc::ServerContext* context, ::flyteidl::artifact::DeleteTriggerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::DeleteTriggerResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestDeactivateTrigger(::grpc::ServerContext* context, ::flyteidl::artifact::DeactivateTriggerRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::artifact::DeactivateTriggerResponse>* 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); } }; @@ -560,7 +560,7 @@ class ArtifactRegistry final { ::grpc::Service::RequestAsyncUnary(9, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CreateArtifact > > > > > > > > > AsyncService; + typedef WithAsyncMethod_CreateArtifact > > > > > > > > > AsyncService; template class ExperimentalWithCallbackMethod_CreateArtifact : public BaseClass { private: @@ -686,35 +686,35 @@ class ArtifactRegistry final { virtual void CreateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::CreateTriggerRequest* request, ::flyteidl::artifact::CreateTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template - class ExperimentalWithCallbackMethod_DeleteTrigger : public BaseClass { + class ExperimentalWithCallbackMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - ExperimentalWithCallbackMethod_DeleteTrigger() { + ExperimentalWithCallbackMethod_DeactivateTrigger() { ::grpc::Service::experimental().MarkMethodCallback(4, - new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>( + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeactivateTriggerRequest, ::flyteidl::artifact::DeactivateTriggerResponse>( [this](::grpc::ServerContext* context, - const ::flyteidl::artifact::DeleteTriggerRequest* request, - ::flyteidl::artifact::DeleteTriggerResponse* response, + const ::flyteidl::artifact::DeactivateTriggerRequest* request, + ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { - return this->DeleteTrigger(context, request, response, controller); + return this->DeactivateTrigger(context, request, response, controller); })); } - void SetMessageAllocatorFor_DeleteTrigger( - ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>* allocator) { - static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>*>( + void SetMessageAllocatorFor_DeactivateTrigger( + ::grpc::experimental::MessageAllocator< ::flyteidl::artifact::DeactivateTriggerRequest, ::flyteidl::artifact::DeactivateTriggerResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::artifact::DeactivateTriggerRequest, ::flyteidl::artifact::DeactivateTriggerResponse>*>( ::grpc::Service::experimental().GetHandler(4)) ->SetMessageAllocator(allocator); } - ~ExperimentalWithCallbackMethod_DeleteTrigger() override { + ~ExperimentalWithCallbackMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual void DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + virtual void DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template class ExperimentalWithCallbackMethod_AddTag : public BaseClass { @@ -871,7 +871,7 @@ class ArtifactRegistry final { } virtual void FindByWorkflowExec(::grpc::ServerContext* context, const ::flyteidl::artifact::FindByWorkflowExecRequest* request, ::flyteidl::artifact::SearchArtifactsResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; - typedef ExperimentalWithCallbackMethod_CreateArtifact > > > > > > > > > ExperimentalCallbackService; + typedef ExperimentalWithCallbackMethod_CreateArtifact > > > > > > > > > ExperimentalCallbackService; template class WithGenericMethod_CreateArtifact : public BaseClass { private: @@ -941,18 +941,18 @@ class ArtifactRegistry final { } }; template - class WithGenericMethod_DeleteTrigger : public BaseClass { + class WithGenericMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - WithGenericMethod_DeleteTrigger() { + WithGenericMethod_DeactivateTrigger() { ::grpc::Service::MarkMethodGeneric(4); } - ~WithGenericMethod_DeleteTrigger() override { + ~WithGenericMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } @@ -1123,22 +1123,22 @@ class ArtifactRegistry final { } }; template - class WithRawMethod_DeleteTrigger : public BaseClass { + class WithRawMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - WithRawMethod_DeleteTrigger() { + WithRawMethod_DeactivateTrigger() { ::grpc::Service::MarkMethodRaw(4); } - ~WithRawMethod_DeleteTrigger() override { + ~WithRawMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - void RequestDeleteTrigger(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + void RequestDeactivateTrigger(::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); } }; @@ -1343,29 +1343,29 @@ class ArtifactRegistry final { virtual void CreateTrigger(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template - class ExperimentalWithRawCallbackMethod_DeleteTrigger : public BaseClass { + class ExperimentalWithRawCallbackMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - ExperimentalWithRawCallbackMethod_DeleteTrigger() { + ExperimentalWithRawCallbackMethod_DeactivateTrigger() { ::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->DeleteTrigger(context, request, response, controller); + this->DeactivateTrigger(context, request, response, controller); })); } - ~ExperimentalWithRawCallbackMethod_DeleteTrigger() override { + ~ExperimentalWithRawCallbackMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable synchronous version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } - virtual void DeleteTrigger(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + virtual void DeactivateTrigger(::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 { @@ -1573,24 +1573,24 @@ class ArtifactRegistry final { virtual ::grpc::Status StreamedCreateTrigger(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::CreateTriggerRequest,::flyteidl::artifact::CreateTriggerResponse>* server_unary_streamer) = 0; }; template - class WithStreamedUnaryMethod_DeleteTrigger : public BaseClass { + class WithStreamedUnaryMethod_DeactivateTrigger : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: - WithStreamedUnaryMethod_DeleteTrigger() { + WithStreamedUnaryMethod_DeactivateTrigger() { ::grpc::Service::MarkMethodStreamed(4, - new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::DeleteTriggerRequest, ::flyteidl::artifact::DeleteTriggerResponse>(std::bind(&WithStreamedUnaryMethod_DeleteTrigger::StreamedDeleteTrigger, this, std::placeholders::_1, std::placeholders::_2))); + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::artifact::DeactivateTriggerRequest, ::flyteidl::artifact::DeactivateTriggerResponse>(std::bind(&WithStreamedUnaryMethod_DeactivateTrigger::StreamedDeactivateTrigger, this, std::placeholders::_1, std::placeholders::_2))); } - ~WithStreamedUnaryMethod_DeleteTrigger() override { + ~WithStreamedUnaryMethod_DeactivateTrigger() override { BaseClassMustBeDerivedFromService(this); } // disable regular version of this method - ::grpc::Status DeleteTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeleteTriggerRequest* request, ::flyteidl::artifact::DeleteTriggerResponse* response) override { + ::grpc::Status DeactivateTrigger(::grpc::ServerContext* context, const ::flyteidl::artifact::DeactivateTriggerRequest* request, ::flyteidl::artifact::DeactivateTriggerResponse* response) override { abort(); return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } // replace default version of method with streamed unary - virtual ::grpc::Status StreamedDeleteTrigger(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::DeleteTriggerRequest,::flyteidl::artifact::DeleteTriggerResponse>* server_unary_streamer) = 0; + virtual ::grpc::Status StreamedDeactivateTrigger(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::DeactivateTriggerRequest,::flyteidl::artifact::DeactivateTriggerResponse>* server_unary_streamer) = 0; }; template class WithStreamedUnaryMethod_AddTag : public BaseClass { @@ -1692,9 +1692,9 @@ class ArtifactRegistry final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedFindByWorkflowExec(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::artifact::FindByWorkflowExecRequest,::flyteidl::artifact::SearchArtifactsResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateArtifact > > > > > > > > > StreamedService; }; } // namespace artifact diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc index 230d0b093a..8ad1843781 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc @@ -101,14 +101,14 @@ class CreateTriggerResponseDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; } _CreateTriggerResponse_default_instance_; -class DeleteTriggerRequestDefaultTypeInternal { +class DeactivateTriggerRequestDefaultTypeInternal { public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DeleteTriggerRequest_default_instance_; -class DeleteTriggerResponseDefaultTypeInternal { + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DeactivateTriggerRequest_default_instance_; +class DeactivateTriggerResponseDefaultTypeInternal { public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _DeleteTriggerResponse_default_instance_; + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DeactivateTriggerResponse_default_instance_; class ArtifactProducerDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; @@ -384,34 +384,34 @@ static void InitDefaultsCreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2e ::google::protobuf::internal::SCCInfo<0> scc_info_CreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsCreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; -static void InitDefaultsDeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { +static void InitDefaultsDeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { - void* ptr = &::flyteidl::artifact::_DeleteTriggerRequest_default_instance_; - new (ptr) ::flyteidl::artifact::DeleteTriggerRequest(); + void* ptr = &::flyteidl::artifact::_DeactivateTriggerRequest_default_instance_; + new (ptr) ::flyteidl::artifact::DeactivateTriggerRequest(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::flyteidl::artifact::DeleteTriggerRequest::InitAsDefaultInstance(); + ::flyteidl::artifact::DeactivateTriggerRequest::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<1> scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { +::google::protobuf::internal::SCCInfo<1> scc_info_DeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto}, { &scc_info_Identifier_flyteidl_2fcore_2fidentifier_2eproto.base,}}; -static void InitDefaultsDeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto() { +static void InitDefaultsDeactivateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { - void* ptr = &::flyteidl::artifact::_DeleteTriggerResponse_default_instance_; - new (ptr) ::flyteidl::artifact::DeleteTriggerResponse(); + void* ptr = &::flyteidl::artifact::_DeactivateTriggerResponse_default_instance_; + new (ptr) ::flyteidl::artifact::DeactivateTriggerResponse(); ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); } - ::flyteidl::artifact::DeleteTriggerResponse::InitAsDefaultInstance(); + ::flyteidl::artifact::DeactivateTriggerResponse::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<0> scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; +::google::protobuf::internal::SCCInfo<0> scc_info_DeactivateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDeactivateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto}, {}}; static void InitDefaultsArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -536,8 +536,8 @@ void InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto() { ::google::protobuf::internal::InitSCC(&scc_info_AddTagResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_CreateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_CreateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); - ::google::protobuf::internal::InitSCC(&scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DeactivateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ArtifactProducer_flyteidl_2fartifact_2fartifacts_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_RegisterProducerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ArtifactConsumer_flyteidl_2fartifact_2fartifacts_2eproto.base); @@ -678,13 +678,13 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fartifact_2fartifacts_2ep ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerRequest, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeactivateTriggerRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerRequest, trigger_id_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeactivateTriggerRequest, trigger_id_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeleteTriggerResponse, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::flyteidl::artifact::DeactivateTriggerResponse, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ @@ -749,8 +749,8 @@ static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SE { 109, -1, sizeof(::flyteidl::artifact::AddTagResponse)}, { 114, -1, sizeof(::flyteidl::artifact::CreateTriggerRequest)}, { 120, -1, sizeof(::flyteidl::artifact::CreateTriggerResponse)}, - { 125, -1, sizeof(::flyteidl::artifact::DeleteTriggerRequest)}, - { 131, -1, sizeof(::flyteidl::artifact::DeleteTriggerResponse)}, + { 125, -1, sizeof(::flyteidl::artifact::DeactivateTriggerRequest)}, + { 131, -1, sizeof(::flyteidl::artifact::DeactivateTriggerResponse)}, { 136, -1, sizeof(::flyteidl::artifact::ArtifactProducer)}, { 143, -1, sizeof(::flyteidl::artifact::RegisterProducerRequest)}, { 149, -1, sizeof(::flyteidl::artifact::ArtifactConsumer)}, @@ -777,8 +777,8 @@ static ::google::protobuf::Message const * const file_default_instances[] = { reinterpret_cast(&::flyteidl::artifact::_AddTagResponse_default_instance_), reinterpret_cast(&::flyteidl::artifact::_CreateTriggerRequest_default_instance_), reinterpret_cast(&::flyteidl::artifact::_CreateTriggerResponse_default_instance_), - reinterpret_cast(&::flyteidl::artifact::_DeleteTriggerRequest_default_instance_), - reinterpret_cast(&::flyteidl::artifact::_DeleteTriggerResponse_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_DeactivateTriggerRequest_default_instance_), + reinterpret_cast(&::flyteidl::artifact::_DeactivateTriggerResponse_default_instance_), reinterpret_cast(&::flyteidl::artifact::_ArtifactProducer_default_instance_), reinterpret_cast(&::flyteidl::artifact::_RegisterProducerRequest_default_instance_), reinterpret_cast(&::flyteidl::artifact::_ArtifactConsumer_default_instance_), @@ -851,78 +851,79 @@ const char descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto[] = "\r\n\005value\030\002 \001(\t\022\021\n\toverwrite\030\003 \001(\010\"\020\n\016Add" "TagResponse\"O\n\024CreateTriggerRequest\0227\n\023t" "rigger_launch_plan\030\001 \001(\0132\032.flyteidl.admi" - "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"E\n" - "\024DeleteTriggerRequest\022-\n\ntrigger_id\030\001 \001(" - "\0132\031.flyteidl.core.Identifier\"\027\n\025DeleteTr" - "iggerResponse\"m\n\020ArtifactProducer\022,\n\tent" - "ity_id\030\001 \001(\0132\031.flyteidl.core.Identifier\022" - "+\n\007outputs\030\002 \001(\0132\032.flyteidl.core.Variabl" - "eMap\"Q\n\027RegisterProducerRequest\0226\n\tprodu" - "cers\030\001 \003(\0132#.flyteidl.artifact.ArtifactP" - "roducer\"m\n\020ArtifactConsumer\022,\n\tentity_id" - "\030\001 \001(\0132\031.flyteidl.core.Identifier\022+\n\006inp" - "uts\030\002 \001(\0132\033.flyteidl.core.ParameterMap\"Q" - "\n\027RegisterConsumerRequest\0226\n\tconsumers\030\001" - " \003(\0132#.flyteidl.artifact.ArtifactConsume" - "r\"\022\n\020RegisterResponse\"\205\001\n\026ExecutionInput" - "sRequest\022@\n\014execution_id\030\001 \001(\0132*.flyteid" - "l.core.WorkflowExecutionIdentifier\022)\n\006in" - "puts\030\002 \003(\0132\031.flyteidl.core.ArtifactID\"\031\n" - "\027ExecutionInputsResponse2\327\016\n\020ArtifactReg" - "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" - "act.CreateArtifactRequest\032).flyteidl.art" - "ifact.CreateArtifactResponse\"\000\022\205\005\n\013GetAr" - "tifact\022%.flyteidl.artifact.GetArtifactRe" - "quest\032&.flyteidl.artifact.GetArtifactRes" - "ponse\"\246\004\202\323\344\223\002\237\004\022 /artifacts/api/v1/data/" - "artifactsZ\270\001\022\265\001/artifacts/api/v1/data/ar" - "tifact/id/{query.artifact_id.artifact_ke" - "y.project}/{query.artifact_id.artifact_k" - "ey.domain}/{query.artifact_id.artifact_k" - "ey.name}/{query.artifact_id.version}Z\234\001\022" - "\231\001/artifacts/api/v1/data/artifact/id/{qu" - "ery.artifact_id.artifact_key.project}/{q" - "uery.artifact_id.artifact_key.domain}/{q" - "uery.artifact_id.artifact_key.name}Z\240\001\022\235" - "\001/artifacts/api/v1/data/artifact/tag/{qu" - "ery.artifact_tag.artifact_key.project}/{" - "query.artifact_tag.artifact_key.domain}/" - "{query.artifact_tag.artifact_key.name}\022\240" - "\002\n\017SearchArtifacts\022).flyteidl.artifact.S" - "earchArtifactsRequest\032*.flyteidl.artifac" - "t.SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/ar" - "tifacts/api/v1/data/query/s/{artifact_ke" - "y.project}/{artifact_key.domain}/{artifa" - "ct_key.name}ZK\022I/artifacts/api/v1/data/q" - "uery/{artifact_key.project}/{artifact_ke" - "y.domain}\022d\n\rCreateTrigger\022\'.flyteidl.ar" - "tifact.CreateTriggerRequest\032(.flyteidl.a" - "rtifact.CreateTriggerResponse\"\000\022d\n\rDelet" - "eTrigger\022\'.flyteidl.artifact.DeleteTrigg" - "erRequest\032(.flyteidl.artifact.DeleteTrig" - "gerResponse\"\000\022O\n\006AddTag\022 .flyteidl.artif" - "act.AddTagRequest\032!.flyteidl.artifact.Ad" - "dTagResponse\"\000\022e\n\020RegisterProducer\022*.fly" - "teidl.artifact.RegisterProducerRequest\032#" - ".flyteidl.artifact.RegisterResponse\"\000\022e\n" - "\020RegisterConsumer\022*.flyteidl.artifact.Re" - "gisterConsumerRequest\032#.flyteidl.artifac" - "t.RegisterResponse\"\000\022m\n\022SetExecutionInpu" - "ts\022).flyteidl.artifact.ExecutionInputsRe" - "quest\032*.flyteidl.artifact.ExecutionInput" - "sResponse\"\000\022\324\001\n\022FindByWorkflowExec\022,.fly" - "teidl.artifact.FindByWorkflowExecRequest" - "\032*.flyteidl.artifact.SearchArtifactsResp" - "onse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/que" - "ry/e/{exec_id.project}/{exec_id.domain}/" - "{exec_id.name}/{direction}B@Z>github.com" - "/flyteorg/flyte/flyteidl/gen/pb-go/flyte" - "idl/artifactb\006proto3" + "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"I\n" + "\030DeactivateTriggerRequest\022-\n\ntrigger_id\030" + "\001 \001(\0132\031.flyteidl.core.Identifier\"\033\n\031Deac" + "tivateTriggerResponse\"m\n\020ArtifactProduce" + "r\022,\n\tentity_id\030\001 \001(\0132\031.flyteidl.core.Ide" + "ntifier\022+\n\007outputs\030\002 \001(\0132\032.flyteidl.core" + ".VariableMap\"Q\n\027RegisterProducerRequest\022" + "6\n\tproducers\030\001 \003(\0132#.flyteidl.artifact.A" + "rtifactProducer\"m\n\020ArtifactConsumer\022,\n\te" + "ntity_id\030\001 \001(\0132\031.flyteidl.core.Identifie" + "r\022+\n\006inputs\030\002 \001(\0132\033.flyteidl.core.Parame" + "terMap\"Q\n\027RegisterConsumerRequest\0226\n\tcon" + "sumers\030\001 \003(\0132#.flyteidl.artifact.Artifac" + "tConsumer\"\022\n\020RegisterResponse\"\205\001\n\026Execut" + "ionInputsRequest\022@\n\014execution_id\030\001 \001(\0132*" + ".flyteidl.core.WorkflowExecutionIdentifi" + "er\022)\n\006inputs\030\002 \003(\0132\031.flyteidl.core.Artif" + "actID\"\031\n\027ExecutionInputsResponse2\371\016\n\020Art" + "ifactRegistry\022g\n\016CreateArtifact\022(.flytei" + "dl.artifact.CreateArtifactRequest\032).flyt" + "eidl.artifact.CreateArtifactResponse\"\000\022\361" + "\004\n\013GetArtifact\022%.flyteidl.artifact.GetAr" + "tifactRequest\032&.flyteidl.artifact.GetArt" + "ifactResponse\"\222\004\202\323\344\223\002\213\004\022\033/artifacts/api/" + "v1/artifactsZ\263\001\022\260\001/artifacts/api/v1/arti" + "fact/id/{query.artifact_id.artifact_key." + "project}/{query.artifact_id.artifact_key" + ".domain}/{query.artifact_id.artifact_key" + ".name}/{query.artifact_id.version}Z\227\001\022\224\001" + "/artifacts/api/v1/artifact/id/{query.art" + "ifact_id.artifact_key.project}/{query.ar" + "tifact_id.artifact_key.domain}/{query.ar" + "tifact_id.artifact_key.name}Z\233\001\022\230\001/artif" + "acts/api/v1/artifact/tag/{query.artifact" + "_tag.artifact_key.project}/{query.artifa" + "ct_tag.artifact_key.domain}/{query.artif" + "act_tag.artifact_key.name}\022\226\002\n\017SearchArt" + "ifacts\022).flyteidl.artifact.SearchArtifac" + "tsRequest\032*.flyteidl.artifact.SearchArti" + "factsResponse\"\253\001\202\323\344\223\002\244\001\022Y/artifacts/api/" + "v1/search/{artifact_key.project}/{artifa" + "ct_key.domain}/{artifact_key.name}ZG\022E/a" + "rtifacts/api/v1/search/{artifact_key.pro" + "ject}/{artifact_key.domain}\022d\n\rCreateTri" + "gger\022\'.flyteidl.artifact.CreateTriggerRe" + "quest\032(.flyteidl.artifact.CreateTriggerR" + "esponse\"\000\022\237\001\n\021DeactivateTrigger\022+.flytei" + "dl.artifact.DeactivateTriggerRequest\032,.f" + "lyteidl.artifact.DeactivateTriggerRespon" + "se\"/\202\323\344\223\002)2$/artifacts/api/v1/trigger/de" + "activate:\001*\022O\n\006AddTag\022 .flyteidl.artifac" + "t.AddTagRequest\032!.flyteidl.artifact.AddT" + "agResponse\"\000\022e\n\020RegisterProducer\022*.flyte" + "idl.artifact.RegisterProducerRequest\032#.f" + "lyteidl.artifact.RegisterResponse\"\000\022e\n\020R" + "egisterConsumer\022*.flyteidl.artifact.Regi" + "sterConsumerRequest\032#.flyteidl.artifact." + "RegisterResponse\"\000\022m\n\022SetExecutionInputs" + "\022).flyteidl.artifact.ExecutionInputsRequ" + "est\032*.flyteidl.artifact.ExecutionInputsR" + "esponse\"\000\022\330\001\n\022FindByWorkflowExec\022,.flyte" + "idl.artifact.FindByWorkflowExecRequest\032*" + ".flyteidl.artifact.SearchArtifactsRespon" + "se\"h\202\323\344\223\002b\022`/artifacts/api/v1/search/exe" + "cution/{exec_id.project}/{exec_id.domain" + "}/{exec_id.name}/{direction}B@Z>github.c" + "om/flyteorg/flyte/flyteidl/gen/pb-go/fly" + "teidl/artifactb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fartifact_2fartifacts_2eproto = { false, InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto, descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto, - "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4900, + "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4942, }; void AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto() { @@ -7137,35 +7138,35 @@ ::google::protobuf::Metadata CreateTriggerResponse::GetMetadata() const { // =================================================================== -void DeleteTriggerRequest::InitAsDefaultInstance() { - ::flyteidl::artifact::_DeleteTriggerRequest_default_instance_._instance.get_mutable()->trigger_id_ = const_cast< ::flyteidl::core::Identifier*>( +void DeactivateTriggerRequest::InitAsDefaultInstance() { + ::flyteidl::artifact::_DeactivateTriggerRequest_default_instance_._instance.get_mutable()->trigger_id_ = const_cast< ::flyteidl::core::Identifier*>( ::flyteidl::core::Identifier::internal_default_instance()); } -class DeleteTriggerRequest::HasBitSetters { +class DeactivateTriggerRequest::HasBitSetters { public: - static const ::flyteidl::core::Identifier& trigger_id(const DeleteTriggerRequest* msg); + static const ::flyteidl::core::Identifier& trigger_id(const DeactivateTriggerRequest* msg); }; const ::flyteidl::core::Identifier& -DeleteTriggerRequest::HasBitSetters::trigger_id(const DeleteTriggerRequest* msg) { +DeactivateTriggerRequest::HasBitSetters::trigger_id(const DeactivateTriggerRequest* msg) { return *msg->trigger_id_; } -void DeleteTriggerRequest::clear_trigger_id() { +void DeactivateTriggerRequest::clear_trigger_id() { if (GetArenaNoVirtual() == nullptr && trigger_id_ != nullptr) { delete trigger_id_; } trigger_id_ = nullptr; } #if !defined(_MSC_VER) || _MSC_VER >= 1900 -const int DeleteTriggerRequest::kTriggerIdFieldNumber; +const int DeactivateTriggerRequest::kTriggerIdFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -DeleteTriggerRequest::DeleteTriggerRequest() +DeactivateTriggerRequest::DeactivateTriggerRequest() : ::google::protobuf::Message(), _internal_metadata_(nullptr) { SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(constructor:flyteidl.artifact.DeactivateTriggerRequest) } -DeleteTriggerRequest::DeleteTriggerRequest(const DeleteTriggerRequest& from) +DeactivateTriggerRequest::DeactivateTriggerRequest(const DeactivateTriggerRequest& from) : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); @@ -7174,35 +7175,35 @@ DeleteTriggerRequest::DeleteTriggerRequest(const DeleteTriggerRequest& from) } else { trigger_id_ = nullptr; } - // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeactivateTriggerRequest) } -void DeleteTriggerRequest::SharedCtor() { +void DeactivateTriggerRequest::SharedCtor() { ::google::protobuf::internal::InitSCC( - &scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); + &scc_info_DeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); trigger_id_ = nullptr; } -DeleteTriggerRequest::~DeleteTriggerRequest() { - // @@protoc_insertion_point(destructor:flyteidl.artifact.DeleteTriggerRequest) +DeactivateTriggerRequest::~DeactivateTriggerRequest() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.DeactivateTriggerRequest) SharedDtor(); } -void DeleteTriggerRequest::SharedDtor() { +void DeactivateTriggerRequest::SharedDtor() { if (this != internal_default_instance()) delete trigger_id_; } -void DeleteTriggerRequest::SetCachedSize(int size) const { +void DeactivateTriggerRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } -const DeleteTriggerRequest& DeleteTriggerRequest::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DeleteTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); +const DeactivateTriggerRequest& DeactivateTriggerRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeactivateTriggerRequest_flyteidl_2fartifact_2fartifacts_2eproto.base); return *internal_default_instance(); } -void DeleteTriggerRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeleteTriggerRequest) +void DeactivateTriggerRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeactivateTriggerRequest) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7215,9 +7216,9 @@ void DeleteTriggerRequest::Clear() { } #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DeleteTriggerRequest::_InternalParse(const char* begin, const char* end, void* object, +const char* DeactivateTriggerRequest::_InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); + auto msg = static_cast(object); ::google::protobuf::int32 size; (void)size; int depth; (void)depth; ::google::protobuf::uint32 tag; @@ -7260,11 +7261,11 @@ const char* DeleteTriggerRequest::_InternalParse(const char* begin, const char* {parser_till_end, object}, size); } #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool DeleteTriggerRequest::MergePartialFromCodedStream( +bool DeactivateTriggerRequest::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeactivateTriggerRequest) for (;;) { ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; @@ -7293,18 +7294,18 @@ bool DeleteTriggerRequest::MergePartialFromCodedStream( } } success: - // @@protoc_insertion_point(parse_success:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(parse_success:flyteidl.artifact.DeactivateTriggerRequest) return true; failure: - // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeactivateTriggerRequest) return false; #undef DO_ } #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -void DeleteTriggerRequest::SerializeWithCachedSizes( +void DeactivateTriggerRequest::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeactivateTriggerRequest) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7318,12 +7319,12 @@ void DeleteTriggerRequest::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } - // @@protoc_insertion_point(serialize_end:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.DeactivateTriggerRequest) } -::google::protobuf::uint8* DeleteTriggerRequest::InternalSerializeWithCachedSizesToArray( +::google::protobuf::uint8* DeactivateTriggerRequest::InternalSerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeactivateTriggerRequest) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7338,12 +7339,12 @@ ::google::protobuf::uint8* DeleteTriggerRequest::InternalSerializeWithCachedSize target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.DeactivateTriggerRequest) return target; } -size_t DeleteTriggerRequest::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeleteTriggerRequest) +size_t DeactivateTriggerRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeactivateTriggerRequest) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { @@ -7367,23 +7368,23 @@ size_t DeleteTriggerRequest::ByteSizeLong() const { return total_size; } -void DeleteTriggerRequest::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeleteTriggerRequest) +void DeactivateTriggerRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeactivateTriggerRequest) GOOGLE_DCHECK_NE(&from, this); - const DeleteTriggerRequest* source = - ::google::protobuf::DynamicCastToGenerated( + const DeactivateTriggerRequest* source = + ::google::protobuf::DynamicCastToGenerated( &from); if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeactivateTriggerRequest) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeactivateTriggerRequest) MergeFrom(*source); } } -void DeleteTriggerRequest::MergeFrom(const DeleteTriggerRequest& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeleteTriggerRequest) +void DeactivateTriggerRequest::MergeFrom(const DeactivateTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeactivateTriggerRequest) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; @@ -7394,35 +7395,35 @@ void DeleteTriggerRequest::MergeFrom(const DeleteTriggerRequest& from) { } } -void DeleteTriggerRequest::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeleteTriggerRequest) +void DeactivateTriggerRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeactivateTriggerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -void DeleteTriggerRequest::CopyFrom(const DeleteTriggerRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeleteTriggerRequest) +void DeactivateTriggerRequest::CopyFrom(const DeactivateTriggerRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeactivateTriggerRequest) if (&from == this) return; Clear(); MergeFrom(from); } -bool DeleteTriggerRequest::IsInitialized() const { +bool DeactivateTriggerRequest::IsInitialized() const { return true; } -void DeleteTriggerRequest::Swap(DeleteTriggerRequest* other) { +void DeactivateTriggerRequest::Swap(DeactivateTriggerRequest* other) { if (other == this) return; InternalSwap(other); } -void DeleteTriggerRequest::InternalSwap(DeleteTriggerRequest* other) { +void DeactivateTriggerRequest::InternalSwap(DeactivateTriggerRequest* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); swap(trigger_id_, other->trigger_id_); } -::google::protobuf::Metadata DeleteTriggerRequest::GetMetadata() const { +::google::protobuf::Metadata DeactivateTriggerRequest::GetMetadata() const { ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; } @@ -7430,49 +7431,49 @@ ::google::protobuf::Metadata DeleteTriggerRequest::GetMetadata() const { // =================================================================== -void DeleteTriggerResponse::InitAsDefaultInstance() { +void DeactivateTriggerResponse::InitAsDefaultInstance() { } -class DeleteTriggerResponse::HasBitSetters { +class DeactivateTriggerResponse::HasBitSetters { public: }; #if !defined(_MSC_VER) || _MSC_VER >= 1900 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 -DeleteTriggerResponse::DeleteTriggerResponse() +DeactivateTriggerResponse::DeactivateTriggerResponse() : ::google::protobuf::Message(), _internal_metadata_(nullptr) { SharedCtor(); - // @@protoc_insertion_point(constructor:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(constructor:flyteidl.artifact.DeactivateTriggerResponse) } -DeleteTriggerResponse::DeleteTriggerResponse(const DeleteTriggerResponse& from) +DeactivateTriggerResponse::DeactivateTriggerResponse(const DeactivateTriggerResponse& from) : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); - // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(copy_constructor:flyteidl.artifact.DeactivateTriggerResponse) } -void DeleteTriggerResponse::SharedCtor() { +void DeactivateTriggerResponse::SharedCtor() { } -DeleteTriggerResponse::~DeleteTriggerResponse() { - // @@protoc_insertion_point(destructor:flyteidl.artifact.DeleteTriggerResponse) +DeactivateTriggerResponse::~DeactivateTriggerResponse() { + // @@protoc_insertion_point(destructor:flyteidl.artifact.DeactivateTriggerResponse) SharedDtor(); } -void DeleteTriggerResponse::SharedDtor() { +void DeactivateTriggerResponse::SharedDtor() { } -void DeleteTriggerResponse::SetCachedSize(int size) const { +void DeactivateTriggerResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } -const DeleteTriggerResponse& DeleteTriggerResponse::default_instance() { - ::google::protobuf::internal::InitSCC(&::scc_info_DeleteTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); +const DeactivateTriggerResponse& DeactivateTriggerResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DeactivateTriggerResponse_flyteidl_2fartifact_2fartifacts_2eproto.base); return *internal_default_instance(); } -void DeleteTriggerResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeleteTriggerResponse) +void DeactivateTriggerResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.artifact.DeactivateTriggerResponse) ::google::protobuf::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7481,9 +7482,9 @@ void DeleteTriggerResponse::Clear() { } #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -const char* DeleteTriggerResponse::_InternalParse(const char* begin, const char* end, void* object, +const char* DeactivateTriggerResponse::_InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - auto msg = static_cast(object); + auto msg = static_cast(object); ::google::protobuf::int32 size; (void)size; int depth; (void)depth; ::google::protobuf::uint32 tag; @@ -7509,11 +7510,11 @@ const char* DeleteTriggerResponse::_InternalParse(const char* begin, const char* return ptr; } #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool DeleteTriggerResponse::MergePartialFromCodedStream( +bool DeactivateTriggerResponse::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(parse_start:flyteidl.artifact.DeactivateTriggerResponse) for (;;) { ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); tag = p.first; @@ -7526,18 +7527,18 @@ bool DeleteTriggerResponse::MergePartialFromCodedStream( input, tag, _internal_metadata_.mutable_unknown_fields())); } success: - // @@protoc_insertion_point(parse_success:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(parse_success:flyteidl.artifact.DeactivateTriggerResponse) return true; failure: - // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(parse_failure:flyteidl.artifact.DeactivateTriggerResponse) return false; #undef DO_ } #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -void DeleteTriggerResponse::SerializeWithCachedSizes( +void DeactivateTriggerResponse::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(serialize_start:flyteidl.artifact.DeactivateTriggerResponse) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7545,12 +7546,12 @@ void DeleteTriggerResponse::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); } - // @@protoc_insertion_point(serialize_end:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(serialize_end:flyteidl.artifact.DeactivateTriggerResponse) } -::google::protobuf::uint8* DeleteTriggerResponse::InternalSerializeWithCachedSizesToArray( +::google::protobuf::uint8* DeactivateTriggerResponse::InternalSerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.artifact.DeactivateTriggerResponse) ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; @@ -7558,12 +7559,12 @@ ::google::protobuf::uint8* DeleteTriggerResponse::InternalSerializeWithCachedSiz target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); } - // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.artifact.DeactivateTriggerResponse) return target; } -size_t DeleteTriggerResponse::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeleteTriggerResponse) +size_t DeactivateTriggerResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.artifact.DeactivateTriggerResponse) size_t total_size = 0; if (_internal_metadata_.have_unknown_fields()) { @@ -7580,23 +7581,23 @@ size_t DeleteTriggerResponse::ByteSizeLong() const { return total_size; } -void DeleteTriggerResponse::MergeFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeleteTriggerResponse) +void DeactivateTriggerResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.artifact.DeactivateTriggerResponse) GOOGLE_DCHECK_NE(&from, this); - const DeleteTriggerResponse* source = - ::google::protobuf::DynamicCastToGenerated( + const DeactivateTriggerResponse* source = + ::google::protobuf::DynamicCastToGenerated( &from); if (source == nullptr) { - // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.artifact.DeactivateTriggerResponse) ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { - // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.artifact.DeactivateTriggerResponse) MergeFrom(*source); } } -void DeleteTriggerResponse::MergeFrom(const DeleteTriggerResponse& from) { -// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeleteTriggerResponse) +void DeactivateTriggerResponse::MergeFrom(const DeactivateTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.artifact.DeactivateTriggerResponse) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::google::protobuf::uint32 cached_has_bits = 0; @@ -7604,34 +7605,34 @@ void DeleteTriggerResponse::MergeFrom(const DeleteTriggerResponse& from) { } -void DeleteTriggerResponse::CopyFrom(const ::google::protobuf::Message& from) { -// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeleteTriggerResponse) +void DeactivateTriggerResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.artifact.DeactivateTriggerResponse) if (&from == this) return; Clear(); MergeFrom(from); } -void DeleteTriggerResponse::CopyFrom(const DeleteTriggerResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeleteTriggerResponse) +void DeactivateTriggerResponse::CopyFrom(const DeactivateTriggerResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.artifact.DeactivateTriggerResponse) if (&from == this) return; Clear(); MergeFrom(from); } -bool DeleteTriggerResponse::IsInitialized() const { +bool DeactivateTriggerResponse::IsInitialized() const { return true; } -void DeleteTriggerResponse::Swap(DeleteTriggerResponse* other) { +void DeactivateTriggerResponse::Swap(DeactivateTriggerResponse* other) { if (other == this) return; InternalSwap(other); } -void DeleteTriggerResponse::InternalSwap(DeleteTriggerResponse* other) { +void DeactivateTriggerResponse::InternalSwap(DeactivateTriggerResponse* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); } -::google::protobuf::Metadata DeleteTriggerResponse::GetMetadata() const { +::google::protobuf::Metadata DeactivateTriggerResponse::GetMetadata() const { ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto); return ::file_level_metadata_flyteidl_2fartifact_2fartifacts_2eproto[kIndexInFileMessages]; } @@ -9758,11 +9759,11 @@ template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateTriggerRequest* Arena:: template<> PROTOBUF_NOINLINE ::flyteidl::artifact::CreateTriggerResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::CreateTriggerResponse >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::artifact::CreateTriggerResponse >(arena); } -template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeleteTriggerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeleteTriggerRequest >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::artifact::DeleteTriggerRequest >(arena); +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeactivateTriggerRequest* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeactivateTriggerRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::DeactivateTriggerRequest >(arena); } -template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeleteTriggerResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeleteTriggerResponse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::artifact::DeleteTriggerResponse >(arena); +template<> PROTOBUF_NOINLINE ::flyteidl::artifact::DeactivateTriggerResponse* Arena::CreateMaybeMessage< ::flyteidl::artifact::DeactivateTriggerResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::artifact::DeactivateTriggerResponse >(arena); } template<> PROTOBUF_NOINLINE ::flyteidl::artifact::ArtifactProducer* Arena::CreateMaybeMessage< ::flyteidl::artifact::ArtifactProducer >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::artifact::ArtifactProducer >(arena); diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h index bbdb47cfa8..e64c3003b5 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.h @@ -99,12 +99,12 @@ extern CreateTriggerRequestDefaultTypeInternal _CreateTriggerRequest_default_ins class CreateTriggerResponse; class CreateTriggerResponseDefaultTypeInternal; extern CreateTriggerResponseDefaultTypeInternal _CreateTriggerResponse_default_instance_; -class DeleteTriggerRequest; -class DeleteTriggerRequestDefaultTypeInternal; -extern DeleteTriggerRequestDefaultTypeInternal _DeleteTriggerRequest_default_instance_; -class DeleteTriggerResponse; -class DeleteTriggerResponseDefaultTypeInternal; -extern DeleteTriggerResponseDefaultTypeInternal _DeleteTriggerResponse_default_instance_; +class DeactivateTriggerRequest; +class DeactivateTriggerRequestDefaultTypeInternal; +extern DeactivateTriggerRequestDefaultTypeInternal _DeactivateTriggerRequest_default_instance_; +class DeactivateTriggerResponse; +class DeactivateTriggerResponseDefaultTypeInternal; +extern DeactivateTriggerResponseDefaultTypeInternal _DeactivateTriggerResponse_default_instance_; class ExecutionInputsRequest; class ExecutionInputsRequestDefaultTypeInternal; extern ExecutionInputsRequestDefaultTypeInternal _ExecutionInputsRequest_default_instance_; @@ -154,8 +154,8 @@ template<> ::flyteidl::artifact::CreateArtifactRequest_PartitionsEntry_DoNotUse* template<> ::flyteidl::artifact::CreateArtifactResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateArtifactResponse>(Arena*); template<> ::flyteidl::artifact::CreateTriggerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateTriggerRequest>(Arena*); template<> ::flyteidl::artifact::CreateTriggerResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::CreateTriggerResponse>(Arena*); -template<> ::flyteidl::artifact::DeleteTriggerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::DeleteTriggerRequest>(Arena*); -template<> ::flyteidl::artifact::DeleteTriggerResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::DeleteTriggerResponse>(Arena*); +template<> ::flyteidl::artifact::DeactivateTriggerRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::DeactivateTriggerRequest>(Arena*); +template<> ::flyteidl::artifact::DeactivateTriggerResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::DeactivateTriggerResponse>(Arena*); template<> ::flyteidl::artifact::ExecutionInputsRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::ExecutionInputsRequest>(Arena*); template<> ::flyteidl::artifact::ExecutionInputsResponse* Arena::CreateMaybeMessage<::flyteidl::artifact::ExecutionInputsResponse>(Arena*); template<> ::flyteidl::artifact::FindByWorkflowExecRequest* Arena::CreateMaybeMessage<::flyteidl::artifact::FindByWorkflowExecRequest>(Arena*); @@ -2286,25 +2286,25 @@ class CreateTriggerResponse final : }; // ------------------------------------------------------------------- -class DeleteTriggerRequest final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeleteTriggerRequest) */ { +class DeactivateTriggerRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeactivateTriggerRequest) */ { public: - DeleteTriggerRequest(); - virtual ~DeleteTriggerRequest(); + DeactivateTriggerRequest(); + virtual ~DeactivateTriggerRequest(); - DeleteTriggerRequest(const DeleteTriggerRequest& from); + DeactivateTriggerRequest(const DeactivateTriggerRequest& from); - inline DeleteTriggerRequest& operator=(const DeleteTriggerRequest& from) { + inline DeactivateTriggerRequest& operator=(const DeactivateTriggerRequest& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - DeleteTriggerRequest(DeleteTriggerRequest&& from) noexcept - : DeleteTriggerRequest() { + DeactivateTriggerRequest(DeactivateTriggerRequest&& from) noexcept + : DeactivateTriggerRequest() { *this = ::std::move(from); } - inline DeleteTriggerRequest& operator=(DeleteTriggerRequest&& from) noexcept { + inline DeactivateTriggerRequest& operator=(DeactivateTriggerRequest&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -2316,34 +2316,34 @@ class DeleteTriggerRequest final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const DeleteTriggerRequest& default_instance(); + static const DeactivateTriggerRequest& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DeleteTriggerRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteTriggerRequest_default_instance_); + static inline const DeactivateTriggerRequest* internal_default_instance() { + return reinterpret_cast( + &_DeactivateTriggerRequest_default_instance_); } static constexpr int kIndexInFileMessages = 16; - void Swap(DeleteTriggerRequest* other); - friend void swap(DeleteTriggerRequest& a, DeleteTriggerRequest& b) { + void Swap(DeactivateTriggerRequest* other); + friend void swap(DeactivateTriggerRequest& a, DeactivateTriggerRequest& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline DeleteTriggerRequest* New() const final { - return CreateMaybeMessage(nullptr); + inline DeactivateTriggerRequest* New() const final { + return CreateMaybeMessage(nullptr); } - DeleteTriggerRequest* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + DeactivateTriggerRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const DeleteTriggerRequest& from); - void MergeFrom(const DeleteTriggerRequest& from); + void CopyFrom(const DeactivateTriggerRequest& from); + void MergeFrom(const DeactivateTriggerRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -2365,7 +2365,7 @@ class DeleteTriggerRequest final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DeleteTriggerRequest* other); + void InternalSwap(DeactivateTriggerRequest* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -2390,7 +2390,7 @@ class DeleteTriggerRequest final : ::flyteidl::core::Identifier* mutable_trigger_id(); void set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id); - // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeactivateTriggerRequest) private: class HasBitSetters; @@ -2401,25 +2401,25 @@ class DeleteTriggerRequest final : }; // ------------------------------------------------------------------- -class DeleteTriggerResponse final : - public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeleteTriggerResponse) */ { +class DeactivateTriggerResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.artifact.DeactivateTriggerResponse) */ { public: - DeleteTriggerResponse(); - virtual ~DeleteTriggerResponse(); + DeactivateTriggerResponse(); + virtual ~DeactivateTriggerResponse(); - DeleteTriggerResponse(const DeleteTriggerResponse& from); + DeactivateTriggerResponse(const DeactivateTriggerResponse& from); - inline DeleteTriggerResponse& operator=(const DeleteTriggerResponse& from) { + inline DeactivateTriggerResponse& operator=(const DeactivateTriggerResponse& from) { CopyFrom(from); return *this; } #if LANG_CXX11 - DeleteTriggerResponse(DeleteTriggerResponse&& from) noexcept - : DeleteTriggerResponse() { + DeactivateTriggerResponse(DeactivateTriggerResponse&& from) noexcept + : DeactivateTriggerResponse() { *this = ::std::move(from); } - inline DeleteTriggerResponse& operator=(DeleteTriggerResponse&& from) noexcept { + inline DeactivateTriggerResponse& operator=(DeactivateTriggerResponse&& from) noexcept { if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { if (this != &from) InternalSwap(&from); } else { @@ -2431,34 +2431,34 @@ class DeleteTriggerResponse final : static const ::google::protobuf::Descriptor* descriptor() { return default_instance().GetDescriptor(); } - static const DeleteTriggerResponse& default_instance(); + static const DeactivateTriggerResponse& default_instance(); static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY - static inline const DeleteTriggerResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteTriggerResponse_default_instance_); + static inline const DeactivateTriggerResponse* internal_default_instance() { + return reinterpret_cast( + &_DeactivateTriggerResponse_default_instance_); } static constexpr int kIndexInFileMessages = 17; - void Swap(DeleteTriggerResponse* other); - friend void swap(DeleteTriggerResponse& a, DeleteTriggerResponse& b) { + void Swap(DeactivateTriggerResponse* other); + friend void swap(DeactivateTriggerResponse& a, DeactivateTriggerResponse& b) { a.Swap(&b); } // implements Message ---------------------------------------------- - inline DeleteTriggerResponse* New() const final { - return CreateMaybeMessage(nullptr); + inline DeactivateTriggerResponse* New() const final { + return CreateMaybeMessage(nullptr); } - DeleteTriggerResponse* New(::google::protobuf::Arena* arena) const final { - return CreateMaybeMessage(arena); + DeactivateTriggerResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); } void CopyFrom(const ::google::protobuf::Message& from) final; void MergeFrom(const ::google::protobuf::Message& from) final; - void CopyFrom(const DeleteTriggerResponse& from); - void MergeFrom(const DeleteTriggerResponse& from); + void CopyFrom(const DeactivateTriggerResponse& from); + void MergeFrom(const DeactivateTriggerResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; @@ -2480,7 +2480,7 @@ class DeleteTriggerResponse final : void SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(DeleteTriggerResponse* other); + void InternalSwap(DeactivateTriggerResponse* other); private: inline ::google::protobuf::Arena* GetArenaNoVirtual() const { return nullptr; @@ -2496,7 +2496,7 @@ class DeleteTriggerResponse final : // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeactivateTriggerResponse) private: class HasBitSetters; @@ -5139,35 +5139,35 @@ inline void CreateTriggerRequest::set_allocated_trigger_launch_plan(::flyteidl:: // ------------------------------------------------------------------- -// DeleteTriggerRequest +// DeactivateTriggerRequest // .flyteidl.core.Identifier trigger_id = 1; -inline bool DeleteTriggerRequest::has_trigger_id() const { +inline bool DeactivateTriggerRequest::has_trigger_id() const { return this != internal_default_instance() && trigger_id_ != nullptr; } -inline const ::flyteidl::core::Identifier& DeleteTriggerRequest::trigger_id() const { +inline const ::flyteidl::core::Identifier& DeactivateTriggerRequest::trigger_id() const { const ::flyteidl::core::Identifier* p = trigger_id_; - // @@protoc_insertion_point(field_get:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + // @@protoc_insertion_point(field_get:flyteidl.artifact.DeactivateTriggerRequest.trigger_id) return p != nullptr ? *p : *reinterpret_cast( &::flyteidl::core::_Identifier_default_instance_); } -inline ::flyteidl::core::Identifier* DeleteTriggerRequest::release_trigger_id() { - // @@protoc_insertion_point(field_release:flyteidl.artifact.DeleteTriggerRequest.trigger_id) +inline ::flyteidl::core::Identifier* DeactivateTriggerRequest::release_trigger_id() { + // @@protoc_insertion_point(field_release:flyteidl.artifact.DeactivateTriggerRequest.trigger_id) ::flyteidl::core::Identifier* temp = trigger_id_; trigger_id_ = nullptr; return temp; } -inline ::flyteidl::core::Identifier* DeleteTriggerRequest::mutable_trigger_id() { +inline ::flyteidl::core::Identifier* DeactivateTriggerRequest::mutable_trigger_id() { if (trigger_id_ == nullptr) { auto* p = CreateMaybeMessage<::flyteidl::core::Identifier>(GetArenaNoVirtual()); trigger_id_ = p; } - // @@protoc_insertion_point(field_mutable:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + // @@protoc_insertion_point(field_mutable:flyteidl.artifact.DeactivateTriggerRequest.trigger_id) return trigger_id_; } -inline void DeleteTriggerRequest::set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id) { +inline void DeactivateTriggerRequest::set_allocated_trigger_id(::flyteidl::core::Identifier* trigger_id) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(trigger_id_); @@ -5183,12 +5183,12 @@ inline void DeleteTriggerRequest::set_allocated_trigger_id(::flyteidl::core::Ide } trigger_id_ = trigger_id; - // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.DeleteTriggerRequest.trigger_id) + // @@protoc_insertion_point(field_set_allocated:flyteidl.artifact.DeactivateTriggerRequest.trigger_id) } // ------------------------------------------------------------------- -// DeleteTriggerResponse +// DeactivateTriggerResponse // ------------------------------------------------------------------- diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc index 5200354c7b..ec498323e1 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.cc @@ -21,7 +21,6 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fidentifier_2eproto ::google::p 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_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<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; @@ -56,10 +55,9 @@ static void InitDefaultsCloudEventWorkflowExecution_flyteidl_2fevent_2fcloudeven ::flyteidl::event::CloudEventWorkflowExecution::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<6> scc_info_CloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsCloudEventWorkflowExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { +::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_Literal_flyteidl_2fcore_2fliterals_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, @@ -76,11 +74,10 @@ static void InitDefaultsCloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2 ::flyteidl::event::CloudEventNodeExecution::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<6> scc_info_CloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsCloudEventNodeExecution_flyteidl_2fevent_2fcloudevents_2eproto}, { +::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_Literal_flyteidl_2fcore_2fliterals_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,}}; @@ -135,9 +132,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fcloudevents_2epr ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, raw_event_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, output_data_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, output_interface_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, input_data_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, artifact_ids_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, reference_execution_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventWorkflowExecution, principal_), @@ -149,9 +144,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fcloudevents_2epr ~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_data_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, output_interface_), - PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, input_data_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, artifact_ids_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, principal_), PROTOBUF_FIELD_OFFSET(::flyteidl::event::CloudEventNodeExecution, launch_plan_id_), @@ -170,14 +163,14 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fevent_2fcloudevents_2epr 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_keys_), + 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)}, - { 13, -1, sizeof(::flyteidl::event::CloudEventNodeExecution)}, - { 26, -1, sizeof(::flyteidl::event::CloudEventTaskExecution)}, - { 32, -1, sizeof(::flyteidl::event::CloudEventExecutionStart)}, + { 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[] = { @@ -199,45 +192,40 @@ const char descriptor_table_protodef_flyteidl_2fevent_2fcloudevents_2eproto[] = "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\"\260\003" + "roto\032\037google/protobuf/timestamp.proto\"\321\002" "\n\033CloudEventWorkflowExecution\0229\n\traw_eve" "nt\030\001 \001(\0132&.flyteidl.event.WorkflowExecut" - "ionEvent\022.\n\013output_data\030\002 \001(\0132\031.flyteidl" - ".core.LiteralMap\0227\n\020output_interface\030\003 \001" - "(\0132\035.flyteidl.core.TypedInterface\022-\n\ninp" - "ut_data\030\004 \001(\0132\031.flyteidl.core.LiteralMap" - "\022/\n\014artifact_ids\030\005 \003(\0132\031.flyteidl.core.A" - "rtifactID\022G\n\023reference_execution\030\006 \001(\0132*" - ".flyteidl.core.WorkflowExecutionIdentifi" - "er\022\021\n\tprincipal\030\007 \001(\t\0221\n\016launch_plan_id\030" - "\010 \001(\0132\031.flyteidl.core.Identifier\"\235\003\n\027Clo" - "udEventNodeExecution\0225\n\traw_event\030\001 \001(\0132" - "\".flyteidl.event.NodeExecutionEvent\022<\n\014t" - "ask_exec_id\030\002 \001(\0132&.flyteidl.core.TaskEx" - "ecutionIdentifier\022.\n\013output_data\030\003 \001(\0132\031" - ".flyteidl.core.LiteralMap\0227\n\020output_inte" - "rface\030\004 \001(\0132\035.flyteidl.core.TypedInterfa" - "ce\022-\n\ninput_data\030\005 \001(\0132\031.flyteidl.core.L" - "iteralMap\022/\n\014artifact_ids\030\006 \003(\0132\031.flytei" - "dl.core.ArtifactID\022\021\n\tprincipal\030\007 \001(\t\0221\n" - "\016launch_plan_id\030\010 \001(\0132\031.flyteidl.core.Id" - "entifier\"P\n\027CloudEventTaskExecution\0225\n\tr" - "aw_event\030\001 \001(\0132\".flyteidl.event.TaskExec" - "utionEvent\"\232\002\n\030CloudEventExecutionStart\022" - "@\n\014execution_id\030\001 \001(\0132*.flyteidl.core.Wo" - "rkflowExecutionIdentifier\0221\n\016launch_plan" - "_id\030\002 \001(\0132\031.flyteidl.core.Identifier\022.\n\013" - "workflow_id\030\003 \001(\0132\031.flyteidl.core.Identi" - "fier\022/\n\014artifact_ids\030\004 \003(\0132\031.flyteidl.co" - "re.ArtifactID\022\025\n\rartifact_keys\030\005 \003(\t\022\021\n\t" - "principal\030\006 \001(\tB=Z;github.com/flyteorg/f" - "lyte/flyteidl/gen/pb-go/flyteidl/eventb\006" - "proto3" + "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, 1526, + "flyteidl/event/cloudevents.proto", &assign_descriptors_table_flyteidl_2fevent_2fcloudevents_2eproto, 1340, }; void AddDescriptors_flyteidl_2fevent_2fcloudevents_2eproto() { @@ -263,12 +251,8 @@ 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_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::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()->input_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::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*>( @@ -277,9 +261,7 @@ void CloudEventWorkflowExecution::InitAsDefaultInstance() { class CloudEventWorkflowExecution::HasBitSetters { public: static const ::flyteidl::event::WorkflowExecutionEvent& raw_event(const CloudEventWorkflowExecution* msg); - static const ::flyteidl::core::LiteralMap& output_data(const CloudEventWorkflowExecution* msg); static const ::flyteidl::core::TypedInterface& output_interface(const CloudEventWorkflowExecution* msg); - static const ::flyteidl::core::LiteralMap& input_data(const CloudEventWorkflowExecution* msg); static const ::flyteidl::core::WorkflowExecutionIdentifier& reference_execution(const CloudEventWorkflowExecution* msg); static const ::flyteidl::core::Identifier& launch_plan_id(const CloudEventWorkflowExecution* msg); }; @@ -288,18 +270,10 @@ const ::flyteidl::event::WorkflowExecutionEvent& CloudEventWorkflowExecution::HasBitSetters::raw_event(const CloudEventWorkflowExecution* msg) { return *msg->raw_event_; } -const ::flyteidl::core::LiteralMap& -CloudEventWorkflowExecution::HasBitSetters::output_data(const CloudEventWorkflowExecution* msg) { - return *msg->output_data_; -} const ::flyteidl::core::TypedInterface& CloudEventWorkflowExecution::HasBitSetters::output_interface(const CloudEventWorkflowExecution* msg) { return *msg->output_interface_; } -const ::flyteidl::core::LiteralMap& -CloudEventWorkflowExecution::HasBitSetters::input_data(const CloudEventWorkflowExecution* msg) { - return *msg->input_data_; -} const ::flyteidl::core::WorkflowExecutionIdentifier& CloudEventWorkflowExecution::HasBitSetters::reference_execution(const CloudEventWorkflowExecution* msg) { return *msg->reference_execution_; @@ -314,24 +288,12 @@ void CloudEventWorkflowExecution::clear_raw_event() { } raw_event_ = nullptr; } -void CloudEventWorkflowExecution::clear_output_data() { - if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { - delete output_data_; - } - output_data_ = nullptr; -} void CloudEventWorkflowExecution::clear_output_interface() { if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { delete output_interface_; } output_interface_ = nullptr; } -void CloudEventWorkflowExecution::clear_input_data() { - if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { - delete input_data_; - } - input_data_ = nullptr; -} void CloudEventWorkflowExecution::clear_artifact_ids() { artifact_ids_.Clear(); } @@ -349,9 +311,7 @@ void CloudEventWorkflowExecution::clear_launch_plan_id() { } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int CloudEventWorkflowExecution::kRawEventFieldNumber; -const int CloudEventWorkflowExecution::kOutputDataFieldNumber; const int CloudEventWorkflowExecution::kOutputInterfaceFieldNumber; -const int CloudEventWorkflowExecution::kInputDataFieldNumber; const int CloudEventWorkflowExecution::kArtifactIdsFieldNumber; const int CloudEventWorkflowExecution::kReferenceExecutionFieldNumber; const int CloudEventWorkflowExecution::kPrincipalFieldNumber; @@ -377,21 +337,11 @@ CloudEventWorkflowExecution::CloudEventWorkflowExecution(const CloudEventWorkflo } else { raw_event_ = nullptr; } - if (from.has_output_data()) { - output_data_ = new ::flyteidl::core::LiteralMap(*from.output_data_); - } else { - output_data_ = nullptr; - } if (from.has_output_interface()) { output_interface_ = new ::flyteidl::core::TypedInterface(*from.output_interface_); } else { output_interface_ = nullptr; } - if (from.has_input_data()) { - input_data_ = new ::flyteidl::core::LiteralMap(*from.input_data_); - } else { - input_data_ = nullptr; - } if (from.has_reference_execution()) { reference_execution_ = new ::flyteidl::core::WorkflowExecutionIdentifier(*from.reference_execution_); } else { @@ -422,9 +372,7 @@ CloudEventWorkflowExecution::~CloudEventWorkflowExecution() { void CloudEventWorkflowExecution::SharedDtor() { principal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete raw_event_; - if (this != internal_default_instance()) delete output_data_; if (this != internal_default_instance()) delete output_interface_; - if (this != internal_default_instance()) delete input_data_; if (this != internal_default_instance()) delete reference_execution_; if (this != internal_default_instance()) delete launch_plan_id_; } @@ -450,18 +398,10 @@ void CloudEventWorkflowExecution::Clear() { delete raw_event_; } raw_event_ = nullptr; - if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { - delete output_data_; - } - output_data_ = nullptr; if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { delete output_interface_; } output_interface_ = nullptr; - if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { - delete input_data_; - } - input_data_ = nullptr; if (GetArenaNoVirtual() == nullptr && reference_execution_ != nullptr) { delete reference_execution_; } @@ -499,24 +439,11 @@ const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.core.LiteralMap output_data = 2; + // .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::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.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; @@ -525,22 +452,9 @@ const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.core.LiteralMap input_data = 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_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; - } - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; - case 5: { - if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + // 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); @@ -551,12 +465,12 @@ const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const 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)); + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); break; } - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + // .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; @@ -567,9 +481,9 @@ const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const {parser_till_end, object}, ptr - size, ptr)); break; } - // string principal = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; + // 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"); @@ -583,9 +497,9 @@ const char* CloudEventWorkflowExecution::_InternalParse(const char* begin, const ptr += size; break; } - // .flyteidl.core.Identifier launch_plan_id = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; + // .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; @@ -641,64 +555,42 @@ bool CloudEventWorkflowExecution::MergePartialFromCodedStream( break; } - // .flyteidl.core.LiteralMap output_data = 2; + // .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_data())); + input, mutable_output_interface())); } else { goto handle_unusual; } break; } - // .flyteidl.core.TypedInterface output_interface = 3; + // 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, mutable_output_interface())); + input, add_artifact_ids())); } else { goto handle_unusual; } break; } - // .flyteidl.core.LiteralMap input_data = 4; + // .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_input_data())); + input, mutable_reference_execution())); } else { goto handle_unusual; } break; } - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + // string principal = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_artifact_ids())); - } else { - goto handle_unusual; - } - break; - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_reference_execution())); - } else { - goto handle_unusual; - } - break; - } - - // string principal = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_principal())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( @@ -711,9 +603,9 @@ bool CloudEventWorkflowExecution::MergePartialFromCodedStream( break; } - // .flyteidl.core.Identifier launch_plan_id = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { + // .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 { @@ -755,53 +647,41 @@ void CloudEventWorkflowExecution::SerializeWithCachedSizes( 1, HasBitSetters::raw_event(this), output); } - // .flyteidl.core.LiteralMap output_data = 2; - if (this->has_output_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, HasBitSetters::output_data(this), output); - } - - // .flyteidl.core.TypedInterface output_interface = 3; + // .flyteidl.core.TypedInterface output_interface = 2; if (this->has_output_interface()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::output_interface(this), output); - } - - // .flyteidl.core.LiteralMap input_data = 4; - if (this->has_input_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::input_data(this), output); + 2, HasBitSetters::output_interface(this), output); } - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + // 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( - 5, + 3, this->artifact_ids(static_cast(i)), output); } - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; if (this->has_reference_execution()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, HasBitSetters::reference_execution(this), output); + 4, HasBitSetters::reference_execution(this), output); } - // string principal = 7; + // 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( - 7, this->principal(), output); + 5, this->principal(), output); } - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::launch_plan_id(this), output); + 6, HasBitSetters::launch_plan_id(this), output); } if (_internal_metadata_.have_unknown_fields()) { @@ -824,43 +704,29 @@ ::google::protobuf::uint8* CloudEventWorkflowExecution::InternalSerializeWithCac 1, HasBitSetters::raw_event(this), target); } - // .flyteidl.core.LiteralMap output_data = 2; - if (this->has_output_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 2, HasBitSetters::output_data(this), target); - } - - // .flyteidl.core.TypedInterface output_interface = 3; + // .flyteidl.core.TypedInterface output_interface = 2; if (this->has_output_interface()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 3, HasBitSetters::output_interface(this), target); - } - - // .flyteidl.core.LiteralMap input_data = 4; - if (this->has_input_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 4, HasBitSetters::input_data(this), target); + 2, HasBitSetters::output_interface(this), target); } - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + // 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( - 5, this->artifact_ids(static_cast(i)), target); + 3, this->artifact_ids(static_cast(i)), target); } - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; if (this->has_reference_execution()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 6, HasBitSetters::reference_execution(this), target); + 4, HasBitSetters::reference_execution(this), target); } - // string principal = 7; + // string principal = 5; if (this->principal().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->principal().data(), static_cast(this->principal().length()), @@ -868,14 +734,14 @@ ::google::protobuf::uint8* CloudEventWorkflowExecution::InternalSerializeWithCac "flyteidl.event.CloudEventWorkflowExecution.principal"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 7, this->principal(), target); + 5, this->principal(), target); } - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 8, HasBitSetters::launch_plan_id(this), target); + 6, HasBitSetters::launch_plan_id(this), target); } if (_internal_metadata_.have_unknown_fields()) { @@ -899,7 +765,7 @@ size_t CloudEventWorkflowExecution::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + // repeated .flyteidl.core.ArtifactID artifact_ids = 3; { unsigned int count = static_cast(this->artifact_ids_size()); total_size += 1UL * count; @@ -910,7 +776,7 @@ size_t CloudEventWorkflowExecution::ByteSizeLong() const { } } - // string principal = 7; + // string principal = 5; if (this->principal().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( @@ -924,35 +790,21 @@ size_t CloudEventWorkflowExecution::ByteSizeLong() const { *raw_event_); } - // .flyteidl.core.LiteralMap output_data = 2; - if (this->has_output_data()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_data_); - } - - // .flyteidl.core.TypedInterface output_interface = 3; + // .flyteidl.core.TypedInterface output_interface = 2; if (this->has_output_interface()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *output_interface_); } - // .flyteidl.core.LiteralMap input_data = 4; - if (this->has_input_data()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *input_data_); - } - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + // .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 = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( @@ -994,15 +846,9 @@ void CloudEventWorkflowExecution::MergeFrom(const CloudEventWorkflowExecution& f if (from.has_raw_event()) { mutable_raw_event()->::flyteidl::event::WorkflowExecutionEvent::MergeFrom(from.raw_event()); } - if (from.has_output_data()) { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - } if (from.has_output_interface()) { mutable_output_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.output_interface()); } - if (from.has_input_data()) { - mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); - } if (from.has_reference_execution()) { mutable_reference_execution()->::flyteidl::core::WorkflowExecutionIdentifier::MergeFrom(from.reference_execution()); } @@ -1040,9 +886,7 @@ void CloudEventWorkflowExecution::InternalSwap(CloudEventWorkflowExecution* othe principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(raw_event_, other->raw_event_); - swap(output_data_, other->output_data_); swap(output_interface_, other->output_interface_); - swap(input_data_, other->input_data_); swap(reference_execution_, other->reference_execution_); swap(launch_plan_id_, other->launch_plan_id_); } @@ -1060,12 +904,8 @@ void CloudEventNodeExecution::InitAsDefaultInstance() { ::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_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::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()->input_data_ = const_cast< ::flyteidl::core::LiteralMap*>( - ::flyteidl::core::LiteralMap::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()); } @@ -1073,9 +913,7 @@ 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::LiteralMap& output_data(const CloudEventNodeExecution* msg); static const ::flyteidl::core::TypedInterface& output_interface(const CloudEventNodeExecution* msg); - static const ::flyteidl::core::LiteralMap& input_data(const CloudEventNodeExecution* msg); static const ::flyteidl::core::Identifier& launch_plan_id(const CloudEventNodeExecution* msg); }; @@ -1087,18 +925,10 @@ const ::flyteidl::core::TaskExecutionIdentifier& CloudEventNodeExecution::HasBitSetters::task_exec_id(const CloudEventNodeExecution* msg) { return *msg->task_exec_id_; } -const ::flyteidl::core::LiteralMap& -CloudEventNodeExecution::HasBitSetters::output_data(const CloudEventNodeExecution* msg) { - return *msg->output_data_; -} const ::flyteidl::core::TypedInterface& CloudEventNodeExecution::HasBitSetters::output_interface(const CloudEventNodeExecution* msg) { return *msg->output_interface_; } -const ::flyteidl::core::LiteralMap& -CloudEventNodeExecution::HasBitSetters::input_data(const CloudEventNodeExecution* msg) { - return *msg->input_data_; -} const ::flyteidl::core::Identifier& CloudEventNodeExecution::HasBitSetters::launch_plan_id(const CloudEventNodeExecution* msg) { return *msg->launch_plan_id_; @@ -1115,24 +945,12 @@ void CloudEventNodeExecution::clear_task_exec_id() { } task_exec_id_ = nullptr; } -void CloudEventNodeExecution::clear_output_data() { - if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { - delete output_data_; - } - output_data_ = nullptr; -} void CloudEventNodeExecution::clear_output_interface() { if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { delete output_interface_; } output_interface_ = nullptr; } -void CloudEventNodeExecution::clear_input_data() { - if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { - delete input_data_; - } - input_data_ = nullptr; -} void CloudEventNodeExecution::clear_artifact_ids() { artifact_ids_.Clear(); } @@ -1145,9 +963,7 @@ void CloudEventNodeExecution::clear_launch_plan_id() { #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int CloudEventNodeExecution::kRawEventFieldNumber; const int CloudEventNodeExecution::kTaskExecIdFieldNumber; -const int CloudEventNodeExecution::kOutputDataFieldNumber; const int CloudEventNodeExecution::kOutputInterfaceFieldNumber; -const int CloudEventNodeExecution::kInputDataFieldNumber; const int CloudEventNodeExecution::kArtifactIdsFieldNumber; const int CloudEventNodeExecution::kPrincipalFieldNumber; const int CloudEventNodeExecution::kLaunchPlanIdFieldNumber; @@ -1177,21 +993,11 @@ CloudEventNodeExecution::CloudEventNodeExecution(const CloudEventNodeExecution& } else { task_exec_id_ = nullptr; } - if (from.has_output_data()) { - output_data_ = new ::flyteidl::core::LiteralMap(*from.output_data_); - } else { - output_data_ = nullptr; - } if (from.has_output_interface()) { output_interface_ = new ::flyteidl::core::TypedInterface(*from.output_interface_); } else { output_interface_ = nullptr; } - if (from.has_input_data()) { - input_data_ = new ::flyteidl::core::LiteralMap(*from.input_data_); - } else { - input_data_ = nullptr; - } if (from.has_launch_plan_id()) { launch_plan_id_ = new ::flyteidl::core::Identifier(*from.launch_plan_id_); } else { @@ -1218,9 +1024,7 @@ 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_data_; if (this != internal_default_instance()) delete output_interface_; - if (this != internal_default_instance()) delete input_data_; if (this != internal_default_instance()) delete launch_plan_id_; } @@ -1249,18 +1053,10 @@ void CloudEventNodeExecution::Clear() { delete task_exec_id_; } task_exec_id_ = nullptr; - if (GetArenaNoVirtual() == nullptr && output_data_ != nullptr) { - delete output_data_; - } - output_data_ = nullptr; if (GetArenaNoVirtual() == nullptr && output_interface_ != nullptr) { delete output_interface_; } output_interface_ = nullptr; - if (GetArenaNoVirtual() == nullptr && input_data_ != nullptr) { - delete input_data_; - } - input_data_ = nullptr; if (GetArenaNoVirtual() == nullptr && launch_plan_id_ != nullptr) { delete launch_plan_id_; } @@ -1307,24 +1103,11 @@ const char* CloudEventNodeExecution::_InternalParse(const char* begin, const cha {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.core.LiteralMap output_data = 3; + // .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::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.core.TypedInterface output_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_output_interface(); if (size > end - ptr) goto len_delim_till_end; @@ -1333,22 +1116,9 @@ const char* CloudEventNodeExecution::_InternalParse(const char* begin, const cha {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.core.LiteralMap input_data = 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_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; - } - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; - case 6: { - if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + // 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); @@ -1359,12 +1129,12 @@ const char* CloudEventNodeExecution::_InternalParse(const char* begin, const cha 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)); + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 34 && (ptr += 1)); break; } - // string principal = 7; - case 7: { - if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; + // 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"); @@ -1378,9 +1148,9 @@ const char* CloudEventNodeExecution::_InternalParse(const char* begin, const cha ptr += size; break; } - // .flyteidl.core.Identifier launch_plan_id = 8; - case 8: { - if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; + // .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; @@ -1447,53 +1217,31 @@ bool CloudEventNodeExecution::MergePartialFromCodedStream( break; } - // .flyteidl.core.LiteralMap output_data = 3; + // .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_data())); + input, mutable_output_interface())); } else { goto handle_unusual; } break; } - // .flyteidl.core.TypedInterface output_interface = 4; + // 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, mutable_output_interface())); + input, add_artifact_ids())); } else { goto handle_unusual; } break; } - // .flyteidl.core.LiteralMap input_data = 5; + // string principal = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, mutable_input_data())); - } else { - goto handle_unusual; - } - break; - } - - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; - case 6: { - if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( - input, add_artifact_ids())); - } else { - goto handle_unusual; - } - break; - } - - // string principal = 7; - case 7: { - if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_principal())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( @@ -1506,9 +1254,9 @@ bool CloudEventNodeExecution::MergePartialFromCodedStream( break; } - // .flyteidl.core.Identifier launch_plan_id = 8; - case 8: { - if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { + // .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 { @@ -1556,47 +1304,35 @@ void CloudEventNodeExecution::SerializeWithCachedSizes( 2, HasBitSetters::task_exec_id(this), output); } - // .flyteidl.core.LiteralMap output_data = 3; - if (this->has_output_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 3, HasBitSetters::output_data(this), output); - } - - // .flyteidl.core.TypedInterface output_interface = 4; + // .flyteidl.core.TypedInterface output_interface = 3; if (this->has_output_interface()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 4, HasBitSetters::output_interface(this), output); - } - - // .flyteidl.core.LiteralMap input_data = 5; - if (this->has_input_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, HasBitSetters::input_data(this), output); + 3, HasBitSetters::output_interface(this), output); } - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + // 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( - 6, + 4, this->artifact_ids(static_cast(i)), output); } - // string principal = 7; + // 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( - 7, this->principal(), output); + 5, this->principal(), output); } - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 8, HasBitSetters::launch_plan_id(this), output); + 6, HasBitSetters::launch_plan_id(this), output); } if (_internal_metadata_.have_unknown_fields()) { @@ -1626,36 +1362,22 @@ ::google::protobuf::uint8* CloudEventNodeExecution::InternalSerializeWithCachedS 2, HasBitSetters::task_exec_id(this), target); } - // .flyteidl.core.LiteralMap output_data = 3; - if (this->has_output_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 3, HasBitSetters::output_data(this), target); - } - - // .flyteidl.core.TypedInterface output_interface = 4; + // .flyteidl.core.TypedInterface output_interface = 3; if (this->has_output_interface()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 4, HasBitSetters::output_interface(this), target); - } - - // .flyteidl.core.LiteralMap input_data = 5; - if (this->has_input_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - InternalWriteMessageToArray( - 5, HasBitSetters::input_data(this), target); + 3, HasBitSetters::output_interface(this), target); } - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + // 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( - 6, this->artifact_ids(static_cast(i)), target); + 4, this->artifact_ids(static_cast(i)), target); } - // string principal = 7; + // string principal = 5; if (this->principal().size() > 0) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( this->principal().data(), static_cast(this->principal().length()), @@ -1663,14 +1385,14 @@ ::google::protobuf::uint8* CloudEventNodeExecution::InternalSerializeWithCachedS "flyteidl.event.CloudEventNodeExecution.principal"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( - 7, this->principal(), target); + 5, this->principal(), target); } - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( - 8, HasBitSetters::launch_plan_id(this), target); + 6, HasBitSetters::launch_plan_id(this), target); } if (_internal_metadata_.have_unknown_fields()) { @@ -1694,7 +1416,7 @@ size_t CloudEventNodeExecution::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; { unsigned int count = static_cast(this->artifact_ids_size()); total_size += 1UL * count; @@ -1705,7 +1427,7 @@ size_t CloudEventNodeExecution::ByteSizeLong() const { } } - // string principal = 7; + // string principal = 5; if (this->principal().size() > 0) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( @@ -1726,28 +1448,14 @@ size_t CloudEventNodeExecution::ByteSizeLong() const { *task_exec_id_); } - // .flyteidl.core.LiteralMap output_data = 3; - if (this->has_output_data()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *output_data_); - } - - // .flyteidl.core.TypedInterface output_interface = 4; + // .flyteidl.core.TypedInterface output_interface = 3; if (this->has_output_interface()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *output_interface_); } - // .flyteidl.core.LiteralMap input_data = 5; - if (this->has_input_data()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize( - *input_data_); - } - - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; if (this->has_launch_plan_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( @@ -1792,15 +1500,9 @@ void CloudEventNodeExecution::MergeFrom(const CloudEventNodeExecution& from) { if (from.has_task_exec_id()) { mutable_task_exec_id()->::flyteidl::core::TaskExecutionIdentifier::MergeFrom(from.task_exec_id()); } - if (from.has_output_data()) { - mutable_output_data()->::flyteidl::core::LiteralMap::MergeFrom(from.output_data()); - } if (from.has_output_interface()) { mutable_output_interface()->::flyteidl::core::TypedInterface::MergeFrom(from.output_interface()); } - if (from.has_input_data()) { - mutable_input_data()->::flyteidl::core::LiteralMap::MergeFrom(from.input_data()); - } if (from.has_launch_plan_id()) { mutable_launch_plan_id()->::flyteidl::core::Identifier::MergeFrom(from.launch_plan_id()); } @@ -1836,9 +1538,7 @@ void CloudEventNodeExecution::InternalSwap(CloudEventNodeExecution* other) { GetArenaNoVirtual()); swap(raw_event_, other->raw_event_); swap(task_exec_id_, other->task_exec_id_); - swap(output_data_, other->output_data_); swap(output_interface_, other->output_interface_); - swap(input_data_, other->input_data_); swap(launch_plan_id_, other->launch_plan_id_); } @@ -2196,7 +1896,7 @@ const int CloudEventExecutionStart::kExecutionIdFieldNumber; const int CloudEventExecutionStart::kLaunchPlanIdFieldNumber; const int CloudEventExecutionStart::kWorkflowIdFieldNumber; const int CloudEventExecutionStart::kArtifactIdsFieldNumber; -const int CloudEventExecutionStart::kArtifactKeysFieldNumber; +const int CloudEventExecutionStart::kArtifactTrackersFieldNumber; const int CloudEventExecutionStart::kPrincipalFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 @@ -2209,7 +1909,7 @@ CloudEventExecutionStart::CloudEventExecutionStart(const CloudEventExecutionStar : ::google::protobuf::Message(), _internal_metadata_(nullptr), artifact_ids_(from.artifact_ids_), - artifact_keys_(from.artifact_keys_) { + artifact_trackers_(from.artifact_trackers_) { _internal_metadata_.MergeFrom(from._internal_metadata_); principal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.principal().size() > 0) { @@ -2270,7 +1970,7 @@ void CloudEventExecutionStart::Clear() { (void) cached_has_bits; artifact_ids_.Clear(); - artifact_keys_.Clear(); + artifact_trackers_.Clear(); principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (GetArenaNoVirtual() == nullptr && execution_id_ != nullptr) { delete execution_id_; @@ -2355,14 +2055,14 @@ const char* CloudEventExecutionStart::_InternalParse(const char* begin, const ch } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 34 && (ptr += 1)); break; } - // repeated string artifact_keys = 5; + // 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_keys"); - object = msg->add_artifact_keys(); + 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; @@ -2468,16 +2168,16 @@ bool CloudEventExecutionStart::MergePartialFromCodedStream( break; } - // repeated string artifact_keys = 5; + // 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_keys())); + input, this->add_artifact_trackers())); DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_keys(this->artifact_keys_size() - 1).data(), - static_cast(this->artifact_keys(this->artifact_keys_size() - 1).length()), + 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_keys")); + "flyteidl.event.CloudEventExecutionStart.artifact_trackers")); } else { goto handle_unusual; } @@ -2553,14 +2253,14 @@ void CloudEventExecutionStart::SerializeWithCachedSizes( output); } - // repeated string artifact_keys = 5; - for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + // repeated string artifact_trackers = 5; + for (int i = 0, n = this->artifact_trackers_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_keys(i).data(), static_cast(this->artifact_keys(i).length()), + this->artifact_trackers(i).data(), static_cast(this->artifact_trackers(i).length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventExecutionStart.artifact_keys"); + "flyteidl.event.CloudEventExecutionStart.artifact_trackers"); ::google::protobuf::internal::WireFormatLite::WriteString( - 5, this->artifact_keys(i), output); + 5, this->artifact_trackers(i), output); } // string principal = 6; @@ -2615,14 +2315,14 @@ ::google::protobuf::uint8* CloudEventExecutionStart::InternalSerializeWithCached 4, this->artifact_ids(static_cast(i)), target); } - // repeated string artifact_keys = 5; - for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + // repeated string artifact_trackers = 5; + for (int i = 0, n = this->artifact_trackers_size(); i < n; i++) { ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - this->artifact_keys(i).data(), static_cast(this->artifact_keys(i).length()), + this->artifact_trackers(i).data(), static_cast(this->artifact_trackers(i).length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.event.CloudEventExecutionStart.artifact_keys"); + "flyteidl.event.CloudEventExecutionStart.artifact_trackers"); target = ::google::protobuf::internal::WireFormatLite:: - WriteStringToArray(5, this->artifact_keys(i), target); + WriteStringToArray(5, this->artifact_trackers(i), target); } // string principal = 6; @@ -2668,12 +2368,12 @@ size_t CloudEventExecutionStart::ByteSizeLong() const { } } - // repeated string artifact_keys = 5; + // repeated string artifact_trackers = 5; total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->artifact_keys_size()); - for (int i = 0, n = this->artifact_keys_size(); i < n; i++) { + ::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_keys(i)); + this->artifact_trackers(i)); } // string principal = 6; @@ -2732,7 +2432,7 @@ void CloudEventExecutionStart::MergeFrom(const CloudEventExecutionStart& from) { (void) cached_has_bits; artifact_ids_.MergeFrom(from.artifact_ids_); - artifact_keys_.MergeFrom(from.artifact_keys_); + artifact_trackers_.MergeFrom(from.artifact_trackers_); if (from.principal().size() > 0) { principal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.principal_); @@ -2774,7 +2474,7 @@ void CloudEventExecutionStart::InternalSwap(CloudEventExecutionStart* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); CastToBase(&artifact_ids_)->InternalSwap(CastToBase(&other->artifact_ids_)); - artifact_keys_.InternalSwap(CastToBase(&other->artifact_keys_)); + artifact_trackers_.InternalSwap(CastToBase(&other->artifact_trackers_)); principal_.Swap(&other->principal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); swap(execution_id_, other->execution_id_); diff --git a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h index 999d5a1137..ac0a1cc959 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/event/cloudevents.pb.h @@ -178,10 +178,10 @@ class CloudEventWorkflowExecution final : // accessors ------------------------------------------------------- - // repeated .flyteidl.core.ArtifactID artifact_ids = 5; + // repeated .flyteidl.core.ArtifactID artifact_ids = 3; int artifact_ids_size() const; void clear_artifact_ids(); - static const int kArtifactIdsFieldNumber = 5; + static const int kArtifactIdsFieldNumber = 3; ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* mutable_artifact_ids(); @@ -190,9 +190,9 @@ class CloudEventWorkflowExecution final : const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& artifact_ids() const; - // string principal = 7; + // string principal = 5; void clear_principal(); - static const int kPrincipalFieldNumber = 7; + static const int kPrincipalFieldNumber = 5; const ::std::string& principal() const; void set_principal(const ::std::string& value); #if LANG_CXX11 @@ -213,46 +213,28 @@ class CloudEventWorkflowExecution final : ::flyteidl::event::WorkflowExecutionEvent* mutable_raw_event(); void set_allocated_raw_event(::flyteidl::event::WorkflowExecutionEvent* raw_event); - // .flyteidl.core.LiteralMap output_data = 2; - bool has_output_data() const; - void clear_output_data(); - static const int kOutputDataFieldNumber = 2; - 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.core.TypedInterface output_interface = 3; + // .flyteidl.core.TypedInterface output_interface = 2; bool has_output_interface() const; void clear_output_interface(); - static const int kOutputInterfaceFieldNumber = 3; + 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.LiteralMap input_data = 4; - bool has_input_data() const; - void clear_input_data(); - static const int kInputDataFieldNumber = 4; - 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); - - // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + // .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; bool has_reference_execution() const; void clear_reference_execution(); - static const int kReferenceExecutionFieldNumber = 6; + 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 = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; bool has_launch_plan_id() const; void clear_launch_plan_id(); - static const int kLaunchPlanIdFieldNumber = 8; + 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(); @@ -266,9 +248,7 @@ class CloudEventWorkflowExecution final : ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; ::google::protobuf::internal::ArenaStringPtr principal_; ::flyteidl::event::WorkflowExecutionEvent* raw_event_; - ::flyteidl::core::LiteralMap* output_data_; ::flyteidl::core::TypedInterface* output_interface_; - ::flyteidl::core::LiteralMap* input_data_; ::flyteidl::core::WorkflowExecutionIdentifier* reference_execution_; ::flyteidl::core::Identifier* launch_plan_id_; mutable ::google::protobuf::internal::CachedSize _cached_size_; @@ -371,10 +351,10 @@ class CloudEventNodeExecution final : // accessors ------------------------------------------------------- - // repeated .flyteidl.core.ArtifactID artifact_ids = 6; + // repeated .flyteidl.core.ArtifactID artifact_ids = 4; int artifact_ids_size() const; void clear_artifact_ids(); - static const int kArtifactIdsFieldNumber = 6; + static const int kArtifactIdsFieldNumber = 4; ::flyteidl::core::ArtifactID* mutable_artifact_ids(int index); ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >* mutable_artifact_ids(); @@ -383,9 +363,9 @@ class CloudEventNodeExecution final : const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& artifact_ids() const; - // string principal = 7; + // string principal = 5; void clear_principal(); - static const int kPrincipalFieldNumber = 7; + static const int kPrincipalFieldNumber = 5; const ::std::string& principal() const; void set_principal(const ::std::string& value); #if LANG_CXX11 @@ -415,37 +395,19 @@ class CloudEventNodeExecution final : ::flyteidl::core::TaskExecutionIdentifier* mutable_task_exec_id(); void set_allocated_task_exec_id(::flyteidl::core::TaskExecutionIdentifier* task_exec_id); - // .flyteidl.core.LiteralMap output_data = 3; - bool has_output_data() const; - void clear_output_data(); - static const int kOutputDataFieldNumber = 3; - 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.core.TypedInterface output_interface = 4; + // .flyteidl.core.TypedInterface output_interface = 3; bool has_output_interface() const; void clear_output_interface(); - static const int kOutputInterfaceFieldNumber = 4; + 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.LiteralMap input_data = 5; - bool has_input_data() const; - void clear_input_data(); - static const int kInputDataFieldNumber = 5; - 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); - - // .flyteidl.core.Identifier launch_plan_id = 8; + // .flyteidl.core.Identifier launch_plan_id = 6; bool has_launch_plan_id() const; void clear_launch_plan_id(); - static const int kLaunchPlanIdFieldNumber = 8; + 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(); @@ -460,9 +422,7 @@ class CloudEventNodeExecution final : ::google::protobuf::internal::ArenaStringPtr principal_; ::flyteidl::event::NodeExecutionEvent* raw_event_; ::flyteidl::core::TaskExecutionIdentifier* task_exec_id_; - ::flyteidl::core::LiteralMap* output_data_; ::flyteidl::core::TypedInterface* output_interface_; - ::flyteidl::core::LiteralMap* input_data_; ::flyteidl::core::Identifier* launch_plan_id_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fevent_2fcloudevents_2eproto; @@ -691,27 +651,27 @@ class CloudEventExecutionStart final : const ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID >& artifact_ids() const; - // repeated string artifact_keys = 5; - int artifact_keys_size() const; - void clear_artifact_keys(); - static const int kArtifactKeysFieldNumber = 5; - const ::std::string& artifact_keys(int index) const; - ::std::string* mutable_artifact_keys(int index); - void set_artifact_keys(int index, const ::std::string& value); + // 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_keys(int index, ::std::string&& value); + void set_artifact_trackers(int index, ::std::string&& value); #endif - void set_artifact_keys(int index, const char* value); - void set_artifact_keys(int index, const char* value, size_t size); - ::std::string* add_artifact_keys(); - void add_artifact_keys(const ::std::string& value); + 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_keys(::std::string&& value); + void add_artifact_trackers(::std::string&& value); #endif - void add_artifact_keys(const char* value); - void add_artifact_keys(const char* value, size_t size); - const ::google::protobuf::RepeatedPtrField<::std::string>& artifact_keys() const; - ::google::protobuf::RepeatedPtrField<::std::string>* mutable_artifact_keys(); + 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(); @@ -760,7 +720,7 @@ class CloudEventExecutionStart final : ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; ::google::protobuf::RepeatedPtrField< ::flyteidl::core::ArtifactID > artifact_ids_; - ::google::protobuf::RepeatedPtrField<::std::string> artifact_keys_; + ::google::protobuf::RepeatedPtrField<::std::string> artifact_trackers_; ::google::protobuf::internal::ArenaStringPtr principal_; ::flyteidl::core::WorkflowExecutionIdentifier* execution_id_; ::flyteidl::core::Identifier* launch_plan_id_; @@ -824,52 +784,7 @@ inline void CloudEventWorkflowExecution::set_allocated_raw_event(::flyteidl::eve // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.raw_event) } -// .flyteidl.core.LiteralMap output_data = 2; -inline bool CloudEventWorkflowExecution::has_output_data() const { - return this != internal_default_instance() && output_data_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& CloudEventWorkflowExecution::output_data() const { - const ::flyteidl::core::LiteralMap* p = output_data_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.output_data) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::release_output_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.output_data) - - ::flyteidl::core::LiteralMap* temp = output_data_; - output_data_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::mutable_output_data() { - - if (output_data_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - output_data_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.output_data) - return output_data_; -} -inline void CloudEventWorkflowExecution::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_data_); - } - 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); - } - - } else { - - } - output_data_ = output_data; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.output_data) -} - -// .flyteidl.core.TypedInterface output_interface = 3; +// .flyteidl.core.TypedInterface output_interface = 2; inline bool CloudEventWorkflowExecution::has_output_interface() const { return this != internal_default_instance() && output_interface_ != nullptr; } @@ -914,52 +829,7 @@ inline void CloudEventWorkflowExecution::set_allocated_output_interface(::flytei // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.output_interface) } -// .flyteidl.core.LiteralMap input_data = 4; -inline bool CloudEventWorkflowExecution::has_input_data() const { - return this != internal_default_instance() && input_data_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& CloudEventWorkflowExecution::input_data() const { - const ::flyteidl::core::LiteralMap* p = input_data_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventWorkflowExecution.input_data) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::release_input_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventWorkflowExecution.input_data) - - ::flyteidl::core::LiteralMap* temp = input_data_; - input_data_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* CloudEventWorkflowExecution::mutable_input_data() { - - if (input_data_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - input_data_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventWorkflowExecution.input_data) - return input_data_; -} -inline void CloudEventWorkflowExecution::set_allocated_input_data(::flyteidl::core::LiteralMap* input_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(input_data_); - } - 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); - } - - } else { - - } - input_data_ = input_data; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.input_data) -} - -// repeated .flyteidl.core.ArtifactID artifact_ids = 5; +// repeated .flyteidl.core.ArtifactID artifact_ids = 3; inline int CloudEventWorkflowExecution::artifact_ids_size() const { return artifact_ids_.size(); } @@ -986,7 +856,7 @@ CloudEventWorkflowExecution::artifact_ids() const { return artifact_ids_; } -// .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; +// .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; inline bool CloudEventWorkflowExecution::has_reference_execution() const { return this != internal_default_instance() && reference_execution_ != nullptr; } @@ -1031,7 +901,7 @@ inline void CloudEventWorkflowExecution::set_allocated_reference_execution(::fly // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.reference_execution) } -// string principal = 7; +// string principal = 5; inline void CloudEventWorkflowExecution::clear_principal() { principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } @@ -1084,7 +954,7 @@ inline void CloudEventWorkflowExecution::set_allocated_principal(::std::string* // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventWorkflowExecution.principal) } -// .flyteidl.core.Identifier launch_plan_id = 8; +// .flyteidl.core.Identifier launch_plan_id = 6; inline bool CloudEventWorkflowExecution::has_launch_plan_id() const { return this != internal_default_instance() && launch_plan_id_ != nullptr; } @@ -1223,52 +1093,7 @@ inline void CloudEventNodeExecution::set_allocated_task_exec_id(::flyteidl::core // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.task_exec_id) } -// .flyteidl.core.LiteralMap output_data = 3; -inline bool CloudEventNodeExecution::has_output_data() const { - return this != internal_default_instance() && output_data_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& CloudEventNodeExecution::output_data() const { - const ::flyteidl::core::LiteralMap* p = output_data_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.output_data) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::release_output_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.output_data) - - ::flyteidl::core::LiteralMap* temp = output_data_; - output_data_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::mutable_output_data() { - - if (output_data_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - output_data_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.output_data) - return output_data_; -} -inline void CloudEventNodeExecution::set_allocated_output_data(::flyteidl::core::LiteralMap* output_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(output_data_); - } - 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); - } - - } else { - - } - output_data_ = output_data; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.output_data) -} - -// .flyteidl.core.TypedInterface output_interface = 4; +// .flyteidl.core.TypedInterface output_interface = 3; inline bool CloudEventNodeExecution::has_output_interface() const { return this != internal_default_instance() && output_interface_ != nullptr; } @@ -1313,52 +1138,7 @@ inline void CloudEventNodeExecution::set_allocated_output_interface(::flyteidl:: // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.output_interface) } -// .flyteidl.core.LiteralMap input_data = 5; -inline bool CloudEventNodeExecution::has_input_data() const { - return this != internal_default_instance() && input_data_ != nullptr; -} -inline const ::flyteidl::core::LiteralMap& CloudEventNodeExecution::input_data() const { - const ::flyteidl::core::LiteralMap* p = input_data_; - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventNodeExecution.input_data) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::core::_LiteralMap_default_instance_); -} -inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::release_input_data() { - // @@protoc_insertion_point(field_release:flyteidl.event.CloudEventNodeExecution.input_data) - - ::flyteidl::core::LiteralMap* temp = input_data_; - input_data_ = nullptr; - return temp; -} -inline ::flyteidl::core::LiteralMap* CloudEventNodeExecution::mutable_input_data() { - - if (input_data_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::core::LiteralMap>(GetArenaNoVirtual()); - input_data_ = p; - } - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventNodeExecution.input_data) - return input_data_; -} -inline void CloudEventNodeExecution::set_allocated_input_data(::flyteidl::core::LiteralMap* input_data) { - ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); - if (message_arena == nullptr) { - delete reinterpret_cast< ::google::protobuf::MessageLite*>(input_data_); - } - 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); - } - - } else { - - } - input_data_ = input_data; - // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.input_data) -} - -// repeated .flyteidl.core.ArtifactID artifact_ids = 6; +// repeated .flyteidl.core.ArtifactID artifact_ids = 4; inline int CloudEventNodeExecution::artifact_ids_size() const { return artifact_ids_.size(); } @@ -1385,7 +1165,7 @@ CloudEventNodeExecution::artifact_ids() const { return artifact_ids_; } -// string principal = 7; +// string principal = 5; inline void CloudEventNodeExecution::clear_principal() { principal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } @@ -1438,7 +1218,7 @@ inline void CloudEventNodeExecution::set_allocated_principal(::std::string* prin // @@protoc_insertion_point(field_set_allocated:flyteidl.event.CloudEventNodeExecution.principal) } -// .flyteidl.core.Identifier launch_plan_id = 8; +// .flyteidl.core.Identifier launch_plan_id = 6; inline bool CloudEventNodeExecution::has_launch_plan_id() const { return this != internal_default_instance() && launch_plan_id_ != nullptr; } @@ -1698,73 +1478,73 @@ CloudEventExecutionStart::artifact_ids() const { return artifact_ids_; } -// repeated string artifact_keys = 5; -inline int CloudEventExecutionStart::artifact_keys_size() const { - return artifact_keys_.size(); +// repeated string artifact_trackers = 5; +inline int CloudEventExecutionStart::artifact_trackers_size() const { + return artifact_trackers_.size(); } -inline void CloudEventExecutionStart::clear_artifact_keys() { - artifact_keys_.Clear(); +inline void CloudEventExecutionStart::clear_artifact_trackers() { + artifact_trackers_.Clear(); } -inline const ::std::string& CloudEventExecutionStart::artifact_keys(int index) const { - // @@protoc_insertion_point(field_get:flyteidl.event.CloudEventExecutionStart.artifact_keys) - return artifact_keys_.Get(index); +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_keys(int index) { - // @@protoc_insertion_point(field_mutable:flyteidl.event.CloudEventExecutionStart.artifact_keys) - return artifact_keys_.Mutable(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_keys(int index, const ::std::string& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_keys) - artifact_keys_.Mutable(index)->assign(value); +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_keys(int index, ::std::string&& value) { - // @@protoc_insertion_point(field_set:flyteidl.event.CloudEventExecutionStart.artifact_keys) - artifact_keys_.Mutable(index)->assign(std::move(value)); +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_keys(int index, const char* value) { +inline void CloudEventExecutionStart::set_artifact_trackers(int index, const char* value) { GOOGLE_DCHECK(value != nullptr); - artifact_keys_.Mutable(index)->assign(value); - // @@protoc_insertion_point(field_set_char:flyteidl.event.CloudEventExecutionStart.artifact_keys) + artifact_trackers_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:flyteidl.event.CloudEventExecutionStart.artifact_trackers) } -inline void CloudEventExecutionStart::set_artifact_keys(int index, const char* value, size_t size) { - artifact_keys_.Mutable(index)->assign( +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_keys) + // @@protoc_insertion_point(field_set_pointer:flyteidl.event.CloudEventExecutionStart.artifact_trackers) } -inline ::std::string* CloudEventExecutionStart::add_artifact_keys() { - // @@protoc_insertion_point(field_add_mutable:flyteidl.event.CloudEventExecutionStart.artifact_keys) - return artifact_keys_.Add(); +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_keys(const ::std::string& value) { - artifact_keys_.Add()->assign(value); - // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_keys) +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_keys(::std::string&& value) { - artifact_keys_.Add(std::move(value)); - // @@protoc_insertion_point(field_add:flyteidl.event.CloudEventExecutionStart.artifact_keys) +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_keys(const char* value) { +inline void CloudEventExecutionStart::add_artifact_trackers(const char* value) { GOOGLE_DCHECK(value != nullptr); - artifact_keys_.Add()->assign(value); - // @@protoc_insertion_point(field_add_char:flyteidl.event.CloudEventExecutionStart.artifact_keys) + artifact_trackers_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:flyteidl.event.CloudEventExecutionStart.artifact_trackers) } -inline void CloudEventExecutionStart::add_artifact_keys(const char* value, size_t size) { - artifact_keys_.Add()->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_add_pointer:flyteidl.event.CloudEventExecutionStart.artifact_keys) +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_keys() const { - // @@protoc_insertion_point(field_list:flyteidl.event.CloudEventExecutionStart.artifact_keys) - return artifact_keys_; +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_keys() { - // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventExecutionStart.artifact_keys) - return &artifact_keys_; +CloudEventExecutionStart::mutable_artifact_trackers() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.event.CloudEventExecutionStart.artifact_trackers) + return &artifact_trackers_; } // string principal = 6; diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go index 1145a30d04..e29d85883e 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go @@ -864,75 +864,75 @@ func (m *CreateTriggerResponse) XXX_DiscardUnknown() { var xxx_messageInfo_CreateTriggerResponse proto.InternalMessageInfo -type DeleteTriggerRequest struct { +type DeactivateTriggerRequest struct { TriggerId *core.Identifier `protobuf:"bytes,1,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DeleteTriggerRequest) Reset() { *m = DeleteTriggerRequest{} } -func (m *DeleteTriggerRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteTriggerRequest) ProtoMessage() {} -func (*DeleteTriggerRequest) Descriptor() ([]byte, []int) { +func (m *DeactivateTriggerRequest) Reset() { *m = DeactivateTriggerRequest{} } +func (m *DeactivateTriggerRequest) String() string { return proto.CompactTextString(m) } +func (*DeactivateTriggerRequest) ProtoMessage() {} +func (*DeactivateTriggerRequest) Descriptor() ([]byte, []int) { return fileDescriptor_804518da5936dedb, []int{15} } -func (m *DeleteTriggerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTriggerRequest.Unmarshal(m, b) +func (m *DeactivateTriggerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeactivateTriggerRequest.Unmarshal(m, b) } -func (m *DeleteTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTriggerRequest.Marshal(b, m, deterministic) +func (m *DeactivateTriggerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeactivateTriggerRequest.Marshal(b, m, deterministic) } -func (m *DeleteTriggerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTriggerRequest.Merge(m, src) +func (m *DeactivateTriggerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeactivateTriggerRequest.Merge(m, src) } -func (m *DeleteTriggerRequest) XXX_Size() int { - return xxx_messageInfo_DeleteTriggerRequest.Size(m) +func (m *DeactivateTriggerRequest) XXX_Size() int { + return xxx_messageInfo_DeactivateTriggerRequest.Size(m) } -func (m *DeleteTriggerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTriggerRequest.DiscardUnknown(m) +func (m *DeactivateTriggerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeactivateTriggerRequest.DiscardUnknown(m) } -var xxx_messageInfo_DeleteTriggerRequest proto.InternalMessageInfo +var xxx_messageInfo_DeactivateTriggerRequest proto.InternalMessageInfo -func (m *DeleteTriggerRequest) GetTriggerId() *core.Identifier { +func (m *DeactivateTriggerRequest) GetTriggerId() *core.Identifier { if m != nil { return m.TriggerId } return nil } -type DeleteTriggerResponse struct { +type DeactivateTriggerResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } -func (m *DeleteTriggerResponse) Reset() { *m = DeleteTriggerResponse{} } -func (m *DeleteTriggerResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteTriggerResponse) ProtoMessage() {} -func (*DeleteTriggerResponse) Descriptor() ([]byte, []int) { +func (m *DeactivateTriggerResponse) Reset() { *m = DeactivateTriggerResponse{} } +func (m *DeactivateTriggerResponse) String() string { return proto.CompactTextString(m) } +func (*DeactivateTriggerResponse) ProtoMessage() {} +func (*DeactivateTriggerResponse) Descriptor() ([]byte, []int) { return fileDescriptor_804518da5936dedb, []int{16} } -func (m *DeleteTriggerResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteTriggerResponse.Unmarshal(m, b) +func (m *DeactivateTriggerResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeactivateTriggerResponse.Unmarshal(m, b) } -func (m *DeleteTriggerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteTriggerResponse.Marshal(b, m, deterministic) +func (m *DeactivateTriggerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeactivateTriggerResponse.Marshal(b, m, deterministic) } -func (m *DeleteTriggerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteTriggerResponse.Merge(m, src) +func (m *DeactivateTriggerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeactivateTriggerResponse.Merge(m, src) } -func (m *DeleteTriggerResponse) XXX_Size() int { - return xxx_messageInfo_DeleteTriggerResponse.Size(m) +func (m *DeactivateTriggerResponse) XXX_Size() int { + return xxx_messageInfo_DeactivateTriggerResponse.Size(m) } -func (m *DeleteTriggerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteTriggerResponse.DiscardUnknown(m) +func (m *DeactivateTriggerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeactivateTriggerResponse.DiscardUnknown(m) } -var xxx_messageInfo_DeleteTriggerResponse proto.InternalMessageInfo +var xxx_messageInfo_DeactivateTriggerResponse proto.InternalMessageInfo type ArtifactProducer struct { // These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in @@ -1237,8 +1237,8 @@ func init() { proto.RegisterType((*AddTagResponse)(nil), "flyteidl.artifact.AddTagResponse") proto.RegisterType((*CreateTriggerRequest)(nil), "flyteidl.artifact.CreateTriggerRequest") proto.RegisterType((*CreateTriggerResponse)(nil), "flyteidl.artifact.CreateTriggerResponse") - proto.RegisterType((*DeleteTriggerRequest)(nil), "flyteidl.artifact.DeleteTriggerRequest") - proto.RegisterType((*DeleteTriggerResponse)(nil), "flyteidl.artifact.DeleteTriggerResponse") + proto.RegisterType((*DeactivateTriggerRequest)(nil), "flyteidl.artifact.DeactivateTriggerRequest") + proto.RegisterType((*DeactivateTriggerResponse)(nil), "flyteidl.artifact.DeactivateTriggerResponse") proto.RegisterType((*ArtifactProducer)(nil), "flyteidl.artifact.ArtifactProducer") proto.RegisterType((*RegisterProducerRequest)(nil), "flyteidl.artifact.RegisterProducerRequest") proto.RegisterType((*ArtifactConsumer)(nil), "flyteidl.artifact.ArtifactConsumer") @@ -1251,110 +1251,111 @@ func init() { func init() { proto.RegisterFile("flyteidl/artifact/artifacts.proto", fileDescriptor_804518da5936dedb) } var fileDescriptor_804518da5936dedb = []byte{ - // 1635 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0xdb, 0x46, - 0x1a, 0x37, 0x2d, 0x59, 0xb2, 0x3e, 0x59, 0x8e, 0x3d, 0xf1, 0xda, 0xb2, 0x92, 0xdd, 0x28, 0xcc, - 0x3e, 0x9c, 0x6c, 0x56, 0x44, 0x9c, 0x45, 0x36, 0x0e, 0x90, 0x45, 0x9d, 0x38, 0x2d, 0x54, 0xe7, - 0xe1, 0xd0, 0x4e, 0x1f, 0x46, 0x50, 0x75, 0x44, 0x8e, 0x65, 0xc6, 0x14, 0xc9, 0x0c, 0x47, 0x76, - 0x89, 0x20, 0x48, 0x51, 0xa0, 0xa7, 0x1e, 0x7b, 0x6a, 0xd1, 0xa2, 0x39, 0xf5, 0xd8, 0x43, 0x81, - 0x00, 0xfd, 0x1b, 0x7a, 0x6d, 0x81, 0x5e, 0x7a, 0xec, 0x3f, 0x51, 0xf4, 0x52, 0x70, 0xc8, 0xe1, - 0x43, 0xa2, 0x64, 0x3b, 0xe9, 0xa1, 0x37, 0xce, 0x37, 0xbf, 0xef, 0x39, 0xdf, 0x4b, 0x82, 0xb3, - 0x3b, 0xa6, 0xc7, 0x88, 0xa1, 0x9b, 0x0a, 0xa6, 0xcc, 0xd8, 0xc1, 0x1a, 0x8b, 0x3e, 0xdc, 0x86, - 0x43, 0x6d, 0x66, 0xa3, 0x59, 0x01, 0x69, 0x88, 0x9b, 0xda, 0x62, 0xc7, 0xb6, 0x3b, 0x26, 0x51, - 0x38, 0xa0, 0xdd, 0xdb, 0x51, 0xb0, 0xe5, 0x05, 0xe8, 0xda, 0xe9, 0xf0, 0x0a, 0x3b, 0x86, 0x82, - 0x2d, 0xcb, 0x66, 0x98, 0x19, 0xb6, 0x15, 0xca, 0xaa, 0xd5, 0x63, 0x75, 0x7a, 0xd7, 0xb0, 0x14, - 0x13, 0xf7, 0x2c, 0x6d, 0xb7, 0xe5, 0x98, 0xd8, 0x12, 0xfc, 0x11, 0x42, 0xb3, 0x29, 0x51, 0x4c, - 0x83, 0x11, 0x8a, 0x4d, 0xc1, 0xbf, 0x98, 0xbe, 0x65, 0x9e, 0x43, 0xc4, 0xd5, 0xdf, 0xd2, 0x57, - 0x86, 0x4e, 0x2c, 0x66, 0xec, 0x18, 0x84, 0x86, 0xf7, 0x67, 0xd2, 0xf7, 0xc2, 0x97, 0x96, 0xa1, - 0x87, 0x80, 0xbf, 0xf6, 0x09, 0xb0, 0x18, 0xa1, 0x3b, 0x58, 0x23, 0x03, 0xa6, 0x93, 0x7d, 0x62, - 0x31, 0x45, 0x33, 0xed, 0x9e, 0xce, 0x3f, 0x43, 0x0b, 0xe4, 0xef, 0x25, 0x98, 0x5c, 0x0d, 0xc5, - 0xa2, 0x6b, 0x50, 0x4e, 0xa8, 0xa8, 0x4a, 0x75, 0x69, 0xa9, 0xbc, 0xbc, 0xd8, 0x88, 0x62, 0xe9, - 0xeb, 0x68, 0x08, 0x74, 0x73, 0x4d, 0x05, 0x81, 0x6e, 0xea, 0xe8, 0x32, 0xe4, 0x5d, 0x87, 0x68, - 0xd5, 0x71, 0xce, 0x74, 0xa6, 0x31, 0xf0, 0x00, 0x11, 0xe3, 0xa6, 0x43, 0x34, 0x95, 0x83, 0x11, - 0x82, 0x3c, 0xc3, 0x1d, 0xb7, 0x9a, 0xab, 0xe7, 0x96, 0x4a, 0x2a, 0xff, 0x46, 0x2b, 0x50, 0x70, - 0xed, 0x1e, 0xd5, 0x48, 0x35, 0xcf, 0x45, 0x9d, 0x1d, 0x25, 0x8a, 0x03, 0xd5, 0x90, 0x41, 0xfe, - 0x24, 0x07, 0x7f, 0xb9, 0x49, 0x09, 0x66, 0x44, 0x00, 0x54, 0xf2, 0xb8, 0x47, 0x5c, 0x86, 0xae, - 0xc3, 0x54, 0xe4, 0xd9, 0x1e, 0xf1, 0x42, 0xd7, 0x6a, 0x43, 0x5c, 0x5b, 0x27, 0x9e, 0x1a, 0x45, - 0x62, 0x9d, 0x78, 0xa8, 0x0a, 0xc5, 0x7d, 0x42, 0x5d, 0xc3, 0xb6, 0xaa, 0xb9, 0xba, 0xb4, 0x54, - 0x52, 0xc5, 0xf1, 0xe5, 0xdc, 0x7e, 0x07, 0xc0, 0xf1, 0xef, 0x79, 0x96, 0x55, 0xf3, 0xf5, 0xdc, - 0x52, 0x79, 0xf9, 0x6a, 0x06, 0x6b, 0xa6, 0x2f, 0x8d, 0x8d, 0x88, 0xf5, 0x96, 0xc5, 0xa8, 0xa7, - 0x26, 0x64, 0xa1, 0x19, 0xc8, 0x31, 0xdc, 0xa9, 0x4e, 0x70, 0x23, 0xfd, 0xcf, 0x44, 0x38, 0x0b, - 0xc7, 0x0c, 0x67, 0xed, 0x3a, 0x9c, 0xe8, 0xd3, 0xe5, 0xcb, 0x17, 0xe1, 0x2b, 0xa9, 0xfe, 0x27, - 0x9a, 0x83, 0x89, 0x7d, 0x6c, 0xf6, 0x08, 0x8f, 0x40, 0x49, 0x0d, 0x0e, 0xd7, 0xc6, 0xaf, 0x4a, - 0xf2, 0x6f, 0x12, 0x4c, 0xa7, 0x25, 0xa3, 0x77, 0x01, 0x1d, 0xd8, 0x74, 0x6f, 0xc7, 0xb4, 0x0f, - 0x5a, 0xe4, 0x03, 0xa2, 0xf5, 0x7c, 0xd1, 0xe1, 0x63, 0x5c, 0xe8, 0x7b, 0x8c, 0xb7, 0x43, 0xe0, - 0x2d, 0x81, 0x6b, 0x46, 0xd5, 0xa1, 0xce, 0x1e, 0xf4, 0x5f, 0xa2, 0x05, 0x28, 0x5a, 0xb6, 0x4e, - 0xfc, 0xbc, 0x0d, 0x2c, 0x29, 0xf8, 0xc7, 0xa6, 0x8e, 0x96, 0xa1, 0xc8, 0xb0, 0xbb, 0xe7, 0x5f, - 0xe4, 0x32, 0x13, 0x3a, 0x21, 0xb7, 0xe0, 0x23, 0x9b, 0x3a, 0x3a, 0x07, 0x15, 0x4a, 0x18, 0xf5, - 0x5a, 0x98, 0x31, 0xd2, 0x75, 0x18, 0x4f, 0xc5, 0x8a, 0x3a, 0xc5, 0x89, 0xab, 0x01, 0x0d, 0x9d, - 0x86, 0x92, 0x43, 0x0d, 0x4b, 0x33, 0x1c, 0x6c, 0x86, 0x11, 0x8f, 0x09, 0xf2, 0xaf, 0x12, 0x4c, - 0x25, 0x9f, 0x1e, 0x5d, 0x14, 0x81, 0x0a, 0xdc, 0x9d, 0xef, 0xb3, 0xe2, 0x76, 0xd0, 0x34, 0xc2, - 0x00, 0xa2, 0x06, 0xe4, 0xfd, 0x46, 0x11, 0xe6, 0x55, 0x2d, 0x1b, 0xbc, 0xe5, 0x39, 0x44, 0xe5, - 0x38, 0xf4, 0x6f, 0x98, 0x75, 0x77, 0x6d, 0xca, 0x5a, 0x3a, 0x71, 0x35, 0x6a, 0x38, 0x2c, 0xce, - 0xd5, 0x19, 0x7e, 0xb1, 0x16, 0xd3, 0xd1, 0x0a, 0x54, 0x7a, 0x2e, 0xa1, 0xad, 0x2e, 0x61, 0x58, - 0xc7, 0x0c, 0x87, 0x95, 0x36, 0xd7, 0x08, 0xfa, 0x60, 0x43, 0xb4, 0xc8, 0xc6, 0xaa, 0xe5, 0xa9, - 0x53, 0x3e, 0xf4, 0x4e, 0x88, 0xf4, 0x23, 0x23, 0xb8, 0x5a, 0xdc, 0xc0, 0xc0, 0xf1, 0x29, 0x41, - 0xf4, 0x4d, 0x92, 0xef, 0xc3, 0x7c, 0x7f, 0xea, 0xba, 0x8e, 0x6d, 0xb9, 0x04, 0xfd, 0x0f, 0x26, - 0x45, 0xd6, 0x85, 0x71, 0x38, 0x35, 0x22, 0x1f, 0xd5, 0x08, 0x2c, 0xb7, 0x01, 0xbd, 0x41, 0x58, - 0x7f, 0x59, 0x2f, 0xc3, 0xc4, 0xe3, 0x1e, 0xa1, 0xa2, 0x9e, 0x4f, 0x0f, 0xa9, 0xe7, 0xfb, 0x3e, - 0x46, 0x0d, 0xa0, 0x7e, 0x2d, 0xeb, 0x84, 0x61, 0xc3, 0x74, 0x79, 0x70, 0x27, 0x55, 0x71, 0x94, - 0xef, 0xc2, 0xc9, 0x94, 0x8e, 0x57, 0xb5, 0xf9, 0x7d, 0xa8, 0x6c, 0x12, 0x4c, 0xb5, 0xdd, 0x7b, - 0x4e, 0x50, 0x9d, 0xfe, 0x23, 0x31, 0x6a, 0x68, 0xac, 0x95, 0x28, 0x7f, 0x89, 0x1b, 0x31, 0x13, - 0x5c, 0xc4, 0xf5, 0x86, 0x64, 0xa8, 0x98, 0x98, 0x11, 0x97, 0xb5, 0xda, 0x1e, 0xef, 0x59, 0x81, - 0xb5, 0xe5, 0x80, 0x78, 0xc3, 0x5b, 0x27, 0x9e, 0xfc, 0xed, 0x38, 0xcc, 0x07, 0x2a, 0x84, 0x7a, - 0xf7, 0x0f, 0xea, 0x78, 0x2b, 0xa9, 0x16, 0x35, 0x9e, 0x59, 0x38, 0xb1, 0xb1, 0xa9, 0x1e, 0x94, - 0xaa, 0x8b, 0x5c, 0x5f, 0x5d, 0x24, 0x5b, 0x69, 0x3e, 0xdd, 0x4a, 0xaf, 0x41, 0xd1, 0x0e, 0x02, - 0xc5, 0x93, 0xaa, 0xbc, 0x5c, 0xcf, 0x08, 0x73, 0x2a, 0xa0, 0xaa, 0x60, 0xf0, 0xbb, 0x10, 0xb3, - 0xf7, 0x88, 0xc5, 0x9b, 0x5c, 0x49, 0x0d, 0x0e, 0x3e, 0xd5, 0x34, 0xba, 0x06, 0xab, 0x16, 0xeb, - 0xd2, 0xd2, 0x84, 0x1a, 0x1c, 0xe4, 0x47, 0xb0, 0x30, 0x10, 0xb3, 0xf0, 0xa9, 0x57, 0xa0, 0x14, - 0x6d, 0x12, 0x55, 0x89, 0xf7, 0xe5, 0x91, 0x6f, 0x1d, 0xa3, 0x63, 0x0b, 0xc6, 0x13, 0x16, 0xc8, - 0x3f, 0x4b, 0xb0, 0xf8, 0xba, 0x61, 0xe9, 0x37, 0xbc, 0x64, 0x3b, 0x13, 0x6f, 0x74, 0x13, 0x8a, - 0x7e, 0x17, 0x8c, 0x67, 0xed, 0x71, 0x7a, 0x60, 0xc1, 0x67, 0x6d, 0xea, 0x68, 0x0b, 0x4a, 0xba, - 0x41, 0x89, 0xc6, 0x2b, 0xde, 0x57, 0x3e, 0xbd, 0x7c, 0x25, 0xc3, 0xe6, 0xa1, 0x56, 0x34, 0xd6, - 0x04, 0xb7, 0x1a, 0x0b, 0x92, 0xff, 0x0e, 0xa5, 0x88, 0x8e, 0x00, 0x0a, 0xcd, 0xbb, 0x1b, 0x0f, - 0xb6, 0x36, 0x67, 0xc6, 0x50, 0x19, 0x8a, 0xf7, 0x1e, 0x6c, 0xf1, 0x83, 0x24, 0x3f, 0x83, 0xca, - 0xaa, 0xae, 0x6f, 0xe1, 0x8e, 0xf0, 0xe8, 0x55, 0x36, 0x88, 0xcc, 0x49, 0xe2, 0x67, 0x93, 0xbd, - 0x4f, 0xe8, 0x01, 0x35, 0x18, 0xe1, 0xd9, 0x34, 0xa9, 0xc6, 0x04, 0x79, 0x06, 0xa6, 0x85, 0x01, - 0xc1, 0x13, 0xca, 0x6d, 0x98, 0x0b, 0x7a, 0xcf, 0x16, 0x35, 0x3a, 0x1d, 0x42, 0x85, 0x65, 0x6f, - 0xc2, 0x49, 0x16, 0x50, 0x5a, 0x89, 0x05, 0x6e, 0xb0, 0x2c, 0xf8, 0x8e, 0xd7, 0xb8, 0xcd, 0x21, - 0x1b, 0x26, 0xb6, 0xd4, 0xd9, 0x90, 0x2d, 0x26, 0xc9, 0x0b, 0x62, 0xcd, 0x88, 0x74, 0x84, 0xca, - 0x37, 0x60, 0x6e, 0x8d, 0x98, 0x64, 0x40, 0xf9, 0x55, 0x00, 0xa1, 0x7c, 0x68, 0x54, 0x12, 0x4f, - 0x5b, 0x0a, 0xc1, 0x4d, 0xdd, 0x57, 0xd5, 0x27, 0x31, 0x54, 0xf5, 0xa1, 0x04, 0x33, 0x22, 0x90, - 0x1b, 0xd4, 0xd6, 0x7b, 0x1a, 0xa1, 0xe8, 0x0a, 0x94, 0x7c, 0x21, 0xcc, 0x3b, 0x92, 0x9a, 0xc9, - 0x00, 0xdb, 0xd4, 0xd1, 0x7f, 0xa1, 0x68, 0xf7, 0x98, 0xd3, 0x63, 0xee, 0x90, 0x81, 0xf3, 0x16, - 0xa6, 0x06, 0x6e, 0x9b, 0xe4, 0x0e, 0x76, 0x54, 0x01, 0x95, 0x1f, 0xc2, 0x82, 0x4a, 0x3a, 0x86, - 0xcb, 0x08, 0x15, 0x16, 0x08, 0x87, 0x57, 0xfd, 0x1e, 0x10, 0x90, 0x44, 0x21, 0x9d, 0x1b, 0x51, - 0x48, 0x11, 0x7b, 0xcc, 0x25, 0x3f, 0x8b, 0xfd, 0xbb, 0x69, 0x5b, 0x6e, 0xaf, 0xfb, 0x0a, 0xfe, - 0x5d, 0x86, 0x82, 0x61, 0x25, 0xdc, 0x3b, 0x35, 0xd8, 0xc9, 0x70, 0x97, 0x30, 0x42, 0x7d, 0xff, - 0x42, 0x68, 0xd2, 0x3d, 0x61, 0x40, 0xc2, 0x3d, 0x2d, 0x24, 0x1d, 0xc5, 0xbd, 0x88, 0x3d, 0xe6, - 0x92, 0x11, 0xcc, 0x08, 0xe9, 0xd1, 0x9b, 0x7e, 0x2e, 0xc1, 0x7c, 0x5c, 0xea, 0xdc, 0x0a, 0xa1, - 0xf1, 0x0e, 0x4c, 0x45, 0x0b, 0xd3, 0xcb, 0xf5, 0x8b, 0x32, 0x89, 0x89, 0xe8, 0x52, 0x22, 0x20, - 0xb9, 0xd1, 0x25, 0x2a, 0xc2, 0xb1, 0x08, 0x0b, 0x03, 0xb6, 0x05, 0x76, 0x2f, 0xff, 0x34, 0x1d, - 0xbf, 0x55, 0xe0, 0x14, 0xf5, 0x50, 0x07, 0xa6, 0xd3, 0x4b, 0x00, 0x5a, 0x3a, 0xea, 0x8a, 0x5b, - 0x3b, 0x7f, 0x04, 0x64, 0x18, 0xb3, 0x31, 0xf4, 0xf1, 0x04, 0x94, 0x13, 0x73, 0x1b, 0xfd, 0x23, - 0x83, 0x79, 0x70, 0x77, 0xa8, 0xfd, 0xf3, 0x30, 0x58, 0xa8, 0xe0, 0xeb, 0xfc, 0x47, 0x3f, 0xfc, - 0xf2, 0xe9, 0xf8, 0x57, 0x79, 0x54, 0x8f, 0x7f, 0x66, 0xf2, 0x9f, 0x8a, 0xfb, 0x97, 0x14, 0x7f, - 0xe5, 0x89, 0xa9, 0xdb, 0xdf, 0x49, 0xe8, 0x85, 0x74, 0x08, 0x4a, 0x31, 0x74, 0xe5, 0x09, 0x5f, - 0x45, 0x1a, 0xc9, 0xdf, 0x73, 0xc9, 0x61, 0xed, 0x2f, 0x60, 0x8f, 0x88, 0xc6, 0x9e, 0x1e, 0x0a, - 0xd4, 0xed, 0x2e, 0x36, 0xac, 0xc3, 0x71, 0x16, 0xee, 0x92, 0x4c, 0x54, 0x38, 0x7c, 0x9f, 0x6e, - 0x7f, 0x21, 0xa1, 0xcf, 0xfe, 0xbc, 0xa6, 0x6f, 0x3f, 0x97, 0xd0, 0x97, 0x87, 0x9a, 0xc7, 0x70, - 0x67, 0x40, 0x1c, 0xc3, 0x9d, 0x23, 0x1a, 0x38, 0x80, 0x1c, 0x66, 0xe1, 0x00, 0x90, 0x9b, 0x88, - 0x9e, 0x8f, 0xc3, 0x89, 0xbe, 0xc5, 0x02, 0x9d, 0x1f, 0xba, 0xc2, 0xf4, 0x2f, 0x6c, 0xb5, 0x0b, - 0x47, 0x81, 0x86, 0x39, 0xf9, 0x42, 0xe2, 0x39, 0xf9, 0x8d, 0x84, 0x5a, 0x43, 0x62, 0xc2, 0x4d, - 0x56, 0x5c, 0xe5, 0xc9, 0x10, 0xdf, 0xb3, 0x1d, 0xcd, 0x08, 0xfc, 0x3a, 0x6a, 0x8e, 0x54, 0x71, - 0x1c, 0x05, 0x48, 0x87, 0x4a, 0x6a, 0x70, 0xa2, 0x7f, 0x0d, 0x2d, 0xf4, 0xf4, 0x04, 0xad, 0x2d, - 0x1d, 0x0e, 0x8c, 0x1a, 0x82, 0x0e, 0x95, 0xd4, 0xcc, 0xcc, 0xd4, 0x92, 0x35, 0xa7, 0x33, 0xb5, - 0x64, 0x8f, 0xdf, 0x31, 0x74, 0x0f, 0x0a, 0xc1, 0xea, 0x81, 0xb2, 0xf6, 0xd4, 0xd4, 0x5a, 0x54, - 0x3b, 0x3b, 0x02, 0x11, 0x09, 0x24, 0xf1, 0x44, 0x88, 0x06, 0x7a, 0x56, 0x52, 0x0c, 0x99, 0xb9, - 0xb5, 0x73, 0x23, 0xb0, 0xd9, 0x6a, 0xa2, 0xb9, 0x3a, 0x4a, 0x4d, 0xdf, 0xec, 0x3b, 0xaa, 0x9a, - 0x2e, 0xa0, 0x4d, 0xc2, 0xfa, 0x26, 0x46, 0x66, 0x3d, 0x64, 0x4f, 0xbc, 0xcc, 0x7a, 0x18, 0x32, - 0x80, 0xe4, 0x31, 0xf4, 0xa3, 0x04, 0x68, 0x70, 0xc5, 0x45, 0x17, 0x8f, 0xb3, 0x09, 0x1f, 0xab, - 0x04, 0x75, 0x5e, 0x81, 0xef, 0xa1, 0x87, 0x23, 0xab, 0x83, 0x28, 0x4f, 0xc2, 0x0d, 0x3f, 0x51, - 0x1a, 0x82, 0x12, 0x95, 0x9d, 0x20, 0x84, 0x5d, 0x3a, 0xda, 0xc2, 0x9f, 0xde, 0x78, 0x6d, 0xfb, - 0xff, 0x1d, 0x83, 0xed, 0xf6, 0xda, 0x0d, 0xcd, 0xee, 0x2a, 0xdc, 0x3a, 0x9b, 0x76, 0x82, 0x0f, - 0x25, 0xfa, 0x73, 0xaf, 0x43, 0x2c, 0xc5, 0x69, 0xff, 0xa7, 0x63, 0x2b, 0x03, 0xff, 0x8c, 0xb6, - 0x0b, 0xfc, 0xc7, 0xfc, 0xe5, 0xdf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x8a, 0xd7, 0x3b, 0x35, - 0x15, 0x00, 0x00, + // 1656 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x73, 0xdb, 0xc6, + 0x19, 0x37, 0x44, 0x8a, 0x14, 0x3f, 0x4a, 0xb2, 0xb4, 0x76, 0x25, 0x8a, 0x72, 0x6b, 0x19, 0x76, + 0x5b, 0xf9, 0x51, 0x62, 0x4c, 0x77, 0x5c, 0x4b, 0x33, 0xee, 0x54, 0xb6, 0x5c, 0x0f, 0xeb, 0x97, + 0x0c, 0xc9, 0x6d, 0xad, 0xe9, 0x0c, 0xbd, 0x04, 0x56, 0x14, 0x2c, 0x10, 0x80, 0x17, 0x4b, 0xa9, + 0x18, 0x8f, 0xc7, 0x99, 0x5c, 0x7d, 0x4b, 0x32, 0x49, 0x26, 0x39, 0xe4, 0x92, 0x5b, 0x2e, 0x99, + 0xe4, 0xbf, 0xc8, 0x35, 0x97, 0x1c, 0x72, 0xcc, 0x3f, 0x90, 0xa3, 0x27, 0x97, 0x0c, 0x16, 0x58, + 0x00, 0x24, 0x40, 0x8a, 0xb2, 0x7d, 0xc8, 0x0d, 0xfb, 0xed, 0xef, 0x7b, 0xee, 0xf7, 0x22, 0xe1, + 0xcc, 0x8e, 0xe9, 0x31, 0x62, 0xe8, 0xa6, 0x82, 0x29, 0x33, 0x76, 0xb0, 0xc6, 0xa2, 0x0f, 0xb7, + 0xe6, 0x50, 0x9b, 0xd9, 0x68, 0x56, 0x40, 0x6a, 0xe2, 0xa6, 0xba, 0xd0, 0xb6, 0xed, 0xb6, 0x49, + 0x14, 0x0e, 0x68, 0x75, 0x77, 0x14, 0x6c, 0x79, 0x01, 0xba, 0x7a, 0x2a, 0xbc, 0xc2, 0x8e, 0xa1, + 0x60, 0xcb, 0xb2, 0x19, 0x66, 0x86, 0x6d, 0x85, 0xb2, 0xaa, 0x4b, 0xb1, 0x3a, 0xbd, 0x63, 0x58, + 0x8a, 0x89, 0xbb, 0x96, 0xb6, 0xdb, 0x74, 0x4c, 0x6c, 0x09, 0xfe, 0x08, 0xa1, 0xd9, 0x94, 0x28, + 0xa6, 0xc1, 0x08, 0xc5, 0xa6, 0xe0, 0x5f, 0xe8, 0xbd, 0x65, 0x9e, 0x43, 0xc4, 0xd5, 0x1f, 0x7a, + 0xaf, 0x0c, 0x9d, 0x58, 0xcc, 0xd8, 0x31, 0x08, 0x0d, 0xef, 0x4f, 0xf7, 0xde, 0x0b, 0x5f, 0x9a, + 0x86, 0x1e, 0x02, 0x7e, 0xdf, 0x27, 0xc0, 0x62, 0x84, 0xee, 0x60, 0x8d, 0xa4, 0x4c, 0x27, 0xfb, + 0xc4, 0x62, 0x8a, 0x66, 0xda, 0x5d, 0x9d, 0x7f, 0x86, 0x16, 0xc8, 0xdf, 0x49, 0x30, 0xb1, 0x16, + 0x8a, 0x45, 0xab, 0x50, 0x4e, 0xa8, 0xa8, 0x48, 0x4b, 0xd2, 0x72, 0xb9, 0xbe, 0x50, 0x8b, 0x62, + 0xe9, 0xeb, 0xa8, 0x09, 0x74, 0x63, 0x5d, 0x05, 0x81, 0x6e, 0xe8, 0xe8, 0x0a, 0xe4, 0x5d, 0x87, + 0x68, 0x95, 0x31, 0xce, 0x74, 0xba, 0x96, 0x7a, 0x80, 0x88, 0x71, 0xd3, 0x21, 0x9a, 0xca, 0xc1, + 0x08, 0x41, 0x9e, 0xe1, 0xb6, 0x5b, 0xc9, 0x2d, 0xe5, 0x96, 0x4b, 0x2a, 0xff, 0x46, 0x2b, 0x50, + 0x70, 0xed, 0x2e, 0xd5, 0x48, 0x25, 0xcf, 0x45, 0x9d, 0x19, 0x26, 0x8a, 0x03, 0xd5, 0x90, 0x41, + 0x7e, 0x95, 0x83, 0xdf, 0xdd, 0xa4, 0x04, 0x33, 0x22, 0x00, 0x2a, 0x79, 0xd6, 0x25, 0x2e, 0x43, + 0xd7, 0x61, 0x32, 0xf2, 0x6c, 0x8f, 0x78, 0xa1, 0x6b, 0xd5, 0x01, 0xae, 0xdd, 0x21, 0x9e, 0x1a, + 0x45, 0xe2, 0x0e, 0xf1, 0x50, 0x05, 0x8a, 0xfb, 0x84, 0xba, 0x86, 0x6d, 0x55, 0x72, 0x4b, 0xd2, + 0x72, 0x49, 0x15, 0xc7, 0x37, 0x73, 0xfb, 0xbf, 0x00, 0x8e, 0x7f, 0xcf, 0xb3, 0xac, 0x92, 0x5f, + 0xca, 0x2d, 0x97, 0xeb, 0xd7, 0x32, 0x58, 0x33, 0x7d, 0xa9, 0x6d, 0x44, 0xac, 0xb7, 0x2c, 0x46, + 0x3d, 0x35, 0x21, 0x0b, 0xcd, 0x40, 0x8e, 0xe1, 0x76, 0x65, 0x9c, 0x1b, 0xe9, 0x7f, 0x26, 0xc2, + 0x59, 0x38, 0x62, 0x38, 0xab, 0xd7, 0xe1, 0x78, 0x9f, 0x2e, 0x5f, 0xbe, 0x08, 0x5f, 0x49, 0xf5, + 0x3f, 0xd1, 0x49, 0x18, 0xdf, 0xc7, 0x66, 0x97, 0xf0, 0x08, 0x94, 0xd4, 0xe0, 0xb0, 0x3a, 0x76, + 0x4d, 0x92, 0x7f, 0x91, 0x60, 0xba, 0x57, 0x32, 0x7a, 0x0c, 0xe8, 0xc0, 0xa6, 0x7b, 0x3b, 0xa6, + 0x7d, 0xd0, 0x24, 0xff, 0x27, 0x5a, 0xd7, 0x17, 0x1d, 0x3e, 0xc6, 0x85, 0xbe, 0xc7, 0xf8, 0x4f, + 0x08, 0xbc, 0x25, 0x70, 0x8d, 0xa8, 0x3a, 0xd4, 0xd9, 0x83, 0xfe, 0x4b, 0x34, 0x0f, 0x45, 0xcb, + 0xd6, 0x89, 0x9f, 0xb7, 0x81, 0x25, 0x05, 0xff, 0xd8, 0xd0, 0x51, 0x1d, 0x8a, 0x0c, 0xbb, 0x7b, + 0xfe, 0x45, 0x2e, 0x33, 0xa1, 0x13, 0x72, 0x0b, 0x3e, 0xb2, 0xa1, 0xa3, 0xb3, 0x30, 0x45, 0x09, + 0xa3, 0x5e, 0x13, 0x33, 0x46, 0x3a, 0x0e, 0xe3, 0xa9, 0x38, 0xa5, 0x4e, 0x72, 0xe2, 0x5a, 0x40, + 0x43, 0xa7, 0xa0, 0xe4, 0x50, 0xc3, 0xd2, 0x0c, 0x07, 0x9b, 0x61, 0xc4, 0x63, 0x82, 0xfc, 0x5a, + 0x82, 0xc9, 0xe4, 0xd3, 0xa3, 0x4b, 0x22, 0x50, 0x81, 0xbb, 0x73, 0x7d, 0x56, 0xdc, 0x0d, 0x9a, + 0x46, 0x18, 0x40, 0x54, 0x83, 0xbc, 0xdf, 0x28, 0xc2, 0xbc, 0xaa, 0x66, 0x83, 0xb7, 0x3c, 0x87, + 0xa8, 0x1c, 0x87, 0x2e, 0xc2, 0xac, 0xbb, 0x6b, 0x53, 0xd6, 0xd4, 0x89, 0xab, 0x51, 0xc3, 0x61, + 0x71, 0xae, 0xce, 0xf0, 0x8b, 0xf5, 0x98, 0x8e, 0x56, 0x60, 0xaa, 0xeb, 0x12, 0xda, 0xec, 0x10, + 0x86, 0x75, 0xcc, 0x70, 0x58, 0x69, 0x27, 0x6b, 0x41, 0x1f, 0xac, 0x89, 0x16, 0x59, 0x5b, 0xb3, + 0x3c, 0x75, 0xd2, 0x87, 0xde, 0x0b, 0x91, 0x7e, 0x64, 0x04, 0x57, 0x93, 0x1b, 0x18, 0x38, 0x3e, + 0x29, 0x88, 0xbe, 0x49, 0xf2, 0x43, 0x98, 0xeb, 0x4f, 0x5d, 0xd7, 0xb1, 0x2d, 0x97, 0xa0, 0xbf, + 0xc1, 0x84, 0xc8, 0xba, 0x30, 0x0e, 0x8b, 0x43, 0xf2, 0x51, 0x8d, 0xc0, 0x72, 0x0b, 0xd0, 0x6d, + 0xc2, 0xfa, 0xcb, 0xba, 0x0e, 0xe3, 0xcf, 0xba, 0x84, 0x8a, 0x7a, 0x3e, 0x35, 0xa0, 0x9e, 0x1f, + 0xfa, 0x18, 0x35, 0x80, 0xfa, 0xb5, 0xac, 0x13, 0x86, 0x0d, 0xd3, 0xe5, 0xc1, 0x9d, 0x50, 0xc5, + 0x51, 0xbe, 0x0f, 0x27, 0x7a, 0x74, 0xbc, 0xad, 0xcd, 0x4f, 0x60, 0x6a, 0x93, 0x60, 0xaa, 0xed, + 0x3e, 0x70, 0x82, 0xea, 0xf4, 0x1f, 0x89, 0x51, 0x43, 0x63, 0xcd, 0x44, 0xf9, 0x4b, 0xdc, 0x88, + 0x99, 0xe0, 0x22, 0xae, 0x37, 0x24, 0xc3, 0x94, 0x89, 0x19, 0x71, 0x59, 0xb3, 0xe5, 0xf1, 0x9e, + 0x15, 0x58, 0x5b, 0x0e, 0x88, 0x37, 0xbc, 0x3b, 0xc4, 0x93, 0xbf, 0x19, 0x83, 0xb9, 0x40, 0x85, + 0x50, 0xef, 0xbe, 0xa3, 0x8e, 0xb7, 0xd2, 0xd3, 0xa2, 0xc6, 0x32, 0x0b, 0x27, 0x36, 0xb6, 0xa7, + 0x07, 0xf5, 0xd4, 0x45, 0xae, 0xaf, 0x2e, 0x92, 0xad, 0x34, 0xdf, 0xdb, 0x4a, 0x57, 0xa1, 0x68, + 0x07, 0x81, 0xe2, 0x49, 0x55, 0xae, 0x2f, 0x65, 0x84, 0xb9, 0x27, 0xa0, 0xaa, 0x60, 0xf0, 0xbb, + 0x10, 0xb3, 0xf7, 0x88, 0xc5, 0x9b, 0x5c, 0x49, 0x0d, 0x0e, 0x3e, 0xd5, 0x34, 0x3a, 0x06, 0xab, + 0x14, 0x97, 0xa4, 0xe5, 0x71, 0x35, 0x38, 0xc8, 0x4f, 0x61, 0x3e, 0x15, 0xb3, 0xf0, 0xa9, 0x57, + 0xa0, 0x14, 0x6d, 0x12, 0x15, 0x89, 0xf7, 0xe5, 0xa1, 0x6f, 0x1d, 0xa3, 0x63, 0x0b, 0xc6, 0x12, + 0x16, 0xc8, 0x3f, 0x4a, 0xb0, 0xf0, 0x4f, 0xc3, 0xd2, 0x6f, 0x78, 0xc9, 0x76, 0x26, 0xde, 0xe8, + 0x26, 0x14, 0xfd, 0x2e, 0x18, 0xcf, 0xda, 0xa3, 0xf4, 0xc0, 0x82, 0xcf, 0xda, 0xd0, 0xd1, 0x16, + 0x94, 0x74, 0x83, 0x12, 0x8d, 0x57, 0xbc, 0xaf, 0x7c, 0xba, 0x7e, 0x35, 0xc3, 0xe6, 0x81, 0x56, + 0xd4, 0xd6, 0x05, 0xb7, 0x1a, 0x0b, 0x92, 0xcf, 0x41, 0x29, 0xa2, 0x23, 0x80, 0x42, 0xe3, 0xfe, + 0xc6, 0xa3, 0xad, 0xcd, 0x99, 0x63, 0xa8, 0x0c, 0xc5, 0x07, 0x8f, 0xb6, 0xf8, 0x41, 0x92, 0x5f, + 0xc2, 0xd4, 0x9a, 0xae, 0x6f, 0xe1, 0xb6, 0xf0, 0xe8, 0x6d, 0x36, 0x88, 0xcc, 0x49, 0xe2, 0x67, + 0x93, 0xbd, 0x4f, 0xe8, 0x01, 0x35, 0x18, 0xe1, 0xd9, 0x34, 0xa1, 0xc6, 0x04, 0x79, 0x06, 0xa6, + 0x85, 0x01, 0xc1, 0x13, 0xca, 0x2d, 0x38, 0x19, 0xf4, 0x9e, 0x2d, 0x6a, 0xb4, 0xdb, 0x84, 0x0a, + 0xcb, 0xfe, 0x05, 0x27, 0x58, 0x40, 0x69, 0x26, 0x16, 0xb8, 0x74, 0x59, 0xf0, 0x1d, 0xaf, 0x76, + 0x97, 0x43, 0x36, 0x4c, 0x6c, 0xa9, 0xb3, 0x21, 0x5b, 0x4c, 0x92, 0xe7, 0xc5, 0x9a, 0x11, 0xe9, + 0x08, 0x95, 0x6f, 0x41, 0x65, 0x9d, 0x60, 0x8d, 0x19, 0xfb, 0x69, 0x03, 0xae, 0x01, 0x08, 0x03, + 0x06, 0x46, 0x26, 0xf1, 0xbc, 0xa5, 0x10, 0xdc, 0xd0, 0xe5, 0x45, 0x58, 0xc8, 0x90, 0x1a, 0xaa, + 0x7c, 0x4f, 0x82, 0x19, 0x11, 0xd0, 0x0d, 0x6a, 0xeb, 0x5d, 0x8d, 0x50, 0x74, 0x15, 0x4a, 0xbe, + 0x20, 0xe6, 0x8d, 0xa4, 0x6a, 0x22, 0xc0, 0x36, 0x74, 0xf4, 0x57, 0x28, 0xda, 0x5d, 0xe6, 0x74, + 0x99, 0x3b, 0x60, 0xf0, 0xfc, 0x1b, 0x53, 0x03, 0xb7, 0x4c, 0x72, 0x0f, 0x3b, 0xaa, 0x80, 0xca, + 0xff, 0x83, 0x79, 0x95, 0xb4, 0x0d, 0x97, 0x11, 0x2a, 0x2c, 0x10, 0x4e, 0xaf, 0xf9, 0xbd, 0x20, + 0x20, 0x89, 0x82, 0x3a, 0x3b, 0xa4, 0xa0, 0x22, 0xf6, 0x98, 0x4b, 0x7e, 0x19, 0xfb, 0x77, 0xd3, + 0xb6, 0xdc, 0x6e, 0xe7, 0x2d, 0xfc, 0xbb, 0x02, 0x05, 0xc3, 0x4a, 0xb8, 0xb7, 0x98, 0xee, 0x68, + 0xb8, 0x43, 0x18, 0xa1, 0xbe, 0x7f, 0x21, 0x34, 0xe9, 0x9e, 0x30, 0x20, 0xe1, 0x9e, 0x16, 0x92, + 0x46, 0x71, 0x2f, 0x62, 0x8f, 0xb9, 0x64, 0x04, 0x33, 0x42, 0x7a, 0xf4, 0xa6, 0x9f, 0x49, 0x30, + 0x17, 0x97, 0x3c, 0xb7, 0x42, 0x68, 0xbc, 0x07, 0x93, 0xd1, 0xe2, 0xf4, 0x66, 0x7d, 0xa3, 0x4c, + 0x62, 0x22, 0xba, 0x9c, 0x08, 0x48, 0x6e, 0x78, 0xa9, 0x8a, 0x70, 0x2c, 0xc0, 0x7c, 0xca, 0xb6, + 0xc0, 0xee, 0xfa, 0xeb, 0xe9, 0xf8, 0xad, 0x02, 0xa7, 0xa8, 0x87, 0xda, 0x30, 0xdd, 0xbb, 0x0c, + 0xa0, 0xe5, 0x51, 0x57, 0xdd, 0xea, 0xf9, 0x11, 0x90, 0x61, 0xcc, 0x8e, 0xa1, 0x9f, 0xf3, 0x50, + 0x4e, 0xcc, 0x6f, 0xf4, 0xc7, 0x0c, 0xe6, 0xf4, 0x0e, 0x51, 0xfd, 0xd3, 0x61, 0xb0, 0x50, 0xc1, + 0x07, 0xf9, 0xf7, 0xbf, 0xff, 0xe9, 0xc3, 0xb1, 0x57, 0x79, 0xb4, 0x18, 0xff, 0xdc, 0xe4, 0x3f, + 0x19, 0xf7, 0x2f, 0xc7, 0x84, 0xed, 0x6f, 0x25, 0xf4, 0xb5, 0x34, 0x18, 0xa0, 0x18, 0xba, 0xf2, + 0x9c, 0x2f, 0x22, 0xb5, 0xe4, 0xaf, 0xb9, 0xe4, 0xa8, 0xf6, 0xd7, 0xaf, 0xa7, 0x44, 0x63, 0x2f, + 0x0e, 0x05, 0xea, 0x76, 0x07, 0x1b, 0xd6, 0xe1, 0x38, 0x0b, 0x77, 0x48, 0x26, 0x2a, 0x1c, 0xbd, + 0x2f, 0xb6, 0x3f, 0x91, 0xd0, 0x47, 0xbf, 0x49, 0xab, 0xb7, 0x3f, 0x97, 0xd0, 0xa7, 0xc3, 0x2c, + 0x63, 0xb8, 0x9d, 0x92, 0xc4, 0x70, 0x7b, 0x44, 0xdb, 0x52, 0xc8, 0x41, 0xc6, 0xa5, 0x80, 0xdc, + 0x3a, 0xf4, 0xf1, 0x18, 0x1c, 0xef, 0x5b, 0x26, 0xd0, 0xf9, 0x81, 0x6b, 0x4b, 0xff, 0x92, 0x56, + 0xbd, 0x30, 0x0a, 0x34, 0xcc, 0xbf, 0xaf, 0x24, 0x9e, 0x7f, 0x5f, 0x4a, 0xe8, 0x71, 0x3a, 0x1c, + 0x2e, 0x67, 0x52, 0x9e, 0x0f, 0xf0, 0x3a, 0xdb, 0xc5, 0x8c, 0x68, 0xdf, 0x46, 0xb7, 0xde, 0x89, + 0x70, 0xa4, 0xc3, 0x54, 0xcf, 0x88, 0x44, 0x7f, 0x1e, 0x58, 0xca, 0xbd, 0x73, 0xb2, 0xba, 0x7c, + 0x38, 0x30, 0x2a, 0xf9, 0x2f, 0x24, 0x98, 0x4d, 0x8d, 0x46, 0x74, 0x31, 0x43, 0xc2, 0xa0, 0xb1, + 0x5c, 0xbd, 0x34, 0x1a, 0x38, 0x54, 0xa9, 0xf0, 0x37, 0x38, 0x5f, 0x3f, 0x97, 0x8e, 0x52, 0x38, + 0xaf, 0x15, 0x3d, 0x62, 0x5e, 0x95, 0x2e, 0xa0, 0x07, 0x50, 0x08, 0x16, 0x14, 0x94, 0xb5, 0xcd, + 0xf6, 0x2c, 0x4f, 0xd5, 0x33, 0x43, 0x10, 0x91, 0xcb, 0x24, 0x9e, 0x17, 0xd1, 0xb8, 0xcf, 0x4a, + 0xa3, 0x01, 0x13, 0xb9, 0x7a, 0x76, 0x08, 0x36, 0x5b, 0x4d, 0x34, 0x75, 0x87, 0xa9, 0xe9, 0x9b, + 0x8c, 0xa3, 0xaa, 0xe9, 0x00, 0xda, 0x24, 0xac, 0x6f, 0x9e, 0x64, 0x56, 0x50, 0xf6, 0x3c, 0xcc, + 0xac, 0xa0, 0x01, 0xe3, 0x49, 0x3e, 0x86, 0x7e, 0x90, 0x00, 0xa5, 0x17, 0x61, 0x74, 0xe9, 0x28, + 0xfb, 0xf2, 0x91, 0x8a, 0x76, 0x97, 0xe7, 0x4b, 0x0b, 0x3d, 0x19, 0x58, 0x55, 0xd1, 0x34, 0x56, + 0x9e, 0x87, 0xbf, 0x05, 0x12, 0xa5, 0x25, 0x28, 0x51, 0xc9, 0x0a, 0x42, 0xd8, 0xd1, 0xa3, 0x7d, + 0xfd, 0xc5, 0x8d, 0x7f, 0x6c, 0xff, 0xbd, 0x6d, 0xb0, 0xdd, 0x6e, 0xab, 0xa6, 0xd9, 0x1d, 0x85, + 0x5b, 0x68, 0xd3, 0x76, 0xf0, 0xa1, 0x44, 0x7f, 0x03, 0xb6, 0x89, 0xa5, 0x38, 0xad, 0xbf, 0xb4, + 0x6d, 0x25, 0xf5, 0x1f, 0x6a, 0xab, 0xc0, 0x7f, 0xf6, 0x5f, 0xf9, 0x35, 0x00, 0x00, 0xff, 0xff, + 0x39, 0x44, 0x4a, 0xb7, 0x5f, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1373,7 +1374,7 @@ type ArtifactRegistryClient interface { GetArtifact(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*GetArtifactResponse, error) SearchArtifacts(ctx context.Context, in *SearchArtifactsRequest, opts ...grpc.CallOption) (*SearchArtifactsResponse, error) CreateTrigger(ctx context.Context, in *CreateTriggerRequest, opts ...grpc.CallOption) (*CreateTriggerResponse, error) - DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*DeleteTriggerResponse, error) + DeactivateTrigger(ctx context.Context, in *DeactivateTriggerRequest, opts ...grpc.CallOption) (*DeactivateTriggerResponse, error) AddTag(ctx context.Context, in *AddTagRequest, opts ...grpc.CallOption) (*AddTagResponse, error) RegisterProducer(ctx context.Context, in *RegisterProducerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) RegisterConsumer(ctx context.Context, in *RegisterConsumerRequest, opts ...grpc.CallOption) (*RegisterResponse, error) @@ -1425,9 +1426,9 @@ func (c *artifactRegistryClient) CreateTrigger(ctx context.Context, in *CreateTr return out, nil } -func (c *artifactRegistryClient) DeleteTrigger(ctx context.Context, in *DeleteTriggerRequest, opts ...grpc.CallOption) (*DeleteTriggerResponse, error) { - out := new(DeleteTriggerResponse) - err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", in, out, opts...) +func (c *artifactRegistryClient) DeactivateTrigger(ctx context.Context, in *DeactivateTriggerRequest, opts ...grpc.CallOption) (*DeactivateTriggerResponse, error) { + out := new(DeactivateTriggerResponse) + err := c.cc.Invoke(ctx, "/flyteidl.artifact.ArtifactRegistry/DeactivateTrigger", in, out, opts...) if err != nil { return nil, err } @@ -1485,7 +1486,7 @@ type ArtifactRegistryServer interface { GetArtifact(context.Context, *GetArtifactRequest) (*GetArtifactResponse, error) SearchArtifacts(context.Context, *SearchArtifactsRequest) (*SearchArtifactsResponse, error) CreateTrigger(context.Context, *CreateTriggerRequest) (*CreateTriggerResponse, error) - DeleteTrigger(context.Context, *DeleteTriggerRequest) (*DeleteTriggerResponse, error) + DeactivateTrigger(context.Context, *DeactivateTriggerRequest) (*DeactivateTriggerResponse, error) AddTag(context.Context, *AddTagRequest) (*AddTagResponse, error) RegisterProducer(context.Context, *RegisterProducerRequest) (*RegisterResponse, error) RegisterConsumer(context.Context, *RegisterConsumerRequest) (*RegisterResponse, error) @@ -1509,8 +1510,8 @@ func (*UnimplementedArtifactRegistryServer) SearchArtifacts(ctx context.Context, func (*UnimplementedArtifactRegistryServer) CreateTrigger(ctx context.Context, req *CreateTriggerRequest) (*CreateTriggerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateTrigger not implemented") } -func (*UnimplementedArtifactRegistryServer) DeleteTrigger(ctx context.Context, req *DeleteTriggerRequest) (*DeleteTriggerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteTrigger not implemented") +func (*UnimplementedArtifactRegistryServer) DeactivateTrigger(ctx context.Context, req *DeactivateTriggerRequest) (*DeactivateTriggerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeactivateTrigger not implemented") } func (*UnimplementedArtifactRegistryServer) AddTag(ctx context.Context, req *AddTagRequest) (*AddTagResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTag not implemented") @@ -1604,20 +1605,20 @@ func _ArtifactRegistry_CreateTrigger_Handler(srv interface{}, ctx context.Contex return interceptor(ctx, in, info, handler) } -func _ArtifactRegistry_DeleteTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteTriggerRequest) +func _ArtifactRegistry_DeactivateTrigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeactivateTriggerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ArtifactRegistryServer).DeleteTrigger(ctx, in) + return srv.(ArtifactRegistryServer).DeactivateTrigger(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/flyteidl.artifact.ArtifactRegistry/DeleteTrigger", + FullMethod: "/flyteidl.artifact.ArtifactRegistry/DeactivateTrigger", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ArtifactRegistryServer).DeleteTrigger(ctx, req.(*DeleteTriggerRequest)) + return srv.(ArtifactRegistryServer).DeactivateTrigger(ctx, req.(*DeactivateTriggerRequest)) } return interceptor(ctx, in, info, handler) } @@ -1733,8 +1734,8 @@ var _ArtifactRegistry_serviceDesc = grpc.ServiceDesc{ Handler: _ArtifactRegistry_CreateTrigger_Handler, }, { - MethodName: "DeleteTrigger", - Handler: _ArtifactRegistry_DeleteTrigger_Handler, + MethodName: "DeactivateTrigger", + Handler: _ArtifactRegistry_DeactivateTrigger_Handler, }, { MethodName: "AddTag", diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go index b6e603f774..664d0c4869 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go @@ -348,6 +348,23 @@ func request_ArtifactRegistry_SearchArtifacts_1(ctx context.Context, marshaler r } +func request_ArtifactRegistry_DeactivateTrigger_0(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq DeactivateTriggerRequest + 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.DeactivateTrigger(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + var ( filter_ArtifactRegistry_FindByWorkflowExec_0 = &utilities.DoubleArray{Encoding: map[string]int{"exec_id": 0, "project": 1, "domain": 2, "name": 3, "direction": 4}, Base: []int{1, 1, 1, 2, 3, 4, 0, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 1, 3, 4, 5, 6}} ) @@ -580,6 +597,26 @@ func RegisterArtifactRegistryHandlerClient(ctx context.Context, mux *runtime.Ser }) + mux.Handle("PATCH", pattern_ArtifactRegistry_DeactivateTrigger_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_ArtifactRegistry_DeactivateTrigger_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_ArtifactRegistry_DeactivateTrigger_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_ArtifactRegistry_FindByWorkflowExec_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -604,19 +641,21 @@ func RegisterArtifactRegistryHandlerClient(ctx context.Context, mux *runtime.Ser } var ( - pattern_ArtifactRegistry_GetArtifact_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 0}, []string{"artifacts", "api", "v1", "data"}, "")) + pattern_ArtifactRegistry_GetArtifact_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 0}, []string{"artifacts", "api", "v1"}, "")) + + pattern_ArtifactRegistry_GetArtifact_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{"artifacts", "api", "v1", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name", "query.artifact_id.version"}, "")) - pattern_ArtifactRegistry_GetArtifact_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 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{"artifacts", "api", "v1", "data", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name", "query.artifact_id.version"}, "")) + pattern_ArtifactRegistry_GetArtifact_2 = 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}, []string{"artifacts", "api", "v1", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name"}, "")) - pattern_ArtifactRegistry_GetArtifact_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name"}, "")) + pattern_ArtifactRegistry_GetArtifact_3 = 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}, []string{"artifacts", "api", "v1", "artifact", "tag", "query.artifact_tag.artifact_key.project", "query.artifact_tag.artifact_key.domain", "query.artifact_tag.artifact_key.name"}, "")) - pattern_ArtifactRegistry_GetArtifact_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "artifact", "tag", "query.artifact_tag.artifact_key.project", "query.artifact_tag.artifact_key.domain", "query.artifact_tag.artifact_key.name"}, "")) + pattern_ArtifactRegistry_SearchArtifacts_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{"artifacts", "api", "v1", "search", "artifact_key.project", "artifact_key.domain", "artifact_key.name"}, "")) - pattern_ArtifactRegistry_SearchArtifacts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "data", "query", "s", "artifact_key.project", "artifact_key.domain", "artifact_key.name"}, "")) + pattern_ArtifactRegistry_SearchArtifacts_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{"artifacts", "api", "v1", "search", "artifact_key.project", "artifact_key.domain"}, "")) - pattern_ArtifactRegistry_SearchArtifacts_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}, []string{"artifacts", "api", "v1", "data", "query", "artifact_key.project", "artifact_key.domain"}, "")) + pattern_ArtifactRegistry_DeactivateTrigger_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"artifacts", "api", "v1", "trigger", "deactivate"}, "")) - pattern_ArtifactRegistry_FindByWorkflowExec_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 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{"artifacts", "api", "v1", "data", "query", "e", "exec_id.project", "exec_id.domain", "exec_id.name", "direction"}, "")) + pattern_ArtifactRegistry_FindByWorkflowExec_0 = 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{"artifacts", "api", "v1", "search", "execution", "exec_id.project", "exec_id.domain", "exec_id.name", "direction"}, "")) ) var ( @@ -632,5 +671,7 @@ var ( forward_ArtifactRegistry_SearchArtifacts_1 = runtime.ForwardResponseMessage + forward_ArtifactRegistry_DeactivateTrigger_0 = runtime.ForwardResponseMessage + forward_ArtifactRegistry_FindByWorkflowExec_0 = runtime.ForwardResponseMessage ) diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json index 8617ff5fee..e6ea0b65d9 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json @@ -15,7 +15,7 @@ "application/json" ], "paths": { - "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}": { + "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}": { "get": { "operationId": "GetArtifact3", "responses": { @@ -124,7 +124,7 @@ ] } }, - "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}": { + "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}": { "get": { "operationId": "GetArtifact2", "responses": { @@ -233,7 +233,7 @@ ] } }, - "/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}": { + "/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}": { "get": { "operationId": "GetArtifact4", "responses": { @@ -342,7 +342,7 @@ ] } }, - "/artifacts/api/v1/data/artifacts": { + "/artifacts/api/v1/artifacts": { "get": { "operationId": "GetArtifact", "responses": { @@ -470,7 +470,7 @@ ] } }, - "/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}": { + "/artifacts/api/v1/search/execution/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}": { "get": { "operationId": "FindByWorkflowExec", "responses": { @@ -519,9 +519,9 @@ ] } }, - "/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}": { + "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}": { "get": { - "operationId": "SearchArtifacts", + "operationId": "SearchArtifacts2", "responses": { "200": { "description": "A successful response.", @@ -546,8 +546,8 @@ }, { "name": "artifact_key.name", - "in": "path", - "required": true, + "in": "query", + "required": false, "type": "string" }, { @@ -597,9 +597,9 @@ ] } }, - "/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}": { + "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}": { "get": { - "operationId": "SearchArtifacts2", + "operationId": "SearchArtifacts", "responses": { "200": { "description": "A successful response.", @@ -624,8 +624,8 @@ }, { "name": "artifact_key.name", - "in": "query", - "required": false, + "in": "path", + "required": true, "type": "string" }, { @@ -674,6 +674,32 @@ "ArtifactRegistry" ] } + }, + "/artifacts/api/v1/trigger/deactivate": { + "patch": { + "operationId": "DeactivateTrigger", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/artifactDeactivateTriggerResponse" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/artifactDeactivateTriggerRequest" + } + } + ], + "tags": [ + "ArtifactRegistry" + ] + } } }, "definitions": { @@ -1190,7 +1216,15 @@ "artifactCreateTriggerResponse": { "type": "object" }, - "artifactDeleteTriggerResponse": { + "artifactDeactivateTriggerRequest": { + "type": "object", + "properties": { + "trigger_id": { + "$ref": "#/definitions/coreIdentifier" + } + } + }, + "artifactDeactivateTriggerResponse": { "type": "object" }, "artifactExecutionInputsResponse": { diff --git a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go index b692594368..dd2cf39d08 100644 --- a/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/event/cloudevents.pb.go @@ -26,18 +26,16 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // information that downstream consumers may find useful. type CloudEventWorkflowExecution struct { RawEvent *WorkflowExecutionEvent `protobuf:"bytes,1,opt,name=raw_event,json=rawEvent,proto3" json:"raw_event,omitempty"` - OutputData *core.LiteralMap `protobuf:"bytes,2,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` - OutputInterface *core.TypedInterface `protobuf:"bytes,3,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` - InputData *core.LiteralMap `protobuf:"bytes,4,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` + OutputInterface *core.TypedInterface `protobuf:"bytes,2,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` // The following are ExecutionMetadata fields // We can't have the ExecutionMetadata object directly because of import cycle - ArtifactIds []*core.ArtifactID `protobuf:"bytes,5,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` - ReferenceExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,6,opt,name=reference_execution,json=referenceExecution,proto3" json:"reference_execution,omitempty"` - Principal string `protobuf:"bytes,7,opt,name=principal,proto3" json:"principal,omitempty"` + ArtifactIds []*core.ArtifactID `protobuf:"bytes,3,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + ReferenceExecution *core.WorkflowExecutionIdentifier `protobuf:"bytes,4,opt,name=reference_execution,json=referenceExecution,proto3" json:"reference_execution,omitempty"` + Principal string `protobuf:"bytes,5,opt,name=principal,proto3" json:"principal,omitempty"` // 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,8,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` + 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:"-"` @@ -75,13 +73,6 @@ func (m *CloudEventWorkflowExecution) GetRawEvent() *WorkflowExecutionEvent { return nil } -func (m *CloudEventWorkflowExecution) GetOutputData() *core.LiteralMap { - if m != nil { - return m.OutputData - } - return nil -} - func (m *CloudEventWorkflowExecution) GetOutputInterface() *core.TypedInterface { if m != nil { return m.OutputInterface @@ -89,13 +80,6 @@ func (m *CloudEventWorkflowExecution) GetOutputInterface() *core.TypedInterface return nil } -func (m *CloudEventWorkflowExecution) GetInputData() *core.LiteralMap { - if m != nil { - return m.InputData - } - return nil -} - func (m *CloudEventWorkflowExecution) GetArtifactIds() []*core.ArtifactID { if m != nil { return m.ArtifactIds @@ -128,19 +112,16 @@ type CloudEventNodeExecution struct { 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"` - // Hydrated output - OutputData *core.LiteralMap `protobuf:"bytes,3,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` // The typed interface for the task that produced the event. - OutputInterface *core.TypedInterface `protobuf:"bytes,4,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` - InputData *core.LiteralMap `protobuf:"bytes,5,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` + OutputInterface *core.TypedInterface `protobuf:"bytes,3,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` // The following are ExecutionMetadata fields // We can't have the ExecutionMetadata object directly because of import cycle - ArtifactIds []*core.ArtifactID `protobuf:"bytes,6,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` - Principal string `protobuf:"bytes,7,opt,name=principal,proto3" json:"principal,omitempty"` + ArtifactIds []*core.ArtifactID `protobuf:"bytes,4,rep,name=artifact_ids,json=artifactIds,proto3" json:"artifact_ids,omitempty"` + Principal string `protobuf:"bytes,5,opt,name=principal,proto3" json:"principal,omitempty"` // 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,8,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` + 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:"-"` @@ -185,13 +166,6 @@ func (m *CloudEventNodeExecution) GetTaskExecId() *core.TaskExecutionIdentifier return nil } -func (m *CloudEventNodeExecution) GetOutputData() *core.LiteralMap { - if m != nil { - return m.OutputData - } - return nil -} - func (m *CloudEventNodeExecution) GetOutputInterface() *core.TypedInterface { if m != nil { return m.OutputInterface @@ -199,13 +173,6 @@ func (m *CloudEventNodeExecution) GetOutputInterface() *core.TypedInterface { return nil } -func (m *CloudEventNodeExecution) GetInputData() *core.LiteralMap { - if m != nil { - return m.InputData - } - return nil -} - func (m *CloudEventNodeExecution) GetArtifactIds() []*core.ArtifactID { if m != nil { return m.ArtifactIds @@ -273,10 +240,10 @@ type CloudEventExecutionStart struct { // The launch plan used. LaunchPlanId *core.Identifier `protobuf:"bytes,2,opt,name=launch_plan_id,json=launchPlanId,proto3" json:"launch_plan_id,omitempty"` WorkflowId *core.Identifier `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` - // Artifact IDs found + // 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 keys found. - ArtifactKeys []string `protobuf:"bytes,5,rep,name=artifact_keys,json=artifactKeys,proto3" json:"artifact_keys,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:"-"` @@ -336,9 +303,9 @@ func (m *CloudEventExecutionStart) GetArtifactIds() []*core.ArtifactID { return nil } -func (m *CloudEventExecutionStart) GetArtifactKeys() []string { +func (m *CloudEventExecutionStart) GetArtifactTrackers() []string { if m != nil { - return m.ArtifactKeys + return m.ArtifactTrackers } return nil } @@ -360,43 +327,40 @@ func init() { func init() { proto.RegisterFile("flyteidl/event/cloudevents.proto", fileDescriptor_f8af3ecc827e5d5e) } var fileDescriptor_f8af3ecc827e5d5e = []byte{ - // 595 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x5d, 0x6f, 0xd3, 0x30, - 0x14, 0x55, 0x3f, 0x56, 0x56, 0xb7, 0x0c, 0x14, 0x1e, 0x08, 0x65, 0x83, 0xaa, 0x48, 0x68, 0x42, - 0x22, 0x91, 0xe0, 0x05, 0xf1, 0xa1, 0x09, 0xb6, 0x49, 0x8b, 0x60, 0x08, 0x05, 0x24, 0xa4, 0xf1, - 0x10, 0xb9, 0xf1, 0x4d, 0x66, 0x35, 0x8d, 0x23, 0xc7, 0xa1, 0xf4, 0x91, 0xff, 0xc1, 0xff, 0xe3, - 0x6f, 0xa0, 0x38, 0x89, 0xd3, 0xb8, 0x95, 0x46, 0x35, 0x78, 0x99, 0x3c, 0xdf, 0x73, 0x8e, 0xaf, - 0xcf, 0x3d, 0xa9, 0xd1, 0x38, 0x88, 0x96, 0x02, 0x28, 0x89, 0x6c, 0xf8, 0x0e, 0xb1, 0xb0, 0xfd, - 0x88, 0x65, 0x44, 0x2e, 0x53, 0x2b, 0xe1, 0x4c, 0x30, 0x63, 0xaf, 0x42, 0x58, 0x72, 0x7b, 0x34, - 0xd2, 0x18, 0xf2, 0x6f, 0x81, 0x1d, 0xed, 0xab, 0x9a, 0xcf, 0x38, 0xd8, 0x11, 0x15, 0xc0, 0x71, - 0x54, 0x2a, 0x8d, 0x0e, 0x9a, 0x55, 0x1a, 0x0b, 0xe0, 0x01, 0xf6, 0xa1, 0x2c, 0x3f, 0x6c, 0x96, - 0x31, 0x17, 0x34, 0xc0, 0xbe, 0xf0, 0x28, 0x29, 0x01, 0x0f, 0x34, 0x3e, 0x81, 0x58, 0xd0, 0x80, - 0x02, 0xaf, 0x04, 0x42, 0xc6, 0xc2, 0x08, 0x6c, 0xf9, 0xdf, 0x34, 0x0b, 0x6c, 0x41, 0xe7, 0x90, - 0x0a, 0x3c, 0x4f, 0x0a, 0xc0, 0xe4, 0x57, 0x17, 0xdd, 0x3f, 0xce, 0x2f, 0x78, 0x9a, 0xf7, 0xfc, - 0x95, 0xf1, 0x59, 0x10, 0xb1, 0xc5, 0xe9, 0x0f, 0xf0, 0x33, 0x41, 0x59, 0x6c, 0x1c, 0xa3, 0x3e, - 0xc7, 0x0b, 0x4f, 0xde, 0xc8, 0x6c, 0x8d, 0x5b, 0x87, 0x83, 0x67, 0x8f, 0xad, 0xe6, 0xf5, 0xad, - 0x35, 0x96, 0xd4, 0x72, 0x77, 0x39, 0x5e, 0xc8, 0x95, 0xf1, 0x12, 0x0d, 0x58, 0x26, 0x92, 0x4c, - 0x78, 0x04, 0x0b, 0x6c, 0xb6, 0xa5, 0xcc, 0xbd, 0x5a, 0x26, 0xef, 0xdd, 0xfa, 0x50, 0x38, 0x73, - 0x8e, 0x13, 0x17, 0x15, 0xe8, 0x13, 0x2c, 0xb0, 0x71, 0x86, 0x6e, 0x97, 0x5c, 0x65, 0x8e, 0xd9, - 0x91, 0x02, 0x07, 0x9a, 0xc0, 0x97, 0x65, 0x02, 0xc4, 0xa9, 0x40, 0xee, 0xad, 0x82, 0xa6, 0x36, - 0x8c, 0x17, 0x08, 0xd1, 0x58, 0x35, 0xd1, 0xbd, 0xaa, 0x89, 0xbe, 0x04, 0xcb, 0x1e, 0x5e, 0xa3, - 0xe1, 0x8a, 0xf5, 0xa9, 0xb9, 0x33, 0xee, 0x6c, 0xe0, 0xbe, 0x2d, 0x21, 0xce, 0x89, 0x3b, 0xa8, - 0xe0, 0x0e, 0x49, 0x8d, 0x6f, 0xe8, 0x0e, 0x87, 0x00, 0x38, 0xc4, 0x3e, 0x78, 0x50, 0x79, 0x64, - 0xf6, 0x64, 0x03, 0x4f, 0x34, 0x91, 0x35, 0x2f, 0x1d, 0x35, 0x52, 0xd7, 0x50, 0x32, 0xf5, 0x7c, - 0xf6, 0x51, 0x3f, 0xe1, 0x34, 0xf6, 0x69, 0x82, 0x23, 0xf3, 0xc6, 0xb8, 0x75, 0xd8, 0x77, 0xeb, - 0x0d, 0xe3, 0x08, 0xed, 0x45, 0x38, 0x8b, 0xfd, 0x4b, 0x2f, 0x89, 0x70, 0xec, 0x51, 0x62, 0xee, - 0x6e, 0xbc, 0xf6, 0xca, 0x21, 0xc3, 0x82, 0xf0, 0x29, 0xc2, 0xb1, 0x43, 0x26, 0x3f, 0xbb, 0xe8, - 0x6e, 0x1d, 0x8f, 0x8f, 0x8c, 0xac, 0x1c, 0x7d, 0xb4, 0x1e, 0x8d, 0x89, 0x1e, 0x8d, 0x06, 0x43, - 0x8f, 0xc5, 0x19, 0x1a, 0x0a, 0x9c, 0xce, 0xa4, 0x27, 0x79, 0x6f, 0x6d, 0x3d, 0x5e, 0xc5, 0x58, - 0x71, 0x3a, 0xdb, 0xe4, 0x06, 0x12, 0x65, 0xc1, 0x21, 0x7a, 0xc0, 0x3a, 0xd7, 0x0d, 0x58, 0xf7, - 0x1f, 0x04, 0x6c, 0xe7, 0x1a, 0x01, 0xeb, 0x6d, 0x15, 0xb0, 0xff, 0x9c, 0x81, 0x8b, 0xd5, 0x08, - 0x34, 0xa6, 0xf1, 0x57, 0x11, 0x68, 0x30, 0xb4, 0x08, 0x4c, 0x7e, 0xb7, 0x91, 0x59, 0x8b, 0x2b, - 0xd8, 0x67, 0x81, 0xb9, 0x30, 0xce, 0xd1, 0x50, 0x7d, 0x2e, 0x79, 0xdf, 0xad, 0xad, 0xbf, 0x98, - 0x01, 0xd4, 0x9b, 0x1b, 0x8c, 0x68, 0x6f, 0x65, 0x44, 0x9e, 0xb2, 0x45, 0x79, 0x58, 0xce, 0xee, - 0x5c, 0xc5, 0x46, 0x15, 0xda, 0x21, 0x6b, 0x13, 0xee, 0x6e, 0x35, 0xe1, 0x47, 0xe8, 0xa6, 0x62, - 0xcf, 0x60, 0x59, 0xfc, 0x02, 0xf5, 0x5d, 0x25, 0xf9, 0x1e, 0x96, 0x5a, 0x0c, 0x7a, 0x5a, 0x0c, - 0xde, 0xbd, 0xb9, 0x78, 0x15, 0x52, 0x71, 0x99, 0x4d, 0x2d, 0x9f, 0xcd, 0x6d, 0x79, 0x2c, 0xe3, - 0x61, 0xb1, 0xb0, 0xd5, 0x2b, 0x12, 0x42, 0x6c, 0x27, 0xd3, 0xa7, 0x21, 0xb3, 0x9b, 0x4f, 0xda, - 0xb4, 0x27, 0x9f, 0x8b, 0xe7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x96, 0x62, 0x9e, 0x02, 0x1d, - 0x07, 0x00, 0x00, + // 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, } diff --git a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java index 9d3cbf73cb..861dc1f87b 100644 --- a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java +++ b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java @@ -13584,8 +13584,8 @@ public flyteidl.artifact.Artifacts.CreateTriggerResponse getDefaultInstanceForTy } - public interface DeleteTriggerRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeleteTriggerRequest) + public interface DeactivateTriggerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeactivateTriggerRequest) com.google.protobuf.MessageOrBuilder { /** @@ -13602,18 +13602,18 @@ public interface DeleteTriggerRequestOrBuilder extends flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getTriggerIdOrBuilder(); } /** - * Protobuf type {@code flyteidl.artifact.DeleteTriggerRequest} + * Protobuf type {@code flyteidl.artifact.DeactivateTriggerRequest} */ - public static final class DeleteTriggerRequest extends + public static final class DeactivateTriggerRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeleteTriggerRequest) - DeleteTriggerRequestOrBuilder { + // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeactivateTriggerRequest) + DeactivateTriggerRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use DeleteTriggerRequest.newBuilder() to construct. - private DeleteTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DeactivateTriggerRequest.newBuilder() to construct. + private DeactivateTriggerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTriggerRequest() { + private DeactivateTriggerRequest() { } @java.lang.Override @@ -13621,7 +13621,7 @@ private DeleteTriggerRequest() { getUnknownFields() { return this.unknownFields; } - private DeleteTriggerRequest( + private DeactivateTriggerRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13674,15 +13674,15 @@ private DeleteTriggerRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.artifact.Artifacts.DeleteTriggerRequest.class, flyteidl.artifact.Artifacts.DeleteTriggerRequest.Builder.class); + flyteidl.artifact.Artifacts.DeactivateTriggerRequest.class, flyteidl.artifact.Artifacts.DeactivateTriggerRequest.Builder.class); } public static final int TRIGGER_ID_FIELD_NUMBER = 1; @@ -13746,10 +13746,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof flyteidl.artifact.Artifacts.DeleteTriggerRequest)) { + if (!(obj instanceof flyteidl.artifact.Artifacts.DeactivateTriggerRequest)) { return super.equals(obj); } - flyteidl.artifact.Artifacts.DeleteTriggerRequest other = (flyteidl.artifact.Artifacts.DeleteTriggerRequest) obj; + flyteidl.artifact.Artifacts.DeactivateTriggerRequest other = (flyteidl.artifact.Artifacts.DeactivateTriggerRequest) obj; if (hasTriggerId() != other.hasTriggerId()) return false; if (hasTriggerId()) { @@ -13776,69 +13776,69 @@ public int hashCode() { return hash; } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom(byte[] data) + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom(java.io.InputStream input) + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseDelimitedFrom(java.io.InputStream input) + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseDelimitedFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -13851,7 +13851,7 @@ public static flyteidl.artifact.Artifacts.DeleteTriggerRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(flyteidl.artifact.Artifacts.DeleteTriggerRequest prototype) { + public static Builder newBuilder(flyteidl.artifact.Artifacts.DeactivateTriggerRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -13867,26 +13867,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code flyteidl.artifact.DeleteTriggerRequest} + * Protobuf type {@code flyteidl.artifact.DeactivateTriggerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeleteTriggerRequest) - flyteidl.artifact.Artifacts.DeleteTriggerRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeactivateTriggerRequest) + flyteidl.artifact.Artifacts.DeactivateTriggerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.artifact.Artifacts.DeleteTriggerRequest.class, flyteidl.artifact.Artifacts.DeleteTriggerRequest.Builder.class); + flyteidl.artifact.Artifacts.DeactivateTriggerRequest.class, flyteidl.artifact.Artifacts.DeactivateTriggerRequest.Builder.class); } - // Construct using flyteidl.artifact.Artifacts.DeleteTriggerRequest.newBuilder() + // Construct using flyteidl.artifact.Artifacts.DeactivateTriggerRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -13916,17 +13916,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor; } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstanceForType() { - return flyteidl.artifact.Artifacts.DeleteTriggerRequest.getDefaultInstance(); + public flyteidl.artifact.Artifacts.DeactivateTriggerRequest getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.DeactivateTriggerRequest.getDefaultInstance(); } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerRequest build() { - flyteidl.artifact.Artifacts.DeleteTriggerRequest result = buildPartial(); + public flyteidl.artifact.Artifacts.DeactivateTriggerRequest build() { + flyteidl.artifact.Artifacts.DeactivateTriggerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -13934,8 +13934,8 @@ public flyteidl.artifact.Artifacts.DeleteTriggerRequest build() { } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerRequest buildPartial() { - flyteidl.artifact.Artifacts.DeleteTriggerRequest result = new flyteidl.artifact.Artifacts.DeleteTriggerRequest(this); + public flyteidl.artifact.Artifacts.DeactivateTriggerRequest buildPartial() { + flyteidl.artifact.Artifacts.DeactivateTriggerRequest result = new flyteidl.artifact.Artifacts.DeactivateTriggerRequest(this); if (triggerIdBuilder_ == null) { result.triggerId_ = triggerId_; } else { @@ -13979,16 +13979,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.artifact.Artifacts.DeleteTriggerRequest) { - return mergeFrom((flyteidl.artifact.Artifacts.DeleteTriggerRequest)other); + if (other instanceof flyteidl.artifact.Artifacts.DeactivateTriggerRequest) { + return mergeFrom((flyteidl.artifact.Artifacts.DeactivateTriggerRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(flyteidl.artifact.Artifacts.DeleteTriggerRequest other) { - if (other == flyteidl.artifact.Artifacts.DeleteTriggerRequest.getDefaultInstance()) return this; + public Builder mergeFrom(flyteidl.artifact.Artifacts.DeactivateTriggerRequest other) { + if (other == flyteidl.artifact.Artifacts.DeactivateTriggerRequest.getDefaultInstance()) return this; if (other.hasTriggerId()) { mergeTriggerId(other.getTriggerId()); } @@ -14007,11 +14007,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - flyteidl.artifact.Artifacts.DeleteTriggerRequest parsedMessage = null; + flyteidl.artifact.Artifacts.DeactivateTriggerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.artifact.Artifacts.DeleteTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = (flyteidl.artifact.Artifacts.DeactivateTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14150,63 +14150,63 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeleteTriggerRequest) + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeactivateTriggerRequest) } - // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerRequest) - private static final flyteidl.artifact.Artifacts.DeleteTriggerRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeactivateTriggerRequest) + private static final flyteidl.artifact.Artifacts.DeactivateTriggerRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeleteTriggerRequest(); + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeactivateTriggerRequest(); } - public static flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstance() { + public static flyteidl.artifact.Artifacts.DeactivateTriggerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public DeleteTriggerRequest parsePartialFrom( + public DeactivateTriggerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTriggerRequest(input, extensionRegistry); + return new DeactivateTriggerRequest(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerRequest getDefaultInstanceForType() { + public flyteidl.artifact.Artifacts.DeactivateTriggerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface DeleteTriggerResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeleteTriggerResponse) + public interface DeactivateTriggerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.artifact.DeactivateTriggerResponse) com.google.protobuf.MessageOrBuilder { } /** - * Protobuf type {@code flyteidl.artifact.DeleteTriggerResponse} + * Protobuf type {@code flyteidl.artifact.DeactivateTriggerResponse} */ - public static final class DeleteTriggerResponse extends + public static final class DeactivateTriggerResponse extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeleteTriggerResponse) - DeleteTriggerResponseOrBuilder { + // @@protoc_insertion_point(message_implements:flyteidl.artifact.DeactivateTriggerResponse) + DeactivateTriggerResponseOrBuilder { private static final long serialVersionUID = 0L; - // Use DeleteTriggerResponse.newBuilder() to construct. - private DeleteTriggerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use DeactivateTriggerResponse.newBuilder() to construct. + private DeactivateTriggerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTriggerResponse() { + private DeactivateTriggerResponse() { } @java.lang.Override @@ -14214,7 +14214,7 @@ private DeleteTriggerResponse() { getUnknownFields() { return this.unknownFields; } - private DeleteTriggerResponse( + private DeactivateTriggerResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -14253,15 +14253,15 @@ private DeleteTriggerResponse( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.artifact.Artifacts.DeleteTriggerResponse.class, flyteidl.artifact.Artifacts.DeleteTriggerResponse.Builder.class); + flyteidl.artifact.Artifacts.DeactivateTriggerResponse.class, flyteidl.artifact.Artifacts.DeactivateTriggerResponse.Builder.class); } private byte memoizedIsInitialized = -1; @@ -14297,10 +14297,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof flyteidl.artifact.Artifacts.DeleteTriggerResponse)) { + if (!(obj instanceof flyteidl.artifact.Artifacts.DeactivateTriggerResponse)) { return super.equals(obj); } - flyteidl.artifact.Artifacts.DeleteTriggerResponse other = (flyteidl.artifact.Artifacts.DeleteTriggerResponse) obj; + flyteidl.artifact.Artifacts.DeactivateTriggerResponse other = (flyteidl.artifact.Artifacts.DeactivateTriggerResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -14318,69 +14318,69 @@ public int hashCode() { return hash; } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom(byte[] data) + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom(java.io.InputStream input) + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseDelimitedFrom(java.io.InputStream input) + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseDelimitedFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -14393,7 +14393,7 @@ public static flyteidl.artifact.Artifacts.DeleteTriggerResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(flyteidl.artifact.Artifacts.DeleteTriggerResponse prototype) { + public static Builder newBuilder(flyteidl.artifact.Artifacts.DeactivateTriggerResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -14409,26 +14409,26 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code flyteidl.artifact.DeleteTriggerResponse} + * Protobuf type {@code flyteidl.artifact.DeactivateTriggerResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeleteTriggerResponse) - flyteidl.artifact.Artifacts.DeleteTriggerResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:flyteidl.artifact.DeactivateTriggerResponse) + flyteidl.artifact.Artifacts.DeactivateTriggerResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - flyteidl.artifact.Artifacts.DeleteTriggerResponse.class, flyteidl.artifact.Artifacts.DeleteTriggerResponse.Builder.class); + flyteidl.artifact.Artifacts.DeactivateTriggerResponse.class, flyteidl.artifact.Artifacts.DeactivateTriggerResponse.Builder.class); } - // Construct using flyteidl.artifact.Artifacts.DeleteTriggerResponse.newBuilder() + // Construct using flyteidl.artifact.Artifacts.DeactivateTriggerResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -14452,17 +14452,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + return flyteidl.artifact.Artifacts.internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor; } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstanceForType() { - return flyteidl.artifact.Artifacts.DeleteTriggerResponse.getDefaultInstance(); + public flyteidl.artifact.Artifacts.DeactivateTriggerResponse getDefaultInstanceForType() { + return flyteidl.artifact.Artifacts.DeactivateTriggerResponse.getDefaultInstance(); } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerResponse build() { - flyteidl.artifact.Artifacts.DeleteTriggerResponse result = buildPartial(); + public flyteidl.artifact.Artifacts.DeactivateTriggerResponse build() { + flyteidl.artifact.Artifacts.DeactivateTriggerResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -14470,8 +14470,8 @@ public flyteidl.artifact.Artifacts.DeleteTriggerResponse build() { } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerResponse buildPartial() { - flyteidl.artifact.Artifacts.DeleteTriggerResponse result = new flyteidl.artifact.Artifacts.DeleteTriggerResponse(this); + public flyteidl.artifact.Artifacts.DeactivateTriggerResponse buildPartial() { + flyteidl.artifact.Artifacts.DeactivateTriggerResponse result = new flyteidl.artifact.Artifacts.DeactivateTriggerResponse(this); onBuilt(); return result; } @@ -14510,16 +14510,16 @@ public Builder addRepeatedField( } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof flyteidl.artifact.Artifacts.DeleteTriggerResponse) { - return mergeFrom((flyteidl.artifact.Artifacts.DeleteTriggerResponse)other); + if (other instanceof flyteidl.artifact.Artifacts.DeactivateTriggerResponse) { + return mergeFrom((flyteidl.artifact.Artifacts.DeactivateTriggerResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(flyteidl.artifact.Artifacts.DeleteTriggerResponse other) { - if (other == flyteidl.artifact.Artifacts.DeleteTriggerResponse.getDefaultInstance()) return this; + public Builder mergeFrom(flyteidl.artifact.Artifacts.DeactivateTriggerResponse other) { + if (other == flyteidl.artifact.Artifacts.DeactivateTriggerResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -14535,11 +14535,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - flyteidl.artifact.Artifacts.DeleteTriggerResponse parsedMessage = null; + flyteidl.artifact.Artifacts.DeactivateTriggerResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (flyteidl.artifact.Artifacts.DeleteTriggerResponse) e.getUnfinishedMessage(); + parsedMessage = (flyteidl.artifact.Artifacts.DeactivateTriggerResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14561,41 +14561,41 @@ public final Builder mergeUnknownFields( } - // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeleteTriggerResponse) + // @@protoc_insertion_point(builder_scope:flyteidl.artifact.DeactivateTriggerResponse) } - // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeleteTriggerResponse) - private static final flyteidl.artifact.Artifacts.DeleteTriggerResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:flyteidl.artifact.DeactivateTriggerResponse) + private static final flyteidl.artifact.Artifacts.DeactivateTriggerResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeleteTriggerResponse(); + DEFAULT_INSTANCE = new flyteidl.artifact.Artifacts.DeactivateTriggerResponse(); } - public static flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstance() { + public static flyteidl.artifact.Artifacts.DeactivateTriggerResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public DeleteTriggerResponse parsePartialFrom( + public DeactivateTriggerResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTriggerResponse(input, extensionRegistry); + return new DeactivateTriggerResponse(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public flyteidl.artifact.Artifacts.DeleteTriggerResponse getDefaultInstanceForType() { + public flyteidl.artifact.Artifacts.DeactivateTriggerResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -19891,15 +19891,15 @@ public flyteidl.artifact.Artifacts.ExecutionInputsResponse getDefaultInstanceFor com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_artifact_CreateTriggerResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor; + internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable; + internal_static_flyteidl_artifact_DeactivateTriggerRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor; + internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable; + internal_static_flyteidl_artifact_DeactivateTriggerResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_artifact_ArtifactProducer_descriptor; private static final @@ -20000,73 +20000,74 @@ public flyteidl.artifact.Artifacts.ExecutionInputsResponse getDefaultInstanceFor "\r\n\005value\030\002 \001(\t\022\021\n\toverwrite\030\003 \001(\010\"\020\n\016Add" + "TagResponse\"O\n\024CreateTriggerRequest\0227\n\023t" + "rigger_launch_plan\030\001 \001(\0132\032.flyteidl.admi" + - "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"E\n" + - "\024DeleteTriggerRequest\022-\n\ntrigger_id\030\001 \001(" + - "\0132\031.flyteidl.core.Identifier\"\027\n\025DeleteTr" + - "iggerResponse\"m\n\020ArtifactProducer\022,\n\tent" + - "ity_id\030\001 \001(\0132\031.flyteidl.core.Identifier\022" + - "+\n\007outputs\030\002 \001(\0132\032.flyteidl.core.Variabl" + - "eMap\"Q\n\027RegisterProducerRequest\0226\n\tprodu" + - "cers\030\001 \003(\0132#.flyteidl.artifact.ArtifactP" + - "roducer\"m\n\020ArtifactConsumer\022,\n\tentity_id" + - "\030\001 \001(\0132\031.flyteidl.core.Identifier\022+\n\006inp" + - "uts\030\002 \001(\0132\033.flyteidl.core.ParameterMap\"Q" + - "\n\027RegisterConsumerRequest\0226\n\tconsumers\030\001" + - " \003(\0132#.flyteidl.artifact.ArtifactConsume" + - "r\"\022\n\020RegisterResponse\"\205\001\n\026ExecutionInput" + - "sRequest\022@\n\014execution_id\030\001 \001(\0132*.flyteid" + - "l.core.WorkflowExecutionIdentifier\022)\n\006in" + - "puts\030\002 \003(\0132\031.flyteidl.core.ArtifactID\"\031\n" + - "\027ExecutionInputsResponse2\327\016\n\020ArtifactReg" + - "istry\022g\n\016CreateArtifact\022(.flyteidl.artif" + - "act.CreateArtifactRequest\032).flyteidl.art" + - "ifact.CreateArtifactResponse\"\000\022\205\005\n\013GetAr" + - "tifact\022%.flyteidl.artifact.GetArtifactRe" + - "quest\032&.flyteidl.artifact.GetArtifactRes" + - "ponse\"\246\004\202\323\344\223\002\237\004\022 /artifacts/api/v1/data/" + - "artifactsZ\270\001\022\265\001/artifacts/api/v1/data/ar" + - "tifact/id/{query.artifact_id.artifact_ke" + - "y.project}/{query.artifact_id.artifact_k" + - "ey.domain}/{query.artifact_id.artifact_k" + - "ey.name}/{query.artifact_id.version}Z\234\001\022" + - "\231\001/artifacts/api/v1/data/artifact/id/{qu" + - "ery.artifact_id.artifact_key.project}/{q" + - "uery.artifact_id.artifact_key.domain}/{q" + - "uery.artifact_id.artifact_key.name}Z\240\001\022\235" + - "\001/artifacts/api/v1/data/artifact/tag/{qu" + - "ery.artifact_tag.artifact_key.project}/{" + - "query.artifact_tag.artifact_key.domain}/" + - "{query.artifact_tag.artifact_key.name}\022\240" + - "\002\n\017SearchArtifacts\022).flyteidl.artifact.S" + - "earchArtifactsRequest\032*.flyteidl.artifac" + - "t.SearchArtifactsResponse\"\265\001\202\323\344\223\002\256\001\022_/ar" + - "tifacts/api/v1/data/query/s/{artifact_ke" + - "y.project}/{artifact_key.domain}/{artifa" + - "ct_key.name}ZK\022I/artifacts/api/v1/data/q" + - "uery/{artifact_key.project}/{artifact_ke" + - "y.domain}\022d\n\rCreateTrigger\022\'.flyteidl.ar" + - "tifact.CreateTriggerRequest\032(.flyteidl.a" + - "rtifact.CreateTriggerResponse\"\000\022d\n\rDelet" + - "eTrigger\022\'.flyteidl.artifact.DeleteTrigg" + - "erRequest\032(.flyteidl.artifact.DeleteTrig" + - "gerResponse\"\000\022O\n\006AddTag\022 .flyteidl.artif" + - "act.AddTagRequest\032!.flyteidl.artifact.Ad" + - "dTagResponse\"\000\022e\n\020RegisterProducer\022*.fly" + - "teidl.artifact.RegisterProducerRequest\032#" + - ".flyteidl.artifact.RegisterResponse\"\000\022e\n" + - "\020RegisterConsumer\022*.flyteidl.artifact.Re" + - "gisterConsumerRequest\032#.flyteidl.artifac" + - "t.RegisterResponse\"\000\022m\n\022SetExecutionInpu" + - "ts\022).flyteidl.artifact.ExecutionInputsRe" + - "quest\032*.flyteidl.artifact.ExecutionInput" + - "sResponse\"\000\022\324\001\n\022FindByWorkflowExec\022,.fly" + - "teidl.artifact.FindByWorkflowExecRequest" + - "\032*.flyteidl.artifact.SearchArtifactsResp" + - "onse\"d\202\323\344\223\002^\022\\/artifacts/api/v1/data/que" + - "ry/e/{exec_id.project}/{exec_id.domain}/" + - "{exec_id.name}/{direction}B@Z>github.com" + - "/flyteorg/flyte/flyteidl/gen/pb-go/flyte" + - "idl/artifactb\006proto3" + "n.LaunchPlan\"\027\n\025CreateTriggerResponse\"I\n" + + "\030DeactivateTriggerRequest\022-\n\ntrigger_id\030" + + "\001 \001(\0132\031.flyteidl.core.Identifier\"\033\n\031Deac" + + "tivateTriggerResponse\"m\n\020ArtifactProduce" + + "r\022,\n\tentity_id\030\001 \001(\0132\031.flyteidl.core.Ide" + + "ntifier\022+\n\007outputs\030\002 \001(\0132\032.flyteidl.core" + + ".VariableMap\"Q\n\027RegisterProducerRequest\022" + + "6\n\tproducers\030\001 \003(\0132#.flyteidl.artifact.A" + + "rtifactProducer\"m\n\020ArtifactConsumer\022,\n\te" + + "ntity_id\030\001 \001(\0132\031.flyteidl.core.Identifie" + + "r\022+\n\006inputs\030\002 \001(\0132\033.flyteidl.core.Parame" + + "terMap\"Q\n\027RegisterConsumerRequest\0226\n\tcon" + + "sumers\030\001 \003(\0132#.flyteidl.artifact.Artifac" + + "tConsumer\"\022\n\020RegisterResponse\"\205\001\n\026Execut" + + "ionInputsRequest\022@\n\014execution_id\030\001 \001(\0132*" + + ".flyteidl.core.WorkflowExecutionIdentifi" + + "er\022)\n\006inputs\030\002 \003(\0132\031.flyteidl.core.Artif" + + "actID\"\031\n\027ExecutionInputsResponse2\371\016\n\020Art" + + "ifactRegistry\022g\n\016CreateArtifact\022(.flytei" + + "dl.artifact.CreateArtifactRequest\032).flyt" + + "eidl.artifact.CreateArtifactResponse\"\000\022\361" + + "\004\n\013GetArtifact\022%.flyteidl.artifact.GetAr" + + "tifactRequest\032&.flyteidl.artifact.GetArt" + + "ifactResponse\"\222\004\202\323\344\223\002\213\004\022\033/artifacts/api/" + + "v1/artifactsZ\263\001\022\260\001/artifacts/api/v1/arti" + + "fact/id/{query.artifact_id.artifact_key." + + "project}/{query.artifact_id.artifact_key" + + ".domain}/{query.artifact_id.artifact_key" + + ".name}/{query.artifact_id.version}Z\227\001\022\224\001" + + "/artifacts/api/v1/artifact/id/{query.art" + + "ifact_id.artifact_key.project}/{query.ar" + + "tifact_id.artifact_key.domain}/{query.ar" + + "tifact_id.artifact_key.name}Z\233\001\022\230\001/artif" + + "acts/api/v1/artifact/tag/{query.artifact" + + "_tag.artifact_key.project}/{query.artifa" + + "ct_tag.artifact_key.domain}/{query.artif" + + "act_tag.artifact_key.name}\022\226\002\n\017SearchArt" + + "ifacts\022).flyteidl.artifact.SearchArtifac" + + "tsRequest\032*.flyteidl.artifact.SearchArti" + + "factsResponse\"\253\001\202\323\344\223\002\244\001\022Y/artifacts/api/" + + "v1/search/{artifact_key.project}/{artifa" + + "ct_key.domain}/{artifact_key.name}ZG\022E/a" + + "rtifacts/api/v1/search/{artifact_key.pro" + + "ject}/{artifact_key.domain}\022d\n\rCreateTri" + + "gger\022\'.flyteidl.artifact.CreateTriggerRe" + + "quest\032(.flyteidl.artifact.CreateTriggerR" + + "esponse\"\000\022\237\001\n\021DeactivateTrigger\022+.flytei" + + "dl.artifact.DeactivateTriggerRequest\032,.f" + + "lyteidl.artifact.DeactivateTriggerRespon" + + "se\"/\202\323\344\223\002)2$/artifacts/api/v1/trigger/de" + + "activate:\001*\022O\n\006AddTag\022 .flyteidl.artifac" + + "t.AddTagRequest\032!.flyteidl.artifact.AddT" + + "agResponse\"\000\022e\n\020RegisterProducer\022*.flyte" + + "idl.artifact.RegisterProducerRequest\032#.f" + + "lyteidl.artifact.RegisterResponse\"\000\022e\n\020R" + + "egisterConsumer\022*.flyteidl.artifact.Regi" + + "sterConsumerRequest\032#.flyteidl.artifact." + + "RegisterResponse\"\000\022m\n\022SetExecutionInputs" + + "\022).flyteidl.artifact.ExecutionInputsRequ" + + "est\032*.flyteidl.artifact.ExecutionInputsR" + + "esponse\"\000\022\330\001\n\022FindByWorkflowExec\022,.flyte" + + "idl.artifact.FindByWorkflowExecRequest\032*" + + ".flyteidl.artifact.SearchArtifactsRespon" + + "se\"h\202\323\344\223\002b\022`/artifacts/api/v1/search/exe" + + "cution/{exec_id.project}/{exec_id.domain" + + "}/{exec_id.name}/{direction}B@Z>github.c" + + "om/flyteorg/flyte/flyteidl/gen/pb-go/fly" + + "teidl/artifactb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -20185,17 +20186,17 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_artifact_CreateTriggerResponse_descriptor, new java.lang.String[] { }); - internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor = + internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor = getDescriptor().getMessageTypes().get(15); - internal_static_flyteidl_artifact_DeleteTriggerRequest_fieldAccessorTable = new + internal_static_flyteidl_artifact_DeactivateTriggerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_artifact_DeleteTriggerRequest_descriptor, + internal_static_flyteidl_artifact_DeactivateTriggerRequest_descriptor, new java.lang.String[] { "TriggerId", }); - internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor = + internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor = getDescriptor().getMessageTypes().get(16); - internal_static_flyteidl_artifact_DeleteTriggerResponse_fieldAccessorTable = new + internal_static_flyteidl_artifact_DeactivateTriggerResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_artifact_DeleteTriggerResponse_descriptor, + internal_static_flyteidl_artifact_DeactivateTriggerResponse_descriptor, new java.lang.String[] { }); internal_static_flyteidl_artifact_ArtifactProducer_descriptor = getDescriptor().getMessageTypes().get(17); diff --git a/flyteidl/gen/pb-java/flyteidl/event/Cloudevents.java b/flyteidl/gen/pb-java/flyteidl/event/Cloudevents.java index 65bdf5ab1f..0a1bc8e73a 100644 --- a/flyteidl/gen/pb-java/flyteidl/event/Cloudevents.java +++ b/flyteidl/gen/pb-java/flyteidl/event/Cloudevents.java @@ -32,51 +32,25 @@ public interface CloudEventWorkflowExecutionOrBuilder extends flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder(); /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - boolean hasOutputData(); - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - flyteidl.core.Literals.LiteralMap getOutputData(); - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); - - /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ boolean hasOutputInterface(); /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ flyteidl.core.Interface.TypedInterface getOutputInterface(); /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder(); - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - boolean hasInputData(); - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - flyteidl.core.Literals.LiteralMap getInputData(); - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder(); - /** *
      * The following are ExecutionMetadata fields
      * We can't have the ExecutionMetadata object directly because of import cycle
      * 
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ java.util.List getArtifactIdsList(); @@ -86,7 +60,7 @@ public interface CloudEventWorkflowExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle *
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); /** @@ -95,7 +69,7 @@ public interface CloudEventWorkflowExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle *
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ int getArtifactIdsCount(); /** @@ -104,7 +78,7 @@ public interface CloudEventWorkflowExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle *
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ java.util.List getArtifactIdsOrBuilderList(); @@ -114,30 +88,30 @@ public interface CloudEventWorkflowExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( int index); /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ boolean hasReferenceExecution(); /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution(); /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder(); /** - * string principal = 7; + * string principal = 5; */ java.lang.String getPrincipal(); /** - * string principal = 7; + * string principal = 5; */ com.google.protobuf.ByteString getPrincipalBytes(); @@ -149,7 +123,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ boolean hasLaunchPlanId(); /** @@ -159,7 +133,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId(); /** @@ -169,7 +143,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder(); } @@ -233,19 +207,6 @@ private CloudEventWorkflowExecution( break; } case 18: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputData_ != null) { - subBuilder = outputData_.toBuilder(); - } - outputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputData_); - outputData_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { flyteidl.core.Interface.TypedInterface.Builder subBuilder = null; if (outputInterface_ != null) { subBuilder = outputInterface_.toBuilder(); @@ -258,29 +219,16 @@ private CloudEventWorkflowExecution( break; } - case 34: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (inputData_ != null) { - subBuilder = inputData_.toBuilder(); - } - inputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputData_); - inputData_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { artifactIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000004; } artifactIds_.add( input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); break; } - case 50: { + case 34: { flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder subBuilder = null; if (referenceExecution_ != null) { subBuilder = referenceExecution_.toBuilder(); @@ -293,13 +241,13 @@ private CloudEventWorkflowExecution( break; } - case 58: { + case 42: { java.lang.String s = input.readStringRequireUtf8(); principal_ = s; break; } - case 66: { + case 50: { flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; if (launchPlanId_ != null) { subBuilder = launchPlanId_.toBuilder(); @@ -327,7 +275,7 @@ private CloudEventWorkflowExecution( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); } this.unknownFields = unknownFields.build(); @@ -369,70 +317,28 @@ public flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder return getRawEvent(); } - public static final int OUTPUT_DATA_FIELD_NUMBER = 2; - private flyteidl.core.Literals.LiteralMap outputData_; - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public boolean hasOutputData() { - return outputData_ != null; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - return getOutputData(); - } - - public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 3; + public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 2; private flyteidl.core.Interface.TypedInterface outputInterface_; /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public boolean hasOutputInterface() { return outputInterface_ != null; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .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 = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { return getOutputInterface(); } - public static final int INPUT_DATA_FIELD_NUMBER = 4; - private flyteidl.core.Literals.LiteralMap inputData_; - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public boolean hasInputData() { - return inputData_ != null; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - return getInputData(); - } - - public static final int ARTIFACT_IDS_FIELD_NUMBER = 5; + public static final int ARTIFACT_IDS_FIELD_NUMBER = 3; private java.util.List artifactIds_; /** *
@@ -440,7 +346,7 @@ public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() {
      * We can't have the ExecutionMetadata object directly because of import cycle
      * 
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public java.util.List getArtifactIdsList() { return artifactIds_; @@ -451,7 +357,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public java.util.List getArtifactIdsOrBuilderList() { @@ -463,7 +369,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public int getArtifactIdsCount() { return artifactIds_.size(); @@ -474,7 +380,7 @@ public int getArtifactIdsCount() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { return artifactIds_.get(index); @@ -485,38 +391,38 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * 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 = 6; + public static final int REFERENCE_EXECUTION_FIELD_NUMBER = 4; private flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier referenceExecution_; /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public boolean hasReferenceExecution() { return referenceExecution_ != null; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .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 = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { return getReferenceExecution(); } - public static final int PRINCIPAL_FIELD_NUMBER = 7; + public static final int PRINCIPAL_FIELD_NUMBER = 5; private volatile java.lang.Object principal_; /** - * string principal = 7; + * string principal = 5; */ public java.lang.String getPrincipal() { java.lang.Object ref = principal_; @@ -531,7 +437,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public com.google.protobuf.ByteString getPrincipalBytes() { @@ -547,7 +453,7 @@ public java.lang.String getPrincipal() { } } - public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 8; + public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 6; private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; /** *
@@ -556,7 +462,7 @@ public java.lang.String getPrincipal() {
      * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
      * 
* - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public boolean hasLaunchPlanId() { return launchPlanId_ != null; @@ -568,7 +474,7 @@ public boolean hasLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; @@ -580,7 +486,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { return getLaunchPlanId(); @@ -603,26 +509,20 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (rawEvent_ != null) { output.writeMessage(1, getRawEvent()); } - if (outputData_ != null) { - output.writeMessage(2, getOutputData()); - } if (outputInterface_ != null) { - output.writeMessage(3, getOutputInterface()); - } - if (inputData_ != null) { - output.writeMessage(4, getInputData()); + output.writeMessage(2, getOutputInterface()); } for (int i = 0; i < artifactIds_.size(); i++) { - output.writeMessage(5, artifactIds_.get(i)); + output.writeMessage(3, artifactIds_.get(i)); } if (referenceExecution_ != null) { - output.writeMessage(6, getReferenceExecution()); + output.writeMessage(4, getReferenceExecution()); } if (!getPrincipalBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, principal_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, principal_); } if (launchPlanId_ != null) { - output.writeMessage(8, getLaunchPlanId()); + output.writeMessage(6, getLaunchPlanId()); } unknownFields.writeTo(output); } @@ -637,32 +537,24 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRawEvent()); } - if (outputData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOutputData()); - } if (outputInterface_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOutputInterface()); - } - if (inputData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getInputData()); + .computeMessageSize(2, getOutputInterface()); } for (int i = 0; i < artifactIds_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, artifactIds_.get(i)); + .computeMessageSize(3, artifactIds_.get(i)); } if (referenceExecution_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getReferenceExecution()); + .computeMessageSize(4, getReferenceExecution()); } if (!getPrincipalBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, principal_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, principal_); } if (launchPlanId_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getLaunchPlanId()); + .computeMessageSize(6, getLaunchPlanId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -684,21 +576,11 @@ public boolean equals(final java.lang.Object obj) { if (!getRawEvent() .equals(other.getRawEvent())) return false; } - if (hasOutputData() != other.hasOutputData()) return false; - if (hasOutputData()) { - if (!getOutputData() - .equals(other.getOutputData())) return false; - } if (hasOutputInterface() != other.hasOutputInterface()) return false; if (hasOutputInterface()) { if (!getOutputInterface() .equals(other.getOutputInterface())) return false; } - if (hasInputData() != other.hasInputData()) return false; - if (hasInputData()) { - if (!getInputData() - .equals(other.getInputData())) return false; - } if (!getArtifactIdsList() .equals(other.getArtifactIdsList())) return false; if (hasReferenceExecution() != other.hasReferenceExecution()) return false; @@ -728,18 +610,10 @@ public int hashCode() { hash = (37 * hash) + RAW_EVENT_FIELD_NUMBER; hash = (53 * hash) + getRawEvent().hashCode(); } - if (hasOutputData()) { - hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getOutputData().hashCode(); - } if (hasOutputInterface()) { hash = (37 * hash) + OUTPUT_INTERFACE_FIELD_NUMBER; hash = (53 * hash) + getOutputInterface().hashCode(); } - if (hasInputData()) { - hash = (37 * hash) + INPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getInputData().hashCode(); - } if (getArtifactIdsCount() > 0) { hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; hash = (53 * hash) + getArtifactIdsList().hashCode(); @@ -899,27 +773,15 @@ public Builder clear() { rawEvent_ = null; rawEventBuilder_ = null; } - if (outputDataBuilder_ == null) { - outputData_ = null; - } else { - outputData_ = null; - outputDataBuilder_ = null; - } if (outputInterfaceBuilder_ == null) { outputInterface_ = null; } else { outputInterface_ = null; outputInterfaceBuilder_ = null; } - if (inputDataBuilder_ == null) { - inputData_ = null; - } else { - inputData_ = null; - inputDataBuilder_ = null; - } if (artifactIdsBuilder_ == null) { artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } else { artifactIdsBuilder_.clear(); } @@ -970,25 +832,15 @@ public flyteidl.event.Cloudevents.CloudEventWorkflowExecution buildPartial() { } else { result.rawEvent_ = rawEventBuilder_.build(); } - if (outputDataBuilder_ == null) { - result.outputData_ = outputData_; - } else { - result.outputData_ = outputDataBuilder_.build(); - } if (outputInterfaceBuilder_ == null) { result.outputInterface_ = outputInterface_; } else { result.outputInterface_ = outputInterfaceBuilder_.build(); } - if (inputDataBuilder_ == null) { - result.inputData_ = inputData_; - } else { - result.inputData_ = inputDataBuilder_.build(); - } if (artifactIdsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } result.artifactIds_ = artifactIds_; } else { @@ -1057,20 +909,14 @@ public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventWorkflowExecution if (other.hasRawEvent()) { mergeRawEvent(other.getRawEvent()); } - if (other.hasOutputData()) { - mergeOutputData(other.getOutputData()); - } if (other.hasOutputInterface()) { mergeOutputInterface(other.getOutputInterface()); } - if (other.hasInputData()) { - mergeInputData(other.getInputData()); - } if (artifactIdsBuilder_ == null) { if (!other.artifactIds_.isEmpty()) { if (artifactIds_.isEmpty()) { artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureArtifactIdsIsMutable(); artifactIds_.addAll(other.artifactIds_); @@ -1083,7 +929,7 @@ public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventWorkflowExecution artifactIdsBuilder_.dispose(); artifactIdsBuilder_ = null; artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); artifactIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArtifactIdsFieldBuilder() : null; @@ -1249,134 +1095,17 @@ public flyteidl.event.Event.WorkflowExecutionEventOrBuilder getRawEventOrBuilder return rawEventBuilder_; } - private flyteidl.core.Literals.LiteralMap outputData_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public boolean hasOutputData() { - return outputDataBuilder_ != null || outputData_ != null; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputDataBuilder_ == null) { - return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } else { - return outputDataBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputData_ = value; - onChanged(); - } else { - outputDataBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public Builder setOutputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputDataBuilder_ == null) { - outputData_ = builderForValue.build(); - onChanged(); - } else { - outputDataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (outputData_ != null) { - outputData_ = - flyteidl.core.Literals.LiteralMap.newBuilder(outputData_).mergeFrom(value).buildPartial(); - } else { - outputData_ = value; - } - onChanged(); - } else { - outputDataBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public Builder clearOutputData() { - if (outputDataBuilder_ == null) { - outputData_ = null; - onChanged(); - } else { - outputData_ = null; - outputDataBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { - - onChanged(); - return getOutputDataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if (outputDataBuilder_ != null) { - return outputDataBuilder_.getMessageOrBuilder(); - } else { - return outputData_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } - } - /** - * .flyteidl.core.LiteralMap output_data = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputDataFieldBuilder() { - if (outputDataBuilder_ == null) { - outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getOutputData(), - getParentForChildren(), - isClean()); - outputData_ = null; - } - return outputDataBuilder_; - } - 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 = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public boolean hasOutputInterface() { return outputInterfaceBuilder_ != null || outputInterface_ != null; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public flyteidl.core.Interface.TypedInterface getOutputInterface() { if (outputInterfaceBuilder_ == null) { @@ -1386,7 +1115,7 @@ public flyteidl.core.Interface.TypedInterface getOutputInterface() { } } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) { if (outputInterfaceBuilder_ == null) { @@ -1402,7 +1131,7 @@ public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) return this; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public Builder setOutputInterface( flyteidl.core.Interface.TypedInterface.Builder builderForValue) { @@ -1416,7 +1145,7 @@ public Builder setOutputInterface( return this; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value) { if (outputInterfaceBuilder_ == null) { @@ -1434,7 +1163,7 @@ public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value return this; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public Builder clearOutputInterface() { if (outputInterfaceBuilder_ == null) { @@ -1448,7 +1177,7 @@ public Builder clearOutputInterface() { return this; } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder() { @@ -1456,7 +1185,7 @@ public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder( return getOutputInterfaceFieldBuilder().getBuilder(); } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { if (outputInterfaceBuilder_ != null) { @@ -1467,7 +1196,7 @@ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuild } } /** - * .flyteidl.core.TypedInterface output_interface = 3; + * .flyteidl.core.TypedInterface output_interface = 2; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> @@ -1483,129 +1212,12 @@ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuild return outputInterfaceBuilder_; } - private flyteidl.core.Literals.LiteralMap inputData_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputDataBuilder_; - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public boolean hasInputData() { - return inputDataBuilder_ != null || inputData_ != null; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - if (inputDataBuilder_ == null) { - return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } else { - return inputDataBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public Builder setInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputData_ = value; - onChanged(); - } else { - inputDataBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public Builder setInputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (inputDataBuilder_ == null) { - inputData_ = builderForValue.build(); - onChanged(); - } else { - inputDataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public Builder mergeInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (inputData_ != null) { - inputData_ = - flyteidl.core.Literals.LiteralMap.newBuilder(inputData_).mergeFrom(value).buildPartial(); - } else { - inputData_ = value; - } - onChanged(); - } else { - inputDataBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public Builder clearInputData() { - if (inputDataBuilder_ == null) { - inputData_ = null; - onChanged(); - } else { - inputData_ = null; - inputDataBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public flyteidl.core.Literals.LiteralMap.Builder getInputDataBuilder() { - - onChanged(); - return getInputDataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - if (inputDataBuilder_ != null) { - return inputDataBuilder_.getMessageOrBuilder(); - } else { - return inputData_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } - } - /** - * .flyteidl.core.LiteralMap input_data = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getInputDataFieldBuilder() { - if (inputDataBuilder_ == null) { - inputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getInputData(), - getParentForChildren(), - isClean()); - inputData_ = null; - } - return inputDataBuilder_; - } - private java.util.List artifactIds_ = java.util.Collections.emptyList(); private void ensureArtifactIdsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!((bitField0_ & 0x00000004) != 0)) { artifactIds_ = new java.util.ArrayList(artifactIds_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000004; } } @@ -1618,7 +1230,7 @@ private void ensureArtifactIdsIsMutable() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public java.util.List getArtifactIdsList() { if (artifactIdsBuilder_ == null) { @@ -1633,7 +1245,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public int getArtifactIdsCount() { if (artifactIdsBuilder_ == null) { @@ -1648,7 +1260,7 @@ public int getArtifactIdsCount() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { if (artifactIdsBuilder_ == null) { @@ -1663,7 +1275,7 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder setArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID value) { @@ -1685,7 +1297,7 @@ public Builder setArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder setArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -1704,7 +1316,7 @@ public Builder setArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { if (artifactIdsBuilder_ == null) { @@ -1725,7 +1337,7 @@ public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder addArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID value) { @@ -1747,7 +1359,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder addArtifactIds( flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -1766,7 +1378,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder addArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -1785,7 +1397,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder addAllArtifactIds( java.lang.Iterable values) { @@ -1805,12 +1417,12 @@ public Builder addAllArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder clearArtifactIds() { if (artifactIdsBuilder_ == null) { artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { artifactIdsBuilder_.clear(); @@ -1823,7 +1435,7 @@ public Builder clearArtifactIds() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public Builder removeArtifactIds(int index) { if (artifactIdsBuilder_ == null) { @@ -1841,7 +1453,7 @@ public Builder removeArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( int index) { @@ -1853,7 +1465,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( int index) { @@ -1868,7 +1480,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public java.util.List getArtifactIdsOrBuilderList() { @@ -1884,7 +1496,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { return getArtifactIdsFieldBuilder().addBuilder( @@ -1896,7 +1508,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( int index) { @@ -1909,7 +1521,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 5; + * repeated .flyteidl.core.ArtifactID artifact_ids = 3; */ public java.util.List getArtifactIdsBuilderList() { @@ -1922,7 +1534,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( artifactIds_, - ((bitField0_ & 0x00000010) != 0), + ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); artifactIds_ = null; @@ -1934,13 +1546,13 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> referenceExecutionBuilder_; /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public boolean hasReferenceExecution() { return referenceExecutionBuilder_ != null || referenceExecution_ != null; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferenceExecution() { if (referenceExecutionBuilder_ == null) { @@ -1950,7 +1562,7 @@ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier getReferen } } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public Builder setReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { if (referenceExecutionBuilder_ == null) { @@ -1966,7 +1578,7 @@ public Builder setReferenceExecution(flyteidl.core.IdentifierOuterClass.Workflow return this; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public Builder setReferenceExecution( flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder builderForValue) { @@ -1980,7 +1592,7 @@ public Builder setReferenceExecution( return this; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public Builder mergeReferenceExecution(flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier value) { if (referenceExecutionBuilder_ == null) { @@ -1998,7 +1610,7 @@ public Builder mergeReferenceExecution(flyteidl.core.IdentifierOuterClass.Workfl return this; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public Builder clearReferenceExecution() { if (referenceExecutionBuilder_ == null) { @@ -2012,7 +1624,7 @@ public Builder clearReferenceExecution() { return this; } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder getReferenceExecutionBuilder() { @@ -2020,7 +1632,7 @@ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder ge return getReferenceExecutionFieldBuilder().getBuilder(); } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getReferenceExecutionOrBuilder() { if (referenceExecutionBuilder_ != null) { @@ -2031,7 +1643,7 @@ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder g } } /** - * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 6; + * .flyteidl.core.WorkflowExecutionIdentifier reference_execution = 4; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifier.Builder, flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder> @@ -2049,7 +1661,7 @@ public flyteidl.core.IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder g private java.lang.Object principal_ = ""; /** - * string principal = 7; + * string principal = 5; */ public java.lang.String getPrincipal() { java.lang.Object ref = principal_; @@ -2064,7 +1676,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public com.google.protobuf.ByteString getPrincipalBytes() { @@ -2080,7 +1692,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public Builder setPrincipal( java.lang.String value) { @@ -2093,7 +1705,7 @@ public Builder setPrincipal( return this; } /** - * string principal = 7; + * string principal = 5; */ public Builder clearPrincipal() { @@ -2102,7 +1714,7 @@ public Builder clearPrincipal() { return this; } /** - * string principal = 7; + * string principal = 5; */ public Builder setPrincipalBytes( com.google.protobuf.ByteString value) { @@ -2126,7 +1738,7 @@ public Builder setPrincipalBytes( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public boolean hasLaunchPlanId() { return launchPlanIdBuilder_ != null || launchPlanId_ != null; @@ -2138,7 +1750,7 @@ public boolean hasLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { if (launchPlanIdBuilder_ == null) { @@ -2154,7 +1766,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { if (launchPlanIdBuilder_ == null) { @@ -2176,7 +1788,7 @@ public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier val * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder setLaunchPlanId( flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { @@ -2196,7 +1808,7 @@ public Builder setLaunchPlanId( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { if (launchPlanIdBuilder_ == null) { @@ -2220,7 +1832,7 @@ public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier v * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder clearLaunchPlanId() { if (launchPlanIdBuilder_ == null) { @@ -2240,7 +1852,7 @@ public Builder clearLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuilder() { @@ -2254,7 +1866,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuil * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { if (launchPlanIdBuilder_ != null) { @@ -2271,7 +1883,7 @@ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrB * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .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> @@ -2381,37 +1993,12 @@ public interface CloudEventNodeExecutionOrBuilder extends */ flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTaskExecIdOrBuilder(); - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - boolean hasOutputData(); - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - flyteidl.core.Literals.LiteralMap getOutputData(); - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder(); - /** *
      * The typed interface for the task that produced the event.
      * 
* - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ boolean hasOutputInterface(); /** @@ -2419,7 +2006,7 @@ public interface CloudEventNodeExecutionOrBuilder extends * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ flyteidl.core.Interface.TypedInterface getOutputInterface(); /** @@ -2427,30 +2014,17 @@ public interface CloudEventNodeExecutionOrBuilder extends * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder(); - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - boolean hasInputData(); - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - flyteidl.core.Literals.LiteralMap getInputData(); - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder(); - /** *
      * The following are ExecutionMetadata fields
      * We can't have the ExecutionMetadata object directly because of import cycle
      * 
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ java.util.List getArtifactIdsList(); @@ -2460,7 +2034,7 @@ public interface CloudEventNodeExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); /** @@ -2469,7 +2043,7 @@ public interface CloudEventNodeExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ int getArtifactIdsCount(); /** @@ -2478,7 +2052,7 @@ public interface CloudEventNodeExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ java.util.List getArtifactIdsOrBuilderList(); @@ -2488,17 +2062,17 @@ public interface CloudEventNodeExecutionOrBuilder extends * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( int index); /** - * string principal = 7; + * string principal = 5; */ java.lang.String getPrincipal(); /** - * string principal = 7; + * string principal = 5; */ com.google.protobuf.ByteString getPrincipalBytes(); @@ -2510,7 +2084,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ boolean hasLaunchPlanId(); /** @@ -2520,7 +2094,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId(); /** @@ -2530,7 +2104,7 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder(); } @@ -2602,19 +2176,6 @@ private CloudEventNodeExecution( break; } case 26: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (outputData_ != null) { - subBuilder = outputData_.toBuilder(); - } - outputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(outputData_); - outputData_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { flyteidl.core.Interface.TypedInterface.Builder subBuilder = null; if (outputInterface_ != null) { subBuilder = outputInterface_.toBuilder(); @@ -2627,35 +2188,22 @@ private CloudEventNodeExecution( break; } - case 42: { - flyteidl.core.Literals.LiteralMap.Builder subBuilder = null; - if (inputData_ != null) { - subBuilder = inputData_.toBuilder(); - } - inputData_ = input.readMessage(flyteidl.core.Literals.LiteralMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputData_); - inputData_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { + case 34: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { artifactIds_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000020; + mutable_bitField0_ |= 0x00000008; } artifactIds_.add( input.readMessage(flyteidl.core.ArtifactId.ArtifactID.parser(), extensionRegistry)); break; } - case 58: { + case 42: { java.lang.String s = input.readStringRequireUtf8(); principal_ = s; break; } - case 66: { + case 50: { flyteidl.core.IdentifierOuterClass.Identifier.Builder subBuilder = null; if (launchPlanId_ != null) { subBuilder = launchPlanId_.toBuilder(); @@ -2683,7 +2231,7 @@ private CloudEventNodeExecution( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000020) != 0)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); } this.unknownFields = unknownFields.build(); @@ -2758,47 +2306,14 @@ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTa return getTaskExecId(); } - public static final int OUTPUT_DATA_FIELD_NUMBER = 3; - private flyteidl.core.Literals.LiteralMap outputData_; - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public boolean hasOutputData() { - return outputData_ != null; - } - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } - /** - *
-     * Hydrated output
-     * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - return getOutputData(); - } - - public static final int OUTPUT_INTERFACE_FIELD_NUMBER = 4; + 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 = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public boolean hasOutputInterface() { return outputInterface_ != null; @@ -2808,7 +2323,7 @@ public boolean hasOutputInterface() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public flyteidl.core.Interface.TypedInterface getOutputInterface() { return outputInterface_ == null ? flyteidl.core.Interface.TypedInterface.getDefaultInstance() : outputInterface_; @@ -2818,34 +2333,13 @@ public flyteidl.core.Interface.TypedInterface getOutputInterface() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { return getOutputInterface(); } - public static final int INPUT_DATA_FIELD_NUMBER = 5; - private flyteidl.core.Literals.LiteralMap inputData_; - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public boolean hasInputData() { - return inputData_ != null; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - return getInputData(); - } - - public static final int ARTIFACT_IDS_FIELD_NUMBER = 6; + public static final int ARTIFACT_IDS_FIELD_NUMBER = 4; private java.util.List artifactIds_; /** *
@@ -2853,7 +2347,7 @@ public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() {
      * We can't have the ExecutionMetadata object directly because of import cycle
      * 
* - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public java.util.List getArtifactIdsList() { return artifactIds_; @@ -2864,7 +2358,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public java.util.List getArtifactIdsOrBuilderList() { @@ -2876,7 +2370,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public int getArtifactIdsCount() { return artifactIds_.size(); @@ -2887,7 +2381,7 @@ public int getArtifactIdsCount() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { return artifactIds_.get(index); @@ -2898,17 +2392,17 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * 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 = 7; + public static final int PRINCIPAL_FIELD_NUMBER = 5; private volatile java.lang.Object principal_; /** - * string principal = 7; + * string principal = 5; */ public java.lang.String getPrincipal() { java.lang.Object ref = principal_; @@ -2923,7 +2417,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public com.google.protobuf.ByteString getPrincipalBytes() { @@ -2939,7 +2433,7 @@ public java.lang.String getPrincipal() { } } - public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 8; + public static final int LAUNCH_PLAN_ID_FIELD_NUMBER = 6; private flyteidl.core.IdentifierOuterClass.Identifier launchPlanId_; /** *
@@ -2948,7 +2442,7 @@ public java.lang.String getPrincipal() {
      * Launch plan IDs are easier to get than workflow IDs so we'll use these for now.
      * 
* - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public boolean hasLaunchPlanId() { return launchPlanId_ != null; @@ -2960,7 +2454,7 @@ public boolean hasLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { return launchPlanId_ == null ? flyteidl.core.IdentifierOuterClass.Identifier.getDefaultInstance() : launchPlanId_; @@ -2972,7 +2466,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { return getLaunchPlanId(); @@ -2998,23 +2492,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (taskExecId_ != null) { output.writeMessage(2, getTaskExecId()); } - if (outputData_ != null) { - output.writeMessage(3, getOutputData()); - } if (outputInterface_ != null) { - output.writeMessage(4, getOutputInterface()); - } - if (inputData_ != null) { - output.writeMessage(5, getInputData()); + output.writeMessage(3, getOutputInterface()); } for (int i = 0; i < artifactIds_.size(); i++) { - output.writeMessage(6, artifactIds_.get(i)); + output.writeMessage(4, artifactIds_.get(i)); } if (!getPrincipalBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, principal_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, principal_); } if (launchPlanId_ != null) { - output.writeMessage(8, getLaunchPlanId()); + output.writeMessage(6, getLaunchPlanId()); } unknownFields.writeTo(output); } @@ -3033,28 +2521,20 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTaskExecId()); } - if (outputData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOutputData()); - } if (outputInterface_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getOutputInterface()); - } - if (inputData_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getInputData()); + .computeMessageSize(3, getOutputInterface()); } for (int i = 0; i < artifactIds_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, artifactIds_.get(i)); + .computeMessageSize(4, artifactIds_.get(i)); } if (!getPrincipalBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, principal_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, principal_); } if (launchPlanId_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getLaunchPlanId()); + .computeMessageSize(6, getLaunchPlanId()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3081,21 +2561,11 @@ public boolean equals(final java.lang.Object obj) { if (!getTaskExecId() .equals(other.getTaskExecId())) return false; } - if (hasOutputData() != other.hasOutputData()) return false; - if (hasOutputData()) { - if (!getOutputData() - .equals(other.getOutputData())) return false; - } if (hasOutputInterface() != other.hasOutputInterface()) return false; if (hasOutputInterface()) { if (!getOutputInterface() .equals(other.getOutputInterface())) return false; } - if (hasInputData() != other.hasInputData()) return false; - if (hasInputData()) { - if (!getInputData() - .equals(other.getInputData())) return false; - } if (!getArtifactIdsList() .equals(other.getArtifactIdsList())) return false; if (!getPrincipal() @@ -3124,18 +2594,10 @@ public int hashCode() { hash = (37 * hash) + TASK_EXEC_ID_FIELD_NUMBER; hash = (53 * hash) + getTaskExecId().hashCode(); } - if (hasOutputData()) { - hash = (37 * hash) + OUTPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getOutputData().hashCode(); - } if (hasOutputInterface()) { hash = (37 * hash) + OUTPUT_INTERFACE_FIELD_NUMBER; hash = (53 * hash) + getOutputInterface().hashCode(); } - if (hasInputData()) { - hash = (37 * hash) + INPUT_DATA_FIELD_NUMBER; - hash = (53 * hash) + getInputData().hashCode(); - } if (getArtifactIdsCount() > 0) { hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; hash = (53 * hash) + getArtifactIdsList().hashCode(); @@ -3292,27 +2754,15 @@ public Builder clear() { taskExecId_ = null; taskExecIdBuilder_ = null; } - if (outputDataBuilder_ == null) { - outputData_ = null; - } else { - outputData_ = null; - outputDataBuilder_ = null; - } if (outputInterfaceBuilder_ == null) { outputInterface_ = null; } else { outputInterface_ = null; outputInterfaceBuilder_ = null; } - if (inputDataBuilder_ == null) { - inputData_ = null; - } else { - inputData_ = null; - inputDataBuilder_ = null; - } if (artifactIdsBuilder_ == null) { artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } else { artifactIdsBuilder_.clear(); } @@ -3362,25 +2812,15 @@ public flyteidl.event.Cloudevents.CloudEventNodeExecution buildPartial() { } else { result.taskExecId_ = taskExecIdBuilder_.build(); } - if (outputDataBuilder_ == null) { - result.outputData_ = outputData_; - } else { - result.outputData_ = outputDataBuilder_.build(); - } if (outputInterfaceBuilder_ == null) { result.outputInterface_ = outputInterface_; } else { result.outputInterface_ = outputInterfaceBuilder_.build(); } - if (inputDataBuilder_ == null) { - result.inputData_ = inputData_; - } else { - result.inputData_ = inputDataBuilder_.build(); - } if (artifactIdsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } result.artifactIds_ = artifactIds_; } else { @@ -3447,20 +2887,14 @@ public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventNodeExecution othe if (other.hasTaskExecId()) { mergeTaskExecId(other.getTaskExecId()); } - if (other.hasOutputData()) { - mergeOutputData(other.getOutputData()); - } if (other.hasOutputInterface()) { mergeOutputInterface(other.getOutputInterface()); } - if (other.hasInputData()) { - mergeInputData(other.getInputData()); - } if (artifactIdsBuilder_ == null) { if (!other.artifactIds_.isEmpty()) { if (artifactIds_.isEmpty()) { artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); } else { ensureArtifactIdsIsMutable(); artifactIds_.addAll(other.artifactIds_); @@ -3473,7 +2907,7 @@ public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventNodeExecution othe artifactIdsBuilder_.dispose(); artifactIdsBuilder_ = null; artifactIds_ = other.artifactIds_; - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); artifactIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getArtifactIdsFieldBuilder() : null; @@ -3789,159 +3223,6 @@ public flyteidl.core.IdentifierOuterClass.TaskExecutionIdentifierOrBuilder getTa return taskExecIdBuilder_; } - private flyteidl.core.Literals.LiteralMap outputData_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> outputDataBuilder_; - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public boolean hasOutputData() { - return outputDataBuilder_ != null || outputData_ != null; - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public flyteidl.core.Literals.LiteralMap getOutputData() { - if (outputDataBuilder_ == null) { - return outputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } else { - return outputDataBuilder_.getMessage(); - } - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public Builder setOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputData_ = value; - onChanged(); - } else { - outputDataBuilder_.setMessage(value); - } - - return this; - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public Builder setOutputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (outputDataBuilder_ == null) { - outputData_ = builderForValue.build(); - onChanged(); - } else { - outputDataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public Builder mergeOutputData(flyteidl.core.Literals.LiteralMap value) { - if (outputDataBuilder_ == null) { - if (outputData_ != null) { - outputData_ = - flyteidl.core.Literals.LiteralMap.newBuilder(outputData_).mergeFrom(value).buildPartial(); - } else { - outputData_ = value; - } - onChanged(); - } else { - outputDataBuilder_.mergeFrom(value); - } - - return this; - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public Builder clearOutputData() { - if (outputDataBuilder_ == null) { - outputData_ = null; - onChanged(); - } else { - outputData_ = null; - outputDataBuilder_ = null; - } - - return this; - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public flyteidl.core.Literals.LiteralMap.Builder getOutputDataBuilder() { - - onChanged(); - return getOutputDataFieldBuilder().getBuilder(); - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { - if (outputDataBuilder_ != null) { - return outputDataBuilder_.getMessageOrBuilder(); - } else { - return outputData_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : outputData_; - } - } - /** - *
-       * Hydrated output
-       * 
- * - * .flyteidl.core.LiteralMap output_data = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getOutputDataFieldBuilder() { - if (outputDataBuilder_ == null) { - outputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getOutputData(), - getParentForChildren(), - isClean()); - outputData_ = null; - } - return outputDataBuilder_; - } - 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_; @@ -3950,7 +3231,7 @@ public flyteidl.core.Literals.LiteralMapOrBuilder getOutputDataOrBuilder() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public boolean hasOutputInterface() { return outputInterfaceBuilder_ != null || outputInterface_ != null; @@ -3960,7 +3241,7 @@ public boolean hasOutputInterface() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public flyteidl.core.Interface.TypedInterface getOutputInterface() { if (outputInterfaceBuilder_ == null) { @@ -3974,7 +3255,7 @@ public flyteidl.core.Interface.TypedInterface getOutputInterface() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) { if (outputInterfaceBuilder_ == null) { @@ -3994,7 +3275,7 @@ public Builder setOutputInterface(flyteidl.core.Interface.TypedInterface value) * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public Builder setOutputInterface( flyteidl.core.Interface.TypedInterface.Builder builderForValue) { @@ -4012,7 +3293,7 @@ public Builder setOutputInterface( * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value) { if (outputInterfaceBuilder_ == null) { @@ -4034,7 +3315,7 @@ public Builder mergeOutputInterface(flyteidl.core.Interface.TypedInterface value * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public Builder clearOutputInterface() { if (outputInterfaceBuilder_ == null) { @@ -4052,7 +3333,7 @@ public Builder clearOutputInterface() { * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder() { @@ -4064,7 +3345,7 @@ public flyteidl.core.Interface.TypedInterface.Builder getOutputInterfaceBuilder( * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuilder() { if (outputInterfaceBuilder_ != null) { @@ -4079,7 +3360,7 @@ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuild * The typed interface for the task that produced the event. * * - * .flyteidl.core.TypedInterface output_interface = 4; + * .flyteidl.core.TypedInterface output_interface = 3; */ private com.google.protobuf.SingleFieldBuilderV3< flyteidl.core.Interface.TypedInterface, flyteidl.core.Interface.TypedInterface.Builder, flyteidl.core.Interface.TypedInterfaceOrBuilder> @@ -4095,129 +3376,12 @@ public flyteidl.core.Interface.TypedInterfaceOrBuilder getOutputInterfaceOrBuild return outputInterfaceBuilder_; } - private flyteidl.core.Literals.LiteralMap inputData_; - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> inputDataBuilder_; - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public boolean hasInputData() { - return inputDataBuilder_ != null || inputData_ != null; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public flyteidl.core.Literals.LiteralMap getInputData() { - if (inputDataBuilder_ == null) { - return inputData_ == null ? flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } else { - return inputDataBuilder_.getMessage(); - } - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public Builder setInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - inputData_ = value; - onChanged(); - } else { - inputDataBuilder_.setMessage(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public Builder setInputData( - flyteidl.core.Literals.LiteralMap.Builder builderForValue) { - if (inputDataBuilder_ == null) { - inputData_ = builderForValue.build(); - onChanged(); - } else { - inputDataBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public Builder mergeInputData(flyteidl.core.Literals.LiteralMap value) { - if (inputDataBuilder_ == null) { - if (inputData_ != null) { - inputData_ = - flyteidl.core.Literals.LiteralMap.newBuilder(inputData_).mergeFrom(value).buildPartial(); - } else { - inputData_ = value; - } - onChanged(); - } else { - inputDataBuilder_.mergeFrom(value); - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public Builder clearInputData() { - if (inputDataBuilder_ == null) { - inputData_ = null; - onChanged(); - } else { - inputData_ = null; - inputDataBuilder_ = null; - } - - return this; - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public flyteidl.core.Literals.LiteralMap.Builder getInputDataBuilder() { - - onChanged(); - return getInputDataFieldBuilder().getBuilder(); - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - public flyteidl.core.Literals.LiteralMapOrBuilder getInputDataOrBuilder() { - if (inputDataBuilder_ != null) { - return inputDataBuilder_.getMessageOrBuilder(); - } else { - return inputData_ == null ? - flyteidl.core.Literals.LiteralMap.getDefaultInstance() : inputData_; - } - } - /** - * .flyteidl.core.LiteralMap input_data = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder> - getInputDataFieldBuilder() { - if (inputDataBuilder_ == null) { - inputDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - flyteidl.core.Literals.LiteralMap, flyteidl.core.Literals.LiteralMap.Builder, flyteidl.core.Literals.LiteralMapOrBuilder>( - getInputData(), - getParentForChildren(), - isClean()); - inputData_ = null; - } - return inputDataBuilder_; - } - private java.util.List artifactIds_ = java.util.Collections.emptyList(); private void ensureArtifactIdsIsMutable() { - if (!((bitField0_ & 0x00000020) != 0)) { + if (!((bitField0_ & 0x00000008) != 0)) { artifactIds_ = new java.util.ArrayList(artifactIds_); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000008; } } @@ -4230,7 +3394,7 @@ private void ensureArtifactIdsIsMutable() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public java.util.List getArtifactIdsList() { if (artifactIdsBuilder_ == null) { @@ -4245,7 +3409,7 @@ public java.util.List getArtifactIdsList() * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public int getArtifactIdsCount() { if (artifactIdsBuilder_ == null) { @@ -4260,7 +3424,7 @@ public int getArtifactIdsCount() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { if (artifactIdsBuilder_ == null) { @@ -4275,7 +3439,7 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder setArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID value) { @@ -4297,7 +3461,7 @@ public Builder setArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder setArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -4316,7 +3480,7 @@ public Builder setArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { if (artifactIdsBuilder_ == null) { @@ -4337,7 +3501,7 @@ public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder addArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID value) { @@ -4359,7 +3523,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder addArtifactIds( flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -4378,7 +3542,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder addArtifactIds( int index, flyteidl.core.ArtifactId.ArtifactID.Builder builderForValue) { @@ -4397,7 +3561,7 @@ public Builder addArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder addAllArtifactIds( java.lang.Iterable values) { @@ -4417,12 +3581,12 @@ public Builder addAllArtifactIds( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder clearArtifactIds() { if (artifactIdsBuilder_ == null) { artifactIds_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { artifactIdsBuilder_.clear(); @@ -4435,7 +3599,7 @@ public Builder clearArtifactIds() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public Builder removeArtifactIds(int index) { if (artifactIdsBuilder_ == null) { @@ -4453,7 +3617,7 @@ public Builder removeArtifactIds(int index) { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( int index) { @@ -4465,7 +3629,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( int index) { @@ -4480,7 +3644,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public java.util.List getArtifactIdsOrBuilderList() { @@ -4496,7 +3660,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { return getArtifactIdsFieldBuilder().addBuilder( @@ -4508,7 +3672,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( int index) { @@ -4521,7 +3685,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( * We can't have the ExecutionMetadata object directly because of import cycle * * - * repeated .flyteidl.core.ArtifactID artifact_ids = 6; + * repeated .flyteidl.core.ArtifactID artifact_ids = 4; */ public java.util.List getArtifactIdsBuilderList() { @@ -4534,7 +3698,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( artifactIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< flyteidl.core.ArtifactId.ArtifactID, flyteidl.core.ArtifactId.ArtifactID.Builder, flyteidl.core.ArtifactId.ArtifactIDOrBuilder>( artifactIds_, - ((bitField0_ & 0x00000020) != 0), + ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); artifactIds_ = null; @@ -4544,7 +3708,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( private java.lang.Object principal_ = ""; /** - * string principal = 7; + * string principal = 5; */ public java.lang.String getPrincipal() { java.lang.Object ref = principal_; @@ -4559,7 +3723,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public com.google.protobuf.ByteString getPrincipalBytes() { @@ -4575,7 +3739,7 @@ public java.lang.String getPrincipal() { } } /** - * string principal = 7; + * string principal = 5; */ public Builder setPrincipal( java.lang.String value) { @@ -4588,7 +3752,7 @@ public Builder setPrincipal( return this; } /** - * string principal = 7; + * string principal = 5; */ public Builder clearPrincipal() { @@ -4597,7 +3761,7 @@ public Builder clearPrincipal() { return this; } /** - * string principal = 7; + * string principal = 5; */ public Builder setPrincipalBytes( com.google.protobuf.ByteString value) { @@ -4621,7 +3785,7 @@ public Builder setPrincipalBytes( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public boolean hasLaunchPlanId() { return launchPlanIdBuilder_ != null || launchPlanId_ != null; @@ -4633,7 +3797,7 @@ public boolean hasLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { if (launchPlanIdBuilder_ == null) { @@ -4649,7 +3813,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier getLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { if (launchPlanIdBuilder_ == null) { @@ -4671,7 +3835,7 @@ public Builder setLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier val * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder setLaunchPlanId( flyteidl.core.IdentifierOuterClass.Identifier.Builder builderForValue) { @@ -4691,7 +3855,7 @@ public Builder setLaunchPlanId( * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier value) { if (launchPlanIdBuilder_ == null) { @@ -4715,7 +3879,7 @@ public Builder mergeLaunchPlanId(flyteidl.core.IdentifierOuterClass.Identifier v * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public Builder clearLaunchPlanId() { if (launchPlanIdBuilder_ == null) { @@ -4735,7 +3899,7 @@ public Builder clearLaunchPlanId() { * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuilder() { @@ -4749,7 +3913,7 @@ public flyteidl.core.IdentifierOuterClass.Identifier.Builder getLaunchPlanIdBuil * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .flyteidl.core.Identifier launch_plan_id = 6; */ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrBuilder() { if (launchPlanIdBuilder_ != null) { @@ -4766,7 +3930,7 @@ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanIdOrB * Launch plan IDs are easier to get than workflow IDs so we'll use these for now. * * - * .flyteidl.core.Identifier launch_plan_id = 8; + * .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> @@ -5509,7 +4673,7 @@ public interface CloudEventExecutionStartOrBuilder extends /** *
-     * Artifact IDs found
+     * 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; @@ -5518,7 +4682,7 @@ public interface CloudEventExecutionStartOrBuilder extends getArtifactIdsList(); /** *
-     * Artifact IDs found
+     * 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; @@ -5526,7 +4690,7 @@ public interface CloudEventExecutionStartOrBuilder extends flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index); /** *
-     * Artifact IDs found
+     * 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; @@ -5534,7 +4698,7 @@ public interface CloudEventExecutionStartOrBuilder extends int getArtifactIdsCount(); /** *
-     * Artifact IDs found
+     * 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; @@ -5543,7 +4707,7 @@ public interface CloudEventExecutionStartOrBuilder extends getArtifactIdsOrBuilderList(); /** *
-     * Artifact IDs found
+     * 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; @@ -5553,38 +4717,38 @@ flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( /** *
-     * Artifact keys found.
+     * 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_keys = 5; + * repeated string artifact_trackers = 5; */ java.util.List - getArtifactKeysList(); + getArtifactTrackersList(); /** *
-     * Artifact keys found.
+     * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - int getArtifactKeysCount(); + int getArtifactTrackersCount(); /** *
-     * Artifact keys found.
+     * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - java.lang.String getArtifactKeys(int index); + java.lang.String getArtifactTrackers(int index); /** *
-     * Artifact keys found.
+     * 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_keys = 5; + * repeated string artifact_trackers = 5; */ com.google.protobuf.ByteString - getArtifactKeysBytes(int index); + getArtifactTrackersBytes(int index); /** * string principal = 6; @@ -5614,7 +4778,7 @@ private CloudEventExecutionStart(com.google.protobuf.GeneratedMessageV3.Builder< } private CloudEventExecutionStart() { artifactIds_ = java.util.Collections.emptyList(); - artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; principal_ = ""; } @@ -5693,10 +4857,10 @@ private CloudEventExecutionStart( case 42: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000010) != 0)) { - artifactKeys_ = new com.google.protobuf.LazyStringArrayList(); + artifactTrackers_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000010; } - artifactKeys_.add(s); + artifactTrackers_.add(s); break; } case 50: { @@ -5724,7 +4888,7 @@ private CloudEventExecutionStart( artifactIds_ = java.util.Collections.unmodifiableList(artifactIds_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { - artifactKeys_ = artifactKeys_.getUnmodifiableView(); + artifactTrackers_ = artifactTrackers_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -5835,7 +4999,7 @@ public flyteidl.core.IdentifierOuterClass.IdentifierOrBuilder getWorkflowIdOrBui private java.util.List artifactIds_; /** *
-     * Artifact IDs found
+     * 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; @@ -5845,7 +5009,7 @@ public java.util.List getArtifactIdsList() } /** *
-     * Artifact IDs found
+     * 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; @@ -5856,7 +5020,7 @@ public java.util.List getArtifactIdsList() } /** *
-     * Artifact IDs found
+     * 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; @@ -5866,7 +5030,7 @@ public int getArtifactIdsCount() { } /** *
-     * Artifact IDs found
+     * 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; @@ -5876,7 +5040,7 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { } /** *
-     * Artifact IDs found
+     * 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; @@ -5886,49 +5050,49 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( return artifactIds_.get(index); } - public static final int ARTIFACT_KEYS_FIELD_NUMBER = 5; - private com.google.protobuf.LazyStringList artifactKeys_; + public static final int ARTIFACT_TRACKERS_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList artifactTrackers_; /** *
-     * Artifact keys found.
+     * 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_keys = 5; + * repeated string artifact_trackers = 5; */ public com.google.protobuf.ProtocolStringList - getArtifactKeysList() { - return artifactKeys_; + getArtifactTrackersList() { + return artifactTrackers_; } /** *
-     * Artifact keys found.
+     * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - public int getArtifactKeysCount() { - return artifactKeys_.size(); + public int getArtifactTrackersCount() { + return artifactTrackers_.size(); } /** *
-     * Artifact keys found.
+     * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - public java.lang.String getArtifactKeys(int index) { - return artifactKeys_.get(index); + public java.lang.String getArtifactTrackers(int index) { + return artifactTrackers_.get(index); } /** *
-     * Artifact keys found.
+     * 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_keys = 5; + * repeated string artifact_trackers = 5; */ public com.google.protobuf.ByteString - getArtifactKeysBytes(int index) { - return artifactKeys_.getByteString(index); + getArtifactTrackersBytes(int index) { + return artifactTrackers_.getByteString(index); } public static final int PRINCIPAL_FIELD_NUMBER = 6; @@ -5991,8 +5155,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < artifactIds_.size(); i++) { output.writeMessage(4, artifactIds_.get(i)); } - for (int i = 0; i < artifactKeys_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, artifactKeys_.getRaw(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_); @@ -6024,11 +5188,11 @@ public int getSerializedSize() { } { int dataSize = 0; - for (int i = 0; i < artifactKeys_.size(); i++) { - dataSize += computeStringSizeNoTag(artifactKeys_.getRaw(i)); + for (int i = 0; i < artifactTrackers_.size(); i++) { + dataSize += computeStringSizeNoTag(artifactTrackers_.getRaw(i)); } size += dataSize; - size += 1 * getArtifactKeysList().size(); + size += 1 * getArtifactTrackersList().size(); } if (!getPrincipalBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, principal_); @@ -6065,8 +5229,8 @@ public boolean equals(final java.lang.Object obj) { } if (!getArtifactIdsList() .equals(other.getArtifactIdsList())) return false; - if (!getArtifactKeysList() - .equals(other.getArtifactKeysList())) return false; + if (!getArtifactTrackersList() + .equals(other.getArtifactTrackersList())) return false; if (!getPrincipal() .equals(other.getPrincipal())) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -6096,9 +5260,9 @@ public int hashCode() { hash = (37 * hash) + ARTIFACT_IDS_FIELD_NUMBER; hash = (53 * hash) + getArtifactIdsList().hashCode(); } - if (getArtifactKeysCount() > 0) { - hash = (37 * hash) + ARTIFACT_KEYS_FIELD_NUMBER; - hash = (53 * hash) + getArtifactKeysList().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(); @@ -6264,7 +5428,7 @@ public Builder clear() { } else { artifactIdsBuilder_.clear(); } - artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); principal_ = ""; @@ -6321,10 +5485,10 @@ public flyteidl.event.Cloudevents.CloudEventExecutionStart buildPartial() { result.artifactIds_ = artifactIdsBuilder_.build(); } if (((bitField0_ & 0x00000010) != 0)) { - artifactKeys_ = artifactKeys_.getUnmodifiableView(); + artifactTrackers_ = artifactTrackers_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); } - result.artifactKeys_ = artifactKeys_; + result.artifactTrackers_ = artifactTrackers_; result.principal_ = principal_; result.bitField0_ = to_bitField0_; onBuilt(); @@ -6410,13 +5574,13 @@ public Builder mergeFrom(flyteidl.event.Cloudevents.CloudEventExecutionStart oth } } } - if (!other.artifactKeys_.isEmpty()) { - if (artifactKeys_.isEmpty()) { - artifactKeys_ = other.artifactKeys_; + if (!other.artifactTrackers_.isEmpty()) { + if (artifactTrackers_.isEmpty()) { + artifactTrackers_ = other.artifactTrackers_; bitField0_ = (bitField0_ & ~0x00000010); } else { - ensureArtifactKeysIsMutable(); - artifactKeys_.addAll(other.artifactKeys_); + ensureArtifactTrackersIsMutable(); + artifactTrackers_.addAll(other.artifactTrackers_); } onChanged(); } @@ -6891,7 +6055,7 @@ private void ensureArtifactIdsIsMutable() { /** *
-       * Artifact IDs found
+       * 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; @@ -6905,7 +6069,7 @@ public java.util.List getArtifactIdsList() } /** *
-       * Artifact IDs found
+       * 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; @@ -6919,7 +6083,7 @@ public int getArtifactIdsCount() { } /** *
-       * Artifact IDs found
+       * 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; @@ -6933,7 +6097,7 @@ public flyteidl.core.ArtifactId.ArtifactID getArtifactIds(int index) { } /** *
-       * Artifact IDs found
+       * 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; @@ -6954,7 +6118,7 @@ public Builder setArtifactIds( } /** *
-       * Artifact IDs found
+       * 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; @@ -6972,7 +6136,7 @@ public Builder setArtifactIds( } /** *
-       * Artifact IDs found
+       * 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; @@ -6992,7 +6156,7 @@ public Builder addArtifactIds(flyteidl.core.ArtifactId.ArtifactID value) { } /** *
-       * Artifact IDs found
+       * 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; @@ -7013,7 +6177,7 @@ public Builder addArtifactIds( } /** *
-       * Artifact IDs found
+       * 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; @@ -7031,7 +6195,7 @@ public Builder addArtifactIds( } /** *
-       * Artifact IDs found
+       * 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; @@ -7049,7 +6213,7 @@ public Builder addArtifactIds( } /** *
-       * Artifact IDs found
+       * 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; @@ -7068,7 +6232,7 @@ public Builder addAllArtifactIds( } /** *
-       * Artifact IDs found
+       * 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; @@ -7085,7 +6249,7 @@ public Builder clearArtifactIds() { } /** *
-       * Artifact IDs found
+       * 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; @@ -7102,7 +6266,7 @@ public Builder removeArtifactIds(int index) { } /** *
-       * Artifact IDs found
+       * 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; @@ -7113,7 +6277,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder getArtifactIdsBuilder( } /** *
-       * Artifact IDs found
+       * 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; @@ -7127,7 +6291,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( } /** *
-       * Artifact IDs found
+       * 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; @@ -7142,7 +6306,7 @@ public flyteidl.core.ArtifactId.ArtifactIDOrBuilder getArtifactIdsOrBuilder( } /** *
-       * Artifact IDs found
+       * 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; @@ -7153,7 +6317,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder() { } /** *
-       * Artifact IDs found
+       * 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; @@ -7165,7 +6329,7 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( } /** *
-       * Artifact IDs found
+       * 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; @@ -7189,132 +6353,132 @@ public flyteidl.core.ArtifactId.ArtifactID.Builder addArtifactIdsBuilder( return artifactIdsBuilder_; } - private com.google.protobuf.LazyStringList artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureArtifactKeysIsMutable() { + private com.google.protobuf.LazyStringList artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureArtifactTrackersIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - artifactKeys_ = new com.google.protobuf.LazyStringArrayList(artifactKeys_); + artifactTrackers_ = new com.google.protobuf.LazyStringArrayList(artifactTrackers_); bitField0_ |= 0x00000010; } } /** *
-       * Artifact keys found.
+       * 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_keys = 5; + * repeated string artifact_trackers = 5; */ public com.google.protobuf.ProtocolStringList - getArtifactKeysList() { - return artifactKeys_.getUnmodifiableView(); + getArtifactTrackersList() { + return artifactTrackers_.getUnmodifiableView(); } /** *
-       * Artifact keys found.
+       * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - public int getArtifactKeysCount() { - return artifactKeys_.size(); + public int getArtifactTrackersCount() { + return artifactTrackers_.size(); } /** *
-       * Artifact keys found.
+       * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - public java.lang.String getArtifactKeys(int index) { - return artifactKeys_.get(index); + public java.lang.String getArtifactTrackers(int index) { + return artifactTrackers_.get(index); } /** *
-       * Artifact keys found.
+       * 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_keys = 5; + * repeated string artifact_trackers = 5; */ public com.google.protobuf.ByteString - getArtifactKeysBytes(int index) { - return artifactKeys_.getByteString(index); + getArtifactTrackersBytes(int index) { + return artifactTrackers_.getByteString(index); } /** *
-       * Artifact keys found.
+       * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - public Builder setArtifactKeys( + public Builder setArtifactTrackers( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureArtifactKeysIsMutable(); - artifactKeys_.set(index, value); + ensureArtifactTrackersIsMutable(); + artifactTrackers_.set(index, value); onChanged(); return this; } /** *
-       * Artifact keys found.
+       * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - public Builder addArtifactKeys( + public Builder addArtifactTrackers( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureArtifactKeysIsMutable(); - artifactKeys_.add(value); + ensureArtifactTrackersIsMutable(); + artifactTrackers_.add(value); onChanged(); return this; } /** *
-       * Artifact keys found.
+       * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - public Builder addAllArtifactKeys( + public Builder addAllArtifactTrackers( java.lang.Iterable values) { - ensureArtifactKeysIsMutable(); + ensureArtifactTrackersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, artifactKeys_); + values, artifactTrackers_); onChanged(); return this; } /** *
-       * Artifact keys found.
+       * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - public Builder clearArtifactKeys() { - artifactKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; + public Builder clearArtifactTrackers() { + artifactTrackers_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** *
-       * Artifact keys found.
+       * 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_keys = 5; + * repeated string artifact_trackers = 5; */ - public Builder addArtifactKeysBytes( + public Builder addArtifactTrackersBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureArtifactKeysIsMutable(); - artifactKeys_.add(value); + ensureArtifactTrackersIsMutable(); + artifactTrackers_.add(value); onChanged(); return this; } @@ -7474,40 +6638,35 @@ public flyteidl.event.Cloudevents.CloudEventExecutionStart getDefaultInstanceFor "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\"\260\003" + + "roto\032\037google/protobuf/timestamp.proto\"\321\002" + "\n\033CloudEventWorkflowExecution\0229\n\traw_eve" + "nt\030\001 \001(\0132&.flyteidl.event.WorkflowExecut" + - "ionEvent\022.\n\013output_data\030\002 \001(\0132\031.flyteidl" + - ".core.LiteralMap\0227\n\020output_interface\030\003 \001" + - "(\0132\035.flyteidl.core.TypedInterface\022-\n\ninp" + - "ut_data\030\004 \001(\0132\031.flyteidl.core.LiteralMap" + - "\022/\n\014artifact_ids\030\005 \003(\0132\031.flyteidl.core.A" + - "rtifactID\022G\n\023reference_execution\030\006 \001(\0132*" + - ".flyteidl.core.WorkflowExecutionIdentifi" + - "er\022\021\n\tprincipal\030\007 \001(\t\0221\n\016launch_plan_id\030" + - "\010 \001(\0132\031.flyteidl.core.Identifier\"\235\003\n\027Clo" + - "udEventNodeExecution\0225\n\traw_event\030\001 \001(\0132" + - "\".flyteidl.event.NodeExecutionEvent\022<\n\014t" + - "ask_exec_id\030\002 \001(\0132&.flyteidl.core.TaskEx" + - "ecutionIdentifier\022.\n\013output_data\030\003 \001(\0132\031" + - ".flyteidl.core.LiteralMap\0227\n\020output_inte" + - "rface\030\004 \001(\0132\035.flyteidl.core.TypedInterfa" + - "ce\022-\n\ninput_data\030\005 \001(\0132\031.flyteidl.core.L" + - "iteralMap\022/\n\014artifact_ids\030\006 \003(\0132\031.flytei" + - "dl.core.ArtifactID\022\021\n\tprincipal\030\007 \001(\t\0221\n" + - "\016launch_plan_id\030\010 \001(\0132\031.flyteidl.core.Id" + - "entifier\"P\n\027CloudEventTaskExecution\0225\n\tr" + - "aw_event\030\001 \001(\0132\".flyteidl.event.TaskExec" + - "utionEvent\"\232\002\n\030CloudEventExecutionStart\022" + - "@\n\014execution_id\030\001 \001(\0132*.flyteidl.core.Wo" + - "rkflowExecutionIdentifier\0221\n\016launch_plan" + - "_id\030\002 \001(\0132\031.flyteidl.core.Identifier\022.\n\013" + - "workflow_id\030\003 \001(\0132\031.flyteidl.core.Identi" + - "fier\022/\n\014artifact_ids\030\004 \003(\0132\031.flyteidl.co" + - "re.ArtifactID\022\025\n\rartifact_keys\030\005 \003(\t\022\021\n\t" + - "principal\030\006 \001(\tB=Z;github.com/flyteorg/f" + - "lyte/flyteidl/gen/pb-go/flyteidl/eventb\006" + - "proto3" + "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() { @@ -7532,13 +6691,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_flyteidl_event_CloudEventWorkflowExecution_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_event_CloudEventWorkflowExecution_descriptor, - new java.lang.String[] { "RawEvent", "OutputData", "OutputInterface", "InputData", "ArtifactIds", "ReferenceExecution", "Principal", "LaunchPlanId", }); + 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", "OutputData", "OutputInterface", "InputData", "ArtifactIds", "Principal", "LaunchPlanId", }); + 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 @@ -7550,7 +6709,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( 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", "ArtifactKeys", "Principal", }); + new java.lang.String[] { "ExecutionId", "LaunchPlanId", "WorkflowId", "ArtifactIds", "ArtifactTrackers", "Principal", }); flyteidl.event.Event.getDescriptor(); flyteidl.core.Literals.getDescriptor(); flyteidl.core.Interface.getDescriptor(); diff --git a/flyteidl/gen/pb-js/flyteidl.d.ts b/flyteidl/gen/pb-js/flyteidl.d.ts index af564753d4..44c8f52a04 100644 --- a/flyteidl/gen/pb-js/flyteidl.d.ts +++ b/flyteidl/gen/pb-js/flyteidl.d.ts @@ -7420,15 +7420,9 @@ export namespace flyteidl { /** CloudEventWorkflowExecution rawEvent */ rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); - /** CloudEventWorkflowExecution outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventWorkflowExecution outputInterface */ outputInterface?: (flyteidl.core.ITypedInterface|null); - /** CloudEventWorkflowExecution inputData */ - inputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventWorkflowExecution artifactIds */ artifactIds?: (flyteidl.core.IArtifactID[]|null); @@ -7454,15 +7448,9 @@ export namespace flyteidl { /** CloudEventWorkflowExecution rawEvent. */ public rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); - /** CloudEventWorkflowExecution outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventWorkflowExecution outputInterface. */ public outputInterface?: (flyteidl.core.ITypedInterface|null); - /** CloudEventWorkflowExecution inputData. */ - public inputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventWorkflowExecution artifactIds. */ public artifactIds: flyteidl.core.IArtifactID[]; @@ -7517,15 +7505,9 @@ export namespace flyteidl { /** CloudEventNodeExecution taskExecId */ taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** CloudEventNodeExecution outputData */ - outputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventNodeExecution outputInterface */ outputInterface?: (flyteidl.core.ITypedInterface|null); - /** CloudEventNodeExecution inputData */ - inputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventNodeExecution artifactIds */ artifactIds?: (flyteidl.core.IArtifactID[]|null); @@ -7551,15 +7533,9 @@ export namespace flyteidl { /** CloudEventNodeExecution taskExecId. */ public taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); - /** CloudEventNodeExecution outputData. */ - public outputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventNodeExecution outputInterface. */ public outputInterface?: (flyteidl.core.ITypedInterface|null); - /** CloudEventNodeExecution inputData. */ - public inputData?: (flyteidl.core.ILiteralMap|null); - /** CloudEventNodeExecution artifactIds. */ public artifactIds: flyteidl.core.IArtifactID[]; @@ -7669,8 +7645,8 @@ export namespace flyteidl { /** CloudEventExecutionStart artifactIds */ artifactIds?: (flyteidl.core.IArtifactID[]|null); - /** CloudEventExecutionStart artifactKeys */ - artifactKeys?: (string[]|null); + /** CloudEventExecutionStart artifactTrackers */ + artifactTrackers?: (string[]|null); /** CloudEventExecutionStart principal */ principal?: (string|null); @@ -7697,8 +7673,8 @@ export namespace flyteidl { /** CloudEventExecutionStart artifactIds. */ public artifactIds: flyteidl.core.IArtifactID[]; - /** CloudEventExecutionStart artifactKeys. */ - public artifactKeys: string[]; + /** CloudEventExecutionStart artifactTrackers. */ + public artifactTrackers: string[]; /** CloudEventExecutionStart principal. */ public principal: string; diff --git a/flyteidl/gen/pb-js/flyteidl.js b/flyteidl/gen/pb-js/flyteidl.js index 8375c630e7..3bd5e9bd3d 100644 --- a/flyteidl/gen/pb-js/flyteidl.js +++ b/flyteidl/gen/pb-js/flyteidl.js @@ -17947,9 +17947,7 @@ * @memberof flyteidl.event * @interface ICloudEventWorkflowExecution * @property {flyteidl.event.IWorkflowExecutionEvent|null} [rawEvent] CloudEventWorkflowExecution rawEvent - * @property {flyteidl.core.ILiteralMap|null} [outputData] CloudEventWorkflowExecution outputData * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventWorkflowExecution outputInterface - * @property {flyteidl.core.ILiteralMap|null} [inputData] CloudEventWorkflowExecution inputData * @property {Array.|null} [artifactIds] CloudEventWorkflowExecution artifactIds * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [referenceExecution] CloudEventWorkflowExecution referenceExecution * @property {string|null} [principal] CloudEventWorkflowExecution principal @@ -17980,14 +17978,6 @@ */ CloudEventWorkflowExecution.prototype.rawEvent = null; - /** - * CloudEventWorkflowExecution outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.event.CloudEventWorkflowExecution - * @instance - */ - CloudEventWorkflowExecution.prototype.outputData = null; - /** * CloudEventWorkflowExecution outputInterface. * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface @@ -17996,14 +17986,6 @@ */ CloudEventWorkflowExecution.prototype.outputInterface = null; - /** - * CloudEventWorkflowExecution inputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputData - * @memberof flyteidl.event.CloudEventWorkflowExecution - * @instance - */ - CloudEventWorkflowExecution.prototype.inputData = null; - /** * CloudEventWorkflowExecution artifactIds. * @member {Array.} artifactIds @@ -18062,21 +18044,17 @@ writer = $Writer.create(); if (message.rawEvent != null && message.hasOwnProperty("rawEvent")) $root.flyteidl.event.WorkflowExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.outputData != null && message.hasOwnProperty("outputData")) - $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) - $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.inputData != null && message.hasOwnProperty("inputData")) - $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.artifactIds != null && message.artifactIds.length) for (var i = 0; i < message.artifactIds.length; ++i) - $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.referenceExecution != null && message.hasOwnProperty("referenceExecution")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.referenceExecution, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.principal != null && message.hasOwnProperty("principal")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.principal); + writer.uint32(/* id 5, wireType 2 =*/42).string(message.principal); if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) - $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); return writer; }; @@ -18102,26 +18080,20 @@ message.rawEvent = $root.flyteidl.event.WorkflowExecutionEvent.decode(reader, reader.uint32()); break; case 2: - message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 3: message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); break; - case 4: - message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 5: + case 3: if (!(message.artifactIds && message.artifactIds.length)) message.artifactIds = []; message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; - case 6: + case 4: message.referenceExecution = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); break; - case 7: + case 5: message.principal = reader.string(); break; - case 8: + case 6: message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: @@ -18148,21 +18120,11 @@ if (error) return "rawEvent." + error; } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); - if (error) - return "outputData." + error; - } if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); if (error) return "outputInterface." + error; } - if (message.inputData != null && message.hasOwnProperty("inputData")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); - if (error) - return "inputData." + error; - } if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { if (!Array.isArray(message.artifactIds)) return "artifactIds: array expected"; @@ -18199,9 +18161,7 @@ * @interface ICloudEventNodeExecution * @property {flyteidl.event.INodeExecutionEvent|null} [rawEvent] CloudEventNodeExecution rawEvent * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecId] CloudEventNodeExecution taskExecId - * @property {flyteidl.core.ILiteralMap|null} [outputData] CloudEventNodeExecution outputData * @property {flyteidl.core.ITypedInterface|null} [outputInterface] CloudEventNodeExecution outputInterface - * @property {flyteidl.core.ILiteralMap|null} [inputData] CloudEventNodeExecution inputData * @property {Array.|null} [artifactIds] CloudEventNodeExecution artifactIds * @property {string|null} [principal] CloudEventNodeExecution principal * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventNodeExecution launchPlanId @@ -18239,14 +18199,6 @@ */ CloudEventNodeExecution.prototype.taskExecId = null; - /** - * CloudEventNodeExecution outputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} outputData - * @memberof flyteidl.event.CloudEventNodeExecution - * @instance - */ - CloudEventNodeExecution.prototype.outputData = null; - /** * CloudEventNodeExecution outputInterface. * @member {flyteidl.core.ITypedInterface|null|undefined} outputInterface @@ -18255,14 +18207,6 @@ */ CloudEventNodeExecution.prototype.outputInterface = null; - /** - * CloudEventNodeExecution inputData. - * @member {flyteidl.core.ILiteralMap|null|undefined} inputData - * @memberof flyteidl.event.CloudEventNodeExecution - * @instance - */ - CloudEventNodeExecution.prototype.inputData = null; - /** * CloudEventNodeExecution artifactIds. * @member {Array.} artifactIds @@ -18315,19 +18259,15 @@ $root.flyteidl.event.NodeExecutionEvent.encode(message.rawEvent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); if (message.taskExecId != null && message.hasOwnProperty("taskExecId")) $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecId, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.outputData != null && message.hasOwnProperty("outputData")) - $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) - $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.inputData != null && message.hasOwnProperty("inputData")) - $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + $root.flyteidl.core.TypedInterface.encode(message.outputInterface, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.artifactIds != null && message.artifactIds.length) for (var i = 0; i < message.artifactIds.length; ++i) - $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.principal != null && message.hasOwnProperty("principal")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.principal); + writer.uint32(/* id 5, wireType 2 =*/42).string(message.principal); if (message.launchPlanId != null && message.hasOwnProperty("launchPlanId")) - $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + $root.flyteidl.core.Identifier.encode(message.launchPlanId, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); return writer; }; @@ -18356,23 +18296,17 @@ message.taskExecId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 3: - message.outputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 4: message.outputInterface = $root.flyteidl.core.TypedInterface.decode(reader, reader.uint32()); break; - case 5: - message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32()); - break; - case 6: + case 4: if (!(message.artifactIds && message.artifactIds.length)) message.artifactIds = []; message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; - case 7: + case 5: message.principal = reader.string(); break; - case 8: + case 6: message.launchPlanId = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; default: @@ -18404,21 +18338,11 @@ if (error) return "taskExecId." + error; } - if (message.outputData != null && message.hasOwnProperty("outputData")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.outputData); - if (error) - return "outputData." + error; - } if (message.outputInterface != null && message.hasOwnProperty("outputInterface")) { var error = $root.flyteidl.core.TypedInterface.verify(message.outputInterface); if (error) return "outputInterface." + error; } - if (message.inputData != null && message.hasOwnProperty("inputData")) { - var error = $root.flyteidl.core.LiteralMap.verify(message.inputData); - if (error) - return "inputData." + error; - } if (message.artifactIds != null && message.hasOwnProperty("artifactIds")) { if (!Array.isArray(message.artifactIds)) return "artifactIds: array expected"; @@ -18564,7 +18488,7 @@ * @property {flyteidl.core.IIdentifier|null} [launchPlanId] CloudEventExecutionStart launchPlanId * @property {flyteidl.core.IIdentifier|null} [workflowId] CloudEventExecutionStart workflowId * @property {Array.|null} [artifactIds] CloudEventExecutionStart artifactIds - * @property {Array.|null} [artifactKeys] CloudEventExecutionStart artifactKeys + * @property {Array.|null} [artifactTrackers] CloudEventExecutionStart artifactTrackers * @property {string|null} [principal] CloudEventExecutionStart principal */ @@ -18578,7 +18502,7 @@ */ function CloudEventExecutionStart(properties) { this.artifactIds = []; - this.artifactKeys = []; + this.artifactTrackers = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -18618,12 +18542,12 @@ CloudEventExecutionStart.prototype.artifactIds = $util.emptyArray; /** - * CloudEventExecutionStart artifactKeys. - * @member {Array.} artifactKeys + * CloudEventExecutionStart artifactTrackers. + * @member {Array.} artifactTrackers * @memberof flyteidl.event.CloudEventExecutionStart * @instance */ - CloudEventExecutionStart.prototype.artifactKeys = $util.emptyArray; + CloudEventExecutionStart.prototype.artifactTrackers = $util.emptyArray; /** * CloudEventExecutionStart principal. @@ -18666,9 +18590,9 @@ if (message.artifactIds != null && message.artifactIds.length) for (var i = 0; i < message.artifactIds.length; ++i) $root.flyteidl.core.ArtifactID.encode(message.artifactIds[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.artifactKeys != null && message.artifactKeys.length) - for (var i = 0; i < message.artifactKeys.length; ++i) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.artifactKeys[i]); + if (message.artifactTrackers != null && message.artifactTrackers.length) + for (var i = 0; i < message.artifactTrackers.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.artifactTrackers[i]); if (message.principal != null && message.hasOwnProperty("principal")) writer.uint32(/* id 6, wireType 2 =*/50).string(message.principal); return writer; @@ -18707,9 +18631,9 @@ message.artifactIds.push($root.flyteidl.core.ArtifactID.decode(reader, reader.uint32())); break; case 5: - if (!(message.artifactKeys && message.artifactKeys.length)) - message.artifactKeys = []; - message.artifactKeys.push(reader.string()); + if (!(message.artifactTrackers && message.artifactTrackers.length)) + message.artifactTrackers = []; + message.artifactTrackers.push(reader.string()); break; case 6: message.principal = reader.string(); @@ -18757,12 +18681,12 @@ return "artifactIds." + error; } } - if (message.artifactKeys != null && message.hasOwnProperty("artifactKeys")) { - if (!Array.isArray(message.artifactKeys)) - return "artifactKeys: array expected"; - for (var i = 0; i < message.artifactKeys.length; ++i) - if (!$util.isString(message.artifactKeys[i])) - return "artifactKeys: string[] expected"; + if (message.artifactTrackers != null && message.hasOwnProperty("artifactTrackers")) { + if (!Array.isArray(message.artifactTrackers)) + return "artifactTrackers: array expected"; + for (var i = 0; i < message.artifactTrackers.length; ++i) + if (!$util.isString(message.artifactTrackers[i])) + return "artifactTrackers: string[] expected"; } if (message.principal != null && message.hasOwnProperty("principal")) if (!$util.isString(message.principal)) diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py index 84e5a5344a..3cded1be54 100644 --- a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py @@ -22,7 +22,7 @@ from flyteidl.event import cloudevents_pb2 as flyteidl_dot_event_dot_cloudevents__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xdc\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"P\n\x14\x44\x65leteTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x17\n\x15\x44\x65leteTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse2\xd7\x0e\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\x85\x05\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\xa6\x04\x82\xd3\xe4\x93\x02\x9f\x04Z\xb8\x01\x12\xb5\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\x9c\x01\x12\x99\x01/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\xa0\x01\x12\x9d\x01/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\x12 /artifacts/api/v1/data/artifacts\x12\xa0\x02\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"\xb5\x01\x82\xd3\xe4\x93\x02\xae\x01ZK\x12I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\x12_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x64\n\rDeleteTrigger\x12\'.flyteidl.artifact.DeleteTriggerRequest\x1a(.flyteidl.artifact.DeleteTriggerResponse\"\x00\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xd4\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"d\x82\xd3\xe4\x93\x02^\x12\\/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xdc\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"T\n\x18\x44\x65\x61\x63tivateTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x1b\n\x19\x44\x65\x61\x63tivateTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse2\xf9\x0e\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\xf1\x04\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\x92\x04\x82\xd3\xe4\x93\x02\x8b\x04Z\xb3\x01\x12\xb0\x01/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\x97\x01\x12\x94\x01/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\x9b\x01\x12\x98\x01/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\x12\x1b/artifacts/api/v1/artifacts\x12\x96\x02\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"\xab\x01\x82\xd3\xe4\x93\x02\xa4\x01ZG\x12\x45/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}\x12Y/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x9f\x01\n\x11\x44\x65\x61\x63tivateTrigger\x12+.flyteidl.artifact.DeactivateTriggerRequest\x1a,.flyteidl.artifact.DeactivateTriggerResponse\"/\x82\xd3\xe4\x93\x02):\x01*2$/artifacts/api/v1/trigger/deactivate\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xd8\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"h\x82\xd3\xe4\x93\x02\x62\x12`/artifacts/api/v1/search/execution/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -34,11 +34,13 @@ _CREATEARTIFACTREQUEST_PARTITIONSENTRY._options = None _CREATEARTIFACTREQUEST_PARTITIONSENTRY._serialized_options = b'8\001' _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._options = None - _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002\237\004Z\270\001\022\265\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\234\001\022\231\001/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\240\001\022\235\001/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\022 /artifacts/api/v1/data/artifacts' + _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002\213\004Z\263\001\022\260\001/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\227\001\022\224\001/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\233\001\022\230\001/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\022\033/artifacts/api/v1/artifacts' _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._options = None - _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._serialized_options = b'\202\323\344\223\002\256\001ZK\022I/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}\022_/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}' + _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._serialized_options = b'\202\323\344\223\002\244\001ZG\022E/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}\022Y/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}' + _ARTIFACTREGISTRY.methods_by_name['DeactivateTrigger']._options = None + _ARTIFACTREGISTRY.methods_by_name['DeactivateTrigger']._serialized_options = b'\202\323\344\223\002):\001*2$/artifacts/api/v1/trigger/deactivate' _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._options = None - _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._serialized_options = b'\202\323\344\223\002^\022\\/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}' + _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._serialized_options = b'\202\323\344\223\002b\022`/artifacts/api/v1/search/execution/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}' _globals['_ARTIFACT']._serialized_start=335 _globals['_ARTIFACT']._serialized_end=537 _globals['_CREATEARTIFACTREQUEST']._serialized_start=540 @@ -73,24 +75,24 @@ _globals['_CREATETRIGGERREQUEST']._serialized_end=2689 _globals['_CREATETRIGGERRESPONSE']._serialized_start=2691 _globals['_CREATETRIGGERRESPONSE']._serialized_end=2714 - _globals['_DELETETRIGGERREQUEST']._serialized_start=2716 - _globals['_DELETETRIGGERREQUEST']._serialized_end=2796 - _globals['_DELETETRIGGERRESPONSE']._serialized_start=2798 - _globals['_DELETETRIGGERRESPONSE']._serialized_end=2821 - _globals['_ARTIFACTPRODUCER']._serialized_start=2824 - _globals['_ARTIFACTPRODUCER']._serialized_end=2952 - _globals['_REGISTERPRODUCERREQUEST']._serialized_start=2954 - _globals['_REGISTERPRODUCERREQUEST']._serialized_end=3046 - _globals['_ARTIFACTCONSUMER']._serialized_start=3048 - _globals['_ARTIFACTCONSUMER']._serialized_end=3175 - _globals['_REGISTERCONSUMERREQUEST']._serialized_start=3177 - _globals['_REGISTERCONSUMERREQUEST']._serialized_end=3269 - _globals['_REGISTERRESPONSE']._serialized_start=3271 - _globals['_REGISTERRESPONSE']._serialized_end=3289 - _globals['_EXECUTIONINPUTSREQUEST']._serialized_start=3292 - _globals['_EXECUTIONINPUTSREQUEST']._serialized_end=3446 - _globals['_EXECUTIONINPUTSRESPONSE']._serialized_start=3448 - _globals['_EXECUTIONINPUTSRESPONSE']._serialized_end=3473 - _globals['_ARTIFACTREGISTRY']._serialized_start=3476 - _globals['_ARTIFACTREGISTRY']._serialized_end=5355 + _globals['_DEACTIVATETRIGGERREQUEST']._serialized_start=2716 + _globals['_DEACTIVATETRIGGERREQUEST']._serialized_end=2800 + _globals['_DEACTIVATETRIGGERRESPONSE']._serialized_start=2802 + _globals['_DEACTIVATETRIGGERRESPONSE']._serialized_end=2829 + _globals['_ARTIFACTPRODUCER']._serialized_start=2832 + _globals['_ARTIFACTPRODUCER']._serialized_end=2960 + _globals['_REGISTERPRODUCERREQUEST']._serialized_start=2962 + _globals['_REGISTERPRODUCERREQUEST']._serialized_end=3054 + _globals['_ARTIFACTCONSUMER']._serialized_start=3056 + _globals['_ARTIFACTCONSUMER']._serialized_end=3183 + _globals['_REGISTERCONSUMERREQUEST']._serialized_start=3185 + _globals['_REGISTERCONSUMERREQUEST']._serialized_end=3277 + _globals['_REGISTERRESPONSE']._serialized_start=3279 + _globals['_REGISTERRESPONSE']._serialized_end=3297 + _globals['_EXECUTIONINPUTSREQUEST']._serialized_start=3300 + _globals['_EXECUTIONINPUTSREQUEST']._serialized_end=3454 + _globals['_EXECUTIONINPUTSRESPONSE']._serialized_start=3456 + _globals['_EXECUTIONINPUTSRESPONSE']._serialized_end=3481 + _globals['_ARTIFACTREGISTRY']._serialized_start=3484 + _globals['_ARTIFACTREGISTRY']._serialized_end=5397 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi index 91c389b456..61c28f21d4 100644 --- a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.pyi @@ -170,13 +170,13 @@ class CreateTriggerResponse(_message.Message): __slots__ = [] def __init__(self) -> None: ... -class DeleteTriggerRequest(_message.Message): +class DeactivateTriggerRequest(_message.Message): __slots__ = ["trigger_id"] TRIGGER_ID_FIELD_NUMBER: _ClassVar[int] trigger_id: _identifier_pb2.Identifier def __init__(self, trigger_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... -class DeleteTriggerResponse(_message.Message): +class DeactivateTriggerResponse(_message.Message): __slots__ = [] def __init__(self) -> None: ... diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py index b989cdc000..95ddd8107e 100644 --- a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2_grpc.py @@ -34,10 +34,10 @@ def __init__(self, channel): request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerRequest.SerializeToString, response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerResponse.FromString, ) - self.DeleteTrigger = channel.unary_unary( - '/flyteidl.artifact.ArtifactRegistry/DeleteTrigger', - request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.SerializeToString, - response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.FromString, + self.DeactivateTrigger = channel.unary_unary( + '/flyteidl.artifact.ArtifactRegistry/DeactivateTrigger', + request_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerRequest.SerializeToString, + response_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerResponse.FromString, ) self.AddTag = channel.unary_unary( '/flyteidl.artifact.ArtifactRegistry/AddTag', @@ -93,7 +93,7 @@ def CreateTrigger(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') - def DeleteTrigger(self, request, context): + def DeactivateTrigger(self, request, context): """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -152,10 +152,10 @@ def add_ArtifactRegistryServicer_to_server(servicer, server): request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerRequest.FromString, response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.CreateTriggerResponse.SerializeToString, ), - 'DeleteTrigger': grpc.unary_unary_rpc_method_handler( - servicer.DeleteTrigger, - request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.FromString, - response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.SerializeToString, + 'DeactivateTrigger': grpc.unary_unary_rpc_method_handler( + servicer.DeactivateTrigger, + request_deserializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerRequest.FromString, + response_serializer=flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerResponse.SerializeToString, ), 'AddTag': grpc.unary_unary_rpc_method_handler( servicer.AddTag, @@ -261,7 +261,7 @@ def CreateTrigger(request, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod - def DeleteTrigger(request, + def DeactivateTrigger(request, target, options=(), channel_credentials=None, @@ -271,9 +271,9 @@ def DeleteTrigger(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/DeleteTrigger', - flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerRequest.SerializeToString, - flyteidl_dot_artifact_dot_artifacts__pb2.DeleteTriggerResponse.FromString, + return grpc.experimental.unary_unary(request, target, '/flyteidl.artifact.ArtifactRegistry/DeactivateTrigger', + flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerRequest.SerializeToString, + flyteidl_dot_artifact_dot_artifacts__pb2.DeactivateTriggerResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py index b7035b32b5..7addfe281f 100644 --- a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.py @@ -19,7 +19,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/event/cloudevents.proto\x12\x0e\x66lyteidl.event\x1a\x1a\x66lyteidl/event/event.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9c\x04\n\x1b\x43loudEventWorkflowExecution\x12\x43\n\traw_event\x18\x01 \x01(\x0b\x32&.flyteidl.event.WorkflowExecutionEventR\x08rawEvent\x12:\n\x0boutput_data\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\noutputData\x12H\n\x10output_interface\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12\x38\n\ninput_data\x18\x04 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\tinputData\x12<\n\x0c\x61rtifact_ids\x18\x05 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12[\n\x13reference_execution\x18\x06 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12?\n\x0elaunch_plan_id\x18\x08 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\"\x81\x04\n\x17\x43loudEventNodeExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.NodeExecutionEventR\x08rawEvent\x12H\n\x0ctask_exec_id\x18\x02 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifierR\ntaskExecId\x12:\n\x0boutput_data\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\noutputData\x12H\n\x10output_interface\x18\x04 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12\x38\n\ninput_data\x18\x05 \x01(\x0b\x32\x19.flyteidl.core.LiteralMapR\tinputData\x12<\n\x0c\x61rtifact_ids\x18\x06 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12\x1c\n\tprincipal\x18\x07 \x01(\tR\tprincipal\x12?\n\x0elaunch_plan_id\x18\x08 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\"Z\n\x17\x43loudEventTaskExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.TaskExecutionEventR\x08rawEvent\"\xe7\x02\n\x18\x43loudEventExecutionStart\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12?\n\x0elaunch_plan_id\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\x12:\n\x0bworkflow_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12<\n\x0c\x61rtifact_ids\x18\x04 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12#\n\rartifact_keys\x18\x05 \x03(\tR\x0c\x61rtifactKeys\x12\x1c\n\tprincipal\x18\x06 \x01(\tR\tprincipalB\xbc\x01\n\x12\x63om.flyteidl.eventB\x10\x43loudeventsProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event\xa2\x02\x03\x46\x45X\xaa\x02\x0e\x46lyteidl.Event\xca\x02\x0e\x46lyteidl\\Event\xe2\x02\x1a\x46lyteidl\\Event\\GPBMetadata\xea\x02\x0f\x46lyteidl::Eventb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n flyteidl/event/cloudevents.proto\x12\x0e\x66lyteidl.event\x1a\x1a\x66lyteidl/event/event.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa6\x03\n\x1b\x43loudEventWorkflowExecution\x12\x43\n\traw_event\x18\x01 \x01(\x0b\x32&.flyteidl.event.WorkflowExecutionEventR\x08rawEvent\x12H\n\x10output_interface\x18\x02 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12<\n\x0c\x61rtifact_ids\x18\x03 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12[\n\x13reference_execution\x18\x04 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x12referenceExecution\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\x12?\n\x0elaunch_plan_id\x18\x06 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\"\x8b\x03\n\x17\x43loudEventNodeExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.NodeExecutionEventR\x08rawEvent\x12H\n\x0ctask_exec_id\x18\x02 \x01(\x0b\x32&.flyteidl.core.TaskExecutionIdentifierR\ntaskExecId\x12H\n\x10output_interface\x18\x03 \x01(\x0b\x32\x1d.flyteidl.core.TypedInterfaceR\x0foutputInterface\x12<\n\x0c\x61rtifact_ids\x18\x04 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\x12?\n\x0elaunch_plan_id\x18\x06 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\"Z\n\x17\x43loudEventTaskExecution\x12?\n\traw_event\x18\x01 \x01(\x0b\x32\".flyteidl.event.TaskExecutionEventR\x08rawEvent\"\xef\x02\n\x18\x43loudEventExecutionStart\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12?\n\x0elaunch_plan_id\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x0claunchPlanId\x12:\n\x0bworkflow_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\nworkflowId\x12<\n\x0c\x61rtifact_ids\x18\x04 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x0b\x61rtifactIds\x12+\n\x11\x61rtifact_trackers\x18\x05 \x03(\tR\x10\x61rtifactTrackers\x12\x1c\n\tprincipal\x18\x06 \x01(\tR\tprincipalB\xbc\x01\n\x12\x63om.flyteidl.eventB\x10\x43loudeventsProtoP\x01Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event\xa2\x02\x03\x46\x45X\xaa\x02\x0e\x46lyteidl.Event\xca\x02\x0e\x46lyteidl\\Event\xe2\x02\x1a\x46lyteidl\\Event\\GPBMetadata\xea\x02\x0f\x46lyteidl::Eventb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -29,11 +29,11 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\022com.flyteidl.eventB\020CloudeventsProtoP\001Z;github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/event\242\002\003FEX\252\002\016Flyteidl.Event\312\002\016Flyteidl\\Event\342\002\032Flyteidl\\Event\\GPBMetadata\352\002\017Flyteidl::Event' _globals['_CLOUDEVENTWORKFLOWEXECUTION']._serialized_start=240 - _globals['_CLOUDEVENTWORKFLOWEXECUTION']._serialized_end=780 - _globals['_CLOUDEVENTNODEEXECUTION']._serialized_start=783 - _globals['_CLOUDEVENTNODEEXECUTION']._serialized_end=1296 - _globals['_CLOUDEVENTTASKEXECUTION']._serialized_start=1298 - _globals['_CLOUDEVENTTASKEXECUTION']._serialized_end=1388 - _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_start=1391 - _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_end=1750 + _globals['_CLOUDEVENTWORKFLOWEXECUTION']._serialized_end=662 + _globals['_CLOUDEVENTNODEEXECUTION']._serialized_start=665 + _globals['_CLOUDEVENTNODEEXECUTION']._serialized_end=1060 + _globals['_CLOUDEVENTTASKEXECUTION']._serialized_start=1062 + _globals['_CLOUDEVENTTASKEXECUTION']._serialized_end=1152 + _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_start=1155 + _globals['_CLOUDEVENTEXECUTIONSTART']._serialized_end=1522 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi index 8444627c32..b79750c9ca 100644 --- a/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi +++ b/flyteidl/gen/pb_python/flyteidl/event/cloudevents_pb2.pyi @@ -12,44 +12,36 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor class CloudEventWorkflowExecution(_message.Message): - __slots__ = ["raw_event", "output_data", "output_interface", "input_data", "artifact_ids", "reference_execution", "principal", "launch_plan_id"] + __slots__ = ["raw_event", "output_interface", "artifact_ids", "reference_execution", "principal", "launch_plan_id"] RAW_EVENT_FIELD_NUMBER: _ClassVar[int] - OUTPUT_DATA_FIELD_NUMBER: _ClassVar[int] OUTPUT_INTERFACE_FIELD_NUMBER: _ClassVar[int] - INPUT_DATA_FIELD_NUMBER: _ClassVar[int] ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] REFERENCE_EXECUTION_FIELD_NUMBER: _ClassVar[int] PRINCIPAL_FIELD_NUMBER: _ClassVar[int] LAUNCH_PLAN_ID_FIELD_NUMBER: _ClassVar[int] raw_event: _event_pb2.WorkflowExecutionEvent - output_data: _literals_pb2.LiteralMap output_interface: _interface_pb2.TypedInterface - input_data: _literals_pb2.LiteralMap artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] reference_execution: _identifier_pb2.WorkflowExecutionIdentifier principal: str launch_plan_id: _identifier_pb2.Identifier - def __init__(self, raw_event: _Optional[_Union[_event_pb2.WorkflowExecutionEvent, _Mapping]] = ..., output_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., input_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., principal: _Optional[str] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... + def __init__(self, raw_event: _Optional[_Union[_event_pb2.WorkflowExecutionEvent, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., reference_execution: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., principal: _Optional[str] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... class CloudEventNodeExecution(_message.Message): - __slots__ = ["raw_event", "task_exec_id", "output_data", "output_interface", "input_data", "artifact_ids", "principal", "launch_plan_id"] + __slots__ = ["raw_event", "task_exec_id", "output_interface", "artifact_ids", "principal", "launch_plan_id"] RAW_EVENT_FIELD_NUMBER: _ClassVar[int] TASK_EXEC_ID_FIELD_NUMBER: _ClassVar[int] - OUTPUT_DATA_FIELD_NUMBER: _ClassVar[int] OUTPUT_INTERFACE_FIELD_NUMBER: _ClassVar[int] - INPUT_DATA_FIELD_NUMBER: _ClassVar[int] ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] PRINCIPAL_FIELD_NUMBER: _ClassVar[int] LAUNCH_PLAN_ID_FIELD_NUMBER: _ClassVar[int] raw_event: _event_pb2.NodeExecutionEvent task_exec_id: _identifier_pb2.TaskExecutionIdentifier - output_data: _literals_pb2.LiteralMap output_interface: _interface_pb2.TypedInterface - input_data: _literals_pb2.LiteralMap artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] principal: str launch_plan_id: _identifier_pb2.Identifier - def __init__(self, raw_event: _Optional[_Union[_event_pb2.NodeExecutionEvent, _Mapping]] = ..., task_exec_id: _Optional[_Union[_identifier_pb2.TaskExecutionIdentifier, _Mapping]] = ..., output_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., input_data: _Optional[_Union[_literals_pb2.LiteralMap, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., principal: _Optional[str] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... + def __init__(self, raw_event: _Optional[_Union[_event_pb2.NodeExecutionEvent, _Mapping]] = ..., task_exec_id: _Optional[_Union[_identifier_pb2.TaskExecutionIdentifier, _Mapping]] = ..., output_interface: _Optional[_Union[_interface_pb2.TypedInterface, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., principal: _Optional[str] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ...) -> None: ... class CloudEventTaskExecution(_message.Message): __slots__ = ["raw_event"] @@ -58,17 +50,17 @@ class CloudEventTaskExecution(_message.Message): def __init__(self, raw_event: _Optional[_Union[_event_pb2.TaskExecutionEvent, _Mapping]] = ...) -> None: ... class CloudEventExecutionStart(_message.Message): - __slots__ = ["execution_id", "launch_plan_id", "workflow_id", "artifact_ids", "artifact_keys", "principal"] + __slots__ = ["execution_id", "launch_plan_id", "workflow_id", "artifact_ids", "artifact_trackers", "principal"] EXECUTION_ID_FIELD_NUMBER: _ClassVar[int] LAUNCH_PLAN_ID_FIELD_NUMBER: _ClassVar[int] WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int] ARTIFACT_IDS_FIELD_NUMBER: _ClassVar[int] - ARTIFACT_KEYS_FIELD_NUMBER: _ClassVar[int] + ARTIFACT_TRACKERS_FIELD_NUMBER: _ClassVar[int] PRINCIPAL_FIELD_NUMBER: _ClassVar[int] execution_id: _identifier_pb2.WorkflowExecutionIdentifier launch_plan_id: _identifier_pb2.Identifier workflow_id: _identifier_pb2.Identifier artifact_ids: _containers.RepeatedCompositeFieldContainer[_artifact_id_pb2.ArtifactID] - artifact_keys: _containers.RepeatedScalarFieldContainer[str] + artifact_trackers: _containers.RepeatedScalarFieldContainer[str] principal: str - def __init__(self, execution_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., workflow_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., artifact_keys: _Optional[_Iterable[str]] = ..., principal: _Optional[str] = ...) -> None: ... + def __init__(self, execution_id: _Optional[_Union[_identifier_pb2.WorkflowExecutionIdentifier, _Mapping]] = ..., launch_plan_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., workflow_id: _Optional[_Union[_identifier_pb2.Identifier, _Mapping]] = ..., artifact_ids: _Optional[_Iterable[_Union[_artifact_id_pb2.ArtifactID, _Mapping]]] = ..., artifact_trackers: _Optional[_Iterable[str]] = ..., principal: _Optional[str] = ...) -> None: ... diff --git a/flyteidl/gen/pb_rust/flyteidl.artifact.rs b/flyteidl/gen/pb_rust/flyteidl.artifact.rs index e3bc2c72fa..d35149b740 100644 --- a/flyteidl/gen/pb_rust/flyteidl.artifact.rs +++ b/flyteidl/gen/pb_rust/flyteidl.artifact.rs @@ -189,13 +189,13 @@ pub struct CreateTriggerResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct DeleteTriggerRequest { +pub struct DeactivateTriggerRequest { #[prost(message, optional, tag="1")] pub trigger_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] -pub struct DeleteTriggerResponse { +pub struct DeactivateTriggerResponse { } #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/flyteidl/gen/pb_rust/flyteidl.event.rs b/flyteidl/gen/pb_rust/flyteidl.event.rs index b7dd7ac9f3..703e5c9e9c 100644 --- a/flyteidl/gen/pb_rust/flyteidl.event.rs +++ b/flyteidl/gen/pb_rust/flyteidl.event.rs @@ -393,23 +393,19 @@ pub struct CloudEventWorkflowExecution { #[prost(message, optional, tag="1")] pub raw_event: ::core::option::Option, #[prost(message, optional, tag="2")] - pub output_data: ::core::option::Option, - #[prost(message, optional, tag="3")] pub output_interface: ::core::option::Option, - #[prost(message, optional, tag="4")] - pub input_data: ::core::option::Option, /// The following are ExecutionMetadata fields /// We can't have the ExecutionMetadata object directly because of import cycle - #[prost(message, repeated, tag="5")] + #[prost(message, repeated, tag="3")] pub artifact_ids: ::prost::alloc::vec::Vec, - #[prost(message, optional, tag="6")] + #[prost(message, optional, tag="4")] pub reference_execution: ::core::option::Option, - #[prost(string, tag="7")] + #[prost(string, tag="5")] pub principal: ::prost::alloc::string::String, /// 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. - #[prost(message, optional, tag="8")] + #[prost(message, optional, tag="6")] pub launch_plan_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] @@ -420,24 +416,19 @@ pub struct CloudEventNodeExecution { /// The relevant task execution if applicable #[prost(message, optional, tag="2")] pub task_exec_id: ::core::option::Option, - /// Hydrated output - #[prost(message, optional, tag="3")] - pub output_data: ::core::option::Option, /// The typed interface for the task that produced the event. - #[prost(message, optional, tag="4")] + #[prost(message, optional, tag="3")] pub output_interface: ::core::option::Option, - #[prost(message, optional, tag="5")] - pub input_data: ::core::option::Option, /// The following are ExecutionMetadata fields /// We can't have the ExecutionMetadata object directly because of import cycle - #[prost(message, repeated, tag="6")] + #[prost(message, repeated, tag="4")] pub artifact_ids: ::prost::alloc::vec::Vec, - #[prost(string, tag="7")] + #[prost(string, tag="5")] pub principal: ::prost::alloc::string::String, /// 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. - #[prost(message, optional, tag="8")] + #[prost(message, optional, tag="6")] pub launch_plan_id: ::core::option::Option, } #[allow(clippy::derive_partial_eq_without_eq)] @@ -458,12 +449,12 @@ pub struct CloudEventExecutionStart { pub launch_plan_id: ::core::option::Option, #[prost(message, optional, tag="3")] pub workflow_id: ::core::option::Option, - /// Artifact IDs found + /// 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. #[prost(message, repeated, tag="4")] pub artifact_ids: ::prost::alloc::vec::Vec, - /// Artifact keys found. + /// 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. #[prost(string, repeated, tag="5")] - pub artifact_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + pub artifact_trackers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, #[prost(string, tag="6")] pub principal: ::prost::alloc::string::String, } diff --git a/flyteidl/protos/flyteidl/artifact/artifacts.proto b/flyteidl/protos/flyteidl/artifact/artifacts.proto index 43cbddf9c5..aea350c6cf 100644 --- a/flyteidl/protos/flyteidl/artifact/artifacts.proto +++ b/flyteidl/protos/flyteidl/artifact/artifacts.proto @@ -144,11 +144,11 @@ message CreateTriggerRequest { message CreateTriggerResponse {} -message DeleteTriggerRequest { +message DeactivateTriggerRequest { core.Identifier trigger_id = 1; } -message DeleteTriggerResponse {} +message DeactivateTriggerResponse {} message ArtifactProducer { // These can be tasks, and workflows. Keeping track of the launch plans that a given workflow has is purely in @@ -189,23 +189,28 @@ service ArtifactRegistry { rpc GetArtifact (GetArtifactRequest) returns (GetArtifactResponse) { option (google.api.http) = { - get: "/artifacts/api/v1/data/artifacts" - additional_bindings {get: "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}"} - additional_bindings {get: "/artifacts/api/v1/data/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}"} - additional_bindings {get: "/artifacts/api/v1/data/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}"} + get: "/artifacts/api/v1/artifacts" + additional_bindings {get: "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}"} + additional_bindings {get: "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}"} + additional_bindings {get: "/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}"} }; } rpc SearchArtifacts (SearchArtifactsRequest) returns (SearchArtifactsResponse) { option (google.api.http) = { - get: "/artifacts/api/v1/data/query/s/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}" - additional_bindings {get: "/artifacts/api/v1/data/query/{artifact_key.project}/{artifact_key.domain}"} + get: "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}" + additional_bindings {get: "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}"} }; } rpc CreateTrigger (CreateTriggerRequest) returns (CreateTriggerResponse) {} - rpc DeleteTrigger (DeleteTriggerRequest) returns (DeleteTriggerResponse) {} + rpc DeactivateTrigger (DeactivateTriggerRequest) returns (DeactivateTriggerResponse) { + option (google.api.http) = { + patch: "/artifacts/api/v1/trigger/deactivate" + body: "*" + }; + } rpc AddTag(AddTagRequest) returns (AddTagResponse) {} @@ -217,7 +222,7 @@ service ArtifactRegistry { rpc FindByWorkflowExec (FindByWorkflowExecRequest) returns (SearchArtifactsResponse) { option (google.api.http) = { - get: "/artifacts/api/v1/data/query/e/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}" + get: "/artifacts/api/v1/search/execution/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}" }; } diff --git a/flyteidl/protos/flyteidl/event/cloudevents.proto b/flyteidl/protos/flyteidl/event/cloudevents.proto index 0c628d52d4..d02c5ff516 100644 --- a/flyteidl/protos/flyteidl/event/cloudevents.proto +++ b/flyteidl/protos/flyteidl/event/cloudevents.proto @@ -16,22 +16,18 @@ import "google/protobuf/timestamp.proto"; message CloudEventWorkflowExecution { event.WorkflowExecutionEvent raw_event = 1; - core.LiteralMap output_data = 2; - - core.TypedInterface output_interface = 3; - - core.LiteralMap input_data = 4; + core.TypedInterface output_interface = 2; // The following are ExecutionMetadata fields // We can't have the ExecutionMetadata object directly because of import cycle - repeated core.ArtifactID artifact_ids = 5; - core.WorkflowExecutionIdentifier reference_execution = 6; - string principal = 7; + repeated core.ArtifactID artifact_ids = 3; + core.WorkflowExecutionIdentifier reference_execution = 4; + string principal = 5; // 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. - core.Identifier launch_plan_id = 8; + core.Identifier launch_plan_id = 6; } message CloudEventNodeExecution { @@ -40,23 +36,18 @@ message CloudEventNodeExecution { // The relevant task execution if applicable core.TaskExecutionIdentifier task_exec_id = 2; - // Hydrated output - core.LiteralMap output_data = 3; - // The typed interface for the task that produced the event. - core.TypedInterface output_interface = 4; - - core.LiteralMap input_data = 5; + core.TypedInterface output_interface = 3; // The following are ExecutionMetadata fields // We can't have the ExecutionMetadata object directly because of import cycle - repeated core.ArtifactID artifact_ids = 6; - string principal = 7; + repeated core.ArtifactID artifact_ids = 4; + string principal = 5; // 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. - core.Identifier launch_plan_id = 8; + core.Identifier launch_plan_id = 6; } message CloudEventTaskExecution { @@ -72,11 +63,11 @@ message CloudEventExecutionStart { core.Identifier workflow_id = 3; - // Artifact IDs found + // 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 core.ArtifactID artifact_ids = 4; - // Artifact keys found. - repeated string artifact_keys = 5; + // 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; string principal = 6; } diff --git a/flytestdlib/database/db.go b/flytestdlib/database/db.go index fe884c75f4..8046c7ead4 100644 --- a/flytestdlib/database/db.go +++ b/flytestdlib/database/db.go @@ -107,17 +107,12 @@ func withDB(ctx context.Context, databaseConfig *DbConfig, do func(db *gorm.DB) } // Migrate runs all configured migrations -func Migrate(ctx context.Context, databaseConfig *DbConfig, migrations []*gormigrate.Migration, initializationSQL string) error { +func Migrate(ctx context.Context, databaseConfig *DbConfig, migrations []*gormigrate.Migration) error { if len(migrations) == 0 { logger.Infof(ctx, "No migrations to run") return nil } return withDB(ctx, databaseConfig, func(db *gorm.DB) error { - tx := db.Exec(initializationSQL) - if tx.Error != nil { - return tx.Error - } - m := gormigrate.New(db, gormigrate.DefaultOptions, migrations) if err := m.Migrate(); err != nil { return fmt.Errorf("database migration failed: %v", err) diff --git a/flytestdlib/database/postgres.go b/flytestdlib/database/postgres.go index be5c118e58..ec43330af1 100644 --- a/flytestdlib/database/postgres.go +++ b/flytestdlib/database/postgres.go @@ -62,6 +62,7 @@ func CreatePostgresDbIfNotExists(ctx context.Context, gormConfig *gorm.Config, p return gormDb, nil } if !IsPgErrorWithCode(err, PqInvalidDBCode) { + logger.Errorf(ctx, "Unhandled error connecting to postgres, pg [%v], gorm [%v]: %v", pgConfig, gormConfig, err) return nil, err } logger.Warningf(ctx, "Database [%v] does not exist", pgConfig.DbName) diff --git a/flytestdlib/go.mod b/flytestdlib/go.mod index 16d0fe3b06..947fbe4b5c 100644 --- a/flytestdlib/go.mod +++ b/flytestdlib/go.mod @@ -147,7 +147,6 @@ replace ( github.com/flyteorg/flyte/flyteplugins => ../flyteplugins github.com/flyteorg/flyte/flytepropeller => ../flytepropeller github.com/flyteorg/flyte/flytestdlib => ../flytestdlib - github.com/flyteorg/flyteidl => ../flyteidl k8s.io/api => k8s.io/api v0.28.2 k8s.io/apimachinery => k8s.io/apimachinery v0.28.2 k8s.io/client-go => k8s.io/client-go v0.28.2 From de919c05f4b0038e3a18eac94a0cf6a004b30e8a Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Tue, 9 Jan 2024 11:58:43 -0800 Subject: [PATCH 16/16] Artf/lineage and fixes (#4680) --- charts/flyte-sandbox/README.md | 1 + charts/flyte-sandbox/values.yaml | 3 ++ .../manifests/complete-agent.yaml | 9 ++-- .../sandbox-bundled/manifests/complete.yaml | 9 ++-- docker/sandbox-bundled/manifests/dev.yaml | 4 +- flyteadmin/pkg/artifacts/config.go | 8 ---- flyteartifacts/pkg/db/storage.go | 6 +-- flyteartifacts/pkg/lib/constants.go | 5 +- flyteartifacts/pkg/lib/url_parse.go | 46 ++++++++----------- flyteartifacts/pkg/lib/url_parse_test.go | 36 ++++++--------- .../pkg/server/processor/events_handler.go | 20 ++++++-- flyteartifacts/pkg/server/server.go | 3 ++ flyteartifacts/pkg/server/service.go | 21 +++++++-- 13 files changed, 94 insertions(+), 77 deletions(-) delete mode 100644 flyteadmin/pkg/artifacts/config.go diff --git a/charts/flyte-sandbox/README.md b/charts/flyte-sandbox/README.md index e74f0724e5..25fae84538 100644 --- a/charts/flyte-sandbox/README.md +++ b/charts/flyte-sandbox/README.md @@ -45,6 +45,7 @@ A Helm chart for the Flyte local sandbox | flyte-binary.configuration.inline.cloudEvents.cloudEventVersion | string | `"v2"` | | | flyte-binary.configuration.inline.cloudEvents.enable | bool | `true` | | | flyte-binary.configuration.inline.cloudEvents.type | string | `"sandbox"` | | +| flyte-binary.configuration.inline.flyteadmin.featureGates.enableArtifacts | bool | `true` | | | flyte-binary.configuration.inline.plugins.k8s.default-env-vars[0].FLYTE_AWS_ENDPOINT | string | `"http://{{ printf \"%s-minio\" .Release.Name | trunc 63 | trimSuffix \"-\" }}.{{ .Release.Namespace }}:9000"` | | | flyte-binary.configuration.inline.plugins.k8s.default-env-vars[1].FLYTE_AWS_ACCESS_KEY_ID | string | `"minio"` | | | flyte-binary.configuration.inline.plugins.k8s.default-env-vars[2].FLYTE_AWS_SECRET_ACCESS_KEY | string | `"miniostorage"` | | diff --git a/charts/flyte-sandbox/values.yaml b/charts/flyte-sandbox/values.yaml index b799b9e767..c30e0c5fb6 100644 --- a/charts/flyte-sandbox/values.yaml +++ b/charts/flyte-sandbox/values.yaml @@ -51,6 +51,9 @@ flyte-binary: enable: true cloudEventVersion: v2 type: sandbox + flyteadmin: + featureGates: + enableArtifacts: true artifactsServer: artifactBlobStoreConfig: type: stow diff --git a/docker/sandbox-bundled/manifests/complete-agent.yaml b/docker/sandbox-bundled/manifests/complete-agent.yaml index 6719436d20..189cfd6efd 100644 --- a/docker/sandbox-bundled/manifests/complete-agent.yaml +++ b/docker/sandbox-bundled/manifests/complete-agent.yaml @@ -534,6 +534,9 @@ data: cloudEventVersion: v2 enable: true type: sandbox + flyteadmin: + featureGates: + enableArtifacts: true plugins: k8s: default-env-vars: @@ -878,7 +881,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: c1BaWUVKZ3RMNHBNa1A5bQ== + haSharedSecret: SzdFS2NpQ1FCMGZpZmdvVA== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1308,7 +1311,7 @@ spec: metadata: annotations: checksum/cluster-resource-templates: 6fd9b172465e3089fcc59f738b92b8dc4d8939360c19de8ee65f68b0e7422035 - checksum/configuration: 45373e78f147407fbee7ae52351e92542475be8fefff767255d1b3bdc48c3a0a + checksum/configuration: a34d42c55d42f2ad83faeb5a31a25315aec8bac20cc32bd57b34d57cf62bc84e checksum/configuration-secret: 09216ffaa3d29e14f88b1f30af580d02a2a5e014de4d750b7f275cc07ed4e914 labels: app.kubernetes.io/component: flyte-binary @@ -1474,7 +1477,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 9c81d342cbc7f96cb7d02181f9f7516d4b6e47f6e1475c039241991ac568b851 + checksum/secret: 76b53c5ec281a0fe662b1a3cf26e50a247832d71aafa79a49294e1c7e82cb462 labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/complete.yaml b/docker/sandbox-bundled/manifests/complete.yaml index 1024499cde..ad1e866c4c 100644 --- a/docker/sandbox-bundled/manifests/complete.yaml +++ b/docker/sandbox-bundled/manifests/complete.yaml @@ -514,6 +514,9 @@ data: cloudEventVersion: v2 enable: true type: sandbox + flyteadmin: + featureGates: + enableArtifacts: true plugins: k8s: default-env-vars: @@ -858,7 +861,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: YTNTZDQ0WTFQR1pNb2lJRA== + haSharedSecret: NGtneHhldjRLS0s2VnBFYg== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1256,7 +1259,7 @@ spec: metadata: annotations: checksum/cluster-resource-templates: 6fd9b172465e3089fcc59f738b92b8dc4d8939360c19de8ee65f68b0e7422035 - checksum/configuration: 9502021d87030cfe424e840eee4c26900579d180008686827db9d9ef3f723a5b + checksum/configuration: 9e539e6f6c99d5c7e262b393ccaf10163e49501a72e500108d7abf1fa28efec7 checksum/configuration-secret: 09216ffaa3d29e14f88b1f30af580d02a2a5e014de4d750b7f275cc07ed4e914 labels: app.kubernetes.io/component: flyte-binary @@ -1422,7 +1425,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 4f7d40beb7c6c4fa355d9a6a5ebeda49896ecf6bb4030db160e2267ef0e4d1f8 + checksum/secret: 7ce7b101d2a314d4e180934a2329db83ad951e7d832fd0855b9adecbc52dac57 labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/dev.yaml b/docker/sandbox-bundled/manifests/dev.yaml index c0adef72bf..24e4bb5ead 100644 --- a/docker/sandbox-bundled/manifests/dev.yaml +++ b/docker/sandbox-bundled/manifests/dev.yaml @@ -535,7 +535,7 @@ metadata: --- apiVersion: v1 data: - haSharedSecret: cGlKcHZrZFRRWllURW9Xdw== + haSharedSecret: QlRBU1c2TE9Ma1dGZHdNOQ== proxyPassword: "" proxyUsername: "" kind: Secret @@ -982,7 +982,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: cfd24691ea1c055cf1ebdb9f15b6e46916c8831685a84464932920b9b05cb2a8 + checksum/secret: 5b126beacb3ed19e3d0c3a580dcbc29332e445220eebd916e688e0c8d7cfdf23 labels: app: docker-registry release: flyte-sandbox diff --git a/flyteadmin/pkg/artifacts/config.go b/flyteadmin/pkg/artifacts/config.go deleted file mode 100644 index c639666ffe..0000000000 --- a/flyteadmin/pkg/artifacts/config.go +++ /dev/null @@ -1,8 +0,0 @@ -package artifacts - -// gatepr: add proper config bits for this -type Config struct { - Host string `json:"host"` - Port int `json:"port"` - Insecure bool `json:"insecure"` -} diff --git a/flyteartifacts/pkg/db/storage.go b/flyteartifacts/pkg/db/storage.go index a7387312fe..ca352be656 100644 --- a/flyteartifacts/pkg/db/storage.go +++ b/flyteartifacts/pkg/db/storage.go @@ -99,14 +99,12 @@ func (r *RDSStorage) CreateArtifact(ctx context.Context, serviceModel models.Art } func (r *RDSStorage) handleUriGet(ctx context.Context, uri string) (models.Artifact, error) { - artifactID, tag, err := lib.ParseFlyteURL(uri) + artifactID, err := lib.ParseFlyteURL(uri) if err != nil { logger.Errorf(ctx, "Failed to parse uri [%s]: %+v", uri, err) return models.Artifact{}, err } - if tag != "" { - return models.Artifact{}, fmt.Errorf("tag not implemented yet") - } + logger.Debugf(ctx, "Extracted artifact id [%v] from uri [%s], using id handler", artifactID, uri) return r.handleArtifactIdGet(ctx, artifactID) } diff --git a/flyteartifacts/pkg/lib/constants.go b/flyteartifacts/pkg/lib/constants.go index 845b570525..767d5146db 100644 --- a/flyteartifacts/pkg/lib/constants.go +++ b/flyteartifacts/pkg/lib/constants.go @@ -1,4 +1,7 @@ package lib -// ArtifactKey - This is used to tag Literals as a tracking bit. +// ArtifactKey - This string is used to identify Artifacts when all you have +// is the underlying Literal. Look for this key under the literal's metadata field. This situation can arise +// when a user fetches an artifact, using something like flyte remote or flyte console, and then kicks +// off an execution using that literal. const ArtifactKey = "_ua" diff --git a/flyteartifacts/pkg/lib/url_parse.go b/flyteartifacts/pkg/lib/url_parse.go index 489e416d64..3d15d80ac6 100644 --- a/flyteartifacts/pkg/lib/url_parse.go +++ b/flyteartifacts/pkg/lib/url_parse.go @@ -2,50 +2,44 @@ package lib import ( "errors" - "net/url" - "regexp" - "strings" - + "fmt" "github.com/flyteorg/flyte/flyteartifacts/pkg/models" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/core" + "net/url" + "regexp" ) -var flyteURLNameRe = regexp.MustCompile(`(?P[\w/-]+)(?:(:(?P\w+))?)(?:(@(?P\w+))?)`) +var flyteURLNameRe = regexp.MustCompile(`(?P[\w-]+)/(?P[\w-]+)/(?P[\w/-]+)(@(?P[\w/-]+))?`) -func ParseFlyteURL(urlStr string) (core.ArtifactID, string, error) { +func ParseFlyteURL(urlStr string) (core.ArtifactID, error) { if len(urlStr) == 0 { - return core.ArtifactID{}, "", errors.New("URL cannot be empty") + return core.ArtifactID{}, errors.New("URL cannot be empty") } parsed, err := url.Parse(urlStr) if err != nil { - return core.ArtifactID{}, "", err + return core.ArtifactID{}, err } queryValues, err := url.ParseQuery(parsed.RawQuery) if err != nil { - return core.ArtifactID{}, "", err + return core.ArtifactID{}, err } - projectDomainName := strings.Split(strings.Trim(parsed.Path, "/"), "/") - if len(projectDomainName) < 3 { - return core.ArtifactID{}, "", errors.New("invalid URL format") - } - project, domain, name := projectDomainName[0], projectDomainName[1], strings.Join(projectDomainName[2:], "/") - version := "" - tag := "" + + var project, domain, name, version string queryDict := make(map[string]string) - if match := flyteURLNameRe.FindStringSubmatch(name); match != nil { - name = match[1] - if match[3] != "" { - tag = match[3] + if match := flyteURLNameRe.FindStringSubmatch(parsed.Path); match != nil { + if len(match) < 4 { + return core.ArtifactID{}, fmt.Errorf("insufficient components specified %s", parsed.Path) } - if match[5] != "" { + project = match[1] + domain = match[2] + name = match[3] + if len(match) > 5 { version = match[5] } - - if tag != "" && (version != "" || len(queryValues) > 0) { - return core.ArtifactID{}, "", errors.New("cannot specify tag with version or querydict") - } + } else { + return core.ArtifactID{}, fmt.Errorf("unable to parse %s", parsed.Path) } for key, values := range queryValues { @@ -68,5 +62,5 @@ func ParseFlyteURL(urlStr string) (core.ArtifactID, string, error) { Partitions: p, } - return a, tag, nil + return a, nil } diff --git a/flyteartifacts/pkg/lib/url_parse_test.go b/flyteartifacts/pkg/lib/url_parse_test.go index 2340d07252..d106c1cb8b 100644 --- a/flyteartifacts/pkg/lib/url_parse_test.go +++ b/flyteartifacts/pkg/lib/url_parse_test.go @@ -9,52 +9,42 @@ import ( "github.com/flyteorg/flyte/flyteartifacts/pkg/models" ) -func TestURLParseWithTag(t *testing.T) { - artifactID, tag, err := ParseFlyteURL("flyte://av0.1/project/domain/name:tag") +func TestURLParseWithVersionAndPartitions(t *testing.T) { + artifactID, err := ParseFlyteURL("flyte://av0.1/project/domain/name@version?foo=bar&ham=spam") + expPartitions := map[string]string{"foo": "bar", "ham": "spam"} assert.NoError(t, err) assert.Equal(t, "project", artifactID.ArtifactKey.Project) assert.Equal(t, "domain", artifactID.ArtifactKey.Domain) assert.Equal(t, "name", artifactID.ArtifactKey.Name) - assert.Equal(t, "", artifactID.Version) - assert.Equal(t, "tag", tag) - assert.Nil(t, artifactID.GetPartitions()) + assert.Equal(t, "version", artifactID.Version) + p := artifactID.GetPartitions() + mapP := models.PartitionsFromIdl(context.TODO(), p) + assert.Equal(t, expPartitions, mapP) } -func TestURLParseWithVersionAndPartitions(t *testing.T) { - artifactID, tag, err := ParseFlyteURL("flyte://av0.1/project/domain/name@version?foo=bar&ham=spam") +func TestURLParseWithSlashVersionAndPartitions(t *testing.T) { + artifactID, err := ParseFlyteURL("flyte://av0.1/project/domain/name/more@version/abc/0/o0?foo=bar&ham=spam") expPartitions := map[string]string{"foo": "bar", "ham": "spam"} assert.NoError(t, err) assert.Equal(t, "project", artifactID.ArtifactKey.Project) assert.Equal(t, "domain", artifactID.ArtifactKey.Domain) - assert.Equal(t, "name", artifactID.ArtifactKey.Name) - assert.Equal(t, "version", artifactID.Version) - assert.Equal(t, "", tag) + assert.Equal(t, "name/more", artifactID.ArtifactKey.Name) + assert.Equal(t, "version/abc/0/o0", artifactID.Version) p := artifactID.GetPartitions() mapP := models.PartitionsFromIdl(context.TODO(), p) assert.Equal(t, expPartitions, mapP) } -func TestURLParseFailsWithBothTagAndPartitions(t *testing.T) { - _, _, err := ParseFlyteURL("flyte://av0.1/project/domain/name:tag?foo=bar&ham=spam") - assert.Error(t, err) -} - -func TestURLParseWithBothTagAndVersion(t *testing.T) { - _, _, err := ParseFlyteURL("flyte://av0.1/project/domain/name:tag@version") - assert.Error(t, err) -} - func TestURLParseNameWithSlashes(t *testing.T) { - artifactID, tag, err := ParseFlyteURL("flyte://av0.1/project/domain/name/with/slashes") + artifactID, err := ParseFlyteURL("flyte://av0.1/project/domain/name/with/slashes") assert.NoError(t, err) assert.Equal(t, "project", artifactID.ArtifactKey.Project) assert.Equal(t, "domain", artifactID.ArtifactKey.Domain) assert.Equal(t, "name/with/slashes", artifactID.ArtifactKey.Name) - assert.Equal(t, "", tag) - artifactID, _, err = ParseFlyteURL("flyte://av0.1/project/domain/name/with/slashes?ds=2020-01-01") + artifactID, err = ParseFlyteURL("flyte://av0.1/project/domain/name/with/slashes?ds=2020-01-01") assert.NoError(t, err) assert.Equal(t, "name/with/slashes", artifactID.ArtifactKey.Name) assert.Equal(t, "project", artifactID.ArtifactKey.Project) diff --git a/flyteartifacts/pkg/server/processor/events_handler.go b/flyteartifacts/pkg/server/processor/events_handler.go index 71f7813268..929844194b 100644 --- a/flyteartifacts/pkg/server/processor/events_handler.go +++ b/flyteartifacts/pkg/server/processor/events_handler.go @@ -46,11 +46,25 @@ func (s *ServiceCallHandler) HandleEvent(ctx context.Context, cloudEvent *event2 func (s *ServiceCallHandler) HandleEventExecStart(ctx context.Context, evt *event.CloudEventExecutionStart) error { - if len(evt.ArtifactIds) > 0 { + var inputsUsed []*core.ArtifactID + + inputsUsed = append(inputsUsed, evt.ArtifactIds...) + for _, x := range evt.ArtifactTrackers { + + dummyURI := fmt.Sprintf("flyte://av0.1/%s", x) + idWithVersion, err := lib.ParseFlyteURL(dummyURI) + if err != nil { + logger.Errorf(ctx, "Error parsing input %s for execution start: %v", x, err) + return err + } + inputsUsed = append(inputsUsed, &idWithVersion) + } + + if len(inputsUsed) > 0 { // metric req := &artifact.ExecutionInputsRequest{ ExecutionId: evt.ExecutionId, - Inputs: evt.ArtifactIds, + Inputs: inputsUsed, } _, err := s.service.SetExecutionInputs(ctx, req) if err != nil { @@ -172,8 +186,6 @@ func getPartitionsAndTag(ctx context.Context, partialID core.ArtifactID, variabl } var partitions map[string]string - // todo: consider updating idl to make CreateArtifactRequest just take a full Partitions - // object rather than a mapstrstr @eapolinario @enghabu if partialID.GetPartitions().GetValue() != nil && len(partialID.GetPartitions().GetValue()) > 0 { partitions = make(map[string]string, len(partialID.GetPartitions().GetValue())) for k, lv := range partialID.GetPartitions().GetValue() { diff --git a/flyteartifacts/pkg/server/server.go b/flyteartifacts/pkg/server/server.go index 89e9448205..253b0fb4e2 100644 --- a/flyteartifacts/pkg/server/server.go +++ b/flyteartifacts/pkg/server/server.go @@ -31,6 +31,9 @@ type ArtifactService struct { } func (a *ArtifactService) CreateArtifact(ctx context.Context, req *artifact.CreateArtifactRequest) (*artifact.CreateArtifactResponse, error) { + + // todo: add a request validating section, check for nils, etc. + resp, err := a.Service.CreateArtifact(ctx, req) if err != nil { return resp, err diff --git a/flyteartifacts/pkg/server/service.go b/flyteartifacts/pkg/server/service.go index abc1b81b6a..8fc4e06da5 100644 --- a/flyteartifacts/pkg/server/service.go +++ b/flyteartifacts/pkg/server/service.go @@ -3,6 +3,7 @@ package server import ( "context" "fmt" + "github.com/flyteorg/flyte/flyteartifacts/pkg/lib" "github.com/flyteorg/flyte/flyteartifacts/pkg/models" "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact" @@ -14,16 +15,30 @@ import ( type CoreService struct { Storage StorageInterface BlobStore BlobStoreInterface - // SearchHandler SearchHandlerInterface +} + +// This string is a tracker basically that will be installed in the metadata of the literal. See the ArtifactKey constant for more information. +func (c *CoreService) getTrackingString(request *artifact.CreateArtifactRequest) string { + ak := request.ArtifactKey + t := fmt.Sprintf("%s/%s/%s@%s", ak.Project, ak.Domain, ak.Name, request.Version) + + return t } func (c *CoreService) CreateArtifact(ctx context.Context, request *artifact.CreateArtifactRequest) (*artifact.CreateArtifactResponse, error) { - // todo: gatepr _ua tracking bit to be installed - if request == nil { + // todo: move one layer higher to server.go + if request == nil || request.GetArtifactKey() == nil { + logger.Errorf(ctx, "Ignoring nil or partially nil request") return nil, nil } + if request.GetSpec().GetValue().Metadata == nil { + request.GetSpec().GetValue().Metadata = make(map[string]string, 1) + } + trackingStr := c.getTrackingString(request) + request.GetSpec().GetValue().Metadata[lib.ArtifactKey] = trackingStr + artifactObj, err := models.CreateArtifactModelFromRequest(ctx, request.ArtifactKey, request.Spec, request.Version, request.Partitions, request.Tag, request.Source) if err != nil { logger.Errorf(ctx, "Failed to validate Create request: %v", err)