From 404fe4ca3c3b7c4d95d5cef9448276e8ffab4ed9 Mon Sep 17 00:00:00 2001 From: James Liu Date: Thu, 10 Aug 2023 22:56:15 +0000 Subject: [PATCH 1/7] chore(mlmd): Upgrade ML Metadata to 1.14.0. --- .cloudbuild.yaml | 2 +- .release.cloudbuild.yaml | 10 +- backend/metadata_writer/requirements.in | 2 +- .../apiserver/visualization/requirements.txt | 153 - .../visualization/update_requirements.sh | 8 +- backend/src/v2/test/requirements.txt | 2 +- frontend/README.md | 14 + .../ml_metadata/proto/metadata_store_pb.d.ts | 236 + .../ml_metadata/proto/metadata_store_pb.js | 5338 +++-- .../metadata_store_service_grpc_web_pb.d.ts | 120 + .../metadata_store_service_grpc_web_pb.js | 612 + .../proto/metadata_store_service_pb.d.ts | 691 + .../proto/metadata_store_service_pb.js | 19221 ++++++++++------ go.mod | 3 +- go.sum | 6 +- hack/update-all-requirements.sh | 1 - .../base/metadata-grpc-deployment.yaml | 2 +- test/tag_for_hosted.sh | 4 +- third_party/ml-metadata/README.md | 9 + third_party/ml-metadata/VERSION | 2 +- .../go/ml_metadata/metadata_store.pb.go | 2695 ++- .../ml_metadata/metadata_store_service.pb.go | 7162 ++++-- .../metadata_store_service_grpc.pb.go | 506 +- .../ml_metadata/proto/metadata_store.proto | 411 +- .../proto/metadata_store_service.proto | 537 +- third_party/ml-metadata/update_version.sh | 4 +- 26 files changed, 26171 insertions(+), 11580 deletions(-) diff --git a/.cloudbuild.yaml b/.cloudbuild.yaml index d94f837d592..a2f8a0524a7 100644 --- a/.cloudbuild.yaml +++ b/.cloudbuild.yaml @@ -158,7 +158,7 @@ steps: # * manifests/kustomize/base/metadata/base/metadata-grpc-deployment.yaml # * test/tag_for_hosted.sh - name: 'gcr.io/cloud-builders/docker' - args: ['pull', 'gcr.io/tfx-oss-public/ml_metadata_store_server:1.5.0'] + args: ['pull', 'gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0'] id: 'pullMetadataServer' - name: 'gcr.io/cloud-builders/docker' args: ['pull', 'gcr.io/ml-pipeline/minio:RELEASE.2019-08-14T20-37-41Z-license-compliance'] diff --git a/.release.cloudbuild.yaml b/.release.cloudbuild.yaml index 0c0eee6707e..591c3ed198c 100644 --- a/.release.cloudbuild.yaml +++ b/.release.cloudbuild.yaml @@ -259,14 +259,14 @@ steps: # * manifests/kustomize/base/metadata/base/metadata-grpc-deployment.yaml # * test/tag_for_hosted.sh - name: 'gcr.io/cloud-builders/docker' - args: ['pull', 'gcr.io/tfx-oss-public/ml_metadata_store_server:1.5.0'] + args: ['pull', 'gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0'] id: 'pullMetadataServer' - name: 'gcr.io/cloud-builders/docker' - args: ['tag', 'gcr.io/tfx-oss-public/ml_metadata_store_server:1.5.0', 'gcr.io/ml-pipeline/google/pipelines/metadataserver:$TAG_NAME'] + args: ['tag', 'gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0', 'gcr.io/ml-pipeline/google/pipelines/metadataserver:$TAG_NAME'] id: 'tagMetadataServerForMarketplace' waitFor: ['pullMetadataServer'] - name: 'gcr.io/cloud-builders/docker' - args: ['tag', 'gcr.io/tfx-oss-public/ml_metadata_store_server:1.5.0', 'gcr.io/ml-pipeline/google/pipelines-test/metadataserver:$TAG_NAME'] + args: ['tag', 'gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0', 'gcr.io/ml-pipeline/google/pipelines-test/metadataserver:$TAG_NAME'] id: 'tagMetadataServerForMarketplaceTest' waitFor: ['pullMetadataServer'] - id: 'tagMetadataServerForMarketplaceMajorMinor' @@ -276,8 +276,8 @@ steps: args: - -ceux - | - docker tag gcr.io/tfx-oss-public/ml_metadata_store_server:1.5.0 gcr.io/ml-pipeline/google/pipelines/metadataserver:$(cat /workspace/mm.ver) - docker tag gcr.io/tfx-oss-public/ml_metadata_store_server:1.5.0 gcr.io/ml-pipeline/google/pipelines-test/metadataserver:$(cat /workspace/mm.ver) + docker tag gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0 gcr.io/ml-pipeline/google/pipelines/metadataserver:$(cat /workspace/mm.ver) + docker tag gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0 gcr.io/ml-pipeline/google/pipelines-test/metadataserver:$(cat /workspace/mm.ver) docker push gcr.io/ml-pipeline/google/pipelines/metadataserver:$(cat /workspace/mm.ver) docker push gcr.io/ml-pipeline/google/pipelines-test/metadataserver:$(cat /workspace/mm.ver) diff --git a/backend/metadata_writer/requirements.in b/backend/metadata_writer/requirements.in index 27130c336fa..e45d3d7baf8 100644 --- a/backend/metadata_writer/requirements.in +++ b/backend/metadata_writer/requirements.in @@ -1,3 +1,3 @@ kubernetes>=8.0.0,<11.0.0 -ml-metadata==1.5.0 +ml-metadata==1.14.0 lru-dict>=1.1.7,<2.0.0 diff --git a/backend/src/apiserver/visualization/requirements.txt b/backend/src/apiserver/visualization/requirements.txt index 1e0e6dd8251..e69de29bb2d 100644 --- a/backend/src/apiserver/visualization/requirements.txt +++ b/backend/src/apiserver/visualization/requirements.txt @@ -1,153 +0,0 @@ -# -# This file is autogenerated by pip-compile -# To update, run: -# -# pip-compile --output-file=- - -# -absl-py==0.12.0 # via tensorboard, tensorflow, tensorflow-data-validation, tensorflow-metadata, tensorflow-model-analysis, tfx-bsl -apache-beam[gcp]==2.34.0 # via tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl -argon2-cffi-bindings==21.2.0 # via argon2-cffi -argon2-cffi==21.3.0 # via notebook -astunparse==1.6.3 # via tensorflow -attrs==21.2.0 # via jsonschema -avro-python3==1.9.2.1 # via apache-beam -backcall==0.2.0 # via ipython -bleach==4.1.0 # via nbconvert -bokeh==1.2.0 # via -r - -cached-property==1.5.2 # via h5py -cachetools==4.2.4 # via apache-beam, google-auth -certifi==2021.10.8 # via requests -cffi==1.15.0 # via argon2-cffi-bindings -charset-normalizer==2.0.9 # via requests -crcmod==1.7 # via apache-beam -dataclasses==0.8 # via apache-beam, argon2-cffi, libcst, werkzeug -decorator==5.1.0 # via gcsfs, ipython, traitlets -defusedxml==0.7.1 # via nbconvert -dill==0.3.1.1 # via apache-beam -docopt==0.6.2 # via hdfs -entrypoints==0.3 # via nbconvert -fastavro==1.4.7 # via apache-beam -fasteners==0.16.3 # via google-apitools -flatbuffers==1.12 # via tensorflow -future==0.18.2 # via apache-beam -gast==0.4.0 # via tensorflow -gcsfs==0.2.3 # via -r - -google-api-core[grpc,grpcgcp]==1.31.5 # via google-cloud-bigquery, google-cloud-bigquery-storage, google-cloud-bigtable, google-cloud-core, google-cloud-datastore, google-cloud-dlp, google-cloud-language, google-cloud-pubsub, google-cloud-recommendations-ai, google-cloud-spanner, google-cloud-videointelligence, google-cloud-vision -google-api-python-client==1.7.12 # via -r -, tfx-bsl -google-apitools==0.5.31 # via apache-beam -google-auth-httplib2==0.1.0 # via google-api-python-client -google-auth-oauthlib==0.4.6 # via gcsfs, tensorboard -google-auth==1.35.0 # via apache-beam, gcsfs, google-api-core, google-api-python-client, google-auth-httplib2, google-auth-oauthlib, google-cloud-core, tensorboard -google-cloud-bigquery-storage==2.10.1 # via apache-beam -google-cloud-bigquery==2.20.0 # via apache-beam, tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl -google-cloud-bigtable==1.7.0 # via apache-beam -google-cloud-core==1.7.2 # via apache-beam, google-cloud-bigquery, google-cloud-bigtable, google-cloud-datastore, google-cloud-spanner -google-cloud-datastore==1.15.3 # via apache-beam -google-cloud-dlp==1.0.0 # via apache-beam -google-cloud-language==1.3.0 # via apache-beam -google-cloud-pubsub==1.7.0 # via apache-beam -google-cloud-recommendations-ai==0.2.0 # via apache-beam -google-cloud-spanner==1.19.1 # via apache-beam -google-cloud-videointelligence==1.16.1 # via apache-beam -google-cloud-vision==1.0.0 # via apache-beam -google-crc32c==1.3.0 # via google-resumable-media -google-pasta==0.2.0 # via tensorflow -google-resumable-media==1.3.3 # via google-cloud-bigquery -googleapis-common-protos[grpc]==1.54.0 # via google-api-core, grpc-google-iam-v1, tensorflow-metadata -grpc-google-iam-v1==0.12.3 # via google-cloud-bigtable, google-cloud-pubsub, google-cloud-spanner -grpcio-gcp==0.2.2 # via apache-beam, google-api-core -grpcio==1.34.1 # via apache-beam, google-api-core, googleapis-common-protos, grpc-google-iam-v1, grpcio-gcp, tensorboard, tensorflow, tensorflow-serving-api -h5py==3.1.0 # via tensorflow -hdfs==2.6.0 # via apache-beam -httplib2==0.19.1 # via apache-beam, google-api-python-client, google-apitools, google-auth-httplib2, oauth2client -idna==3.3 # via requests -importlib-metadata==4.8.3 # via jsonschema, markdown -ipykernel==5.1.1 # via -r -, ipywidgets, notebook -ipython-genutils==0.2.0 # via ipywidgets, nbformat, notebook, traitlets -ipython==7.12.0 # via -r -, ipykernel, ipywidgets, tensorflow-model-analysis -ipywidgets==7.6.5 # via tensorflow-model-analysis -itables==0.1.0 # via -r - -jedi==0.18.1 # via ipython -jinja2==3.0.3 # via bokeh, nbconvert, notebook -joblib==0.14.1 # via scikit-learn, tensorflow-data-validation -jsonschema==3.2.0 # via nbformat -jupyter-client==5.3.5 # via -r -, ipykernel, notebook -jupyter-core==4.9.1 # via jupyter-client, nbconvert, nbformat, notebook -jupyterlab-widgets==1.0.2 # via ipywidgets -keras-nightly==2.5.0.dev2021032900 # via tensorflow -keras-preprocessing==1.1.2 # via tensorflow -libcst==0.3.23 # via google-cloud-bigquery-storage -markdown==3.3.6 # via tensorboard -markupsafe==2.0.1 # via jinja2 -mistune==0.8.4 # via -r -, nbconvert -mypy-extensions==0.4.3 # via typing-inspect -nbconvert==5.5.0 # via -r -, notebook -nbformat==4.4.0 # via -r -, ipywidgets, nbconvert, notebook -nest-asyncio==1.5.4 # via notebook -notebook==6.4.6 # via widgetsnbextension -numpy==1.19.5 # via apache-beam, bokeh, h5py, keras-preprocessing, opt-einsum, pandas, pyarrow, scikit-learn, scipy, tensorboard, tensorflow, tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl -oauth2client==4.1.3 # via apache-beam, google-apitools -oauthlib==3.1.1 # via requests-oauthlib -opt-einsum==3.3.0 # via tensorflow -orjson==3.6.1 # via apache-beam -packaging==21.3 # via bleach, bokeh, google-api-core, google-cloud-bigquery -pandas==1.1.5 # via itables, tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl -pandocfilters==1.5.0 # via nbconvert -parso==0.8.3 # via jedi -pexpect==4.8.0 # via ipython -pickleshare==0.7.5 # via ipython -pillow==8.4.0 # via bokeh -prometheus-client==0.12.0 # via notebook -prompt-toolkit==3.0.24 # via ipython -proto-plus==1.19.8 # via google-cloud-bigquery, google-cloud-bigquery-storage, google-cloud-recommendations-ai -protobuf==3.19.1 # via apache-beam, google-api-core, google-cloud-bigquery, googleapis-common-protos, proto-plus, tensorboard, tensorflow, tensorflow-data-validation, tensorflow-metadata, tensorflow-model-analysis, tensorflow-serving-api, tfx-bsl -ptyprocess==0.7.0 # via pexpect, terminado -pyarrow==2.0.0 # via apache-beam, tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl -pyasn1-modules==0.2.8 # via google-auth, oauth2client -pyasn1==0.4.8 # via oauth2client, pyasn1-modules, rsa -pycparser==2.21 # via cffi -pydot==1.4.2 # via apache-beam -pygments==2.10.0 # via ipython, nbconvert -pymongo==3.12.3 # via apache-beam -pyparsing==2.4.7 # via httplib2, packaging, pydot -pyrsistent==0.18.0 # via jsonschema -python-dateutil==2.8.2 # via apache-beam, bokeh, jupyter-client, pandas -pytz==2021.3 # via apache-beam, google-api-core, pandas -pyyaml==6.0 # via bokeh, libcst -pyzmq==22.3.0 # via jupyter-client, notebook -requests-oauthlib==1.3.0 # via google-auth-oauthlib -requests==2.26.0 # via apache-beam, gcsfs, google-api-core, google-cloud-bigquery, hdfs, requests-oauthlib, tensorboard -rsa==4.8 # via google-auth, oauth2client -scikit_learn==0.21.2 # via -r - -scipy==1.5.4 # via scikit-learn, tensorflow-model-analysis -send2trash==1.8.0 # via notebook -six==1.15.0 # via absl-py, astunparse, bleach, bokeh, fasteners, google-api-core, google-api-python-client, google-apitools, google-auth, google-auth-httplib2, google-cloud-core, google-pasta, google-resumable-media, grpcio, hdfs, jsonschema, keras-preprocessing, oauth2client, python-dateutil, tensorflow, tensorflow-data-validation, tensorflow-model-analysis, traitlets -tensorboard-data-server==0.6.1 # via tensorboard -tensorboard-plugin-wit==1.8.0 # via tensorboard -tensorboard==2.7.0 # via tensorflow -tensorflow-data-validation==1.2.0 # via -r - -tensorflow-estimator==2.5.0 # via tensorflow -tensorflow-metadata==1.2.0 # via -r -, tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl -tensorflow-model-analysis==0.33.0 # via -r - -tensorflow-serving-api==2.5.1 # via -r -, tfx-bsl -tensorflow==2.5.1 # via -r -, tensorflow-data-validation, tensorflow-model-analysis, tensorflow-serving-api, tfx-bsl -termcolor==1.1.0 # via tensorflow -terminado==0.12.1 # via notebook -testpath==0.5.0 # via nbconvert -tfx-bsl==1.2.0 # via tensorflow-data-validation, tensorflow-model-analysis -tornado==6.1 # via -r -, bokeh, ipykernel, jupyter-client, notebook, terminado -traitlets==4.3.3 # via ipykernel, ipython, ipywidgets, jupyter-client, jupyter-core, nbconvert, nbformat, notebook -typing-extensions==3.7.4.3 # via apache-beam, argon2-cffi, importlib-metadata, libcst, tensorflow, typing-inspect -typing-inspect==0.7.1 # via libcst -uritemplate==3.0.1 # via google-api-python-client -urllib3==1.26.7 # via requests -wcwidth==0.2.5 # via prompt-toolkit -webencodings==0.5.1 # via bleach -werkzeug==2.0.2 # via tensorboard -wheel==0.37.1 # via astunparse, tensorboard, tensorflow -widgetsnbextension==3.5.2 # via ipywidgets -wrapt==1.12.1 # via tensorflow -zipp==3.6.0 # via importlib-metadata - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/backend/src/apiserver/visualization/update_requirements.sh b/backend/src/apiserver/visualization/update_requirements.sh index 5dfbd8f12f8..207e8f02b2f 100755 --- a/backend/src/apiserver/visualization/update_requirements.sh +++ b/backend/src/apiserver/visualization/update_requirements.sh @@ -1,9 +1,15 @@ #!/bin/bash +set -euo pipefail # This image should be in sync with Dockerfile.visualization. IMAGE="tensorflow/tensorflow:2.5.1" + # tensorflow/tfx default entrypoint is Apache BEAM, because Apache BEAM doesn't # support custom entrypoint for now. We need to override with --entrypoint "" # for other `docker run` usecase. # https://github.com/tensorflow/tfx/blob/master/tfx/tools/docker/Dockerfile#L71 -../../../update_requirements.sh $IMAGE requirements.txt +docker run -i --rm --entrypoint "" "$IMAGE" sh -c ' + python3 -m pip install pip setuptools --upgrade --quiet + python3 -m pip install pip-tools==5.4.0 --quiet + pip-compile --verbose --output-file - - +' requirements.txt \ No newline at end of file diff --git a/backend/src/v2/test/requirements.txt b/backend/src/v2/test/requirements.txt index 7c9f5ac2b62..6eece4be3a9 100644 --- a/backend/src/v2/test/requirements.txt +++ b/backend/src/v2/test/requirements.txt @@ -2,7 +2,7 @@ -e ../../../../sdk/python # TODO(chensun): remove the deprecated dependencies once migrated tests. -r ../../../../sdk/python/requirements-deprecated.txt -ml-metadata==1.5.0 +ml-metadata==1.14.0 minio==7.0.4 google-cloud-storage fire diff --git a/frontend/README.md b/frontend/README.md index 6880f3e72eb..7a3766f01df 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -176,8 +176,22 @@ If a file in [pipelines/third_party/ml-metadata/ml_metadata/proto](third_party/m * Add `protoc` ([download](https://github.com/protocolbuffers/protobuf/releases)) to your system PATH + + ```bash + # Example: + apt install -y protobuf-compiler=3.15.8 + ``` + * Add `protoc-gen-grpc-web` ([download](https://github.com/grpc/grpc-web/releases)) to your system PATH + + ```bash + # Example: + curl -LO https://github.com/grpc/grpc-web/releases/download/1.4.2/protoc-gen-grpc-web-1.4.2-linux-x86_64 + mv protoc-gen-grpc-web-1.4.2-linux-x86_64 /usr/local/bin/protoc-gen-grpc-web + chmod +x /usr/local/bin/protoc-gen-grpc-web + ``` + * Replace `metadata_store.proto` and `metadata_store_service.proto` proto files with target mlmd version by running ```bash diff --git a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_pb.d.ts b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_pb.d.ts index f109b9df43d..e4ec7698382 100644 --- a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_pb.d.ts +++ b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_pb.d.ts @@ -1,5 +1,6 @@ import * as jspb from 'google-protobuf' +import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb'; import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb'; import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb'; @@ -37,6 +38,14 @@ export class Value extends jspb.Message { hasStructValue(): boolean; clearStructValue(): Value; + getProtoValue(): google_protobuf_any_pb.Any | undefined; + setProtoValue(value?: google_protobuf_any_pb.Any): Value; + hasProtoValue(): boolean; + clearProtoValue(): Value; + + getBoolValue(): boolean; + setBoolValue(value: boolean): Value; + getValueCase(): Value.ValueCase; serializeBinary(): Uint8Array; @@ -53,6 +62,8 @@ export namespace Value { doubleValue: number, stringValue: string, structValue?: google_protobuf_struct_pb.Struct.AsObject, + protoValue?: google_protobuf_any_pb.Any.AsObject, + boolValue: boolean, } export enum ValueCase { @@ -61,6 +72,8 @@ export namespace Value { DOUBLE_VALUE = 2, STRING_VALUE = 3, STRUCT_VALUE = 4, + PROTO_VALUE = 5, + BOOL_VALUE = 6, } } @@ -80,6 +93,9 @@ export class Artifact extends jspb.Message { getUri(): string; setUri(value: string): Artifact; + getExternalId(): string; + setExternalId(value: string): Artifact; + getPropertiesMap(): jspb.Map; clearPropertiesMap(): Artifact; @@ -95,6 +111,11 @@ export class Artifact extends jspb.Message { getLastUpdateTimeSinceEpoch(): number; setLastUpdateTimeSinceEpoch(value: number): Artifact; + getSystemMetadata(): google_protobuf_any_pb.Any | undefined; + setSystemMetadata(value?: google_protobuf_any_pb.Any): Artifact; + hasSystemMetadata(): boolean; + clearSystemMetadata(): Artifact; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Artifact.AsObject; static toObject(includeInstance: boolean, msg: Artifact): Artifact.AsObject; @@ -110,11 +131,13 @@ export namespace Artifact { typeId: number, type: string, uri: string, + externalId: string, propertiesMap: Array<[string, Value.AsObject]>, customPropertiesMap: Array<[string, Value.AsObject]>, state: Artifact.State, createTimeSinceEpoch: number, lastUpdateTimeSinceEpoch: number, + systemMetadata?: google_protobuf_any_pb.Any.AsObject, } export enum State { @@ -123,6 +146,8 @@ export namespace Artifact { LIVE = 2, MARKED_FOR_DELETION = 3, DELETED = 4, + ABANDONED = 5, + REFERENCE = 6, } } @@ -139,6 +164,9 @@ export class ArtifactType extends jspb.Message { getDescription(): string; setDescription(value: string): ArtifactType; + getExternalId(): string; + setExternalId(value: string): ArtifactType; + getPropertiesMap(): jspb.Map; clearPropertiesMap(): ArtifactType; @@ -159,6 +187,7 @@ export namespace ArtifactType { name: string, version: string, description: string, + externalId: string, propertiesMap: Array<[string, PropertyType]>, baseType: ArtifactType.SystemDefinedBaseType, } @@ -190,6 +219,11 @@ export class Event extends jspb.Message { getMillisecondsSinceEpoch(): number; setMillisecondsSinceEpoch(value: number): Event; + getSystemMetadata(): google_protobuf_any_pb.Any | undefined; + setSystemMetadata(value?: google_protobuf_any_pb.Any): Event; + hasSystemMetadata(): boolean; + clearSystemMetadata(): Event; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Event.AsObject; static toObject(includeInstance: boolean, msg: Event): Event.AsObject; @@ -205,6 +239,7 @@ export namespace Event { path?: Event.Path.AsObject, type: Event.Type, millisecondsSinceEpoch: number, + systemMetadata?: google_protobuf_any_pb.Any.AsObject, } export class Path extends jspb.Message { @@ -267,6 +302,7 @@ export namespace Event { OUTPUT = 4, INTERNAL_INPUT = 5, INTERNAL_OUTPUT = 6, + PENDING_OUTPUT = 7, } } @@ -283,6 +319,9 @@ export class Execution extends jspb.Message { getType(): string; setType(value: string): Execution; + getExternalId(): string; + setExternalId(value: string): Execution; + getLastKnownState(): Execution.State; setLastKnownState(value: Execution.State): Execution; @@ -298,6 +337,11 @@ export class Execution extends jspb.Message { getLastUpdateTimeSinceEpoch(): number; setLastUpdateTimeSinceEpoch(value: number): Execution; + getSystemMetadata(): google_protobuf_any_pb.Any | undefined; + setSystemMetadata(value?: google_protobuf_any_pb.Any): Execution; + hasSystemMetadata(): boolean; + clearSystemMetadata(): Execution; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Execution.AsObject; static toObject(includeInstance: boolean, msg: Execution): Execution.AsObject; @@ -312,11 +356,13 @@ export namespace Execution { name: string, typeId: number, type: string, + externalId: string, lastKnownState: Execution.State, propertiesMap: Array<[string, Value.AsObject]>, customPropertiesMap: Array<[string, Value.AsObject]>, createTimeSinceEpoch: number, lastUpdateTimeSinceEpoch: number, + systemMetadata?: google_protobuf_any_pb.Any.AsObject, } export enum State { @@ -343,6 +389,9 @@ export class ExecutionType extends jspb.Message { getDescription(): string; setDescription(value: string): ExecutionType; + getExternalId(): string; + setExternalId(value: string): ExecutionType; + getPropertiesMap(): jspb.Map; clearPropertiesMap(): ExecutionType; @@ -373,6 +422,7 @@ export namespace ExecutionType { name: string, version: string, description: string, + externalId: string, propertiesMap: Array<[string, PropertyType]>, inputType?: ArtifactStructType.AsObject, outputType?: ArtifactStructType.AsObject, @@ -402,6 +452,9 @@ export class ContextType extends jspb.Message { getDescription(): string; setDescription(value: string): ContextType; + getExternalId(): string; + setExternalId(value: string): ContextType; + getPropertiesMap(): jspb.Map; clearPropertiesMap(): ContextType; @@ -422,6 +475,7 @@ export namespace ContextType { name: string, version: string, description: string, + externalId: string, propertiesMap: Array<[string, PropertyType]>, baseType: ContextType.SystemDefinedBaseType, } @@ -444,6 +498,9 @@ export class Context extends jspb.Message { getType(): string; setType(value: string): Context; + getExternalId(): string; + setExternalId(value: string): Context; + getPropertiesMap(): jspb.Map; clearPropertiesMap(): Context; @@ -456,6 +513,11 @@ export class Context extends jspb.Message { getLastUpdateTimeSinceEpoch(): number; setLastUpdateTimeSinceEpoch(value: number): Context; + getSystemMetadata(): google_protobuf_any_pb.Any | undefined; + setSystemMetadata(value?: google_protobuf_any_pb.Any): Context; + hasSystemMetadata(): boolean; + clearSystemMetadata(): Context; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Context.AsObject; static toObject(includeInstance: boolean, msg: Context): Context.AsObject; @@ -470,10 +532,12 @@ export namespace Context { name: string, typeId: number, type: string, + externalId: string, propertiesMap: Array<[string, Value.AsObject]>, customPropertiesMap: Array<[string, Value.AsObject]>, createTimeSinceEpoch: number, lastUpdateTimeSinceEpoch: number, + systemMetadata?: google_protobuf_any_pb.Any.AsObject, } } @@ -953,6 +1017,93 @@ export namespace SqliteMetadataSourceConfig { } } +export class PostgreSQLDatabaseConfig extends jspb.Message { + getHost(): string; + setHost(value: string): PostgreSQLDatabaseConfig; + + getHostaddr(): string; + setHostaddr(value: string): PostgreSQLDatabaseConfig; + + getPort(): string; + setPort(value: string): PostgreSQLDatabaseConfig; + + getUser(): string; + setUser(value: string): PostgreSQLDatabaseConfig; + + getPassword(): string; + setPassword(value: string): PostgreSQLDatabaseConfig; + + getPassfile(): string; + setPassfile(value: string): PostgreSQLDatabaseConfig; + + getDbname(): string; + setDbname(value: string): PostgreSQLDatabaseConfig; + + getSkipDbCreation(): boolean; + setSkipDbCreation(value: boolean): PostgreSQLDatabaseConfig; + + getSsloption(): PostgreSQLDatabaseConfig.SSLOptions | undefined; + setSsloption(value?: PostgreSQLDatabaseConfig.SSLOptions): PostgreSQLDatabaseConfig; + hasSsloption(): boolean; + clearSsloption(): PostgreSQLDatabaseConfig; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PostgreSQLDatabaseConfig.AsObject; + static toObject(includeInstance: boolean, msg: PostgreSQLDatabaseConfig): PostgreSQLDatabaseConfig.AsObject; + static serializeBinaryToWriter(message: PostgreSQLDatabaseConfig, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PostgreSQLDatabaseConfig; + static deserializeBinaryFromReader(message: PostgreSQLDatabaseConfig, reader: jspb.BinaryReader): PostgreSQLDatabaseConfig; +} + +export namespace PostgreSQLDatabaseConfig { + export type AsObject = { + host: string, + hostaddr: string, + port: string, + user: string, + password: string, + passfile: string, + dbname: string, + skipDbCreation: boolean, + ssloption?: PostgreSQLDatabaseConfig.SSLOptions.AsObject, + } + + export class SSLOptions extends jspb.Message { + getSslmode(): string; + setSslmode(value: string): SSLOptions; + + getSslcert(): string; + setSslcert(value: string): SSLOptions; + + getSslkey(): string; + setSslkey(value: string): SSLOptions; + + getSslpassword(): string; + setSslpassword(value: string): SSLOptions; + + getSslrootcert(): string; + setSslrootcert(value: string): SSLOptions; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SSLOptions.AsObject; + static toObject(includeInstance: boolean, msg: SSLOptions): SSLOptions.AsObject; + static serializeBinaryToWriter(message: SSLOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SSLOptions; + static deserializeBinaryFromReader(message: SSLOptions, reader: jspb.BinaryReader): SSLOptions; + } + + export namespace SSLOptions { + export type AsObject = { + sslmode: string, + sslcert: string, + sslkey: string, + sslpassword: string, + sslrootcert: string, + } + } + +} + export class MigrationOptions extends jspb.Message { getEnableUpgradeMigration(): boolean; setEnableUpgradeMigration(value: boolean): MigrationOptions; @@ -1009,6 +1160,11 @@ export class ConnectionConfig extends jspb.Message { hasSqlite(): boolean; clearSqlite(): ConnectionConfig; + getPostgresql(): PostgreSQLDatabaseConfig | undefined; + setPostgresql(value?: PostgreSQLDatabaseConfig): ConnectionConfig; + hasPostgresql(): boolean; + clearPostgresql(): ConnectionConfig; + getRetryOptions(): RetryOptions | undefined; setRetryOptions(value?: RetryOptions): ConnectionConfig; hasRetryOptions(): boolean; @@ -1029,6 +1185,7 @@ export namespace ConnectionConfig { fakeDatabase?: FakeDatabaseConfig.AsObject, mysql?: MySQLDatabaseConfig.AsObject, sqlite?: SqliteMetadataSourceConfig.AsObject, + postgresql?: PostgreSQLDatabaseConfig.AsObject, retryOptions?: RetryOptions.AsObject, } @@ -1037,6 +1194,7 @@ export namespace ConnectionConfig { FAKE_DATABASE = 1, MYSQL = 2, SQLITE = 3, + POSTGRESQL = 5, } } @@ -1287,6 +1445,9 @@ export namespace ListOperationNextPageToken { } export class TransactionOptions extends jspb.Message { + getTag(): string; + setTag(value: string): TransactionOptions; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): TransactionOptions.AsObject; static toObject(includeInstance: boolean, msg: TransactionOptions): TransactionOptions.AsObject; @@ -1297,6 +1458,7 @@ export class TransactionOptions extends jspb.Message { export namespace TransactionOptions { export type AsObject = { + tag: string, } } @@ -1311,6 +1473,9 @@ export class LineageGraphQueryOptions extends jspb.Message { hasStopConditions(): boolean; clearStopConditions(): LineageGraphQueryOptions; + getMaxNodeSize(): number; + setMaxNodeSize(value: number): LineageGraphQueryOptions; + getQueryNodesCase(): LineageGraphQueryOptions.QueryNodesCase; serializeBinary(): Uint8Array; @@ -1325,6 +1490,7 @@ export namespace LineageGraphQueryOptions { export type AsObject = { artifactsOptions?: ListOperationOptions.AsObject, stopConditions?: LineageGraphQueryOptions.BoundaryConstraint.AsObject, + maxNodeSize: number, } export class BoundaryConstraint extends jspb.Message { @@ -1360,10 +1526,80 @@ export namespace LineageGraphQueryOptions { } } +export class LineageSubgraphQueryOptions extends jspb.Message { + getStartingArtifacts(): LineageSubgraphQueryOptions.StartingNodes | undefined; + setStartingArtifacts(value?: LineageSubgraphQueryOptions.StartingNodes): LineageSubgraphQueryOptions; + hasStartingArtifacts(): boolean; + clearStartingArtifacts(): LineageSubgraphQueryOptions; + + getStartingExecutions(): LineageSubgraphQueryOptions.StartingNodes | undefined; + setStartingExecutions(value?: LineageSubgraphQueryOptions.StartingNodes): LineageSubgraphQueryOptions; + hasStartingExecutions(): boolean; + clearStartingExecutions(): LineageSubgraphQueryOptions; + + getMaxNumHops(): number; + setMaxNumHops(value: number): LineageSubgraphQueryOptions; + + getDirection(): LineageSubgraphQueryOptions.Direction; + setDirection(value: LineageSubgraphQueryOptions.Direction): LineageSubgraphQueryOptions; + + getStartingNodesCase(): LineageSubgraphQueryOptions.StartingNodesCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): LineageSubgraphQueryOptions.AsObject; + static toObject(includeInstance: boolean, msg: LineageSubgraphQueryOptions): LineageSubgraphQueryOptions.AsObject; + static serializeBinaryToWriter(message: LineageSubgraphQueryOptions, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): LineageSubgraphQueryOptions; + static deserializeBinaryFromReader(message: LineageSubgraphQueryOptions, reader: jspb.BinaryReader): LineageSubgraphQueryOptions; +} + +export namespace LineageSubgraphQueryOptions { + export type AsObject = { + startingArtifacts?: LineageSubgraphQueryOptions.StartingNodes.AsObject, + startingExecutions?: LineageSubgraphQueryOptions.StartingNodes.AsObject, + maxNumHops: number, + direction: LineageSubgraphQueryOptions.Direction, + } + + export class StartingNodes extends jspb.Message { + getFilterQuery(): string; + setFilterQuery(value: string): StartingNodes; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StartingNodes.AsObject; + static toObject(includeInstance: boolean, msg: StartingNodes): StartingNodes.AsObject; + static serializeBinaryToWriter(message: StartingNodes, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StartingNodes; + static deserializeBinaryFromReader(message: StartingNodes, reader: jspb.BinaryReader): StartingNodes; + } + + export namespace StartingNodes { + export type AsObject = { + filterQuery: string, + } + } + + + export enum Direction { + DIRECTION_UNSPECIFIED = 0, + UPSTREAM = 1, + DOWNSTREAM = 2, + BIDIRECTIONAL = 3, + } + + export enum StartingNodesCase { + STARTING_NODES_NOT_SET = 0, + STARTING_ARTIFACTS = 1, + STARTING_EXECUTIONS = 2, + } +} + export enum PropertyType { UNKNOWN = 0, INT = 1, DOUBLE = 2, STRING = 3, STRUCT = 4, + PROTO = 5, + BOOLEAN = 6, } diff --git a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_pb.js b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_pb.js index 996c817cd16..c3801981dc1 100644 --- a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_pb.js +++ b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_pb.js @@ -15,6 +15,8 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); +var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); +goog.object.extend(proto, google_protobuf_any_pb); var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); goog.object.extend(proto, google_protobuf_struct_pb); var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js'); @@ -50,6 +52,10 @@ goog.exportSymbol('proto.ml_metadata.LineageGraph', null, global); goog.exportSymbol('proto.ml_metadata.LineageGraphQueryOptions', null, global); goog.exportSymbol('proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint', null, global); goog.exportSymbol('proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase', null, global); +goog.exportSymbol('proto.ml_metadata.LineageSubgraphQueryOptions', null, global); +goog.exportSymbol('proto.ml_metadata.LineageSubgraphQueryOptions.Direction', null, global); +goog.exportSymbol('proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes', null, global); +goog.exportSymbol('proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodesCase', null, global); goog.exportSymbol('proto.ml_metadata.ListArtifactStructType', null, global); goog.exportSymbol('proto.ml_metadata.ListOperationNextPageToken', null, global); goog.exportSymbol('proto.ml_metadata.ListOperationOptions', null, global); @@ -64,6 +70,8 @@ goog.exportSymbol('proto.ml_metadata.MySQLDatabaseConfig', null, global); goog.exportSymbol('proto.ml_metadata.MySQLDatabaseConfig.SSLOptions', null, global); goog.exportSymbol('proto.ml_metadata.NoneArtifactStructType', null, global); goog.exportSymbol('proto.ml_metadata.ParentContext', null, global); +goog.exportSymbol('proto.ml_metadata.PostgreSQLDatabaseConfig', null, global); +goog.exportSymbol('proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions', null, global); goog.exportSymbol('proto.ml_metadata.PropertyType', null, global); goog.exportSymbol('proto.ml_metadata.RetryOptions', null, global); goog.exportSymbol('proto.ml_metadata.SqliteMetadataSourceConfig', null, global); @@ -642,6 +650,48 @@ if (goog.DEBUG && !COMPILED) { */ proto.ml_metadata.SqliteMetadataSourceConfig.displayName = 'proto.ml_metadata.SqliteMetadataSourceConfig'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.PostgreSQLDatabaseConfig = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.PostgreSQLDatabaseConfig, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.PostgreSQLDatabaseConfig.displayName = 'proto.ml_metadata.PostgreSQLDatabaseConfig'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.displayName = 'proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -884,7 +934,7 @@ if (goog.DEBUG && !COMPILED) { * @constructor */ proto.ml_metadata.TransactionOptions = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, 1, null, null); + jspb.Message.initialize(this, opt_data, 0, 2, null, null); }; goog.inherits(proto.ml_metadata.TransactionOptions, jspb.Message); if (goog.DEBUG && !COMPILED) { @@ -966,6 +1016,48 @@ if (goog.DEBUG && !COMPILED) { */ proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.displayName = 'proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.LineageSubgraphQueryOptions = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ml_metadata.LineageSubgraphQueryOptions.oneofGroups_); +}; +goog.inherits(proto.ml_metadata.LineageSubgraphQueryOptions, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.LineageSubgraphQueryOptions.displayName = 'proto.ml_metadata.LineageSubgraphQueryOptions'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.displayName = 'proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes'; +} @@ -1123,7 +1215,7 @@ proto.ml_metadata.SystemTypeExtension.prototype.hasTypeName = function() { * @private {!Array>} * @const */ -proto.ml_metadata.Value.oneofGroups_ = [[1,2,3,4]]; +proto.ml_metadata.Value.oneofGroups_ = [[1,2,3,4,5,6]]; /** * @enum {number} @@ -1133,7 +1225,9 @@ proto.ml_metadata.Value.ValueCase = { INT_VALUE: 1, DOUBLE_VALUE: 2, STRING_VALUE: 3, - STRUCT_VALUE: 4 + STRUCT_VALUE: 4, + PROTO_VALUE: 5, + BOOL_VALUE: 6 }; /** @@ -1177,7 +1271,9 @@ proto.ml_metadata.Value.toObject = function(includeInstance, msg) { intValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, stringValue: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, - structValue: (f = msg.getStructValue()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f) + structValue: (f = msg.getStructValue()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), + protoValue: (f = msg.getProtoValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), + boolValue: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -1231,6 +1327,15 @@ proto.ml_metadata.Value.deserializeBinaryFromReader = function(msg, reader) { reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader); msg.setStructValue(value); break; + case 5: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setProtoValue(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setBoolValue(value); + break; default: reader.skipField(); break; @@ -1289,6 +1394,21 @@ proto.ml_metadata.Value.serializeBinaryToWriter = function(message, writer) { google_protobuf_struct_pb.Struct.serializeBinaryToWriter ); } + f = message.getProtoValue(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeBool( + 6, + f + ); + } }; @@ -1437,6 +1557,79 @@ proto.ml_metadata.Value.prototype.hasStructValue = function() { }; +/** + * optional google.protobuf.Any proto_value = 5; + * @return {?proto.google.protobuf.Any} + */ +proto.ml_metadata.Value.prototype.getProtoValue = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 5)); +}; + + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.ml_metadata.Value} returns this +*/ +proto.ml_metadata.Value.prototype.setProtoValue = function(value) { + return jspb.Message.setOneofWrapperField(this, 5, proto.ml_metadata.Value.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.Value} returns this + */ +proto.ml_metadata.Value.prototype.clearProtoValue = function() { + return this.setProtoValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.Value.prototype.hasProtoValue = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool bool_value = 6; + * @return {boolean} + */ +proto.ml_metadata.Value.prototype.getBoolValue = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.Value} returns this + */ +proto.ml_metadata.Value.prototype.setBoolValue = function(value) { + return jspb.Message.setOneofField(this, 6, proto.ml_metadata.Value.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.Value} returns this + */ +proto.ml_metadata.Value.prototype.clearBoolValue = function() { + return jspb.Message.setOneofField(this, 6, proto.ml_metadata.Value.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.Value.prototype.hasBoolValue = function() { + return jspb.Message.getField(this, 6) != null; +}; + + @@ -1474,11 +1667,13 @@ proto.ml_metadata.Artifact.toObject = function(includeInstance, msg) { typeId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, type: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, uri: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + externalId: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [], customPropertiesMap: (f = msg.getCustomPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [], state: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, createTimeSinceEpoch: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, - lastUpdateTimeSinceEpoch: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f + lastUpdateTimeSinceEpoch: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, + systemMetadata: (f = msg.getSystemMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) }; if (includeInstance) { @@ -1535,6 +1730,10 @@ proto.ml_metadata.Artifact.deserializeBinaryFromReader = function(msg, reader) { var value = /** @type {string} */ (reader.readString()); msg.setUri(value); break; + case 11: + var value = /** @type {string} */ (reader.readString()); + msg.setExternalId(value); + break; case 4: var value = msg.getPropertiesMap(); reader.readMessage(value, function(message, reader) { @@ -1559,6 +1758,11 @@ proto.ml_metadata.Artifact.deserializeBinaryFromReader = function(msg, reader) { var value = /** @type {number} */ (reader.readInt64()); msg.setLastUpdateTimeSinceEpoch(value); break; + case 12: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setSystemMetadata(value); + break; default: reader.skipField(); break; @@ -1623,6 +1827,13 @@ proto.ml_metadata.Artifact.serializeBinaryToWriter = function(message, writer) { f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 11)); + if (f != null) { + writer.writeString( + 11, + f + ); + } f = message.getPropertiesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.Value.serializeBinaryToWriter); @@ -1652,6 +1863,14 @@ proto.ml_metadata.Artifact.serializeBinaryToWriter = function(message, writer) { f ); } + f = message.getSystemMetadata(); + if (f != null) { + writer.writeMessage( + 12, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } }; @@ -1663,7 +1882,9 @@ proto.ml_metadata.Artifact.State = { PENDING: 1, LIVE: 2, MARKED_FOR_DELETION: 3, - DELETED: 4 + DELETED: 4, + ABANDONED: 5, + REFERENCE: 6 }; /** @@ -1846,6 +2067,42 @@ proto.ml_metadata.Artifact.prototype.hasUri = function() { }; +/** + * optional string external_id = 11; + * @return {string} + */ +proto.ml_metadata.Artifact.prototype.getExternalId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.Artifact} returns this + */ +proto.ml_metadata.Artifact.prototype.setExternalId = function(value) { + return jspb.Message.setField(this, 11, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.Artifact} returns this + */ +proto.ml_metadata.Artifact.prototype.clearExternalId = function() { + return jspb.Message.setField(this, 11, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.Artifact.prototype.hasExternalId = function() { + return jspb.Message.getField(this, 11) != null; +}; + + /** * map properties = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if @@ -1998,6 +2255,43 @@ proto.ml_metadata.Artifact.prototype.hasLastUpdateTimeSinceEpoch = function() { }; +/** + * optional google.protobuf.Any system_metadata = 12; + * @return {?proto.google.protobuf.Any} + */ +proto.ml_metadata.Artifact.prototype.getSystemMetadata = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 12)); +}; + + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.ml_metadata.Artifact} returns this +*/ +proto.ml_metadata.Artifact.prototype.setSystemMetadata = function(value) { + return jspb.Message.setWrapperField(this, 12, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.Artifact} returns this + */ +proto.ml_metadata.Artifact.prototype.clearSystemMetadata = function() { + return this.setSystemMetadata(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.Artifact.prototype.hasSystemMetadata = function() { + return jspb.Message.getField(this, 12) != null; +}; + + @@ -2034,6 +2328,7 @@ proto.ml_metadata.ArtifactType.toObject = function(includeInstance, msg) { name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, version: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, description: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, + externalId: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : [], baseType: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; @@ -2088,6 +2383,10 @@ proto.ml_metadata.ArtifactType.deserializeBinaryFromReader = function(msg, reade var value = /** @type {string} */ (reader.readString()); msg.setDescription(value); break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setExternalId(value); + break; case 3: var value = msg.getPropertiesMap(); reader.readMessage(value, function(message, reader) { @@ -2155,6 +2454,13 @@ proto.ml_metadata.ArtifactType.serializeBinaryToWriter = function(message, write f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString( + 7, + f + ); + } f = message.getPropertiesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeEnum); @@ -2324,6 +2630,42 @@ proto.ml_metadata.ArtifactType.prototype.hasDescription = function() { }; +/** + * optional string external_id = 7; + * @return {string} + */ +proto.ml_metadata.ArtifactType.prototype.getExternalId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.ArtifactType} returns this + */ +proto.ml_metadata.ArtifactType.prototype.setExternalId = function(value) { + return jspb.Message.setField(this, 7, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.ArtifactType} returns this + */ +proto.ml_metadata.ArtifactType.prototype.clearExternalId = function() { + return jspb.Message.setField(this, 7, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ArtifactType.prototype.hasExternalId = function() { + return jspb.Message.getField(this, 7) != null; +}; + + /** * map properties = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if @@ -2418,7 +2760,8 @@ proto.ml_metadata.Event.toObject = function(includeInstance, msg) { executionId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, path: (f = msg.getPath()) && proto.ml_metadata.Event.Path.toObject(includeInstance, f), type: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, - millisecondsSinceEpoch: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f + millisecondsSinceEpoch: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, + systemMetadata: (f = msg.getSystemMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) }; if (includeInstance) { @@ -2476,6 +2819,11 @@ proto.ml_metadata.Event.deserializeBinaryFromReader = function(msg, reader) { var value = /** @type {number} */ (reader.readInt64()); msg.setMillisecondsSinceEpoch(value); break; + case 6: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setSystemMetadata(value); + break; default: reader.skipField(); break; @@ -2541,10 +2889,18 @@ proto.ml_metadata.Event.serializeBinaryToWriter = function(message, writer) { f ); } -}; - - -/** + f = message.getSystemMetadata(); + if (f != null) { + writer.writeMessage( + 6, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } +}; + + +/** * @enum {number} */ proto.ml_metadata.Event.Type = { @@ -2554,7 +2910,8 @@ proto.ml_metadata.Event.Type = { INPUT: 3, OUTPUT: 4, INTERNAL_INPUT: 5, - INTERNAL_OUTPUT: 6 + INTERNAL_OUTPUT: 6, + PENDING_OUTPUT: 7 }; @@ -3120,6 +3477,43 @@ proto.ml_metadata.Event.prototype.hasMillisecondsSinceEpoch = function() { }; +/** + * optional google.protobuf.Any system_metadata = 6; + * @return {?proto.google.protobuf.Any} + */ +proto.ml_metadata.Event.prototype.getSystemMetadata = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 6)); +}; + + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.ml_metadata.Event} returns this +*/ +proto.ml_metadata.Event.prototype.setSystemMetadata = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.Event} returns this + */ +proto.ml_metadata.Event.prototype.clearSystemMetadata = function() { + return this.setSystemMetadata(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.Event.prototype.hasSystemMetadata = function() { + return jspb.Message.getField(this, 6) != null; +}; + + @@ -3156,11 +3550,13 @@ proto.ml_metadata.Execution.toObject = function(includeInstance, msg) { name: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, typeId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, type: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, + externalId: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, lastKnownState: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [], customPropertiesMap: (f = msg.getCustomPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [], createTimeSinceEpoch: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, - lastUpdateTimeSinceEpoch: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f + lastUpdateTimeSinceEpoch: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, + systemMetadata: (f = msg.getSystemMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) }; if (includeInstance) { @@ -3213,6 +3609,10 @@ proto.ml_metadata.Execution.deserializeBinaryFromReader = function(msg, reader) var value = /** @type {string} */ (reader.readString()); msg.setType(value); break; + case 10: + var value = /** @type {string} */ (reader.readString()); + msg.setExternalId(value); + break; case 3: var value = /** @type {!proto.ml_metadata.Execution.State} */ (reader.readEnum()); msg.setLastKnownState(value); @@ -3237,6 +3637,11 @@ proto.ml_metadata.Execution.deserializeBinaryFromReader = function(msg, reader) var value = /** @type {number} */ (reader.readInt64()); msg.setLastUpdateTimeSinceEpoch(value); break; + case 11: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setSystemMetadata(value); + break; default: reader.skipField(); break; @@ -3294,6 +3699,13 @@ proto.ml_metadata.Execution.serializeBinaryToWriter = function(message, writer) f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 10)); + if (f != null) { + writer.writeString( + 10, + f + ); + } f = /** @type {!proto.ml_metadata.Execution.State} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( @@ -3323,6 +3735,14 @@ proto.ml_metadata.Execution.serializeBinaryToWriter = function(message, writer) f ); } + f = message.getSystemMetadata(); + if (f != null) { + writer.writeMessage( + 11, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } }; @@ -3483,6 +3903,42 @@ proto.ml_metadata.Execution.prototype.hasType = function() { }; +/** + * optional string external_id = 10; + * @return {string} + */ +proto.ml_metadata.Execution.prototype.getExternalId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.Execution} returns this + */ +proto.ml_metadata.Execution.prototype.setExternalId = function(value) { + return jspb.Message.setField(this, 10, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.Execution} returns this + */ +proto.ml_metadata.Execution.prototype.clearExternalId = function() { + return jspb.Message.setField(this, 10, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.Execution.prototype.hasExternalId = function() { + return jspb.Message.getField(this, 10) != null; +}; + + /** * optional State last_known_state = 3; * @return {!proto.ml_metadata.Execution.State} @@ -3635,6 +4091,43 @@ proto.ml_metadata.Execution.prototype.hasLastUpdateTimeSinceEpoch = function() { }; +/** + * optional google.protobuf.Any system_metadata = 11; + * @return {?proto.google.protobuf.Any} + */ +proto.ml_metadata.Execution.prototype.getSystemMetadata = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 11)); +}; + + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.ml_metadata.Execution} returns this +*/ +proto.ml_metadata.Execution.prototype.setSystemMetadata = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.Execution} returns this + */ +proto.ml_metadata.Execution.prototype.clearSystemMetadata = function() { + return this.setSystemMetadata(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.Execution.prototype.hasSystemMetadata = function() { + return jspb.Message.getField(this, 11) != null; +}; + + @@ -3671,6 +4164,7 @@ proto.ml_metadata.ExecutionType.toObject = function(includeInstance, msg) { name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, version: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, description: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, + externalId: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : [], inputType: (f = msg.getInputType()) && proto.ml_metadata.ArtifactStructType.toObject(includeInstance, f), outputType: (f = msg.getOutputType()) && proto.ml_metadata.ArtifactStructType.toObject(includeInstance, f), @@ -3727,6 +4221,10 @@ proto.ml_metadata.ExecutionType.deserializeBinaryFromReader = function(msg, read var value = /** @type {string} */ (reader.readString()); msg.setDescription(value); break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExternalId(value); + break; case 3: var value = msg.getPropertiesMap(); reader.readMessage(value, function(message, reader) { @@ -3804,6 +4302,13 @@ proto.ml_metadata.ExecutionType.serializeBinaryToWriter = function(message, writ f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 9)); + if (f != null) { + writer.writeString( + 9, + f + ); + } f = message.getPropertiesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeEnum); @@ -3990,6 +4495,42 @@ proto.ml_metadata.ExecutionType.prototype.hasDescription = function() { }; +/** + * optional string external_id = 9; + * @return {string} + */ +proto.ml_metadata.ExecutionType.prototype.getExternalId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.ExecutionType} returns this + */ +proto.ml_metadata.ExecutionType.prototype.setExternalId = function(value) { + return jspb.Message.setField(this, 9, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.ExecutionType} returns this + */ +proto.ml_metadata.ExecutionType.prototype.clearExternalId = function() { + return jspb.Message.setField(this, 9, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ExecutionType.prototype.hasExternalId = function() { + return jspb.Message.getField(this, 9) != null; +}; + + /** * map properties = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if @@ -4158,6 +4699,7 @@ proto.ml_metadata.ContextType.toObject = function(includeInstance, msg) { name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, version: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, description: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, + externalId: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, undefined) : [], baseType: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; @@ -4212,6 +4754,10 @@ proto.ml_metadata.ContextType.deserializeBinaryFromReader = function(msg, reader var value = /** @type {string} */ (reader.readString()); msg.setDescription(value); break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setExternalId(value); + break; case 3: var value = msg.getPropertiesMap(); reader.readMessage(value, function(message, reader) { @@ -4279,6 +4825,13 @@ proto.ml_metadata.ContextType.serializeBinaryToWriter = function(message, writer f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString( + 7, + f + ); + } f = message.getPropertiesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeEnum); @@ -4444,6 +4997,42 @@ proto.ml_metadata.ContextType.prototype.hasDescription = function() { }; +/** + * optional string external_id = 7; + * @return {string} + */ +proto.ml_metadata.ContextType.prototype.getExternalId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.ContextType} returns this + */ +proto.ml_metadata.ContextType.prototype.setExternalId = function(value) { + return jspb.Message.setField(this, 7, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.ContextType} returns this + */ +proto.ml_metadata.ContextType.prototype.clearExternalId = function() { + return jspb.Message.setField(this, 7, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ContextType.prototype.hasExternalId = function() { + return jspb.Message.getField(this, 7) != null; +}; + + /** * map properties = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if @@ -4538,10 +5127,12 @@ proto.ml_metadata.Context.toObject = function(includeInstance, msg) { name: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, typeId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, type: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, + externalId: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [], customPropertiesMap: (f = msg.getCustomPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.Value.toObject) : [], createTimeSinceEpoch: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, - lastUpdateTimeSinceEpoch: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f + lastUpdateTimeSinceEpoch: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, + systemMetadata: (f = msg.getSystemMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) }; if (includeInstance) { @@ -4594,6 +5185,10 @@ proto.ml_metadata.Context.deserializeBinaryFromReader = function(msg, reader) { var value = /** @type {string} */ (reader.readString()); msg.setType(value); break; + case 9: + var value = /** @type {string} */ (reader.readString()); + msg.setExternalId(value); + break; case 4: var value = msg.getPropertiesMap(); reader.readMessage(value, function(message, reader) { @@ -4614,6 +5209,11 @@ proto.ml_metadata.Context.deserializeBinaryFromReader = function(msg, reader) { var value = /** @type {number} */ (reader.readInt64()); msg.setLastUpdateTimeSinceEpoch(value); break; + case 10: + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setSystemMetadata(value); + break; default: reader.skipField(); break; @@ -4671,6 +5271,13 @@ proto.ml_metadata.Context.serializeBinaryToWriter = function(message, writer) { f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 9)); + if (f != null) { + writer.writeString( + 9, + f + ); + } f = message.getPropertiesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.Value.serializeBinaryToWriter); @@ -4693,6 +5300,14 @@ proto.ml_metadata.Context.serializeBinaryToWriter = function(message, writer) { f ); } + f = message.getSystemMetadata(); + if (f != null) { + writer.writeMessage( + 10, + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter + ); + } }; @@ -4840,6 +5455,42 @@ proto.ml_metadata.Context.prototype.hasType = function() { }; +/** + * optional string external_id = 9; + * @return {string} + */ +proto.ml_metadata.Context.prototype.getExternalId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.Context} returns this + */ +proto.ml_metadata.Context.prototype.setExternalId = function(value) { + return jspb.Message.setField(this, 9, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.Context} returns this + */ +proto.ml_metadata.Context.prototype.clearExternalId = function() { + return jspb.Message.setField(this, 9, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.Context.prototype.hasExternalId = function() { + return jspb.Message.getField(this, 9) != null; +}; + + /** * map properties = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if @@ -4956,24 +5607,61 @@ proto.ml_metadata.Context.prototype.hasLastUpdateTimeSinceEpoch = function() { }; +/** + * optional google.protobuf.Any system_metadata = 10; + * @return {?proto.google.protobuf.Any} + */ +proto.ml_metadata.Context.prototype.getSystemMetadata = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 10)); +}; + +/** + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.ml_metadata.Context} returns this +*/ +proto.ml_metadata.Context.prototype.setSystemMetadata = function(value) { + return jspb.Message.setWrapperField(this, 10, value); +}; -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.Context} returns this */ -proto.ml_metadata.Attribution.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.Attribution.toObject(opt_includeInstance, this); +proto.ml_metadata.Context.prototype.clearSystemMetadata = function() { + return this.setSystemMetadata(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.Context.prototype.hasSystemMetadata = function() { + return jspb.Message.getField(this, 10) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.Attribution.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.Attribution.toObject(opt_includeInstance, this); }; @@ -7915,7 +8603,7 @@ proto.ml_metadata.MySQLDatabaseConfig.deserializeBinaryFromReader = function(msg msg.setHost(value); break; case 2: - var value = /** @type {number} */ (reader.readUint32()); + var value = /** @type {number} */ (reader.readInt64()); msg.setPort(value); break; case 3: @@ -7981,7 +8669,7 @@ proto.ml_metadata.MySQLDatabaseConfig.serializeBinaryToWriter = function(message } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { - writer.writeUint32( + writer.writeInt64( 2, f ); @@ -8457,7 +9145,7 @@ proto.ml_metadata.MySQLDatabaseConfig.prototype.hasHost = function() { /** - * optional uint32 port = 2; + * optional int64 port = 2; * @return {number} */ proto.ml_metadata.MySQLDatabaseConfig.prototype.getPort = function() { @@ -8931,8 +9619,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.MigrationOptions.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.MigrationOptions.toObject(opt_includeInstance, this); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PostgreSQLDatabaseConfig.toObject(opt_includeInstance, this); }; @@ -8941,14 +9629,21 @@ proto.ml_metadata.MigrationOptions.prototype.toObject = function(opt_includeInst * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.MigrationOptions} msg The msg instance to transform. + * @param {!proto.ml_metadata.PostgreSQLDatabaseConfig} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.MigrationOptions.toObject = function(includeInstance, msg) { +proto.ml_metadata.PostgreSQLDatabaseConfig.toObject = function(includeInstance, msg) { var f, obj = { - enableUpgradeMigration: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, - downgradeToSchemaVersion: jspb.Message.getFieldWithDefault(msg, 2, -1) + host: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + hostaddr: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + port: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + user: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, + password: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, + passfile: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, + dbname: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, + skipDbCreation: (f = jspb.Message.getBooleanField(msg, 8)) == null ? undefined : f, + ssloption: (f = msg.getSsloption()) && proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -8962,36 +9657,65 @@ proto.ml_metadata.MigrationOptions.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.MigrationOptions} + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} */ -proto.ml_metadata.MigrationOptions.deserializeBinary = function(bytes) { +proto.ml_metadata.PostgreSQLDatabaseConfig.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.MigrationOptions; - return proto.ml_metadata.MigrationOptions.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.PostgreSQLDatabaseConfig; + return proto.ml_metadata.PostgreSQLDatabaseConfig.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.MigrationOptions} msg The message object to deserialize into. + * @param {!proto.ml_metadata.PostgreSQLDatabaseConfig} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.MigrationOptions} + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} */ -proto.ml_metadata.MigrationOptions.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.PostgreSQLDatabaseConfig.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setHostaddr(value); + break; case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setPort(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setUser(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setPassword(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setPassfile(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setDbname(value); + break; + case 8: var value = /** @type {boolean} */ (reader.readBool()); - msg.setEnableUpgradeMigration(value); + msg.setSkipDbCreation(value); break; - case 2: - var value = /** @type {number} */ (reader.readInt64()); - msg.setDowngradeToSchemaVersion(value); + case 9: + var value = new proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions; + reader.readMessage(value,proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.deserializeBinaryFromReader); + msg.setSsloption(value); break; default: reader.skipField(); @@ -9006,9 +9730,9 @@ proto.ml_metadata.MigrationOptions.deserializeBinaryFromReader = function(msg, r * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.MigrationOptions.prototype.serializeBinary = function() { +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.MigrationOptions.serializeBinaryToWriter(this, writer); + proto.ml_metadata.PostgreSQLDatabaseConfig.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9016,98 +9740,76 @@ proto.ml_metadata.MigrationOptions.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.MigrationOptions} message + * @param {!proto.ml_metadata.PostgreSQLDatabaseConfig} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.MigrationOptions.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.PostgreSQLDatabaseConfig.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { - writer.writeBool( - 3, + writer.writeString( + 1, f ); } - f = /** @type {number} */ (jspb.Message.getField(message, 2)); + f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { - writer.writeInt64( + writer.writeString( 2, f ); } -}; - - -/** - * optional bool enable_upgrade_migration = 3; - * @return {boolean} - */ -proto.ml_metadata.MigrationOptions.prototype.getEnableUpgradeMigration = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.ml_metadata.MigrationOptions} returns this - */ -proto.ml_metadata.MigrationOptions.prototype.setEnableUpgradeMigration = function(value) { - return jspb.Message.setField(this, 3, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.MigrationOptions} returns this - */ -proto.ml_metadata.MigrationOptions.prototype.clearEnableUpgradeMigration = function() { - return jspb.Message.setField(this, 3, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.MigrationOptions.prototype.hasEnableUpgradeMigration = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional int64 downgrade_to_schema_version = 2; - * @return {number} - */ -proto.ml_metadata.MigrationOptions.prototype.getDowngradeToSchemaVersion = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, -1)); -}; - - -/** - * @param {number} value - * @return {!proto.ml_metadata.MigrationOptions} returns this - */ -proto.ml_metadata.MigrationOptions.prototype.setDowngradeToSchemaVersion = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.MigrationOptions} returns this - */ -proto.ml_metadata.MigrationOptions.prototype.clearDowngradeToSchemaVersion = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.MigrationOptions.prototype.hasDowngradeToSchemaVersion = function() { - return jspb.Message.getField(this, 2) != null; + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeString( + 6, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeString( + 7, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 8)); + if (f != null) { + writer.writeBool( + 8, + f + ); + } + f = message.getSsloption(); + if (f != null) { + writer.writeMessage( + 9, + f, + proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.serializeBinaryToWriter + ); + } }; @@ -9127,8 +9829,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.RetryOptions.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.RetryOptions.toObject(opt_includeInstance, this); +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.toObject(opt_includeInstance, this); }; @@ -9137,13 +9839,17 @@ proto.ml_metadata.RetryOptions.prototype.toObject = function(opt_includeInstance * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.RetryOptions} msg The msg instance to transform. + * @param {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.RetryOptions.toObject = function(includeInstance, msg) { +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.toObject = function(includeInstance, msg) { var f, obj = { - maxNumRetries: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f + sslmode: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + sslcert: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + sslkey: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + sslpassword: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, + sslrootcert: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -9157,23 +9863,23 @@ proto.ml_metadata.RetryOptions.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.RetryOptions} + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} */ -proto.ml_metadata.RetryOptions.deserializeBinary = function(bytes) { +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.RetryOptions; - return proto.ml_metadata.RetryOptions.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions; + return proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.RetryOptions} msg The message object to deserialize into. + * @param {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.RetryOptions} + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} */ -proto.ml_metadata.RetryOptions.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9181,8 +9887,24 @@ proto.ml_metadata.RetryOptions.deserializeBinaryFromReader = function(msg, reade var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setMaxNumRetries(value); + var value = /** @type {string} */ (reader.readString()); + msg.setSslmode(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSslcert(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setSslkey(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setSslpassword(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setSslrootcert(value); break; default: reader.skipField(); @@ -9197,9 +9919,9 @@ proto.ml_metadata.RetryOptions.deserializeBinaryFromReader = function(msg, reade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.RetryOptions.prototype.serializeBinary = function() { +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.RetryOptions.serializeBinaryToWriter(this, writer); + proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9207,45 +9929,73 @@ proto.ml_metadata.RetryOptions.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.RetryOptions} message + * @param {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.RetryOptions.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); + f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { - writer.writeInt64( + writer.writeString( 1, f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeString( + 5, + f + ); + } }; /** - * optional int64 max_num_retries = 1; - * @return {number} - */ -proto.ml_metadata.RetryOptions.prototype.getMaxNumRetries = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.ml_metadata.RetryOptions} returns this + * optional string sslmode = 1; + * @return {string} */ -proto.ml_metadata.RetryOptions.prototype.setMaxNumRetries = function(value) { +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.getSslmode = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.setSslmode = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.RetryOptions} returns this + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this */ -proto.ml_metadata.RetryOptions.prototype.clearMaxNumRetries = function() { +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.clearSslmode = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -9254,219 +10004,107 @@ proto.ml_metadata.RetryOptions.prototype.clearMaxNumRetries = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.RetryOptions.prototype.hasMaxNumRetries = function() { +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.hasSslmode = function() { return jspb.Message.getField(this, 1) != null; }; - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.ml_metadata.ConnectionConfig.oneofGroups_ = [[1,2,3]]; - /** - * @enum {number} + * optional string sslcert = 2; + * @return {string} */ -proto.ml_metadata.ConnectionConfig.ConfigCase = { - CONFIG_NOT_SET: 0, - FAKE_DATABASE: 1, - MYSQL: 2, - SQLITE: 3 +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.getSslcert = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; + /** - * @return {proto.ml_metadata.ConnectionConfig.ConfigCase} + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this */ -proto.ml_metadata.ConnectionConfig.prototype.getConfigCase = function() { - return /** @type {proto.ml_metadata.ConnectionConfig.ConfigCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.ConnectionConfig.oneofGroups_[0])); +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.setSslcert = function(value) { + return jspb.Message.setField(this, 2, value); }; - -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this */ -proto.ml_metadata.ConnectionConfig.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.ConnectionConfig.toObject(opt_includeInstance, this); +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.clearSslcert = function() { + return jspb.Message.setField(this, 2, undefined); }; /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.ConnectionConfig} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.ConnectionConfig.toObject = function(includeInstance, msg) { - var f, obj = { - fakeDatabase: (f = msg.getFakeDatabase()) && proto.ml_metadata.FakeDatabaseConfig.toObject(includeInstance, f), - mysql: (f = msg.getMysql()) && proto.ml_metadata.MySQLDatabaseConfig.toObject(includeInstance, f), - sqlite: (f = msg.getSqlite()) && proto.ml_metadata.SqliteMetadataSourceConfig.toObject(includeInstance, f), - retryOptions: (f = msg.getRetryOptions()) && proto.ml_metadata.RetryOptions.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.hasSslcert = function() { + return jspb.Message.getField(this, 2) != null; }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.ConnectionConfig} + * optional string sslkey = 3; + * @return {string} */ -proto.ml_metadata.ConnectionConfig.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.ConnectionConfig; - return proto.ml_metadata.ConnectionConfig.deserializeBinaryFromReader(msg, reader); +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.getSslkey = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.ConnectionConfig} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.ConnectionConfig} + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this */ -proto.ml_metadata.ConnectionConfig.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.ml_metadata.FakeDatabaseConfig; - reader.readMessage(value,proto.ml_metadata.FakeDatabaseConfig.deserializeBinaryFromReader); - msg.setFakeDatabase(value); - break; - case 2: - var value = new proto.ml_metadata.MySQLDatabaseConfig; - reader.readMessage(value,proto.ml_metadata.MySQLDatabaseConfig.deserializeBinaryFromReader); - msg.setMysql(value); - break; - case 3: - var value = new proto.ml_metadata.SqliteMetadataSourceConfig; - reader.readMessage(value,proto.ml_metadata.SqliteMetadataSourceConfig.deserializeBinaryFromReader); - msg.setSqlite(value); - break; - case 4: - var value = new proto.ml_metadata.RetryOptions; - reader.readMessage(value,proto.ml_metadata.RetryOptions.deserializeBinaryFromReader); - msg.setRetryOptions(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.setSslkey = function(value) { + return jspb.Message.setField(this, 3, value); }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this */ -proto.ml_metadata.ConnectionConfig.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.ConnectionConfig.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.clearSslkey = function() { + return jspb.Message.setField(this, 3, undefined); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.ConnectionConfig} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.ConnectionConfig.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getFakeDatabase(); - if (f != null) { - writer.writeMessage( - 1, - f, - proto.ml_metadata.FakeDatabaseConfig.serializeBinaryToWriter - ); - } - f = message.getMysql(); - if (f != null) { - writer.writeMessage( - 2, - f, - proto.ml_metadata.MySQLDatabaseConfig.serializeBinaryToWriter - ); - } - f = message.getSqlite(); - if (f != null) { - writer.writeMessage( - 3, - f, - proto.ml_metadata.SqliteMetadataSourceConfig.serializeBinaryToWriter - ); - } - f = message.getRetryOptions(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.ml_metadata.RetryOptions.serializeBinaryToWriter - ); - } +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.hasSslkey = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * optional FakeDatabaseConfig fake_database = 1; - * @return {?proto.ml_metadata.FakeDatabaseConfig} + * optional string sslpassword = 4; + * @return {string} */ -proto.ml_metadata.ConnectionConfig.prototype.getFakeDatabase = function() { - return /** @type{?proto.ml_metadata.FakeDatabaseConfig} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.FakeDatabaseConfig, 1)); +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.getSslpassword = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** - * @param {?proto.ml_metadata.FakeDatabaseConfig|undefined} value - * @return {!proto.ml_metadata.ConnectionConfig} returns this -*/ -proto.ml_metadata.ConnectionConfig.prototype.setFakeDatabase = function(value) { - return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value); + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.setSslpassword = function(value) { + return jspb.Message.setField(this, 4, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ConnectionConfig} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this */ -proto.ml_metadata.ConnectionConfig.prototype.clearFakeDatabase = function() { - return this.setFakeDatabase(undefined); +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.clearSslpassword = function() { + return jspb.Message.setField(this, 4, undefined); }; @@ -9474,36 +10112,35 @@ proto.ml_metadata.ConnectionConfig.prototype.clearFakeDatabase = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ConnectionConfig.prototype.hasFakeDatabase = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.hasSslpassword = function() { + return jspb.Message.getField(this, 4) != null; }; /** - * optional MySQLDatabaseConfig mysql = 2; - * @return {?proto.ml_metadata.MySQLDatabaseConfig} + * optional string sslrootcert = 5; + * @return {string} */ -proto.ml_metadata.ConnectionConfig.prototype.getMysql = function() { - return /** @type{?proto.ml_metadata.MySQLDatabaseConfig} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.MySQLDatabaseConfig, 2)); +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.getSslrootcert = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** - * @param {?proto.ml_metadata.MySQLDatabaseConfig|undefined} value - * @return {!proto.ml_metadata.ConnectionConfig} returns this -*/ -proto.ml_metadata.ConnectionConfig.prototype.setMysql = function(value) { - return jspb.Message.setOneofWrapperField(this, 2, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value); + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.setSslrootcert = function(value) { + return jspb.Message.setField(this, 5, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ConnectionConfig} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} returns this */ -proto.ml_metadata.ConnectionConfig.prototype.clearMysql = function() { - return this.setMysql(undefined); +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.clearSslrootcert = function() { + return jspb.Message.setField(this, 5, undefined); }; @@ -9511,36 +10148,35 @@ proto.ml_metadata.ConnectionConfig.prototype.clearMysql = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ConnectionConfig.prototype.hasMysql = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions.prototype.hasSslrootcert = function() { + return jspb.Message.getField(this, 5) != null; }; /** - * optional SqliteMetadataSourceConfig sqlite = 3; - * @return {?proto.ml_metadata.SqliteMetadataSourceConfig} + * optional string host = 1; + * @return {string} */ -proto.ml_metadata.ConnectionConfig.prototype.getSqlite = function() { - return /** @type{?proto.ml_metadata.SqliteMetadataSourceConfig} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.SqliteMetadataSourceConfig, 3)); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {?proto.ml_metadata.SqliteMetadataSourceConfig|undefined} value - * @return {!proto.ml_metadata.ConnectionConfig} returns this -*/ -proto.ml_metadata.ConnectionConfig.prototype.setSqlite = function(value) { - return jspb.Message.setOneofWrapperField(this, 3, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value); + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setHost = function(value) { + return jspb.Message.setField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ConnectionConfig} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.ConnectionConfig.prototype.clearSqlite = function() { - return this.setSqlite(undefined); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearHost = function() { + return jspb.Message.setField(this, 1, undefined); }; @@ -9548,36 +10184,35 @@ proto.ml_metadata.ConnectionConfig.prototype.clearSqlite = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ConnectionConfig.prototype.hasSqlite = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasHost = function() { + return jspb.Message.getField(this, 1) != null; }; /** - * optional RetryOptions retry_options = 4; - * @return {?proto.ml_metadata.RetryOptions} + * optional string hostaddr = 2; + * @return {string} */ -proto.ml_metadata.ConnectionConfig.prototype.getRetryOptions = function() { - return /** @type{?proto.ml_metadata.RetryOptions} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.RetryOptions, 4)); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getHostaddr = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {?proto.ml_metadata.RetryOptions|undefined} value - * @return {!proto.ml_metadata.ConnectionConfig} returns this -*/ -proto.ml_metadata.ConnectionConfig.prototype.setRetryOptions = function(value) { - return jspb.Message.setWrapperField(this, 4, value); + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setHostaddr = function(value) { + return jspb.Message.setField(this, 2, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ConnectionConfig} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.ConnectionConfig.prototype.clearRetryOptions = function() { - return this.setRetryOptions(undefined); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearHostaddr = function() { + return jspb.Message.setField(this, 2, undefined); }; @@ -9585,159 +10220,107 @@ proto.ml_metadata.ConnectionConfig.prototype.clearRetryOptions = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ConnectionConfig.prototype.hasRetryOptions = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasHostaddr = function() { + return jspb.Message.getField(this, 2) != null; }; +/** + * optional string port = 3; + * @return {string} + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getPort = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; - -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.GrpcChannelArguments.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GrpcChannelArguments.toObject(opt_includeInstance, this); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setPort = function(value) { + return jspb.Message.setField(this, 3, value); }; /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GrpcChannelArguments} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.GrpcChannelArguments.toObject = function(includeInstance, msg) { - var f, obj = { - maxReceiveMessageLength: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - http2MaxPingStrikes: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f - }; +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearPort = function() { + return jspb.Message.setField(this, 3, undefined); +}; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasPort = function() { + return jspb.Message.getField(this, 3) != null; }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GrpcChannelArguments} + * optional string user = 4; + * @return {string} */ -proto.ml_metadata.GrpcChannelArguments.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GrpcChannelArguments; - return proto.ml_metadata.GrpcChannelArguments.deserializeBinaryFromReader(msg, reader); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getUser = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.GrpcChannelArguments} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GrpcChannelArguments} + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.GrpcChannelArguments.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setMaxReceiveMessageLength(value); - break; - case 2: - var value = /** @type {number} */ (reader.readInt64()); - msg.setHttp2MaxPingStrikes(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setUser = function(value) { + return jspb.Message.setField(this, 4, value); }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.GrpcChannelArguments.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GrpcChannelArguments.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearUser = function() { + return jspb.Message.setField(this, 4, undefined); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GrpcChannelArguments} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GrpcChannelArguments.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeInt64( - 1, - f - ); - } - f = /** @type {number} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeInt64( - 2, - f - ); - } +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasUser = function() { + return jspb.Message.getField(this, 4) != null; }; /** - * optional int64 max_receive_message_length = 1; - * @return {number} + * optional string password = 5; + * @return {string} */ -proto.ml_metadata.GrpcChannelArguments.prototype.getMaxReceiveMessageLength = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getPassword = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** - * @param {number} value - * @return {!proto.ml_metadata.GrpcChannelArguments} returns this + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.GrpcChannelArguments.prototype.setMaxReceiveMessageLength = function(value) { - return jspb.Message.setField(this, 1, value); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setPassword = function(value) { + return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.GrpcChannelArguments} returns this + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.GrpcChannelArguments.prototype.clearMaxReceiveMessageLength = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearPassword = function() { + return jspb.Message.setField(this, 5, undefined); }; @@ -9745,35 +10328,35 @@ proto.ml_metadata.GrpcChannelArguments.prototype.clearMaxReceiveMessageLength = * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GrpcChannelArguments.prototype.hasMaxReceiveMessageLength = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasPassword = function() { + return jspb.Message.getField(this, 5) != null; }; /** - * optional int64 http2_max_ping_strikes = 2; - * @return {number} + * optional string passfile = 6; + * @return {string} */ -proto.ml_metadata.GrpcChannelArguments.prototype.getHttp2MaxPingStrikes = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getPassfile = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** - * @param {number} value - * @return {!proto.ml_metadata.GrpcChannelArguments} returns this + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.GrpcChannelArguments.prototype.setHttp2MaxPingStrikes = function(value) { - return jspb.Message.setField(this, 2, value); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setPassfile = function(value) { + return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.GrpcChannelArguments} returns this + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.GrpcChannelArguments.prototype.clearHttp2MaxPingStrikes = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearPassfile = function() { + return jspb.Message.setField(this, 6, undefined); }; @@ -9781,172 +10364,117 @@ proto.ml_metadata.GrpcChannelArguments.prototype.clearHttp2MaxPingStrikes = func * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GrpcChannelArguments.prototype.hasHttp2MaxPingStrikes = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasPassfile = function() { + return jspb.Message.getField(this, 6) != null; }; +/** + * optional string dbname = 7; + * @return {string} + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getDbname = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; - -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} + * @param {string} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.MetadataStoreClientConfig.toObject(opt_includeInstance, this); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setDbname = function(value) { + return jspb.Message.setField(this, 7, value); }; /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.MetadataStoreClientConfig} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.MetadataStoreClientConfig.toObject = function(includeInstance, msg) { - var f, obj = { - host: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - port: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, - sslConfig: (f = msg.getSslConfig()) && proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.toObject(includeInstance, f), - channelArguments: (f = msg.getChannelArguments()) && proto.ml_metadata.GrpcChannelArguments.toObject(includeInstance, f), - clientTimeoutSec: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearDbname = function() { + return jspb.Message.setField(this, 7, undefined); }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.MetadataStoreClientConfig} + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.MetadataStoreClientConfig.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.MetadataStoreClientConfig; - return proto.ml_metadata.MetadataStoreClientConfig.deserializeBinaryFromReader(msg, reader); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasDbname = function() { + return jspb.Message.getField(this, 7) != null; }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.MetadataStoreClientConfig} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.MetadataStoreClientConfig} + * optional bool skip_db_creation = 8; + * @return {boolean} */ -proto.ml_metadata.MetadataStoreClientConfig.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setHost(value); - break; - case 2: - var value = /** @type {number} */ (reader.readUint32()); - msg.setPort(value); - break; - case 3: - var value = new proto.ml_metadata.MetadataStoreClientConfig.SSLConfig; - reader.readMessage(value,proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinaryFromReader); - msg.setSslConfig(value); - break; - case 4: - var value = new proto.ml_metadata.GrpcChannelArguments; - reader.readMessage(value,proto.ml_metadata.GrpcChannelArguments.deserializeBinaryFromReader); - msg.setChannelArguments(value); - break; - case 5: - var value = /** @type {number} */ (reader.readDouble()); - msg.setClientTimeoutSec(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getSkipDbCreation = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * @param {boolean} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.MetadataStoreClientConfig.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setSkipDbCreation = function(value) { + return jspb.Message.setField(this, 8, value); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.MetadataStoreClientConfig} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this */ -proto.ml_metadata.MetadataStoreClientConfig.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( - 1, - f - ); - } - f = /** @type {number} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeUint32( - 2, - f - ); - } - f = message.getSslConfig(); - if (f != null) { - writer.writeMessage( - 3, - f, - proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.serializeBinaryToWriter - ); - } - f = message.getChannelArguments(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.ml_metadata.GrpcChannelArguments.serializeBinaryToWriter - ); - } - f = /** @type {number} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeDouble( - 5, - f - ); - } +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearSkipDbCreation = function() { + return jspb.Message.setField(this, 8, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasSkipDbCreation = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional SSLOptions ssloption = 9; + * @return {?proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.getSsloption = function() { + return /** @type{?proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions, 9)); +}; + + +/** + * @param {?proto.ml_metadata.PostgreSQLDatabaseConfig.SSLOptions|undefined} value + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this +*/ +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.setSsloption = function(value) { + return jspb.Message.setWrapperField(this, 9, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PostgreSQLDatabaseConfig} returns this + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.clearSsloption = function() { + return this.setSsloption(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PostgreSQLDatabaseConfig.prototype.hasSsloption = function() { + return jspb.Message.getField(this, 9) != null; }; @@ -9966,8 +10494,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.toObject(opt_includeInstance, this); +proto.ml_metadata.MigrationOptions.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.MigrationOptions.toObject(opt_includeInstance, this); }; @@ -9976,15 +10504,14 @@ proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} msg The msg instance to transform. + * @param {!proto.ml_metadata.MigrationOptions} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.toObject = function(includeInstance, msg) { +proto.ml_metadata.MigrationOptions.toObject = function(includeInstance, msg) { var f, obj = { - clientKey: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - serverCert: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, - customCa: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f + enableUpgradeMigration: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, + downgradeToSchemaVersion: jspb.Message.getFieldWithDefault(msg, 2, -1) }; if (includeInstance) { @@ -9998,40 +10525,36 @@ proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} + * @return {!proto.ml_metadata.MigrationOptions} */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinary = function(bytes) { +proto.ml_metadata.MigrationOptions.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.MetadataStoreClientConfig.SSLConfig; - return proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.MigrationOptions; + return proto.ml_metadata.MigrationOptions.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} msg The message object to deserialize into. + * @param {!proto.ml_metadata.MigrationOptions} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} + * @return {!proto.ml_metadata.MigrationOptions} */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.MigrationOptions.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setClientKey(value); + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setEnableUpgradeMigration(value); break; case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setServerCert(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setCustomCa(value); + var value = /** @type {number} */ (reader.readInt64()); + msg.setDowngradeToSchemaVersion(value); break; default: reader.skipField(); @@ -10046,9 +10569,9 @@ proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.serializeBinary = function() { +proto.ml_metadata.MigrationOptions.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.serializeBinaryToWriter(this, writer); + proto.ml_metadata.MigrationOptions.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -10056,60 +10579,53 @@ proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} message + * @param {!proto.ml_metadata.MigrationOptions} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.MigrationOptions.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { - writer.writeString( - 1, + writer.writeBool( + 3, f ); } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); + f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { - writer.writeString( + writer.writeInt64( 2, f ); } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } }; /** - * optional string client_key = 1; - * @return {string} + * optional bool enable_upgrade_migration = 3; + * @return {boolean} */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.getClientKey = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.ml_metadata.MigrationOptions.prototype.getEnableUpgradeMigration = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this + * @param {boolean} value + * @return {!proto.ml_metadata.MigrationOptions} returns this */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.setClientKey = function(value) { - return jspb.Message.setField(this, 1, value); +proto.ml_metadata.MigrationOptions.prototype.setEnableUpgradeMigration = function(value) { + return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this + * @return {!proto.ml_metadata.MigrationOptions} returns this */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearClientKey = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.MigrationOptions.prototype.clearEnableUpgradeMigration = function() { + return jspb.Message.setField(this, 3, undefined); }; @@ -10117,34 +10633,34 @@ proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearClientKey = * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.hasClientKey = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.MigrationOptions.prototype.hasEnableUpgradeMigration = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * optional string server_cert = 2; - * @return {string} + * optional int64 downgrade_to_schema_version = 2; + * @return {number} */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.getServerCert = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.ml_metadata.MigrationOptions.prototype.getDowngradeToSchemaVersion = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, -1)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this + * @param {number} value + * @return {!proto.ml_metadata.MigrationOptions} returns this */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.setServerCert = function(value) { +proto.ml_metadata.MigrationOptions.prototype.setDowngradeToSchemaVersion = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this + * @return {!proto.ml_metadata.MigrationOptions} returns this */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearServerCert = function() { +proto.ml_metadata.MigrationOptions.prototype.clearDowngradeToSchemaVersion = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -10153,181 +10669,147 @@ proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearServerCert * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.hasServerCert = function() { +proto.ml_metadata.MigrationOptions.prototype.hasDowngradeToSchemaVersion = function() { return jspb.Message.getField(this, 2) != null; }; -/** - * optional string custom_ca = 3; - * @return {string} - */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.getCustomCa = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - -/** - * @param {string} value - * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this - */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.setCustomCa = function(value) { - return jspb.Message.setField(this, 3, value); -}; +if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this - */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearCustomCa = function() { - return jspb.Message.setField(this, 3, undefined); + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.RetryOptions.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.RetryOptions.toObject(opt_includeInstance, this); }; /** - * Returns whether this field is set. - * @return {boolean} + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.RetryOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.hasCustomCa = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.RetryOptions.toObject = function(includeInstance, msg) { + var f, obj = { + maxNumRetries: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; }; +} /** - * optional string host = 1; - * @return {string} + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.RetryOptions} */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.getHost = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.ml_metadata.RetryOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.RetryOptions; + return proto.ml_metadata.RetryOptions.deserializeBinaryFromReader(msg, reader); }; /** - * @param {string} value - * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.RetryOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.RetryOptions} */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.setHost = function(value) { - return jspb.Message.setField(this, 1, value); +proto.ml_metadata.RetryOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt64()); + msg.setMaxNumRetries(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.clearHost = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.RetryOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.RetryOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * Returns whether this field is set. - * @return {boolean} + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.RetryOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.hasHost = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.RetryOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt64( + 1, + f + ); + } }; /** - * optional uint32 port = 2; + * optional int64 max_num_retries = 1; * @return {number} */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.getPort = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.ml_metadata.RetryOptions.prototype.getMaxNumRetries = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this + * @return {!proto.ml_metadata.RetryOptions} returns this */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.setPort = function(value) { - return jspb.Message.setField(this, 2, value); +proto.ml_metadata.RetryOptions.prototype.setMaxNumRetries = function(value) { + return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this - */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.clearPort = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.hasPort = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional SSLConfig ssl_config = 3; - * @return {?proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} - */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.getSslConfig = function() { - return /** @type{?proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.MetadataStoreClientConfig.SSLConfig, 3)); -}; - - -/** - * @param {?proto.ml_metadata.MetadataStoreClientConfig.SSLConfig|undefined} value - * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this -*/ -proto.ml_metadata.MetadataStoreClientConfig.prototype.setSslConfig = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this - */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.clearSslConfig = function() { - return this.setSslConfig(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.hasSslConfig = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional GrpcChannelArguments channel_arguments = 4; - * @return {?proto.ml_metadata.GrpcChannelArguments} - */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.getChannelArguments = function() { - return /** @type{?proto.ml_metadata.GrpcChannelArguments} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.GrpcChannelArguments, 4)); -}; - - -/** - * @param {?proto.ml_metadata.GrpcChannelArguments|undefined} value - * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this -*/ -proto.ml_metadata.MetadataStoreClientConfig.prototype.setChannelArguments = function(value) { - return jspb.Message.setWrapperField(this, 4, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this + * @return {!proto.ml_metadata.RetryOptions} returns this */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.clearChannelArguments = function() { - return this.setChannelArguments(undefined); +proto.ml_metadata.RetryOptions.prototype.clearMaxNumRetries = function() { + return jspb.Message.setField(this, 1, undefined); }; @@ -10335,50 +10817,42 @@ proto.ml_metadata.MetadataStoreClientConfig.prototype.clearChannelArguments = fu * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.hasChannelArguments = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.RetryOptions.prototype.hasMaxNumRetries = function() { + return jspb.Message.getField(this, 1) != null; }; -/** - * optional double client_timeout_sec = 5; - * @return {number} - */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.getClientTimeoutSec = function() { - return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0)); -}; - /** - * @param {number} value - * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.setClientTimeoutSec = function(value) { - return jspb.Message.setField(this, 5, value); -}; - +proto.ml_metadata.ConnectionConfig.oneofGroups_ = [[1,2,3,5]]; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this + * @enum {number} */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.clearClientTimeoutSec = function() { - return jspb.Message.setField(this, 5, undefined); +proto.ml_metadata.ConnectionConfig.ConfigCase = { + CONFIG_NOT_SET: 0, + FAKE_DATABASE: 1, + MYSQL: 2, + SQLITE: 3, + POSTGRESQL: 5 }; - /** - * Returns whether this field is set. - * @return {boolean} + * @return {proto.ml_metadata.ConnectionConfig.ConfigCase} */ -proto.ml_metadata.MetadataStoreClientConfig.prototype.hasClientTimeoutSec = function() { - return jspb.Message.getField(this, 5) != null; +proto.ml_metadata.ConnectionConfig.prototype.getConfigCase = function() { + return /** @type {proto.ml_metadata.ConnectionConfig.ConfigCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.ConnectionConfig.oneofGroups_[0])); }; - - if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. @@ -10392,8 +10866,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.MetadataStoreServerConfig.toObject(opt_includeInstance, this); +proto.ml_metadata.ConnectionConfig.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.ConnectionConfig.toObject(opt_includeInstance, this); }; @@ -10402,15 +10876,17 @@ proto.ml_metadata.MetadataStoreServerConfig.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.MetadataStoreServerConfig} msg The msg instance to transform. + * @param {!proto.ml_metadata.ConnectionConfig} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.MetadataStoreServerConfig.toObject = function(includeInstance, msg) { +proto.ml_metadata.ConnectionConfig.toObject = function(includeInstance, msg) { var f, obj = { - connectionConfig: (f = msg.getConnectionConfig()) && proto.ml_metadata.ConnectionConfig.toObject(includeInstance, f), - migrationOptions: (f = msg.getMigrationOptions()) && proto.ml_metadata.MigrationOptions.toObject(includeInstance, f), - sslConfig: (f = msg.getSslConfig()) && proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.toObject(includeInstance, f) + fakeDatabase: (f = msg.getFakeDatabase()) && proto.ml_metadata.FakeDatabaseConfig.toObject(includeInstance, f), + mysql: (f = msg.getMysql()) && proto.ml_metadata.MySQLDatabaseConfig.toObject(includeInstance, f), + sqlite: (f = msg.getSqlite()) && proto.ml_metadata.SqliteMetadataSourceConfig.toObject(includeInstance, f), + postgresql: (f = msg.getPostgresql()) && proto.ml_metadata.PostgreSQLDatabaseConfig.toObject(includeInstance, f), + retryOptions: (f = msg.getRetryOptions()) && proto.ml_metadata.RetryOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -10424,23 +10900,23 @@ proto.ml_metadata.MetadataStoreServerConfig.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.MetadataStoreServerConfig} + * @return {!proto.ml_metadata.ConnectionConfig} */ -proto.ml_metadata.MetadataStoreServerConfig.deserializeBinary = function(bytes) { +proto.ml_metadata.ConnectionConfig.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.MetadataStoreServerConfig; - return proto.ml_metadata.MetadataStoreServerConfig.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.ConnectionConfig; + return proto.ml_metadata.ConnectionConfig.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.MetadataStoreServerConfig} msg The message object to deserialize into. + * @param {!proto.ml_metadata.ConnectionConfig} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.MetadataStoreServerConfig} + * @return {!proto.ml_metadata.ConnectionConfig} */ -proto.ml_metadata.MetadataStoreServerConfig.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.ConnectionConfig.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -10448,19 +10924,29 @@ proto.ml_metadata.MetadataStoreServerConfig.deserializeBinaryFromReader = functi var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.ml_metadata.ConnectionConfig; - reader.readMessage(value,proto.ml_metadata.ConnectionConfig.deserializeBinaryFromReader); - msg.setConnectionConfig(value); + var value = new proto.ml_metadata.FakeDatabaseConfig; + reader.readMessage(value,proto.ml_metadata.FakeDatabaseConfig.deserializeBinaryFromReader); + msg.setFakeDatabase(value); + break; + case 2: + var value = new proto.ml_metadata.MySQLDatabaseConfig; + reader.readMessage(value,proto.ml_metadata.MySQLDatabaseConfig.deserializeBinaryFromReader); + msg.setMysql(value); break; case 3: - var value = new proto.ml_metadata.MigrationOptions; - reader.readMessage(value,proto.ml_metadata.MigrationOptions.deserializeBinaryFromReader); - msg.setMigrationOptions(value); + var value = new proto.ml_metadata.SqliteMetadataSourceConfig; + reader.readMessage(value,proto.ml_metadata.SqliteMetadataSourceConfig.deserializeBinaryFromReader); + msg.setSqlite(value); break; - case 2: - var value = new proto.ml_metadata.MetadataStoreServerConfig.SSLConfig; - reader.readMessage(value,proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinaryFromReader); - msg.setSslConfig(value); + case 5: + var value = new proto.ml_metadata.PostgreSQLDatabaseConfig; + reader.readMessage(value,proto.ml_metadata.PostgreSQLDatabaseConfig.deserializeBinaryFromReader); + msg.setPostgresql(value); + break; + case 4: + var value = new proto.ml_metadata.RetryOptions; + reader.readMessage(value,proto.ml_metadata.RetryOptions.deserializeBinaryFromReader); + msg.setRetryOptions(value); break; default: reader.skipField(); @@ -10475,9 +10961,9 @@ proto.ml_metadata.MetadataStoreServerConfig.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.serializeBinary = function() { +proto.ml_metadata.ConnectionConfig.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.MetadataStoreServerConfig.serializeBinaryToWriter(this, writer); + proto.ml_metadata.ConnectionConfig.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -10485,211 +10971,154 @@ proto.ml_metadata.MetadataStoreServerConfig.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.MetadataStoreServerConfig} message + * @param {!proto.ml_metadata.ConnectionConfig} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.MetadataStoreServerConfig.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.ConnectionConfig.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getConnectionConfig(); + f = message.getFakeDatabase(); if (f != null) { writer.writeMessage( 1, f, - proto.ml_metadata.ConnectionConfig.serializeBinaryToWriter + proto.ml_metadata.FakeDatabaseConfig.serializeBinaryToWriter ); } - f = message.getMigrationOptions(); + f = message.getMysql(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.ml_metadata.MySQLDatabaseConfig.serializeBinaryToWriter + ); + } + f = message.getSqlite(); if (f != null) { writer.writeMessage( 3, f, - proto.ml_metadata.MigrationOptions.serializeBinaryToWriter + proto.ml_metadata.SqliteMetadataSourceConfig.serializeBinaryToWriter ); } - f = message.getSslConfig(); + f = message.getPostgresql(); if (f != null) { writer.writeMessage( - 2, + 5, f, - proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.serializeBinaryToWriter + proto.ml_metadata.PostgreSQLDatabaseConfig.serializeBinaryToWriter + ); + } + f = message.getRetryOptions(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.ml_metadata.RetryOptions.serializeBinaryToWriter ); } }; +/** + * optional FakeDatabaseConfig fake_database = 1; + * @return {?proto.ml_metadata.FakeDatabaseConfig} + */ +proto.ml_metadata.ConnectionConfig.prototype.getFakeDatabase = function() { + return /** @type{?proto.ml_metadata.FakeDatabaseConfig} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.FakeDatabaseConfig, 1)); +}; + +/** + * @param {?proto.ml_metadata.FakeDatabaseConfig|undefined} value + * @return {!proto.ml_metadata.ConnectionConfig} returns this +*/ +proto.ml_metadata.ConnectionConfig.prototype.setFakeDatabase = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value); +}; -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ConnectionConfig} returns this */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.toObject(opt_includeInstance, this); +proto.ml_metadata.ConnectionConfig.prototype.clearFakeDatabase = function() { + return this.setFakeDatabase(undefined); }; /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.toObject = function(includeInstance, msg) { - var f, obj = { - serverKey: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - serverCert: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, - customCa: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, - clientVerify: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; +proto.ml_metadata.ConnectionConfig.prototype.hasFakeDatabase = function() { + return jspb.Message.getField(this, 1) != null; }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} + * optional MySQLDatabaseConfig mysql = 2; + * @return {?proto.ml_metadata.MySQLDatabaseConfig} */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.MetadataStoreServerConfig.SSLConfig; - return proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinaryFromReader(msg, reader); +proto.ml_metadata.ConnectionConfig.prototype.getMysql = function() { + return /** @type{?proto.ml_metadata.MySQLDatabaseConfig} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.MySQLDatabaseConfig, 2)); }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} - */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setServerKey(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setServerCert(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setCustomCa(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setClientVerify(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; + * @param {?proto.ml_metadata.MySQLDatabaseConfig|undefined} value + * @return {!proto.ml_metadata.ConnectionConfig} returns this +*/ +proto.ml_metadata.ConnectionConfig.prototype.setMysql = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value); }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ConnectionConfig} returns this */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.ConnectionConfig.prototype.clearMysql = function() { + return this.setMysql(undefined); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( - 1, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeBool( - 4, - f - ); - } +proto.ml_metadata.ConnectionConfig.prototype.hasMysql = function() { + return jspb.Message.getField(this, 2) != null; }; /** - * optional string server_key = 1; - * @return {string} + * optional SqliteMetadataSourceConfig sqlite = 3; + * @return {?proto.ml_metadata.SqliteMetadataSourceConfig} */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getServerKey = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.ml_metadata.ConnectionConfig.prototype.getSqlite = function() { + return /** @type{?proto.ml_metadata.SqliteMetadataSourceConfig} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.SqliteMetadataSourceConfig, 3)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this - */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setServerKey = function(value) { - return jspb.Message.setField(this, 1, value); + * @param {?proto.ml_metadata.SqliteMetadataSourceConfig|undefined} value + * @return {!proto.ml_metadata.ConnectionConfig} returns this +*/ +proto.ml_metadata.ConnectionConfig.prototype.setSqlite = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ConnectionConfig} returns this */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearServerKey = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.ConnectionConfig.prototype.clearSqlite = function() { + return this.setSqlite(undefined); }; @@ -10697,35 +11126,36 @@ proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearServerKey = * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasServerKey = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.ConnectionConfig.prototype.hasSqlite = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * optional string server_cert = 2; - * @return {string} + * optional PostgreSQLDatabaseConfig postgresql = 5; + * @return {?proto.ml_metadata.PostgreSQLDatabaseConfig} */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getServerCert = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.ml_metadata.ConnectionConfig.prototype.getPostgresql = function() { + return /** @type{?proto.ml_metadata.PostgreSQLDatabaseConfig} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.PostgreSQLDatabaseConfig, 5)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this - */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setServerCert = function(value) { - return jspb.Message.setField(this, 2, value); + * @param {?proto.ml_metadata.PostgreSQLDatabaseConfig|undefined} value + * @return {!proto.ml_metadata.ConnectionConfig} returns this +*/ +proto.ml_metadata.ConnectionConfig.prototype.setPostgresql = function(value) { + return jspb.Message.setOneofWrapperField(this, 5, proto.ml_metadata.ConnectionConfig.oneofGroups_[0], value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ConnectionConfig} returns this */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearServerCert = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.ConnectionConfig.prototype.clearPostgresql = function() { + return this.setPostgresql(undefined); }; @@ -10733,35 +11163,36 @@ proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearServerCert * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasServerCert = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.ConnectionConfig.prototype.hasPostgresql = function() { + return jspb.Message.getField(this, 5) != null; }; /** - * optional string custom_ca = 3; - * @return {string} + * optional RetryOptions retry_options = 4; + * @return {?proto.ml_metadata.RetryOptions} */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getCustomCa = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.ml_metadata.ConnectionConfig.prototype.getRetryOptions = function() { + return /** @type{?proto.ml_metadata.RetryOptions} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.RetryOptions, 4)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this - */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setCustomCa = function(value) { - return jspb.Message.setField(this, 3, value); + * @param {?proto.ml_metadata.RetryOptions|undefined} value + * @return {!proto.ml_metadata.ConnectionConfig} returns this +*/ +proto.ml_metadata.ConnectionConfig.prototype.setRetryOptions = function(value) { + return jspb.Message.setWrapperField(this, 4, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ConnectionConfig} returns this */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearCustomCa = function() { - return jspb.Message.setField(this, 3, undefined); +proto.ml_metadata.ConnectionConfig.prototype.clearRetryOptions = function() { + return this.setRetryOptions(undefined); }; @@ -10769,109 +11200,159 @@ proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearCustomCa = * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasCustomCa = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.ConnectionConfig.prototype.hasRetryOptions = function() { + return jspb.Message.getField(this, 4) != null; }; -/** - * optional bool client_verify = 4; - * @return {boolean} - */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getClientVerify = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); -}; - -/** - * @param {boolean} value - * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this - */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setClientVerify = function(value) { - return jspb.Message.setField(this, 4, value); -}; +if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearClientVerify = function() { - return jspb.Message.setField(this, 4, undefined); +proto.ml_metadata.GrpcChannelArguments.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GrpcChannelArguments.toObject(opt_includeInstance, this); }; /** - * Returns whether this field is set. - * @return {boolean} + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.GrpcChannelArguments} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasClientVerify = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.GrpcChannelArguments.toObject = function(includeInstance, msg) { + var f, obj = { + maxReceiveMessageLength: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + http2MaxPingStrikes: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; }; +} /** - * optional ConnectionConfig connection_config = 1; - * @return {?proto.ml_metadata.ConnectionConfig} + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.GrpcChannelArguments} */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.getConnectionConfig = function() { - return /** @type{?proto.ml_metadata.ConnectionConfig} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.ConnectionConfig, 1)); +proto.ml_metadata.GrpcChannelArguments.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.GrpcChannelArguments; + return proto.ml_metadata.GrpcChannelArguments.deserializeBinaryFromReader(msg, reader); }; /** - * @param {?proto.ml_metadata.ConnectionConfig|undefined} value - * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this -*/ -proto.ml_metadata.MetadataStoreServerConfig.prototype.setConnectionConfig = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.GrpcChannelArguments} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.GrpcChannelArguments} + */ +proto.ml_metadata.GrpcChannelArguments.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt64()); + msg.setMaxReceiveMessageLength(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt64()); + msg.setHttp2MaxPingStrikes(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.clearConnectionConfig = function() { - return this.setConnectionConfig(undefined); +proto.ml_metadata.GrpcChannelArguments.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.GrpcChannelArguments.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * Returns whether this field is set. - * @return {boolean} + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.GrpcChannelArguments} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.hasConnectionConfig = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GrpcChannelArguments.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt64( + 1, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeInt64( + 2, + f + ); + } }; /** - * optional MigrationOptions migration_options = 3; - * @return {?proto.ml_metadata.MigrationOptions} + * optional int64 max_receive_message_length = 1; + * @return {number} */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.getMigrationOptions = function() { - return /** @type{?proto.ml_metadata.MigrationOptions} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.MigrationOptions, 3)); +proto.ml_metadata.GrpcChannelArguments.prototype.getMaxReceiveMessageLength = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {?proto.ml_metadata.MigrationOptions|undefined} value - * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this -*/ -proto.ml_metadata.MetadataStoreServerConfig.prototype.setMigrationOptions = function(value) { - return jspb.Message.setWrapperField(this, 3, value); + * @param {number} value + * @return {!proto.ml_metadata.GrpcChannelArguments} returns this + */ +proto.ml_metadata.GrpcChannelArguments.prototype.setMaxReceiveMessageLength = function(value) { + return jspb.Message.setField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GrpcChannelArguments} returns this */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.clearMigrationOptions = function() { - return this.setMigrationOptions(undefined); +proto.ml_metadata.GrpcChannelArguments.prototype.clearMaxReceiveMessageLength = function() { + return jspb.Message.setField(this, 1, undefined); }; @@ -10879,36 +11360,35 @@ proto.ml_metadata.MetadataStoreServerConfig.prototype.clearMigrationOptions = fu * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.hasMigrationOptions = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GrpcChannelArguments.prototype.hasMaxReceiveMessageLength = function() { + return jspb.Message.getField(this, 1) != null; }; /** - * optional SSLConfig ssl_config = 2; - * @return {?proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} + * optional int64 http2_max_ping_strikes = 2; + * @return {number} */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.getSslConfig = function() { - return /** @type{?proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.MetadataStoreServerConfig.SSLConfig, 2)); +proto.ml_metadata.GrpcChannelArguments.prototype.getHttp2MaxPingStrikes = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {?proto.ml_metadata.MetadataStoreServerConfig.SSLConfig|undefined} value - * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this -*/ -proto.ml_metadata.MetadataStoreServerConfig.prototype.setSslConfig = function(value) { - return jspb.Message.setWrapperField(this, 2, value); + * @param {number} value + * @return {!proto.ml_metadata.GrpcChannelArguments} returns this + */ +proto.ml_metadata.GrpcChannelArguments.prototype.setHttp2MaxPingStrikes = function(value) { + return jspb.Message.setField(this, 2, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GrpcChannelArguments} returns this */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.clearSslConfig = function() { - return this.setSslConfig(undefined); +proto.ml_metadata.GrpcChannelArguments.prototype.clearHttp2MaxPingStrikes = function() { + return jspb.Message.setField(this, 2, undefined); }; @@ -10916,7 +11396,7 @@ proto.ml_metadata.MetadataStoreServerConfig.prototype.clearSslConfig = function( * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.MetadataStoreServerConfig.prototype.hasSslConfig = function() { +proto.ml_metadata.GrpcChannelArguments.prototype.hasHttp2MaxPingStrikes = function() { return jspb.Message.getField(this, 2) != null; }; @@ -10937,8 +11417,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.ListOperationOptions.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.ListOperationOptions.toObject(opt_includeInstance, this); +proto.ml_metadata.MetadataStoreClientConfig.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.MetadataStoreClientConfig.toObject(opt_includeInstance, this); }; @@ -10947,16 +11427,17 @@ proto.ml_metadata.ListOperationOptions.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.ListOperationOptions} msg The msg instance to transform. + * @param {!proto.ml_metadata.MetadataStoreClientConfig} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ListOperationOptions.toObject = function(includeInstance, msg) { +proto.ml_metadata.MetadataStoreClientConfig.toObject = function(includeInstance, msg) { var f, obj = { - maxResultSize: jspb.Message.getFieldWithDefault(msg, 1, 20), - orderByField: (f = msg.getOrderByField()) && proto.ml_metadata.ListOperationOptions.OrderByField.toObject(includeInstance, f), - nextPageToken: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, - filterQuery: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f + host: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + port: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + sslConfig: (f = msg.getSslConfig()) && proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.toObject(includeInstance, f), + channelArguments: (f = msg.getChannelArguments()) && proto.ml_metadata.GrpcChannelArguments.toObject(includeInstance, f), + clientTimeoutSec: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -10970,23 +11451,23 @@ proto.ml_metadata.ListOperationOptions.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.ListOperationOptions} + * @return {!proto.ml_metadata.MetadataStoreClientConfig} */ -proto.ml_metadata.ListOperationOptions.deserializeBinary = function(bytes) { +proto.ml_metadata.MetadataStoreClientConfig.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.ListOperationOptions; - return proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.MetadataStoreClientConfig; + return proto.ml_metadata.MetadataStoreClientConfig.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.ListOperationOptions} msg The message object to deserialize into. + * @param {!proto.ml_metadata.MetadataStoreClientConfig} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.ListOperationOptions} + * @return {!proto.ml_metadata.MetadataStoreClientConfig} */ -proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.MetadataStoreClientConfig.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -10994,21 +11475,26 @@ proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader = function(ms var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readInt32()); - msg.setMaxResultSize(value); + var value = /** @type {string} */ (reader.readString()); + msg.setHost(value); break; case 2: - var value = new proto.ml_metadata.ListOperationOptions.OrderByField; - reader.readMessage(value,proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader); - msg.setOrderByField(value); + var value = /** @type {number} */ (reader.readInt64()); + msg.setPort(value); break; case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setNextPageToken(value); + var value = new proto.ml_metadata.MetadataStoreClientConfig.SSLConfig; + reader.readMessage(value,proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinaryFromReader); + msg.setSslConfig(value); break; case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setFilterQuery(value); + var value = new proto.ml_metadata.GrpcChannelArguments; + reader.readMessage(value,proto.ml_metadata.GrpcChannelArguments.deserializeBinaryFromReader); + msg.setChannelArguments(value); + break; + case 5: + var value = /** @type {number} */ (reader.readDouble()); + msg.setClientTimeoutSec(value); break; default: reader.skipField(); @@ -11023,9 +11509,9 @@ proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.ListOperationOptions.prototype.serializeBinary = function() { +proto.ml_metadata.MetadataStoreClientConfig.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter(this, writer); + proto.ml_metadata.MetadataStoreClientConfig.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11033,38 +11519,46 @@ proto.ml_metadata.ListOperationOptions.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.ListOperationOptions} message + * @param {!proto.ml_metadata.MetadataStoreClientConfig} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.MetadataStoreClientConfig.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); + f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { - writer.writeInt32( + writer.writeString( 1, f ); } - f = message.getOrderByField(); + f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { - writer.writeMessage( + writer.writeInt64( 2, - f, - proto.ml_metadata.ListOperationOptions.OrderByField.serializeBinaryToWriter + f ); } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); + f = message.getSslConfig(); if (f != null) { - writer.writeString( + writer.writeMessage( 3, - f + f, + proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.serializeBinaryToWriter ); } - f = /** @type {string} */ (jspb.Message.getField(message, 4)); + f = message.getChannelArguments(); if (f != null) { - writer.writeString( + writer.writeMessage( 4, + f, + proto.ml_metadata.GrpcChannelArguments.serializeBinaryToWriter + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeDouble( + 5, f ); } @@ -11087,8 +11581,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.ListOperationOptions.OrderByField.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.ListOperationOptions.OrderByField.toObject(opt_includeInstance, this); +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.toObject(opt_includeInstance, this); }; @@ -11097,14 +11591,15 @@ proto.ml_metadata.ListOperationOptions.OrderByField.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.ListOperationOptions.OrderByField} msg The msg instance to transform. + * @param {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ListOperationOptions.OrderByField.toObject = function(includeInstance, msg) { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.toObject = function(includeInstance, msg) { var f, obj = { - field: jspb.Message.getFieldWithDefault(msg, 1, 3), - isAsc: jspb.Message.getBooleanFieldWithDefault(msg, 2, true) + clientKey: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + serverCert: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + customCa: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -11118,23 +11613,23 @@ proto.ml_metadata.ListOperationOptions.OrderByField.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} + * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} */ -proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinary = function(bytes) { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.ListOperationOptions.OrderByField; - return proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.MetadataStoreClientConfig.SSLConfig; + return proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.ListOperationOptions.OrderByField} msg The message object to deserialize into. + * @param {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} + * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} */ -proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11142,12 +11637,16 @@ proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} */ (reader.readEnum()); - msg.setField(value); + var value = /** @type {string} */ (reader.readString()); + msg.setClientKey(value); break; case 2: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsAsc(value); + var value = /** @type {string} */ (reader.readString()); + msg.setServerCert(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setCustomCa(value); break; default: reader.skipField(); @@ -11162,9 +11661,9 @@ proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.ListOperationOptions.OrderByField.prototype.serializeBinary = function() { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.ListOperationOptions.OrderByField.serializeBinaryToWriter(this, writer); + proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11172,62 +11671,59 @@ proto.ml_metadata.ListOperationOptions.OrderByField.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.ListOperationOptions.OrderByField} message + * @param {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ListOperationOptions.OrderByField.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} */ (jspb.Message.getField(message, 1)); + f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { - writer.writeEnum( + writer.writeString( 1, f ); } - f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { - writer.writeBool( + writer.writeString( 2, f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } }; /** - * @enum {number} - */ -proto.ml_metadata.ListOperationOptions.OrderByField.Field = { - FIELD_UNSPECIFIED: 0, - CREATE_TIME: 1, - LAST_UPDATE_TIME: 2, - ID: 3 -}; - -/** - * optional Field field = 1; - * @return {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} + * optional string client_key = 1; + * @return {string} */ -proto.ml_metadata.ListOperationOptions.OrderByField.prototype.getField = function() { - return /** @type {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} */ (jspb.Message.getFieldWithDefault(this, 1, 3)); +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.getClientKey = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} value - * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this + * @param {string} value + * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this */ -proto.ml_metadata.ListOperationOptions.OrderByField.prototype.setField = function(value) { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.setClientKey = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this + * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this */ -proto.ml_metadata.ListOperationOptions.OrderByField.prototype.clearField = function() { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearClientKey = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -11236,34 +11732,34 @@ proto.ml_metadata.ListOperationOptions.OrderByField.prototype.clearField = funct * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ListOperationOptions.OrderByField.prototype.hasField = function() { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.hasClientKey = function() { return jspb.Message.getField(this, 1) != null; }; /** - * optional bool is_asc = 2; - * @return {boolean} + * optional string server_cert = 2; + * @return {string} */ -proto.ml_metadata.ListOperationOptions.OrderByField.prototype.getIsAsc = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, true)); +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.getServerCert = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this + * @param {string} value + * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this */ -proto.ml_metadata.ListOperationOptions.OrderByField.prototype.setIsAsc = function(value) { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.setServerCert = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this + * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this */ -proto.ml_metadata.ListOperationOptions.OrderByField.prototype.clearIsAsc = function() { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearServerCert = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -11272,35 +11768,35 @@ proto.ml_metadata.ListOperationOptions.OrderByField.prototype.clearIsAsc = funct * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ListOperationOptions.OrderByField.prototype.hasIsAsc = function() { +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.hasServerCert = function() { return jspb.Message.getField(this, 2) != null; }; /** - * optional int32 max_result_size = 1; - * @return {number} + * optional string custom_ca = 3; + * @return {string} */ -proto.ml_metadata.ListOperationOptions.prototype.getMaxResultSize = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 20)); +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.getCustomCa = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** - * @param {number} value - * @return {!proto.ml_metadata.ListOperationOptions} returns this + * @param {string} value + * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this */ -proto.ml_metadata.ListOperationOptions.prototype.setMaxResultSize = function(value) { - return jspb.Message.setField(this, 1, value); +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.setCustomCa = function(value) { + return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.ListOperationOptions} returns this + * @return {!proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} returns this */ -proto.ml_metadata.ListOperationOptions.prototype.clearMaxResultSize = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.clearCustomCa = function() { + return jspb.Message.setField(this, 3, undefined); }; @@ -11308,36 +11804,35 @@ proto.ml_metadata.ListOperationOptions.prototype.clearMaxResultSize = function() * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ListOperationOptions.prototype.hasMaxResultSize = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.MetadataStoreClientConfig.SSLConfig.prototype.hasCustomCa = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * optional OrderByField order_by_field = 2; - * @return {?proto.ml_metadata.ListOperationOptions.OrderByField} + * optional string host = 1; + * @return {string} */ -proto.ml_metadata.ListOperationOptions.prototype.getOrderByField = function() { - return /** @type{?proto.ml_metadata.ListOperationOptions.OrderByField} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.ListOperationOptions.OrderByField, 2)); +proto.ml_metadata.MetadataStoreClientConfig.prototype.getHost = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {?proto.ml_metadata.ListOperationOptions.OrderByField|undefined} value - * @return {!proto.ml_metadata.ListOperationOptions} returns this -*/ -proto.ml_metadata.ListOperationOptions.prototype.setOrderByField = function(value) { - return jspb.Message.setWrapperField(this, 2, value); + * @param {string} value + * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this + */ +proto.ml_metadata.MetadataStoreClientConfig.prototype.setHost = function(value) { + return jspb.Message.setField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ListOperationOptions} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this */ -proto.ml_metadata.ListOperationOptions.prototype.clearOrderByField = function() { - return this.setOrderByField(undefined); +proto.ml_metadata.MetadataStoreClientConfig.prototype.clearHost = function() { + return jspb.Message.setField(this, 1, undefined); }; @@ -11345,35 +11840,35 @@ proto.ml_metadata.ListOperationOptions.prototype.clearOrderByField = function() * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ListOperationOptions.prototype.hasOrderByField = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.MetadataStoreClientConfig.prototype.hasHost = function() { + return jspb.Message.getField(this, 1) != null; }; /** - * optional string next_page_token = 3; - * @return {string} + * optional int64 port = 2; + * @return {number} */ -proto.ml_metadata.ListOperationOptions.prototype.getNextPageToken = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.ml_metadata.MetadataStoreClientConfig.prototype.getPort = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.ListOperationOptions} returns this + * @param {number} value + * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this */ -proto.ml_metadata.ListOperationOptions.prototype.setNextPageToken = function(value) { - return jspb.Message.setField(this, 3, value); +proto.ml_metadata.MetadataStoreClientConfig.prototype.setPort = function(value) { + return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.ListOperationOptions} returns this + * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this */ -proto.ml_metadata.ListOperationOptions.prototype.clearNextPageToken = function() { - return jspb.Message.setField(this, 3, undefined); +proto.ml_metadata.MetadataStoreClientConfig.prototype.clearPort = function() { + return jspb.Message.setField(this, 2, undefined); }; @@ -11381,35 +11876,109 @@ proto.ml_metadata.ListOperationOptions.prototype.clearNextPageToken = function() * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ListOperationOptions.prototype.hasNextPageToken = function() { +proto.ml_metadata.MetadataStoreClientConfig.prototype.hasPort = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional SSLConfig ssl_config = 3; + * @return {?proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} + */ +proto.ml_metadata.MetadataStoreClientConfig.prototype.getSslConfig = function() { + return /** @type{?proto.ml_metadata.MetadataStoreClientConfig.SSLConfig} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.MetadataStoreClientConfig.SSLConfig, 3)); +}; + + +/** + * @param {?proto.ml_metadata.MetadataStoreClientConfig.SSLConfig|undefined} value + * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this +*/ +proto.ml_metadata.MetadataStoreClientConfig.prototype.setSslConfig = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this + */ +proto.ml_metadata.MetadataStoreClientConfig.prototype.clearSslConfig = function() { + return this.setSslConfig(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.MetadataStoreClientConfig.prototype.hasSslConfig = function() { return jspb.Message.getField(this, 3) != null; }; /** - * optional string filter_query = 4; - * @return {string} + * optional GrpcChannelArguments channel_arguments = 4; + * @return {?proto.ml_metadata.GrpcChannelArguments} */ -proto.ml_metadata.ListOperationOptions.prototype.getFilterQuery = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +proto.ml_metadata.MetadataStoreClientConfig.prototype.getChannelArguments = function() { + return /** @type{?proto.ml_metadata.GrpcChannelArguments} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.GrpcChannelArguments, 4)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.ListOperationOptions} returns this + * @param {?proto.ml_metadata.GrpcChannelArguments|undefined} value + * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this +*/ +proto.ml_metadata.MetadataStoreClientConfig.prototype.setChannelArguments = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this */ -proto.ml_metadata.ListOperationOptions.prototype.setFilterQuery = function(value) { - return jspb.Message.setField(this, 4, value); +proto.ml_metadata.MetadataStoreClientConfig.prototype.clearChannelArguments = function() { + return this.setChannelArguments(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.MetadataStoreClientConfig.prototype.hasChannelArguments = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional double client_timeout_sec = 5; + * @return {number} + */ +proto.ml_metadata.MetadataStoreClientConfig.prototype.getClientTimeoutSec = function() { + return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0)); +}; + + +/** + * @param {number} value + * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this + */ +proto.ml_metadata.MetadataStoreClientConfig.prototype.setClientTimeoutSec = function(value) { + return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.ListOperationOptions} returns this + * @return {!proto.ml_metadata.MetadataStoreClientConfig} returns this */ -proto.ml_metadata.ListOperationOptions.prototype.clearFilterQuery = function() { - return jspb.Message.setField(this, 4, undefined); +proto.ml_metadata.MetadataStoreClientConfig.prototype.clearClientTimeoutSec = function() { + return jspb.Message.setField(this, 5, undefined); }; @@ -11417,18 +11986,1683 @@ proto.ml_metadata.ListOperationOptions.prototype.clearFilterQuery = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ListOperationOptions.prototype.hasFilterQuery = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.MetadataStoreClientConfig.prototype.hasClientTimeoutSec = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.MetadataStoreServerConfig.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.MetadataStoreServerConfig} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.MetadataStoreServerConfig.toObject = function(includeInstance, msg) { + var f, obj = { + connectionConfig: (f = msg.getConnectionConfig()) && proto.ml_metadata.ConnectionConfig.toObject(includeInstance, f), + migrationOptions: (f = msg.getMigrationOptions()) && proto.ml_metadata.MigrationOptions.toObject(includeInstance, f), + sslConfig: (f = msg.getSslConfig()) && proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.MetadataStoreServerConfig} + */ +proto.ml_metadata.MetadataStoreServerConfig.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.MetadataStoreServerConfig; + return proto.ml_metadata.MetadataStoreServerConfig.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.MetadataStoreServerConfig} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.MetadataStoreServerConfig} + */ +proto.ml_metadata.MetadataStoreServerConfig.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.ml_metadata.ConnectionConfig; + reader.readMessage(value,proto.ml_metadata.ConnectionConfig.deserializeBinaryFromReader); + msg.setConnectionConfig(value); + break; + case 3: + var value = new proto.ml_metadata.MigrationOptions; + reader.readMessage(value,proto.ml_metadata.MigrationOptions.deserializeBinaryFromReader); + msg.setMigrationOptions(value); + break; + case 2: + var value = new proto.ml_metadata.MetadataStoreServerConfig.SSLConfig; + reader.readMessage(value,proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinaryFromReader); + msg.setSslConfig(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.MetadataStoreServerConfig.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.MetadataStoreServerConfig} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.MetadataStoreServerConfig.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getConnectionConfig(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.ml_metadata.ConnectionConfig.serializeBinaryToWriter + ); + } + f = message.getMigrationOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.ml_metadata.MigrationOptions.serializeBinaryToWriter + ); + } + f = message.getSslConfig(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.toObject = function(includeInstance, msg) { + var f, obj = { + serverKey: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + serverCert: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + customCa: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + clientVerify: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.MetadataStoreServerConfig.SSLConfig; + return proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setServerKey(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setServerCert(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setCustomCa(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setClientVerify(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeBool( + 4, + f + ); + } +}; + + +/** + * optional string server_key = 1; + * @return {string} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getServerKey = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setServerKey = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearServerKey = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasServerKey = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string server_cert = 2; + * @return {string} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getServerCert = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setServerCert = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearServerCert = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasServerCert = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string custom_ca = 3; + * @return {string} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getCustomCa = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setCustomCa = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearCustomCa = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasCustomCa = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool client_verify = 4; + * @return {boolean} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.getClientVerify = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.setClientVerify = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.clearClientVerify = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.MetadataStoreServerConfig.SSLConfig.prototype.hasClientVerify = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional ConnectionConfig connection_config = 1; + * @return {?proto.ml_metadata.ConnectionConfig} + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.getConnectionConfig = function() { + return /** @type{?proto.ml_metadata.ConnectionConfig} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.ConnectionConfig, 1)); +}; + + +/** + * @param {?proto.ml_metadata.ConnectionConfig|undefined} value + * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this +*/ +proto.ml_metadata.MetadataStoreServerConfig.prototype.setConnectionConfig = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.clearConnectionConfig = function() { + return this.setConnectionConfig(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.hasConnectionConfig = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional MigrationOptions migration_options = 3; + * @return {?proto.ml_metadata.MigrationOptions} + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.getMigrationOptions = function() { + return /** @type{?proto.ml_metadata.MigrationOptions} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.MigrationOptions, 3)); +}; + + +/** + * @param {?proto.ml_metadata.MigrationOptions|undefined} value + * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this +*/ +proto.ml_metadata.MetadataStoreServerConfig.prototype.setMigrationOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.clearMigrationOptions = function() { + return this.setMigrationOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.hasMigrationOptions = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional SSLConfig ssl_config = 2; + * @return {?proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.getSslConfig = function() { + return /** @type{?proto.ml_metadata.MetadataStoreServerConfig.SSLConfig} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.MetadataStoreServerConfig.SSLConfig, 2)); +}; + + +/** + * @param {?proto.ml_metadata.MetadataStoreServerConfig.SSLConfig|undefined} value + * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this +*/ +proto.ml_metadata.MetadataStoreServerConfig.prototype.setSslConfig = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.MetadataStoreServerConfig} returns this + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.clearSslConfig = function() { + return this.setSslConfig(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.MetadataStoreServerConfig.prototype.hasSslConfig = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.ListOperationOptions.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.ListOperationOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.ListOperationOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ListOperationOptions.toObject = function(includeInstance, msg) { + var f, obj = { + maxResultSize: jspb.Message.getFieldWithDefault(msg, 1, 20), + orderByField: (f = msg.getOrderByField()) && proto.ml_metadata.ListOperationOptions.OrderByField.toObject(includeInstance, f), + nextPageToken: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + filterQuery: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.ListOperationOptions} + */ +proto.ml_metadata.ListOperationOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.ListOperationOptions; + return proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.ListOperationOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.ListOperationOptions} + */ +proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setMaxResultSize(value); + break; + case 2: + var value = new proto.ml_metadata.ListOperationOptions.OrderByField; + reader.readMessage(value,proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader); + msg.setOrderByField(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setNextPageToken(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setFilterQuery(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.ListOperationOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.ListOperationOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt32( + 1, + f + ); + } + f = message.getOrderByField(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.ml_metadata.ListOperationOptions.OrderByField.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeString( + 4, + f + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.ListOperationOptions.OrderByField.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.ListOperationOptions.OrderByField.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.ListOperationOptions.OrderByField} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ListOperationOptions.OrderByField.toObject = function(includeInstance, msg) { + var f, obj = { + field: jspb.Message.getFieldWithDefault(msg, 1, 3), + isAsc: jspb.Message.getBooleanFieldWithDefault(msg, 2, true) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} + */ +proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.ListOperationOptions.OrderByField; + return proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.ListOperationOptions.OrderByField} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} + */ +proto.ml_metadata.ListOperationOptions.OrderByField.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} */ (reader.readEnum()); + msg.setField(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsAsc(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.ListOperationOptions.OrderByField.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.ListOperationOptions.OrderByField.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.ListOperationOptions.OrderByField} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ListOperationOptions.OrderByField.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeEnum( + 1, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * @enum {number} + */ +proto.ml_metadata.ListOperationOptions.OrderByField.Field = { + FIELD_UNSPECIFIED: 0, + CREATE_TIME: 1, + LAST_UPDATE_TIME: 2, + ID: 3 +}; + +/** + * optional Field field = 1; + * @return {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} + */ +proto.ml_metadata.ListOperationOptions.OrderByField.prototype.getField = function() { + return /** @type {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} */ (jspb.Message.getFieldWithDefault(this, 1, 3)); +}; + + +/** + * @param {!proto.ml_metadata.ListOperationOptions.OrderByField.Field} value + * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this + */ +proto.ml_metadata.ListOperationOptions.OrderByField.prototype.setField = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this + */ +proto.ml_metadata.ListOperationOptions.OrderByField.prototype.clearField = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ListOperationOptions.OrderByField.prototype.hasField = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool is_asc = 2; + * @return {boolean} + */ +proto.ml_metadata.ListOperationOptions.OrderByField.prototype.getIsAsc = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, true)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this + */ +proto.ml_metadata.ListOperationOptions.OrderByField.prototype.setIsAsc = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.ListOperationOptions.OrderByField} returns this + */ +proto.ml_metadata.ListOperationOptions.OrderByField.prototype.clearIsAsc = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ListOperationOptions.OrderByField.prototype.hasIsAsc = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional int32 max_result_size = 1; + * @return {number} + */ +proto.ml_metadata.ListOperationOptions.prototype.getMaxResultSize = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 20)); +}; + + +/** + * @param {number} value + * @return {!proto.ml_metadata.ListOperationOptions} returns this + */ +proto.ml_metadata.ListOperationOptions.prototype.setMaxResultSize = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.ListOperationOptions} returns this + */ +proto.ml_metadata.ListOperationOptions.prototype.clearMaxResultSize = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ListOperationOptions.prototype.hasMaxResultSize = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional OrderByField order_by_field = 2; + * @return {?proto.ml_metadata.ListOperationOptions.OrderByField} + */ +proto.ml_metadata.ListOperationOptions.prototype.getOrderByField = function() { + return /** @type{?proto.ml_metadata.ListOperationOptions.OrderByField} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.ListOperationOptions.OrderByField, 2)); +}; + + +/** + * @param {?proto.ml_metadata.ListOperationOptions.OrderByField|undefined} value + * @return {!proto.ml_metadata.ListOperationOptions} returns this +*/ +proto.ml_metadata.ListOperationOptions.prototype.setOrderByField = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ListOperationOptions} returns this + */ +proto.ml_metadata.ListOperationOptions.prototype.clearOrderByField = function() { + return this.setOrderByField(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ListOperationOptions.prototype.hasOrderByField = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional string next_page_token = 3; + * @return {string} + */ +proto.ml_metadata.ListOperationOptions.prototype.getNextPageToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.ListOperationOptions} returns this + */ +proto.ml_metadata.ListOperationOptions.prototype.setNextPageToken = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.ListOperationOptions} returns this + */ +proto.ml_metadata.ListOperationOptions.prototype.clearNextPageToken = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ListOperationOptions.prototype.hasNextPageToken = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string filter_query = 4; + * @return {string} + */ +proto.ml_metadata.ListOperationOptions.prototype.getFilterQuery = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.ListOperationOptions} returns this + */ +proto.ml_metadata.ListOperationOptions.prototype.setFilterQuery = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.ListOperationOptions} returns this + */ +proto.ml_metadata.ListOperationOptions.prototype.clearFilterQuery = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ListOperationOptions.prototype.hasFilterQuery = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.ListOperationNextPageToken.repeatedFields_ = [4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.ListOperationNextPageToken.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.ListOperationNextPageToken} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ListOperationNextPageToken.toObject = function(includeInstance, msg) { + var f, obj = { + idOffset: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + fieldOffset: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + setOptions: (f = msg.getSetOptions()) && proto.ml_metadata.ListOperationOptions.toObject(includeInstance, f), + listedIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.ListOperationNextPageToken} + */ +proto.ml_metadata.ListOperationNextPageToken.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.ListOperationNextPageToken; + return proto.ml_metadata.ListOperationNextPageToken.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.ListOperationNextPageToken} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.ListOperationNextPageToken} + */ +proto.ml_metadata.ListOperationNextPageToken.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt64()); + msg.setIdOffset(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt64()); + msg.setFieldOffset(value); + break; + case 3: + var value = new proto.ml_metadata.ListOperationOptions; + reader.readMessage(value,proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader); + msg.setSetOptions(value); + break; + case 4: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addListedIds(values[i]); + } + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.ListOperationNextPageToken.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.ListOperationNextPageToken} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ListOperationNextPageToken.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt64( + 1, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeInt64( + 2, + f + ); + } + f = message.getSetOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter + ); + } + f = message.getListedIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( + 4, + f + ); + } +}; + + +/** + * optional int64 id_offset = 1; + * @return {number} + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.getIdOffset = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.setIdOffset = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.clearIdOffset = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.hasIdOffset = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int64 field_offset = 2; + * @return {number} + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.getFieldOffset = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.setFieldOffset = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.clearFieldOffset = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.hasFieldOffset = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ListOperationOptions set_options = 3; + * @return {?proto.ml_metadata.ListOperationOptions} + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.getSetOptions = function() { + return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.ListOperationOptions, 3)); +}; + + +/** + * @param {?proto.ml_metadata.ListOperationOptions|undefined} value + * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this +*/ +proto.ml_metadata.ListOperationNextPageToken.prototype.setSetOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.clearSetOptions = function() { + return this.setSetOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.hasSetOptions = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * repeated int64 listed_ids = 4; + * @return {!Array} + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.getListedIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.setListedIdsList = function(value) { + return jspb.Message.setField(this, 4, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.addListedIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 4, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + */ +proto.ml_metadata.ListOperationNextPageToken.prototype.clearListedIdsList = function() { + return this.setListedIdsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.TransactionOptions.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.TransactionOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.TransactionOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.TransactionOptions.toObject = function(includeInstance, msg) { + var f, obj = { + tag: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f + }; + + jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, + proto.ml_metadata.TransactionOptions.extensions, proto.ml_metadata.TransactionOptions.prototype.getExtension, + includeInstance); + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.TransactionOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.TransactionOptions; + return proto.ml_metadata.TransactionOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.TransactionOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.TransactionOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTag(value); + break; + default: + jspb.Message.readBinaryExtension(msg, reader, + proto.ml_metadata.TransactionOptions.extensionsBinary, + proto.ml_metadata.TransactionOptions.prototype.getExtension, + proto.ml_metadata.TransactionOptions.prototype.setExtension); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.TransactionOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.TransactionOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.TransactionOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.TransactionOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + jspb.Message.serializeBinaryExtensions(message, writer, + proto.ml_metadata.TransactionOptions.extensionsBinary, proto.ml_metadata.TransactionOptions.prototype.getExtension); +}; + + +/** + * optional string tag = 1; + * @return {string} + */ +proto.ml_metadata.TransactionOptions.prototype.getTag = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.TransactionOptions} returns this + */ +proto.ml_metadata.TransactionOptions.prototype.setTag = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.TransactionOptions} returns this + */ +proto.ml_metadata.TransactionOptions.prototype.clearTag = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.TransactionOptions.prototype.hasTag = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.ml_metadata.LineageGraphQueryOptions.oneofGroups_ = [[1]]; + +/** + * @enum {number} + */ +proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase = { + QUERY_NODES_NOT_SET: 0, + ARTIFACTS_OPTIONS: 1 +}; + +/** + * @return {proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase} + */ +proto.ml_metadata.LineageGraphQueryOptions.prototype.getQueryNodesCase = function() { + return /** @type {proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.LineageGraphQueryOptions.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.LineageGraphQueryOptions.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.LineageGraphQueryOptions.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.LineageGraphQueryOptions} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.LineageGraphQueryOptions.toObject = function(includeInstance, msg) { + var f, obj = { + artifactsOptions: (f = msg.getArtifactsOptions()) && proto.ml_metadata.ListOperationOptions.toObject(includeInstance, f), + stopConditions: (f = msg.getStopConditions()) && proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.toObject(includeInstance, f), + maxNodeSize: jspb.Message.getFieldWithDefault(msg, 3, 20) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.LineageGraphQueryOptions} + */ +proto.ml_metadata.LineageGraphQueryOptions.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.LineageGraphQueryOptions; + return proto.ml_metadata.LineageGraphQueryOptions.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.LineageGraphQueryOptions} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.LineageGraphQueryOptions} + */ +proto.ml_metadata.LineageGraphQueryOptions.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.ml_metadata.ListOperationOptions; + reader.readMessage(value,proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader); + msg.setArtifactsOptions(value); + break; + case 2: + var value = new proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint; + reader.readMessage(value,proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryFromReader); + msg.setStopConditions(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt64()); + msg.setMaxNodeSize(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.LineageGraphQueryOptions.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.LineageGraphQueryOptions.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + /** - * List of repeated fields within this message type. - * @private {!Array} - * @const + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.LineageGraphQueryOptions} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ListOperationNextPageToken.repeatedFields_ = [4]; +proto.ml_metadata.LineageGraphQueryOptions.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifactsOptions(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter + ); + } + f = message.getStopConditions(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.serializeBinaryToWriter + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeInt64( + 3, + f + ); + } +}; + + @@ -11445,8 +13679,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.ListOperationNextPageToken.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.ListOperationNextPageToken.toObject(opt_includeInstance, this); +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.toObject(opt_includeInstance, this); }; @@ -11455,16 +13689,15 @@ proto.ml_metadata.ListOperationNextPageToken.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.ListOperationNextPageToken} msg The msg instance to transform. + * @param {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ListOperationNextPageToken.toObject = function(includeInstance, msg) { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.toObject = function(includeInstance, msg) { var f, obj = { - idOffset: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - fieldOffset: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, - setOptions: (f = msg.getSetOptions()) && proto.ml_metadata.ListOperationOptions.toObject(includeInstance, f), - listedIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f + maxNumHops: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + boundaryArtifacts: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + boundaryExecutions: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -11478,23 +13711,23 @@ proto.ml_metadata.ListOperationNextPageToken.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.ListOperationNextPageToken} + * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} */ -proto.ml_metadata.ListOperationNextPageToken.deserializeBinary = function(bytes) { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.ListOperationNextPageToken; - return proto.ml_metadata.ListOperationNextPageToken.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint; + return proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.ListOperationNextPageToken} msg The message object to deserialize into. + * @param {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.ListOperationNextPageToken} + * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} */ -proto.ml_metadata.ListOperationNextPageToken.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11503,22 +13736,15 @@ proto.ml_metadata.ListOperationNextPageToken.deserializeBinaryFromReader = funct switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); - msg.setIdOffset(value); + msg.setMaxNumHops(value); break; case 2: - var value = /** @type {number} */ (reader.readInt64()); - msg.setFieldOffset(value); + var value = /** @type {string} */ (reader.readString()); + msg.setBoundaryArtifacts(value); break; case 3: - var value = new proto.ml_metadata.ListOperationOptions; - reader.readMessage(value,proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader); - msg.setSetOptions(value); - break; - case 4: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addListedIds(values[i]); - } + var value = /** @type {string} */ (reader.readString()); + msg.setBoundaryExecutions(value); break; default: reader.skipField(); @@ -11533,9 +13759,9 @@ proto.ml_metadata.ListOperationNextPageToken.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.ListOperationNextPageToken.prototype.serializeBinary = function() { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.ListOperationNextPageToken.serializeBinaryToWriter(this, writer); + proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11543,11 +13769,11 @@ proto.ml_metadata.ListOperationNextPageToken.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.ListOperationNextPageToken} message + * @param {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ListOperationNextPageToken.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { @@ -11556,25 +13782,17 @@ proto.ml_metadata.ListOperationNextPageToken.serializeBinaryToWriter = function( f ); } - f = /** @type {number} */ (jspb.Message.getField(message, 2)); + f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { - writer.writeInt64( + writer.writeString( 2, f ); } - f = message.getSetOptions(); + f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { - writer.writeMessage( + writer.writeString( 3, - f, - proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter - ); - } - f = message.getListedIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( - 4, f ); } @@ -11582,28 +13800,28 @@ proto.ml_metadata.ListOperationNextPageToken.serializeBinaryToWriter = function( /** - * optional int64 id_offset = 1; + * optional int64 max_num_hops = 1; * @return {number} */ -proto.ml_metadata.ListOperationNextPageToken.prototype.getIdOffset = function() { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.getMaxNumHops = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this */ -proto.ml_metadata.ListOperationNextPageToken.prototype.setIdOffset = function(value) { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.setMaxNumHops = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this */ -proto.ml_metadata.ListOperationNextPageToken.prototype.clearIdOffset = function() { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearMaxNumHops = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -11612,34 +13830,34 @@ proto.ml_metadata.ListOperationNextPageToken.prototype.clearIdOffset = function( * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ListOperationNextPageToken.prototype.hasIdOffset = function() { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.hasMaxNumHops = function() { return jspb.Message.getField(this, 1) != null; }; /** - * optional int64 field_offset = 2; - * @return {number} + * optional string boundary_artifacts = 2; + * @return {string} */ -proto.ml_metadata.ListOperationNextPageToken.prototype.getFieldOffset = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.getBoundaryArtifacts = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {number} value - * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + * @param {string} value + * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this */ -proto.ml_metadata.ListOperationNextPageToken.prototype.setFieldOffset = function(value) { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.setBoundaryArtifacts = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this */ -proto.ml_metadata.ListOperationNextPageToken.prototype.clearFieldOffset = function() { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearBoundaryArtifacts = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -11648,36 +13866,35 @@ proto.ml_metadata.ListOperationNextPageToken.prototype.clearFieldOffset = functi * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ListOperationNextPageToken.prototype.hasFieldOffset = function() { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.hasBoundaryArtifacts = function() { return jspb.Message.getField(this, 2) != null; }; /** - * optional ListOperationOptions set_options = 3; - * @return {?proto.ml_metadata.ListOperationOptions} + * optional string boundary_executions = 3; + * @return {string} */ -proto.ml_metadata.ListOperationNextPageToken.prototype.getSetOptions = function() { - return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.ListOperationOptions, 3)); +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.getBoundaryExecutions = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** - * @param {?proto.ml_metadata.ListOperationOptions|undefined} value - * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this -*/ -proto.ml_metadata.ListOperationNextPageToken.prototype.setSetOptions = function(value) { - return jspb.Message.setWrapperField(this, 3, value); + * @param {string} value + * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this + */ +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.setBoundaryExecutions = function(value) { + return jspb.Message.setField(this, 3, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this */ -proto.ml_metadata.ListOperationNextPageToken.prototype.clearSetOptions = function() { - return this.setSetOptions(undefined); +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearBoundaryExecutions = function() { + return jspb.Message.setField(this, 3, undefined); }; @@ -11685,154 +13902,118 @@ proto.ml_metadata.ListOperationNextPageToken.prototype.clearSetOptions = functio * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ListOperationNextPageToken.prototype.hasSetOptions = function() { +proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.hasBoundaryExecutions = function() { return jspb.Message.getField(this, 3) != null; }; /** - * repeated int64 listed_ids = 4; - * @return {!Array} + * optional ListOperationOptions artifacts_options = 1; + * @return {?proto.ml_metadata.ListOperationOptions} */ -proto.ml_metadata.ListOperationNextPageToken.prototype.getListedIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); +proto.ml_metadata.LineageGraphQueryOptions.prototype.getArtifactsOptions = function() { + return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.ListOperationOptions, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this - */ -proto.ml_metadata.ListOperationNextPageToken.prototype.setListedIdsList = function(value) { - return jspb.Message.setField(this, 4, value || []); + * @param {?proto.ml_metadata.ListOperationOptions|undefined} value + * @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this +*/ +proto.ml_metadata.LineageGraphQueryOptions.prototype.setArtifactsOptions = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.LineageGraphQueryOptions.oneofGroups_[0], value); }; /** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this */ -proto.ml_metadata.ListOperationNextPageToken.prototype.addListedIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 4, value, opt_index); +proto.ml_metadata.LineageGraphQueryOptions.prototype.clearArtifactsOptions = function() { + return this.setArtifactsOptions(undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.ListOperationNextPageToken} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.ListOperationNextPageToken.prototype.clearListedIdsList = function() { - return this.setListedIdsList([]); +proto.ml_metadata.LineageGraphQueryOptions.prototype.hasArtifactsOptions = function() { + return jspb.Message.getField(this, 1) != null; }; +/** + * optional BoundaryConstraint stop_conditions = 2; + * @return {?proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} + */ +proto.ml_metadata.LineageGraphQueryOptions.prototype.getStopConditions = function() { + return /** @type{?proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint, 2)); +}; - -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ml_metadata.TransactionOptions.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.TransactionOptions.toObject(opt_includeInstance, this); + * @param {?proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint|undefined} value + * @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this +*/ +proto.ml_metadata.LineageGraphQueryOptions.prototype.setStopConditions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.TransactionOptions} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this */ -proto.ml_metadata.TransactionOptions.toObject = function(includeInstance, msg) { - var f, obj = { - - }; +proto.ml_metadata.LineageGraphQueryOptions.prototype.clearStopConditions = function() { + return this.setStopConditions(undefined); +}; - jspb.Message.toObjectExtension(/** @type {!jspb.Message} */ (msg), obj, - proto.ml_metadata.TransactionOptions.extensions, proto.ml_metadata.TransactionOptions.prototype.getExtension, - includeInstance); - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.LineageGraphQueryOptions.prototype.hasStopConditions = function() { + return jspb.Message.getField(this, 2) != null; }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.TransactionOptions} + * optional int64 max_node_size = 3; + * @return {number} */ -proto.ml_metadata.TransactionOptions.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.TransactionOptions; - return proto.ml_metadata.TransactionOptions.deserializeBinaryFromReader(msg, reader); +proto.ml_metadata.LineageGraphQueryOptions.prototype.getMaxNodeSize = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 20)); }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.TransactionOptions} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.TransactionOptions} + * @param {number} value + * @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this */ -proto.ml_metadata.TransactionOptions.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - jspb.Message.readBinaryExtension(msg, reader, - proto.ml_metadata.TransactionOptions.extensionsBinary, - proto.ml_metadata.TransactionOptions.prototype.getExtension, - proto.ml_metadata.TransactionOptions.prototype.setExtension); - break; - } - } - return msg; +proto.ml_metadata.LineageGraphQueryOptions.prototype.setMaxNodeSize = function(value) { + return jspb.Message.setField(this, 3, value); }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * Clears the field making it undefined. + * @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this */ -proto.ml_metadata.TransactionOptions.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.TransactionOptions.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.LineageGraphQueryOptions.prototype.clearMaxNodeSize = function() { + return jspb.Message.setField(this, 3, undefined); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.TransactionOptions} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.TransactionOptions.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - jspb.Message.serializeBinaryExtensions(message, writer, - proto.ml_metadata.TransactionOptions.extensionsBinary, proto.ml_metadata.TransactionOptions.prototype.getExtension); +proto.ml_metadata.LineageGraphQueryOptions.prototype.hasMaxNodeSize = function() { + return jspb.Message.getField(this, 3) != null; }; @@ -11845,21 +14026,22 @@ proto.ml_metadata.TransactionOptions.serializeBinaryToWriter = function(message, * @private {!Array>} * @const */ -proto.ml_metadata.LineageGraphQueryOptions.oneofGroups_ = [[1]]; +proto.ml_metadata.LineageSubgraphQueryOptions.oneofGroups_ = [[1,2]]; /** * @enum {number} */ -proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase = { - QUERY_NODES_NOT_SET: 0, - ARTIFACTS_OPTIONS: 1 +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodesCase = { + STARTING_NODES_NOT_SET: 0, + STARTING_ARTIFACTS: 1, + STARTING_EXECUTIONS: 2 }; /** - * @return {proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase} + * @return {proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodesCase} */ -proto.ml_metadata.LineageGraphQueryOptions.prototype.getQueryNodesCase = function() { - return /** @type {proto.ml_metadata.LineageGraphQueryOptions.QueryNodesCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.LineageGraphQueryOptions.oneofGroups_[0])); +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.getStartingNodesCase = function() { + return /** @type {proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodesCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.LineageSubgraphQueryOptions.oneofGroups_[0])); }; @@ -11877,8 +14059,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.LineageGraphQueryOptions.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.LineageGraphQueryOptions.toObject(opt_includeInstance, this); +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.LineageSubgraphQueryOptions.toObject(opt_includeInstance, this); }; @@ -11887,14 +14069,16 @@ proto.ml_metadata.LineageGraphQueryOptions.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.LineageGraphQueryOptions} msg The msg instance to transform. + * @param {!proto.ml_metadata.LineageSubgraphQueryOptions} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.LineageGraphQueryOptions.toObject = function(includeInstance, msg) { +proto.ml_metadata.LineageSubgraphQueryOptions.toObject = function(includeInstance, msg) { var f, obj = { - artifactsOptions: (f = msg.getArtifactsOptions()) && proto.ml_metadata.ListOperationOptions.toObject(includeInstance, f), - stopConditions: (f = msg.getStopConditions()) && proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.toObject(includeInstance, f) + startingArtifacts: (f = msg.getStartingArtifacts()) && proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.toObject(includeInstance, f), + startingExecutions: (f = msg.getStartingExecutions()) && proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.toObject(includeInstance, f), + maxNumHops: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + direction: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { @@ -11908,23 +14092,23 @@ proto.ml_metadata.LineageGraphQueryOptions.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.LineageGraphQueryOptions} + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions} */ -proto.ml_metadata.LineageGraphQueryOptions.deserializeBinary = function(bytes) { +proto.ml_metadata.LineageSubgraphQueryOptions.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.LineageGraphQueryOptions; - return proto.ml_metadata.LineageGraphQueryOptions.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.LineageSubgraphQueryOptions; + return proto.ml_metadata.LineageSubgraphQueryOptions.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.LineageGraphQueryOptions} msg The message object to deserialize into. + * @param {!proto.ml_metadata.LineageSubgraphQueryOptions} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.LineageGraphQueryOptions} + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions} */ -proto.ml_metadata.LineageGraphQueryOptions.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.LineageSubgraphQueryOptions.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11932,14 +14116,22 @@ proto.ml_metadata.LineageGraphQueryOptions.deserializeBinaryFromReader = functio var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.ml_metadata.ListOperationOptions; - reader.readMessage(value,proto.ml_metadata.ListOperationOptions.deserializeBinaryFromReader); - msg.setArtifactsOptions(value); + var value = new proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes; + reader.readMessage(value,proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.deserializeBinaryFromReader); + msg.setStartingArtifacts(value); break; case 2: - var value = new proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint; - reader.readMessage(value,proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryFromReader); - msg.setStopConditions(value); + var value = new proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes; + reader.readMessage(value,proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.deserializeBinaryFromReader); + msg.setStartingExecutions(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt64()); + msg.setMaxNumHops(value); + break; + case 4: + var value = /** @type {!proto.ml_metadata.LineageSubgraphQueryOptions.Direction} */ (reader.readEnum()); + msg.setDirection(value); break; default: reader.skipField(); @@ -11954,9 +14146,9 @@ proto.ml_metadata.LineageGraphQueryOptions.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.LineageGraphQueryOptions.prototype.serializeBinary = function() { +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.LineageGraphQueryOptions.serializeBinaryToWriter(this, writer); + proto.ml_metadata.LineageSubgraphQueryOptions.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11964,31 +14156,55 @@ proto.ml_metadata.LineageGraphQueryOptions.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.LineageGraphQueryOptions} message + * @param {!proto.ml_metadata.LineageSubgraphQueryOptions} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.LineageGraphQueryOptions.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.LineageSubgraphQueryOptions.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactsOptions(); + f = message.getStartingArtifacts(); if (f != null) { writer.writeMessage( 1, f, - proto.ml_metadata.ListOperationOptions.serializeBinaryToWriter + proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.serializeBinaryToWriter ); } - f = message.getStopConditions(); + f = message.getStartingExecutions(); if (f != null) { writer.writeMessage( 2, f, - proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.serializeBinaryToWriter + proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.serializeBinaryToWriter + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeInt64( + 3, + f + ); + } + f = /** @type {!proto.ml_metadata.LineageSubgraphQueryOptions.Direction} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeEnum( + 4, + f ); } }; +/** + * @enum {number} + */ +proto.ml_metadata.LineageSubgraphQueryOptions.Direction = { + DIRECTION_UNSPECIFIED: 0, + UPSTREAM: 1, + DOWNSTREAM: 2, + BIDIRECTIONAL: 3 +}; + @@ -12005,8 +14221,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.toObject(opt_includeInstance, this); +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.toObject(opt_includeInstance, this); }; @@ -12015,15 +14231,13 @@ proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} msg The msg instance to transform. + * @param {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.toObject = function(includeInstance, msg) { +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.toObject = function(includeInstance, msg) { var f, obj = { - maxNumHops: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - boundaryArtifacts: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, - boundaryExecutions: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f + filterQuery: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -12037,23 +14251,23 @@ proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.toObject = functio /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinary = function(bytes) { +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint; - return proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes; + return proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} msg The message object to deserialize into. + * @param {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12061,16 +14275,8 @@ proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryF var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setMaxNumHops(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setBoundaryArtifacts(value); - break; - case 3: var value = /** @type {string} */ (reader.readString()); - msg.setBoundaryExecutions(value); + msg.setFilterQuery(value); break; default: reader.skipField(); @@ -12085,9 +14291,9 @@ proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.deserializeBinaryF * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.serializeBinary = function() { +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.serializeBinaryToWriter(this, writer); + proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -12095,30 +14301,16 @@ proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.serializ /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} message + * @param {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeInt64( - 1, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); + f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( - 3, + 1, f ); } @@ -12126,28 +14318,28 @@ proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.serializeBinaryToW /** - * optional int64 max_num_hops = 1; - * @return {number} + * optional string filter_query = 1; + * @return {string} */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.getMaxNumHops = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.getFilterQuery = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {number} value - * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this + * @param {string} value + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} returns this */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.setMaxNumHops = function(value) { +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.setFilterQuery = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} returns this */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearMaxNumHops = function() { +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.clearFilterQuery = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -12156,35 +14348,36 @@ proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearMax * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.hasMaxNumHops = function() { +proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes.prototype.hasFilterQuery = function() { return jspb.Message.getField(this, 1) != null; }; /** - * optional string boundary_artifacts = 2; - * @return {string} + * optional StartingNodes starting_artifacts = 1; + * @return {?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.getBoundaryArtifacts = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.getStartingArtifacts = function() { + return /** @type{?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes, 1)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this - */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.setBoundaryArtifacts = function(value) { - return jspb.Message.setField(this, 2, value); + * @param {?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes|undefined} value + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this +*/ +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.setStartingArtifacts = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.LineageSubgraphQueryOptions.oneofGroups_[0], value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearBoundaryArtifacts = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.clearStartingArtifacts = function() { + return this.setStartingArtifacts(undefined); }; @@ -12192,35 +14385,36 @@ proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearBou * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.hasBoundaryArtifacts = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.hasStartingArtifacts = function() { + return jspb.Message.getField(this, 1) != null; }; /** - * optional string boundary_executions = 3; - * @return {string} + * optional StartingNodes starting_executions = 2; + * @return {?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.getBoundaryExecutions = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.getStartingExecutions = function() { + return /** @type{?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes, 2)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this - */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.setBoundaryExecutions = function(value) { - return jspb.Message.setField(this, 3, value); + * @param {?proto.ml_metadata.LineageSubgraphQueryOptions.StartingNodes|undefined} value + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this +*/ +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.setStartingExecutions = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.ml_metadata.LineageSubgraphQueryOptions.oneofGroups_[0], value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearBoundaryExecutions = function() { - return jspb.Message.setField(this, 3, undefined); +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.clearStartingExecutions = function() { + return this.setStartingExecutions(undefined); }; @@ -12228,36 +14422,35 @@ proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.clearBou * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint.prototype.hasBoundaryExecutions = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.hasStartingExecutions = function() { + return jspb.Message.getField(this, 2) != null; }; /** - * optional ListOperationOptions artifacts_options = 1; - * @return {?proto.ml_metadata.ListOperationOptions} + * optional int64 max_num_hops = 3; + * @return {number} */ -proto.ml_metadata.LineageGraphQueryOptions.prototype.getArtifactsOptions = function() { - return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.ListOperationOptions, 1)); +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.getMaxNumHops = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** - * @param {?proto.ml_metadata.ListOperationOptions|undefined} value - * @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this -*/ -proto.ml_metadata.LineageGraphQueryOptions.prototype.setArtifactsOptions = function(value) { - return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.LineageGraphQueryOptions.oneofGroups_[0], value); + * @param {number} value + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this + */ +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.setMaxNumHops = function(value) { + return jspb.Message.setField(this, 3, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this */ -proto.ml_metadata.LineageGraphQueryOptions.prototype.clearArtifactsOptions = function() { - return this.setArtifactsOptions(undefined); +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.clearMaxNumHops = function() { + return jspb.Message.setField(this, 3, undefined); }; @@ -12265,36 +14458,35 @@ proto.ml_metadata.LineageGraphQueryOptions.prototype.clearArtifactsOptions = fun * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.LineageGraphQueryOptions.prototype.hasArtifactsOptions = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.hasMaxNumHops = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * optional BoundaryConstraint stop_conditions = 2; - * @return {?proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} + * optional Direction direction = 4; + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions.Direction} */ -proto.ml_metadata.LineageGraphQueryOptions.prototype.getStopConditions = function() { - return /** @type{?proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint, 2)); +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.getDirection = function() { + return /** @type {!proto.ml_metadata.LineageSubgraphQueryOptions.Direction} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** - * @param {?proto.ml_metadata.LineageGraphQueryOptions.BoundaryConstraint|undefined} value - * @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this -*/ -proto.ml_metadata.LineageGraphQueryOptions.prototype.setStopConditions = function(value) { - return jspb.Message.setWrapperField(this, 2, value); + * @param {!proto.ml_metadata.LineageSubgraphQueryOptions.Direction} value + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this + */ +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.setDirection = function(value) { + return jspb.Message.setField(this, 4, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.LineageGraphQueryOptions} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.LineageSubgraphQueryOptions} returns this */ -proto.ml_metadata.LineageGraphQueryOptions.prototype.clearStopConditions = function() { - return this.setStopConditions(undefined); +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.clearDirection = function() { + return jspb.Message.setField(this, 4, undefined); }; @@ -12302,8 +14494,8 @@ proto.ml_metadata.LineageGraphQueryOptions.prototype.clearStopConditions = funct * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.LineageGraphQueryOptions.prototype.hasStopConditions = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.LineageSubgraphQueryOptions.prototype.hasDirection = function() { + return jspb.Message.getField(this, 4) != null; }; @@ -12315,7 +14507,9 @@ proto.ml_metadata.PropertyType = { INT: 1, DOUBLE: 2, STRING: 3, - STRUCT: 4 + STRUCT: 4, + PROTO: 5, + BOOLEAN: 6 }; diff --git a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_grpc_web_pb.d.ts b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_grpc_web_pb.d.ts index 506a36e70e6..1489129c230 100644 --- a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_grpc_web_pb.d.ts +++ b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_grpc_web_pb.d.ts @@ -64,6 +64,13 @@ export class MetadataStoreServiceClient { response: ml_metadata_proto_metadata_store_service_pb.PutExecutionResponse) => void ): grpcWeb.ClientReadableStream; + putLineageSubgraph( + request: ml_metadata_proto_metadata_store_service_pb.PutLineageSubgraphRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: ml_metadata_proto_metadata_store_service_pb.PutLineageSubgraphResponse) => void + ): grpcWeb.ClientReadableStream; + putContexts( request: ml_metadata_proto_metadata_store_service_pb.PutContextsRequest, metadata: grpcWeb.Metadata | undefined, @@ -253,6 +260,48 @@ export class MetadataStoreServiceClient { response: ml_metadata_proto_metadata_store_service_pb.GetEventsByArtifactIDsResponse) => void ): grpcWeb.ClientReadableStream; + getArtifactsByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByExternalIdsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByExternalIdsResponse) => void + ): grpcWeb.ClientReadableStream; + + getExecutionsByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByExternalIdsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByExternalIdsResponse) => void + ): grpcWeb.ClientReadableStream; + + getContextsByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetContextsByExternalIdsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: ml_metadata_proto_metadata_store_service_pb.GetContextsByExternalIdsResponse) => void + ): grpcWeb.ClientReadableStream; + + getArtifactTypesByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByExternalIdsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByExternalIdsResponse) => void + ): grpcWeb.ClientReadableStream; + + getExecutionTypesByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByExternalIdsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByExternalIdsResponse) => void + ): grpcWeb.ClientReadableStream; + + getContextTypesByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetContextTypesByExternalIdsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: ml_metadata_proto_metadata_store_service_pb.GetContextTypesByExternalIdsResponse) => void + ): grpcWeb.ClientReadableStream; + getContextsByArtifact( request: ml_metadata_proto_metadata_store_service_pb.GetContextsByArtifactRequest, metadata: grpcWeb.Metadata | undefined, @@ -281,6 +330,20 @@ export class MetadataStoreServiceClient { response: ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextResponse) => void ): grpcWeb.ClientReadableStream; + getParentContextsByContexts( + request: ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextsResponse) => void + ): grpcWeb.ClientReadableStream; + + getChildrenContextsByContexts( + request: ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextsRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextsResponse) => void + ): grpcWeb.ClientReadableStream; + getArtifactsByContext( request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByContextRequest, metadata: grpcWeb.Metadata | undefined, @@ -302,6 +365,13 @@ export class MetadataStoreServiceClient { response: ml_metadata_proto_metadata_store_service_pb.GetLineageGraphResponse) => void ): grpcWeb.ClientReadableStream; + getLineageSubgraph( + request: ml_metadata_proto_metadata_store_service_pb.GetLineageSubgraphRequest, + metadata: grpcWeb.Metadata | undefined, + callback: (err: grpcWeb.RpcError, + response: ml_metadata_proto_metadata_store_service_pb.GetLineageSubgraphResponse) => void + ): grpcWeb.ClientReadableStream; + } export class MetadataStoreServicePromiseClient { @@ -349,6 +419,11 @@ export class MetadataStoreServicePromiseClient { metadata?: grpcWeb.Metadata ): Promise; + putLineageSubgraph( + request: ml_metadata_proto_metadata_store_service_pb.PutLineageSubgraphRequest, + metadata?: grpcWeb.Metadata + ): Promise; + putContexts( request: ml_metadata_proto_metadata_store_service_pb.PutContextsRequest, metadata?: grpcWeb.Metadata @@ -484,6 +559,36 @@ export class MetadataStoreServicePromiseClient { metadata?: grpcWeb.Metadata ): Promise; + getArtifactsByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByExternalIdsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getExecutionsByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetExecutionsByExternalIdsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getContextsByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetContextsByExternalIdsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getArtifactTypesByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetArtifactTypesByExternalIdsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getExecutionTypesByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetExecutionTypesByExternalIdsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getContextTypesByExternalIds( + request: ml_metadata_proto_metadata_store_service_pb.GetContextTypesByExternalIdsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + getContextsByArtifact( request: ml_metadata_proto_metadata_store_service_pb.GetContextsByArtifactRequest, metadata?: grpcWeb.Metadata @@ -504,6 +609,16 @@ export class MetadataStoreServicePromiseClient { metadata?: grpcWeb.Metadata ): Promise; + getParentContextsByContexts( + request: ml_metadata_proto_metadata_store_service_pb.GetParentContextsByContextsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + + getChildrenContextsByContexts( + request: ml_metadata_proto_metadata_store_service_pb.GetChildrenContextsByContextsRequest, + metadata?: grpcWeb.Metadata + ): Promise; + getArtifactsByContext( request: ml_metadata_proto_metadata_store_service_pb.GetArtifactsByContextRequest, metadata?: grpcWeb.Metadata @@ -519,5 +634,10 @@ export class MetadataStoreServicePromiseClient { metadata?: grpcWeb.Metadata ): Promise; + getLineageSubgraph( + request: ml_metadata_proto_metadata_store_service_pb.GetLineageSubgraphRequest, + metadata?: grpcWeb.Metadata + ): Promise; + } diff --git a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_grpc_web_pb.js b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_grpc_web_pb.js index 9e4d1a33d2c..db5c216b49a 100644 --- a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_grpc_web_pb.js +++ b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_grpc_web_pb.js @@ -16,6 +16,8 @@ const grpc = {}; grpc.web = require('grpc-web'); +var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js') + var ml_metadata_proto_metadata_store_pb = require('../../ml_metadata/proto/metadata_store_pb.js') const proto = {}; proto.ml_metadata = require('./metadata_store_service_pb.js'); @@ -560,6 +562,67 @@ proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putExecution = }; +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.ml_metadata.PutLineageSubgraphRequest, + * !proto.ml_metadata.PutLineageSubgraphResponse>} + */ +const methodDescriptor_MetadataStoreService_PutLineageSubgraph = new grpc.web.MethodDescriptor( + '/ml_metadata.MetadataStoreService/PutLineageSubgraph', + grpc.web.MethodType.UNARY, + proto.ml_metadata.PutLineageSubgraphRequest, + proto.ml_metadata.PutLineageSubgraphResponse, + /** + * @param {!proto.ml_metadata.PutLineageSubgraphRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.ml_metadata.PutLineageSubgraphResponse.deserializeBinary +); + + +/** + * @param {!proto.ml_metadata.PutLineageSubgraphRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.ml_metadata.PutLineageSubgraphResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.ml_metadata.MetadataStoreServiceClient.prototype.putLineageSubgraph = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/PutLineageSubgraph', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_PutLineageSubgraph, + callback); +}; + + +/** + * @param {!proto.ml_metadata.PutLineageSubgraphRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.putLineageSubgraph = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/PutLineageSubgraph', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_PutLineageSubgraph); +}; + + /** * @const * @type {!grpc.web.MethodDescriptor< @@ -2207,6 +2270,372 @@ proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getEventsByArtifac }; +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.ml_metadata.GetArtifactsByExternalIdsRequest, + * !proto.ml_metadata.GetArtifactsByExternalIdsResponse>} + */ +const methodDescriptor_MetadataStoreService_GetArtifactsByExternalIds = new grpc.web.MethodDescriptor( + '/ml_metadata.MetadataStoreService/GetArtifactsByExternalIds', + grpc.web.MethodType.UNARY, + proto.ml_metadata.GetArtifactsByExternalIdsRequest, + proto.ml_metadata.GetArtifactsByExternalIdsResponse, + /** + * @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.ml_metadata.GetArtifactsByExternalIdsResponse.deserializeBinary +); + + +/** + * @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactsByExternalIdsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactsByExternalIds = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetArtifactsByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetArtifactsByExternalIds, + callback); +}; + + +/** + * @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactsByExternalIds = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetArtifactsByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetArtifactsByExternalIds); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.ml_metadata.GetExecutionsByExternalIdsRequest, + * !proto.ml_metadata.GetExecutionsByExternalIdsResponse>} + */ +const methodDescriptor_MetadataStoreService_GetExecutionsByExternalIds = new grpc.web.MethodDescriptor( + '/ml_metadata.MetadataStoreService/GetExecutionsByExternalIds', + grpc.web.MethodType.UNARY, + proto.ml_metadata.GetExecutionsByExternalIdsRequest, + proto.ml_metadata.GetExecutionsByExternalIdsResponse, + /** + * @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.ml_metadata.GetExecutionsByExternalIdsResponse.deserializeBinary +); + + +/** + * @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionsByExternalIdsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionsByExternalIds = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetExecutionsByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetExecutionsByExternalIds, + callback); +}; + + +/** + * @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionsByExternalIds = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetExecutionsByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetExecutionsByExternalIds); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.ml_metadata.GetContextsByExternalIdsRequest, + * !proto.ml_metadata.GetContextsByExternalIdsResponse>} + */ +const methodDescriptor_MetadataStoreService_GetContextsByExternalIds = new grpc.web.MethodDescriptor( + '/ml_metadata.MetadataStoreService/GetContextsByExternalIds', + grpc.web.MethodType.UNARY, + proto.ml_metadata.GetContextsByExternalIdsRequest, + proto.ml_metadata.GetContextsByExternalIdsResponse, + /** + * @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.ml_metadata.GetContextsByExternalIdsResponse.deserializeBinary +); + + +/** + * @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextsByExternalIdsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextsByExternalIds = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetContextsByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetContextsByExternalIds, + callback); +}; + + +/** + * @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextsByExternalIds = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetContextsByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetContextsByExternalIds); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.ml_metadata.GetArtifactTypesByExternalIdsRequest, + * !proto.ml_metadata.GetArtifactTypesByExternalIdsResponse>} + */ +const methodDescriptor_MetadataStoreService_GetArtifactTypesByExternalIds = new grpc.web.MethodDescriptor( + '/ml_metadata.MetadataStoreService/GetArtifactTypesByExternalIds', + grpc.web.MethodType.UNARY, + proto.ml_metadata.GetArtifactTypesByExternalIdsRequest, + proto.ml_metadata.GetArtifactTypesByExternalIdsResponse, + /** + * @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.deserializeBinary +); + + +/** + * @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetArtifactTypesByExternalIdsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.ml_metadata.MetadataStoreServiceClient.prototype.getArtifactTypesByExternalIds = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetArtifactTypesByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetArtifactTypesByExternalIds, + callback); +}; + + +/** + * @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getArtifactTypesByExternalIds = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetArtifactTypesByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetArtifactTypesByExternalIds); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.ml_metadata.GetExecutionTypesByExternalIdsRequest, + * !proto.ml_metadata.GetExecutionTypesByExternalIdsResponse>} + */ +const methodDescriptor_MetadataStoreService_GetExecutionTypesByExternalIds = new grpc.web.MethodDescriptor( + '/ml_metadata.MetadataStoreService/GetExecutionTypesByExternalIds', + grpc.web.MethodType.UNARY, + proto.ml_metadata.GetExecutionTypesByExternalIdsRequest, + proto.ml_metadata.GetExecutionTypesByExternalIdsResponse, + /** + * @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.deserializeBinary +); + + +/** + * @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetExecutionTypesByExternalIdsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.ml_metadata.MetadataStoreServiceClient.prototype.getExecutionTypesByExternalIds = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetExecutionTypesByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetExecutionTypesByExternalIds, + callback); +}; + + +/** + * @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getExecutionTypesByExternalIds = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetExecutionTypesByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetExecutionTypesByExternalIds); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.ml_metadata.GetContextTypesByExternalIdsRequest, + * !proto.ml_metadata.GetContextTypesByExternalIdsResponse>} + */ +const methodDescriptor_MetadataStoreService_GetContextTypesByExternalIds = new grpc.web.MethodDescriptor( + '/ml_metadata.MetadataStoreService/GetContextTypesByExternalIds', + grpc.web.MethodType.UNARY, + proto.ml_metadata.GetContextTypesByExternalIdsRequest, + proto.ml_metadata.GetContextTypesByExternalIdsResponse, + /** + * @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.ml_metadata.GetContextTypesByExternalIdsResponse.deserializeBinary +); + + +/** + * @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetContextTypesByExternalIdsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.ml_metadata.MetadataStoreServiceClient.prototype.getContextTypesByExternalIds = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetContextTypesByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetContextTypesByExternalIds, + callback); +}; + + +/** + * @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getContextTypesByExternalIds = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetContextTypesByExternalIds', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetContextTypesByExternalIds); +}; + + /** * @const * @type {!grpc.web.MethodDescriptor< @@ -2451,6 +2880,128 @@ proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getChildrenContext }; +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.ml_metadata.GetParentContextsByContextsRequest, + * !proto.ml_metadata.GetParentContextsByContextsResponse>} + */ +const methodDescriptor_MetadataStoreService_GetParentContextsByContexts = new grpc.web.MethodDescriptor( + '/ml_metadata.MetadataStoreService/GetParentContextsByContexts', + grpc.web.MethodType.UNARY, + proto.ml_metadata.GetParentContextsByContextsRequest, + proto.ml_metadata.GetParentContextsByContextsResponse, + /** + * @param {!proto.ml_metadata.GetParentContextsByContextsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.ml_metadata.GetParentContextsByContextsResponse.deserializeBinary +); + + +/** + * @param {!proto.ml_metadata.GetParentContextsByContextsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetParentContextsByContextsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.ml_metadata.MetadataStoreServiceClient.prototype.getParentContextsByContexts = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetParentContextsByContexts', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetParentContextsByContexts, + callback); +}; + + +/** + * @param {!proto.ml_metadata.GetParentContextsByContextsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getParentContextsByContexts = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetParentContextsByContexts', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetParentContextsByContexts); +}; + + +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.ml_metadata.GetChildrenContextsByContextsRequest, + * !proto.ml_metadata.GetChildrenContextsByContextsResponse>} + */ +const methodDescriptor_MetadataStoreService_GetChildrenContextsByContexts = new grpc.web.MethodDescriptor( + '/ml_metadata.MetadataStoreService/GetChildrenContextsByContexts', + grpc.web.MethodType.UNARY, + proto.ml_metadata.GetChildrenContextsByContextsRequest, + proto.ml_metadata.GetChildrenContextsByContextsResponse, + /** + * @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.ml_metadata.GetChildrenContextsByContextsResponse.deserializeBinary +); + + +/** + * @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetChildrenContextsByContextsResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.ml_metadata.MetadataStoreServiceClient.prototype.getChildrenContextsByContexts = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetChildrenContextsByContexts', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetChildrenContextsByContexts, + callback); +}; + + +/** + * @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getChildrenContextsByContexts = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetChildrenContextsByContexts', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetChildrenContextsByContexts); +}; + + /** * @const * @type {!grpc.web.MethodDescriptor< @@ -2634,5 +3185,66 @@ proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getLineageGraph = }; +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.ml_metadata.GetLineageSubgraphRequest, + * !proto.ml_metadata.GetLineageSubgraphResponse>} + */ +const methodDescriptor_MetadataStoreService_GetLineageSubgraph = new grpc.web.MethodDescriptor( + '/ml_metadata.MetadataStoreService/GetLineageSubgraph', + grpc.web.MethodType.UNARY, + proto.ml_metadata.GetLineageSubgraphRequest, + proto.ml_metadata.GetLineageSubgraphResponse, + /** + * @param {!proto.ml_metadata.GetLineageSubgraphRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.ml_metadata.GetLineageSubgraphResponse.deserializeBinary +); + + +/** + * @param {!proto.ml_metadata.GetLineageSubgraphRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.ml_metadata.GetLineageSubgraphResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.ml_metadata.MetadataStoreServiceClient.prototype.getLineageSubgraph = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetLineageSubgraph', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetLineageSubgraph, + callback); +}; + + +/** + * @param {!proto.ml_metadata.GetLineageSubgraphRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.ml_metadata.MetadataStoreServicePromiseClient.prototype.getLineageSubgraph = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/ml_metadata.MetadataStoreService/GetLineageSubgraph', + request, + metadata || {}, + methodDescriptor_MetadataStoreService_GetLineageSubgraph); +}; + + module.exports = proto.ml_metadata; diff --git a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_pb.d.ts b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_pb.d.ts index d59fdebc00f..83fb1f015c3 100644 --- a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_pb.d.ts +++ b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_pb.d.ts @@ -1,5 +1,6 @@ import * as jspb from 'google-protobuf' +import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; import * as ml_metadata_proto_metadata_store_pb from '../../ml_metadata/proto/metadata_store_pb'; @@ -119,6 +120,16 @@ export class PutArtifactsRequest extends jspb.Message { hasOptions(): boolean; clearOptions(): PutArtifactsRequest; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutArtifactsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutArtifactsRequest; + + getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined; + setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): PutArtifactsRequest; + hasUpdateMask(): boolean; + clearUpdateMask(): PutArtifactsRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutArtifactsRequest.AsObject; static toObject(includeInstance: boolean, msg: PutArtifactsRequest): PutArtifactsRequest.AsObject; @@ -131,6 +142,8 @@ export namespace PutArtifactsRequest { export type AsObject = { artifactsList: Array, options?: PutArtifactsRequest.Options.AsObject, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject, } export class Options extends jspb.Message { @@ -191,6 +204,11 @@ export class PutArtifactTypeRequest extends jspb.Message { getAllFieldsMatch(): boolean; setAllFieldsMatch(value: boolean): PutArtifactTypeRequest; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutArtifactTypeRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutArtifactTypeRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutArtifactTypeRequest.AsObject; static toObject(includeInstance: boolean, msg: PutArtifactTypeRequest): PutArtifactTypeRequest.AsObject; @@ -206,6 +224,7 @@ export namespace PutArtifactTypeRequest { canOmitFields: boolean, canDeleteFields: boolean, allFieldsMatch: boolean, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, } } @@ -233,6 +252,16 @@ export class PutExecutionsRequest extends jspb.Message { clearExecutionsList(): PutExecutionsRequest; addExecutions(value?: ml_metadata_proto_metadata_store_pb.Execution, index?: number): ml_metadata_proto_metadata_store_pb.Execution; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutExecutionsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutExecutionsRequest; + + getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined; + setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): PutExecutionsRequest; + hasUpdateMask(): boolean; + clearUpdateMask(): PutExecutionsRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutExecutionsRequest.AsObject; static toObject(includeInstance: boolean, msg: PutExecutionsRequest): PutExecutionsRequest.AsObject; @@ -244,6 +273,8 @@ export class PutExecutionsRequest extends jspb.Message { export namespace PutExecutionsRequest { export type AsObject = { executionsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject, } } @@ -285,6 +316,11 @@ export class PutExecutionTypeRequest extends jspb.Message { getAllFieldsMatch(): boolean; setAllFieldsMatch(value: boolean): PutExecutionTypeRequest; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutExecutionTypeRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutExecutionTypeRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutExecutionTypeRequest.AsObject; static toObject(includeInstance: boolean, msg: PutExecutionTypeRequest): PutExecutionTypeRequest.AsObject; @@ -300,6 +336,7 @@ export namespace PutExecutionTypeRequest { canOmitFields: boolean, canDeleteFields: boolean, allFieldsMatch: boolean, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, } } @@ -327,6 +364,11 @@ export class PutEventsRequest extends jspb.Message { clearEventsList(): PutEventsRequest; addEvents(value?: ml_metadata_proto_metadata_store_pb.Event, index?: number): ml_metadata_proto_metadata_store_pb.Event; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutEventsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutEventsRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutEventsRequest.AsObject; static toObject(includeInstance: boolean, msg: PutEventsRequest): PutEventsRequest.AsObject; @@ -338,6 +380,7 @@ export class PutEventsRequest extends jspb.Message { export namespace PutEventsRequest { export type AsObject = { eventsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, } } @@ -376,6 +419,11 @@ export class PutExecutionRequest extends jspb.Message { hasOptions(): boolean; clearOptions(): PutExecutionRequest; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutExecutionRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutExecutionRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutExecutionRequest.AsObject; static toObject(includeInstance: boolean, msg: PutExecutionRequest): PutExecutionRequest.AsObject; @@ -390,6 +438,7 @@ export namespace PutExecutionRequest { artifactEventPairsList: Array, contextsList: Array, options?: PutExecutionRequest.Options.AsObject, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, } export class ArtifactAndEvent extends jspb.Message { @@ -423,6 +472,9 @@ export namespace PutExecutionRequest { getReuseContextIfAlreadyExist(): boolean; setReuseContextIfAlreadyExist(value: boolean): Options; + getReuseArtifactIfAlreadyExistByExternalId(): boolean; + setReuseArtifactIfAlreadyExistByExternalId(value: boolean): Options; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Options.AsObject; static toObject(includeInstance: boolean, msg: Options): Options.AsObject; @@ -434,6 +486,7 @@ export namespace PutExecutionRequest { export namespace Options { export type AsObject = { reuseContextIfAlreadyExist: boolean, + reuseArtifactIfAlreadyExistByExternalId: boolean, } } @@ -469,6 +522,140 @@ export namespace PutExecutionResponse { } } +export class PutLineageSubgraphRequest extends jspb.Message { + getExecutionsList(): Array; + setExecutionsList(value: Array): PutLineageSubgraphRequest; + clearExecutionsList(): PutLineageSubgraphRequest; + addExecutions(value?: ml_metadata_proto_metadata_store_pb.Execution, index?: number): ml_metadata_proto_metadata_store_pb.Execution; + + getArtifactsList(): Array; + setArtifactsList(value: Array): PutLineageSubgraphRequest; + clearArtifactsList(): PutLineageSubgraphRequest; + addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact; + + getContextsList(): Array; + setContextsList(value: Array): PutLineageSubgraphRequest; + clearContextsList(): PutLineageSubgraphRequest; + addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context; + + getEventEdgesList(): Array; + setEventEdgesList(value: Array): PutLineageSubgraphRequest; + clearEventEdgesList(): PutLineageSubgraphRequest; + addEventEdges(value?: PutLineageSubgraphRequest.EventEdge, index?: number): PutLineageSubgraphRequest.EventEdge; + + getOptions(): PutLineageSubgraphRequest.Options | undefined; + setOptions(value?: PutLineageSubgraphRequest.Options): PutLineageSubgraphRequest; + hasOptions(): boolean; + clearOptions(): PutLineageSubgraphRequest; + + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutLineageSubgraphRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutLineageSubgraphRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PutLineageSubgraphRequest.AsObject; + static toObject(includeInstance: boolean, msg: PutLineageSubgraphRequest): PutLineageSubgraphRequest.AsObject; + static serializeBinaryToWriter(message: PutLineageSubgraphRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PutLineageSubgraphRequest; + static deserializeBinaryFromReader(message: PutLineageSubgraphRequest, reader: jspb.BinaryReader): PutLineageSubgraphRequest; +} + +export namespace PutLineageSubgraphRequest { + export type AsObject = { + executionsList: Array, + artifactsList: Array, + contextsList: Array, + eventEdgesList: Array, + options?: PutLineageSubgraphRequest.Options.AsObject, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + } + + export class EventEdge extends jspb.Message { + getExecutionIndex(): number; + setExecutionIndex(value: number): EventEdge; + + getArtifactIndex(): number; + setArtifactIndex(value: number): EventEdge; + + getEvent(): ml_metadata_proto_metadata_store_pb.Event | undefined; + setEvent(value?: ml_metadata_proto_metadata_store_pb.Event): EventEdge; + hasEvent(): boolean; + clearEvent(): EventEdge; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EventEdge.AsObject; + static toObject(includeInstance: boolean, msg: EventEdge): EventEdge.AsObject; + static serializeBinaryToWriter(message: EventEdge, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EventEdge; + static deserializeBinaryFromReader(message: EventEdge, reader: jspb.BinaryReader): EventEdge; + } + + export namespace EventEdge { + export type AsObject = { + executionIndex: number, + artifactIndex: number, + event?: ml_metadata_proto_metadata_store_pb.Event.AsObject, + } + } + + + export class Options extends jspb.Message { + getReuseContextIfAlreadyExist(): boolean; + setReuseContextIfAlreadyExist(value: boolean): Options; + + getReuseArtifactIfAlreadyExistByExternalId(): boolean; + setReuseArtifactIfAlreadyExistByExternalId(value: boolean): Options; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): Options.AsObject; + static toObject(includeInstance: boolean, msg: Options): Options.AsObject; + static serializeBinaryToWriter(message: Options, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): Options; + static deserializeBinaryFromReader(message: Options, reader: jspb.BinaryReader): Options; + } + + export namespace Options { + export type AsObject = { + reuseContextIfAlreadyExist: boolean, + reuseArtifactIfAlreadyExistByExternalId: boolean, + } + } + +} + +export class PutLineageSubgraphResponse extends jspb.Message { + getExecutionIdsList(): Array; + setExecutionIdsList(value: Array): PutLineageSubgraphResponse; + clearExecutionIdsList(): PutLineageSubgraphResponse; + addExecutionIds(value: number, index?: number): PutLineageSubgraphResponse; + + getArtifactIdsList(): Array; + setArtifactIdsList(value: Array): PutLineageSubgraphResponse; + clearArtifactIdsList(): PutLineageSubgraphResponse; + addArtifactIds(value: number, index?: number): PutLineageSubgraphResponse; + + getContextIdsList(): Array; + setContextIdsList(value: Array): PutLineageSubgraphResponse; + clearContextIdsList(): PutLineageSubgraphResponse; + addContextIds(value: number, index?: number): PutLineageSubgraphResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PutLineageSubgraphResponse.AsObject; + static toObject(includeInstance: boolean, msg: PutLineageSubgraphResponse): PutLineageSubgraphResponse.AsObject; + static serializeBinaryToWriter(message: PutLineageSubgraphResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PutLineageSubgraphResponse; + static deserializeBinaryFromReader(message: PutLineageSubgraphResponse, reader: jspb.BinaryReader): PutLineageSubgraphResponse; +} + +export namespace PutLineageSubgraphResponse { + export type AsObject = { + executionIdsList: Array, + artifactIdsList: Array, + contextIdsList: Array, + } +} + export class PutTypesRequest extends jspb.Message { getArtifactTypesList(): Array; setArtifactTypesList(value: Array): PutTypesRequest; @@ -497,6 +684,11 @@ export class PutTypesRequest extends jspb.Message { getAllFieldsMatch(): boolean; setAllFieldsMatch(value: boolean): PutTypesRequest; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutTypesRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutTypesRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutTypesRequest.AsObject; static toObject(includeInstance: boolean, msg: PutTypesRequest): PutTypesRequest.AsObject; @@ -514,6 +706,7 @@ export namespace PutTypesRequest { canOmitFields: boolean, canDeleteFields: boolean, allFieldsMatch: boolean, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, } } @@ -567,6 +760,11 @@ export class PutContextTypeRequest extends jspb.Message { getAllFieldsMatch(): boolean; setAllFieldsMatch(value: boolean): PutContextTypeRequest; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutContextTypeRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutContextTypeRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutContextTypeRequest.AsObject; static toObject(includeInstance: boolean, msg: PutContextTypeRequest): PutContextTypeRequest.AsObject; @@ -582,6 +780,7 @@ export namespace PutContextTypeRequest { canOmitFields: boolean, canDeleteFields: boolean, allFieldsMatch: boolean, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, } } @@ -609,6 +808,16 @@ export class PutContextsRequest extends jspb.Message { clearContextsList(): PutContextsRequest; addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutContextsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutContextsRequest; + + getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined; + setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): PutContextsRequest; + hasUpdateMask(): boolean; + clearUpdateMask(): PutContextsRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutContextsRequest.AsObject; static toObject(includeInstance: boolean, msg: PutContextsRequest): PutContextsRequest.AsObject; @@ -620,6 +829,8 @@ export class PutContextsRequest extends jspb.Message { export namespace PutContextsRequest { export type AsObject = { contextsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject, } } @@ -654,6 +865,11 @@ export class PutAttributionsAndAssociationsRequest extends jspb.Message { clearAssociationsList(): PutAttributionsAndAssociationsRequest; addAssociations(value?: ml_metadata_proto_metadata_store_pb.Association, index?: number): ml_metadata_proto_metadata_store_pb.Association; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutAttributionsAndAssociationsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutAttributionsAndAssociationsRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutAttributionsAndAssociationsRequest.AsObject; static toObject(includeInstance: boolean, msg: PutAttributionsAndAssociationsRequest): PutAttributionsAndAssociationsRequest.AsObject; @@ -666,6 +882,7 @@ export namespace PutAttributionsAndAssociationsRequest { export type AsObject = { attributionsList: Array, associationsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, } } @@ -689,6 +906,11 @@ export class PutParentContextsRequest extends jspb.Message { clearParentContextsList(): PutParentContextsRequest; addParentContexts(value?: ml_metadata_proto_metadata_store_pb.ParentContext, index?: number): ml_metadata_proto_metadata_store_pb.ParentContext; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): PutParentContextsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): PutParentContextsRequest; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PutParentContextsRequest.AsObject; static toObject(includeInstance: boolean, msg: PutParentContextsRequest): PutParentContextsRequest.AsObject; @@ -700,6 +922,7 @@ export class PutParentContextsRequest extends jspb.Message { export namespace PutParentContextsRequest { export type AsObject = { parentContextsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, } } @@ -833,6 +1056,9 @@ export class GetArtifactsByIDRequest extends jspb.Message { clearArtifactIdsList(): GetArtifactsByIDRequest; addArtifactIds(value: number, index?: number): GetArtifactsByIDRequest; + getPopulateArtifactTypes(): boolean; + setPopulateArtifactTypes(value: boolean): GetArtifactsByIDRequest; + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactsByIDRequest; hasTransactionOptions(): boolean; @@ -849,6 +1075,7 @@ export class GetArtifactsByIDRequest extends jspb.Message { export namespace GetArtifactsByIDRequest { export type AsObject = { artifactIdsList: Array, + populateArtifactTypes: boolean, transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, } } @@ -859,6 +1086,11 @@ export class GetArtifactsByIDResponse extends jspb.Message { clearArtifactsList(): GetArtifactsByIDResponse; addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact; + getArtifactTypesList(): Array; + setArtifactTypesList(value: Array): GetArtifactsByIDResponse; + clearArtifactTypesList(): GetArtifactsByIDResponse; + addArtifactTypes(value?: ml_metadata_proto_metadata_store_pb.ArtifactType, index?: number): ml_metadata_proto_metadata_store_pb.ArtifactType; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetArtifactsByIDResponse.AsObject; static toObject(includeInstance: boolean, msg: GetArtifactsByIDResponse): GetArtifactsByIDResponse.AsObject; @@ -870,6 +1102,7 @@ export class GetArtifactsByIDResponse extends jspb.Message { export namespace GetArtifactsByIDResponse { export type AsObject = { artifactsList: Array, + artifactTypesList: Array, } } @@ -1187,6 +1420,282 @@ export namespace GetContextTypesResponse { } } +export class GetArtifactsByExternalIdsRequest extends jspb.Message { + getExternalIdsList(): Array; + setExternalIdsList(value: Array): GetArtifactsByExternalIdsRequest; + clearExternalIdsList(): GetArtifactsByExternalIdsRequest; + addExternalIds(value: string, index?: number): GetArtifactsByExternalIdsRequest; + + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactsByExternalIdsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): GetArtifactsByExternalIdsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetArtifactsByExternalIdsRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetArtifactsByExternalIdsRequest): GetArtifactsByExternalIdsRequest.AsObject; + static serializeBinaryToWriter(message: GetArtifactsByExternalIdsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetArtifactsByExternalIdsRequest; + static deserializeBinaryFromReader(message: GetArtifactsByExternalIdsRequest, reader: jspb.BinaryReader): GetArtifactsByExternalIdsRequest; +} + +export namespace GetArtifactsByExternalIdsRequest { + export type AsObject = { + externalIdsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + } +} + +export class GetArtifactsByExternalIdsResponse extends jspb.Message { + getArtifactsList(): Array; + setArtifactsList(value: Array): GetArtifactsByExternalIdsResponse; + clearArtifactsList(): GetArtifactsByExternalIdsResponse; + addArtifacts(value?: ml_metadata_proto_metadata_store_pb.Artifact, index?: number): ml_metadata_proto_metadata_store_pb.Artifact; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetArtifactsByExternalIdsResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetArtifactsByExternalIdsResponse): GetArtifactsByExternalIdsResponse.AsObject; + static serializeBinaryToWriter(message: GetArtifactsByExternalIdsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetArtifactsByExternalIdsResponse; + static deserializeBinaryFromReader(message: GetArtifactsByExternalIdsResponse, reader: jspb.BinaryReader): GetArtifactsByExternalIdsResponse; +} + +export namespace GetArtifactsByExternalIdsResponse { + export type AsObject = { + artifactsList: Array, + } +} + +export class GetExecutionsByExternalIdsRequest extends jspb.Message { + getExternalIdsList(): Array; + setExternalIdsList(value: Array): GetExecutionsByExternalIdsRequest; + clearExternalIdsList(): GetExecutionsByExternalIdsRequest; + addExternalIds(value: string, index?: number): GetExecutionsByExternalIdsRequest; + + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionsByExternalIdsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): GetExecutionsByExternalIdsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetExecutionsByExternalIdsRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetExecutionsByExternalIdsRequest): GetExecutionsByExternalIdsRequest.AsObject; + static serializeBinaryToWriter(message: GetExecutionsByExternalIdsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetExecutionsByExternalIdsRequest; + static deserializeBinaryFromReader(message: GetExecutionsByExternalIdsRequest, reader: jspb.BinaryReader): GetExecutionsByExternalIdsRequest; +} + +export namespace GetExecutionsByExternalIdsRequest { + export type AsObject = { + externalIdsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + } +} + +export class GetExecutionsByExternalIdsResponse extends jspb.Message { + getExecutionsList(): Array; + setExecutionsList(value: Array): GetExecutionsByExternalIdsResponse; + clearExecutionsList(): GetExecutionsByExternalIdsResponse; + addExecutions(value?: ml_metadata_proto_metadata_store_pb.Execution, index?: number): ml_metadata_proto_metadata_store_pb.Execution; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetExecutionsByExternalIdsResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetExecutionsByExternalIdsResponse): GetExecutionsByExternalIdsResponse.AsObject; + static serializeBinaryToWriter(message: GetExecutionsByExternalIdsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetExecutionsByExternalIdsResponse; + static deserializeBinaryFromReader(message: GetExecutionsByExternalIdsResponse, reader: jspb.BinaryReader): GetExecutionsByExternalIdsResponse; +} + +export namespace GetExecutionsByExternalIdsResponse { + export type AsObject = { + executionsList: Array, + } +} + +export class GetContextsByExternalIdsRequest extends jspb.Message { + getExternalIdsList(): Array; + setExternalIdsList(value: Array): GetContextsByExternalIdsRequest; + clearExternalIdsList(): GetContextsByExternalIdsRequest; + addExternalIds(value: string, index?: number): GetContextsByExternalIdsRequest; + + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextsByExternalIdsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): GetContextsByExternalIdsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetContextsByExternalIdsRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetContextsByExternalIdsRequest): GetContextsByExternalIdsRequest.AsObject; + static serializeBinaryToWriter(message: GetContextsByExternalIdsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetContextsByExternalIdsRequest; + static deserializeBinaryFromReader(message: GetContextsByExternalIdsRequest, reader: jspb.BinaryReader): GetContextsByExternalIdsRequest; +} + +export namespace GetContextsByExternalIdsRequest { + export type AsObject = { + externalIdsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + } +} + +export class GetContextsByExternalIdsResponse extends jspb.Message { + getContextsList(): Array; + setContextsList(value: Array): GetContextsByExternalIdsResponse; + clearContextsList(): GetContextsByExternalIdsResponse; + addContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetContextsByExternalIdsResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetContextsByExternalIdsResponse): GetContextsByExternalIdsResponse.AsObject; + static serializeBinaryToWriter(message: GetContextsByExternalIdsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetContextsByExternalIdsResponse; + static deserializeBinaryFromReader(message: GetContextsByExternalIdsResponse, reader: jspb.BinaryReader): GetContextsByExternalIdsResponse; +} + +export namespace GetContextsByExternalIdsResponse { + export type AsObject = { + contextsList: Array, + } +} + +export class GetArtifactTypesByExternalIdsRequest extends jspb.Message { + getExternalIdsList(): Array; + setExternalIdsList(value: Array): GetArtifactTypesByExternalIdsRequest; + clearExternalIdsList(): GetArtifactTypesByExternalIdsRequest; + addExternalIds(value: string, index?: number): GetArtifactTypesByExternalIdsRequest; + + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetArtifactTypesByExternalIdsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): GetArtifactTypesByExternalIdsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetArtifactTypesByExternalIdsRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetArtifactTypesByExternalIdsRequest): GetArtifactTypesByExternalIdsRequest.AsObject; + static serializeBinaryToWriter(message: GetArtifactTypesByExternalIdsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetArtifactTypesByExternalIdsRequest; + static deserializeBinaryFromReader(message: GetArtifactTypesByExternalIdsRequest, reader: jspb.BinaryReader): GetArtifactTypesByExternalIdsRequest; +} + +export namespace GetArtifactTypesByExternalIdsRequest { + export type AsObject = { + externalIdsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + } +} + +export class GetArtifactTypesByExternalIdsResponse extends jspb.Message { + getArtifactTypesList(): Array; + setArtifactTypesList(value: Array): GetArtifactTypesByExternalIdsResponse; + clearArtifactTypesList(): GetArtifactTypesByExternalIdsResponse; + addArtifactTypes(value?: ml_metadata_proto_metadata_store_pb.ArtifactType, index?: number): ml_metadata_proto_metadata_store_pb.ArtifactType; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetArtifactTypesByExternalIdsResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetArtifactTypesByExternalIdsResponse): GetArtifactTypesByExternalIdsResponse.AsObject; + static serializeBinaryToWriter(message: GetArtifactTypesByExternalIdsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetArtifactTypesByExternalIdsResponse; + static deserializeBinaryFromReader(message: GetArtifactTypesByExternalIdsResponse, reader: jspb.BinaryReader): GetArtifactTypesByExternalIdsResponse; +} + +export namespace GetArtifactTypesByExternalIdsResponse { + export type AsObject = { + artifactTypesList: Array, + } +} + +export class GetExecutionTypesByExternalIdsRequest extends jspb.Message { + getExternalIdsList(): Array; + setExternalIdsList(value: Array): GetExecutionTypesByExternalIdsRequest; + clearExternalIdsList(): GetExecutionTypesByExternalIdsRequest; + addExternalIds(value: string, index?: number): GetExecutionTypesByExternalIdsRequest; + + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetExecutionTypesByExternalIdsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): GetExecutionTypesByExternalIdsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetExecutionTypesByExternalIdsRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetExecutionTypesByExternalIdsRequest): GetExecutionTypesByExternalIdsRequest.AsObject; + static serializeBinaryToWriter(message: GetExecutionTypesByExternalIdsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetExecutionTypesByExternalIdsRequest; + static deserializeBinaryFromReader(message: GetExecutionTypesByExternalIdsRequest, reader: jspb.BinaryReader): GetExecutionTypesByExternalIdsRequest; +} + +export namespace GetExecutionTypesByExternalIdsRequest { + export type AsObject = { + externalIdsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + } +} + +export class GetExecutionTypesByExternalIdsResponse extends jspb.Message { + getExecutionTypesList(): Array; + setExecutionTypesList(value: Array): GetExecutionTypesByExternalIdsResponse; + clearExecutionTypesList(): GetExecutionTypesByExternalIdsResponse; + addExecutionTypes(value?: ml_metadata_proto_metadata_store_pb.ExecutionType, index?: number): ml_metadata_proto_metadata_store_pb.ExecutionType; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetExecutionTypesByExternalIdsResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetExecutionTypesByExternalIdsResponse): GetExecutionTypesByExternalIdsResponse.AsObject; + static serializeBinaryToWriter(message: GetExecutionTypesByExternalIdsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetExecutionTypesByExternalIdsResponse; + static deserializeBinaryFromReader(message: GetExecutionTypesByExternalIdsResponse, reader: jspb.BinaryReader): GetExecutionTypesByExternalIdsResponse; +} + +export namespace GetExecutionTypesByExternalIdsResponse { + export type AsObject = { + executionTypesList: Array, + } +} + +export class GetContextTypesByExternalIdsRequest extends jspb.Message { + getExternalIdsList(): Array; + setExternalIdsList(value: Array): GetContextTypesByExternalIdsRequest; + clearExternalIdsList(): GetContextTypesByExternalIdsRequest; + addExternalIds(value: string, index?: number): GetContextTypesByExternalIdsRequest; + + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetContextTypesByExternalIdsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): GetContextTypesByExternalIdsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetContextTypesByExternalIdsRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetContextTypesByExternalIdsRequest): GetContextTypesByExternalIdsRequest.AsObject; + static serializeBinaryToWriter(message: GetContextTypesByExternalIdsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetContextTypesByExternalIdsRequest; + static deserializeBinaryFromReader(message: GetContextTypesByExternalIdsRequest, reader: jspb.BinaryReader): GetContextTypesByExternalIdsRequest; +} + +export namespace GetContextTypesByExternalIdsRequest { + export type AsObject = { + externalIdsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + } +} + +export class GetContextTypesByExternalIdsResponse extends jspb.Message { + getContextTypesList(): Array; + setContextTypesList(value: Array): GetContextTypesByExternalIdsResponse; + clearContextTypesList(): GetContextTypesByExternalIdsResponse; + addContextTypes(value?: ml_metadata_proto_metadata_store_pb.ContextType, index?: number): ml_metadata_proto_metadata_store_pb.ContextType; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetContextTypesByExternalIdsResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetContextTypesByExternalIdsResponse): GetContextTypesByExternalIdsResponse.AsObject; + static serializeBinaryToWriter(message: GetContextTypesByExternalIdsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetContextTypesByExternalIdsResponse; + static deserializeBinaryFromReader(message: GetContextTypesByExternalIdsResponse, reader: jspb.BinaryReader): GetContextTypesByExternalIdsResponse; +} + +export namespace GetContextTypesByExternalIdsResponse { + export type AsObject = { + contextTypesList: Array, + } +} + export class GetExecutionsByTypeRequest extends jspb.Message { getTypeName(): string; setTypeName(value: string): GetExecutionsByTypeRequest; @@ -2051,6 +2560,136 @@ export namespace GetChildrenContextsByContextResponse { } } +export class GetParentContextsByContextsRequest extends jspb.Message { + getContextIdsList(): Array; + setContextIdsList(value: Array): GetParentContextsByContextsRequest; + clearContextIdsList(): GetParentContextsByContextsRequest; + addContextIds(value: number, index?: number): GetParentContextsByContextsRequest; + + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetParentContextsByContextsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): GetParentContextsByContextsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetParentContextsByContextsRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetParentContextsByContextsRequest): GetParentContextsByContextsRequest.AsObject; + static serializeBinaryToWriter(message: GetParentContextsByContextsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetParentContextsByContextsRequest; + static deserializeBinaryFromReader(message: GetParentContextsByContextsRequest, reader: jspb.BinaryReader): GetParentContextsByContextsRequest; +} + +export namespace GetParentContextsByContextsRequest { + export type AsObject = { + contextIdsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + } +} + +export class GetParentContextsByContextsResponse extends jspb.Message { + getContextsMap(): jspb.Map; + clearContextsMap(): GetParentContextsByContextsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetParentContextsByContextsResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetParentContextsByContextsResponse): GetParentContextsByContextsResponse.AsObject; + static serializeBinaryToWriter(message: GetParentContextsByContextsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetParentContextsByContextsResponse; + static deserializeBinaryFromReader(message: GetParentContextsByContextsResponse, reader: jspb.BinaryReader): GetParentContextsByContextsResponse; +} + +export namespace GetParentContextsByContextsResponse { + export type AsObject = { + contextsMap: Array<[number, GetParentContextsByContextsResponse.ParentContextsPerChild.AsObject]>, + } + + export class ParentContextsPerChild extends jspb.Message { + getParentContextsList(): Array; + setParentContextsList(value: Array): ParentContextsPerChild; + clearParentContextsList(): ParentContextsPerChild; + addParentContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ParentContextsPerChild.AsObject; + static toObject(includeInstance: boolean, msg: ParentContextsPerChild): ParentContextsPerChild.AsObject; + static serializeBinaryToWriter(message: ParentContextsPerChild, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ParentContextsPerChild; + static deserializeBinaryFromReader(message: ParentContextsPerChild, reader: jspb.BinaryReader): ParentContextsPerChild; + } + + export namespace ParentContextsPerChild { + export type AsObject = { + parentContextsList: Array, + } + } + +} + +export class GetChildrenContextsByContextsRequest extends jspb.Message { + getContextIdsList(): Array; + setContextIdsList(value: Array): GetChildrenContextsByContextsRequest; + clearContextIdsList(): GetChildrenContextsByContextsRequest; + addContextIds(value: number, index?: number): GetChildrenContextsByContextsRequest; + + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetChildrenContextsByContextsRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): GetChildrenContextsByContextsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetChildrenContextsByContextsRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetChildrenContextsByContextsRequest): GetChildrenContextsByContextsRequest.AsObject; + static serializeBinaryToWriter(message: GetChildrenContextsByContextsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetChildrenContextsByContextsRequest; + static deserializeBinaryFromReader(message: GetChildrenContextsByContextsRequest, reader: jspb.BinaryReader): GetChildrenContextsByContextsRequest; +} + +export namespace GetChildrenContextsByContextsRequest { + export type AsObject = { + contextIdsList: Array, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + } +} + +export class GetChildrenContextsByContextsResponse extends jspb.Message { + getContextsMap(): jspb.Map; + clearContextsMap(): GetChildrenContextsByContextsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetChildrenContextsByContextsResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetChildrenContextsByContextsResponse): GetChildrenContextsByContextsResponse.AsObject; + static serializeBinaryToWriter(message: GetChildrenContextsByContextsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetChildrenContextsByContextsResponse; + static deserializeBinaryFromReader(message: GetChildrenContextsByContextsResponse, reader: jspb.BinaryReader): GetChildrenContextsByContextsResponse; +} + +export namespace GetChildrenContextsByContextsResponse { + export type AsObject = { + contextsMap: Array<[number, GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.AsObject]>, + } + + export class ChildrenContextsPerParent extends jspb.Message { + getChildrenContextsList(): Array; + setChildrenContextsList(value: Array): ChildrenContextsPerParent; + clearChildrenContextsList(): ChildrenContextsPerParent; + addChildrenContexts(value?: ml_metadata_proto_metadata_store_pb.Context, index?: number): ml_metadata_proto_metadata_store_pb.Context; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ChildrenContextsPerParent.AsObject; + static toObject(includeInstance: boolean, msg: ChildrenContextsPerParent): ChildrenContextsPerParent.AsObject; + static serializeBinaryToWriter(message: ChildrenContextsPerParent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ChildrenContextsPerParent; + static deserializeBinaryFromReader(message: ChildrenContextsPerParent, reader: jspb.BinaryReader): ChildrenContextsPerParent; + } + + export namespace ChildrenContextsPerParent { + export type AsObject = { + childrenContextsList: Array, + } + } + +} + export class GetArtifactsByContextRequest extends jspb.Message { getContextId(): number; setContextId(value: number): GetArtifactsByContextRequest; @@ -2211,3 +2850,55 @@ export namespace GetLineageGraphResponse { } } +export class GetLineageSubgraphRequest extends jspb.Message { + getLineageSubgraphQueryOptions(): ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions | undefined; + setLineageSubgraphQueryOptions(value?: ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions): GetLineageSubgraphRequest; + hasLineageSubgraphQueryOptions(): boolean; + clearLineageSubgraphQueryOptions(): GetLineageSubgraphRequest; + + getReadMask(): google_protobuf_field_mask_pb.FieldMask | undefined; + setReadMask(value?: google_protobuf_field_mask_pb.FieldMask): GetLineageSubgraphRequest; + hasReadMask(): boolean; + clearReadMask(): GetLineageSubgraphRequest; + + getTransactionOptions(): ml_metadata_proto_metadata_store_pb.TransactionOptions | undefined; + setTransactionOptions(value?: ml_metadata_proto_metadata_store_pb.TransactionOptions): GetLineageSubgraphRequest; + hasTransactionOptions(): boolean; + clearTransactionOptions(): GetLineageSubgraphRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetLineageSubgraphRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetLineageSubgraphRequest): GetLineageSubgraphRequest.AsObject; + static serializeBinaryToWriter(message: GetLineageSubgraphRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetLineageSubgraphRequest; + static deserializeBinaryFromReader(message: GetLineageSubgraphRequest, reader: jspb.BinaryReader): GetLineageSubgraphRequest; +} + +export namespace GetLineageSubgraphRequest { + export type AsObject = { + lineageSubgraphQueryOptions?: ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions.AsObject, + readMask?: google_protobuf_field_mask_pb.FieldMask.AsObject, + transactionOptions?: ml_metadata_proto_metadata_store_pb.TransactionOptions.AsObject, + } +} + +export class GetLineageSubgraphResponse extends jspb.Message { + getLineageSubgraph(): ml_metadata_proto_metadata_store_pb.LineageGraph | undefined; + setLineageSubgraph(value?: ml_metadata_proto_metadata_store_pb.LineageGraph): GetLineageSubgraphResponse; + hasLineageSubgraph(): boolean; + clearLineageSubgraph(): GetLineageSubgraphResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetLineageSubgraphResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetLineageSubgraphResponse): GetLineageSubgraphResponse.AsObject; + static serializeBinaryToWriter(message: GetLineageSubgraphResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetLineageSubgraphResponse; + static deserializeBinaryFromReader(message: GetLineageSubgraphResponse, reader: jspb.BinaryReader): GetLineageSubgraphResponse; +} + +export namespace GetLineageSubgraphResponse { + export type AsObject = { + lineageSubgraph?: ml_metadata_proto_metadata_store_pb.LineageGraph.AsObject, + } +} + diff --git a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_pb.js b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_pb.js index c4fdbcaec26..79ddeebab68 100644 --- a/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_pb.js +++ b/frontend/src/third_party/mlmd/generated/ml_metadata/proto/metadata_store_service_pb.js @@ -15,6 +15,8 @@ var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return this')(); +var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js'); +goog.object.extend(proto, google_protobuf_field_mask_pb); var ml_metadata_proto_metadata_store_pb = require('../../ml_metadata/proto/metadata_store_pb.js'); goog.object.extend(proto, ml_metadata_proto_metadata_store_pb); goog.exportSymbol('proto.ml_metadata.ArtifactAndType', null, global); @@ -26,12 +28,16 @@ goog.exportSymbol('proto.ml_metadata.GetArtifactByTypeAndNameRequest', null, glo goog.exportSymbol('proto.ml_metadata.GetArtifactByTypeAndNameResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactTypeRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactTypeResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetArtifactTypesByExternalIdsRequest', null, global); +goog.exportSymbol('proto.ml_metadata.GetArtifactTypesByExternalIdsResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactTypesByIDRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactTypesByIDResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactTypesRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactTypesResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactsByContextRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactsByContextResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetArtifactsByExternalIdsRequest', null, global); +goog.exportSymbol('proto.ml_metadata.GetArtifactsByExternalIdsResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactsByIDRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactsByIDResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactsByTypeRequest', null, global); @@ -42,10 +48,15 @@ goog.exportSymbol('proto.ml_metadata.GetArtifactsRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetArtifactsResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetChildrenContextsByContextRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetChildrenContextsByContextResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetChildrenContextsByContextsRequest', null, global); +goog.exportSymbol('proto.ml_metadata.GetChildrenContextsByContextsResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent', null, global); goog.exportSymbol('proto.ml_metadata.GetContextByTypeAndNameRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetContextByTypeAndNameResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetContextTypeRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetContextTypeResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetContextTypesByExternalIdsRequest', null, global); +goog.exportSymbol('proto.ml_metadata.GetContextTypesByExternalIdsResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetContextTypesByIDRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetContextTypesByIDResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetContextTypesRequest', null, global); @@ -54,6 +65,8 @@ goog.exportSymbol('proto.ml_metadata.GetContextsByArtifactRequest', null, global goog.exportSymbol('proto.ml_metadata.GetContextsByArtifactResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetContextsByExecutionRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetContextsByExecutionResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetContextsByExternalIdsRequest', null, global); +goog.exportSymbol('proto.ml_metadata.GetContextsByExternalIdsResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetContextsByIDRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetContextsByIDResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetContextsByTypeRequest', null, global); @@ -68,12 +81,16 @@ goog.exportSymbol('proto.ml_metadata.GetExecutionByTypeAndNameRequest', null, gl goog.exportSymbol('proto.ml_metadata.GetExecutionByTypeAndNameResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionTypeRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionTypeResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetExecutionTypesByExternalIdsRequest', null, global); +goog.exportSymbol('proto.ml_metadata.GetExecutionTypesByExternalIdsResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionTypesByIDRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionTypesByIDResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionTypesRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionTypesResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionsByContextRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionsByContextResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetExecutionsByExternalIdsRequest', null, global); +goog.exportSymbol('proto.ml_metadata.GetExecutionsByExternalIdsResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionsByIDRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionsByIDResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionsByTypeRequest', null, global); @@ -82,8 +99,13 @@ goog.exportSymbol('proto.ml_metadata.GetExecutionsRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetExecutionsResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetLineageGraphRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetLineageGraphResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetLineageSubgraphRequest', null, global); +goog.exportSymbol('proto.ml_metadata.GetLineageSubgraphResponse', null, global); goog.exportSymbol('proto.ml_metadata.GetParentContextsByContextRequest', null, global); goog.exportSymbol('proto.ml_metadata.GetParentContextsByContextResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetParentContextsByContextsRequest', null, global); +goog.exportSymbol('proto.ml_metadata.GetParentContextsByContextsResponse', null, global); +goog.exportSymbol('proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild', null, global); goog.exportSymbol('proto.ml_metadata.PutArtifactTypeRequest', null, global); goog.exportSymbol('proto.ml_metadata.PutArtifactTypeResponse', null, global); goog.exportSymbol('proto.ml_metadata.PutArtifactsRequest', null, global); @@ -105,6 +127,10 @@ goog.exportSymbol('proto.ml_metadata.PutExecutionTypeRequest', null, global); goog.exportSymbol('proto.ml_metadata.PutExecutionTypeResponse', null, global); goog.exportSymbol('proto.ml_metadata.PutExecutionsRequest', null, global); goog.exportSymbol('proto.ml_metadata.PutExecutionsResponse', null, global); +goog.exportSymbol('proto.ml_metadata.PutLineageSubgraphRequest', null, global); +goog.exportSymbol('proto.ml_metadata.PutLineageSubgraphRequest.EventEdge', null, global); +goog.exportSymbol('proto.ml_metadata.PutLineageSubgraphRequest.Options', null, global); +goog.exportSymbol('proto.ml_metadata.PutLineageSubgraphResponse', null, global); goog.exportSymbol('proto.ml_metadata.PutParentContextsRequest', null, global); goog.exportSymbol('proto.ml_metadata.PutParentContextsResponse', null, global); goog.exportSymbol('proto.ml_metadata.PutTypesRequest', null, global); @@ -508,6 +534,90 @@ if (goog.DEBUG && !COMPILED) { */ proto.ml_metadata.PutExecutionResponse.displayName = 'proto.ml_metadata.PutExecutionResponse'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.PutLineageSubgraphRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutLineageSubgraphRequest.repeatedFields_, null); +}; +goog.inherits(proto.ml_metadata.PutLineageSubgraphRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.PutLineageSubgraphRequest.displayName = 'proto.ml_metadata.PutLineageSubgraphRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.PutLineageSubgraphRequest.EventEdge, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.displayName = 'proto.ml_metadata.PutLineageSubgraphRequest.EventEdge'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.PutLineageSubgraphRequest.Options, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.PutLineageSubgraphRequest.Options.displayName = 'proto.ml_metadata.PutLineageSubgraphRequest.Options'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.PutLineageSubgraphResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.PutLineageSubgraphResponse.repeatedFields_, null); +}; +goog.inherits(proto.ml_metadata.PutLineageSubgraphResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.PutLineageSubgraphResponse.displayName = 'proto.ml_metadata.PutLineageSubgraphResponse'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -1148,16 +1258,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionsByTypeRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetArtifactsByExternalIdsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByExternalIdsRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetExecutionsByTypeRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetArtifactsByExternalIdsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionsByTypeRequest.displayName = 'proto.ml_metadata.GetExecutionsByTypeRequest'; + proto.ml_metadata.GetArtifactsByExternalIdsRequest.displayName = 'proto.ml_metadata.GetArtifactsByExternalIdsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1169,16 +1279,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionsByTypeResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByTypeResponse.repeatedFields_, null); +proto.ml_metadata.GetArtifactsByExternalIdsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByExternalIdsResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetExecutionsByTypeResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetArtifactsByExternalIdsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionsByTypeResponse.displayName = 'proto.ml_metadata.GetExecutionsByTypeResponse'; + proto.ml_metadata.GetArtifactsByExternalIdsResponse.displayName = 'proto.ml_metadata.GetArtifactsByExternalIdsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1190,16 +1300,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetExecutionsByExternalIdsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByExternalIdsRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetExecutionByTypeAndNameRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionsByExternalIdsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionByTypeAndNameRequest.displayName = 'proto.ml_metadata.GetExecutionByTypeAndNameRequest'; + proto.ml_metadata.GetExecutionsByExternalIdsRequest.displayName = 'proto.ml_metadata.GetExecutionsByExternalIdsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1211,16 +1321,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetExecutionsByExternalIdsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByExternalIdsResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetExecutionByTypeAndNameResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionsByExternalIdsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionByTypeAndNameResponse.displayName = 'proto.ml_metadata.GetExecutionByTypeAndNameResponse'; + proto.ml_metadata.GetExecutionsByExternalIdsResponse.displayName = 'proto.ml_metadata.GetExecutionsByExternalIdsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1232,16 +1342,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionsByIDRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByIDRequest.repeatedFields_, null); +proto.ml_metadata.GetContextsByExternalIdsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByExternalIdsRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetExecutionsByIDRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextsByExternalIdsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionsByIDRequest.displayName = 'proto.ml_metadata.GetExecutionsByIDRequest'; + proto.ml_metadata.GetContextsByExternalIdsRequest.displayName = 'proto.ml_metadata.GetContextsByExternalIdsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1253,16 +1363,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionsByIDResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByIDResponse.repeatedFields_, null); +proto.ml_metadata.GetContextsByExternalIdsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByExternalIdsResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetExecutionsByIDResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextsByExternalIdsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionsByIDResponse.displayName = 'proto.ml_metadata.GetExecutionsByIDResponse'; + proto.ml_metadata.GetContextsByExternalIdsResponse.displayName = 'proto.ml_metadata.GetContextsByExternalIdsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1274,16 +1384,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionTypeRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetExecutionTypeRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetArtifactTypesByExternalIdsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionTypeRequest.displayName = 'proto.ml_metadata.GetExecutionTypeRequest'; + proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.displayName = 'proto.ml_metadata.GetArtifactTypesByExternalIdsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1295,16 +1405,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionTypeResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetExecutionTypeResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetArtifactTypesByExternalIdsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionTypeResponse.displayName = 'proto.ml_metadata.GetExecutionTypeResponse'; + proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.displayName = 'proto.ml_metadata.GetArtifactTypesByExternalIdsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1316,16 +1426,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetEventsByExecutionIDsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByExecutionIDsRequest.repeatedFields_, null); +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetEventsByExecutionIDsRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionTypesByExternalIdsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetEventsByExecutionIDsRequest.displayName = 'proto.ml_metadata.GetEventsByExecutionIDsRequest'; + proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.displayName = 'proto.ml_metadata.GetExecutionTypesByExternalIdsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1337,16 +1447,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetEventsByExecutionIDsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByExecutionIDsResponse.repeatedFields_, null); +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetEventsByExecutionIDsResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionTypesByExternalIdsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetEventsByExecutionIDsResponse.displayName = 'proto.ml_metadata.GetEventsByExecutionIDsResponse'; + proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.displayName = 'proto.ml_metadata.GetExecutionTypesByExternalIdsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1358,16 +1468,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetEventsByArtifactIDsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByArtifactIDsRequest.repeatedFields_, null); +proto.ml_metadata.GetContextTypesByExternalIdsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesByExternalIdsRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetEventsByArtifactIDsRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextTypesByExternalIdsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetEventsByArtifactIDsRequest.displayName = 'proto.ml_metadata.GetEventsByArtifactIDsRequest'; + proto.ml_metadata.GetContextTypesByExternalIdsRequest.displayName = 'proto.ml_metadata.GetContextTypesByExternalIdsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1379,16 +1489,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetEventsByArtifactIDsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByArtifactIDsResponse.repeatedFields_, null); +proto.ml_metadata.GetContextTypesByExternalIdsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesByExternalIdsResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetEventsByArtifactIDsResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextTypesByExternalIdsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetEventsByArtifactIDsResponse.displayName = 'proto.ml_metadata.GetEventsByArtifactIDsResponse'; + proto.ml_metadata.GetContextTypesByExternalIdsResponse.displayName = 'proto.ml_metadata.GetContextTypesByExternalIdsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1400,16 +1510,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetArtifactTypesByIDRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesByIDRequest.repeatedFields_, null); +proto.ml_metadata.GetExecutionsByTypeRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetArtifactTypesByIDRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionsByTypeRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetArtifactTypesByIDRequest.displayName = 'proto.ml_metadata.GetArtifactTypesByIDRequest'; + proto.ml_metadata.GetExecutionsByTypeRequest.displayName = 'proto.ml_metadata.GetExecutionsByTypeRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1421,16 +1531,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetArtifactTypesByIDResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesByIDResponse.repeatedFields_, null); +proto.ml_metadata.GetExecutionsByTypeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByTypeResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetArtifactTypesByIDResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionsByTypeResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetArtifactTypesByIDResponse.displayName = 'proto.ml_metadata.GetArtifactTypesByIDResponse'; + proto.ml_metadata.GetExecutionsByTypeResponse.displayName = 'proto.ml_metadata.GetExecutionsByTypeResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1442,16 +1552,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionTypesByIDRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesByIDRequest.repeatedFields_, null); +proto.ml_metadata.GetExecutionByTypeAndNameRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetExecutionTypesByIDRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionByTypeAndNameRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionTypesByIDRequest.displayName = 'proto.ml_metadata.GetExecutionTypesByIDRequest'; + proto.ml_metadata.GetExecutionByTypeAndNameRequest.displayName = 'proto.ml_metadata.GetExecutionByTypeAndNameRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1463,16 +1573,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionTypesByIDResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesByIDResponse.repeatedFields_, null); +proto.ml_metadata.GetExecutionByTypeAndNameResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetExecutionTypesByIDResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionByTypeAndNameResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionTypesByIDResponse.displayName = 'proto.ml_metadata.GetExecutionTypesByIDResponse'; + proto.ml_metadata.GetExecutionByTypeAndNameResponse.displayName = 'proto.ml_metadata.GetExecutionByTypeAndNameResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1484,16 +1594,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextTypeRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetExecutionsByIDRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByIDRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextTypeRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionsByIDRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextTypeRequest.displayName = 'proto.ml_metadata.GetContextTypeRequest'; + proto.ml_metadata.GetExecutionsByIDRequest.displayName = 'proto.ml_metadata.GetExecutionsByIDRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1505,16 +1615,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextTypeResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetExecutionsByIDResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByIDResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextTypeResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionsByIDResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextTypeResponse.displayName = 'proto.ml_metadata.GetContextTypeResponse'; + proto.ml_metadata.GetExecutionsByIDResponse.displayName = 'proto.ml_metadata.GetExecutionsByIDResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1526,16 +1636,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextTypesByIDRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesByIDRequest.repeatedFields_, null); +proto.ml_metadata.GetExecutionTypeRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetContextTypesByIDRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionTypeRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextTypesByIDRequest.displayName = 'proto.ml_metadata.GetContextTypesByIDRequest'; + proto.ml_metadata.GetExecutionTypeRequest.displayName = 'proto.ml_metadata.GetExecutionTypeRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1547,16 +1657,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextTypesByIDResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesByIDResponse.repeatedFields_, null); +proto.ml_metadata.GetExecutionTypeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetContextTypesByIDResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionTypeResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextTypesByIDResponse.displayName = 'proto.ml_metadata.GetContextTypesByIDResponse'; + proto.ml_metadata.GetExecutionTypeResponse.displayName = 'proto.ml_metadata.GetExecutionTypeResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1568,16 +1678,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetEventsByExecutionIDsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByExecutionIDsRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextsRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetEventsByExecutionIDsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextsRequest.displayName = 'proto.ml_metadata.GetContextsRequest'; + proto.ml_metadata.GetEventsByExecutionIDsRequest.displayName = 'proto.ml_metadata.GetEventsByExecutionIDsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1589,16 +1699,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextsResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsResponse.repeatedFields_, null); +proto.ml_metadata.GetEventsByExecutionIDsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByExecutionIDsResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextsResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetEventsByExecutionIDsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextsResponse.displayName = 'proto.ml_metadata.GetContextsResponse'; + proto.ml_metadata.GetEventsByExecutionIDsResponse.displayName = 'proto.ml_metadata.GetEventsByExecutionIDsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1610,16 +1720,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextsByTypeRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetEventsByArtifactIDsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByArtifactIDsRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextsByTypeRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetEventsByArtifactIDsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextsByTypeRequest.displayName = 'proto.ml_metadata.GetContextsByTypeRequest'; + proto.ml_metadata.GetEventsByArtifactIDsRequest.displayName = 'proto.ml_metadata.GetEventsByArtifactIDsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1631,16 +1741,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextsByTypeResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByTypeResponse.repeatedFields_, null); +proto.ml_metadata.GetEventsByArtifactIDsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetEventsByArtifactIDsResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextsByTypeResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetEventsByArtifactIDsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextsByTypeResponse.displayName = 'proto.ml_metadata.GetContextsByTypeResponse'; + proto.ml_metadata.GetEventsByArtifactIDsResponse.displayName = 'proto.ml_metadata.GetEventsByArtifactIDsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1652,16 +1762,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextByTypeAndNameRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetArtifactTypesByIDRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesByIDRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextByTypeAndNameRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetArtifactTypesByIDRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextByTypeAndNameRequest.displayName = 'proto.ml_metadata.GetContextByTypeAndNameRequest'; + proto.ml_metadata.GetArtifactTypesByIDRequest.displayName = 'proto.ml_metadata.GetArtifactTypesByIDRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1673,16 +1783,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextByTypeAndNameResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetArtifactTypesByIDResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactTypesByIDResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextByTypeAndNameResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetArtifactTypesByIDResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextByTypeAndNameResponse.displayName = 'proto.ml_metadata.GetContextByTypeAndNameResponse'; + proto.ml_metadata.GetArtifactTypesByIDResponse.displayName = 'proto.ml_metadata.GetArtifactTypesByIDResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1694,16 +1804,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextsByIDRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByIDRequest.repeatedFields_, null); +proto.ml_metadata.GetExecutionTypesByIDRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesByIDRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextsByIDRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionTypesByIDRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextsByIDRequest.displayName = 'proto.ml_metadata.GetContextsByIDRequest'; + proto.ml_metadata.GetExecutionTypesByIDRequest.displayName = 'proto.ml_metadata.GetExecutionTypesByIDRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1715,16 +1825,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextsByIDResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByIDResponse.repeatedFields_, null); +proto.ml_metadata.GetExecutionTypesByIDResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionTypesByIDResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextsByIDResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetExecutionTypesByIDResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextsByIDResponse.displayName = 'proto.ml_metadata.GetContextsByIDResponse'; + proto.ml_metadata.GetExecutionTypesByIDResponse.displayName = 'proto.ml_metadata.GetExecutionTypesByIDResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1736,16 +1846,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextsByArtifactRequest = function(opt_data) { +proto.ml_metadata.GetContextTypeRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetContextsByArtifactRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextTypeRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextsByArtifactRequest.displayName = 'proto.ml_metadata.GetContextsByArtifactRequest'; + proto.ml_metadata.GetContextTypeRequest.displayName = 'proto.ml_metadata.GetContextTypeRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1757,16 +1867,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextsByArtifactResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByArtifactResponse.repeatedFields_, null); +proto.ml_metadata.GetContextTypeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetContextsByArtifactResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextTypeResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextsByArtifactResponse.displayName = 'proto.ml_metadata.GetContextsByArtifactResponse'; + proto.ml_metadata.GetContextTypeResponse.displayName = 'proto.ml_metadata.GetContextTypeResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1778,16 +1888,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextsByExecutionRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetContextTypesByIDRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesByIDRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextsByExecutionRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextTypesByIDRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextsByExecutionRequest.displayName = 'proto.ml_metadata.GetContextsByExecutionRequest'; + proto.ml_metadata.GetContextTypesByIDRequest.displayName = 'proto.ml_metadata.GetContextTypesByIDRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1799,16 +1909,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetContextsByExecutionResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByExecutionResponse.repeatedFields_, null); +proto.ml_metadata.GetContextTypesByIDResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextTypesByIDResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetContextsByExecutionResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextTypesByIDResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetContextsByExecutionResponse.displayName = 'proto.ml_metadata.GetContextsByExecutionResponse'; + proto.ml_metadata.GetContextTypesByIDResponse.displayName = 'proto.ml_metadata.GetContextTypesByIDResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1820,16 +1930,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetParentContextsByContextRequest = function(opt_data) { +proto.ml_metadata.GetContextsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetParentContextsByContextRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetParentContextsByContextRequest.displayName = 'proto.ml_metadata.GetParentContextsByContextRequest'; + proto.ml_metadata.GetContextsRequest.displayName = 'proto.ml_metadata.GetContextsRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1841,16 +1951,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetParentContextsByContextResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetParentContextsByContextResponse.repeatedFields_, null); +proto.ml_metadata.GetContextsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetParentContextsByContextResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetParentContextsByContextResponse.displayName = 'proto.ml_metadata.GetParentContextsByContextResponse'; + proto.ml_metadata.GetContextsResponse.displayName = 'proto.ml_metadata.GetContextsResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1862,16 +1972,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetChildrenContextsByContextRequest = function(opt_data) { +proto.ml_metadata.GetContextsByTypeRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetChildrenContextsByContextRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextsByTypeRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetChildrenContextsByContextRequest.displayName = 'proto.ml_metadata.GetChildrenContextsByContextRequest'; + proto.ml_metadata.GetContextsByTypeRequest.displayName = 'proto.ml_metadata.GetContextsByTypeRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1883,16 +1993,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetChildrenContextsByContextResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetChildrenContextsByContextResponse.repeatedFields_, null); +proto.ml_metadata.GetContextsByTypeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByTypeResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetChildrenContextsByContextResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextsByTypeResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetChildrenContextsByContextResponse.displayName = 'proto.ml_metadata.GetChildrenContextsByContextResponse'; + proto.ml_metadata.GetContextsByTypeResponse.displayName = 'proto.ml_metadata.GetContextsByTypeResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1904,16 +2014,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetArtifactsByContextRequest = function(opt_data) { +proto.ml_metadata.GetContextByTypeAndNameRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetArtifactsByContextRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextByTypeAndNameRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetArtifactsByContextRequest.displayName = 'proto.ml_metadata.GetArtifactsByContextRequest'; + proto.ml_metadata.GetContextByTypeAndNameRequest.displayName = 'proto.ml_metadata.GetContextByTypeAndNameRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1925,16 +2035,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetArtifactsByContextResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByContextResponse.repeatedFields_, null); +proto.ml_metadata.GetContextByTypeAndNameResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetArtifactsByContextResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextByTypeAndNameResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetArtifactsByContextResponse.displayName = 'proto.ml_metadata.GetArtifactsByContextResponse'; + proto.ml_metadata.GetContextByTypeAndNameResponse.displayName = 'proto.ml_metadata.GetContextByTypeAndNameResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1946,16 +2056,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionsByContextRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetContextsByIDRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByIDRequest.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetExecutionsByContextRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextsByIDRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionsByContextRequest.displayName = 'proto.ml_metadata.GetExecutionsByContextRequest'; + proto.ml_metadata.GetContextsByIDRequest.displayName = 'proto.ml_metadata.GetContextsByIDRequest'; } /** * Generated by JsPbCodeGenerator. @@ -1967,16 +2077,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetExecutionsByContextResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByContextResponse.repeatedFields_, null); +proto.ml_metadata.GetContextsByIDResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByIDResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetExecutionsByContextResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextsByIDResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetExecutionsByContextResponse.displayName = 'proto.ml_metadata.GetExecutionsByContextResponse'; + proto.ml_metadata.GetContextsByIDResponse.displayName = 'proto.ml_metadata.GetContextsByIDResponse'; } /** * Generated by JsPbCodeGenerator. @@ -1988,16 +2098,16 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetLineageGraphRequest = function(opt_data) { +proto.ml_metadata.GetContextsByArtifactRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; -goog.inherits(proto.ml_metadata.GetLineageGraphRequest, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextsByArtifactRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetLineageGraphRequest.displayName = 'proto.ml_metadata.GetLineageGraphRequest'; + proto.ml_metadata.GetContextsByArtifactRequest.displayName = 'proto.ml_metadata.GetContextsByArtifactRequest'; } /** * Generated by JsPbCodeGenerator. @@ -2009,170 +2119,6762 @@ if (goog.DEBUG && !COMPILED) { * @extends {jspb.Message} * @constructor */ -proto.ml_metadata.GetLineageGraphResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); +proto.ml_metadata.GetContextsByArtifactResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByArtifactResponse.repeatedFields_, null); }; -goog.inherits(proto.ml_metadata.GetLineageGraphResponse, jspb.Message); +goog.inherits(proto.ml_metadata.GetContextsByArtifactResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ - proto.ml_metadata.GetLineageGraphResponse.displayName = 'proto.ml_metadata.GetLineageGraphResponse'; + proto.ml_metadata.GetContextsByArtifactResponse.displayName = 'proto.ml_metadata.GetContextsByArtifactResponse'; } - - - -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.ml_metadata.ArtifactAndType.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.ArtifactAndType.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsByExecutionRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; - - +goog.inherits(proto.ml_metadata.GetContextsByExecutionRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetContextsByExecutionRequest.displayName = 'proto.ml_metadata.GetContextsByExecutionRequest'; +} /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.ArtifactAndType} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.ml_metadata.ArtifactAndType.toObject = function(includeInstance, msg) { - var f, obj = { - artifact: (f = msg.getArtifact()) && ml_metadata_proto_metadata_store_pb.Artifact.toObject(includeInstance, f), - type: (f = msg.getType()) && ml_metadata_proto_metadata_store_pb.ArtifactType.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; +proto.ml_metadata.GetContextsByExecutionResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetContextsByExecutionResponse.repeatedFields_, null); }; +goog.inherits(proto.ml_metadata.GetContextsByExecutionResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetContextsByExecutionResponse.displayName = 'proto.ml_metadata.GetContextsByExecutionResponse'; } - - /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.ArtifactAndType} + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.ml_metadata.ArtifactAndType.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.ArtifactAndType; - return proto.ml_metadata.ArtifactAndType.deserializeBinaryFromReader(msg, reader); +proto.ml_metadata.GetParentContextsByContextRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; - - +goog.inherits(proto.ml_metadata.GetParentContextsByContextRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetParentContextsByContextRequest.displayName = 'proto.ml_metadata.GetParentContextsByContextRequest'; +} /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.ArtifactAndType} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.ArtifactAndType} + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.ml_metadata.ArtifactAndType.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new ml_metadata_proto_metadata_store_pb.Artifact; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); - msg.setArtifact(value); - break; - case 2: - var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); - msg.setType(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; +proto.ml_metadata.GetParentContextsByContextResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetParentContextsByContextResponse.repeatedFields_, null); }; - - +goog.inherits(proto.ml_metadata.GetParentContextsByContextResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetParentContextsByContextResponse.displayName = 'proto.ml_metadata.GetParentContextsByContextResponse'; +} /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor */ -proto.ml_metadata.ArtifactAndType.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.ArtifactAndType.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.GetChildrenContextsByContextRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.GetChildrenContextsByContextRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetChildrenContextsByContextRequest.displayName = 'proto.ml_metadata.GetChildrenContextsByContextRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetChildrenContextsByContextResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetChildrenContextsByContextResponse.repeatedFields_, null); +}; +goog.inherits(proto.ml_metadata.GetChildrenContextsByContextResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetChildrenContextsByContextResponse.displayName = 'proto.ml_metadata.GetChildrenContextsByContextResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetParentContextsByContextsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetParentContextsByContextsRequest.repeatedFields_, null); +}; +goog.inherits(proto.ml_metadata.GetParentContextsByContextsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetParentContextsByContextsRequest.displayName = 'proto.ml_metadata.GetParentContextsByContextsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetParentContextsByContextsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.GetParentContextsByContextsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetParentContextsByContextsResponse.displayName = 'proto.ml_metadata.GetParentContextsByContextsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.repeatedFields_, null); +}; +goog.inherits(proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.displayName = 'proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetChildrenContextsByContextsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetChildrenContextsByContextsRequest.repeatedFields_, null); +}; +goog.inherits(proto.ml_metadata.GetChildrenContextsByContextsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetChildrenContextsByContextsRequest.displayName = 'proto.ml_metadata.GetChildrenContextsByContextsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetChildrenContextsByContextsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.GetChildrenContextsByContextsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetChildrenContextsByContextsResponse.displayName = 'proto.ml_metadata.GetChildrenContextsByContextsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.repeatedFields_, null); +}; +goog.inherits(proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.displayName = 'proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetArtifactsByContextRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.GetArtifactsByContextRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetArtifactsByContextRequest.displayName = 'proto.ml_metadata.GetArtifactsByContextRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetArtifactsByContextResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetArtifactsByContextResponse.repeatedFields_, null); +}; +goog.inherits(proto.ml_metadata.GetArtifactsByContextResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetArtifactsByContextResponse.displayName = 'proto.ml_metadata.GetArtifactsByContextResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetExecutionsByContextRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.GetExecutionsByContextRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetExecutionsByContextRequest.displayName = 'proto.ml_metadata.GetExecutionsByContextRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetExecutionsByContextResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ml_metadata.GetExecutionsByContextResponse.repeatedFields_, null); +}; +goog.inherits(proto.ml_metadata.GetExecutionsByContextResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetExecutionsByContextResponse.displayName = 'proto.ml_metadata.GetExecutionsByContextResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetLineageGraphRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.GetLineageGraphRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetLineageGraphRequest.displayName = 'proto.ml_metadata.GetLineageGraphRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetLineageGraphResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.GetLineageGraphResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetLineageGraphResponse.displayName = 'proto.ml_metadata.GetLineageGraphResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetLineageSubgraphRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.GetLineageSubgraphRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetLineageSubgraphRequest.displayName = 'proto.ml_metadata.GetLineageSubgraphRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ml_metadata.GetLineageSubgraphResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ml_metadata.GetLineageSubgraphResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ml_metadata.GetLineageSubgraphResponse.displayName = 'proto.ml_metadata.GetLineageSubgraphResponse'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.ArtifactAndType.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.ArtifactAndType.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.ArtifactAndType} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ArtifactAndType.toObject = function(includeInstance, msg) { + var f, obj = { + artifact: (f = msg.getArtifact()) && ml_metadata_proto_metadata_store_pb.Artifact.toObject(includeInstance, f), + type: (f = msg.getType()) && ml_metadata_proto_metadata_store_pb.ArtifactType.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.ArtifactAndType} + */ +proto.ml_metadata.ArtifactAndType.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.ArtifactAndType; + return proto.ml_metadata.ArtifactAndType.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.ArtifactAndType} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.ArtifactAndType} + */ +proto.ml_metadata.ArtifactAndType.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.setArtifact(value); + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); + msg.setType(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.ArtifactAndType.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.ArtifactAndType.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.ArtifactAndType} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ArtifactAndType.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifact(); + if (f != null) { + writer.writeMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ); + } + f = message.getType(); + if (f != null) { + writer.writeMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Artifact artifact = 1; + * @return {?proto.ml_metadata.Artifact} + */ +proto.ml_metadata.ArtifactAndType.prototype.getArtifact = function() { + return /** @type{?proto.ml_metadata.Artifact} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +}; + + +/** + * @param {?proto.ml_metadata.Artifact|undefined} value + * @return {!proto.ml_metadata.ArtifactAndType} returns this +*/ +proto.ml_metadata.ArtifactAndType.prototype.setArtifact = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ArtifactAndType} returns this + */ +proto.ml_metadata.ArtifactAndType.prototype.clearArtifact = function() { + return this.setArtifact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ArtifactAndType.prototype.hasArtifact = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ArtifactType type = 2; + * @return {?proto.ml_metadata.ArtifactType} + */ +proto.ml_metadata.ArtifactAndType.prototype.getType = function() { + return /** @type{?proto.ml_metadata.ArtifactType} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 2)); +}; + + +/** + * @param {?proto.ml_metadata.ArtifactType|undefined} value + * @return {!proto.ml_metadata.ArtifactAndType} returns this +*/ +proto.ml_metadata.ArtifactAndType.prototype.setType = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ArtifactAndType} returns this + */ +proto.ml_metadata.ArtifactAndType.prototype.clearType = function() { + return this.setType(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ArtifactAndType.prototype.hasType = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.ArtifactStructMap.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.ArtifactStructMap.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.ArtifactStructMap} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ArtifactStructMap.toObject = function(includeInstance, msg) { + var f, obj = { + propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.ArtifactStruct.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.ArtifactStructMap} + */ +proto.ml_metadata.ArtifactStructMap.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.ArtifactStructMap; + return proto.ml_metadata.ArtifactStructMap.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.ArtifactStructMap} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.ArtifactStructMap} + */ +proto.ml_metadata.ArtifactStructMap.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getPropertiesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader, "", new proto.ml_metadata.ArtifactStruct()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.ArtifactStructMap.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.ArtifactStructMap.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.ArtifactStructMap} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ArtifactStructMap.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getPropertiesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter); + } +}; + + +/** + * map properties = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.ml_metadata.ArtifactStructMap.prototype.getPropertiesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.ml_metadata.ArtifactStruct)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.ml_metadata.ArtifactStructMap} returns this + */ +proto.ml_metadata.ArtifactStructMap.prototype.clearPropertiesMap = function() { + this.getPropertiesMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.ArtifactStructList.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.ArtifactStructList.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.ArtifactStructList.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.ArtifactStructList} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ArtifactStructList.toObject = function(includeInstance, msg) { + var f, obj = { + elementsList: jspb.Message.toObjectList(msg.getElementsList(), + proto.ml_metadata.ArtifactStruct.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.ArtifactStructList} + */ +proto.ml_metadata.ArtifactStructList.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.ArtifactStructList; + return proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.ArtifactStructList} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.ArtifactStructList} + */ +proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.ml_metadata.ArtifactStruct; + reader.readMessage(value,proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader); + msg.addElements(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.ArtifactStructList.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.ArtifactStructList.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.ArtifactStructList} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ArtifactStructList.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getElementsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated ArtifactStruct elements = 1; + * @return {!Array} + */ +proto.ml_metadata.ArtifactStructList.prototype.getElementsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.ArtifactStruct, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.ArtifactStructList} returns this +*/ +proto.ml_metadata.ArtifactStructList.prototype.setElementsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.ml_metadata.ArtifactStruct=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.ArtifactStruct} + */ +proto.ml_metadata.ArtifactStructList.prototype.addElements = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactStruct, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.ArtifactStructList} returns this + */ +proto.ml_metadata.ArtifactStructList.prototype.clearElementsList = function() { + return this.setElementsList([]); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.ml_metadata.ArtifactStruct.oneofGroups_ = [[1,2,3]]; + +/** + * @enum {number} + */ +proto.ml_metadata.ArtifactStruct.ValueCase = { + VALUE_NOT_SET: 0, + ARTIFACT: 1, + MAP: 2, + LIST: 3 +}; + +/** + * @return {proto.ml_metadata.ArtifactStruct.ValueCase} + */ +proto.ml_metadata.ArtifactStruct.prototype.getValueCase = function() { + return /** @type {proto.ml_metadata.ArtifactStruct.ValueCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.ArtifactStruct.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.ArtifactStruct.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.ArtifactStruct.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.ArtifactStruct} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ArtifactStruct.toObject = function(includeInstance, msg) { + var f, obj = { + artifact: (f = msg.getArtifact()) && proto.ml_metadata.ArtifactAndType.toObject(includeInstance, f), + map: (f = msg.getMap()) && proto.ml_metadata.ArtifactStructMap.toObject(includeInstance, f), + list: (f = msg.getList()) && proto.ml_metadata.ArtifactStructList.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.ArtifactStruct} + */ +proto.ml_metadata.ArtifactStruct.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.ArtifactStruct; + return proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.ArtifactStruct} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.ArtifactStruct} + */ +proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.ml_metadata.ArtifactAndType; + reader.readMessage(value,proto.ml_metadata.ArtifactAndType.deserializeBinaryFromReader); + msg.setArtifact(value); + break; + case 2: + var value = new proto.ml_metadata.ArtifactStructMap; + reader.readMessage(value,proto.ml_metadata.ArtifactStructMap.deserializeBinaryFromReader); + msg.setMap(value); + break; + case 3: + var value = new proto.ml_metadata.ArtifactStructList; + reader.readMessage(value,proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader); + msg.setList(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.ArtifactStruct.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.ArtifactStruct} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifact(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.ml_metadata.ArtifactAndType.serializeBinaryToWriter + ); + } + f = message.getMap(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.ml_metadata.ArtifactStructMap.serializeBinaryToWriter + ); + } + f = message.getList(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.ml_metadata.ArtifactStructList.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ArtifactAndType artifact = 1; + * @return {?proto.ml_metadata.ArtifactAndType} + */ +proto.ml_metadata.ArtifactStruct.prototype.getArtifact = function() { + return /** @type{?proto.ml_metadata.ArtifactAndType} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactAndType, 1)); +}; + + +/** + * @param {?proto.ml_metadata.ArtifactAndType|undefined} value + * @return {!proto.ml_metadata.ArtifactStruct} returns this +*/ +proto.ml_metadata.ArtifactStruct.prototype.setArtifact = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.ArtifactStruct.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ArtifactStruct} returns this + */ +proto.ml_metadata.ArtifactStruct.prototype.clearArtifact = function() { + return this.setArtifact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ArtifactStruct.prototype.hasArtifact = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ArtifactStructMap map = 2; + * @return {?proto.ml_metadata.ArtifactStructMap} + */ +proto.ml_metadata.ArtifactStruct.prototype.getMap = function() { + return /** @type{?proto.ml_metadata.ArtifactStructMap} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactStructMap, 2)); +}; + + +/** + * @param {?proto.ml_metadata.ArtifactStructMap|undefined} value + * @return {!proto.ml_metadata.ArtifactStruct} returns this +*/ +proto.ml_metadata.ArtifactStruct.prototype.setMap = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.ml_metadata.ArtifactStruct.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ArtifactStruct} returns this + */ +proto.ml_metadata.ArtifactStruct.prototype.clearMap = function() { + return this.setMap(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ArtifactStruct.prototype.hasMap = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ArtifactStructList list = 3; + * @return {?proto.ml_metadata.ArtifactStructList} + */ +proto.ml_metadata.ArtifactStruct.prototype.getList = function() { + return /** @type{?proto.ml_metadata.ArtifactStructList} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactStructList, 3)); +}; + + +/** + * @param {?proto.ml_metadata.ArtifactStructList|undefined} value + * @return {!proto.ml_metadata.ArtifactStruct} returns this +*/ +proto.ml_metadata.ArtifactStruct.prototype.setList = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.ml_metadata.ArtifactStruct.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.ArtifactStruct} returns this + */ +proto.ml_metadata.ArtifactStruct.prototype.clearList = function() { + return this.setList(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.ArtifactStruct.prototype.hasList = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutArtifactsRequest.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutArtifactsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutArtifactsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutArtifactsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutArtifactsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), + ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance), + options: (f = msg.getOptions()) && proto.ml_metadata.PutArtifactsRequest.Options.toObject(includeInstance, f), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f), + updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutArtifactsRequest} + */ +proto.ml_metadata.PutArtifactsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutArtifactsRequest; + return proto.ml_metadata.PutArtifactsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutArtifactsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutArtifactsRequest} + */ +proto.ml_metadata.PutArtifactsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.addArtifacts(value); + break; + case 2: + var value = new proto.ml_metadata.PutArtifactsRequest.Options; + reader.readMessage(value,proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 3: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + case 4: + var value = new google_protobuf_field_mask_pb.FieldMask; + reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader); + msg.setUpdateMask(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutArtifactsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutArtifactsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutArtifactsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutArtifactsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifactsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.ml_metadata.PutArtifactsRequest.Options.serializeBinaryToWriter + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } + f = message.getUpdateMask(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutArtifactsRequest.Options.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutArtifactsRequest.Options.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutArtifactsRequest.Options} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutArtifactsRequest.Options.toObject = function(includeInstance, msg) { + var f, obj = { + abortIfLatestUpdatedTimeChanged: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutArtifactsRequest.Options} + */ +proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutArtifactsRequest.Options; + return proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutArtifactsRequest.Options} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutArtifactsRequest.Options} + */ +proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAbortIfLatestUpdatedTimeChanged(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutArtifactsRequest.Options.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutArtifactsRequest.Options.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutArtifactsRequest.Options} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutArtifactsRequest.Options.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } +}; + + +/** + * optional bool abort_if_latest_updated_time_changed = 1; + * @return {boolean} + */ +proto.ml_metadata.PutArtifactsRequest.Options.prototype.getAbortIfLatestUpdatedTimeChanged = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutArtifactsRequest.Options} returns this + */ +proto.ml_metadata.PutArtifactsRequest.Options.prototype.setAbortIfLatestUpdatedTimeChanged = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutArtifactsRequest.Options} returns this + */ +proto.ml_metadata.PutArtifactsRequest.Options.prototype.clearAbortIfLatestUpdatedTimeChanged = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactsRequest.Options.prototype.hasAbortIfLatestUpdatedTimeChanged = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated Artifact artifacts = 1; + * @return {!Array} + */ +proto.ml_metadata.PutArtifactsRequest.prototype.getArtifactsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutArtifactsRequest} returns this +*/ +proto.ml_metadata.PutArtifactsRequest.prototype.setArtifactsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.ml_metadata.Artifact=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Artifact} + */ +proto.ml_metadata.PutArtifactsRequest.prototype.addArtifacts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutArtifactsRequest} returns this + */ +proto.ml_metadata.PutArtifactsRequest.prototype.clearArtifactsList = function() { + return this.setArtifactsList([]); +}; + + +/** + * optional Options options = 2; + * @return {?proto.ml_metadata.PutArtifactsRequest.Options} + */ +proto.ml_metadata.PutArtifactsRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.PutArtifactsRequest.Options} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.PutArtifactsRequest.Options, 2)); +}; + + +/** + * @param {?proto.ml_metadata.PutArtifactsRequest.Options|undefined} value + * @return {!proto.ml_metadata.PutArtifactsRequest} returns this +*/ +proto.ml_metadata.PutArtifactsRequest.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutArtifactsRequest} returns this + */ +proto.ml_metadata.PutArtifactsRequest.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactsRequest.prototype.hasOptions = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 3; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.PutArtifactsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutArtifactsRequest} returns this +*/ +proto.ml_metadata.PutArtifactsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutArtifactsRequest} returns this + */ +proto.ml_metadata.PutArtifactsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactsRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional google.protobuf.FieldMask update_mask = 4; + * @return {?proto.google.protobuf.FieldMask} + */ +proto.ml_metadata.PutArtifactsRequest.prototype.getUpdateMask = function() { + return /** @type{?proto.google.protobuf.FieldMask} */ ( + jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 4)); +}; + + +/** + * @param {?proto.google.protobuf.FieldMask|undefined} value + * @return {!proto.ml_metadata.PutArtifactsRequest} returns this +*/ +proto.ml_metadata.PutArtifactsRequest.prototype.setUpdateMask = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutArtifactsRequest} returns this + */ +proto.ml_metadata.PutArtifactsRequest.prototype.clearUpdateMask = function() { + return this.setUpdateMask(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactsRequest.prototype.hasUpdateMask = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutArtifactsResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutArtifactsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutArtifactsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutArtifactsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutArtifactsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutArtifactsResponse} + */ +proto.ml_metadata.PutArtifactsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutArtifactsResponse; + return proto.ml_metadata.PutArtifactsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutArtifactsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutArtifactsResponse} + */ +proto.ml_metadata.PutArtifactsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addArtifactIds(values[i]); + } + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutArtifactsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutArtifactsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutArtifactsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutArtifactsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifactIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( + 1, + f + ); + } +}; + + +/** + * repeated int64 artifact_ids = 1; + * @return {!Array} + */ +proto.ml_metadata.PutArtifactsResponse.prototype.getArtifactIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutArtifactsResponse} returns this + */ +proto.ml_metadata.PutArtifactsResponse.prototype.setArtifactIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutArtifactsResponse} returns this + */ +proto.ml_metadata.PutArtifactsResponse.prototype.addArtifactIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutArtifactsResponse} returns this + */ +proto.ml_metadata.PutArtifactsResponse.prototype.clearArtifactIdsList = function() { + return this.setArtifactIdsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutArtifactTypeRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutArtifactTypeRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutArtifactTypeRequest.toObject = function(includeInstance, msg) { + var f, obj = { + artifactType: (f = msg.getArtifactType()) && ml_metadata_proto_metadata_store_pb.ArtifactType.toObject(includeInstance, f), + canAddFields: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, + canOmitFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, + canDeleteFields: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, + allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 4, true), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutArtifactTypeRequest} + */ +proto.ml_metadata.PutArtifactTypeRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutArtifactTypeRequest; + return proto.ml_metadata.PutArtifactTypeRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutArtifactTypeRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutArtifactTypeRequest} + */ +proto.ml_metadata.PutArtifactTypeRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); + msg.setArtifactType(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanAddFields(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanOmitFields(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanDeleteFields(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllFieldsMatch(value); + break; + case 6: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutArtifactTypeRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutArtifactTypeRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutArtifactTypeRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifactType(); + if (f != null) { + writer.writeMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeBool( + 5, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeBool( + 4, + f + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 6, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ArtifactType artifact_type = 1; + * @return {?proto.ml_metadata.ArtifactType} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.getArtifactType = function() { + return /** @type{?proto.ml_metadata.ArtifactType} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); +}; + + +/** + * @param {?proto.ml_metadata.ArtifactType|undefined} value + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this +*/ +proto.ml_metadata.PutArtifactTypeRequest.prototype.setArtifactType = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.clearArtifactType = function() { + return this.setArtifactType(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.hasArtifactType = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool can_add_fields = 2; + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.getCanAddFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.setCanAddFields = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.clearCanAddFields = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.hasCanAddFields = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool can_omit_fields = 5; + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.getCanOmitFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.setCanOmitFields = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.clearCanOmitFields = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.hasCanOmitFields = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool can_delete_fields = 3; + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.getCanDeleteFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.setCanDeleteFields = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.clearCanDeleteFields = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.hasCanDeleteFields = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool all_fields_match = 4; + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.getAllFieldsMatch = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, true)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.setAllFieldsMatch = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.clearAllFieldsMatch = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.hasAllFieldsMatch = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 6; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 6)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this +*/ +proto.ml_metadata.PutArtifactTypeRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutArtifactTypeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutArtifactTypeResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutArtifactTypeResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutArtifactTypeResponse.toObject = function(includeInstance, msg) { + var f, obj = { + typeId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutArtifactTypeResponse} + */ +proto.ml_metadata.PutArtifactTypeResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutArtifactTypeResponse; + return proto.ml_metadata.PutArtifactTypeResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutArtifactTypeResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutArtifactTypeResponse} + */ +proto.ml_metadata.PutArtifactTypeResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt64()); + msg.setTypeId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutArtifactTypeResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutArtifactTypeResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutArtifactTypeResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutArtifactTypeResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt64( + 1, + f + ); + } +}; + + +/** + * optional int64 type_id = 1; + * @return {number} + */ +proto.ml_metadata.PutArtifactTypeResponse.prototype.getTypeId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ml_metadata.PutArtifactTypeResponse} returns this + */ +proto.ml_metadata.PutArtifactTypeResponse.prototype.setTypeId = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutArtifactTypeResponse} returns this + */ +proto.ml_metadata.PutArtifactTypeResponse.prototype.clearTypeId = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutArtifactTypeResponse.prototype.hasTypeId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutExecutionsRequest.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutExecutionsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutExecutionsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutExecutionsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), + ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f), + updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutExecutionsRequest} + */ +proto.ml_metadata.PutExecutionsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutExecutionsRequest; + return proto.ml_metadata.PutExecutionsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutExecutionsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutExecutionsRequest} + */ +proto.ml_metadata.PutExecutionsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.Execution; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); + msg.addExecutions(value); + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + case 3: + var value = new google_protobuf_field_mask_pb.FieldMask; + reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader); + msg.setUpdateMask(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutExecutionsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutExecutionsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutExecutionsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExecutionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } + f = message.getUpdateMask(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated Execution executions = 1; + * @return {!Array} + */ +proto.ml_metadata.PutExecutionsRequest.prototype.getExecutionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutExecutionsRequest} returns this +*/ +proto.ml_metadata.PutExecutionsRequest.prototype.setExecutionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.ml_metadata.Execution=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Execution} + */ +proto.ml_metadata.PutExecutionsRequest.prototype.addExecutions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutExecutionsRequest} returns this + */ +proto.ml_metadata.PutExecutionsRequest.prototype.clearExecutionsList = function() { + return this.setExecutionsList([]); +}; + + +/** + * optional TransactionOptions transaction_options = 2; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.PutExecutionsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutExecutionsRequest} returns this +*/ +proto.ml_metadata.PutExecutionsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutExecutionsRequest} returns this + */ +proto.ml_metadata.PutExecutionsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionsRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.FieldMask update_mask = 3; + * @return {?proto.google.protobuf.FieldMask} + */ +proto.ml_metadata.PutExecutionsRequest.prototype.getUpdateMask = function() { + return /** @type{?proto.google.protobuf.FieldMask} */ ( + jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3)); +}; + + +/** + * @param {?proto.google.protobuf.FieldMask|undefined} value + * @return {!proto.ml_metadata.PutExecutionsRequest} returns this +*/ +proto.ml_metadata.PutExecutionsRequest.prototype.setUpdateMask = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutExecutionsRequest} returns this + */ +proto.ml_metadata.PutExecutionsRequest.prototype.clearUpdateMask = function() { + return this.setUpdateMask(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionsRequest.prototype.hasUpdateMask = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutExecutionsResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutExecutionsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutExecutionsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutExecutionsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutExecutionsResponse} + */ +proto.ml_metadata.PutExecutionsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutExecutionsResponse; + return proto.ml_metadata.PutExecutionsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutExecutionsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutExecutionsResponse} + */ +proto.ml_metadata.PutExecutionsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addExecutionIds(values[i]); + } + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutExecutionsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutExecutionsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutExecutionsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExecutionIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( + 1, + f + ); + } +}; + + +/** + * repeated int64 execution_ids = 1; + * @return {!Array} + */ +proto.ml_metadata.PutExecutionsResponse.prototype.getExecutionIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutExecutionsResponse} returns this + */ +proto.ml_metadata.PutExecutionsResponse.prototype.setExecutionIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutExecutionsResponse} returns this + */ +proto.ml_metadata.PutExecutionsResponse.prototype.addExecutionIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutExecutionsResponse} returns this + */ +proto.ml_metadata.PutExecutionsResponse.prototype.clearExecutionIdsList = function() { + return this.setExecutionIdsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutExecutionTypeRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutExecutionTypeRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionTypeRequest.toObject = function(includeInstance, msg) { + var f, obj = { + executionType: (f = msg.getExecutionType()) && ml_metadata_proto_metadata_store_pb.ExecutionType.toObject(includeInstance, f), + canAddFields: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, + canOmitFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, + canDeleteFields: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, + allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 4, true), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutExecutionTypeRequest} + */ +proto.ml_metadata.PutExecutionTypeRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutExecutionTypeRequest; + return proto.ml_metadata.PutExecutionTypeRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutExecutionTypeRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutExecutionTypeRequest} + */ +proto.ml_metadata.PutExecutionTypeRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.ExecutionType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader); + msg.setExecutionType(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanAddFields(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanOmitFields(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanDeleteFields(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllFieldsMatch(value); + break; + case 6: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutExecutionTypeRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutExecutionTypeRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionTypeRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExecutionType(); + if (f != null) { + writer.writeMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeBool( + 5, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeBool( + 4, + f + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 6, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * optional ExecutionType execution_type = 1; + * @return {?proto.ml_metadata.ExecutionType} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.getExecutionType = function() { + return /** @type{?proto.ml_metadata.ExecutionType} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1)); +}; + + +/** + * @param {?proto.ml_metadata.ExecutionType|undefined} value + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this +*/ +proto.ml_metadata.PutExecutionTypeRequest.prototype.setExecutionType = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.clearExecutionType = function() { + return this.setExecutionType(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.hasExecutionType = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool can_add_fields = 2; + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.getCanAddFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.setCanAddFields = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanAddFields = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.hasCanAddFields = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool can_omit_fields = 5; + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.getCanOmitFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.setCanOmitFields = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanOmitFields = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.hasCanOmitFields = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool can_delete_fields = 3; + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.getCanDeleteFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.setCanDeleteFields = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanDeleteFields = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.hasCanDeleteFields = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool all_fields_match = 4; + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.getAllFieldsMatch = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, true)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.setAllFieldsMatch = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.clearAllFieldsMatch = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.hasAllFieldsMatch = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 6; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 6)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this +*/ +proto.ml_metadata.PutExecutionTypeRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutExecutionTypeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutExecutionTypeResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutExecutionTypeResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionTypeResponse.toObject = function(includeInstance, msg) { + var f, obj = { + typeId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutExecutionTypeResponse} + */ +proto.ml_metadata.PutExecutionTypeResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutExecutionTypeResponse; + return proto.ml_metadata.PutExecutionTypeResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutExecutionTypeResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutExecutionTypeResponse} + */ +proto.ml_metadata.PutExecutionTypeResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt64()); + msg.setTypeId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutExecutionTypeResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutExecutionTypeResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutExecutionTypeResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionTypeResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt64( + 1, + f + ); + } +}; + + +/** + * optional int64 type_id = 1; + * @return {number} + */ +proto.ml_metadata.PutExecutionTypeResponse.prototype.getTypeId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ml_metadata.PutExecutionTypeResponse} returns this + */ +proto.ml_metadata.PutExecutionTypeResponse.prototype.setTypeId = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutExecutionTypeResponse} returns this + */ +proto.ml_metadata.PutExecutionTypeResponse.prototype.clearTypeId = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionTypeResponse.prototype.hasTypeId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutEventsRequest.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutEventsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutEventsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutEventsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutEventsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + eventsList: jspb.Message.toObjectList(msg.getEventsList(), + ml_metadata_proto_metadata_store_pb.Event.toObject, includeInstance), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutEventsRequest} + */ +proto.ml_metadata.PutEventsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutEventsRequest; + return proto.ml_metadata.PutEventsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutEventsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutEventsRequest} + */ +proto.ml_metadata.PutEventsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.Event; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader); + msg.addEvents(value); + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutEventsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutEventsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutEventsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutEventsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEventsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated Event events = 1; + * @return {!Array} + */ +proto.ml_metadata.PutEventsRequest.prototype.getEventsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutEventsRequest} returns this +*/ +proto.ml_metadata.PutEventsRequest.prototype.setEventsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.ml_metadata.Event=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Event} + */ +proto.ml_metadata.PutEventsRequest.prototype.addEvents = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Event, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutEventsRequest} returns this + */ +proto.ml_metadata.PutEventsRequest.prototype.clearEventsList = function() { + return this.setEventsList([]); +}; + + +/** + * optional TransactionOptions transaction_options = 2; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.PutEventsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutEventsRequest} returns this +*/ +proto.ml_metadata.PutEventsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutEventsRequest} returns this + */ +proto.ml_metadata.PutEventsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutEventsRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutEventsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutEventsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutEventsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutEventsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutEventsResponse} + */ +proto.ml_metadata.PutEventsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutEventsResponse; + return proto.ml_metadata.PutEventsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutEventsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutEventsResponse} + */ +proto.ml_metadata.PutEventsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutEventsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutEventsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutEventsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutEventsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutExecutionRequest.repeatedFields_ = [2,3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutExecutionRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutExecutionRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutExecutionRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionRequest.toObject = function(includeInstance, msg) { + var f, obj = { + execution: (f = msg.getExecution()) && ml_metadata_proto_metadata_store_pb.Execution.toObject(includeInstance, f), + artifactEventPairsList: jspb.Message.toObjectList(msg.getArtifactEventPairsList(), + proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.toObject, includeInstance), + contextsList: jspb.Message.toObjectList(msg.getContextsList(), + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance), + options: (f = msg.getOptions()) && proto.ml_metadata.PutExecutionRequest.Options.toObject(includeInstance, f), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutExecutionRequest} + */ +proto.ml_metadata.PutExecutionRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutExecutionRequest; + return proto.ml_metadata.PutExecutionRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutExecutionRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutExecutionRequest} + */ +proto.ml_metadata.PutExecutionRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.Execution; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); + msg.setExecution(value); + break; + case 2: + var value = new proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent; + reader.readMessage(value,proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinaryFromReader); + msg.addArtifactEventPairs(value); + break; + case 3: + var value = new ml_metadata_proto_metadata_store_pb.Context; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); + msg.addContexts(value); + break; + case 4: + var value = new proto.ml_metadata.PutExecutionRequest.Options; + reader.readMessage(value,proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 5: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutExecutionRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutExecutionRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutExecutionRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExecution(); + if (f != null) { + writer.writeMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter + ); + } + f = message.getArtifactEventPairsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.serializeBinaryToWriter + ); + } + f = message.getContextsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.ml_metadata.PutExecutionRequest.Options.serializeBinaryToWriter + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 5, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.toObject = function(includeInstance, msg) { + var f, obj = { + artifact: (f = msg.getArtifact()) && ml_metadata_proto_metadata_store_pb.Artifact.toObject(includeInstance, f), + event: (f = msg.getEvent()) && ml_metadata_proto_metadata_store_pb.Event.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent; + return proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.setArtifact(value); + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.Event; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader); + msg.setEvent(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifact(); + if (f != null) { + writer.writeMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ); + } + f = message.getEvent(); + if (f != null) { + writer.writeMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter + ); + } +}; + + +/** + * optional Artifact artifact = 1; + * @return {?proto.ml_metadata.Artifact} + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.getArtifact = function() { + return /** @type{?proto.ml_metadata.Artifact} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +}; + + +/** + * @param {?proto.ml_metadata.Artifact|undefined} value + * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this +*/ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.setArtifact = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.clearArtifact = function() { + return this.setArtifact(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.hasArtifact = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional Event event = 2; + * @return {?proto.ml_metadata.Event} + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.getEvent = function() { + return /** @type{?proto.ml_metadata.Event} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 2)); +}; + + +/** + * @param {?proto.ml_metadata.Event|undefined} value + * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this +*/ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.setEvent = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.clearEvent = function() { + return this.setEvent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.hasEvent = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutExecutionRequest.Options.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutExecutionRequest.Options.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutExecutionRequest.Options} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionRequest.Options.toObject = function(includeInstance, msg) { + var f, obj = { + reuseContextIfAlreadyExist: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, + reuseArtifactIfAlreadyExistByExternalId: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutExecutionRequest.Options} + */ +proto.ml_metadata.PutExecutionRequest.Options.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutExecutionRequest.Options; + return proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutExecutionRequest.Options} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutExecutionRequest.Options} + */ +proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReuseContextIfAlreadyExist(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReuseArtifactIfAlreadyExistByExternalId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutExecutionRequest.Options.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutExecutionRequest.Options.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutExecutionRequest.Options} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionRequest.Options.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional bool reuse_context_if_already_exist = 1; + * @return {boolean} + */ +proto.ml_metadata.PutExecutionRequest.Options.prototype.getReuseContextIfAlreadyExist = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutExecutionRequest.Options} returns this + */ +proto.ml_metadata.PutExecutionRequest.Options.prototype.setReuseContextIfAlreadyExist = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutExecutionRequest.Options} returns this + */ +proto.ml_metadata.PutExecutionRequest.Options.prototype.clearReuseContextIfAlreadyExist = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionRequest.Options.prototype.hasReuseContextIfAlreadyExist = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool reuse_artifact_if_already_exist_by_external_id = 2; + * @return {boolean} + */ +proto.ml_metadata.PutExecutionRequest.Options.prototype.getReuseArtifactIfAlreadyExistByExternalId = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutExecutionRequest.Options} returns this + */ +proto.ml_metadata.PutExecutionRequest.Options.prototype.setReuseArtifactIfAlreadyExistByExternalId = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutExecutionRequest.Options} returns this + */ +proto.ml_metadata.PutExecutionRequest.Options.prototype.clearReuseArtifactIfAlreadyExistByExternalId = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionRequest.Options.prototype.hasReuseArtifactIfAlreadyExistByExternalId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional Execution execution = 1; + * @return {?proto.ml_metadata.Execution} + */ +proto.ml_metadata.PutExecutionRequest.prototype.getExecution = function() { + return /** @type{?proto.ml_metadata.Execution} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); +}; + + +/** + * @param {?proto.ml_metadata.Execution|undefined} value + * @return {!proto.ml_metadata.PutExecutionRequest} returns this +*/ +proto.ml_metadata.PutExecutionRequest.prototype.setExecution = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutExecutionRequest} returns this + */ +proto.ml_metadata.PutExecutionRequest.prototype.clearExecution = function() { + return this.setExecution(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionRequest.prototype.hasExecution = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated ArtifactAndEvent artifact_event_pairs = 2; + * @return {!Array} + */ +proto.ml_metadata.PutExecutionRequest.prototype.getArtifactEventPairsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutExecutionRequest} returns this +*/ +proto.ml_metadata.PutExecutionRequest.prototype.setArtifactEventPairsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} + */ +proto.ml_metadata.PutExecutionRequest.prototype.addArtifactEventPairs = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutExecutionRequest} returns this + */ +proto.ml_metadata.PutExecutionRequest.prototype.clearArtifactEventPairsList = function() { + return this.setArtifactEventPairsList([]); +}; + + +/** + * repeated Context contexts = 3; + * @return {!Array} + */ +proto.ml_metadata.PutExecutionRequest.prototype.getContextsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutExecutionRequest} returns this +*/ +proto.ml_metadata.PutExecutionRequest.prototype.setContextsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.ml_metadata.Context=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Context} + */ +proto.ml_metadata.PutExecutionRequest.prototype.addContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ml_metadata.Context, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutExecutionRequest} returns this + */ +proto.ml_metadata.PutExecutionRequest.prototype.clearContextsList = function() { + return this.setContextsList([]); +}; + + +/** + * optional Options options = 4; + * @return {?proto.ml_metadata.PutExecutionRequest.Options} + */ +proto.ml_metadata.PutExecutionRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.PutExecutionRequest.Options} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.PutExecutionRequest.Options, 4)); +}; + + +/** + * @param {?proto.ml_metadata.PutExecutionRequest.Options|undefined} value + * @return {!proto.ml_metadata.PutExecutionRequest} returns this +*/ +proto.ml_metadata.PutExecutionRequest.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutExecutionRequest} returns this + */ +proto.ml_metadata.PutExecutionRequest.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionRequest.prototype.hasOptions = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 5; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.PutExecutionRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 5)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutExecutionRequest} returns this +*/ +proto.ml_metadata.PutExecutionRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutExecutionRequest} returns this + */ +proto.ml_metadata.PutExecutionRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutExecutionResponse.repeatedFields_ = [2,3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutExecutionResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutExecutionResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutExecutionResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionResponse.toObject = function(includeInstance, msg) { + var f, obj = { + executionId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + contextIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutExecutionResponse} + */ +proto.ml_metadata.PutExecutionResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutExecutionResponse; + return proto.ml_metadata.PutExecutionResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutExecutionResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutExecutionResponse} + */ +proto.ml_metadata.PutExecutionResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt64()); + msg.setExecutionId(value); + break; + case 2: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addArtifactIds(values[i]); + } + break; + case 3: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addContextIds(values[i]); + } + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutExecutionResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutExecutionResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutExecutionResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutExecutionResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt64( + 1, + f + ); + } + f = message.getArtifactIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( + 2, + f + ); + } + f = message.getContextIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( + 3, + f + ); + } +}; + + +/** + * optional int64 execution_id = 1; + * @return {number} + */ +proto.ml_metadata.PutExecutionResponse.prototype.getExecutionId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ml_metadata.PutExecutionResponse} returns this + */ +proto.ml_metadata.PutExecutionResponse.prototype.setExecutionId = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutExecutionResponse} returns this + */ +proto.ml_metadata.PutExecutionResponse.prototype.clearExecutionId = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutExecutionResponse.prototype.hasExecutionId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * repeated int64 artifact_ids = 2; + * @return {!Array} + */ +proto.ml_metadata.PutExecutionResponse.prototype.getArtifactIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutExecutionResponse} returns this + */ +proto.ml_metadata.PutExecutionResponse.prototype.setArtifactIdsList = function(value) { + return jspb.Message.setField(this, 2, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutExecutionResponse} returns this + */ +proto.ml_metadata.PutExecutionResponse.prototype.addArtifactIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 2, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutExecutionResponse} returns this + */ +proto.ml_metadata.PutExecutionResponse.prototype.clearArtifactIdsList = function() { + return this.setArtifactIdsList([]); +}; + + +/** + * repeated int64 context_ids = 3; + * @return {!Array} + */ +proto.ml_metadata.PutExecutionResponse.prototype.getContextIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutExecutionResponse} returns this + */ +proto.ml_metadata.PutExecutionResponse.prototype.setContextIdsList = function(value) { + return jspb.Message.setField(this, 3, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutExecutionResponse} returns this + */ +proto.ml_metadata.PutExecutionResponse.prototype.addContextIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 3, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutExecutionResponse} returns this + */ +proto.ml_metadata.PutExecutionResponse.prototype.clearContextIdsList = function() { + return this.setContextIdsList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutLineageSubgraphRequest.repeatedFields_ = [1,2,3,4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutLineageSubgraphRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutLineageSubgraphRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutLineageSubgraphRequest.toObject = function(includeInstance, msg) { + var f, obj = { + executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), + ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance), + artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), + ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance), + contextsList: jspb.Message.toObjectList(msg.getContextsList(), + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance), + eventEdgesList: jspb.Message.toObjectList(msg.getEventEdgesList(), + proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.toObject, includeInstance), + options: (f = msg.getOptions()) && proto.ml_metadata.PutLineageSubgraphRequest.Options.toObject(includeInstance, f), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} + */ +proto.ml_metadata.PutLineageSubgraphRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutLineageSubgraphRequest; + return proto.ml_metadata.PutLineageSubgraphRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutLineageSubgraphRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} + */ +proto.ml_metadata.PutLineageSubgraphRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.Execution; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); + msg.addExecutions(value); + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.addArtifacts(value); + break; + case 3: + var value = new ml_metadata_proto_metadata_store_pb.Context; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); + msg.addContexts(value); + break; + case 4: + var value = new proto.ml_metadata.PutLineageSubgraphRequest.EventEdge; + reader.readMessage(value,proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.deserializeBinaryFromReader); + msg.addEventEdges(value); + break; + case 5: + var value = new proto.ml_metadata.PutLineageSubgraphRequest.Options; + reader.readMessage(value,proto.ml_metadata.PutLineageSubgraphRequest.Options.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 6: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutLineageSubgraphRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutLineageSubgraphRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutLineageSubgraphRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExecutionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter + ); + } + f = message.getArtifactsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ); + } + f = message.getContextsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter + ); + } + f = message.getEventEdgesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.serializeBinaryToWriter + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.ml_metadata.PutLineageSubgraphRequest.Options.serializeBinaryToWriter + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 6, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.toObject = function(includeInstance, msg) { + var f, obj = { + executionIndex: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + artifactIndex: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + event: (f = msg.getEvent()) && ml_metadata_proto_metadata_store_pb.Event.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutLineageSubgraphRequest.EventEdge; + return proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setExecutionIndex(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setArtifactIndex(value); + break; + case 3: + var value = new ml_metadata_proto_metadata_store_pb.Event; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader); + msg.setEvent(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt32( + 1, + f + ); + } + f = /** @type {number} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeInt32( + 2, + f + ); + } + f = message.getEvent(); + if (f != null) { + writer.writeMessage( + 3, + f, + ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 execution_index = 1; + * @return {number} + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.getExecutionIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.setExecutionIndex = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.clearExecutionIndex = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.hasExecutionIndex = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int32 artifact_index = 2; + * @return {number} + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.getArtifactIndex = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.setArtifactIndex = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.clearArtifactIndex = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.hasArtifactIndex = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional Event event = 3; + * @return {?proto.ml_metadata.Event} + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.getEvent = function() { + return /** @type{?proto.ml_metadata.Event} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 3)); +}; + + +/** + * @param {?proto.ml_metadata.Event|undefined} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this +*/ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.setEvent = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.clearEvent = function() { + return this.setEvent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutLineageSubgraphRequest.EventEdge.prototype.hasEvent = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutLineageSubgraphRequest.Options.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutLineageSubgraphRequest.Options} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.toObject = function(includeInstance, msg) { + var f, obj = { + reuseContextIfAlreadyExist: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, + reuseArtifactIfAlreadyExistByExternalId: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options} + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutLineageSubgraphRequest.Options; + return proto.ml_metadata.PutLineageSubgraphRequest.Options.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutLineageSubgraphRequest.Options} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options} + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReuseContextIfAlreadyExist(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReuseArtifactIfAlreadyExistByExternalId(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutLineageSubgraphRequest.Options.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutLineageSubgraphRequest.Options} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeBool( + 1, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional bool reuse_context_if_already_exist = 1; + * @return {boolean} + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.getReuseContextIfAlreadyExist = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.setReuseContextIfAlreadyExist = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.clearReuseContextIfAlreadyExist = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.hasReuseContextIfAlreadyExist = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool reuse_artifact_if_already_exist_by_external_id = 2; + * @return {boolean} + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.getReuseArtifactIfAlreadyExistByExternalId = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.setReuseArtifactIfAlreadyExistByExternalId = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.Options} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.clearReuseArtifactIfAlreadyExistByExternalId = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutLineageSubgraphRequest.Options.prototype.hasReuseArtifactIfAlreadyExistByExternalId = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * repeated Execution executions = 1; + * @return {!Array} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.getExecutionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this +*/ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.setExecutionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.ml_metadata.Execution=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Execution} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.addExecutions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearExecutionsList = function() { + return this.setExecutionsList([]); +}; + + +/** + * repeated Artifact artifacts = 2; + * @return {!Array} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.getArtifactsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this +*/ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.setArtifactsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.ml_metadata.Artifact=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Artifact} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.addArtifacts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.Artifact, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearArtifactsList = function() { + return this.setArtifactsList([]); +}; + + +/** + * repeated Context contexts = 3; + * @return {!Array} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.getContextsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this +*/ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.setContextsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.ml_metadata.Context=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Context} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.addContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ml_metadata.Context, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearContextsList = function() { + return this.setContextsList([]); +}; + + +/** + * repeated EventEdge event_edges = 4; + * @return {!Array} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.getEventEdgesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.PutLineageSubgraphRequest.EventEdge, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this +*/ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.setEventEdgesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutLineageSubgraphRequest.EventEdge} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.addEventEdges = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ml_metadata.PutLineageSubgraphRequest.EventEdge, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearEventEdgesList = function() { + return this.setEventEdgesList([]); +}; + + +/** + * optional Options options = 5; + * @return {?proto.ml_metadata.PutLineageSubgraphRequest.Options} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.PutLineageSubgraphRequest.Options} */ ( + jspb.Message.getWrapperField(this, proto.ml_metadata.PutLineageSubgraphRequest.Options, 5)); +}; + + +/** + * @param {?proto.ml_metadata.PutLineageSubgraphRequest.Options|undefined} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this +*/ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.hasOptions = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 6; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 6)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this +*/ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutLineageSubgraphRequest} returns this + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutLineageSubgraphRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutLineageSubgraphResponse.repeatedFields_ = [1,2,3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutLineageSubgraphResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutLineageSubgraphResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutLineageSubgraphResponse.toObject = function(includeInstance, msg) { + var f, obj = { + executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + contextIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} + */ +proto.ml_metadata.PutLineageSubgraphResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutLineageSubgraphResponse; + return proto.ml_metadata.PutLineageSubgraphResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutLineageSubgraphResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} + */ +proto.ml_metadata.PutLineageSubgraphResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addExecutionIds(values[i]); + } + break; + case 2: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addArtifactIds(values[i]); + } + break; + case 3: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addContextIds(values[i]); + } + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutLineageSubgraphResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutLineageSubgraphResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutLineageSubgraphResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExecutionIdsList(); + if (f.length > 0) { + writer.writePackedInt64( + 1, + f + ); + } + f = message.getArtifactIdsList(); + if (f.length > 0) { + writer.writePackedInt64( + 2, + f + ); + } + f = message.getContextIdsList(); + if (f.length > 0) { + writer.writePackedInt64( + 3, + f + ); + } +}; + + +/** + * repeated int64 execution_ids = 1; + * @return {!Array} + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.getExecutionIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.setExecutionIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.addExecutionIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.clearExecutionIdsList = function() { + return this.setExecutionIdsList([]); +}; + + +/** + * repeated int64 artifact_ids = 2; + * @return {!Array} + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.getArtifactIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.setArtifactIdsList = function(value) { + return jspb.Message.setField(this, 2, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.addArtifactIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 2, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.clearArtifactIdsList = function() { + return this.setArtifactIdsList([]); +}; + + +/** + * repeated int64 context_ids = 3; + * @return {!Array} + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.getContextIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.setContextIdsList = function(value) { + return jspb.Message.setField(this, 3, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.addContextIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 3, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutLineageSubgraphResponse} returns this + */ +proto.ml_metadata.PutLineageSubgraphResponse.prototype.clearContextIdsList = function() { + return this.setContextIdsList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutTypesRequest.repeatedFields_ = [1,2,3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutTypesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutTypesRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutTypesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutTypesRequest.toObject = function(includeInstance, msg) { + var f, obj = { + artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(), + ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance), + executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(), + ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance), + contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(), + ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance), + canAddFields: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, + canOmitFields: (f = jspb.Message.getBooleanField(msg, 7)) == null ? undefined : f, + canDeleteFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, + allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 6, true), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutTypesRequest} + */ +proto.ml_metadata.PutTypesRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutTypesRequest; + return proto.ml_metadata.PutTypesRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutTypesRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutTypesRequest} + */ +proto.ml_metadata.PutTypesRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); + msg.addArtifactTypes(value); + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.ExecutionType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader); + msg.addExecutionTypes(value); + break; + case 3: + var value = new ml_metadata_proto_metadata_store_pb.ContextType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); + msg.addContextTypes(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanAddFields(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanOmitFields(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanDeleteFields(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllFieldsMatch(value); + break; + case 8: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutTypesRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutTypesRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutTypesRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutTypesRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifactTypesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter + ); + } + f = message.getExecutionTypesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter + ); + } + f = message.getContextTypesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeBool( + 4, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 7)); + if (f != null) { + writer.writeBool( + 7, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeBool( + 5, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); + if (f != null) { + writer.writeBool( + 6, + f + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 8, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated ArtifactType artifact_types = 1; + * @return {!Array} + */ +proto.ml_metadata.PutTypesRequest.prototype.getArtifactTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutTypesRequest} returns this +*/ +proto.ml_metadata.PutTypesRequest.prototype.setArtifactTypesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.ml_metadata.ArtifactType=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.ArtifactType} + */ +proto.ml_metadata.PutTypesRequest.prototype.addArtifactTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.clearArtifactTypesList = function() { + return this.setArtifactTypesList([]); +}; + + +/** + * repeated ExecutionType execution_types = 2; + * @return {!Array} + */ +proto.ml_metadata.PutTypesRequest.prototype.getExecutionTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutTypesRequest} returns this +*/ +proto.ml_metadata.PutTypesRequest.prototype.setExecutionTypesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.ml_metadata.ExecutionType=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.ExecutionType} + */ +proto.ml_metadata.PutTypesRequest.prototype.addExecutionTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.ExecutionType, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.clearExecutionTypesList = function() { + return this.setExecutionTypesList([]); +}; + + +/** + * repeated ContextType context_types = 3; + * @return {!Array} + */ +proto.ml_metadata.PutTypesRequest.prototype.getContextTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutTypesRequest} returns this +*/ +proto.ml_metadata.PutTypesRequest.prototype.setContextTypesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.ml_metadata.ContextType=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.ContextType} + */ +proto.ml_metadata.PutTypesRequest.prototype.addContextTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ml_metadata.ContextType, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.clearContextTypesList = function() { + return this.setContextTypesList([]); +}; + + +/** + * optional bool can_add_fields = 4; + * @return {boolean} + */ +proto.ml_metadata.PutTypesRequest.prototype.getCanAddFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.setCanAddFields = function(value) { + return jspb.Message.setField(this, 4, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.clearCanAddFields = function() { + return jspb.Message.setField(this, 4, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutTypesRequest.prototype.hasCanAddFields = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bool can_omit_fields = 7; + * @return {boolean} + */ +proto.ml_metadata.PutTypesRequest.prototype.getCanOmitFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.setCanOmitFields = function(value) { + return jspb.Message.setField(this, 7, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.clearCanOmitFields = function() { + return jspb.Message.setField(this, 7, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutTypesRequest.prototype.hasCanOmitFields = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional bool can_delete_fields = 5; + * @return {boolean} + */ +proto.ml_metadata.PutTypesRequest.prototype.getCanDeleteFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.setCanDeleteFields = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.clearCanDeleteFields = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutTypesRequest.prototype.hasCanDeleteFields = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool all_fields_match = 6; + * @return {boolean} + */ +proto.ml_metadata.PutTypesRequest.prototype.getAllFieldsMatch = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, true)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.setAllFieldsMatch = function(value) { + return jspb.Message.setField(this, 6, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.clearAllFieldsMatch = function() { + return jspb.Message.setField(this, 6, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutTypesRequest.prototype.hasAllFieldsMatch = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 8; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.PutTypesRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 8)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutTypesRequest} returns this +*/ +proto.ml_metadata.PutTypesRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutTypesRequest} returns this + */ +proto.ml_metadata.PutTypesRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutTypesRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 8) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutTypesResponse.repeatedFields_ = [1,2,3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutTypesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutTypesResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutTypesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutTypesResponse.toObject = function(includeInstance, msg) { + var f, obj = { + artifactTypeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + executionTypeIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + contextTypeIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutTypesResponse} + */ +proto.ml_metadata.PutTypesResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutTypesResponse; + return proto.ml_metadata.PutTypesResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutTypesResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutTypesResponse} + */ +proto.ml_metadata.PutTypesResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addArtifactTypeIds(values[i]); + } + break; + case 2: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addExecutionTypeIds(values[i]); + } + break; + case 3: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addContextTypeIds(values[i]); + } + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutTypesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutTypesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutTypesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutTypesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifactTypeIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( + 1, + f + ); + } + f = message.getExecutionTypeIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( + 2, + f + ); + } + f = message.getContextTypeIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( + 3, + f + ); + } +}; + + +/** + * repeated int64 artifact_type_ids = 1; + * @return {!Array} + */ +proto.ml_metadata.PutTypesResponse.prototype.getArtifactTypeIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutTypesResponse} returns this + */ +proto.ml_metadata.PutTypesResponse.prototype.setArtifactTypeIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutTypesResponse} returns this + */ +proto.ml_metadata.PutTypesResponse.prototype.addArtifactTypeIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutTypesResponse} returns this + */ +proto.ml_metadata.PutTypesResponse.prototype.clearArtifactTypeIdsList = function() { + return this.setArtifactTypeIdsList([]); +}; + + +/** + * repeated int64 execution_type_ids = 2; + * @return {!Array} + */ +proto.ml_metadata.PutTypesResponse.prototype.getExecutionTypeIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutTypesResponse} returns this + */ +proto.ml_metadata.PutTypesResponse.prototype.setExecutionTypeIdsList = function(value) { + return jspb.Message.setField(this, 2, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutTypesResponse} returns this + */ +proto.ml_metadata.PutTypesResponse.prototype.addExecutionTypeIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 2, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutTypesResponse} returns this + */ +proto.ml_metadata.PutTypesResponse.prototype.clearExecutionTypeIdsList = function() { + return this.setExecutionTypeIdsList([]); +}; + + +/** + * repeated int64 context_type_ids = 3; + * @return {!Array} + */ +proto.ml_metadata.PutTypesResponse.prototype.getContextTypeIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutTypesResponse} returns this + */ +proto.ml_metadata.PutTypesResponse.prototype.setContextTypeIdsList = function(value) { + return jspb.Message.setField(this, 3, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutTypesResponse} returns this + */ +proto.ml_metadata.PutTypesResponse.prototype.addContextTypeIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 3, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutTypesResponse} returns this + */ +proto.ml_metadata.PutTypesResponse.prototype.clearContextTypeIdsList = function() { + return this.setContextTypeIdsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.PutContextTypeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutContextTypeRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutContextTypeRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.PutContextTypeRequest.toObject = function(includeInstance, msg) { + var f, obj = { + contextType: (f = msg.getContextType()) && ml_metadata_proto_metadata_store_pb.ContextType.toObject(includeInstance, f), + canAddFields: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, + canOmitFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, + canDeleteFields: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, + allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 4, true), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutContextTypeRequest} + */ +proto.ml_metadata.PutContextTypeRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutContextTypeRequest; + return proto.ml_metadata.PutContextTypeRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutContextTypeRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutContextTypeRequest} + */ +proto.ml_metadata.PutContextTypeRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.ContextType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); + msg.setContextType(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanAddFields(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanOmitFields(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setCanDeleteFields(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAllFieldsMatch(value); + break; + case 6: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.PutContextTypeRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutContextTypeRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; - + /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.ArtifactAndType} message + * @param {!proto.ml_metadata.PutContextTypeRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ArtifactAndType.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.PutContextTypeRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifact(); + f = message.getContextType(); if (f != null) { writer.writeMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter ); } - f = message.getType(); + f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { - writer.writeMessage( + writer.writeBool( 2, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + if (f != null) { + writer.writeBool( + 5, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool( + 3, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); + if (f != null) { + writer.writeBool( + 4, + f + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 6, f, - ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * optional Artifact artifact = 1; - * @return {?proto.ml_metadata.Artifact} + * optional ContextType context_type = 1; + * @return {?proto.ml_metadata.ContextType} */ -proto.ml_metadata.ArtifactAndType.prototype.getArtifact = function() { - return /** @type{?proto.ml_metadata.Artifact} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +proto.ml_metadata.PutContextTypeRequest.prototype.getContextType = function() { + return /** @type{?proto.ml_metadata.ContextType} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1)); }; /** - * @param {?proto.ml_metadata.Artifact|undefined} value - * @return {!proto.ml_metadata.ArtifactAndType} returns this + * @param {?proto.ml_metadata.ContextType|undefined} value + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this */ -proto.ml_metadata.ArtifactAndType.prototype.setArtifact = function(value) { +proto.ml_metadata.PutContextTypeRequest.prototype.setContextType = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ArtifactAndType} returns this + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this */ -proto.ml_metadata.ArtifactAndType.prototype.clearArtifact = function() { - return this.setArtifact(undefined); +proto.ml_metadata.PutContextTypeRequest.prototype.clearContextType = function() { + return this.setContextType(undefined); }; @@ -2180,36 +8882,107 @@ proto.ml_metadata.ArtifactAndType.prototype.clearArtifact = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ArtifactAndType.prototype.hasArtifact = function() { +proto.ml_metadata.PutContextTypeRequest.prototype.hasContextType = function() { return jspb.Message.getField(this, 1) != null; }; /** - * optional ArtifactType type = 2; - * @return {?proto.ml_metadata.ArtifactType} + * optional bool can_add_fields = 2; + * @return {boolean} + */ +proto.ml_metadata.PutContextTypeRequest.prototype.getCanAddFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + */ +proto.ml_metadata.PutContextTypeRequest.prototype.setCanAddFields = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + */ +proto.ml_metadata.PutContextTypeRequest.prototype.clearCanAddFields = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutContextTypeRequest.prototype.hasCanAddFields = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool can_omit_fields = 5; + * @return {boolean} + */ +proto.ml_metadata.PutContextTypeRequest.prototype.getCanOmitFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + */ +proto.ml_metadata.PutContextTypeRequest.prototype.setCanOmitFields = function(value) { + return jspb.Message.setField(this, 5, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + */ +proto.ml_metadata.PutContextTypeRequest.prototype.clearCanOmitFields = function() { + return jspb.Message.setField(this, 5, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.PutContextTypeRequest.prototype.hasCanOmitFields = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool can_delete_fields = 3; + * @return {boolean} */ -proto.ml_metadata.ArtifactAndType.prototype.getType = function() { - return /** @type{?proto.ml_metadata.ArtifactType} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 2)); +proto.ml_metadata.PutContextTypeRequest.prototype.getCanDeleteFields = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** - * @param {?proto.ml_metadata.ArtifactType|undefined} value - * @return {!proto.ml_metadata.ArtifactAndType} returns this -*/ -proto.ml_metadata.ArtifactAndType.prototype.setType = function(value) { - return jspb.Message.setWrapperField(this, 2, value); + * @param {boolean} value + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + */ +proto.ml_metadata.PutContextTypeRequest.prototype.setCanDeleteFields = function(value) { + return jspb.Message.setField(this, 3, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ArtifactAndType} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this */ -proto.ml_metadata.ArtifactAndType.prototype.clearType = function() { - return this.setType(undefined); +proto.ml_metadata.PutContextTypeRequest.prototype.clearCanDeleteFields = function() { + return jspb.Message.setField(this, 3, undefined); }; @@ -2217,151 +8990,84 @@ proto.ml_metadata.ArtifactAndType.prototype.clearType = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ArtifactAndType.prototype.hasType = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.PutContextTypeRequest.prototype.hasCanDeleteFields = function() { + return jspb.Message.getField(this, 3) != null; }; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} + * optional bool all_fields_match = 4; + * @return {boolean} */ -proto.ml_metadata.ArtifactStructMap.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.ArtifactStructMap.toObject(opt_includeInstance, this); +proto.ml_metadata.PutContextTypeRequest.prototype.getAllFieldsMatch = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, true)); }; /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.ArtifactStructMap} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * @param {boolean} value + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this */ -proto.ml_metadata.ArtifactStructMap.toObject = function(includeInstance, msg) { - var f, obj = { - propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.ml_metadata.ArtifactStruct.toObject) : [] - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; +proto.ml_metadata.PutContextTypeRequest.prototype.setAllFieldsMatch = function(value) { + return jspb.Message.setField(this, 4, value); }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.ArtifactStructMap} + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this */ -proto.ml_metadata.ArtifactStructMap.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.ArtifactStructMap; - return proto.ml_metadata.ArtifactStructMap.deserializeBinaryFromReader(msg, reader); +proto.ml_metadata.PutContextTypeRequest.prototype.clearAllFieldsMatch = function() { + return jspb.Message.setField(this, 4, undefined); }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.ArtifactStructMap} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.ArtifactStructMap} + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.ArtifactStructMap.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = msg.getPropertiesMap(); - reader.readMessage(value, function(message, reader) { - jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader, "", new proto.ml_metadata.ArtifactStruct()); - }); - break; - default: - reader.skipField(); - break; - } - } - return msg; +proto.ml_metadata.PutContextTypeRequest.prototype.hasAllFieldsMatch = function() { + return jspb.Message.getField(this, 4) != null; }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * optional TransactionOptions transaction_options = 6; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.ArtifactStructMap.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.ArtifactStructMap.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.PutContextTypeRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 6)); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.ArtifactStructMap} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ml_metadata.ArtifactStructMap.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getPropertiesMap(true); - if (f && f.getLength() > 0) { - f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter); - } + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this +*/ +proto.ml_metadata.PutContextTypeRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 6, value); }; /** - * map properties = 1; - * @param {boolean=} opt_noLazyCreate Do not create the map if - * empty, instead returning `undefined` - * @return {!jspb.Map} + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutContextTypeRequest} returns this */ -proto.ml_metadata.ArtifactStructMap.prototype.getPropertiesMap = function(opt_noLazyCreate) { - return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 1, opt_noLazyCreate, - proto.ml_metadata.ArtifactStruct)); +proto.ml_metadata.PutContextTypeRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; /** - * Clears values from the map. The map will be non-null. - * @return {!proto.ml_metadata.ArtifactStructMap} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.ArtifactStructMap.prototype.clearPropertiesMap = function() { - this.getPropertiesMap().clear(); - return this;}; - +proto.ml_metadata.PutContextTypeRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 6) != null; +}; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.ArtifactStructList.repeatedFields_ = [1]; @@ -2378,8 +9084,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.ArtifactStructList.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.ArtifactStructList.toObject(opt_includeInstance, this); +proto.ml_metadata.PutContextTypeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutContextTypeResponse.toObject(opt_includeInstance, this); }; @@ -2388,14 +9094,13 @@ proto.ml_metadata.ArtifactStructList.prototype.toObject = function(opt_includeIn * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.ArtifactStructList} msg The msg instance to transform. + * @param {!proto.ml_metadata.PutContextTypeResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ArtifactStructList.toObject = function(includeInstance, msg) { +proto.ml_metadata.PutContextTypeResponse.toObject = function(includeInstance, msg) { var f, obj = { - elementsList: jspb.Message.toObjectList(msg.getElementsList(), - proto.ml_metadata.ArtifactStruct.toObject, includeInstance) + typeId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -2409,23 +9114,23 @@ proto.ml_metadata.ArtifactStructList.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.ArtifactStructList} + * @return {!proto.ml_metadata.PutContextTypeResponse} */ -proto.ml_metadata.ArtifactStructList.deserializeBinary = function(bytes) { +proto.ml_metadata.PutContextTypeResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.ArtifactStructList; - return proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.PutContextTypeResponse; + return proto.ml_metadata.PutContextTypeResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.ArtifactStructList} msg The message object to deserialize into. + * @param {!proto.ml_metadata.PutContextTypeResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.ArtifactStructList} + * @return {!proto.ml_metadata.PutContextTypeResponse} */ -proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.PutContextTypeResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2433,9 +9138,8 @@ proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader = function(msg, var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.ml_metadata.ArtifactStruct; - reader.readMessage(value,proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader); - msg.addElements(value); + var value = /** @type {number} */ (reader.readInt64()); + msg.setTypeId(value); break; default: reader.skipField(); @@ -2450,9 +9154,9 @@ proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader = function(msg, * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.ArtifactStructList.prototype.serializeBinary = function() { +proto.ml_metadata.PutContextTypeResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.ArtifactStructList.serializeBinaryToWriter(this, writer); + proto.ml_metadata.PutContextTypeResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2460,88 +9164,65 @@ proto.ml_metadata.ArtifactStructList.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.ArtifactStructList} message + * @param {!proto.ml_metadata.PutContextTypeResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ArtifactStructList.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.PutContextTypeResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getElementsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt64( 1, - f, - proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter + f ); } }; /** - * repeated ArtifactStruct elements = 1; - * @return {!Array} - */ -proto.ml_metadata.ArtifactStructList.prototype.getElementsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.ArtifactStruct, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.ml_metadata.ArtifactStructList} returns this -*/ -proto.ml_metadata.ArtifactStructList.prototype.setElementsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - - -/** - * @param {!proto.ml_metadata.ArtifactStruct=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.ArtifactStruct} + * optional int64 type_id = 1; + * @return {number} */ -proto.ml_metadata.ArtifactStructList.prototype.addElements = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactStruct, opt_index); +proto.ml_metadata.PutContextTypeResponse.prototype.getTypeId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.ArtifactStructList} returns this + * @param {number} value + * @return {!proto.ml_metadata.PutContextTypeResponse} returns this */ -proto.ml_metadata.ArtifactStructList.prototype.clearElementsList = function() { - return this.setElementsList([]); +proto.ml_metadata.PutContextTypeResponse.prototype.setTypeId = function(value) { + return jspb.Message.setField(this, 1, value); }; - /** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const + * Clears the field making it undefined. + * @return {!proto.ml_metadata.PutContextTypeResponse} returns this */ -proto.ml_metadata.ArtifactStruct.oneofGroups_ = [[1,2,3]]; +proto.ml_metadata.PutContextTypeResponse.prototype.clearTypeId = function() { + return jspb.Message.setField(this, 1, undefined); +}; + /** - * @enum {number} + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.ArtifactStruct.ValueCase = { - VALUE_NOT_SET: 0, - ARTIFACT: 1, - MAP: 2, - LIST: 3 +proto.ml_metadata.PutContextTypeResponse.prototype.hasTypeId = function() { + return jspb.Message.getField(this, 1) != null; }; + + /** - * @return {proto.ml_metadata.ArtifactStruct.ValueCase} + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.ml_metadata.ArtifactStruct.prototype.getValueCase = function() { - return /** @type {proto.ml_metadata.ArtifactStruct.ValueCase} */(jspb.Message.computeOneofCase(this, proto.ml_metadata.ArtifactStruct.oneofGroups_[0])); -}; +proto.ml_metadata.PutContextsRequest.repeatedFields_ = [1]; @@ -2558,8 +9239,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.ArtifactStruct.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.ArtifactStruct.toObject(opt_includeInstance, this); +proto.ml_metadata.PutContextsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutContextsRequest.toObject(opt_includeInstance, this); }; @@ -2568,15 +9249,16 @@ proto.ml_metadata.ArtifactStruct.prototype.toObject = function(opt_includeInstan * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.ArtifactStruct} msg The msg instance to transform. + * @param {!proto.ml_metadata.PutContextsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ArtifactStruct.toObject = function(includeInstance, msg) { +proto.ml_metadata.PutContextsRequest.toObject = function(includeInstance, msg) { var f, obj = { - artifact: (f = msg.getArtifact()) && proto.ml_metadata.ArtifactAndType.toObject(includeInstance, f), - map: (f = msg.getMap()) && proto.ml_metadata.ArtifactStructMap.toObject(includeInstance, f), - list: (f = msg.getList()) && proto.ml_metadata.ArtifactStructList.toObject(includeInstance, f) + contextsList: jspb.Message.toObjectList(msg.getContextsList(), + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f), + updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f) }; if (includeInstance) { @@ -2590,23 +9272,23 @@ proto.ml_metadata.ArtifactStruct.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.ArtifactStruct} + * @return {!proto.ml_metadata.PutContextsRequest} */ -proto.ml_metadata.ArtifactStruct.deserializeBinary = function(bytes) { +proto.ml_metadata.PutContextsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.ArtifactStruct; - return proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.PutContextsRequest; + return proto.ml_metadata.PutContextsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.ArtifactStruct} msg The message object to deserialize into. + * @param {!proto.ml_metadata.PutContextsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.ArtifactStruct} + * @return {!proto.ml_metadata.PutContextsRequest} */ -proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.PutContextsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2614,19 +9296,19 @@ proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader = function(msg, rea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new proto.ml_metadata.ArtifactAndType; - reader.readMessage(value,proto.ml_metadata.ArtifactAndType.deserializeBinaryFromReader); - msg.setArtifact(value); + var value = new ml_metadata_proto_metadata_store_pb.Context; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); + msg.addContexts(value); break; case 2: - var value = new proto.ml_metadata.ArtifactStructMap; - reader.readMessage(value,proto.ml_metadata.ArtifactStructMap.deserializeBinaryFromReader); - msg.setMap(value); + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; case 3: - var value = new proto.ml_metadata.ArtifactStructList; - reader.readMessage(value,proto.ml_metadata.ArtifactStructList.deserializeBinaryFromReader); - msg.setList(value); + var value = new google_protobuf_field_mask_pb.FieldMask; + reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader); + msg.setUpdateMask(value); break; default: reader.skipField(); @@ -2641,9 +9323,9 @@ proto.ml_metadata.ArtifactStruct.deserializeBinaryFromReader = function(msg, rea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.ArtifactStruct.prototype.serializeBinary = function() { +proto.ml_metadata.PutContextsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter(this, writer); + proto.ml_metadata.PutContextsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2651,101 +9333,102 @@ proto.ml_metadata.ArtifactStruct.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.ArtifactStruct} message + * @param {!proto.ml_metadata.PutContextsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.ArtifactStruct.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.PutContextsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifact(); - if (f != null) { - writer.writeMessage( + f = message.getContextsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, f, - proto.ml_metadata.ArtifactAndType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter ); } - f = message.getMap(); + f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( 2, f, - proto.ml_metadata.ArtifactStructMap.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } - f = message.getList(); + f = message.getUpdateMask(); if (f != null) { writer.writeMessage( 3, f, - proto.ml_metadata.ArtifactStructList.serializeBinaryToWriter + google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter ); } }; /** - * optional ArtifactAndType artifact = 1; - * @return {?proto.ml_metadata.ArtifactAndType} + * repeated Context contexts = 1; + * @return {!Array} */ -proto.ml_metadata.ArtifactStruct.prototype.getArtifact = function() { - return /** @type{?proto.ml_metadata.ArtifactAndType} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactAndType, 1)); +proto.ml_metadata.PutContextsRequest.prototype.getContextsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; /** - * @param {?proto.ml_metadata.ArtifactAndType|undefined} value - * @return {!proto.ml_metadata.ArtifactStruct} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.PutContextsRequest} returns this */ -proto.ml_metadata.ArtifactStruct.prototype.setArtifact = function(value) { - return jspb.Message.setOneofWrapperField(this, 1, proto.ml_metadata.ArtifactStruct.oneofGroups_[0], value); +proto.ml_metadata.PutContextsRequest.prototype.setContextsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ArtifactStruct} returns this + * @param {!proto.ml_metadata.Context=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.ArtifactStruct.prototype.clearArtifact = function() { - return this.setArtifact(undefined); +proto.ml_metadata.PutContextsRequest.prototype.addContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutContextsRequest} returns this */ -proto.ml_metadata.ArtifactStruct.prototype.hasArtifact = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.PutContextsRequest.prototype.clearContextsList = function() { + return this.setContextsList([]); }; /** - * optional ArtifactStructMap map = 2; - * @return {?proto.ml_metadata.ArtifactStructMap} + * optional TransactionOptions transaction_options = 2; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.ArtifactStruct.prototype.getMap = function() { - return /** @type{?proto.ml_metadata.ArtifactStructMap} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactStructMap, 2)); +proto.ml_metadata.PutContextsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** - * @param {?proto.ml_metadata.ArtifactStructMap|undefined} value - * @return {!proto.ml_metadata.ArtifactStruct} returns this + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutContextsRequest} returns this */ -proto.ml_metadata.ArtifactStruct.prototype.setMap = function(value) { - return jspb.Message.setOneofWrapperField(this, 2, proto.ml_metadata.ArtifactStruct.oneofGroups_[0], value); +proto.ml_metadata.PutContextsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ArtifactStruct} returns this + * @return {!proto.ml_metadata.PutContextsRequest} returns this */ -proto.ml_metadata.ArtifactStruct.prototype.clearMap = function() { - return this.setMap(undefined); +proto.ml_metadata.PutContextsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -2753,36 +9436,36 @@ proto.ml_metadata.ArtifactStruct.prototype.clearMap = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ArtifactStruct.prototype.hasMap = function() { +proto.ml_metadata.PutContextsRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; /** - * optional ArtifactStructList list = 3; - * @return {?proto.ml_metadata.ArtifactStructList} + * optional google.protobuf.FieldMask update_mask = 3; + * @return {?proto.google.protobuf.FieldMask} */ -proto.ml_metadata.ArtifactStruct.prototype.getList = function() { - return /** @type{?proto.ml_metadata.ArtifactStructList} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.ArtifactStructList, 3)); +proto.ml_metadata.PutContextsRequest.prototype.getUpdateMask = function() { + return /** @type{?proto.google.protobuf.FieldMask} */ ( + jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3)); }; /** - * @param {?proto.ml_metadata.ArtifactStructList|undefined} value - * @return {!proto.ml_metadata.ArtifactStruct} returns this + * @param {?proto.google.protobuf.FieldMask|undefined} value + * @return {!proto.ml_metadata.PutContextsRequest} returns this */ -proto.ml_metadata.ArtifactStruct.prototype.setList = function(value) { - return jspb.Message.setOneofWrapperField(this, 3, proto.ml_metadata.ArtifactStruct.oneofGroups_[0], value); +proto.ml_metadata.PutContextsRequest.prototype.setUpdateMask = function(value) { + return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.ArtifactStruct} returns this + * @return {!proto.ml_metadata.PutContextsRequest} returns this */ -proto.ml_metadata.ArtifactStruct.prototype.clearList = function() { - return this.setList(undefined); +proto.ml_metadata.PutContextsRequest.prototype.clearUpdateMask = function() { + return this.setUpdateMask(undefined); }; @@ -2790,7 +9473,7 @@ proto.ml_metadata.ArtifactStruct.prototype.clearList = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.ArtifactStruct.prototype.hasList = function() { +proto.ml_metadata.PutContextsRequest.prototype.hasUpdateMask = function() { return jspb.Message.getField(this, 3) != null; }; @@ -2801,7 +9484,7 @@ proto.ml_metadata.ArtifactStruct.prototype.hasList = function() { * @private {!Array} * @const */ -proto.ml_metadata.PutArtifactsRequest.repeatedFields_ = [1]; +proto.ml_metadata.PutContextsResponse.repeatedFields_ = [1]; @@ -2818,8 +9501,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutArtifactsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutArtifactsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.PutContextsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutContextsResponse.toObject(opt_includeInstance, this); }; @@ -2828,15 +9511,13 @@ proto.ml_metadata.PutArtifactsRequest.prototype.toObject = function(opt_includeI * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutArtifactsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.PutContextsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.PutContextsResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), - ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance), - options: (f = msg.getOptions()) && proto.ml_metadata.PutArtifactsRequest.Options.toObject(includeInstance, f) + contextIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { @@ -2850,23 +9531,23 @@ proto.ml_metadata.PutArtifactsRequest.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutArtifactsRequest} + * @return {!proto.ml_metadata.PutContextsResponse} */ -proto.ml_metadata.PutArtifactsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.PutContextsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutArtifactsRequest; - return proto.ml_metadata.PutArtifactsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.PutContextsResponse; + return proto.ml_metadata.PutContextsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutArtifactsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.PutContextsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutArtifactsRequest} + * @return {!proto.ml_metadata.PutContextsResponse} */ -proto.ml_metadata.PutArtifactsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.PutContextsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2874,14 +9555,10 @@ proto.ml_metadata.PutArtifactsRequest.deserializeBinaryFromReader = function(msg var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Artifact; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); - msg.addArtifacts(value); - break; - case 2: - var value = new proto.ml_metadata.PutArtifactsRequest.Options; - reader.readMessage(value,proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader); - msg.setOptions(value); + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addContextIds(values[i]); + } break; default: reader.skipField(); @@ -2896,9 +9573,9 @@ proto.ml_metadata.PutArtifactsRequest.deserializeBinaryFromReader = function(msg * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutArtifactsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.PutContextsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutArtifactsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.PutContextsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2906,31 +9583,66 @@ proto.ml_metadata.PutArtifactsRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutArtifactsRequest} message + * @param {!proto.ml_metadata.PutContextsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.PutContextsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactsList(); + f = message.getContextIdsList(); if (f.length > 0) { - writer.writeRepeatedMessage( + writer.writeRepeatedInt64( 1, - f, - ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter - ); - } - f = message.getOptions(); - if (f != null) { - writer.writeMessage( - 2, - f, - proto.ml_metadata.PutArtifactsRequest.Options.serializeBinaryToWriter + f ); } }; +/** + * repeated int64 context_ids = 1; + * @return {!Array} + */ +proto.ml_metadata.PutContextsResponse.prototype.getContextIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.PutContextsResponse} returns this + */ +proto.ml_metadata.PutContextsResponse.prototype.setContextIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.PutContextsResponse} returns this + */ +proto.ml_metadata.PutContextsResponse.prototype.addContextIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutContextsResponse} returns this + */ +proto.ml_metadata.PutContextsResponse.prototype.clearContextIdsList = function() { + return this.setContextIdsList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.PutAttributionsAndAssociationsRequest.repeatedFields_ = [1,2]; @@ -2947,8 +9659,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutArtifactsRequest.Options.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutArtifactsRequest.Options.toObject(opt_includeInstance, this); +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutAttributionsAndAssociationsRequest.toObject(opt_includeInstance, this); }; @@ -2957,13 +9669,17 @@ proto.ml_metadata.PutArtifactsRequest.Options.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutArtifactsRequest.Options} msg The msg instance to transform. + * @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactsRequest.Options.toObject = function(includeInstance, msg) { +proto.ml_metadata.PutAttributionsAndAssociationsRequest.toObject = function(includeInstance, msg) { var f, obj = { - abortIfLatestUpdatedTimeChanged: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f + attributionsList: jspb.Message.toObjectList(msg.getAttributionsList(), + ml_metadata_proto_metadata_store_pb.Attribution.toObject, includeInstance), + associationsList: jspb.Message.toObjectList(msg.getAssociationsList(), + ml_metadata_proto_metadata_store_pb.Association.toObject, includeInstance), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -2977,23 +9693,23 @@ proto.ml_metadata.PutArtifactsRequest.Options.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutArtifactsRequest.Options} + * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} */ -proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinary = function(bytes) { +proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutArtifactsRequest.Options; - return proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.PutAttributionsAndAssociationsRequest; + return proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutArtifactsRequest.Options} msg The message object to deserialize into. + * @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutArtifactsRequest.Options} + * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} */ -proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3001,8 +9717,19 @@ proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setAbortIfLatestUpdatedTimeChanged(value); + var value = new ml_metadata_proto_metadata_store_pb.Attribution; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Attribution.deserializeBinaryFromReader); + msg.addAttributions(value); + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.Association; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Association.deserializeBinaryFromReader); + msg.addAssociations(value); + break; + case 3: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -3017,9 +9744,9 @@ proto.ml_metadata.PutArtifactsRequest.Options.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutArtifactsRequest.Options.prototype.serializeBinary = function() { +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutArtifactsRequest.Options.serializeBinaryToWriter(this, writer); + proto.ml_metadata.PutAttributionsAndAssociationsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3027,121 +9754,140 @@ proto.ml_metadata.PutArtifactsRequest.Options.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutArtifactsRequest.Options} message + * @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactsRequest.Options.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.PutAttributionsAndAssociationsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeBool( + f = message.getAttributionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, - f + f, + ml_metadata_proto_metadata_store_pb.Attribution.serializeBinaryToWriter + ); + } + f = message.getAssociationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.Association.serializeBinaryToWriter + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * optional bool abort_if_latest_updated_time_changed = 1; - * @return {boolean} + * repeated Attribution attributions = 1; + * @return {!Array} */ -proto.ml_metadata.PutArtifactsRequest.Options.prototype.getAbortIfLatestUpdatedTimeChanged = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.getAttributionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Attribution, 1)); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutArtifactsRequest.Options} returns this - */ -proto.ml_metadata.PutArtifactsRequest.Options.prototype.setAbortIfLatestUpdatedTimeChanged = function(value) { - return jspb.Message.setField(this, 1, value); + * @param {!Array} value + * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this +*/ +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.setAttributionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutArtifactsRequest.Options} returns this + * @param {!proto.ml_metadata.Attribution=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Attribution} */ -proto.ml_metadata.PutArtifactsRequest.Options.prototype.clearAbortIfLatestUpdatedTimeChanged = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.addAttributions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Attribution, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this */ -proto.ml_metadata.PutArtifactsRequest.Options.prototype.hasAbortIfLatestUpdatedTimeChanged = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.clearAttributionsList = function() { + return this.setAttributionsList([]); }; /** - * repeated Artifact artifacts = 1; - * @return {!Array} + * repeated Association associations = 2; + * @return {!Array} */ -proto.ml_metadata.PutArtifactsRequest.prototype.getArtifactsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.getAssociationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Association, 2)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutArtifactsRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this */ -proto.ml_metadata.PutArtifactsRequest.prototype.setArtifactsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.setAssociationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** - * @param {!proto.ml_metadata.Artifact=} opt_value + * @param {!proto.ml_metadata.Association=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Artifact} + * @return {!proto.ml_metadata.Association} */ -proto.ml_metadata.PutArtifactsRequest.prototype.addArtifacts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.addAssociations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.Association, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutArtifactsRequest} returns this + * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this */ -proto.ml_metadata.PutArtifactsRequest.prototype.clearArtifactsList = function() { - return this.setArtifactsList([]); +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.clearAssociationsList = function() { + return this.setAssociationsList([]); }; /** - * optional Options options = 2; - * @return {?proto.ml_metadata.PutArtifactsRequest.Options} + * optional TransactionOptions transaction_options = 3; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.PutArtifactsRequest.prototype.getOptions = function() { - return /** @type{?proto.ml_metadata.PutArtifactsRequest.Options} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.PutArtifactsRequest.Options, 2)); +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); }; /** - * @param {?proto.ml_metadata.PutArtifactsRequest.Options|undefined} value - * @return {!proto.ml_metadata.PutArtifactsRequest} returns this + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this */ -proto.ml_metadata.PutArtifactsRequest.prototype.setOptions = function(value) { - return jspb.Message.setWrapperField(this, 2, value); +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.PutArtifactsRequest} returns this + * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this */ -proto.ml_metadata.PutArtifactsRequest.prototype.clearOptions = function() { - return this.setOptions(undefined); +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -3149,19 +9895,12 @@ proto.ml_metadata.PutArtifactsRequest.prototype.clearOptions = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutArtifactsRequest.prototype.hasOptions = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 3) != null; }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.PutArtifactsResponse.repeatedFields_ = [1]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -3177,8 +9916,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutArtifactsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutArtifactsResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.PutAttributionsAndAssociationsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutAttributionsAndAssociationsResponse.toObject(opt_includeInstance, this); }; @@ -3187,13 +9926,13 @@ proto.ml_metadata.PutArtifactsResponse.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutArtifactsResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactsResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.PutAttributionsAndAssociationsResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; if (includeInstance) { @@ -3207,111 +9946,68 @@ proto.ml_metadata.PutArtifactsResponse.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutArtifactsResponse} + * @return {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} */ -proto.ml_metadata.PutArtifactsResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutArtifactsResponse; - return proto.ml_metadata.PutArtifactsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.PutAttributionsAndAssociationsResponse; + return proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutArtifactsResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutArtifactsResponse} + * @return {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} */ -proto.ml_metadata.PutArtifactsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { - case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addArtifactIds(values[i]); - } - break; default: reader.skipField(); break; } } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ml_metadata.PutArtifactsResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutArtifactsResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutArtifactsResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ml_metadata.PutArtifactsResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getArtifactIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( - 1, - f - ); - } -}; - - -/** - * repeated int64 artifact_ids = 1; - * @return {!Array} - */ -proto.ml_metadata.PutArtifactsResponse.prototype.getArtifactIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); + return msg; }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutArtifactsResponse} returns this + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.ml_metadata.PutArtifactsResponse.prototype.setArtifactIdsList = function(value) { - return jspb.Message.setField(this, 1, value || []); +proto.ml_metadata.PutAttributionsAndAssociationsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutAttributionsAndAssociationsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.PutArtifactsResponse} returns this + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactsResponse.prototype.addArtifactIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +proto.ml_metadata.PutAttributionsAndAssociationsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; }; + /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutArtifactsResponse} returns this + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.ml_metadata.PutArtifactsResponse.prototype.clearArtifactIdsList = function() { - return this.setArtifactIdsList([]); -}; - - +proto.ml_metadata.PutParentContextsRequest.repeatedFields_ = [1]; @@ -3328,8 +10024,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutArtifactTypeRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.PutParentContextsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutParentContextsRequest.toObject(opt_includeInstance, this); }; @@ -3338,17 +10034,15 @@ proto.ml_metadata.PutArtifactTypeRequest.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutArtifactTypeRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.PutParentContextsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactTypeRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.PutParentContextsRequest.toObject = function(includeInstance, msg) { var f, obj = { - artifactType: (f = msg.getArtifactType()) && ml_metadata_proto_metadata_store_pb.ArtifactType.toObject(includeInstance, f), - canAddFields: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, - canOmitFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, - canDeleteFields: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, - allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 4, true) + parentContextsList: jspb.Message.toObjectList(msg.getParentContextsList(), + ml_metadata_proto_metadata_store_pb.ParentContext.toObject, includeInstance), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -3362,23 +10056,23 @@ proto.ml_metadata.PutArtifactTypeRequest.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutArtifactTypeRequest} + * @return {!proto.ml_metadata.PutParentContextsRequest} */ -proto.ml_metadata.PutArtifactTypeRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.PutParentContextsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutArtifactTypeRequest; - return proto.ml_metadata.PutArtifactTypeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.PutParentContextsRequest; + return proto.ml_metadata.PutParentContextsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutArtifactTypeRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.PutParentContextsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutArtifactTypeRequest} + * @return {!proto.ml_metadata.PutParentContextsRequest} */ -proto.ml_metadata.PutArtifactTypeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.PutParentContextsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3386,25 +10080,14 @@ proto.ml_metadata.PutArtifactTypeRequest.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); - msg.setArtifactType(value); + var value = new ml_metadata_proto_metadata_store_pb.ParentContext; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ParentContext.deserializeBinaryFromReader); + msg.addParentContexts(value); break; case 2: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanAddFields(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanOmitFields(value); - break; - case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanDeleteFields(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setAllFieldsMatch(value); + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -3419,9 +10102,9 @@ proto.ml_metadata.PutArtifactTypeRequest.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.serializeBinary = function() { +proto.ml_metadata.PutParentContextsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutArtifactTypeRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.PutParentContextsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3429,112 +10112,94 @@ proto.ml_metadata.PutArtifactTypeRequest.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutArtifactTypeRequest} message + * @param {!proto.ml_metadata.PutParentContextsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactTypeRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.PutParentContextsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactType(); - if (f != null) { - writer.writeMessage( + f = message.getParentContextsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ParentContext.serializeBinaryToWriter ); } - f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); + f = message.getTransactionOptions(); if (f != null) { - writer.writeBool( + writer.writeMessage( 2, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeBool( - 5, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeBool( - 3, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeBool( - 4, - f + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * optional ArtifactType artifact_type = 1; - * @return {?proto.ml_metadata.ArtifactType} + * repeated ParentContext parent_contexts = 1; + * @return {!Array} */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.getArtifactType = function() { - return /** @type{?proto.ml_metadata.ArtifactType} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); +proto.ml_metadata.PutParentContextsRequest.prototype.getParentContextsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ParentContext, 1)); }; /** - * @param {?proto.ml_metadata.ArtifactType|undefined} value - * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.PutParentContextsRequest} returns this */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.setArtifactType = function(value) { - return jspb.Message.setWrapperField(this, 1, value); +proto.ml_metadata.PutParentContextsRequest.prototype.setParentContextsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + * @param {!proto.ml_metadata.ParentContext=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.ParentContext} */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.clearArtifactType = function() { - return this.setArtifactType(undefined); +proto.ml_metadata.PutParentContextsRequest.prototype.addParentContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ParentContext, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.PutParentContextsRequest} returns this */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.hasArtifactType = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.PutParentContextsRequest.prototype.clearParentContextsList = function() { + return this.setParentContextsList([]); }; /** - * optional bool can_add_fields = 2; - * @return {boolean} + * optional TransactionOptions transaction_options = 2; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.getCanAddFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +proto.ml_metadata.PutParentContextsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this - */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.setCanAddFields = function(value) { - return jspb.Message.setField(this, 2, value); + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.PutParentContextsRequest} returns this +*/ +proto.ml_metadata.PutParentContextsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.PutParentContextsRequest} returns this */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.clearCanAddFields = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.PutParentContextsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -3542,116 +10207,109 @@ proto.ml_metadata.PutArtifactTypeRequest.prototype.clearCanAddFields = function( * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.hasCanAddFields = function() { +proto.ml_metadata.PutParentContextsRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; -/** - * optional bool can_omit_fields = 5; - * @return {boolean} - */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.getCanOmitFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this - */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.setCanOmitFields = function(value) { - return jspb.Message.setField(this, 5, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this - */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.clearCanOmitFields = function() { - return jspb.Message.setField(this, 5, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.hasCanOmitFields = function() { - return jspb.Message.getField(this, 5) != null; -}; - - -/** - * optional bool can_delete_fields = 3; - * @return {boolean} - */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.getCanDeleteFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); -}; - -/** - * @param {boolean} value - * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this - */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.setCanDeleteFields = function(value) { - return jspb.Message.setField(this, 3, value); -}; +if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.clearCanDeleteFields = function() { - return jspb.Message.setField(this, 3, undefined); +proto.ml_metadata.PutParentContextsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.PutParentContextsResponse.toObject(opt_includeInstance, this); }; /** - * Returns whether this field is set. - * @return {boolean} + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.PutParentContextsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.hasCanDeleteFields = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.PutParentContextsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; }; +} /** - * optional bool all_fields_match = 4; - * @return {boolean} + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.PutParentContextsResponse} */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.getAllFieldsMatch = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, true)); +proto.ml_metadata.PutParentContextsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.PutParentContextsResponse; + return proto.ml_metadata.PutParentContextsResponse.deserializeBinaryFromReader(msg, reader); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.PutParentContextsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.PutParentContextsResponse} */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.setAllFieldsMatch = function(value) { - return jspb.Message.setField(this, 4, value); +proto.ml_metadata.PutParentContextsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutArtifactTypeRequest} returns this + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.clearAllFieldsMatch = function() { - return jspb.Message.setField(this, 4, undefined); +proto.ml_metadata.PutParentContextsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.PutParentContextsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * Returns whether this field is set. - * @return {boolean} + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.PutParentContextsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactTypeRequest.prototype.hasAllFieldsMatch = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.PutParentContextsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; }; @@ -3671,8 +10329,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutArtifactTypeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutArtifactTypeResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsByTypeRequest.toObject(opt_includeInstance, this); }; @@ -3681,13 +10339,16 @@ proto.ml_metadata.PutArtifactTypeResponse.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutArtifactTypeResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsByTypeRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutArtifactTypeResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsByTypeRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f + typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -3701,23 +10362,23 @@ proto.ml_metadata.PutArtifactTypeResponse.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutArtifactTypeResponse} + * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} */ -proto.ml_metadata.PutArtifactTypeResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutArtifactTypeResponse; - return proto.ml_metadata.PutArtifactTypeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsByTypeRequest; + return proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutArtifactTypeResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsByTypeRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutArtifactTypeResponse} + * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} */ -proto.ml_metadata.PutArtifactTypeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3725,8 +10386,22 @@ proto.ml_metadata.PutArtifactTypeResponse.deserializeBinaryFromReader = function var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setTypeId(value); + var value = /** @type {string} */ (reader.readString()); + msg.setTypeName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setTypeVersion(value); + break; + case 3: + var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 4: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -3738,59 +10413,192 @@ proto.ml_metadata.PutArtifactTypeResponse.deserializeBinaryFromReader = function /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ml_metadata.PutArtifactTypeResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutArtifactTypeResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.GetArtifactsByTypeRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.GetArtifactsByTypeRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.GetArtifactsByTypeRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, + ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 4, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string type_name = 1; + * @return {string} + */ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getTypeName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this + */ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setTypeName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this + */ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearTypeName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasTypeName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string type_version = 2; + * @return {string} + */ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getTypeVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this + */ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setTypeVersion = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this + */ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearTypeVersion = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasTypeVersion = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ListOperationOptions options = 3; + * @return {?proto.ml_metadata.ListOperationOptions} + */ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 3)); +}; + + +/** + * @param {?proto.ml_metadata.ListOperationOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this +*/ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutArtifactTypeResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this */ -proto.ml_metadata.PutArtifactTypeResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeInt64( - 1, - f - ); - } +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearOptions = function() { + return this.setOptions(undefined); }; /** - * optional int64 type_id = 1; - * @return {number} + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.PutArtifactTypeResponse.prototype.getTypeId = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasOptions = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * @param {number} value - * @return {!proto.ml_metadata.PutArtifactTypeResponse} returns this + * optional TransactionOptions transaction_options = 4; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.PutArtifactTypeResponse.prototype.setTypeId = function(value) { - return jspb.Message.setField(this, 1, value); +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutArtifactTypeResponse} returns this + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this +*/ +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this */ -proto.ml_metadata.PutArtifactTypeResponse.prototype.clearTypeId = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -3798,8 +10606,8 @@ proto.ml_metadata.PutArtifactTypeResponse.prototype.clearTypeId = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutArtifactTypeResponse.prototype.hasTypeId = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 4) != null; }; @@ -3809,7 +10617,7 @@ proto.ml_metadata.PutArtifactTypeResponse.prototype.hasTypeId = function() { * @private {!Array} * @const */ -proto.ml_metadata.PutExecutionsRequest.repeatedFields_ = [1]; +proto.ml_metadata.GetArtifactsByTypeResponse.repeatedFields_ = [1]; @@ -3826,8 +10634,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutExecutionsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutExecutionsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsByTypeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsByTypeResponse.toObject(opt_includeInstance, this); }; @@ -3836,14 +10644,15 @@ proto.ml_metadata.PutExecutionsRequest.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutExecutionsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsByTypeResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsByTypeResponse.toObject = function(includeInstance, msg) { var f, obj = { - executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), - ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance) + artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), + ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance), + nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -3857,23 +10666,23 @@ proto.ml_metadata.PutExecutionsRequest.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutExecutionsRequest} + * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} */ -proto.ml_metadata.PutExecutionsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutExecutionsRequest; - return proto.ml_metadata.PutExecutionsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsByTypeResponse; + return proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutExecutionsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsByTypeResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutExecutionsRequest} + * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} */ -proto.ml_metadata.PutExecutionsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3881,9 +10690,13 @@ proto.ml_metadata.PutExecutionsRequest.deserializeBinaryFromReader = function(ms var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Execution; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); - msg.addExecutions(value); + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.addArtifacts(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setNextPageToken(value); break; default: reader.skipField(); @@ -3898,9 +10711,9 @@ proto.ml_metadata.PutExecutionsRequest.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutExecutionsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactsByTypeResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutExecutionsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactsByTypeResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3908,216 +10721,101 @@ proto.ml_metadata.PutExecutionsRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutExecutionsRequest} message + * @param {!proto.ml_metadata.GetArtifactsByTypeResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactsByTypeResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecutionsList(); + f = message.getArtifactsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f ); } }; /** - * repeated Execution executions = 1; - * @return {!Array} + * repeated Artifact artifacts = 1; + * @return {!Array} */ -proto.ml_metadata.PutExecutionsRequest.prototype.getExecutionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); +proto.ml_metadata.GetArtifactsByTypeResponse.prototype.getArtifactsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutExecutionsRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this */ -proto.ml_metadata.PutExecutionsRequest.prototype.setExecutionsList = function(value) { +proto.ml_metadata.GetArtifactsByTypeResponse.prototype.setArtifactsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Execution=} opt_value + * @param {!proto.ml_metadata.Artifact=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Execution} - */ -proto.ml_metadata.PutExecutionsRequest.prototype.addExecutions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutExecutionsRequest} returns this - */ -proto.ml_metadata.PutExecutionsRequest.prototype.clearExecutionsList = function() { - return this.setExecutionsList([]); -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.PutExecutionsResponse.repeatedFields_ = [1]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ml_metadata.PutExecutionsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutExecutionsResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutExecutionsResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ml_metadata.PutExecutionsResponse.toObject = function(includeInstance, msg) { - var f, obj = { - executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutExecutionsResponse} - */ -proto.ml_metadata.PutExecutionsResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutExecutionsResponse; - return proto.ml_metadata.PutExecutionsResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.PutExecutionsResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutExecutionsResponse} - */ -proto.ml_metadata.PutExecutionsResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addExecutionIds(values[i]); - } - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * @return {!proto.ml_metadata.Artifact} */ -proto.ml_metadata.PutExecutionsResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutExecutionsResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.GetArtifactsByTypeResponse.prototype.addArtifacts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutExecutionsResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this */ -proto.ml_metadata.PutExecutionsResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getExecutionIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( - 1, - f - ); - } +proto.ml_metadata.GetArtifactsByTypeResponse.prototype.clearArtifactsList = function() { + return this.setArtifactsList([]); }; /** - * repeated int64 execution_ids = 1; - * @return {!Array} + * optional string next_page_token = 2; + * @return {string} */ -proto.ml_metadata.PutExecutionsResponse.prototype.getExecutionIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +proto.ml_metadata.GetArtifactsByTypeResponse.prototype.getNextPageToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutExecutionsResponse} returns this + * @param {string} value + * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this */ -proto.ml_metadata.PutExecutionsResponse.prototype.setExecutionIdsList = function(value) { - return jspb.Message.setField(this, 1, value || []); +proto.ml_metadata.GetArtifactsByTypeResponse.prototype.setNextPageToken = function(value) { + return jspb.Message.setField(this, 2, value); }; /** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.PutExecutionsResponse} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this */ -proto.ml_metadata.PutExecutionsResponse.prototype.addExecutionIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +proto.ml_metadata.GetArtifactsByTypeResponse.prototype.clearNextPageToken = function() { + return jspb.Message.setField(this, 2, undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutExecutionsResponse} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.PutExecutionsResponse.prototype.clearExecutionIdsList = function() { - return this.setExecutionIdsList([]); +proto.ml_metadata.GetArtifactsByTypeResponse.prototype.hasNextPageToken = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -4137,8 +10835,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutExecutionTypeRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactByTypeAndNameRequest.toObject(opt_includeInstance, this); }; @@ -4147,17 +10845,16 @@ proto.ml_metadata.PutExecutionTypeRequest.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutExecutionTypeRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionTypeRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactByTypeAndNameRequest.toObject = function(includeInstance, msg) { var f, obj = { - executionType: (f = msg.getExecutionType()) && ml_metadata_proto_metadata_store_pb.ExecutionType.toObject(includeInstance, f), - canAddFields: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, - canOmitFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, - canDeleteFields: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, - allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 4, true) + typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + artifactName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -4171,23 +10868,23 @@ proto.ml_metadata.PutExecutionTypeRequest.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutExecutionTypeRequest} + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} */ -proto.ml_metadata.PutExecutionTypeRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutExecutionTypeRequest; - return proto.ml_metadata.PutExecutionTypeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactByTypeAndNameRequest; + return proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutExecutionTypeRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutExecutionTypeRequest} + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} */ -proto.ml_metadata.PutExecutionTypeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4195,25 +10892,21 @@ proto.ml_metadata.PutExecutionTypeRequest.deserializeBinaryFromReader = function var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ExecutionType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader); - msg.setExecutionType(value); - break; - case 2: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanAddFields(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanOmitFields(value); + var value = /** @type {string} */ (reader.readString()); + msg.setTypeName(value); break; case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanDeleteFields(value); + var value = /** @type {string} */ (reader.readString()); + msg.setTypeVersion(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setArtifactName(value); break; case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setAllFieldsMatch(value); + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -4228,9 +10921,9 @@ proto.ml_metadata.PutExecutionTypeRequest.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutExecutionTypeRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactByTypeAndNameRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4238,112 +10931,68 @@ proto.ml_metadata.PutExecutionTypeRequest.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutExecutionTypeRequest} message + * @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionTypeRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactByTypeAndNameRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecutionType(); + f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { - writer.writeMessage( + writer.writeString( 1, - f, - ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeBool( - 2, f ); } - f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { - writer.writeBool( - 5, + writer.writeString( + 3, f ); } - f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { - writer.writeBool( - 3, + writer.writeString( + 2, f ); } - f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); + f = message.getTransactionOptions(); if (f != null) { - writer.writeBool( + writer.writeMessage( 4, - f + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * optional ExecutionType execution_type = 1; - * @return {?proto.ml_metadata.ExecutionType} - */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.getExecutionType = function() { - return /** @type{?proto.ml_metadata.ExecutionType} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1)); -}; - - -/** - * @param {?proto.ml_metadata.ExecutionType|undefined} value - * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this -*/ -proto.ml_metadata.PutExecutionTypeRequest.prototype.setExecutionType = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this - */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.clearExecutionType = function() { - return this.setExecutionType(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.hasExecutionType = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional bool can_add_fields = 2; - * @return {boolean} + * optional string type_name = 1; + * @return {string} */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.getCanAddFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getTypeName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + * @param {string} value + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.setCanAddFields = function(value) { - return jspb.Message.setField(this, 2, value); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setTypeName = function(value) { + return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanAddFields = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearTypeName = function() { + return jspb.Message.setField(this, 1, undefined); }; @@ -4351,35 +11000,35 @@ proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanAddFields = function * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.hasCanAddFields = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasTypeName = function() { + return jspb.Message.getField(this, 1) != null; }; /** - * optional bool can_omit_fields = 5; - * @return {boolean} + * optional string type_version = 3; + * @return {string} */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.getCanOmitFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getTypeVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + * @param {string} value + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.setCanOmitFields = function(value) { - return jspb.Message.setField(this, 5, value); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setTypeVersion = function(value) { + return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanOmitFields = function() { - return jspb.Message.setField(this, 5, undefined); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearTypeVersion = function() { + return jspb.Message.setField(this, 3, undefined); }; @@ -4387,35 +11036,35 @@ proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanOmitFields = functio * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.hasCanOmitFields = function() { - return jspb.Message.getField(this, 5) != null; +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasTypeVersion = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * optional bool can_delete_fields = 3; - * @return {boolean} + * optional string artifact_name = 2; + * @return {string} */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.getCanDeleteFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getArtifactName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + * @param {string} value + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.setCanDeleteFields = function(value) { - return jspb.Message.setField(this, 3, value); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setArtifactName = function(value) { + return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanDeleteFields = function() { - return jspb.Message.setField(this, 3, undefined); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearArtifactName = function() { + return jspb.Message.setField(this, 2, undefined); }; @@ -4423,35 +11072,36 @@ proto.ml_metadata.PutExecutionTypeRequest.prototype.clearCanDeleteFields = funct * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.hasCanDeleteFields = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasArtifactName = function() { + return jspb.Message.getField(this, 2) != null; }; /** - * optional bool all_fields_match = 4; - * @return {boolean} + * optional TransactionOptions transaction_options = 4; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.getAllFieldsMatch = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, true)); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this - */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.setAllFieldsMatch = function(value) { - return jspb.Message.setField(this, 4, value); + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this +*/ +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 4, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutExecutionTypeRequest} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.clearAllFieldsMatch = function() { - return jspb.Message.setField(this, 4, undefined); +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -4459,7 +11109,7 @@ proto.ml_metadata.PutExecutionTypeRequest.prototype.clearAllFieldsMatch = functi * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutExecutionTypeRequest.prototype.hasAllFieldsMatch = function() { +proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 4) != null; }; @@ -4480,8 +11130,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutExecutionTypeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutExecutionTypeResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactByTypeAndNameResponse.toObject(opt_includeInstance, this); }; @@ -4490,13 +11140,13 @@ proto.ml_metadata.PutExecutionTypeResponse.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutExecutionTypeResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionTypeResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactByTypeAndNameResponse.toObject = function(includeInstance, msg) { var f, obj = { - typeId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f + artifact: (f = msg.getArtifact()) && ml_metadata_proto_metadata_store_pb.Artifact.toObject(includeInstance, f) }; if (includeInstance) { @@ -4510,23 +11160,23 @@ proto.ml_metadata.PutExecutionTypeResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutExecutionTypeResponse} + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} */ -proto.ml_metadata.PutExecutionTypeResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutExecutionTypeResponse; - return proto.ml_metadata.PutExecutionTypeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactByTypeAndNameResponse; + return proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutExecutionTypeResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutExecutionTypeResponse} + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} */ -proto.ml_metadata.PutExecutionTypeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4534,8 +11184,9 @@ proto.ml_metadata.PutExecutionTypeResponse.deserializeBinaryFromReader = functio var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setTypeId(value); + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.setArtifact(value); break; default: reader.skipField(); @@ -4550,9 +11201,9 @@ proto.ml_metadata.PutExecutionTypeResponse.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutExecutionTypeResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutExecutionTypeResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactByTypeAndNameResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4560,46 +11211,48 @@ proto.ml_metadata.PutExecutionTypeResponse.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutExecutionTypeResponse} message + * @param {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionTypeResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactByTypeAndNameResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); + f = message.getArtifact(); if (f != null) { - writer.writeInt64( + writer.writeMessage( 1, - f + f, + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter ); } }; /** - * optional int64 type_id = 1; - * @return {number} + * optional Artifact artifact = 1; + * @return {?proto.ml_metadata.Artifact} */ -proto.ml_metadata.PutExecutionTypeResponse.prototype.getTypeId = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.getArtifact = function() { + return /** @type{?proto.ml_metadata.Artifact} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); }; /** - * @param {number} value - * @return {!proto.ml_metadata.PutExecutionTypeResponse} returns this - */ -proto.ml_metadata.PutExecutionTypeResponse.prototype.setTypeId = function(value) { - return jspb.Message.setField(this, 1, value); + * @param {?proto.ml_metadata.Artifact|undefined} value + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} returns this +*/ +proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.setArtifact = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutExecutionTypeResponse} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} returns this */ -proto.ml_metadata.PutExecutionTypeResponse.prototype.clearTypeId = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.clearArtifact = function() { + return this.setArtifact(undefined); }; @@ -4607,7 +11260,7 @@ proto.ml_metadata.PutExecutionTypeResponse.prototype.clearTypeId = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutExecutionTypeResponse.prototype.hasTypeId = function() { +proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.hasArtifact = function() { return jspb.Message.getField(this, 1) != null; }; @@ -4618,7 +11271,7 @@ proto.ml_metadata.PutExecutionTypeResponse.prototype.hasTypeId = function() { * @private {!Array} * @const */ -proto.ml_metadata.PutEventsRequest.repeatedFields_ = [1]; +proto.ml_metadata.GetArtifactsByIDRequest.repeatedFields_ = [1]; @@ -4635,8 +11288,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutEventsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutEventsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsByIDRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsByIDRequest.toObject(opt_includeInstance, this); }; @@ -4645,14 +11298,15 @@ proto.ml_metadata.PutEventsRequest.prototype.toObject = function(opt_includeInst * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutEventsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsByIDRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutEventsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { - eventsList: jspb.Message.toObjectList(msg.getEventsList(), - ml_metadata_proto_metadata_store_pb.Event.toObject, includeInstance) + artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + populateArtifactTypes: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -4666,23 +11320,23 @@ proto.ml_metadata.PutEventsRequest.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutEventsRequest} + * @return {!proto.ml_metadata.GetArtifactsByIDRequest} */ -proto.ml_metadata.PutEventsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutEventsRequest; - return proto.ml_metadata.PutEventsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsByIDRequest; + return proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutEventsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsByIDRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutEventsRequest} + * @return {!proto.ml_metadata.GetArtifactsByIDRequest} */ -proto.ml_metadata.PutEventsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4690,9 +11344,19 @@ proto.ml_metadata.PutEventsRequest.deserializeBinaryFromReader = function(msg, r var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Event; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader); - msg.addEvents(value); + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addArtifactIds(values[i]); + } + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setPopulateArtifactTypes(value); + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -4707,9 +11371,9 @@ proto.ml_metadata.PutEventsRequest.deserializeBinaryFromReader = function(msg, r * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutEventsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactsByIDRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutEventsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactsByIDRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4717,159 +11381,144 @@ proto.ml_metadata.PutEventsRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutEventsRequest} message + * @param {!proto.ml_metadata.GetArtifactsByIDRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutEventsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactsByIDRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getEventsList(); + f = message.getArtifactIdsList(); if (f.length > 0) { - writer.writeRepeatedMessage( + writer.writeRepeatedInt64( 1, + f + ); + } + f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeBool( + 3, + f + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 2, f, - ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * repeated Event events = 1; - * @return {!Array} + * repeated int64 artifact_ids = 1; + * @return {!Array} */ -proto.ml_metadata.PutEventsRequest.prototype.getEventsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 1)); +proto.ml_metadata.GetArtifactsByIDRequest.prototype.getArtifactIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutEventsRequest} returns this -*/ -proto.ml_metadata.PutEventsRequest.prototype.setEventsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this + */ +proto.ml_metadata.GetArtifactsByIDRequest.prototype.setArtifactIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * @param {!proto.ml_metadata.Event=} opt_value + * @param {number} value * @param {number=} opt_index - * @return {!proto.ml_metadata.Event} + * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this */ -proto.ml_metadata.PutEventsRequest.prototype.addEvents = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Event, opt_index); +proto.ml_metadata.GetArtifactsByIDRequest.prototype.addArtifactIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutEventsRequest} returns this + * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this */ -proto.ml_metadata.PutEventsRequest.prototype.clearEventsList = function() { - return this.setEventsList([]); +proto.ml_metadata.GetArtifactsByIDRequest.prototype.clearArtifactIdsList = function() { + return this.setArtifactIdsList([]); }; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} + * optional bool populate_artifact_types = 3; + * @return {boolean} */ -proto.ml_metadata.PutEventsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutEventsResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsByIDRequest.prototype.getPopulateArtifactTypes = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutEventsResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * @param {boolean} value + * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this */ -proto.ml_metadata.PutEventsResponse.toObject = function(includeInstance, msg) { - var f, obj = { +proto.ml_metadata.GetArtifactsByIDRequest.prototype.setPopulateArtifactTypes = function(value) { + return jspb.Message.setField(this, 3, value); +}; - }; - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this + */ +proto.ml_metadata.GetArtifactsByIDRequest.prototype.clearPopulateArtifactTypes = function() { + return jspb.Message.setField(this, 3, undefined); }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutEventsResponse} + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.PutEventsResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutEventsResponse; - return proto.ml_metadata.PutEventsResponse.deserializeBinaryFromReader(msg, reader); +proto.ml_metadata.GetArtifactsByIDRequest.prototype.hasPopulateArtifactTypes = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.PutEventsResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutEventsResponse} + * optional TransactionOptions transaction_options = 2; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.PutEventsResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; +proto.ml_metadata.GetArtifactsByIDRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this +*/ +proto.ml_metadata.GetArtifactsByIDRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this */ -proto.ml_metadata.PutEventsResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutEventsResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.GetArtifactsByIDRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutEventsResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.PutEventsResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; +proto.ml_metadata.GetArtifactsByIDRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -4879,7 +11528,7 @@ proto.ml_metadata.PutEventsResponse.serializeBinaryToWriter = function(message, * @private {!Array} * @const */ -proto.ml_metadata.PutExecutionRequest.repeatedFields_ = [2,3]; +proto.ml_metadata.GetArtifactsByIDResponse.repeatedFields_ = [1,2]; @@ -4896,8 +11545,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutExecutionRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutExecutionRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsByIDResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsByIDResponse.toObject(opt_includeInstance, this); }; @@ -4906,18 +11555,16 @@ proto.ml_metadata.PutExecutionRequest.prototype.toObject = function(opt_includeI * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutExecutionRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsByIDResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsByIDResponse.toObject = function(includeInstance, msg) { var f, obj = { - execution: (f = msg.getExecution()) && ml_metadata_proto_metadata_store_pb.Execution.toObject(includeInstance, f), - artifactEventPairsList: jspb.Message.toObjectList(msg.getArtifactEventPairsList(), - proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.toObject, includeInstance), - contextsList: jspb.Message.toObjectList(msg.getContextsList(), - ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance), - options: (f = msg.getOptions()) && proto.ml_metadata.PutExecutionRequest.Options.toObject(includeInstance, f) + artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), + ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance), + artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(), + ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance) }; if (includeInstance) { @@ -4931,23 +11578,23 @@ proto.ml_metadata.PutExecutionRequest.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutExecutionRequest} + * @return {!proto.ml_metadata.GetArtifactsByIDResponse} */ -proto.ml_metadata.PutExecutionRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutExecutionRequest; - return proto.ml_metadata.PutExecutionRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsByIDResponse; + return proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutExecutionRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsByIDResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutExecutionRequest} + * @return {!proto.ml_metadata.GetArtifactsByIDResponse} */ -proto.ml_metadata.PutExecutionRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4955,24 +11602,14 @@ proto.ml_metadata.PutExecutionRequest.deserializeBinaryFromReader = function(msg var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Execution; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); - msg.setExecution(value); + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.addArtifacts(value); break; case 2: - var value = new proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent; - reader.readMessage(value,proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinaryFromReader); - msg.addArtifactEventPairs(value); - break; - case 3: - var value = new ml_metadata_proto_metadata_store_pb.Context; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); - msg.addContexts(value); - break; - case 4: - var value = new proto.ml_metadata.PutExecutionRequest.Options; - reader.readMessage(value,proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader); - msg.setOptions(value); + var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); + msg.addArtifactTypes(value); break; default: reader.skipField(); @@ -4987,9 +11624,9 @@ proto.ml_metadata.PutExecutionRequest.deserializeBinaryFromReader = function(msg * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutExecutionRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactsByIDResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutExecutionRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactsByIDResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4997,47 +11634,107 @@ proto.ml_metadata.PutExecutionRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutExecutionRequest} message + * @param {!proto.ml_metadata.GetArtifactsByIDResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactsByIDResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecution(); - if (f != null) { - writer.writeMessage( - 1, - f, - ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter - ); - } - f = message.getArtifactEventPairsList(); + f = message.getArtifactsList(); if (f.length > 0) { writer.writeRepeatedMessage( - 2, + 1, f, - proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter ); } - f = message.getContextsList(); + f = message.getArtifactTypesList(); if (f.length > 0) { writer.writeRepeatedMessage( - 3, - f, - ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter - ); - } - f = message.getOptions(); - if (f != null) { - writer.writeMessage( - 4, + 2, f, - proto.ml_metadata.PutExecutionRequest.Options.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter ); } }; +/** + * repeated Artifact artifacts = 1; + * @return {!Array} + */ +proto.ml_metadata.GetArtifactsByIDResponse.prototype.getArtifactsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactsByIDResponse} returns this +*/ +proto.ml_metadata.GetArtifactsByIDResponse.prototype.setArtifactsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.ml_metadata.Artifact=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Artifact} + */ +proto.ml_metadata.GetArtifactsByIDResponse.prototype.addArtifacts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetArtifactsByIDResponse} returns this + */ +proto.ml_metadata.GetArtifactsByIDResponse.prototype.clearArtifactsList = function() { + return this.setArtifactsList([]); +}; + + +/** + * repeated ArtifactType artifact_types = 2; + * @return {!Array} + */ +proto.ml_metadata.GetArtifactsByIDResponse.prototype.getArtifactTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactsByIDResponse} returns this +*/ +proto.ml_metadata.GetArtifactsByIDResponse.prototype.setArtifactTypesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.ml_metadata.ArtifactType=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.ArtifactType} + */ +proto.ml_metadata.GetArtifactsByIDResponse.prototype.addArtifactTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.ArtifactType, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetArtifactsByIDResponse} returns this + */ +proto.ml_metadata.GetArtifactsByIDResponse.prototype.clearArtifactTypesList = function() { + return this.setArtifactTypesList([]); +}; + + @@ -5054,8 +11751,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsRequest.toObject(opt_includeInstance, this); }; @@ -5064,14 +11761,14 @@ proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsRequest.toObject = function(includeInstance, msg) { var f, obj = { - artifact: (f = msg.getArtifact()) && ml_metadata_proto_metadata_store_pb.Artifact.toObject(includeInstance, f), - event: (f = msg.getEvent()) && ml_metadata_proto_metadata_store_pb.Event.toObject(includeInstance, f) + options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -5085,38 +11782,38 @@ proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} + * @return {!proto.ml_metadata.GetArtifactsRequest} */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent; - return proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsRequest; + return proto.ml_metadata.GetArtifactsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} + * @return {!proto.ml_metadata.GetArtifactsRequest} */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new ml_metadata_proto_metadata_store_pb.Artifact; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); - msg.setArtifact(value); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); + msg.setOptions(value); break; case 2: - var value = new ml_metadata_proto_metadata_store_pb.Event; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader); - msg.setEvent(value); + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -5131,9 +11828,9 @@ proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5141,56 +11838,56 @@ proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} message + * @param {!proto.ml_metadata.GetArtifactsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifact(); + f = message.getOptions(); if (f != null) { writer.writeMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter ); } - f = message.getEvent(); + f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( 2, f, - ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * optional Artifact artifact = 1; - * @return {?proto.ml_metadata.Artifact} + * optional ListOperationOptions options = 1; + * @return {?proto.ml_metadata.ListOperationOptions} */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.getArtifact = function() { - return /** @type{?proto.ml_metadata.Artifact} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +proto.ml_metadata.GetArtifactsRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 1)); }; /** - * @param {?proto.ml_metadata.Artifact|undefined} value - * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this + * @param {?proto.ml_metadata.ListOperationOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactsRequest} returns this */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.setArtifact = function(value) { +proto.ml_metadata.GetArtifactsRequest.prototype.setOptions = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this + * @return {!proto.ml_metadata.GetArtifactsRequest} returns this */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.clearArtifact = function() { - return this.setArtifact(undefined); +proto.ml_metadata.GetArtifactsRequest.prototype.clearOptions = function() { + return this.setOptions(undefined); }; @@ -5198,36 +11895,36 @@ proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.clearArtifact = * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.hasArtifact = function() { +proto.ml_metadata.GetArtifactsRequest.prototype.hasOptions = function() { return jspb.Message.getField(this, 1) != null; }; /** - * optional Event event = 2; - * @return {?proto.ml_metadata.Event} + * optional TransactionOptions transaction_options = 2; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.getEvent = function() { - return /** @type{?proto.ml_metadata.Event} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 2)); +proto.ml_metadata.GetArtifactsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** - * @param {?proto.ml_metadata.Event|undefined} value - * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactsRequest} returns this */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.setEvent = function(value) { +proto.ml_metadata.GetArtifactsRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} returns this + * @return {!proto.ml_metadata.GetArtifactsRequest} returns this */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.clearEvent = function() { - return this.setEvent(undefined); +proto.ml_metadata.GetArtifactsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -5235,12 +11932,19 @@ proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.clearEvent = fu * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent.prototype.hasEvent = function() { +proto.ml_metadata.GetArtifactsRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetArtifactsResponse.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -5256,8 +11960,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutExecutionRequest.Options.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutExecutionRequest.Options.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsResponse.toObject(opt_includeInstance, this); }; @@ -5266,13 +11970,15 @@ proto.ml_metadata.PutExecutionRequest.Options.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutExecutionRequest.Options} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionRequest.Options.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsResponse.toObject = function(includeInstance, msg) { var f, obj = { - reuseContextIfAlreadyExist: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f + artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), + ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance), + nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -5286,23 +11992,23 @@ proto.ml_metadata.PutExecutionRequest.Options.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutExecutionRequest.Options} + * @return {!proto.ml_metadata.GetArtifactsResponse} */ -proto.ml_metadata.PutExecutionRequest.Options.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutExecutionRequest.Options; - return proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsResponse; + return proto.ml_metadata.GetArtifactsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutExecutionRequest.Options} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutExecutionRequest.Options} + * @return {!proto.ml_metadata.GetArtifactsResponse} */ -proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5310,8 +12016,13 @@ proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setReuseContextIfAlreadyExist(value); + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.addArtifacts(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setNextPageToken(value); break; default: reader.skipField(); @@ -5326,9 +12037,9 @@ proto.ml_metadata.PutExecutionRequest.Options.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutExecutionRequest.Options.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutExecutionRequest.Options.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5336,16 +12047,24 @@ proto.ml_metadata.PutExecutionRequest.Options.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutExecutionRequest.Options} message + * @param {!proto.ml_metadata.GetArtifactsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionRequest.Options.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeBool( + f = message.getArtifactsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, + f, + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, f ); } @@ -5353,179 +12072,67 @@ proto.ml_metadata.PutExecutionRequest.Options.serializeBinaryToWriter = function /** - * optional bool reuse_context_if_already_exist = 1; - * @return {boolean} - */ -proto.ml_metadata.PutExecutionRequest.Options.prototype.getReuseContextIfAlreadyExist = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.ml_metadata.PutExecutionRequest.Options} returns this - */ -proto.ml_metadata.PutExecutionRequest.Options.prototype.setReuseContextIfAlreadyExist = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutExecutionRequest.Options} returns this - */ -proto.ml_metadata.PutExecutionRequest.Options.prototype.clearReuseContextIfAlreadyExist = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.PutExecutionRequest.Options.prototype.hasReuseContextIfAlreadyExist = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional Execution execution = 1; - * @return {?proto.ml_metadata.Execution} - */ -proto.ml_metadata.PutExecutionRequest.prototype.getExecution = function() { - return /** @type{?proto.ml_metadata.Execution} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); -}; - - -/** - * @param {?proto.ml_metadata.Execution|undefined} value - * @return {!proto.ml_metadata.PutExecutionRequest} returns this -*/ -proto.ml_metadata.PutExecutionRequest.prototype.setExecution = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.PutExecutionRequest} returns this - */ -proto.ml_metadata.PutExecutionRequest.prototype.clearExecution = function() { - return this.setExecution(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.PutExecutionRequest.prototype.hasExecution = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * repeated ArtifactAndEvent artifact_event_pairs = 2; - * @return {!Array} - */ -proto.ml_metadata.PutExecutionRequest.prototype.getArtifactEventPairsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.ml_metadata.PutExecutionRequest} returns this -*/ -proto.ml_metadata.PutExecutionRequest.prototype.setArtifactEventPairsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - - -/** - * @param {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent} - */ -proto.ml_metadata.PutExecutionRequest.prototype.addArtifactEventPairs = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.PutExecutionRequest.ArtifactAndEvent, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutExecutionRequest} returns this - */ -proto.ml_metadata.PutExecutionRequest.prototype.clearArtifactEventPairsList = function() { - return this.setArtifactEventPairsList([]); -}; - - -/** - * repeated Context contexts = 3; - * @return {!Array} + * repeated Artifact artifacts = 1; + * @return {!Array} */ -proto.ml_metadata.PutExecutionRequest.prototype.getContextsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 3)); +proto.ml_metadata.GetArtifactsResponse.prototype.getArtifactsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutExecutionRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactsResponse} returns this */ -proto.ml_metadata.PutExecutionRequest.prototype.setContextsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 3, value); +proto.ml_metadata.GetArtifactsResponse.prototype.setArtifactsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Context=} opt_value + * @param {!proto.ml_metadata.Artifact=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Context} + * @return {!proto.ml_metadata.Artifact} */ -proto.ml_metadata.PutExecutionRequest.prototype.addContexts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ml_metadata.Context, opt_index); +proto.ml_metadata.GetArtifactsResponse.prototype.addArtifacts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutExecutionRequest} returns this + * @return {!proto.ml_metadata.GetArtifactsResponse} returns this */ -proto.ml_metadata.PutExecutionRequest.prototype.clearContextsList = function() { - return this.setContextsList([]); +proto.ml_metadata.GetArtifactsResponse.prototype.clearArtifactsList = function() { + return this.setArtifactsList([]); }; /** - * optional Options options = 4; - * @return {?proto.ml_metadata.PutExecutionRequest.Options} + * optional string next_page_token = 2; + * @return {string} */ -proto.ml_metadata.PutExecutionRequest.prototype.getOptions = function() { - return /** @type{?proto.ml_metadata.PutExecutionRequest.Options} */ ( - jspb.Message.getWrapperField(this, proto.ml_metadata.PutExecutionRequest.Options, 4)); +proto.ml_metadata.GetArtifactsResponse.prototype.getNextPageToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {?proto.ml_metadata.PutExecutionRequest.Options|undefined} value - * @return {!proto.ml_metadata.PutExecutionRequest} returns this -*/ -proto.ml_metadata.PutExecutionRequest.prototype.setOptions = function(value) { - return jspb.Message.setWrapperField(this, 4, value); + * @param {string} value + * @return {!proto.ml_metadata.GetArtifactsResponse} returns this + */ +proto.ml_metadata.GetArtifactsResponse.prototype.setNextPageToken = function(value) { + return jspb.Message.setField(this, 2, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.PutExecutionRequest} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsResponse} returns this */ -proto.ml_metadata.PutExecutionRequest.prototype.clearOptions = function() { - return this.setOptions(undefined); +proto.ml_metadata.GetArtifactsResponse.prototype.clearNextPageToken = function() { + return jspb.Message.setField(this, 2, undefined); }; @@ -5533,8 +12140,8 @@ proto.ml_metadata.PutExecutionRequest.prototype.clearOptions = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutExecutionRequest.prototype.hasOptions = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.GetArtifactsResponse.prototype.hasNextPageToken = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -5544,7 +12151,7 @@ proto.ml_metadata.PutExecutionRequest.prototype.hasOptions = function() { * @private {!Array} * @const */ -proto.ml_metadata.PutExecutionResponse.repeatedFields_ = [2,3]; +proto.ml_metadata.GetArtifactsByURIRequest.repeatedFields_ = [2]; @@ -5561,8 +12168,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutExecutionResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutExecutionResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsByURIRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsByURIRequest.toObject(opt_includeInstance, this); }; @@ -5571,15 +12178,14 @@ proto.ml_metadata.PutExecutionResponse.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutExecutionResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsByURIRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsByURIRequest.toObject = function(includeInstance, msg) { var f, obj = { - executionId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - contextIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + urisList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -5593,44 +12199,37 @@ proto.ml_metadata.PutExecutionResponse.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutExecutionResponse} + * @return {!proto.ml_metadata.GetArtifactsByURIRequest} */ -proto.ml_metadata.PutExecutionResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsByURIRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutExecutionResponse; - return proto.ml_metadata.PutExecutionResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsByURIRequest; + return proto.ml_metadata.GetArtifactsByURIRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutExecutionResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsByURIRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutExecutionResponse} + * @return {!proto.ml_metadata.GetArtifactsByURIRequest} */ -proto.ml_metadata.PutExecutionResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsByURIRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setExecutionId(value); - break; case 2: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addArtifactIds(values[i]); - } + var value = /** @type {string} */ (reader.readString()); + msg.addUris(value); break; case 3: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addContextIds(values[i]); - } + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -5645,9 +12244,9 @@ proto.ml_metadata.PutExecutionResponse.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutExecutionResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactsByURIRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutExecutionResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactsByURIRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5655,143 +12254,101 @@ proto.ml_metadata.PutExecutionResponse.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutExecutionResponse} message + * @param {!proto.ml_metadata.GetArtifactsByURIRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutExecutionResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactsByURIRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeInt64( - 1, - f - ); - } - f = message.getArtifactIdsList(); + f = message.getUrisList(); if (f.length > 0) { - writer.writeRepeatedInt64( + writer.writeRepeatedString( 2, f ); } - f = message.getContextIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( 3, - f + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * optional int64 execution_id = 1; - * @return {number} - */ -proto.ml_metadata.PutExecutionResponse.prototype.getExecutionId = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.ml_metadata.PutExecutionResponse} returns this - */ -proto.ml_metadata.PutExecutionResponse.prototype.setExecutionId = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutExecutionResponse} returns this - */ -proto.ml_metadata.PutExecutionResponse.prototype.clearExecutionId = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.PutExecutionResponse.prototype.hasExecutionId = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * repeated int64 artifact_ids = 2; - * @return {!Array} + * repeated string uris = 2; + * @return {!Array} */ -proto.ml_metadata.PutExecutionResponse.prototype.getArtifactIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +proto.ml_metadata.GetArtifactsByURIRequest.prototype.getUrisList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutExecutionResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this */ -proto.ml_metadata.PutExecutionResponse.prototype.setArtifactIdsList = function(value) { +proto.ml_metadata.GetArtifactsByURIRequest.prototype.setUrisList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** - * @param {number} value + * @param {string} value * @param {number=} opt_index - * @return {!proto.ml_metadata.PutExecutionResponse} returns this + * @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this */ -proto.ml_metadata.PutExecutionResponse.prototype.addArtifactIds = function(value, opt_index) { +proto.ml_metadata.GetArtifactsByURIRequest.prototype.addUris = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutExecutionResponse} returns this + * @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this */ -proto.ml_metadata.PutExecutionResponse.prototype.clearArtifactIdsList = function() { - return this.setArtifactIdsList([]); +proto.ml_metadata.GetArtifactsByURIRequest.prototype.clearUrisList = function() { + return this.setUrisList([]); }; /** - * repeated int64 context_ids = 3; - * @return {!Array} + * optional TransactionOptions transaction_options = 3; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.PutExecutionResponse.prototype.getContextIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); +proto.ml_metadata.GetArtifactsByURIRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutExecutionResponse} returns this - */ -proto.ml_metadata.PutExecutionResponse.prototype.setContextIdsList = function(value) { - return jspb.Message.setField(this, 3, value || []); + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this +*/ +proto.ml_metadata.GetArtifactsByURIRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); }; /** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.PutExecutionResponse} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this */ -proto.ml_metadata.PutExecutionResponse.prototype.addContextIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 3, value, opt_index); +proto.ml_metadata.GetArtifactsByURIRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutExecutionResponse} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.PutExecutionResponse.prototype.clearContextIdsList = function() { - return this.setContextIdsList([]); +proto.ml_metadata.GetArtifactsByURIRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 3) != null; }; @@ -5801,7 +12358,7 @@ proto.ml_metadata.PutExecutionResponse.prototype.clearContextIdsList = function( * @private {!Array} * @const */ -proto.ml_metadata.PutTypesRequest.repeatedFields_ = [1,2,3]; +proto.ml_metadata.GetArtifactsByURIResponse.repeatedFields_ = [1]; @@ -5818,8 +12375,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutTypesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutTypesRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsByURIResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsByURIResponse.toObject(opt_includeInstance, this); }; @@ -5828,22 +12385,14 @@ proto.ml_metadata.PutTypesRequest.prototype.toObject = function(opt_includeInsta * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutTypesRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsByURIResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutTypesRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsByURIResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(), - ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance), - executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(), - ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance), - contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(), - ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance), - canAddFields: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, - canOmitFields: (f = jspb.Message.getBooleanField(msg, 7)) == null ? undefined : f, - canDeleteFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, - allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 6, true) + artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), + ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance) }; if (includeInstance) { @@ -5857,23 +12406,23 @@ proto.ml_metadata.PutTypesRequest.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutTypesRequest} + * @return {!proto.ml_metadata.GetArtifactsByURIResponse} */ -proto.ml_metadata.PutTypesRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutTypesRequest; - return proto.ml_metadata.PutTypesRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsByURIResponse; + return proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutTypesRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsByURIResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutTypesRequest} + * @return {!proto.ml_metadata.GetArtifactsByURIResponse} */ -proto.ml_metadata.PutTypesRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5881,35 +12430,9 @@ proto.ml_metadata.PutTypesRequest.deserializeBinaryFromReader = function(msg, re var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); - msg.addArtifactTypes(value); - break; - case 2: - var value = new ml_metadata_proto_metadata_store_pb.ExecutionType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader); - msg.addExecutionTypes(value); - break; - case 3: - var value = new ml_metadata_proto_metadata_store_pb.ContextType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); - msg.addContextTypes(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanAddFields(value); - break; - case 7: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanOmitFields(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanDeleteFields(value); - break; - case 6: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setAllFieldsMatch(value); + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.addArtifacts(value); break; default: reader.skipField(); @@ -5924,9 +12447,9 @@ proto.ml_metadata.PutTypesRequest.deserializeBinaryFromReader = function(msg, re * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutTypesRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactsByURIResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutTypesRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactsByURIResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5934,277 +12457,214 @@ proto.ml_metadata.PutTypesRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutTypesRequest} message + * @param {!proto.ml_metadata.GetArtifactsByURIResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutTypesRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactsByURIResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactTypesList(); + f = message.getArtifactsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter - ); - } - f = message.getExecutionTypesList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 2, - f, - ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter - ); - } - f = message.getContextTypesList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 3, - f, - ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeBool( - 4, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 7)); - if (f != null) { - writer.writeBool( - 7, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); - if (f != null) { - writer.writeBool( - 5, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); - if (f != null) { - writer.writeBool( - 6, - f + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter ); } }; /** - * repeated ArtifactType artifact_types = 1; - * @return {!Array} + * repeated Artifact artifacts = 1; + * @return {!Array} */ -proto.ml_metadata.PutTypesRequest.prototype.getArtifactTypesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); +proto.ml_metadata.GetArtifactsByURIResponse.prototype.getArtifactsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutTypesRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactsByURIResponse} returns this */ -proto.ml_metadata.PutTypesRequest.prototype.setArtifactTypesList = function(value) { +proto.ml_metadata.GetArtifactsByURIResponse.prototype.setArtifactsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.ArtifactType=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.ArtifactType} - */ -proto.ml_metadata.PutTypesRequest.prototype.addArtifactTypes = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutTypesRequest} returns this - */ -proto.ml_metadata.PutTypesRequest.prototype.clearArtifactTypesList = function() { - return this.setArtifactTypesList([]); -}; - - -/** - * repeated ExecutionType execution_types = 2; - * @return {!Array} - */ -proto.ml_metadata.PutTypesRequest.prototype.getExecutionTypesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.ml_metadata.PutTypesRequest} returns this -*/ -proto.ml_metadata.PutTypesRequest.prototype.setExecutionTypesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - - -/** - * @param {!proto.ml_metadata.ExecutionType=} opt_value + * @param {!proto.ml_metadata.Artifact=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.ExecutionType} + * @return {!proto.ml_metadata.Artifact} */ -proto.ml_metadata.PutTypesRequest.prototype.addExecutionTypes = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.ExecutionType, opt_index); +proto.ml_metadata.GetArtifactsByURIResponse.prototype.addArtifacts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutTypesRequest} returns this - */ -proto.ml_metadata.PutTypesRequest.prototype.clearExecutionTypesList = function() { - return this.setExecutionTypesList([]); -}; - - -/** - * repeated ContextType context_types = 3; - * @return {!Array} - */ -proto.ml_metadata.PutTypesRequest.prototype.getContextTypesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 3)); -}; - - -/** - * @param {!Array} value - * @return {!proto.ml_metadata.PutTypesRequest} returns this -*/ -proto.ml_metadata.PutTypesRequest.prototype.setContextTypesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 3, value); -}; - - -/** - * @param {!proto.ml_metadata.ContextType=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.ContextType} + * @return {!proto.ml_metadata.GetArtifactsByURIResponse} returns this */ -proto.ml_metadata.PutTypesRequest.prototype.addContextTypes = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.ml_metadata.ContextType, opt_index); +proto.ml_metadata.GetArtifactsByURIResponse.prototype.clearArtifactsList = function() { + return this.setArtifactsList([]); }; -/** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutTypesRequest} returns this - */ -proto.ml_metadata.PutTypesRequest.prototype.clearContextTypesList = function() { - return this.setContextTypesList([]); -}; - -/** - * optional bool can_add_fields = 4; - * @return {boolean} - */ -proto.ml_metadata.PutTypesRequest.prototype.getCanAddFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); -}; +if (jspb.Message.GENERATE_TO_OBJECT) { /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutTypesRequest} returns this + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} */ -proto.ml_metadata.PutTypesRequest.prototype.setCanAddFields = function(value) { - return jspb.Message.setField(this, 4, value); +proto.ml_metadata.GetExecutionsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionsRequest.toObject(opt_includeInstance, this); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutTypesRequest} returns this + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.GetExecutionsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutTypesRequest.prototype.clearCanAddFields = function() { - return jspb.Message.setField(this, 4, undefined); -}; - +proto.ml_metadata.GetExecutionsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + }; -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.PutTypesRequest.prototype.hasCanAddFields = function() { - return jspb.Message.getField(this, 4) != null; + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; }; +} -/** - * optional bool can_omit_fields = 7; - * @return {boolean} +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.GetExecutionsRequest} */ -proto.ml_metadata.PutTypesRequest.prototype.getCanOmitFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +proto.ml_metadata.GetExecutionsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.GetExecutionsRequest; + return proto.ml_metadata.GetExecutionsRequest.deserializeBinaryFromReader(msg, reader); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutTypesRequest} returns this + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.GetExecutionsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.GetExecutionsRequest} */ -proto.ml_metadata.PutTypesRequest.prototype.setCanOmitFields = function(value) { - return jspb.Message.setField(this, 7, value); +proto.ml_metadata.GetExecutionsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutTypesRequest} returns this + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.ml_metadata.PutTypesRequest.prototype.clearCanOmitFields = function() { - return jspb.Message.setField(this, 7, undefined); +proto.ml_metadata.GetExecutionsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.GetExecutionsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * Returns whether this field is set. - * @return {boolean} + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.GetExecutionsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutTypesRequest.prototype.hasCanOmitFields = function() { - return jspb.Message.getField(this, 7) != null; +proto.ml_metadata.GetExecutionsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } }; /** - * optional bool can_delete_fields = 5; - * @return {boolean} + * optional ListOperationOptions options = 1; + * @return {?proto.ml_metadata.ListOperationOptions} */ -proto.ml_metadata.PutTypesRequest.prototype.getCanDeleteFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +proto.ml_metadata.GetExecutionsRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 1)); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutTypesRequest} returns this - */ -proto.ml_metadata.PutTypesRequest.prototype.setCanDeleteFields = function(value) { - return jspb.Message.setField(this, 5, value); + * @param {?proto.ml_metadata.ListOperationOptions|undefined} value + * @return {!proto.ml_metadata.GetExecutionsRequest} returns this +*/ +proto.ml_metadata.GetExecutionsRequest.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutTypesRequest} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetExecutionsRequest} returns this */ -proto.ml_metadata.PutTypesRequest.prototype.clearCanDeleteFields = function() { - return jspb.Message.setField(this, 5, undefined); +proto.ml_metadata.GetExecutionsRequest.prototype.clearOptions = function() { + return this.setOptions(undefined); }; @@ -6212,35 +12672,36 @@ proto.ml_metadata.PutTypesRequest.prototype.clearCanDeleteFields = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutTypesRequest.prototype.hasCanDeleteFields = function() { - return jspb.Message.getField(this, 5) != null; +proto.ml_metadata.GetExecutionsRequest.prototype.hasOptions = function() { + return jspb.Message.getField(this, 1) != null; }; /** - * optional bool all_fields_match = 6; - * @return {boolean} + * optional TransactionOptions transaction_options = 2; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.PutTypesRequest.prototype.getAllFieldsMatch = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, true)); +proto.ml_metadata.GetExecutionsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutTypesRequest} returns this - */ -proto.ml_metadata.PutTypesRequest.prototype.setAllFieldsMatch = function(value) { - return jspb.Message.setField(this, 6, value); + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetExecutionsRequest} returns this +*/ +proto.ml_metadata.GetExecutionsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutTypesRequest} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetExecutionsRequest} returns this */ -proto.ml_metadata.PutTypesRequest.prototype.clearAllFieldsMatch = function() { - return jspb.Message.setField(this, 6, undefined); +proto.ml_metadata.GetExecutionsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -6248,8 +12709,8 @@ proto.ml_metadata.PutTypesRequest.prototype.clearAllFieldsMatch = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutTypesRequest.prototype.hasAllFieldsMatch = function() { - return jspb.Message.getField(this, 6) != null; +proto.ml_metadata.GetExecutionsRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -6259,7 +12720,7 @@ proto.ml_metadata.PutTypesRequest.prototype.hasAllFieldsMatch = function() { * @private {!Array} * @const */ -proto.ml_metadata.PutTypesResponse.repeatedFields_ = [1,2,3]; +proto.ml_metadata.GetExecutionsResponse.repeatedFields_ = [1]; @@ -6276,8 +12737,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutTypesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutTypesResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionsResponse.toObject(opt_includeInstance, this); }; @@ -6286,15 +12747,15 @@ proto.ml_metadata.PutTypesResponse.prototype.toObject = function(opt_includeInst * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutTypesResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutTypesResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionsResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifactTypeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, - executionTypeIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - contextTypeIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), + ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance), + nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -6308,23 +12769,23 @@ proto.ml_metadata.PutTypesResponse.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutTypesResponse} + * @return {!proto.ml_metadata.GetExecutionsResponse} */ -proto.ml_metadata.PutTypesResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutTypesResponse; - return proto.ml_metadata.PutTypesResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionsResponse; + return proto.ml_metadata.GetExecutionsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutTypesResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutTypesResponse} + * @return {!proto.ml_metadata.GetExecutionsResponse} */ -proto.ml_metadata.PutTypesResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6332,22 +12793,13 @@ proto.ml_metadata.PutTypesResponse.deserializeBinaryFromReader = function(msg, r var field = reader.getFieldNumber(); switch (field) { case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addArtifactTypeIds(values[i]); - } + var value = new ml_metadata_proto_metadata_store_pb.Execution; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); + msg.addExecutions(value); break; case 2: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addExecutionTypeIds(values[i]); - } - break; - case 3: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addContextTypeIds(values[i]); - } + var value = /** @type {string} */ (reader.readString()); + msg.setNextPageToken(value); break; default: reader.skipField(); @@ -6362,154 +12814,111 @@ proto.ml_metadata.PutTypesResponse.deserializeBinaryFromReader = function(msg, r * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutTypesResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutTypesResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutTypesResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ml_metadata.PutTypesResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getArtifactTypeIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( - 1, - f - ); - } - f = message.getExecutionTypeIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( - 2, - f - ); - } - f = message.getContextTypeIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( - 3, - f - ); - } -}; - - -/** - * repeated int64 artifact_type_ids = 1; - * @return {!Array} - */ -proto.ml_metadata.PutTypesResponse.prototype.getArtifactTypeIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.ml_metadata.PutTypesResponse} returns this - */ -proto.ml_metadata.PutTypesResponse.prototype.setArtifactTypeIdsList = function(value) { - return jspb.Message.setField(this, 1, value || []); -}; - - -/** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.PutTypesResponse} returns this - */ -proto.ml_metadata.PutTypesResponse.prototype.addArtifactTypeIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +proto.ml_metadata.GetExecutionsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.GetExecutionsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutTypesResponse} returns this + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.GetExecutionsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutTypesResponse.prototype.clearArtifactTypeIdsList = function() { - return this.setArtifactTypeIdsList([]); +proto.ml_metadata.GetExecutionsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExecutionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } }; /** - * repeated int64 execution_type_ids = 2; - * @return {!Array} + * repeated Execution executions = 1; + * @return {!Array} */ -proto.ml_metadata.PutTypesResponse.prototype.getExecutionTypeIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +proto.ml_metadata.GetExecutionsResponse.prototype.getExecutionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutTypesResponse} returns this - */ -proto.ml_metadata.PutTypesResponse.prototype.setExecutionTypeIdsList = function(value) { - return jspb.Message.setField(this, 2, value || []); + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionsResponse} returns this +*/ +proto.ml_metadata.GetExecutionsResponse.prototype.setExecutionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {number} value + * @param {!proto.ml_metadata.Execution=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.PutTypesResponse} returns this + * @return {!proto.ml_metadata.Execution} */ -proto.ml_metadata.PutTypesResponse.prototype.addExecutionTypeIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 2, value, opt_index); +proto.ml_metadata.GetExecutionsResponse.prototype.addExecutions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutTypesResponse} returns this + * @return {!proto.ml_metadata.GetExecutionsResponse} returns this */ -proto.ml_metadata.PutTypesResponse.prototype.clearExecutionTypeIdsList = function() { - return this.setExecutionTypeIdsList([]); +proto.ml_metadata.GetExecutionsResponse.prototype.clearExecutionsList = function() { + return this.setExecutionsList([]); }; /** - * repeated int64 context_type_ids = 3; - * @return {!Array} + * optional string next_page_token = 2; + * @return {string} */ -proto.ml_metadata.PutTypesResponse.prototype.getContextTypeIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); +proto.ml_metadata.GetExecutionsResponse.prototype.getNextPageToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutTypesResponse} returns this + * @param {string} value + * @return {!proto.ml_metadata.GetExecutionsResponse} returns this */ -proto.ml_metadata.PutTypesResponse.prototype.setContextTypeIdsList = function(value) { - return jspb.Message.setField(this, 3, value || []); +proto.ml_metadata.GetExecutionsResponse.prototype.setNextPageToken = function(value) { + return jspb.Message.setField(this, 2, value); }; /** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.PutTypesResponse} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetExecutionsResponse} returns this */ -proto.ml_metadata.PutTypesResponse.prototype.addContextTypeIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 3, value, opt_index); +proto.ml_metadata.GetExecutionsResponse.prototype.clearNextPageToken = function() { + return jspb.Message.setField(this, 2, undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutTypesResponse} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.PutTypesResponse.prototype.clearContextTypeIdsList = function() { - return this.setContextTypeIdsList([]); +proto.ml_metadata.GetExecutionsResponse.prototype.hasNextPageToken = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -6529,8 +12938,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutContextTypeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutContextTypeRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactTypeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactTypeRequest.toObject(opt_includeInstance, this); }; @@ -6539,17 +12948,15 @@ proto.ml_metadata.PutContextTypeRequest.prototype.toObject = function(opt_includ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutContextTypeRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactTypeRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutContextTypeRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactTypeRequest.toObject = function(includeInstance, msg) { var f, obj = { - contextType: (f = msg.getContextType()) && ml_metadata_proto_metadata_store_pb.ContextType.toObject(includeInstance, f), - canAddFields: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, - canOmitFields: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, - canDeleteFields: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, - allFieldsMatch: jspb.Message.getBooleanFieldWithDefault(msg, 4, true) + typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -6563,23 +12970,23 @@ proto.ml_metadata.PutContextTypeRequest.toObject = function(includeInstance, msg /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutContextTypeRequest} + * @return {!proto.ml_metadata.GetArtifactTypeRequest} */ -proto.ml_metadata.PutContextTypeRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactTypeRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutContextTypeRequest; - return proto.ml_metadata.PutContextTypeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactTypeRequest; + return proto.ml_metadata.GetArtifactTypeRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutContextTypeRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactTypeRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutContextTypeRequest} + * @return {!proto.ml_metadata.GetArtifactTypeRequest} */ -proto.ml_metadata.PutContextTypeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactTypeRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6587,25 +12994,17 @@ proto.ml_metadata.PutContextTypeRequest.deserializeBinaryFromReader = function(m var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ContextType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); - msg.setContextType(value); + var value = /** @type {string} */ (reader.readString()); + msg.setTypeName(value); break; case 2: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanAddFields(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanOmitFields(value); + var value = /** @type {string} */ (reader.readString()); + msg.setTypeVersion(value); break; case 3: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setCanDeleteFields(value); - break; - case 4: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setAllFieldsMatch(value); + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -6620,9 +13019,9 @@ proto.ml_metadata.PutContextTypeRequest.deserializeBinaryFromReader = function(m * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutContextTypeRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactTypeRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutContextTypeRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactTypeRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6630,76 +13029,61 @@ proto.ml_metadata.PutContextTypeRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutContextTypeRequest} message + * @param {!proto.ml_metadata.GetArtifactTypeRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutContextTypeRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactTypeRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextType(); + f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { - writer.writeMessage( + writer.writeString( 1, - f, - ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeBool( - 2, f ); } - f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); + f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { - writer.writeBool( - 5, + writer.writeString( + 2, f ); } - f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); + f = message.getTransactionOptions(); if (f != null) { - writer.writeBool( + writer.writeMessage( 3, - f - ); - } - f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); - if (f != null) { - writer.writeBool( - 4, - f + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * optional ContextType context_type = 1; - * @return {?proto.ml_metadata.ContextType} + * optional string type_name = 1; + * @return {string} */ -proto.ml_metadata.PutContextTypeRequest.prototype.getContextType = function() { - return /** @type{?proto.ml_metadata.ContextType} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1)); +proto.ml_metadata.GetArtifactTypeRequest.prototype.getTypeName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {?proto.ml_metadata.ContextType|undefined} value - * @return {!proto.ml_metadata.PutContextTypeRequest} returns this -*/ -proto.ml_metadata.PutContextTypeRequest.prototype.setContextType = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * @param {string} value + * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this + */ +proto.ml_metadata.GetArtifactTypeRequest.prototype.setTypeName = function(value) { + return jspb.Message.setField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this */ -proto.ml_metadata.PutContextTypeRequest.prototype.clearContextType = function() { - return this.setContextType(undefined); +proto.ml_metadata.GetArtifactTypeRequest.prototype.clearTypeName = function() { + return jspb.Message.setField(this, 1, undefined); }; @@ -6707,143 +13091,223 @@ proto.ml_metadata.PutContextTypeRequest.prototype.clearContextType = function() * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutContextTypeRequest.prototype.hasContextType = function() { +proto.ml_metadata.GetArtifactTypeRequest.prototype.hasTypeName = function() { return jspb.Message.getField(this, 1) != null; }; /** - * optional bool can_add_fields = 2; - * @return {boolean} + * optional string type_version = 2; + * @return {string} */ -proto.ml_metadata.PutContextTypeRequest.prototype.getCanAddFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +proto.ml_metadata.GetArtifactTypeRequest.prototype.getTypeVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + * @param {string} value + * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this */ -proto.ml_metadata.PutContextTypeRequest.prototype.setCanAddFields = function(value) { +proto.ml_metadata.GetArtifactTypeRequest.prototype.setTypeVersion = function(value) { return jspb.Message.setField(this, 2, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutContextTypeRequest} returns this - */ -proto.ml_metadata.PutContextTypeRequest.prototype.clearCanAddFields = function() { - return jspb.Message.setField(this, 2, undefined); + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this + */ +proto.ml_metadata.GetArtifactTypeRequest.prototype.clearTypeVersion = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetArtifactTypeRequest.prototype.hasTypeVersion = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 3; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.GetArtifactTypeRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this +*/ +proto.ml_metadata.GetArtifactTypeRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this */ -proto.ml_metadata.PutContextTypeRequest.prototype.hasCanAddFields = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetArtifactTypeRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; /** - * optional bool can_omit_fields = 5; + * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutContextTypeRequest.prototype.getCanOmitFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +proto.ml_metadata.GetArtifactTypeRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 3) != null; }; -/** - * @param {boolean} value - * @return {!proto.ml_metadata.PutContextTypeRequest} returns this - */ -proto.ml_metadata.PutContextTypeRequest.prototype.setCanOmitFields = function(value) { - return jspb.Message.setField(this, 5, value); -}; + +if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} */ -proto.ml_metadata.PutContextTypeRequest.prototype.clearCanOmitFields = function() { - return jspb.Message.setField(this, 5, undefined); +proto.ml_metadata.GetArtifactTypeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactTypeResponse.toObject(opt_includeInstance, this); }; /** - * Returns whether this field is set. - * @return {boolean} + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.GetArtifactTypeResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutContextTypeRequest.prototype.hasCanOmitFields = function() { - return jspb.Message.getField(this, 5) != null; +proto.ml_metadata.GetArtifactTypeResponse.toObject = function(includeInstance, msg) { + var f, obj = { + artifactType: (f = msg.getArtifactType()) && ml_metadata_proto_metadata_store_pb.ArtifactType.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; }; +} /** - * optional bool can_delete_fields = 3; - * @return {boolean} + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.GetArtifactTypeResponse} */ -proto.ml_metadata.PutContextTypeRequest.prototype.getCanDeleteFields = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +proto.ml_metadata.GetArtifactTypeResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.GetArtifactTypeResponse; + return proto.ml_metadata.GetArtifactTypeResponse.deserializeBinaryFromReader(msg, reader); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.GetArtifactTypeResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.GetArtifactTypeResponse} */ -proto.ml_metadata.PutContextTypeRequest.prototype.setCanDeleteFields = function(value) { - return jspb.Message.setField(this, 3, value); +proto.ml_metadata.GetArtifactTypeResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); + msg.setArtifactType(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.ml_metadata.PutContextTypeRequest.prototype.clearCanDeleteFields = function() { - return jspb.Message.setField(this, 3, undefined); +proto.ml_metadata.GetArtifactTypeResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.GetArtifactTypeResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * Returns whether this field is set. - * @return {boolean} + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.GetArtifactTypeResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutContextTypeRequest.prototype.hasCanDeleteFields = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetArtifactTypeResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifactType(); + if (f != null) { + writer.writeMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter + ); + } }; /** - * optional bool all_fields_match = 4; - * @return {boolean} + * optional ArtifactType artifact_type = 1; + * @return {?proto.ml_metadata.ArtifactType} */ -proto.ml_metadata.PutContextTypeRequest.prototype.getAllFieldsMatch = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, true)); +proto.ml_metadata.GetArtifactTypeResponse.prototype.getArtifactType = function() { + return /** @type{?proto.ml_metadata.ArtifactType} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); }; /** - * @param {boolean} value - * @return {!proto.ml_metadata.PutContextTypeRequest} returns this - */ -proto.ml_metadata.PutContextTypeRequest.prototype.setAllFieldsMatch = function(value) { - return jspb.Message.setField(this, 4, value); + * @param {?proto.ml_metadata.ArtifactType|undefined} value + * @return {!proto.ml_metadata.GetArtifactTypeResponse} returns this +*/ +proto.ml_metadata.GetArtifactTypeResponse.prototype.setArtifactType = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutContextTypeRequest} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactTypeResponse} returns this */ -proto.ml_metadata.PutContextTypeRequest.prototype.clearAllFieldsMatch = function() { - return jspb.Message.setField(this, 4, undefined); +proto.ml_metadata.GetArtifactTypeResponse.prototype.clearArtifactType = function() { + return this.setArtifactType(undefined); }; @@ -6851,8 +13315,8 @@ proto.ml_metadata.PutContextTypeRequest.prototype.clearAllFieldsMatch = function * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutContextTypeRequest.prototype.hasAllFieldsMatch = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.GetArtifactTypeResponse.prototype.hasArtifactType = function() { + return jspb.Message.getField(this, 1) != null; }; @@ -6872,8 +13336,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutContextTypeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutContextTypeResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactTypesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactTypesRequest.toObject(opt_includeInstance, this); }; @@ -6882,13 +13346,13 @@ proto.ml_metadata.PutContextTypeResponse.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutContextTypeResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactTypesRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutContextTypeResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactTypesRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -6902,23 +13366,23 @@ proto.ml_metadata.PutContextTypeResponse.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutContextTypeResponse} + * @return {!proto.ml_metadata.GetArtifactTypesRequest} */ -proto.ml_metadata.PutContextTypeResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactTypesRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutContextTypeResponse; - return proto.ml_metadata.PutContextTypeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactTypesRequest; + return proto.ml_metadata.GetArtifactTypesRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutContextTypeResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactTypesRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutContextTypeResponse} + * @return {!proto.ml_metadata.GetArtifactTypesRequest} */ -proto.ml_metadata.PutContextTypeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactTypesRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6926,8 +13390,9 @@ proto.ml_metadata.PutContextTypeResponse.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setTypeId(value); + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -6942,9 +13407,9 @@ proto.ml_metadata.PutContextTypeResponse.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutContextTypeResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactTypesRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutContextTypeResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactTypesRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6952,46 +13417,48 @@ proto.ml_metadata.PutContextTypeResponse.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutContextTypeResponse} message + * @param {!proto.ml_metadata.GetArtifactTypesRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutContextTypeResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactTypesRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); + f = message.getTransactionOptions(); if (f != null) { - writer.writeInt64( + writer.writeMessage( 1, - f + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * optional int64 type_id = 1; - * @return {number} + * optional TransactionOptions transaction_options = 1; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.PutContextTypeResponse.prototype.getTypeId = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.ml_metadata.GetArtifactTypesRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 1)); }; /** - * @param {number} value - * @return {!proto.ml_metadata.PutContextTypeResponse} returns this - */ -proto.ml_metadata.PutContextTypeResponse.prototype.setTypeId = function(value) { - return jspb.Message.setField(this, 1, value); + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactTypesRequest} returns this +*/ +proto.ml_metadata.GetArtifactTypesRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.PutContextTypeResponse} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactTypesRequest} returns this */ -proto.ml_metadata.PutContextTypeResponse.prototype.clearTypeId = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.GetArtifactTypesRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -6999,7 +13466,7 @@ proto.ml_metadata.PutContextTypeResponse.prototype.clearTypeId = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.PutContextTypeResponse.prototype.hasTypeId = function() { +proto.ml_metadata.GetArtifactTypesRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 1) != null; }; @@ -7010,7 +13477,7 @@ proto.ml_metadata.PutContextTypeResponse.prototype.hasTypeId = function() { * @private {!Array} * @const */ -proto.ml_metadata.PutContextsRequest.repeatedFields_ = [1]; +proto.ml_metadata.GetArtifactTypesResponse.repeatedFields_ = [1]; @@ -7027,8 +13494,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutContextsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutContextsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactTypesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactTypesResponse.toObject(opt_includeInstance, this); }; @@ -7037,14 +13504,14 @@ proto.ml_metadata.PutContextsRequest.prototype.toObject = function(opt_includeIn * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutContextsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactTypesResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutContextsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactTypesResponse.toObject = function(includeInstance, msg) { var f, obj = { - contextsList: jspb.Message.toObjectList(msg.getContextsList(), - ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) + artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(), + ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance) }; if (includeInstance) { @@ -7058,23 +13525,23 @@ proto.ml_metadata.PutContextsRequest.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutContextsRequest} + * @return {!proto.ml_metadata.GetArtifactTypesResponse} */ -proto.ml_metadata.PutContextsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactTypesResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutContextsRequest; - return proto.ml_metadata.PutContextsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactTypesResponse; + return proto.ml_metadata.GetArtifactTypesResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutContextsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactTypesResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutContextsRequest} + * @return {!proto.ml_metadata.GetArtifactTypesResponse} */ -proto.ml_metadata.PutContextsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactTypesResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7082,9 +13549,9 @@ proto.ml_metadata.PutContextsRequest.deserializeBinaryFromReader = function(msg, var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Context; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); - msg.addContexts(value); + var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); + msg.addArtifactTypes(value); break; default: reader.skipField(); @@ -7099,9 +13566,9 @@ proto.ml_metadata.PutContextsRequest.deserializeBinaryFromReader = function(msg, * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutContextsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactTypesResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutContextsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactTypesResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7109,69 +13576,62 @@ proto.ml_metadata.PutContextsRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutContextsRequest} message + * @param {!proto.ml_metadata.GetArtifactTypesResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutContextsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactTypesResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextsList(); + f = message.getArtifactTypesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter ); } }; /** - * repeated Context contexts = 1; - * @return {!Array} + * repeated ArtifactType artifact_types = 1; + * @return {!Array} */ -proto.ml_metadata.PutContextsRequest.prototype.getContextsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); +proto.ml_metadata.GetArtifactTypesResponse.prototype.getArtifactTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutContextsRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactTypesResponse} returns this */ -proto.ml_metadata.PutContextsRequest.prototype.setContextsList = function(value) { +proto.ml_metadata.GetArtifactTypesResponse.prototype.setArtifactTypesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Context=} opt_value + * @param {!proto.ml_metadata.ArtifactType=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Context} + * @return {!proto.ml_metadata.ArtifactType} */ -proto.ml_metadata.PutContextsRequest.prototype.addContexts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); +proto.ml_metadata.GetArtifactTypesResponse.prototype.addArtifactTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutContextsRequest} returns this + * @return {!proto.ml_metadata.GetArtifactTypesResponse} returns this */ -proto.ml_metadata.PutContextsRequest.prototype.clearContextsList = function() { - return this.setContextsList([]); +proto.ml_metadata.GetArtifactTypesResponse.prototype.clearArtifactTypesList = function() { + return this.setArtifactTypesList([]); }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.PutContextsResponse.repeatedFields_ = [1]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -7187,8 +13647,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutContextsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutContextsResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionTypesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionTypesRequest.toObject(opt_includeInstance, this); }; @@ -7197,13 +13657,13 @@ proto.ml_metadata.PutContextsResponse.prototype.toObject = function(opt_includeI * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutContextsResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionTypesRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutContextsResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionTypesRequest.toObject = function(includeInstance, msg) { var f, obj = { - contextIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -7217,23 +13677,23 @@ proto.ml_metadata.PutContextsResponse.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutContextsResponse} + * @return {!proto.ml_metadata.GetExecutionTypesRequest} */ -proto.ml_metadata.PutContextsResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionTypesRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutContextsResponse; - return proto.ml_metadata.PutContextsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionTypesRequest; + return proto.ml_metadata.GetExecutionTypesRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutContextsResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionTypesRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutContextsResponse} + * @return {!proto.ml_metadata.GetExecutionTypesRequest} */ -proto.ml_metadata.PutContextsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionTypesRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7241,10 +13701,9 @@ proto.ml_metadata.PutContextsResponse.deserializeBinaryFromReader = function(msg var field = reader.getFieldNumber(); switch (field) { case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addContextIds(values[i]); - } + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -7259,9 +13718,9 @@ proto.ml_metadata.PutContextsResponse.deserializeBinaryFromReader = function(msg * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutContextsResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionTypesRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutContextsResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionTypesRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7269,56 +13728,57 @@ proto.ml_metadata.PutContextsResponse.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutContextsResponse} message + * @param {!proto.ml_metadata.GetExecutionTypesRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutContextsResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionTypesRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( 1, - f + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * repeated int64 context_ids = 1; - * @return {!Array} + * optional TransactionOptions transaction_options = 1; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.PutContextsResponse.prototype.getContextIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +proto.ml_metadata.GetExecutionTypesRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutContextsResponse} returns this - */ -proto.ml_metadata.PutContextsResponse.prototype.setContextIdsList = function(value) { - return jspb.Message.setField(this, 1, value || []); + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetExecutionTypesRequest} returns this +*/ +proto.ml_metadata.GetExecutionTypesRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.PutContextsResponse} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetExecutionTypesRequest} returns this */ -proto.ml_metadata.PutContextsResponse.prototype.addContextIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +proto.ml_metadata.GetExecutionTypesRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutContextsResponse} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.PutContextsResponse.prototype.clearContextIdsList = function() { - return this.setContextIdsList([]); +proto.ml_metadata.GetExecutionTypesRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 1) != null; }; @@ -7328,7 +13788,7 @@ proto.ml_metadata.PutContextsResponse.prototype.clearContextIdsList = function() * @private {!Array} * @const */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.repeatedFields_ = [1,2]; +proto.ml_metadata.GetExecutionTypesResponse.repeatedFields_ = [1]; @@ -7345,8 +13805,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutAttributionsAndAssociationsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionTypesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionTypesResponse.toObject(opt_includeInstance, this); }; @@ -7355,16 +13815,14 @@ proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionTypesResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionTypesResponse.toObject = function(includeInstance, msg) { var f, obj = { - attributionsList: jspb.Message.toObjectList(msg.getAttributionsList(), - ml_metadata_proto_metadata_store_pb.Attribution.toObject, includeInstance), - associationsList: jspb.Message.toObjectList(msg.getAssociationsList(), - ml_metadata_proto_metadata_store_pb.Association.toObject, includeInstance) + executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(), + ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance) }; if (includeInstance) { @@ -7378,23 +13836,23 @@ proto.ml_metadata.PutAttributionsAndAssociationsRequest.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} + * @return {!proto.ml_metadata.GetExecutionTypesResponse} */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionTypesResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutAttributionsAndAssociationsRequest; - return proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionTypesResponse; + return proto.ml_metadata.GetExecutionTypesResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionTypesResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} + * @return {!proto.ml_metadata.GetExecutionTypesResponse} */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionTypesResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7402,14 +13860,9 @@ proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinaryFromRea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Attribution; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Attribution.deserializeBinaryFromReader); - msg.addAttributions(value); - break; - case 2: - var value = new ml_metadata_proto_metadata_store_pb.Association; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Association.deserializeBinaryFromReader); - msg.addAssociations(value); + var value = new ml_metadata_proto_metadata_store_pb.ExecutionType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader); + msg.addExecutionTypes(value); break; default: reader.skipField(); @@ -7424,9 +13877,9 @@ proto.ml_metadata.PutAttributionsAndAssociationsRequest.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionTypesResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutAttributionsAndAssociationsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionTypesResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7434,104 +13887,58 @@ proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} message + * @param {!proto.ml_metadata.GetExecutionTypesResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionTypesResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getAttributionsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - ml_metadata_proto_metadata_store_pb.Attribution.serializeBinaryToWriter - ); - } - f = message.getAssociationsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 2, - f, - ml_metadata_proto_metadata_store_pb.Association.serializeBinaryToWriter - ); - } -}; - - -/** - * repeated Attribution attributions = 1; - * @return {!Array} - */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.getAttributionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Attribution, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this -*/ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.setAttributionsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - - -/** - * @param {!proto.ml_metadata.Attribution=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.Attribution} - */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.addAttributions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Attribution, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this - */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.clearAttributionsList = function() { - return this.setAttributionsList([]); + f = message.getExecutionTypesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter + ); + } }; /** - * repeated Association associations = 2; - * @return {!Array} + * repeated ExecutionType execution_types = 1; + * @return {!Array} */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.getAssociationsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Association, 2)); +proto.ml_metadata.GetExecutionTypesResponse.prototype.getExecutionTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionTypesResponse} returns this */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.setAssociationsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); +proto.ml_metadata.GetExecutionTypesResponse.prototype.setExecutionTypesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Association=} opt_value + * @param {!proto.ml_metadata.ExecutionType=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Association} + * @return {!proto.ml_metadata.ExecutionType} */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.addAssociations = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ml_metadata.Association, opt_index); +proto.ml_metadata.GetExecutionTypesResponse.prototype.addExecutionTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ExecutionType, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutAttributionsAndAssociationsRequest} returns this + * @return {!proto.ml_metadata.GetExecutionTypesResponse} returns this */ -proto.ml_metadata.PutAttributionsAndAssociationsRequest.prototype.clearAssociationsList = function() { - return this.setAssociationsList([]); +proto.ml_metadata.GetExecutionTypesResponse.prototype.clearExecutionTypesList = function() { + return this.setExecutionTypesList([]); }; @@ -7551,8 +13958,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutAttributionsAndAssociationsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutAttributionsAndAssociationsResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextTypesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextTypesRequest.toObject(opt_includeInstance, this); }; @@ -7561,13 +13968,13 @@ proto.ml_metadata.PutAttributionsAndAssociationsResponse.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextTypesRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutAttributionsAndAssociationsResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextTypesRequest.toObject = function(includeInstance, msg) { var f, obj = { - + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -7581,29 +13988,34 @@ proto.ml_metadata.PutAttributionsAndAssociationsResponse.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} + * @return {!proto.ml_metadata.GetContextTypesRequest} */ -proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextTypesRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutAttributionsAndAssociationsResponse; - return proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextTypesRequest; + return proto.ml_metadata.GetContextTypesRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextTypesRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} + * @return {!proto.ml_metadata.GetContextTypesRequest} */ -proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextTypesRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; default: reader.skipField(); break; @@ -7617,9 +14029,9 @@ proto.ml_metadata.PutAttributionsAndAssociationsResponse.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutAttributionsAndAssociationsResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextTypesRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutAttributionsAndAssociationsResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextTypesRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7627,12 +14039,57 @@ proto.ml_metadata.PutAttributionsAndAssociationsResponse.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutAttributionsAndAssociationsResponse} message + * @param {!proto.ml_metadata.GetContextTypesRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutAttributionsAndAssociationsResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextTypesRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * optional TransactionOptions transaction_options = 1; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.GetContextTypesRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 1)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetContextTypesRequest} returns this +*/ +proto.ml_metadata.GetContextTypesRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetContextTypesRequest} returns this + */ +proto.ml_metadata.GetContextTypesRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetContextTypesRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 1) != null; }; @@ -7642,7 +14099,7 @@ proto.ml_metadata.PutAttributionsAndAssociationsResponse.serializeBinaryToWriter * @private {!Array} * @const */ -proto.ml_metadata.PutParentContextsRequest.repeatedFields_ = [1]; +proto.ml_metadata.GetContextTypesResponse.repeatedFields_ = [1]; @@ -7659,8 +14116,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.PutParentContextsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutParentContextsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextTypesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextTypesResponse.toObject(opt_includeInstance, this); }; @@ -7669,14 +14126,14 @@ proto.ml_metadata.PutParentContextsRequest.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutParentContextsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextTypesResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutParentContextsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextTypesResponse.toObject = function(includeInstance, msg) { var f, obj = { - parentContextsList: jspb.Message.toObjectList(msg.getParentContextsList(), - ml_metadata_proto_metadata_store_pb.ParentContext.toObject, includeInstance) + contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(), + ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance) }; if (includeInstance) { @@ -7690,23 +14147,23 @@ proto.ml_metadata.PutParentContextsRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutParentContextsRequest} + * @return {!proto.ml_metadata.GetContextTypesResponse} */ -proto.ml_metadata.PutParentContextsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextTypesResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutParentContextsRequest; - return proto.ml_metadata.PutParentContextsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextTypesResponse; + return proto.ml_metadata.GetContextTypesResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.PutParentContextsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextTypesResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutParentContextsRequest} + * @return {!proto.ml_metadata.GetContextTypesResponse} */ -proto.ml_metadata.PutParentContextsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextTypesResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7714,9 +14171,9 @@ proto.ml_metadata.PutParentContextsRequest.deserializeBinaryFromReader = functio var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ParentContext; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ParentContext.deserializeBinaryFromReader); - msg.addParentContexts(value); + var value = new ml_metadata_proto_metadata_store_pb.ContextType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); + msg.addContextTypes(value); break; default: reader.skipField(); @@ -7731,9 +14188,9 @@ proto.ml_metadata.PutParentContextsRequest.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.PutParentContextsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextTypesResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutParentContextsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextTypesResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7741,162 +14198,68 @@ proto.ml_metadata.PutParentContextsRequest.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutParentContextsRequest} message + * @param {!proto.ml_metadata.GetContextTypesResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.PutParentContextsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextTypesResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getParentContextsList(); + f = message.getContextTypesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.ParentContext.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter ); } }; /** - * repeated ParentContext parent_contexts = 1; - * @return {!Array} + * repeated ContextType context_types = 1; + * @return {!Array} */ -proto.ml_metadata.PutParentContextsRequest.prototype.getParentContextsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ParentContext, 1)); +proto.ml_metadata.GetContextTypesResponse.prototype.getContextTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.PutParentContextsRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetContextTypesResponse} returns this */ -proto.ml_metadata.PutParentContextsRequest.prototype.setParentContextsList = function(value) { +proto.ml_metadata.GetContextTypesResponse.prototype.setContextTypesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.ParentContext=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.ParentContext} - */ -proto.ml_metadata.PutParentContextsRequest.prototype.addParentContexts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ParentContext, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.PutParentContextsRequest} returns this - */ -proto.ml_metadata.PutParentContextsRequest.prototype.clearParentContextsList = function() { - return this.setParentContextsList([]); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ml_metadata.PutParentContextsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.PutParentContextsResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.PutParentContextsResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ml_metadata.PutParentContextsResponse.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.PutParentContextsResponse} - */ -proto.ml_metadata.PutParentContextsResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.PutParentContextsResponse; - return proto.ml_metadata.PutParentContextsResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.PutParentContextsResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.PutParentContextsResponse} + * @param {!proto.ml_metadata.ContextType=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.ContextType} */ -proto.ml_metadata.PutParentContextsResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; +proto.ml_metadata.GetContextTypesResponse.prototype.addContextTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ContextType, opt_index); }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetContextTypesResponse} returns this */ -proto.ml_metadata.PutParentContextsResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.PutParentContextsResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.GetContextTypesResponse.prototype.clearContextTypesList = function() { + return this.setContextTypesList([]); }; + /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.PutParentContextsResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.ml_metadata.PutParentContextsResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - +proto.ml_metadata.GetArtifactsByExternalIdsRequest.repeatedFields_ = [1]; @@ -7913,8 +14276,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactsByTypeRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsByExternalIdsRequest.toObject(opt_includeInstance, this); }; @@ -7923,15 +14286,13 @@ proto.ml_metadata.GetArtifactsByTypeRequest.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactsByTypeRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByTypeRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsByExternalIdsRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, - options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), + externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -7946,23 +14307,23 @@ proto.ml_metadata.GetArtifactsByTypeRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsByExternalIdsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactsByTypeRequest; - return proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsByExternalIdsRequest; + return proto.ml_metadata.GetArtifactsByExternalIdsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactsByTypeRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7971,18 +14332,9 @@ proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinaryFromReader = functi switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setTypeName(value); + msg.addExternalIds(value); break; case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeVersion(value); - break; - case 3: - var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); - msg.setOptions(value); - break; - case 4: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -8000,9 +14352,9 @@ proto.ml_metadata.GetArtifactsByTypeRequest.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactsByTypeRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactsByExternalIdsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8010,38 +14362,23 @@ proto.ml_metadata.GetArtifactsByTypeRequest.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactsByTypeRequest} message + * @param {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByTypeRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactsByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( + f = message.getExternalIdsList(); + if (f.length > 0) { + writer.writeRepeatedString( 1, f ); } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = message.getOptions(); - if (f != null) { - writer.writeMessage( - 3, - f, - ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter - ); - } f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 4, + 2, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -8050,65 +14387,67 @@ proto.ml_metadata.GetArtifactsByTypeRequest.serializeBinaryToWriter = function(m /** - * optional string type_name = 1; - * @return {string} + * repeated string external_ids = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getTypeName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.getExternalIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setTypeName = function(value) { - return jspb.Message.setField(this, 1, value); +proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.setExternalIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this + * @param {string} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearTypeName = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasTypeName = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.clearExternalIdsList = function() { + return this.setExternalIdsList([]); }; /** - * optional string type_version = 2; - * @return {string} + * optional TransactionOptions transaction_options = 2; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getTypeVersion = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this - */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setTypeVersion = function(value) { - return jspb.Message.setField(this, 2, value); + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} returns this +*/ +proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearTypeVersion = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -8116,82 +14455,168 @@ proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearTypeVersion = functio * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasTypeVersion = function() { +proto.ml_metadata.GetArtifactsByExternalIdsRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; + /** - * optional ListOperationOptions options = 3; - * @return {?proto.ml_metadata.ListOperationOptions} + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getOptions = function() { - return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 3)); +proto.ml_metadata.GetArtifactsByExternalIdsResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsByExternalIdsResponse.toObject(opt_includeInstance, this); }; /** - * @param {?proto.ml_metadata.ListOperationOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this -*/ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setOptions = function(value) { - return jspb.Message.setWrapperField(this, 3, value); + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.GetArtifactsByExternalIdsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), + ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; }; +} /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearOptions = function() { - return this.setOptions(undefined); +proto.ml_metadata.GetArtifactsByExternalIdsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.GetArtifactsByExternalIdsResponse; + return proto.ml_metadata.GetArtifactsByExternalIdsResponse.deserializeBinaryFromReader(msg, reader); }; /** - * Returns whether this field is set. - * @return {boolean} + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasOptions = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetArtifactsByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.addArtifacts(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; }; /** - * optional TransactionOptions transaction_options = 4; - * @return {?proto.ml_metadata.TransactionOptions} + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.getTransactionOptions = function() { - return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); +proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.GetArtifactsByExternalIdsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.GetArtifactsByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getArtifactsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated Artifact artifacts = 1; + * @return {!Array} + */ +proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.getArtifactsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); }; /** - * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 4, value); +proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.setArtifactsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByTypeRequest} returns this + * @param {!proto.ml_metadata.Artifact=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Artifact} */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.clearTransactionOptions = function() { - return this.setTransactionOptions(undefined); +proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.addArtifacts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetArtifactsByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.GetArtifactsByExternalIdsResponse.prototype.clearArtifactsList = function() { + return this.setArtifactsList([]); }; @@ -8201,7 +14626,7 @@ proto.ml_metadata.GetArtifactsByTypeRequest.prototype.hasTransactionOptions = fu * @private {!Array} * @const */ -proto.ml_metadata.GetArtifactsByTypeResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetExecutionsByExternalIdsRequest.repeatedFields_ = [1]; @@ -8218,8 +14643,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactsByTypeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactsByTypeResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionsByExternalIdsRequest.toObject(opt_includeInstance, this); }; @@ -8228,15 +14653,14 @@ proto.ml_metadata.GetArtifactsByTypeResponse.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactsByTypeResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByTypeResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionsByExternalIdsRequest.toObject = function(includeInstance, msg) { var f, obj = { - artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), - ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance), - nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -8250,23 +14674,23 @@ proto.ml_metadata.GetArtifactsByTypeResponse.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionsByExternalIdsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactsByTypeResponse; - return proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionsByExternalIdsRequest; + return proto.ml_metadata.GetExecutionsByExternalIdsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactsByTypeResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionsByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8274,13 +14698,13 @@ proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinaryFromReader = funct var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Artifact; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); - msg.addArtifacts(value); + var value = /** @type {string} */ (reader.readString()); + msg.addExternalIds(value); break; case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setNextPageToken(value); + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -8295,9 +14719,9 @@ proto.ml_metadata.GetArtifactsByTypeResponse.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsByTypeResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactsByTypeResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionsByExternalIdsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8305,92 +14729,92 @@ proto.ml_metadata.GetArtifactsByTypeResponse.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactsByTypeResponse} message + * @param {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByTypeResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionsByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactsList(); + f = message.getExternalIdsList(); if (f.length > 0) { - writer.writeRepeatedMessage( + writer.writeRepeatedString( 1, - f, - ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + f ); } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); + f = message.getTransactionOptions(); if (f != null) { - writer.writeString( + writer.writeMessage( 2, - f + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * repeated Artifact artifacts = 1; - * @return {!Array} + * repeated string external_ids = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactsByTypeResponse.prototype.getArtifactsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.getExternalIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this -*/ -proto.ml_metadata.GetArtifactsByTypeResponse.prototype.setArtifactsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} returns this + */ +proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.setExternalIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * @param {!proto.ml_metadata.Artifact=} opt_value + * @param {string} value * @param {number=} opt_index - * @return {!proto.ml_metadata.Artifact} + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByTypeResponse.prototype.addArtifacts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); +proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByTypeResponse.prototype.clearArtifactsList = function() { - return this.setArtifactsList([]); +proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.clearExternalIdsList = function() { + return this.setExternalIdsList([]); }; /** - * optional string next_page_token = 2; - * @return {string} + * optional TransactionOptions transaction_options = 2; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetArtifactsByTypeResponse.prototype.getNextPageToken = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this - */ -proto.ml_metadata.GetArtifactsByTypeResponse.prototype.setNextPageToken = function(value) { - return jspb.Message.setField(this, 2, value); + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} returns this +*/ +proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByTypeResponse} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByTypeResponse.prototype.clearNextPageToken = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -8398,12 +14822,19 @@ proto.ml_metadata.GetArtifactsByTypeResponse.prototype.clearNextPageToken = func * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactsByTypeResponse.prototype.hasNextPageToken = function() { +proto.ml_metadata.GetExecutionsByExternalIdsRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetExecutionsByExternalIdsResponse.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -8419,8 +14850,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactByTypeAndNameRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionsByExternalIdsResponse.toObject(opt_includeInstance, this); }; @@ -8429,16 +14860,14 @@ proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionsByExternalIdsResponse.toObject = function(includeInstance, msg) { var f, obj = { - typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, - artifactName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, - transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), + ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance) }; if (includeInstance) { @@ -8452,23 +14881,23 @@ proto.ml_metadata.GetArtifactByTypeAndNameRequest.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionsByExternalIdsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactByTypeAndNameRequest; - return proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionsByExternalIdsResponse; + return proto.ml_metadata.GetExecutionsByExternalIdsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionsByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8476,21 +14905,9 @@ proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinaryFromReader = var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeName(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeVersion(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setArtifactName(value); - break; - case 4: - var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); - msg.setTransactionOptions(value); + var value = new ml_metadata_proto_metadata_store_pb.Execution; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); + msg.addExecutions(value); break; default: reader.skipField(); @@ -8505,9 +14922,9 @@ proto.ml_metadata.GetArtifactByTypeAndNameRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactByTypeAndNameRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionsByExternalIdsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8515,176 +14932,255 @@ proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} message + * @param {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionsByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( + f = message.getExecutionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = message.getTransactionOptions(); - if (f != null) { - writer.writeMessage( - 4, f, - ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter ); } }; /** - * optional string type_name = 1; - * @return {string} + * repeated Execution executions = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getTypeName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.getExecutionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} returns this +*/ +proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.setExecutionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.ml_metadata.Execution=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Execution} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setTypeName = function(value) { - return jspb.Message.setField(this, 1, value); +proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.addExecutions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetExecutionsByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearTypeName = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.GetExecutionsByExternalIdsResponse.prototype.clearExecutionsList = function() { + return this.setExecutionsList([]); }; + /** - * Returns whether this field is set. - * @return {boolean} + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasTypeName = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetContextsByExternalIdsRequest.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsByExternalIdsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.GetContextsByExternalIdsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; }; +} /** - * optional string type_version = 3; - * @return {string} + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getTypeVersion = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.ml_metadata.GetContextsByExternalIdsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ml_metadata.GetContextsByExternalIdsRequest; + return proto.ml_metadata.GetContextsByExternalIdsRequest.deserializeBinaryFromReader(msg, reader); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setTypeVersion = function(value) { - return jspb.Message.setField(this, 3, value); +proto.ml_metadata.GetContextsByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addExternalIds(value); + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearTypeVersion = function() { - return jspb.Message.setField(this, 3, undefined); +proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.GetContextsByExternalIdsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * Returns whether this field is set. - * @return {boolean} + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.GetContextsByExternalIdsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasTypeVersion = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetContextsByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExternalIdsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } }; /** - * optional string artifact_name = 2; - * @return {string} + * repeated string external_ids = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getArtifactName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.getExternalIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setArtifactName = function(value) { - return jspb.Message.setField(this, 2, value); +proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.setExternalIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this + * @param {string} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearArtifactName = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasArtifactName = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.clearExternalIdsList = function() { + return this.setExternalIdsList([]); }; /** - * optional TransactionOptions transaction_options = 4; + * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this + * @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 4, value); +proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameRequest} returns this + * @return {!proto.ml_metadata.GetContextsByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -8693,12 +15189,19 @@ proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.clearTransactionOpti * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactByTypeAndNameRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.GetContextsByExternalIdsRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetContextsByExternalIdsResponse.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -8714,8 +15217,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactByTypeAndNameResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsByExternalIdsResponse.toObject(opt_includeInstance, this); }; @@ -8724,13 +15227,14 @@ proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsByExternalIdsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactByTypeAndNameResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsByExternalIdsResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifact: (f = msg.getArtifact()) && ml_metadata_proto_metadata_store_pb.Artifact.toObject(includeInstance, f) + contextsList: jspb.Message.toObjectList(msg.getContextsList(), + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) }; if (includeInstance) { @@ -8744,23 +15248,23 @@ proto.ml_metadata.GetArtifactByTypeAndNameResponse.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} + * @return {!proto.ml_metadata.GetContextsByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsByExternalIdsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactByTypeAndNameResponse; - return proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsByExternalIdsResponse; + return proto.ml_metadata.GetContextsByExternalIdsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsByExternalIdsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} + * @return {!proto.ml_metadata.GetContextsByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8768,9 +15272,9 @@ proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinaryFromReader = var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Artifact; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); - msg.setArtifact(value); + var value = new ml_metadata_proto_metadata_store_pb.Context; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); + msg.addContexts(value); break; default: reader.skipField(); @@ -8785,9 +15289,9 @@ proto.ml_metadata.GetArtifactByTypeAndNameResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactByTypeAndNameResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextsByExternalIdsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8795,57 +15299,58 @@ proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} message + * @param {!proto.ml_metadata.GetContextsByExternalIdsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactByTypeAndNameResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextsByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifact(); - if (f != null) { - writer.writeMessage( + f = message.getContextsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter ); } }; /** - * optional Artifact artifact = 1; - * @return {?proto.ml_metadata.Artifact} + * repeated Context contexts = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.getArtifact = function() { - return /** @type{?proto.ml_metadata.Artifact} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.getContextsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; /** - * @param {?proto.ml_metadata.Artifact|undefined} value - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetContextsByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.setArtifact = function(value) { - return jspb.Message.setWrapperField(this, 1, value); +proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.setContextsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactByTypeAndNameResponse} returns this + * @param {!proto.ml_metadata.Context=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.clearArtifact = function() { - return this.setArtifact(undefined); +proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.addContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetContextsByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.hasArtifact = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetContextsByExternalIdsResponse.prototype.clearContextsList = function() { + return this.setContextsList([]); }; @@ -8855,7 +15360,7 @@ proto.ml_metadata.GetArtifactByTypeAndNameResponse.prototype.hasArtifact = funct * @private {!Array} * @const */ -proto.ml_metadata.GetArtifactsByIDRequest.repeatedFields_ = [1]; +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.repeatedFields_ = [1]; @@ -8872,8 +15377,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactsByIDRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactsByIDRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.toObject(opt_includeInstance, this); }; @@ -8882,13 +15387,13 @@ proto.ml_metadata.GetArtifactsByIDRequest.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactsByIDRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByIDRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.toObject = function(includeInstance, msg) { var f, obj = { - artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -8903,23 +15408,23 @@ proto.ml_metadata.GetArtifactsByIDRequest.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactsByIDRequest} + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactsByIDRequest; - return proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactTypesByExternalIdsRequest; + return proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactsByIDRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactsByIDRequest} + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -8927,10 +15432,8 @@ proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinaryFromReader = function var field = reader.getFieldNumber(); switch (field) { case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addArtifactIds(values[i]); - } + var value = /** @type {string} */ (reader.readString()); + msg.addExternalIds(value); break; case 2: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; @@ -8950,9 +15453,9 @@ proto.ml_metadata.GetArtifactsByIDRequest.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsByIDRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactsByIDRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -8960,15 +15463,15 @@ proto.ml_metadata.GetArtifactsByIDRequest.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactsByIDRequest} message + * @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByIDRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactIdsList(); + f = message.getExternalIdsList(); if (f.length > 0) { - writer.writeRepeatedInt64( + writer.writeRepeatedString( 1, f ); @@ -8985,39 +15488,39 @@ proto.ml_metadata.GetArtifactsByIDRequest.serializeBinaryToWriter = function(mes /** - * repeated int64 artifact_ids = 1; - * @return {!Array} + * repeated string external_ids = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactsByIDRequest.prototype.getArtifactIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.getExternalIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByIDRequest.prototype.setArtifactIdsList = function(value) { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.setExternalIdsList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** - * @param {number} value + * @param {string} value * @param {number=} opt_index - * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByIDRequest.prototype.addArtifactIds = function(value, opt_index) { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByIDRequest.prototype.clearArtifactIdsList = function() { - return this.setArtifactIdsList([]); +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.clearExternalIdsList = function() { + return this.setExternalIdsList([]); }; @@ -9025,7 +15528,7 @@ proto.ml_metadata.GetArtifactsByIDRequest.prototype.clearArtifactIdsList = funct * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetArtifactsByIDRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; @@ -9033,18 +15536,18 @@ proto.ml_metadata.GetArtifactsByIDRequest.prototype.getTransactionOptions = func /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByIDRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByIDRequest} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByIDRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -9053,7 +15556,7 @@ proto.ml_metadata.GetArtifactsByIDRequest.prototype.clearTransactionOptions = fu * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactsByIDRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetArtifactTypesByExternalIdsRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; @@ -9064,7 +15567,7 @@ proto.ml_metadata.GetArtifactsByIDRequest.prototype.hasTransactionOptions = func * @private {!Array} * @const */ -proto.ml_metadata.GetArtifactsByIDResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.repeatedFields_ = [1]; @@ -9081,8 +15584,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactsByIDResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactsByIDResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.toObject(opt_includeInstance, this); }; @@ -9091,14 +15594,14 @@ proto.ml_metadata.GetArtifactsByIDResponse.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactsByIDResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByIDResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), - ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance) + artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(), + ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance) }; if (includeInstance) { @@ -9112,23 +15615,23 @@ proto.ml_metadata.GetArtifactsByIDResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactsByIDResponse} + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactsByIDResponse; - return proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactTypesByExternalIdsResponse; + return proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactsByIDResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactsByIDResponse} + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9136,9 +15639,9 @@ proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinaryFromReader = functio var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Artifact; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); - msg.addArtifacts(value); + var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); + msg.addArtifactTypes(value); break; default: reader.skipField(); @@ -9153,9 +15656,9 @@ proto.ml_metadata.GetArtifactsByIDResponse.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsByIDResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactsByIDResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9163,62 +15666,69 @@ proto.ml_metadata.GetArtifactsByIDResponse.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactsByIDResponse} message + * @param {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByIDResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactsList(); + f = message.getArtifactTypesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter ); } }; /** - * repeated Artifact artifacts = 1; - * @return {!Array} + * repeated ArtifactType artifact_types = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactsByIDResponse.prototype.getArtifactsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.getArtifactTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetArtifactsByIDResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactsByIDResponse.prototype.setArtifactsList = function(value) { +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.setArtifactTypesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Artifact=} opt_value + * @param {!proto.ml_metadata.ArtifactType=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Artifact} + * @return {!proto.ml_metadata.ArtifactType} */ -proto.ml_metadata.GetArtifactsByIDResponse.prototype.addArtifacts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.addArtifactTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetArtifactsByIDResponse} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactsByIDResponse.prototype.clearArtifactsList = function() { - return this.setArtifactsList([]); +proto.ml_metadata.GetArtifactTypesByExternalIdsResponse.prototype.clearArtifactTypesList = function() { + return this.setArtifactTypesList([]); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -9234,8 +15744,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.toObject(opt_includeInstance, this); }; @@ -9244,13 +15754,13 @@ proto.ml_metadata.GetArtifactsRequest.prototype.toObject = function(opt_includeI * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.toObject = function(includeInstance, msg) { var f, obj = { - options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), + externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -9265,23 +15775,23 @@ proto.ml_metadata.GetArtifactsRequest.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactsRequest} + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactsRequest; - return proto.ml_metadata.GetArtifactsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionTypesByExternalIdsRequest; + return proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactsRequest} + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9289,9 +15799,8 @@ proto.ml_metadata.GetArtifactsRequest.deserializeBinaryFromReader = function(msg var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); - msg.setOptions(value); + var value = /** @type {string} */ (reader.readString()); + msg.addExternalIds(value); break; case 2: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; @@ -9311,9 +15820,9 @@ proto.ml_metadata.GetArtifactsRequest.deserializeBinaryFromReader = function(msg * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9321,18 +15830,17 @@ proto.ml_metadata.GetArtifactsRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactsRequest} message + * @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getOptions(); - if (f != null) { - writer.writeMessage( + f = message.getExternalIdsList(); + if (f.length > 0) { + writer.writeRepeatedString( 1, - f, - ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter + f ); } f = message.getTransactionOptions(); @@ -9347,39 +15855,39 @@ proto.ml_metadata.GetArtifactsRequest.serializeBinaryToWriter = function(message /** - * optional ListOperationOptions options = 1; - * @return {?proto.ml_metadata.ListOperationOptions} + * repeated string external_ids = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactsRequest.prototype.getOptions = function() { - return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 1)); +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.getExternalIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {?proto.ml_metadata.ListOperationOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactsRequest} returns this -*/ -proto.ml_metadata.GetArtifactsRequest.prototype.setOptions = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} returns this + */ +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.setExternalIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsRequest} returns this + * @param {string} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsRequest.prototype.clearOptions = function() { - return this.setOptions(undefined); +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsRequest.prototype.hasOptions = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.clearExternalIdsList = function() { + return this.setExternalIdsList([]); }; @@ -9387,7 +15895,7 @@ proto.ml_metadata.GetArtifactsRequest.prototype.hasOptions = function() { * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetArtifactsRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; @@ -9395,18 +15903,18 @@ proto.ml_metadata.GetArtifactsRequest.prototype.getTransactionOptions = function /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactsRequest} returns this + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsRequest} returns this + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -9415,7 +15923,7 @@ proto.ml_metadata.GetArtifactsRequest.prototype.clearTransactionOptions = functi * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactsRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetExecutionTypesByExternalIdsRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; @@ -9426,7 +15934,7 @@ proto.ml_metadata.GetArtifactsRequest.prototype.hasTransactionOptions = function * @private {!Array} * @const */ -proto.ml_metadata.GetArtifactsResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.repeatedFields_ = [1]; @@ -9443,8 +15951,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactsResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.toObject(opt_includeInstance, this); }; @@ -9453,15 +15961,14 @@ proto.ml_metadata.GetArtifactsResponse.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactsResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), - ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance), - nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(), + ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance) }; if (includeInstance) { @@ -9475,23 +15982,23 @@ proto.ml_metadata.GetArtifactsResponse.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactsResponse} + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactsResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactsResponse; - return proto.ml_metadata.GetArtifactsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionTypesByExternalIdsResponse; + return proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactsResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactsResponse} + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -9499,13 +16006,9 @@ proto.ml_metadata.GetArtifactsResponse.deserializeBinaryFromReader = function(ms var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Artifact; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); - msg.addArtifacts(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setNextPageToken(value); + var value = new ml_metadata_proto_metadata_store_pb.ExecutionType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader); + msg.addExecutionTypes(value); break; default: reader.skipField(); @@ -9520,9 +16023,9 @@ proto.ml_metadata.GetArtifactsResponse.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactsResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9530,101 +16033,58 @@ proto.ml_metadata.GetArtifactsResponse.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactsResponse} message + * @param {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactsList(); + f = message.getExecutionTypesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f + ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter ); } }; /** - * repeated Artifact artifacts = 1; - * @return {!Array} + * repeated ExecutionType execution_types = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactsResponse.prototype.getArtifactsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.getExecutionTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetArtifactsResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactsResponse.prototype.setArtifactsList = function(value) { +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.setExecutionTypesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Artifact=} opt_value + * @param {!proto.ml_metadata.ExecutionType=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Artifact} + * @return {!proto.ml_metadata.ExecutionType} */ -proto.ml_metadata.GetArtifactsResponse.prototype.addArtifacts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.addExecutionTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ExecutionType, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetArtifactsResponse} returns this - */ -proto.ml_metadata.GetArtifactsResponse.prototype.clearArtifactsList = function() { - return this.setArtifactsList([]); -}; - - -/** - * optional string next_page_token = 2; - * @return {string} - */ -proto.ml_metadata.GetArtifactsResponse.prototype.getNextPageToken = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetArtifactsResponse} returns this + * @return {!proto.ml_metadata.GetExecutionTypesByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactsResponse.prototype.setNextPageToken = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsResponse} returns this - */ -proto.ml_metadata.GetArtifactsResponse.prototype.clearNextPageToken = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetArtifactsResponse.prototype.hasNextPageToken = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetExecutionTypesByExternalIdsResponse.prototype.clearExecutionTypesList = function() { + return this.setExecutionTypesList([]); }; @@ -9634,7 +16094,7 @@ proto.ml_metadata.GetArtifactsResponse.prototype.hasNextPageToken = function() { * @private {!Array} * @const */ -proto.ml_metadata.GetArtifactsByURIRequest.repeatedFields_ = [2]; +proto.ml_metadata.GetContextTypesByExternalIdsRequest.repeatedFields_ = [1]; @@ -9651,8 +16111,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactsByURIRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactsByURIRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextTypesByExternalIdsRequest.toObject(opt_includeInstance, this); }; @@ -9661,13 +16121,13 @@ proto.ml_metadata.GetArtifactsByURIRequest.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactsByURIRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByURIRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextTypesByExternalIdsRequest.toObject = function(includeInstance, msg) { var f, obj = { - urisList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + externalIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -9682,34 +16142,34 @@ proto.ml_metadata.GetArtifactsByURIRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactsByURIRequest} + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactsByURIRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextTypesByExternalIdsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactsByURIRequest; - return proto.ml_metadata.GetArtifactsByURIRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextTypesByExternalIdsRequest; + return proto.ml_metadata.GetContextTypesByExternalIdsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactsByURIRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactsByURIRequest} + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} */ -proto.ml_metadata.GetArtifactsByURIRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextTypesByExternalIdsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { - case 2: + case 1: var value = /** @type {string} */ (reader.readString()); - msg.addUris(value); + msg.addExternalIds(value); break; - case 3: + case 2: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -9727,9 +16187,9 @@ proto.ml_metadata.GetArtifactsByURIRequest.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsByURIRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactsByURIRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextTypesByExternalIdsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9737,23 +16197,23 @@ proto.ml_metadata.GetArtifactsByURIRequest.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactsByURIRequest} message + * @param {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByURIRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextTypesByExternalIdsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getUrisList(); + f = message.getExternalIdsList(); if (f.length > 0) { writer.writeRepeatedString( - 2, + 1, f ); } f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 3, + 2, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -9762,66 +16222,66 @@ proto.ml_metadata.GetArtifactsByURIRequest.serializeBinaryToWriter = function(me /** - * repeated string uris = 2; + * repeated string external_ids = 1; * @return {!Array} */ -proto.ml_metadata.GetArtifactsByURIRequest.prototype.getUrisList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.getExternalIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value - * @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByURIRequest.prototype.setUrisList = function(value) { - return jspb.Message.setField(this, 2, value || []); +proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.setExternalIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** * @param {string} value * @param {number=} opt_index - * @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByURIRequest.prototype.addUris = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 2, value, opt_index); +proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.addExternalIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByURIRequest.prototype.clearUrisList = function() { - return this.setUrisList([]); +proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.clearExternalIdsList = function() { + return this.setExternalIdsList([]); }; /** - * optional TransactionOptions transaction_options = 3; + * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetArtifactsByURIRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByURIRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 3, value); +proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByURIRequest} returns this + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsRequest} returns this */ -proto.ml_metadata.GetArtifactsByURIRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -9830,8 +16290,8 @@ proto.ml_metadata.GetArtifactsByURIRequest.prototype.clearTransactionOptions = f * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactsByURIRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetContextTypesByExternalIdsRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -9841,7 +16301,7 @@ proto.ml_metadata.GetArtifactsByURIRequest.prototype.hasTransactionOptions = fun * @private {!Array} * @const */ -proto.ml_metadata.GetArtifactsByURIResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetContextTypesByExternalIdsResponse.repeatedFields_ = [1]; @@ -9858,8 +16318,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactsByURIResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactsByURIResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextTypesByExternalIdsResponse.toObject(opt_includeInstance, this); }; @@ -9868,14 +16328,14 @@ proto.ml_metadata.GetArtifactsByURIResponse.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactsByURIResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByURIResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextTypesByExternalIdsResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), - ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance) + contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(), + ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance) }; if (includeInstance) { @@ -9889,33 +16349,33 @@ proto.ml_metadata.GetArtifactsByURIResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactsByURIResponse} + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextTypesByExternalIdsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactsByURIResponse; - return proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextTypesByExternalIdsResponse; + return proto.ml_metadata.GetContextTypesByExternalIdsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactsByURIResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactsByURIResponse} + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} */ -proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextTypesByExternalIdsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { - case 1: - var value = new ml_metadata_proto_metadata_store_pb.Artifact; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); - msg.addArtifacts(value); + case 1: + var value = new ml_metadata_proto_metadata_store_pb.ContextType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); + msg.addContextTypes(value); break; default: reader.skipField(); @@ -9930,9 +16390,9 @@ proto.ml_metadata.GetArtifactsByURIResponse.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsByURIResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactsByURIResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextTypesByExternalIdsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -9940,58 +16400,58 @@ proto.ml_metadata.GetArtifactsByURIResponse.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactsByURIResponse} message + * @param {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByURIResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextTypesByExternalIdsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactsList(); + f = message.getContextTypesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter ); } }; /** - * repeated Artifact artifacts = 1; - * @return {!Array} + * repeated ContextType context_types = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactsByURIResponse.prototype.getArtifactsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.getContextTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetArtifactsByURIResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactsByURIResponse.prototype.setArtifactsList = function(value) { +proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.setContextTypesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Artifact=} opt_value + * @param {!proto.ml_metadata.ContextType=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Artifact} + * @return {!proto.ml_metadata.ContextType} */ -proto.ml_metadata.GetArtifactsByURIResponse.prototype.addArtifacts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); +proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.addContextTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ContextType, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetArtifactsByURIResponse} returns this + * @return {!proto.ml_metadata.GetContextTypesByExternalIdsResponse} returns this */ -proto.ml_metadata.GetArtifactsByURIResponse.prototype.clearArtifactsList = function() { - return this.setArtifactsList([]); +proto.ml_metadata.GetContextTypesByExternalIdsResponse.prototype.clearContextTypesList = function() { + return this.setContextTypesList([]); }; @@ -10011,8 +16471,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionsByTypeRequest.toObject(opt_includeInstance, this); }; @@ -10021,12 +16481,14 @@ proto.ml_metadata.GetExecutionsRequest.prototype.toObject = function(opt_include * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionsByTypeRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionsByTypeRequest.toObject = function(includeInstance, msg) { var f, obj = { + typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -10042,23 +16504,23 @@ proto.ml_metadata.GetExecutionsRequest.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionsRequest} + * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} */ -proto.ml_metadata.GetExecutionsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionsRequest; - return proto.ml_metadata.GetExecutionsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionsByTypeRequest; + return proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionsByTypeRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionsRequest} + * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} */ -proto.ml_metadata.GetExecutionsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -10066,11 +16528,19 @@ proto.ml_metadata.GetExecutionsRequest.deserializeBinaryFromReader = function(ms var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTypeName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setTypeVersion(value); + break; + case 3: var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); msg.setOptions(value); break; - case 2: + case 4: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -10088,9 +16558,9 @@ proto.ml_metadata.GetExecutionsRequest.deserializeBinaryFromReader = function(ms * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionsByTypeRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -10098,16 +16568,30 @@ proto.ml_metadata.GetExecutionsRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionsRequest} message + * @param {!proto.ml_metadata.GetExecutionsByTypeRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionsByTypeRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } f = message.getOptions(); if (f != null) { writer.writeMessage( - 1, + 3, f, ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter ); @@ -10115,7 +16599,7 @@ proto.ml_metadata.GetExecutionsRequest.serializeBinaryToWriter = function(messag f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 2, + 4, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -10124,67 +16608,29 @@ proto.ml_metadata.GetExecutionsRequest.serializeBinaryToWriter = function(messag /** - * optional ListOperationOptions options = 1; - * @return {?proto.ml_metadata.ListOperationOptions} - */ -proto.ml_metadata.GetExecutionsRequest.prototype.getOptions = function() { - return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 1)); -}; - - -/** - * @param {?proto.ml_metadata.ListOperationOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionsRequest} returns this -*/ -proto.ml_metadata.GetExecutionsRequest.prototype.setOptions = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsRequest} returns this - */ -proto.ml_metadata.GetExecutionsRequest.prototype.clearOptions = function() { - return this.setOptions(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} + * optional string type_name = 1; + * @return {string} */ -proto.ml_metadata.GetExecutionsRequest.prototype.hasOptions = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getTypeName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * optional TransactionOptions transaction_options = 2; - * @return {?proto.ml_metadata.TransactionOptions} + * @param {string} value + * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionsRequest.prototype.getTransactionOptions = function() { - return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); -}; - - -/** - * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionsRequest} returns this -*/ -proto.ml_metadata.GetExecutionsRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 2, value); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setTypeName = function(value) { + return jspb.Message.setField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsRequest} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionsRequest.prototype.clearTransactionOptions = function() { - return this.setTransactionOptions(undefined); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearTypeName = function() { + return jspb.Message.setField(this, 1, undefined); }; @@ -10192,207 +16638,109 @@ proto.ml_metadata.GetExecutionsRequest.prototype.clearTransactionOptions = funct * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionsRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.GetExecutionsResponse.repeatedFields_ = [1]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ml_metadata.GetExecutionsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionsResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionsResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ml_metadata.GetExecutionsResponse.toObject = function(includeInstance, msg) { - var f, obj = { - executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), - ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance), - nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasTypeName = function() { + return jspb.Message.getField(this, 1) != null; }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionsResponse} + * optional string type_version = 2; + * @return {string} */ -proto.ml_metadata.GetExecutionsResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionsResponse; - return proto.ml_metadata.GetExecutionsResponse.deserializeBinaryFromReader(msg, reader); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getTypeVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionsResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionsResponse} - */ -proto.ml_metadata.GetExecutionsResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new ml_metadata_proto_metadata_store_pb.Execution; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); - msg.addExecutions(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setNextPageToken(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this + */ +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setTypeVersion = function(value) { + return jspb.Message.setField(this, 2, value); }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionsResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionsResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearTypeVersion = function() { + return jspb.Message.setField(this, 2, undefined); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionsResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetExecutionsResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getExecutionsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasTypeVersion = function() { + return jspb.Message.getField(this, 2) != null; }; /** - * repeated Execution executions = 1; - * @return {!Array} + * optional ListOperationOptions options = 3; + * @return {?proto.ml_metadata.ListOperationOptions} */ -proto.ml_metadata.GetExecutionsResponse.prototype.getExecutionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 3)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetExecutionsResponse} returns this + * @param {?proto.ml_metadata.ListOperationOptions|undefined} value + * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionsResponse.prototype.setExecutionsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); }; /** - * @param {!proto.ml_metadata.Execution=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.Execution} + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionsResponse.prototype.addExecutions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearOptions = function() { + return this.setOptions(undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetExecutionsResponse} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetExecutionsResponse.prototype.clearExecutionsList = function() { - return this.setExecutionsList([]); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasOptions = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * optional string next_page_token = 2; - * @return {string} + * optional TransactionOptions transaction_options = 4; + * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetExecutionsResponse.prototype.getNextPageToken = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetExecutionsResponse} returns this - */ -proto.ml_metadata.GetExecutionsResponse.prototype.setNextPageToken = function(value) { - return jspb.Message.setField(this, 2, value); + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this +*/ +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 4, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsResponse} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionsResponse.prototype.clearNextPageToken = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; @@ -10400,12 +16748,19 @@ proto.ml_metadata.GetExecutionsResponse.prototype.clearNextPageToken = function( * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionsResponse.prototype.hasNextPageToken = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 4) != null; }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetExecutionsByTypeResponse.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -10421,8 +16776,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactTypeRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionsByTypeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionsByTypeResponse.toObject(opt_includeInstance, this); }; @@ -10431,15 +16786,15 @@ proto.ml_metadata.GetArtifactTypeRequest.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactTypeRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionsByTypeResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactTypeRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionsByTypeResponse.toObject = function(includeInstance, msg) { var f, obj = { - typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, - transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), + ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance), + nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -10453,23 +16808,23 @@ proto.ml_metadata.GetArtifactTypeRequest.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactTypeRequest} + * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} */ -proto.ml_metadata.GetArtifactTypeRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactTypeRequest; - return proto.ml_metadata.GetArtifactTypeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionsByTypeResponse; + return proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactTypeRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionsByTypeResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactTypeRequest} + * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} */ -proto.ml_metadata.GetArtifactTypeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -10477,17 +16832,13 @@ proto.ml_metadata.GetArtifactTypeRequest.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeName(value); + var value = new ml_metadata_proto_metadata_store_pb.Execution; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); + msg.addExecutions(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setTypeVersion(value); - break; - case 3: - var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); - msg.setTransactionOptions(value); + msg.setNextPageToken(value); break; default: reader.skipField(); @@ -10502,9 +16853,9 @@ proto.ml_metadata.GetArtifactTypeRequest.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionsByTypeResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactTypeRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionsByTypeResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -10512,17 +16863,18 @@ proto.ml_metadata.GetArtifactTypeRequest.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactTypeRequest} message + * @param {!proto.ml_metadata.GetExecutionsByTypeResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactTypeRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionsByTypeResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( + f = message.getExecutionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, - f + f, + ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); @@ -10532,114 +16884,71 @@ proto.ml_metadata.GetArtifactTypeRequest.serializeBinaryToWriter = function(mess f ); } - f = message.getTransactionOptions(); - if (f != null) { - writer.writeMessage( - 3, - f, - ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string type_name = 1; - * @return {string} - */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.getTypeName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this - */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.setTypeName = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this - */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.clearTypeName = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.hasTypeName = function() { - return jspb.Message.getField(this, 1) != null; }; /** - * optional string type_version = 2; - * @return {string} + * repeated Execution executions = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.getTypeVersion = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.ml_metadata.GetExecutionsByTypeResponse.prototype.getExecutionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this - */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.setTypeVersion = function(value) { - return jspb.Message.setField(this, 2, value); + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this +*/ +proto.ml_metadata.GetExecutionsByTypeResponse.prototype.setExecutionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this + * @param {!proto.ml_metadata.Execution=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Execution} */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.clearTypeVersion = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.GetExecutionsByTypeResponse.prototype.addExecutions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.hasTypeVersion = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetExecutionsByTypeResponse.prototype.clearExecutionsList = function() { + return this.setExecutionsList([]); }; /** - * optional TransactionOptions transaction_options = 3; - * @return {?proto.ml_metadata.TransactionOptions} + * optional string next_page_token = 2; + * @return {string} */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.getTransactionOptions = function() { - return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); +proto.ml_metadata.GetExecutionsByTypeResponse.prototype.getNextPageToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this -*/ -proto.ml_metadata.GetArtifactTypeRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 3, value); + * @param {string} value + * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this + */ +proto.ml_metadata.GetExecutionsByTypeResponse.prototype.setNextPageToken = function(value) { + return jspb.Message.setField(this, 2, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactTypeRequest} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.clearTransactionOptions = function() { - return this.setTransactionOptions(undefined); +proto.ml_metadata.GetExecutionsByTypeResponse.prototype.clearNextPageToken = function() { + return jspb.Message.setField(this, 2, undefined); }; @@ -10647,8 +16956,8 @@ proto.ml_metadata.GetArtifactTypeRequest.prototype.clearTransactionOptions = fun * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactTypeRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetExecutionsByTypeResponse.prototype.hasNextPageToken = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -10668,8 +16977,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactTypeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactTypeResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionByTypeAndNameRequest.toObject(opt_includeInstance, this); }; @@ -10678,13 +16987,16 @@ proto.ml_metadata.GetArtifactTypeResponse.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactTypeResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactTypeResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionByTypeAndNameRequest.toObject = function(includeInstance, msg) { var f, obj = { - artifactType: (f = msg.getArtifactType()) && ml_metadata_proto_metadata_store_pb.ArtifactType.toObject(includeInstance, f) + typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + executionName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -10698,23 +17010,23 @@ proto.ml_metadata.GetArtifactTypeResponse.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactTypeResponse} + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} */ -proto.ml_metadata.GetArtifactTypeResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactTypeResponse; - return proto.ml_metadata.GetArtifactTypeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionByTypeAndNameRequest; + return proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactTypeResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactTypeResponse} + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} */ -proto.ml_metadata.GetArtifactTypeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -10722,9 +17034,21 @@ proto.ml_metadata.GetArtifactTypeResponse.deserializeBinaryFromReader = function var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); - msg.setArtifactType(value); + var value = /** @type {string} */ (reader.readString()); + msg.setTypeName(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTypeVersion(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setExecutionName(value); + break; + case 4: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -10739,9 +17063,9 @@ proto.ml_metadata.GetArtifactTypeResponse.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactTypeResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactTypeResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionByTypeAndNameRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -10749,48 +17073,68 @@ proto.ml_metadata.GetArtifactTypeResponse.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactTypeResponse} message + * @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactTypeResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionByTypeAndNameRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactType(); + f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { - writer.writeMessage( + writer.writeString( 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 4, f, - ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * optional ArtifactType artifact_type = 1; - * @return {?proto.ml_metadata.ArtifactType} + * optional string type_name = 1; + * @return {string} */ -proto.ml_metadata.GetArtifactTypeResponse.prototype.getArtifactType = function() { - return /** @type{?proto.ml_metadata.ArtifactType} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getTypeName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {?proto.ml_metadata.ArtifactType|undefined} value - * @return {!proto.ml_metadata.GetArtifactTypeResponse} returns this -*/ -proto.ml_metadata.GetArtifactTypeResponse.prototype.setArtifactType = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * @param {string} value + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this + */ +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setTypeName = function(value) { + return jspb.Message.setField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactTypeResponse} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetArtifactTypeResponse.prototype.clearArtifactType = function() { - return this.setArtifactType(undefined); +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearTypeName = function() { + return jspb.Message.setField(this, 1, undefined); }; @@ -10798,149 +17142,107 @@ proto.ml_metadata.GetArtifactTypeResponse.prototype.clearArtifactType = function * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactTypeResponse.prototype.hasArtifactType = function() { +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasTypeName = function() { return jspb.Message.getField(this, 1) != null; }; +/** + * optional string type_version = 3; + * @return {string} + */ +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getTypeVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; - -if (jspb.Message.GENERATE_TO_OBJECT) { /** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} + * @param {string} value + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetArtifactTypesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactTypesRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setTypeVersion = function(value) { + return jspb.Message.setField(this, 3, value); }; /** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactTypesRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetArtifactTypesRequest.toObject = function(includeInstance, msg) { - var f, obj = { - transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearTypeVersion = function() { + return jspb.Message.setField(this, 3, undefined); }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactTypesRequest} + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetArtifactTypesRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactTypesRequest; - return proto.ml_metadata.GetArtifactTypesRequest.deserializeBinaryFromReader(msg, reader); +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasTypeVersion = function() { + return jspb.Message.getField(this, 3) != null; }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactTypesRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactTypesRequest} + * optional string execution_name = 2; + * @return {string} */ -proto.ml_metadata.GetArtifactTypesRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); - msg.setTransactionOptions(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getExecutionName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * @param {string} value + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetArtifactTypesRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactTypesRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setExecutionName = function(value) { + return jspb.Message.setField(this, 2, value); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactTypesRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetArtifactTypesRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTransactionOptions(); - if (f != null) { - writer.writeMessage( - 1, - f, - ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter - ); - } +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearExecutionName = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasExecutionName = function() { + return jspb.Message.getField(this, 2) != null; }; /** - * optional TransactionOptions transaction_options = 1; + * optional TransactionOptions transaction_options = 4; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetArtifactTypesRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 1)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactTypesRequest} returns this + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetArtifactTypesRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 1, value); +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactTypesRequest} returns this + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetArtifactTypesRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -10949,19 +17251,12 @@ proto.ml_metadata.GetArtifactTypesRequest.prototype.clearTransactionOptions = fu * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactTypesRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 4) != null; }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.GetArtifactTypesResponse.repeatedFields_ = [1]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -10977,8 +17272,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactTypesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactTypesResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionByTypeAndNameResponse.toObject(opt_includeInstance, this); }; @@ -10987,14 +17282,13 @@ proto.ml_metadata.GetArtifactTypesResponse.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactTypesResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactTypesResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionByTypeAndNameResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(), - ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance) + execution: (f = msg.getExecution()) && ml_metadata_proto_metadata_store_pb.Execution.toObject(includeInstance, f) }; if (includeInstance) { @@ -11008,23 +17302,23 @@ proto.ml_metadata.GetArtifactTypesResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactTypesResponse} + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} */ -proto.ml_metadata.GetArtifactTypesResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactTypesResponse; - return proto.ml_metadata.GetArtifactTypesResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionByTypeAndNameResponse; + return proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactTypesResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactTypesResponse} + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} */ -proto.ml_metadata.GetArtifactTypesResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11032,9 +17326,9 @@ proto.ml_metadata.GetArtifactTypesResponse.deserializeBinaryFromReader = functio var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); - msg.addArtifactTypes(value); + var value = new ml_metadata_proto_metadata_store_pb.Execution; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); + msg.setExecution(value); break; default: reader.skipField(); @@ -11049,9 +17343,9 @@ proto.ml_metadata.GetArtifactTypesResponse.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactTypesResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactTypesResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionByTypeAndNameResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11059,62 +17353,68 @@ proto.ml_metadata.GetArtifactTypesResponse.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactTypesResponse} message + * @param {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactTypesResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionByTypeAndNameResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactTypesList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getExecution(); + if (f != null) { + writer.writeMessage( 1, f, - ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter ); } }; /** - * repeated ArtifactType artifact_types = 1; - * @return {!Array} + * optional Execution execution = 1; + * @return {?proto.ml_metadata.Execution} */ -proto.ml_metadata.GetArtifactTypesResponse.prototype.getArtifactTypesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); +proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.getExecution = function() { + return /** @type{?proto.ml_metadata.Execution} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetArtifactTypesResponse} returns this + * @param {?proto.ml_metadata.Execution|undefined} value + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} returns this */ -proto.ml_metadata.GetArtifactTypesResponse.prototype.setArtifactTypesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); +proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.setExecution = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.ArtifactType=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.ArtifactType} + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} returns this */ -proto.ml_metadata.GetArtifactTypesResponse.prototype.addArtifactTypes = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index); +proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.clearExecution = function() { + return this.setExecution(undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetArtifactTypesResponse} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetArtifactTypesResponse.prototype.clearArtifactTypesList = function() { - return this.setArtifactTypesList([]); +proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.hasExecution = function() { + return jspb.Message.getField(this, 1) != null; }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetExecutionsByIDRequest.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -11130,8 +17430,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionTypesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionTypesRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionsByIDRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionsByIDRequest.toObject(opt_includeInstance, this); }; @@ -11140,12 +17440,13 @@ proto.ml_metadata.GetExecutionTypesRequest.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionTypesRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionsByIDRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypesRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionsByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { + executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -11160,23 +17461,23 @@ proto.ml_metadata.GetExecutionTypesRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionTypesRequest} + * @return {!proto.ml_metadata.GetExecutionsByIDRequest} */ -proto.ml_metadata.GetExecutionTypesRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionTypesRequest; - return proto.ml_metadata.GetExecutionTypesRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionsByIDRequest; + return proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionTypesRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionsByIDRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionTypesRequest} + * @return {!proto.ml_metadata.GetExecutionsByIDRequest} */ -proto.ml_metadata.GetExecutionTypesRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11184,6 +17485,12 @@ proto.ml_metadata.GetExecutionTypesRequest.deserializeBinaryFromReader = functio var field = reader.getFieldNumber(); switch (field) { case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addExecutionIds(values[i]); + } + break; + case 2: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -11201,9 +17508,9 @@ proto.ml_metadata.GetExecutionTypesRequest.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionTypesRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionsByIDRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionTypesRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionsByIDRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11211,16 +17518,23 @@ proto.ml_metadata.GetExecutionTypesRequest.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionTypesRequest} message + * @param {!proto.ml_metadata.GetExecutionsByIDRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypesRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionsByIDRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = message.getExecutionIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( + 1, + f + ); + } f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 1, + 2, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -11229,29 +17543,66 @@ proto.ml_metadata.GetExecutionTypesRequest.serializeBinaryToWriter = function(me /** - * optional TransactionOptions transaction_options = 1; + * repeated int64 execution_ids = 1; + * @return {!Array} + */ +proto.ml_metadata.GetExecutionsByIDRequest.prototype.getExecutionIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this + */ +proto.ml_metadata.GetExecutionsByIDRequest.prototype.setExecutionIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this + */ +proto.ml_metadata.GetExecutionsByIDRequest.prototype.addExecutionIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this + */ +proto.ml_metadata.GetExecutionsByIDRequest.prototype.clearExecutionIdsList = function() { + return this.setExecutionIdsList([]); +}; + + +/** + * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetExecutionTypesRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetExecutionsByIDRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 1)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionTypesRequest} returns this + * @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this */ -proto.ml_metadata.GetExecutionTypesRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 1, value); +proto.ml_metadata.GetExecutionsByIDRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionTypesRequest} returns this + * @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this */ -proto.ml_metadata.GetExecutionTypesRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetExecutionsByIDRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -11260,8 +17611,8 @@ proto.ml_metadata.GetExecutionTypesRequest.prototype.clearTransactionOptions = f * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionTypesRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetExecutionsByIDRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -11271,7 +17622,7 @@ proto.ml_metadata.GetExecutionTypesRequest.prototype.hasTransactionOptions = fun * @private {!Array} * @const */ -proto.ml_metadata.GetExecutionTypesResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetExecutionsByIDResponse.repeatedFields_ = [1]; @@ -11288,8 +17639,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionTypesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionTypesResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionsByIDResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionsByIDResponse.toObject(opt_includeInstance, this); }; @@ -11298,14 +17649,14 @@ proto.ml_metadata.GetExecutionTypesResponse.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionTypesResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionsByIDResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypesResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionsByIDResponse.toObject = function(includeInstance, msg) { var f, obj = { - executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(), - ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance) + executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), + ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance) }; if (includeInstance) { @@ -11319,33 +17670,33 @@ proto.ml_metadata.GetExecutionTypesResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionTypesResponse} + * @return {!proto.ml_metadata.GetExecutionsByIDResponse} */ -proto.ml_metadata.GetExecutionTypesResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionTypesResponse; - return proto.ml_metadata.GetExecutionTypesResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionsByIDResponse; + return proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionTypesResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionsByIDResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionTypesResponse} + * @return {!proto.ml_metadata.GetExecutionsByIDResponse} */ -proto.ml_metadata.GetExecutionTypesResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new ml_metadata_proto_metadata_store_pb.ExecutionType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader); - msg.addExecutionTypes(value); + switch (field) { + case 1: + var value = new ml_metadata_proto_metadata_store_pb.Execution; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); + msg.addExecutions(value); break; default: reader.skipField(); @@ -11360,9 +17711,9 @@ proto.ml_metadata.GetExecutionTypesResponse.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionTypesResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionsByIDResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionTypesResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionsByIDResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11370,58 +17721,58 @@ proto.ml_metadata.GetExecutionTypesResponse.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionTypesResponse} message + * @param {!proto.ml_metadata.GetExecutionsByIDResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypesResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionsByIDResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecutionTypesList(); + f = message.getExecutionsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter ); } }; /** - * repeated ExecutionType execution_types = 1; - * @return {!Array} + * repeated Execution executions = 1; + * @return {!Array} */ -proto.ml_metadata.GetExecutionTypesResponse.prototype.getExecutionTypesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1)); +proto.ml_metadata.GetExecutionsByIDResponse.prototype.getExecutionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetExecutionTypesResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionsByIDResponse} returns this */ -proto.ml_metadata.GetExecutionTypesResponse.prototype.setExecutionTypesList = function(value) { +proto.ml_metadata.GetExecutionsByIDResponse.prototype.setExecutionsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.ExecutionType=} opt_value + * @param {!proto.ml_metadata.Execution=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.ExecutionType} + * @return {!proto.ml_metadata.Execution} */ -proto.ml_metadata.GetExecutionTypesResponse.prototype.addExecutionTypes = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ExecutionType, opt_index); +proto.ml_metadata.GetExecutionsByIDResponse.prototype.addExecutions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetExecutionTypesResponse} returns this + * @return {!proto.ml_metadata.GetExecutionsByIDResponse} returns this */ -proto.ml_metadata.GetExecutionTypesResponse.prototype.clearExecutionTypesList = function() { - return this.setExecutionTypesList([]); +proto.ml_metadata.GetExecutionsByIDResponse.prototype.clearExecutionsList = function() { + return this.setExecutionsList([]); }; @@ -11441,8 +17792,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextTypesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextTypesRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionTypeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionTypeRequest.toObject(opt_includeInstance, this); }; @@ -11451,12 +17802,14 @@ proto.ml_metadata.GetContextTypesRequest.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextTypesRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionTypeRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypesRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionTypeRequest.toObject = function(includeInstance, msg) { var f, obj = { + typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -11471,23 +17824,23 @@ proto.ml_metadata.GetContextTypesRequest.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextTypesRequest} + * @return {!proto.ml_metadata.GetExecutionTypeRequest} */ -proto.ml_metadata.GetContextTypesRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionTypeRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextTypesRequest; - return proto.ml_metadata.GetContextTypesRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionTypeRequest; + return proto.ml_metadata.GetExecutionTypeRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextTypesRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionTypeRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextTypesRequest} + * @return {!proto.ml_metadata.GetExecutionTypeRequest} */ -proto.ml_metadata.GetContextTypesRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionTypeRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11495,6 +17848,14 @@ proto.ml_metadata.GetContextTypesRequest.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTypeName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setTypeVersion(value); + break; + case 3: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -11512,9 +17873,9 @@ proto.ml_metadata.GetContextTypesRequest.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextTypesRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionTypeRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextTypesRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionTypeRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11522,16 +17883,30 @@ proto.ml_metadata.GetContextTypesRequest.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextTypesRequest} message + * @param {!proto.ml_metadata.GetExecutionTypeRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypesRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionTypeRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 1, + 3, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -11540,29 +17915,101 @@ proto.ml_metadata.GetContextTypesRequest.serializeBinaryToWriter = function(mess /** - * optional TransactionOptions transaction_options = 1; + * optional string type_name = 1; + * @return {string} + */ +proto.ml_metadata.GetExecutionTypeRequest.prototype.getTypeName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this + */ +proto.ml_metadata.GetExecutionTypeRequest.prototype.setTypeName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this + */ +proto.ml_metadata.GetExecutionTypeRequest.prototype.clearTypeName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetExecutionTypeRequest.prototype.hasTypeName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string type_version = 2; + * @return {string} + */ +proto.ml_metadata.GetExecutionTypeRequest.prototype.getTypeVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this + */ +proto.ml_metadata.GetExecutionTypeRequest.prototype.setTypeVersion = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this + */ +proto.ml_metadata.GetExecutionTypeRequest.prototype.clearTypeVersion = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetExecutionTypeRequest.prototype.hasTypeVersion = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 3; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetContextTypesRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetExecutionTypeRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 1)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetContextTypesRequest} returns this + * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this */ -proto.ml_metadata.GetContextTypesRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 1, value); +proto.ml_metadata.GetExecutionTypeRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextTypesRequest} returns this + * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this */ -proto.ml_metadata.GetContextTypesRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetExecutionTypeRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -11571,19 +18018,12 @@ proto.ml_metadata.GetContextTypesRequest.prototype.clearTransactionOptions = fun * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextTypesRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetExecutionTypeRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 3) != null; }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.GetContextTypesResponse.repeatedFields_ = [1]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -11599,8 +18039,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextTypesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextTypesResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionTypeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionTypeResponse.toObject(opt_includeInstance, this); }; @@ -11609,14 +18049,13 @@ proto.ml_metadata.GetContextTypesResponse.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextTypesResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionTypeResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypesResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionTypeResponse.toObject = function(includeInstance, msg) { var f, obj = { - contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(), - ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance) + executionType: (f = msg.getExecutionType()) && ml_metadata_proto_metadata_store_pb.ExecutionType.toObject(includeInstance, f) }; if (includeInstance) { @@ -11630,23 +18069,23 @@ proto.ml_metadata.GetContextTypesResponse.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextTypesResponse} + * @return {!proto.ml_metadata.GetExecutionTypeResponse} */ -proto.ml_metadata.GetContextTypesResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionTypeResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextTypesResponse; - return proto.ml_metadata.GetContextTypesResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionTypeResponse; + return proto.ml_metadata.GetExecutionTypeResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextTypesResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionTypeResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextTypesResponse} + * @return {!proto.ml_metadata.GetExecutionTypeResponse} */ -proto.ml_metadata.GetContextTypesResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionTypeResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11654,9 +18093,9 @@ proto.ml_metadata.GetContextTypesResponse.deserializeBinaryFromReader = function var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ContextType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); - msg.addContextTypes(value); + var value = new ml_metadata_proto_metadata_store_pb.ExecutionType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader); + msg.setExecutionType(value); break; default: reader.skipField(); @@ -11671,9 +18110,9 @@ proto.ml_metadata.GetContextTypesResponse.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextTypesResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionTypeResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextTypesResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionTypeResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11681,62 +18120,68 @@ proto.ml_metadata.GetContextTypesResponse.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextTypesResponse} message + * @param {!proto.ml_metadata.GetExecutionTypeResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypesResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionTypeResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextTypesList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getExecutionType(); + if (f != null) { + writer.writeMessage( 1, f, - ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter ); } }; /** - * repeated ContextType context_types = 1; - * @return {!Array} - */ -proto.ml_metadata.GetContextTypesResponse.prototype.getContextTypesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1)); + * optional ExecutionType execution_type = 1; + * @return {?proto.ml_metadata.ExecutionType} + */ +proto.ml_metadata.GetExecutionTypeResponse.prototype.getExecutionType = function() { + return /** @type{?proto.ml_metadata.ExecutionType} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetContextTypesResponse} returns this + * @param {?proto.ml_metadata.ExecutionType|undefined} value + * @return {!proto.ml_metadata.GetExecutionTypeResponse} returns this */ -proto.ml_metadata.GetContextTypesResponse.prototype.setContextTypesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); +proto.ml_metadata.GetExecutionTypeResponse.prototype.setExecutionType = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.ContextType=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.ContextType} + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetExecutionTypeResponse} returns this */ -proto.ml_metadata.GetContextTypesResponse.prototype.addContextTypes = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ContextType, opt_index); +proto.ml_metadata.GetExecutionTypeResponse.prototype.clearExecutionType = function() { + return this.setExecutionType(undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetContextTypesResponse} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetContextTypesResponse.prototype.clearContextTypesList = function() { - return this.setContextTypesList([]); +proto.ml_metadata.GetExecutionTypeResponse.prototype.hasExecutionType = function() { + return jspb.Message.getField(this, 1) != null; }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetEventsByExecutionIDsRequest.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -11752,8 +18197,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionsByTypeRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetEventsByExecutionIDsRequest.toObject(opt_includeInstance, this); }; @@ -11762,15 +18207,13 @@ proto.ml_metadata.GetExecutionsByTypeRequest.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionsByTypeRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByTypeRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetEventsByExecutionIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, - options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), + executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -11785,23 +18228,23 @@ proto.ml_metadata.GetExecutionsByTypeRequest.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} + * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} */ -proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionsByTypeRequest; - return proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetEventsByExecutionIDsRequest; + return proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionsByTypeRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} + * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} */ -proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -11809,19 +18252,12 @@ proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinaryFromReader = funct var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeName(value); + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addExecutionIds(values[i]); + } break; case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeVersion(value); - break; - case 3: - var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); - msg.setOptions(value); - break; - case 4: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -11839,9 +18275,9 @@ proto.ml_metadata.GetExecutionsByTypeRequest.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionsByTypeRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetEventsByExecutionIDsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -11849,38 +18285,23 @@ proto.ml_metadata.GetExecutionsByTypeRequest.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionsByTypeRequest} message + * @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByTypeRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetEventsByExecutionIDsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( + f = message.getExecutionIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( 1, f ); } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = message.getOptions(); - if (f != null) { - writer.writeMessage( - 3, - f, - ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter - ); - } f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 4, + 2, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -11889,138 +18310,66 @@ proto.ml_metadata.GetExecutionsByTypeRequest.serializeBinaryToWriter = function( /** - * optional string type_name = 1; - * @return {string} - */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getTypeName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this - */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setTypeName = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this - */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearTypeName = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasTypeName = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional string type_version = 2; - * @return {string} - */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getTypeVersion = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this - */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setTypeVersion = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this - */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearTypeVersion = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} + * repeated int64 execution_ids = 1; + * @return {!Array} */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasTypeVersion = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.getExecutionIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * optional ListOperationOptions options = 3; - * @return {?proto.ml_metadata.ListOperationOptions} + * @param {!Array} value + * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getOptions = function() { - return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 3)); -}; - - -/** - * @param {?proto.ml_metadata.ListOperationOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this -*/ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setOptions = function(value) { - return jspb.Message.setWrapperField(this, 3, value); +proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.setExecutionIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearOptions = function() { - return this.setOptions(undefined); +proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.addExecutionIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasOptions = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.clearExecutionIdsList = function() { + return this.setExecutionIdsList([]); }; /** - * optional TransactionOptions transaction_options = 4; + * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this + * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 4, value); +proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByTypeRequest} returns this + * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -12029,8 +18378,8 @@ proto.ml_metadata.GetExecutionsByTypeRequest.prototype.clearTransactionOptions = * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -12040,7 +18389,7 @@ proto.ml_metadata.GetExecutionsByTypeRequest.prototype.hasTransactionOptions = f * @private {!Array} * @const */ -proto.ml_metadata.GetExecutionsByTypeResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetEventsByExecutionIDsResponse.repeatedFields_ = [1]; @@ -12057,8 +18406,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionsByTypeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionsByTypeResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetEventsByExecutionIDsResponse.toObject(opt_includeInstance, this); }; @@ -12067,15 +18416,14 @@ proto.ml_metadata.GetExecutionsByTypeResponse.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionsByTypeResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetEventsByExecutionIDsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByTypeResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetEventsByExecutionIDsResponse.toObject = function(includeInstance, msg) { var f, obj = { - executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), - ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance), - nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + eventsList: jspb.Message.toObjectList(msg.getEventsList(), + ml_metadata_proto_metadata_store_pb.Event.toObject, includeInstance) }; if (includeInstance) { @@ -12089,23 +18437,23 @@ proto.ml_metadata.GetExecutionsByTypeResponse.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} + * @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse} */ -proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionsByTypeResponse; - return proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetEventsByExecutionIDsResponse; + return proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionsByTypeResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetEventsByExecutionIDsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} + * @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse} */ -proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12113,13 +18461,9 @@ proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Execution; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); - msg.addExecutions(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setNextPageToken(value); + var value = new ml_metadata_proto_metadata_store_pb.Event; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader); + msg.addEvents(value); break; default: reader.skipField(); @@ -12134,9 +18478,9 @@ proto.ml_metadata.GetExecutionsByTypeResponse.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionsByTypeResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionsByTypeResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetEventsByExecutionIDsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -12144,104 +18488,68 @@ proto.ml_metadata.GetExecutionsByTypeResponse.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionsByTypeResponse} message + * @param {!proto.ml_metadata.GetEventsByExecutionIDsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByTypeResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetEventsByExecutionIDsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecutionsList(); + f = message.getEventsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f + ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter ); } }; /** - * repeated Execution executions = 1; - * @return {!Array} + * repeated Event events = 1; + * @return {!Array} */ -proto.ml_metadata.GetExecutionsByTypeResponse.prototype.getExecutionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); +proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.getEventsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse} returns this */ -proto.ml_metadata.GetExecutionsByTypeResponse.prototype.setExecutionsList = function(value) { +proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.setEventsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Execution=} opt_value + * @param {!proto.ml_metadata.Event=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Execution} + * @return {!proto.ml_metadata.Event} */ -proto.ml_metadata.GetExecutionsByTypeResponse.prototype.addExecutions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); +proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.addEvents = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Event, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this - */ -proto.ml_metadata.GetExecutionsByTypeResponse.prototype.clearExecutionsList = function() { - return this.setExecutionsList([]); -}; - - -/** - * optional string next_page_token = 2; - * @return {string} - */ -proto.ml_metadata.GetExecutionsByTypeResponse.prototype.getNextPageToken = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this + * @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse} returns this */ -proto.ml_metadata.GetExecutionsByTypeResponse.prototype.setNextPageToken = function(value) { - return jspb.Message.setField(this, 2, value); +proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.clearEventsList = function() { + return this.setEventsList([]); }; -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByTypeResponse} returns this - */ -proto.ml_metadata.GetExecutionsByTypeResponse.prototype.clearNextPageToken = function() { - return jspb.Message.setField(this, 2, undefined); -}; - /** - * Returns whether this field is set. - * @return {boolean} + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.ml_metadata.GetExecutionsByTypeResponse.prototype.hasNextPageToken = function() { - return jspb.Message.getField(this, 2) != null; -}; - - +proto.ml_metadata.GetEventsByArtifactIDsRequest.repeatedFields_ = [1]; @@ -12258,8 +18566,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionByTypeAndNameRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetEventsByArtifactIDsRequest.toObject(opt_includeInstance, this); }; @@ -12268,15 +18576,13 @@ proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.toObject = function * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetEventsByArtifactIDsRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, - executionName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -12291,23 +18597,23 @@ proto.ml_metadata.GetExecutionByTypeAndNameRequest.toObject = function(includeIn /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} + * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionByTypeAndNameRequest; - return proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetEventsByArtifactIDsRequest; + return proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} + * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12315,18 +18621,12 @@ proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinaryFromReader = var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeName(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeVersion(value); + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addArtifactIds(values[i]); + } break; case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setExecutionName(value); - break; - case 4: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -12344,9 +18644,9 @@ proto.ml_metadata.GetExecutionByTypeAndNameRequest.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionByTypeAndNameRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetEventsByArtifactIDsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -12354,176 +18654,91 @@ proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.serializeBinary = f /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} message + * @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetEventsByArtifactIDsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( - 1, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = message.getTransactionOptions(); - if (f != null) { - writer.writeMessage( - 4, - f, - ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string type_name = 1; - * @return {string} - */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getTypeName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this - */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setTypeName = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this - */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearTypeName = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasTypeName = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional string type_version = 3; - * @return {string} - */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getTypeVersion = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this - */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setTypeVersion = function(value) { - return jspb.Message.setField(this, 3, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this - */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearTypeVersion = function() { - return jspb.Message.setField(this, 3, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasTypeVersion = function() { - return jspb.Message.getField(this, 3) != null; + f = message.getArtifactIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( + 1, + f + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } }; /** - * optional string execution_name = 2; - * @return {string} + * repeated int64 artifact_ids = 1; + * @return {!Array} */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getExecutionName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.getArtifactIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setExecutionName = function(value) { - return jspb.Message.setField(this, 2, value); +proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.setArtifactIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearExecutionName = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.addArtifactIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasExecutionName = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.clearArtifactIdsList = function() { + return this.setArtifactIdsList([]); }; /** - * optional TransactionOptions transaction_options = 4; + * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this + * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 4, value); +proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameRequest} returns this + * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -12532,12 +18747,19 @@ proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.clearTransactionOpt * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionByTypeAndNameRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetEventsByArtifactIDsResponse.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -12553,8 +18775,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionByTypeAndNameResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetEventsByArtifactIDsResponse.toObject(opt_includeInstance, this); }; @@ -12563,13 +18785,14 @@ proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetEventsByArtifactIDsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetEventsByArtifactIDsResponse.toObject = function(includeInstance, msg) { var f, obj = { - execution: (f = msg.getExecution()) && ml_metadata_proto_metadata_store_pb.Execution.toObject(includeInstance, f) + eventsList: jspb.Message.toObjectList(msg.getEventsList(), + ml_metadata_proto_metadata_store_pb.Event.toObject, includeInstance) }; if (includeInstance) { @@ -12583,23 +18806,23 @@ proto.ml_metadata.GetExecutionByTypeAndNameResponse.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} + * @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse} */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionByTypeAndNameResponse; - return proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetEventsByArtifactIDsResponse; + return proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetEventsByArtifactIDsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} + * @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse} */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12607,9 +18830,9 @@ proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinaryFromReader var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Execution; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); - msg.setExecution(value); + var value = new ml_metadata_proto_metadata_store_pb.Event; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader); + msg.addEvents(value); break; default: reader.skipField(); @@ -12624,9 +18847,9 @@ proto.ml_metadata.GetExecutionByTypeAndNameResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionByTypeAndNameResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetEventsByArtifactIDsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -12634,57 +18857,58 @@ proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} message + * @param {!proto.ml_metadata.GetEventsByArtifactIDsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetEventsByArtifactIDsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecution(); - if (f != null) { - writer.writeMessage( + f = message.getEventsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter ); } }; /** - * optional Execution execution = 1; - * @return {?proto.ml_metadata.Execution} + * repeated Event events = 1; + * @return {!Array} */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.getExecution = function() { - return /** @type{?proto.ml_metadata.Execution} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); +proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.getEventsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 1)); }; /** - * @param {?proto.ml_metadata.Execution|undefined} value - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse} returns this */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.setExecution = function(value) { - return jspb.Message.setWrapperField(this, 1, value); +proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.setEventsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionByTypeAndNameResponse} returns this + * @param {!proto.ml_metadata.Event=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Event} */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.clearExecution = function() { - return this.setExecution(undefined); +proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.addEvents = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Event, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse} returns this */ -proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.hasExecution = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.clearEventsList = function() { + return this.setEventsList([]); }; @@ -12694,7 +18918,7 @@ proto.ml_metadata.GetExecutionByTypeAndNameResponse.prototype.hasExecution = fun * @private {!Array} * @const */ -proto.ml_metadata.GetExecutionsByIDRequest.repeatedFields_ = [1]; +proto.ml_metadata.GetArtifactTypesByIDRequest.repeatedFields_ = [1]; @@ -12711,8 +18935,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionsByIDRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionsByIDRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactTypesByIDRequest.toObject(opt_includeInstance, this); }; @@ -12721,13 +18945,13 @@ proto.ml_metadata.GetExecutionsByIDRequest.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionsByIDRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByIDRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactTypesByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { - executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + typeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -12742,23 +18966,23 @@ proto.ml_metadata.GetExecutionsByIDRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionsByIDRequest} + * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} */ -proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionsByIDRequest; - return proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactTypesByIDRequest; + return proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionsByIDRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionsByIDRequest} + * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} */ -proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12768,7 +18992,7 @@ proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinaryFromReader = functio case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { - msg.addExecutionIds(values[i]); + msg.addTypeIds(values[i]); } break; case 2: @@ -12789,9 +19013,9 @@ proto.ml_metadata.GetExecutionsByIDRequest.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionsByIDRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionsByIDRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactTypesByIDRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -12799,13 +19023,13 @@ proto.ml_metadata.GetExecutionsByIDRequest.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionsByIDRequest} message + * @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByIDRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactTypesByIDRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecutionIdsList(); + f = message.getTypeIdsList(); if (f.length > 0) { writer.writeRepeatedInt64( 1, @@ -12824,19 +19048,19 @@ proto.ml_metadata.GetExecutionsByIDRequest.serializeBinaryToWriter = function(me /** - * repeated int64 execution_ids = 1; + * repeated int64 type_ids = 1; * @return {!Array} */ -proto.ml_metadata.GetExecutionsByIDRequest.prototype.getExecutionIdsList = function() { +proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.getTypeIdsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value - * @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this */ -proto.ml_metadata.GetExecutionsByIDRequest.prototype.setExecutionIdsList = function(value) { +proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.setTypeIdsList = function(value) { return jspb.Message.setField(this, 1, value || []); }; @@ -12844,19 +19068,19 @@ proto.ml_metadata.GetExecutionsByIDRequest.prototype.setExecutionIdsList = funct /** * @param {number} value * @param {number=} opt_index - * @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this */ -proto.ml_metadata.GetExecutionsByIDRequest.prototype.addExecutionIds = function(value, opt_index) { +proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.addTypeIds = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this */ -proto.ml_metadata.GetExecutionsByIDRequest.prototype.clearExecutionIdsList = function() { - return this.setExecutionIdsList([]); +proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.clearTypeIdsList = function() { + return this.setTypeIdsList([]); }; @@ -12864,7 +19088,7 @@ proto.ml_metadata.GetExecutionsByIDRequest.prototype.clearExecutionIdsList = fun * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetExecutionsByIDRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; @@ -12872,18 +19096,18 @@ proto.ml_metadata.GetExecutionsByIDRequest.prototype.getTransactionOptions = fun /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this */ -proto.ml_metadata.GetExecutionsByIDRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByIDRequest} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this */ -proto.ml_metadata.GetExecutionsByIDRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -12892,7 +19116,7 @@ proto.ml_metadata.GetExecutionsByIDRequest.prototype.clearTransactionOptions = f * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionsByIDRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; @@ -12903,7 +19127,7 @@ proto.ml_metadata.GetExecutionsByIDRequest.prototype.hasTransactionOptions = fun * @private {!Array} * @const */ -proto.ml_metadata.GetExecutionsByIDResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetArtifactTypesByIDResponse.repeatedFields_ = [1]; @@ -12920,8 +19144,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionsByIDResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionsByIDResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactTypesByIDResponse.toObject(opt_includeInstance, this); }; @@ -12930,14 +19154,14 @@ proto.ml_metadata.GetExecutionsByIDResponse.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionsByIDResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactTypesByIDResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByIDResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactTypesByIDResponse.toObject = function(includeInstance, msg) { var f, obj = { - executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), - ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance) + artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(), + ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance) }; if (includeInstance) { @@ -12951,23 +19175,23 @@ proto.ml_metadata.GetExecutionsByIDResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionsByIDResponse} + * @return {!proto.ml_metadata.GetArtifactTypesByIDResponse} */ -proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionsByIDResponse; - return proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactTypesByIDResponse; + return proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionsByIDResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactTypesByIDResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionsByIDResponse} + * @return {!proto.ml_metadata.GetArtifactTypesByIDResponse} */ -proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -12975,9 +19199,9 @@ proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinaryFromReader = functi var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Execution; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); - msg.addExecutions(value); + var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); + msg.addArtifactTypes(value); break; default: reader.skipField(); @@ -12992,9 +19216,9 @@ proto.ml_metadata.GetExecutionsByIDResponse.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionsByIDResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionsByIDResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactTypesByIDResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13002,62 +19226,69 @@ proto.ml_metadata.GetExecutionsByIDResponse.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionsByIDResponse} message + * @param {!proto.ml_metadata.GetArtifactTypesByIDResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByIDResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactTypesByIDResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecutionsList(); + f = message.getArtifactTypesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter ); } }; /** - * repeated Execution executions = 1; - * @return {!Array} + * repeated ArtifactType artifact_types = 1; + * @return {!Array} */ -proto.ml_metadata.GetExecutionsByIDResponse.prototype.getExecutionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); +proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.getArtifactTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetExecutionsByIDResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactTypesByIDResponse} returns this */ -proto.ml_metadata.GetExecutionsByIDResponse.prototype.setExecutionsList = function(value) { +proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.setArtifactTypesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Execution=} opt_value + * @param {!proto.ml_metadata.ArtifactType=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Execution} + * @return {!proto.ml_metadata.ArtifactType} */ -proto.ml_metadata.GetExecutionsByIDResponse.prototype.addExecutions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); +proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.addArtifactTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetExecutionsByIDResponse} returns this + * @return {!proto.ml_metadata.GetArtifactTypesByIDResponse} returns this */ -proto.ml_metadata.GetExecutionsByIDResponse.prototype.clearExecutionsList = function() { - return this.setExecutionsList([]); +proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.clearArtifactTypesList = function() { + return this.setArtifactTypesList([]); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetExecutionTypesByIDRequest.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -13073,8 +19304,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionTypeRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionTypesByIDRequest.toObject(opt_includeInstance, this); }; @@ -13083,14 +19314,13 @@ proto.ml_metadata.GetExecutionTypeRequest.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionTypeRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypeRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionTypesByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + typeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -13105,23 +19335,23 @@ proto.ml_metadata.GetExecutionTypeRequest.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionTypeRequest} + * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} */ -proto.ml_metadata.GetExecutionTypeRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionTypeRequest; - return proto.ml_metadata.GetExecutionTypeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionTypesByIDRequest; + return proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionTypeRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionTypeRequest} + * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} */ -proto.ml_metadata.GetExecutionTypeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -13129,14 +19359,12 @@ proto.ml_metadata.GetExecutionTypeRequest.deserializeBinaryFromReader = function var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeName(value); + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addTypeIds(values[i]); + } break; case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeVersion(value); - break; - case 3: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -13154,9 +19382,9 @@ proto.ml_metadata.GetExecutionTypeRequest.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionTypeRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionTypesByIDRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13164,30 +19392,23 @@ proto.ml_metadata.GetExecutionTypeRequest.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionTypeRequest} message + * @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypeRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionTypesByIDRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( + f = message.getTypeIdsList(); + if (f.length > 0) { + writer.writeRepeatedInt64( 1, f ); } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 3, + 2, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -13196,101 +19417,66 @@ proto.ml_metadata.GetExecutionTypeRequest.serializeBinaryToWriter = function(mes /** - * optional string type_name = 1; - * @return {string} - */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.getTypeName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this - */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.setTypeName = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this - */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.clearTypeName = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.hasTypeName = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional string type_version = 2; - * @return {string} + * repeated int64 type_ids = 1; + * @return {!Array} */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.getTypeVersion = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.getTypeIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.setTypeVersion = function(value) { - return jspb.Message.setField(this, 2, value); +proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.setTypeIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.clearTypeVersion = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.addTypeIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.hasTypeVersion = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.clearTypeIdsList = function() { + return this.setTypeIdsList([]); }; /** - * optional TransactionOptions transaction_options = 3; + * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this + * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 3, value); +proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionTypeRequest} returns this + * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -13299,12 +19485,19 @@ proto.ml_metadata.GetExecutionTypeRequest.prototype.clearTransactionOptions = fu * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionTypeRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetExecutionTypesByIDResponse.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -13320,8 +19513,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionTypeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionTypeResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionTypesByIDResponse.toObject(opt_includeInstance, this); }; @@ -13330,13 +19523,14 @@ proto.ml_metadata.GetExecutionTypeResponse.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionTypeResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionTypesByIDResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypeResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionTypesByIDResponse.toObject = function(includeInstance, msg) { var f, obj = { - executionType: (f = msg.getExecutionType()) && ml_metadata_proto_metadata_store_pb.ExecutionType.toObject(includeInstance, f) + executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(), + ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance) }; if (includeInstance) { @@ -13350,23 +19544,23 @@ proto.ml_metadata.GetExecutionTypeResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionTypeResponse} + * @return {!proto.ml_metadata.GetExecutionTypesByIDResponse} */ -proto.ml_metadata.GetExecutionTypeResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionTypeResponse; - return proto.ml_metadata.GetExecutionTypeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionTypesByIDResponse; + return proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionTypeResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionTypesByIDResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionTypeResponse} + * @return {!proto.ml_metadata.GetExecutionTypesByIDResponse} */ -proto.ml_metadata.GetExecutionTypeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -13376,7 +19570,7 @@ proto.ml_metadata.GetExecutionTypeResponse.deserializeBinaryFromReader = functio case 1: var value = new ml_metadata_proto_metadata_store_pb.ExecutionType; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader); - msg.setExecutionType(value); + msg.addExecutionTypes(value); break; default: reader.skipField(); @@ -13391,9 +19585,9 @@ proto.ml_metadata.GetExecutionTypeResponse.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionTypeResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionTypeResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionTypesByIDResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13401,15 +19595,15 @@ proto.ml_metadata.GetExecutionTypeResponse.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionTypeResponse} message + * @param {!proto.ml_metadata.GetExecutionTypesByIDResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypeResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionTypesByIDResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecutionType(); - if (f != null) { - writer.writeMessage( + f = message.getExecutionTypesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, f, ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter @@ -13419,50 +19613,44 @@ proto.ml_metadata.GetExecutionTypeResponse.serializeBinaryToWriter = function(me /** - * optional ExecutionType execution_type = 1; - * @return {?proto.ml_metadata.ExecutionType} + * repeated ExecutionType execution_types = 1; + * @return {!Array} */ -proto.ml_metadata.GetExecutionTypeResponse.prototype.getExecutionType = function() { - return /** @type{?proto.ml_metadata.ExecutionType} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1)); +proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.getExecutionTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1)); }; /** - * @param {?proto.ml_metadata.ExecutionType|undefined} value - * @return {!proto.ml_metadata.GetExecutionTypeResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionTypesByIDResponse} returns this */ -proto.ml_metadata.GetExecutionTypeResponse.prototype.setExecutionType = function(value) { - return jspb.Message.setWrapperField(this, 1, value); +proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.setExecutionTypesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionTypeResponse} returns this + * @param {!proto.ml_metadata.ExecutionType=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.ExecutionType} */ -proto.ml_metadata.GetExecutionTypeResponse.prototype.clearExecutionType = function() { - return this.setExecutionType(undefined); +proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.addExecutionTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ExecutionType, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetExecutionTypesByIDResponse} returns this */ -proto.ml_metadata.GetExecutionTypeResponse.prototype.hasExecutionType = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.clearExecutionTypesList = function() { + return this.setExecutionTypesList([]); }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.repeatedFields_ = [1]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -13478,8 +19666,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetEventsByExecutionIDsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextTypeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextTypeRequest.toObject(opt_includeInstance, this); }; @@ -13488,13 +19676,14 @@ proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextTypeRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextTypeRequest.toObject = function(includeInstance, msg) { var f, obj = { - executionIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -13509,23 +19698,23 @@ proto.ml_metadata.GetEventsByExecutionIDsRequest.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} + * @return {!proto.ml_metadata.GetContextTypeRequest} */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextTypeRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetEventsByExecutionIDsRequest; - return proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextTypeRequest; + return proto.ml_metadata.GetContextTypeRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextTypeRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} + * @return {!proto.ml_metadata.GetContextTypeRequest} */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextTypeRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -13533,12 +19722,14 @@ proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinaryFromReader = f var field = reader.getFieldNumber(); switch (field) { case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addExecutionIds(values[i]); - } + var value = /** @type {string} */ (reader.readString()); + msg.setTypeName(value); break; case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setTypeVersion(value); + break; + case 3: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -13556,9 +19747,9 @@ proto.ml_metadata.GetEventsByExecutionIDsRequest.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextTypeRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetEventsByExecutionIDsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextTypeRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13566,23 +19757,30 @@ proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetEventsByExecutionIDsRequest} message + * @param {!proto.ml_metadata.GetContextTypeRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextTypeRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecutionIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( 1, f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 2, + 3, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -13591,66 +19789,101 @@ proto.ml_metadata.GetEventsByExecutionIDsRequest.serializeBinaryToWriter = funct /** - * repeated int64 execution_ids = 1; - * @return {!Array} + * optional string type_name = 1; + * @return {string} */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.getExecutionIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +proto.ml_metadata.GetContextTypeRequest.prototype.getTypeName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this + * @param {string} value + * @return {!proto.ml_metadata.GetContextTypeRequest} returns this */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.setExecutionIdsList = function(value) { - return jspb.Message.setField(this, 1, value || []); +proto.ml_metadata.GetContextTypeRequest.prototype.setTypeName = function(value) { + return jspb.Message.setField(this, 1, value); }; /** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetContextTypeRequest} returns this */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.addExecutionIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +proto.ml_metadata.GetContextTypeRequest.prototype.clearTypeName = function() { + return jspb.Message.setField(this, 1, undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.clearExecutionIdsList = function() { - return this.setExecutionIdsList([]); +proto.ml_metadata.GetContextTypeRequest.prototype.hasTypeName = function() { + return jspb.Message.getField(this, 1) != null; }; /** - * optional TransactionOptions transaction_options = 2; + * optional string type_version = 2; + * @return {string} + */ +proto.ml_metadata.GetContextTypeRequest.prototype.getTypeVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.GetContextTypeRequest} returns this + */ +proto.ml_metadata.GetContextTypeRequest.prototype.setTypeVersion = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetContextTypeRequest} returns this + */ +proto.ml_metadata.GetContextTypeRequest.prototype.clearTypeVersion = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetContextTypeRequest.prototype.hasTypeVersion = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 3; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetContextTypeRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this + * @return {!proto.ml_metadata.GetContextTypeRequest} returns this */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 2, value); +proto.ml_metadata.GetContextTypeRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetEventsByExecutionIDsRequest} returns this + * @return {!proto.ml_metadata.GetContextTypeRequest} returns this */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetContextTypeRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -13659,19 +19892,12 @@ proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.clearTransactionOptio * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetEventsByExecutionIDsRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetContextTypeRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 3) != null; }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.repeatedFields_ = [1]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -13687,8 +19913,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetEventsByExecutionIDsResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextTypeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextTypeResponse.toObject(opt_includeInstance, this); }; @@ -13697,14 +19923,13 @@ proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetEventsByExecutionIDsResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextTypeResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextTypeResponse.toObject = function(includeInstance, msg) { var f, obj = { - eventsList: jspb.Message.toObjectList(msg.getEventsList(), - ml_metadata_proto_metadata_store_pb.Event.toObject, includeInstance) + contextType: (f = msg.getContextType()) && ml_metadata_proto_metadata_store_pb.ContextType.toObject(includeInstance, f) }; if (includeInstance) { @@ -13718,23 +19943,23 @@ proto.ml_metadata.GetEventsByExecutionIDsResponse.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse} + * @return {!proto.ml_metadata.GetContextTypeResponse} */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextTypeResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetEventsByExecutionIDsResponse; - return proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextTypeResponse; + return proto.ml_metadata.GetContextTypeResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetEventsByExecutionIDsResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextTypeResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse} + * @return {!proto.ml_metadata.GetContextTypeResponse} */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextTypeResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -13742,9 +19967,9 @@ proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinaryFromReader = var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Event; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader); - msg.addEvents(value); + var value = new ml_metadata_proto_metadata_store_pb.ContextType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); + msg.setContextType(value); break; default: reader.skipField(); @@ -13759,9 +19984,9 @@ proto.ml_metadata.GetEventsByExecutionIDsResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextTypeResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetEventsByExecutionIDsResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextTypeResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13769,58 +19994,57 @@ proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetEventsByExecutionIDsResponse} message + * @param {!proto.ml_metadata.GetContextTypeResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextTypeResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getEventsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( + f = message.getContextType(); + if (f != null) { + writer.writeMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter ); } }; /** - * repeated Event events = 1; - * @return {!Array} + * optional ContextType context_type = 1; + * @return {?proto.ml_metadata.ContextType} */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.getEventsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 1)); +proto.ml_metadata.GetContextTypeResponse.prototype.getContextType = function() { + return /** @type{?proto.ml_metadata.ContextType} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse} returns this + * @param {?proto.ml_metadata.ContextType|undefined} value + * @return {!proto.ml_metadata.GetContextTypeResponse} returns this */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.setEventsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); +proto.ml_metadata.GetContextTypeResponse.prototype.setContextType = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Event=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.Event} + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetContextTypeResponse} returns this */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.addEvents = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Event, opt_index); +proto.ml_metadata.GetContextTypeResponse.prototype.clearContextType = function() { + return this.setContextType(undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetEventsByExecutionIDsResponse} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.clearEventsList = function() { - return this.setEventsList([]); +proto.ml_metadata.GetContextTypeResponse.prototype.hasContextType = function() { + return jspb.Message.getField(this, 1) != null; }; @@ -13830,7 +20054,7 @@ proto.ml_metadata.GetEventsByExecutionIDsResponse.prototype.clearEventsList = fu * @private {!Array} * @const */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.repeatedFields_ = [1]; +proto.ml_metadata.GetContextTypesByIDRequest.repeatedFields_ = [1]; @@ -13847,8 +20071,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetEventsByArtifactIDsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextTypesByIDRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextTypesByIDRequest.toObject(opt_includeInstance, this); }; @@ -13857,13 +20081,13 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextTypesByIDRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextTypesByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { - artifactIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + typeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -13878,23 +20102,23 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} + * @return {!proto.ml_metadata.GetContextTypesByIDRequest} */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetEventsByArtifactIDsRequest; - return proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextTypesByIDRequest; + return proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextTypesByIDRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} + * @return {!proto.ml_metadata.GetContextTypesByIDRequest} */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -13904,7 +20128,7 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinaryFromReader = fu case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { - msg.addArtifactIds(values[i]); + msg.addTypeIds(values[i]); } break; case 2: @@ -13925,9 +20149,9 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextTypesByIDRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetEventsByArtifactIDsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextTypesByIDRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -13935,13 +20159,13 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetEventsByArtifactIDsRequest} message + * @param {!proto.ml_metadata.GetContextTypesByIDRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextTypesByIDRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactIdsList(); + f = message.getTypeIdsList(); if (f.length > 0) { writer.writeRepeatedInt64( 1, @@ -13960,19 +20184,19 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.serializeBinaryToWriter = functi /** - * repeated int64 artifact_ids = 1; + * repeated int64 type_ids = 1; * @return {!Array} */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.getArtifactIdsList = function() { +proto.ml_metadata.GetContextTypesByIDRequest.prototype.getTypeIdsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value - * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this + * @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.setArtifactIdsList = function(value) { +proto.ml_metadata.GetContextTypesByIDRequest.prototype.setTypeIdsList = function(value) { return jspb.Message.setField(this, 1, value || []); }; @@ -13980,19 +20204,19 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.setArtifactIdsList = f /** * @param {number} value * @param {number=} opt_index - * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this + * @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.addArtifactIds = function(value, opt_index) { +proto.ml_metadata.GetContextTypesByIDRequest.prototype.addTypeIds = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this + * @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.clearArtifactIdsList = function() { - return this.setArtifactIdsList([]); +proto.ml_metadata.GetContextTypesByIDRequest.prototype.clearTypeIdsList = function() { + return this.setTypeIdsList([]); }; @@ -14000,7 +20224,7 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.clearArtifactIdsList = * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetContextTypesByIDRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; @@ -14008,18 +20232,18 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.getTransactionOptions /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this + * @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetContextTypesByIDRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetEventsByArtifactIDsRequest} returns this + * @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetContextTypesByIDRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -14028,7 +20252,7 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.clearTransactionOption * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetContextTypesByIDRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; @@ -14039,7 +20263,7 @@ proto.ml_metadata.GetEventsByArtifactIDsRequest.prototype.hasTransactionOptions * @private {!Array} * @const */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetContextTypesByIDResponse.repeatedFields_ = [1]; @@ -14056,8 +20280,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetEventsByArtifactIDsResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextTypesByIDResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextTypesByIDResponse.toObject(opt_includeInstance, this); }; @@ -14066,14 +20290,14 @@ proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetEventsByArtifactIDsResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextTypesByIDResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextTypesByIDResponse.toObject = function(includeInstance, msg) { var f, obj = { - eventsList: jspb.Message.toObjectList(msg.getEventsList(), - ml_metadata_proto_metadata_store_pb.Event.toObject, includeInstance) + contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(), + ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance) }; if (includeInstance) { @@ -14087,23 +20311,23 @@ proto.ml_metadata.GetEventsByArtifactIDsResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse} + * @return {!proto.ml_metadata.GetContextTypesByIDResponse} */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetEventsByArtifactIDsResponse; - return proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextTypesByIDResponse; + return proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetEventsByArtifactIDsResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextTypesByIDResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse} + * @return {!proto.ml_metadata.GetContextTypesByIDResponse} */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -14111,9 +20335,9 @@ proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinaryFromReader = f var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Event; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Event.deserializeBinaryFromReader); - msg.addEvents(value); + var value = new ml_metadata_proto_metadata_store_pb.ContextType; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); + msg.addContextTypes(value); break; default: reader.skipField(); @@ -14128,9 +20352,9 @@ proto.ml_metadata.GetEventsByArtifactIDsResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextTypesByIDResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetEventsByArtifactIDsResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextTypesByIDResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -14138,69 +20362,62 @@ proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetEventsByArtifactIDsResponse} message + * @param {!proto.ml_metadata.GetContextTypesByIDResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextTypesByIDResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getEventsList(); + f = message.getContextTypesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Event.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter ); } }; /** - * repeated Event events = 1; - * @return {!Array} + * repeated ContextType context_types = 1; + * @return {!Array} */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.getEventsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Event, 1)); +proto.ml_metadata.GetContextTypesByIDResponse.prototype.getContextTypesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetContextTypesByIDResponse} returns this */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.setEventsList = function(value) { +proto.ml_metadata.GetContextTypesByIDResponse.prototype.setContextTypesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Event=} opt_value + * @param {!proto.ml_metadata.ContextType=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Event} + * @return {!proto.ml_metadata.ContextType} */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.addEvents = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Event, opt_index); +proto.ml_metadata.GetContextTypesByIDResponse.prototype.addContextTypes = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ContextType, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetEventsByArtifactIDsResponse} returns this + * @return {!proto.ml_metadata.GetContextTypesByIDResponse} returns this */ -proto.ml_metadata.GetEventsByArtifactIDsResponse.prototype.clearEventsList = function() { - return this.setEventsList([]); +proto.ml_metadata.GetContextTypesByIDResponse.prototype.clearContextTypesList = function() { + return this.setContextTypesList([]); }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.GetArtifactTypesByIDRequest.repeatedFields_ = [1]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -14216,8 +20433,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactTypesByIDRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsRequest.toObject(opt_includeInstance, this); }; @@ -14226,13 +20443,13 @@ proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactTypesByIDRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -14247,23 +20464,23 @@ proto.ml_metadata.GetArtifactTypesByIDRequest.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} + * @return {!proto.ml_metadata.GetContextsRequest} */ -proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactTypesByIDRequest; - return proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsRequest; + return proto.ml_metadata.GetContextsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} + * @return {!proto.ml_metadata.GetContextsRequest} */ -proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -14271,10 +20488,9 @@ proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addTypeIds(values[i]); - } + var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); + msg.setOptions(value); break; case 2: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; @@ -14294,9 +20510,9 @@ proto.ml_metadata.GetArtifactTypesByIDRequest.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactTypesByIDRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -14304,17 +20520,18 @@ proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactTypesByIDRequest} message + * @param {!proto.ml_metadata.GetContextsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactTypesByIDRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTypeIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( + f = message.getOptions(); + if (f != null) { + writer.writeMessage( 1, - f + f, + ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter ); } f = message.getTransactionOptions(); @@ -14329,39 +20546,39 @@ proto.ml_metadata.GetArtifactTypesByIDRequest.serializeBinaryToWriter = function /** - * repeated int64 type_ids = 1; - * @return {!Array} + * optional ListOperationOptions options = 1; + * @return {?proto.ml_metadata.ListOperationOptions} */ -proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.getTypeIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +proto.ml_metadata.GetContextsRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this - */ -proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.setTypeIdsList = function(value) { - return jspb.Message.setField(this, 1, value || []); + * @param {?proto.ml_metadata.ListOperationOptions|undefined} value + * @return {!proto.ml_metadata.GetContextsRequest} returns this +*/ +proto.ml_metadata.GetContextsRequest.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetContextsRequest} returns this */ -proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.addTypeIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +proto.ml_metadata.GetContextsRequest.prototype.clearOptions = function() { + return this.setOptions(undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.clearTypeIdsList = function() { - return this.setTypeIdsList([]); +proto.ml_metadata.GetContextsRequest.prototype.hasOptions = function() { + return jspb.Message.getField(this, 1) != null; }; @@ -14369,7 +20586,7 @@ proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.clearTypeIdsList = funct * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetContextsRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; @@ -14377,18 +20594,18 @@ proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.getTransactionOptions = /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this + * @return {!proto.ml_metadata.GetContextsRequest} returns this */ -proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetContextsRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactTypesByIDRequest} returns this + * @return {!proto.ml_metadata.GetContextsRequest} returns this */ -proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetContextsRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -14397,7 +20614,7 @@ proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.clearTransactionOptions * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetContextsRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; @@ -14408,7 +20625,7 @@ proto.ml_metadata.GetArtifactTypesByIDRequest.prototype.hasTransactionOptions = * @private {!Array} * @const */ -proto.ml_metadata.GetArtifactTypesByIDResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetContextsResponse.repeatedFields_ = [1]; @@ -14425,8 +20642,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactTypesByIDResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsResponse.toObject(opt_includeInstance, this); }; @@ -14435,14 +20652,15 @@ proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactTypesByIDResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactTypesByIDResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifactTypesList: jspb.Message.toObjectList(msg.getArtifactTypesList(), - ml_metadata_proto_metadata_store_pb.ArtifactType.toObject, includeInstance) + contextsList: jspb.Message.toObjectList(msg.getContextsList(), + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance), + nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -14456,23 +20674,23 @@ proto.ml_metadata.GetArtifactTypesByIDResponse.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactTypesByIDResponse} + * @return {!proto.ml_metadata.GetContextsResponse} */ -proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactTypesByIDResponse; - return proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsResponse; + return proto.ml_metadata.GetContextsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactTypesByIDResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactTypesByIDResponse} + * @return {!proto.ml_metadata.GetContextsResponse} */ -proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -14480,9 +20698,13 @@ proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinaryFromReader = fun var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ArtifactType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ArtifactType.deserializeBinaryFromReader); - msg.addArtifactTypes(value); + var value = new ml_metadata_proto_metadata_store_pb.Context; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); + msg.addContexts(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setNextPageToken(value); break; default: reader.skipField(); @@ -14497,9 +20719,9 @@ proto.ml_metadata.GetArtifactTypesByIDResponse.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactTypesByIDResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -14507,68 +20729,104 @@ proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactTypesByIDResponse} message + * @param {!proto.ml_metadata.GetContextsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactTypesByIDResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactTypesList(); + f = message.getContextsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.ArtifactType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f ); } }; /** - * repeated ArtifactType artifact_types = 1; - * @return {!Array} + * repeated Context contexts = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.getArtifactTypesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ArtifactType, 1)); +proto.ml_metadata.GetContextsResponse.prototype.getContextsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetArtifactTypesByIDResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetContextsResponse} returns this */ -proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.setArtifactTypesList = function(value) { +proto.ml_metadata.GetContextsResponse.prototype.setContextsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.ArtifactType=} opt_value + * @param {!proto.ml_metadata.Context=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.ArtifactType} + * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.addArtifactTypes = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ArtifactType, opt_index); +proto.ml_metadata.GetContextsResponse.prototype.addContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetArtifactTypesByIDResponse} returns this + * @return {!proto.ml_metadata.GetContextsResponse} returns this */ -proto.ml_metadata.GetArtifactTypesByIDResponse.prototype.clearArtifactTypesList = function() { - return this.setArtifactTypesList([]); +proto.ml_metadata.GetContextsResponse.prototype.clearContextsList = function() { + return this.setContextsList([]); +}; + + +/** + * optional string next_page_token = 2; + * @return {string} + */ +proto.ml_metadata.GetContextsResponse.prototype.getNextPageToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; +/** + * @param {string} value + * @return {!proto.ml_metadata.GetContextsResponse} returns this + */ +proto.ml_metadata.GetContextsResponse.prototype.setNextPageToken = function(value) { + return jspb.Message.setField(this, 2, value); +}; + /** - * List of repeated fields within this message type. - * @private {!Array} - * @const + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetContextsResponse} returns this */ -proto.ml_metadata.GetExecutionTypesByIDRequest.repeatedFields_ = [1]; +proto.ml_metadata.GetContextsResponse.prototype.clearNextPageToken = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetContextsResponse.prototype.hasNextPageToken = function() { + return jspb.Message.getField(this, 2) != null; +}; + + @@ -14585,8 +20843,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionTypesByIDRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsByTypeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsByTypeRequest.toObject(opt_includeInstance, this); }; @@ -14595,13 +20853,15 @@ proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsByTypeRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypesByIDRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsByTypeRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), + typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -14616,23 +20876,23 @@ proto.ml_metadata.GetExecutionTypesByIDRequest.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} + * @return {!proto.ml_metadata.GetContextsByTypeRequest} */ -proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsByTypeRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionTypesByIDRequest; - return proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsByTypeRequest; + return proto.ml_metadata.GetContextsByTypeRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsByTypeRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} + * @return {!proto.ml_metadata.GetContextsByTypeRequest} */ -proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsByTypeRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -14640,12 +20900,19 @@ proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinaryFromReader = fun var field = reader.getFieldNumber(); switch (field) { case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addTypeIds(values[i]); - } + var value = /** @type {string} */ (reader.readString()); + msg.setTypeName(value); break; case 2: + var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setTypeVersion(value); + break; + case 4: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -14660,104 +20927,191 @@ proto.ml_metadata.GetExecutionTypesByIDRequest.deserializeBinaryFromReader = fun /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ml_metadata.GetContextsByTypeRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ml_metadata.GetContextsByTypeRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ml_metadata.GetContextsByTypeRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ml_metadata.GetContextsByTypeRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = message.getOptions(); + if (f != null) { + writer.writeMessage( + 2, + f, + ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 4, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string type_name = 1; + * @return {string} + */ +proto.ml_metadata.GetContextsByTypeRequest.prototype.getTypeName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this + */ +proto.ml_metadata.GetContextsByTypeRequest.prototype.setTypeName = function(value) { + return jspb.Message.setField(this, 1, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this + */ +proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTypeName = function() { + return jspb.Message.setField(this, 1, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetContextsByTypeRequest.prototype.hasTypeName = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ListOperationOptions options = 2; + * @return {?proto.ml_metadata.ListOperationOptions} */ -proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionTypesByIDRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.ml_metadata.GetContextsByTypeRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 2)); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionTypesByIDRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * @param {?proto.ml_metadata.ListOperationOptions|undefined} value + * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this +*/ +proto.ml_metadata.GetContextsByTypeRequest.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionTypesByIDRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTypeIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( - 1, - f - ); - } - f = message.getTransactionOptions(); - if (f != null) { - writer.writeMessage( - 2, - f, - ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter - ); - } +proto.ml_metadata.GetContextsByTypeRequest.prototype.clearOptions = function() { + return this.setOptions(undefined); }; /** - * repeated int64 type_ids = 1; - * @return {!Array} + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.getTypeIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +proto.ml_metadata.GetContextsByTypeRequest.prototype.hasOptions = function() { + return jspb.Message.getField(this, 2) != null; }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this + * optional string type_version = 3; + * @return {string} */ -proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.setTypeIdsList = function(value) { - return jspb.Message.setField(this, 1, value || []); +proto.ml_metadata.GetContextsByTypeRequest.prototype.getTypeVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this + * @param {string} value + * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.addTypeIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +proto.ml_metadata.GetContextsByTypeRequest.prototype.setTypeVersion = function(value) { + return jspb.Message.setField(this, 3, value); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.clearTypeIdsList = function() { - return this.setTypeIdsList([]); +proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTypeVersion = function() { + return jspb.Message.setField(this, 3, undefined); }; /** - * optional TransactionOptions transaction_options = 2; + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetContextsByTypeRequest.prototype.hasTypeVersion = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 4; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetContextsByTypeRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this + * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 2, value); +proto.ml_metadata.GetContextsByTypeRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionTypesByIDRequest} returns this + * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this */ -proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -14766,8 +21120,8 @@ proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.clearTransactionOptions * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetContextsByTypeRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 4) != null; }; @@ -14777,7 +21131,7 @@ proto.ml_metadata.GetExecutionTypesByIDRequest.prototype.hasTransactionOptions = * @private {!Array} * @const */ -proto.ml_metadata.GetExecutionTypesByIDResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetContextsByTypeResponse.repeatedFields_ = [1]; @@ -14794,8 +21148,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionTypesByIDResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsByTypeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsByTypeResponse.toObject(opt_includeInstance, this); }; @@ -14804,14 +21158,15 @@ proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionTypesByIDResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsByTypeResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypesByIDResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsByTypeResponse.toObject = function(includeInstance, msg) { var f, obj = { - executionTypesList: jspb.Message.toObjectList(msg.getExecutionTypesList(), - ml_metadata_proto_metadata_store_pb.ExecutionType.toObject, includeInstance) + contextsList: jspb.Message.toObjectList(msg.getContextsList(), + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance), + nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -14825,23 +21180,23 @@ proto.ml_metadata.GetExecutionTypesByIDResponse.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionTypesByIDResponse} + * @return {!proto.ml_metadata.GetContextsByTypeResponse} */ -proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsByTypeResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionTypesByIDResponse; - return proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsByTypeResponse; + return proto.ml_metadata.GetContextsByTypeResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionTypesByIDResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsByTypeResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionTypesByIDResponse} + * @return {!proto.ml_metadata.GetContextsByTypeResponse} */ -proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsByTypeResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -14849,9 +21204,13 @@ proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ExecutionType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ExecutionType.deserializeBinaryFromReader); - msg.addExecutionTypes(value); + var value = new ml_metadata_proto_metadata_store_pb.Context; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); + msg.addContexts(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setNextPageToken(value); break; default: reader.skipField(); @@ -14866,9 +21225,9 @@ proto.ml_metadata.GetExecutionTypesByIDResponse.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextsByTypeResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionTypesByIDResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextsByTypeResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -14876,58 +21235,101 @@ proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionTypesByIDResponse} message + * @param {!proto.ml_metadata.GetContextsByTypeResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionTypesByIDResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextsByTypeResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecutionTypesList(); + f = message.getContextsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.ExecutionType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f ); } }; /** - * repeated ExecutionType execution_types = 1; - * @return {!Array} + * repeated Context contexts = 1; + * @return {!Array} */ -proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.getExecutionTypesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ExecutionType, 1)); +proto.ml_metadata.GetContextsByTypeResponse.prototype.getContextsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetExecutionTypesByIDResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this */ -proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.setExecutionTypesList = function(value) { +proto.ml_metadata.GetContextsByTypeResponse.prototype.setContextsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.ExecutionType=} opt_value + * @param {!proto.ml_metadata.Context=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.ExecutionType} + * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.addExecutionTypes = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ExecutionType, opt_index); +proto.ml_metadata.GetContextsByTypeResponse.prototype.addContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetExecutionTypesByIDResponse} returns this + * @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this */ -proto.ml_metadata.GetExecutionTypesByIDResponse.prototype.clearExecutionTypesList = function() { - return this.setExecutionTypesList([]); +proto.ml_metadata.GetContextsByTypeResponse.prototype.clearContextsList = function() { + return this.setContextsList([]); +}; + + +/** + * optional string next_page_token = 2; + * @return {string} + */ +proto.ml_metadata.GetContextsByTypeResponse.prototype.getNextPageToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this + */ +proto.ml_metadata.GetContextsByTypeResponse.prototype.setNextPageToken = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this + */ +proto.ml_metadata.GetContextsByTypeResponse.prototype.clearNextPageToken = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetContextsByTypeResponse.prototype.hasNextPageToken = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -14947,8 +21349,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextTypeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextTypeRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextByTypeAndNameRequest.toObject(opt_includeInstance, this); }; @@ -14957,14 +21359,15 @@ proto.ml_metadata.GetContextTypeRequest.prototype.toObject = function(opt_includ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextTypeRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypeRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextByTypeAndNameRequest.toObject = function(includeInstance, msg) { var f, obj = { typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - typeVersion: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + contextName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -14979,23 +21382,23 @@ proto.ml_metadata.GetContextTypeRequest.toObject = function(includeInstance, msg /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextTypeRequest} + * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} */ -proto.ml_metadata.GetContextTypeRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextTypeRequest; - return proto.ml_metadata.GetContextTypeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextByTypeAndNameRequest; + return proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextTypeRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextTypeRequest} + * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} */ -proto.ml_metadata.GetContextTypeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15006,11 +21409,15 @@ proto.ml_metadata.GetContextTypeRequest.deserializeBinaryFromReader = function(m var value = /** @type {string} */ (reader.readString()); msg.setTypeName(value); break; - case 2: + case 3: var value = /** @type {string} */ (reader.readString()); msg.setTypeVersion(value); break; - case 3: + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setContextName(value); + break; + case 4: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -15028,9 +21435,9 @@ proto.ml_metadata.GetContextTypeRequest.deserializeBinaryFromReader = function(m * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextTypeRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextTypeRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextByTypeAndNameRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -15038,11 +21445,11 @@ proto.ml_metadata.GetContextTypeRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextTypeRequest} message + * @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypeRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextByTypeAndNameRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { @@ -15051,6 +21458,13 @@ proto.ml_metadata.GetContextTypeRequest.serializeBinaryToWriter = function(messa f ); } + f = /** @type {string} */ (jspb.Message.getField(message, 3)); + if (f != null) { + writer.writeString( + 3, + f + ); + } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( @@ -15061,7 +21475,7 @@ proto.ml_metadata.GetContextTypeRequest.serializeBinaryToWriter = function(messa f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 3, + 4, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -15073,25 +21487,25 @@ proto.ml_metadata.GetContextTypeRequest.serializeBinaryToWriter = function(messa * optional string type_name = 1; * @return {string} */ -proto.ml_metadata.GetContextTypeRequest.prototype.getTypeName = function() { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getTypeName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.ml_metadata.GetContextTypeRequest} returns this + * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetContextTypeRequest.prototype.setTypeName = function(value) { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setTypeName = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextTypeRequest} returns this + * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetContextTypeRequest.prototype.clearTypeName = function() { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTypeName = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -15100,34 +21514,70 @@ proto.ml_metadata.GetContextTypeRequest.prototype.clearTypeName = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextTypeRequest.prototype.hasTypeName = function() { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasTypeName = function() { return jspb.Message.getField(this, 1) != null; }; /** - * optional string type_version = 2; + * optional string type_version = 3; * @return {string} */ -proto.ml_metadata.GetContextTypeRequest.prototype.getTypeVersion = function() { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getTypeVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this + */ +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setTypeVersion = function(value) { + return jspb.Message.setField(this, 3, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this + */ +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTypeVersion = function() { + return jspb.Message.setField(this, 3, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasTypeVersion = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string context_name = 2; + * @return {string} + */ +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getContextName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.ml_metadata.GetContextTypeRequest} returns this + * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetContextTypeRequest.prototype.setTypeVersion = function(value) { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setContextName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextTypeRequest} returns this + * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetContextTypeRequest.prototype.clearTypeVersion = function() { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearContextName = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -15136,35 +21586,35 @@ proto.ml_metadata.GetContextTypeRequest.prototype.clearTypeVersion = function() * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextTypeRequest.prototype.hasTypeVersion = function() { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasContextName = function() { return jspb.Message.getField(this, 2) != null; }; /** - * optional TransactionOptions transaction_options = 3; + * optional TransactionOptions transaction_options = 4; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetContextTypeRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetContextTypeRequest} returns this + * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetContextTypeRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 3, value); +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextTypeRequest} returns this + * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this */ -proto.ml_metadata.GetContextTypeRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -15173,8 +21623,8 @@ proto.ml_metadata.GetContextTypeRequest.prototype.clearTransactionOptions = func * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextTypeRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 4) != null; }; @@ -15194,8 +21644,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextTypeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextTypeResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextByTypeAndNameResponse.toObject(opt_includeInstance, this); }; @@ -15204,13 +21654,13 @@ proto.ml_metadata.GetContextTypeResponse.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextTypeResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextByTypeAndNameResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypeResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextByTypeAndNameResponse.toObject = function(includeInstance, msg) { var f, obj = { - contextType: (f = msg.getContextType()) && ml_metadata_proto_metadata_store_pb.ContextType.toObject(includeInstance, f) + context: (f = msg.getContext()) && ml_metadata_proto_metadata_store_pb.Context.toObject(includeInstance, f) }; if (includeInstance) { @@ -15224,23 +21674,23 @@ proto.ml_metadata.GetContextTypeResponse.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextTypeResponse} + * @return {!proto.ml_metadata.GetContextByTypeAndNameResponse} */ -proto.ml_metadata.GetContextTypeResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextTypeResponse; - return proto.ml_metadata.GetContextTypeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextByTypeAndNameResponse; + return proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextTypeResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextByTypeAndNameResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextTypeResponse} + * @return {!proto.ml_metadata.GetContextByTypeAndNameResponse} */ -proto.ml_metadata.GetContextTypeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15248,9 +21698,9 @@ proto.ml_metadata.GetContextTypeResponse.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ContextType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); - msg.setContextType(value); + var value = new ml_metadata_proto_metadata_store_pb.Context; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); + msg.setContext(value); break; default: reader.skipField(); @@ -15265,9 +21715,9 @@ proto.ml_metadata.GetContextTypeResponse.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextTypeResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextTypeResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextByTypeAndNameResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -15275,48 +21725,48 @@ proto.ml_metadata.GetContextTypeResponse.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextTypeResponse} message + * @param {!proto.ml_metadata.GetContextByTypeAndNameResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypeResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextByTypeAndNameResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextType(); + f = message.getContext(); if (f != null) { writer.writeMessage( 1, f, - ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter ); } }; /** - * optional ContextType context_type = 1; - * @return {?proto.ml_metadata.ContextType} + * optional Context context = 1; + * @return {?proto.ml_metadata.Context} */ -proto.ml_metadata.GetContextTypeResponse.prototype.getContextType = function() { - return /** @type{?proto.ml_metadata.ContextType} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1)); +proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.getContext = function() { + return /** @type{?proto.ml_metadata.Context} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; /** - * @param {?proto.ml_metadata.ContextType|undefined} value - * @return {!proto.ml_metadata.GetContextTypeResponse} returns this + * @param {?proto.ml_metadata.Context|undefined} value + * @return {!proto.ml_metadata.GetContextByTypeAndNameResponse} returns this */ -proto.ml_metadata.GetContextTypeResponse.prototype.setContextType = function(value) { +proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.setContext = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextTypeResponse} returns this + * @return {!proto.ml_metadata.GetContextByTypeAndNameResponse} returns this */ -proto.ml_metadata.GetContextTypeResponse.prototype.clearContextType = function() { - return this.setContextType(undefined); +proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.clearContext = function() { + return this.setContext(undefined); }; @@ -15324,7 +21774,7 @@ proto.ml_metadata.GetContextTypeResponse.prototype.clearContextType = function() * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextTypeResponse.prototype.hasContextType = function() { +proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.hasContext = function() { return jspb.Message.getField(this, 1) != null; }; @@ -15335,7 +21785,7 @@ proto.ml_metadata.GetContextTypeResponse.prototype.hasContextType = function() { * @private {!Array} * @const */ -proto.ml_metadata.GetContextTypesByIDRequest.repeatedFields_ = [1]; +proto.ml_metadata.GetContextsByIDRequest.repeatedFields_ = [1]; @@ -15352,8 +21802,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextTypesByIDRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextTypesByIDRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsByIDRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsByIDRequest.toObject(opt_includeInstance, this); }; @@ -15362,13 +21812,13 @@ proto.ml_metadata.GetContextTypesByIDRequest.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextTypesByIDRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsByIDRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypesByIDRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsByIDRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + contextIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -15383,23 +21833,23 @@ proto.ml_metadata.GetContextTypesByIDRequest.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextTypesByIDRequest} + * @return {!proto.ml_metadata.GetContextsByIDRequest} */ -proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsByIDRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextTypesByIDRequest; - return proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsByIDRequest; + return proto.ml_metadata.GetContextsByIDRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextTypesByIDRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsByIDRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextTypesByIDRequest} + * @return {!proto.ml_metadata.GetContextsByIDRequest} */ -proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsByIDRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15409,7 +21859,7 @@ proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinaryFromReader = funct case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { - msg.addTypeIds(values[i]); + msg.addContextIds(values[i]); } break; case 2: @@ -15430,9 +21880,9 @@ proto.ml_metadata.GetContextTypesByIDRequest.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextTypesByIDRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextsByIDRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextTypesByIDRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextsByIDRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -15440,13 +21890,13 @@ proto.ml_metadata.GetContextTypesByIDRequest.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextTypesByIDRequest} message + * @param {!proto.ml_metadata.GetContextsByIDRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypesByIDRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextsByIDRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getTypeIdsList(); + f = message.getContextIdsList(); if (f.length > 0) { writer.writeRepeatedInt64( 1, @@ -15465,19 +21915,19 @@ proto.ml_metadata.GetContextTypesByIDRequest.serializeBinaryToWriter = function( /** - * repeated int64 type_ids = 1; + * repeated int64 context_ids = 1; * @return {!Array} */ -proto.ml_metadata.GetContextTypesByIDRequest.prototype.getTypeIdsList = function() { +proto.ml_metadata.GetContextsByIDRequest.prototype.getContextIdsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value - * @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this + * @return {!proto.ml_metadata.GetContextsByIDRequest} returns this */ -proto.ml_metadata.GetContextTypesByIDRequest.prototype.setTypeIdsList = function(value) { +proto.ml_metadata.GetContextsByIDRequest.prototype.setContextIdsList = function(value) { return jspb.Message.setField(this, 1, value || []); }; @@ -15485,19 +21935,19 @@ proto.ml_metadata.GetContextTypesByIDRequest.prototype.setTypeIdsList = function /** * @param {number} value * @param {number=} opt_index - * @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this + * @return {!proto.ml_metadata.GetContextsByIDRequest} returns this */ -proto.ml_metadata.GetContextTypesByIDRequest.prototype.addTypeIds = function(value, opt_index) { +proto.ml_metadata.GetContextsByIDRequest.prototype.addContextIds = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this + * @return {!proto.ml_metadata.GetContextsByIDRequest} returns this */ -proto.ml_metadata.GetContextTypesByIDRequest.prototype.clearTypeIdsList = function() { - return this.setTypeIdsList([]); +proto.ml_metadata.GetContextsByIDRequest.prototype.clearContextIdsList = function() { + return this.setContextIdsList([]); }; @@ -15505,7 +21955,7 @@ proto.ml_metadata.GetContextTypesByIDRequest.prototype.clearTypeIdsList = functi * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetContextTypesByIDRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetContextsByIDRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; @@ -15513,18 +21963,18 @@ proto.ml_metadata.GetContextTypesByIDRequest.prototype.getTransactionOptions = f /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this + * @return {!proto.ml_metadata.GetContextsByIDRequest} returns this */ -proto.ml_metadata.GetContextTypesByIDRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetContextsByIDRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextTypesByIDRequest} returns this + * @return {!proto.ml_metadata.GetContextsByIDRequest} returns this */ -proto.ml_metadata.GetContextTypesByIDRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetContextsByIDRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -15533,7 +21983,7 @@ proto.ml_metadata.GetContextTypesByIDRequest.prototype.clearTransactionOptions = * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextTypesByIDRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetContextsByIDRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; @@ -15544,7 +21994,7 @@ proto.ml_metadata.GetContextTypesByIDRequest.prototype.hasTransactionOptions = f * @private {!Array} * @const */ -proto.ml_metadata.GetContextTypesByIDResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetContextsByIDResponse.repeatedFields_ = [1]; @@ -15561,8 +22011,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextTypesByIDResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextTypesByIDResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsByIDResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsByIDResponse.toObject(opt_includeInstance, this); }; @@ -15571,14 +22021,14 @@ proto.ml_metadata.GetContextTypesByIDResponse.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextTypesByIDResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsByIDResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypesByIDResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsByIDResponse.toObject = function(includeInstance, msg) { var f, obj = { - contextTypesList: jspb.Message.toObjectList(msg.getContextTypesList(), - ml_metadata_proto_metadata_store_pb.ContextType.toObject, includeInstance) + contextsList: jspb.Message.toObjectList(msg.getContextsList(), + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) }; if (includeInstance) { @@ -15592,23 +22042,23 @@ proto.ml_metadata.GetContextTypesByIDResponse.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextTypesByIDResponse} + * @return {!proto.ml_metadata.GetContextsByIDResponse} */ -proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsByIDResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextTypesByIDResponse; - return proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsByIDResponse; + return proto.ml_metadata.GetContextsByIDResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextTypesByIDResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsByIDResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextTypesByIDResponse} + * @return {!proto.ml_metadata.GetContextsByIDResponse} */ -proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsByIDResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15616,9 +22066,9 @@ proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ContextType; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ContextType.deserializeBinaryFromReader); - msg.addContextTypes(value); + var value = new ml_metadata_proto_metadata_store_pb.Context; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); + msg.addContexts(value); break; default: reader.skipField(); @@ -15633,9 +22083,9 @@ proto.ml_metadata.GetContextTypesByIDResponse.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextTypesByIDResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextsByIDResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextTypesByIDResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextsByIDResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -15643,58 +22093,58 @@ proto.ml_metadata.GetContextTypesByIDResponse.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextTypesByIDResponse} message + * @param {!proto.ml_metadata.GetContextsByIDResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextTypesByIDResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextsByIDResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextTypesList(); + f = message.getContextsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.ContextType.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter ); } }; /** - * repeated ContextType context_types = 1; - * @return {!Array} + * repeated Context contexts = 1; + * @return {!Array} */ -proto.ml_metadata.GetContextTypesByIDResponse.prototype.getContextTypesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.ContextType, 1)); +proto.ml_metadata.GetContextsByIDResponse.prototype.getContextsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetContextTypesByIDResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetContextsByIDResponse} returns this */ -proto.ml_metadata.GetContextTypesByIDResponse.prototype.setContextTypesList = function(value) { +proto.ml_metadata.GetContextsByIDResponse.prototype.setContextsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.ContextType=} opt_value + * @param {!proto.ml_metadata.Context=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.ContextType} + * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.GetContextTypesByIDResponse.prototype.addContextTypes = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.ContextType, opt_index); +proto.ml_metadata.GetContextsByIDResponse.prototype.addContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetContextTypesByIDResponse} returns this + * @return {!proto.ml_metadata.GetContextsByIDResponse} returns this */ -proto.ml_metadata.GetContextTypesByIDResponse.prototype.clearContextTypesList = function() { - return this.setContextTypesList([]); +proto.ml_metadata.GetContextsByIDResponse.prototype.clearContextsList = function() { + return this.setContextsList([]); }; @@ -15714,8 +22164,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextsRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsByArtifactRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsByArtifactRequest.toObject(opt_includeInstance, this); }; @@ -15724,13 +22174,13 @@ proto.ml_metadata.GetContextsRequest.prototype.toObject = function(opt_includeIn * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextsRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsByArtifactRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsByArtifactRequest.toObject = function(includeInstance, msg) { var f, obj = { - options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), + artifactId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -15745,23 +22195,23 @@ proto.ml_metadata.GetContextsRequest.toObject = function(includeInstance, msg) { /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextsRequest} + * @return {!proto.ml_metadata.GetContextsByArtifactRequest} */ -proto.ml_metadata.GetContextsRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextsRequest; - return proto.ml_metadata.GetContextsRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsByArtifactRequest; + return proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextsRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsByArtifactRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextsRequest} + * @return {!proto.ml_metadata.GetContextsByArtifactRequest} */ -proto.ml_metadata.GetContextsRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15769,9 +22219,8 @@ proto.ml_metadata.GetContextsRequest.deserializeBinaryFromReader = function(msg, var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); - msg.setOptions(value); + var value = /** @type {number} */ (reader.readInt64()); + msg.setArtifactId(value); break; case 2: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; @@ -15791,9 +22240,9 @@ proto.ml_metadata.GetContextsRequest.deserializeBinaryFromReader = function(msg, * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextsRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextsByArtifactRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextsRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextsByArtifactRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -15801,18 +22250,17 @@ proto.ml_metadata.GetContextsRequest.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextsRequest} message + * @param {!proto.ml_metadata.GetContextsByArtifactRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextsByArtifactRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getOptions(); + f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { - writer.writeMessage( + writer.writeInt64( 1, - f, - ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter + f ); } f = message.getTransactionOptions(); @@ -15827,30 +22275,29 @@ proto.ml_metadata.GetContextsRequest.serializeBinaryToWriter = function(message, /** - * optional ListOperationOptions options = 1; - * @return {?proto.ml_metadata.ListOperationOptions} + * optional int64 artifact_id = 1; + * @return {number} */ -proto.ml_metadata.GetContextsRequest.prototype.getOptions = function() { - return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 1)); +proto.ml_metadata.GetContextsByArtifactRequest.prototype.getArtifactId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {?proto.ml_metadata.ListOperationOptions|undefined} value - * @return {!proto.ml_metadata.GetContextsRequest} returns this -*/ -proto.ml_metadata.GetContextsRequest.prototype.setOptions = function(value) { - return jspb.Message.setWrapperField(this, 1, value); + * @param {number} value + * @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this + */ +proto.ml_metadata.GetContextsByArtifactRequest.prototype.setArtifactId = function(value) { + return jspb.Message.setField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextsRequest} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this */ -proto.ml_metadata.GetContextsRequest.prototype.clearOptions = function() { - return this.setOptions(undefined); +proto.ml_metadata.GetContextsByArtifactRequest.prototype.clearArtifactId = function() { + return jspb.Message.setField(this, 1, undefined); }; @@ -15858,7 +22305,7 @@ proto.ml_metadata.GetContextsRequest.prototype.clearOptions = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextsRequest.prototype.hasOptions = function() { +proto.ml_metadata.GetContextsByArtifactRequest.prototype.hasArtifactId = function() { return jspb.Message.getField(this, 1) != null; }; @@ -15867,7 +22314,7 @@ proto.ml_metadata.GetContextsRequest.prototype.hasOptions = function() { * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetContextsRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetContextsByArtifactRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; @@ -15875,18 +22322,18 @@ proto.ml_metadata.GetContextsRequest.prototype.getTransactionOptions = function( /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetContextsRequest} returns this + * @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this */ -proto.ml_metadata.GetContextsRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetContextsByArtifactRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextsRequest} returns this + * @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this */ -proto.ml_metadata.GetContextsRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetContextsByArtifactRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -15895,7 +22342,7 @@ proto.ml_metadata.GetContextsRequest.prototype.clearTransactionOptions = functio * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextsRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetContextsByArtifactRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; @@ -15906,7 +22353,7 @@ proto.ml_metadata.GetContextsRequest.prototype.hasTransactionOptions = function( * @private {!Array} * @const */ -proto.ml_metadata.GetContextsResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetContextsByArtifactResponse.repeatedFields_ = [1]; @@ -15923,8 +22370,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextsResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextsResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsByArtifactResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsByArtifactResponse.toObject(opt_includeInstance, this); }; @@ -15933,15 +22380,14 @@ proto.ml_metadata.GetContextsResponse.prototype.toObject = function(opt_includeI * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextsResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsByArtifactResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsByArtifactResponse.toObject = function(includeInstance, msg) { var f, obj = { contextsList: jspb.Message.toObjectList(msg.getContextsList(), - ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance), - nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) }; if (includeInstance) { @@ -15955,23 +22401,23 @@ proto.ml_metadata.GetContextsResponse.toObject = function(includeInstance, msg) /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextsResponse} + * @return {!proto.ml_metadata.GetContextsByArtifactResponse} */ -proto.ml_metadata.GetContextsResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextsResponse; - return proto.ml_metadata.GetContextsResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsByArtifactResponse; + return proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextsResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsByArtifactResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextsResponse} + * @return {!proto.ml_metadata.GetContextsByArtifactResponse} */ -proto.ml_metadata.GetContextsResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -15983,10 +22429,6 @@ proto.ml_metadata.GetContextsResponse.deserializeBinaryFromReader = function(msg reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); msg.addContexts(value); break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setNextPageToken(value); - break; default: reader.skipField(); break; @@ -16000,9 +22442,9 @@ proto.ml_metadata.GetContextsResponse.deserializeBinaryFromReader = function(msg * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextsResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextsByArtifactResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextsResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextsByArtifactResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -16010,11 +22452,11 @@ proto.ml_metadata.GetContextsResponse.prototype.serializeBinary = function() { /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextsResponse} message + * @param {!proto.ml_metadata.GetContextsByArtifactResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextsByArtifactResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getContextsList(); if (f.length > 0) { @@ -16024,13 +22466,6 @@ proto.ml_metadata.GetContextsResponse.serializeBinaryToWriter = function(message ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter ); } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } }; @@ -16038,7 +22473,7 @@ proto.ml_metadata.GetContextsResponse.serializeBinaryToWriter = function(message * repeated Context contexts = 1; * @return {!Array} */ -proto.ml_metadata.GetContextsResponse.prototype.getContextsList = function() { +proto.ml_metadata.GetContextsByArtifactResponse.prototype.getContextsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; @@ -16046,9 +22481,9 @@ proto.ml_metadata.GetContextsResponse.prototype.getContextsList = function() { /** * @param {!Array} value - * @return {!proto.ml_metadata.GetContextsResponse} returns this + * @return {!proto.ml_metadata.GetContextsByArtifactResponse} returns this */ -proto.ml_metadata.GetContextsResponse.prototype.setContextsList = function(value) { +proto.ml_metadata.GetContextsByArtifactResponse.prototype.setContextsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; @@ -16058,56 +22493,20 @@ proto.ml_metadata.GetContextsResponse.prototype.setContextsList = function(value * @param {number=} opt_index * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.GetContextsResponse.prototype.addContexts = function(opt_value, opt_index) { +proto.ml_metadata.GetContextsByArtifactResponse.prototype.addContexts = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetContextsResponse} returns this + * @return {!proto.ml_metadata.GetContextsByArtifactResponse} returns this */ -proto.ml_metadata.GetContextsResponse.prototype.clearContextsList = function() { +proto.ml_metadata.GetContextsByArtifactResponse.prototype.clearContextsList = function() { return this.setContextsList([]); }; -/** - * optional string next_page_token = 2; - * @return {string} - */ -proto.ml_metadata.GetContextsResponse.prototype.getNextPageToken = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetContextsResponse} returns this - */ -proto.ml_metadata.GetContextsResponse.prototype.setNextPageToken = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextsResponse} returns this - */ -proto.ml_metadata.GetContextsResponse.prototype.clearNextPageToken = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetContextsResponse.prototype.hasNextPageToken = function() { - return jspb.Message.getField(this, 2) != null; -}; - - @@ -16124,8 +22523,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextsByTypeRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsByExecutionRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsByExecutionRequest.toObject(opt_includeInstance, this); }; @@ -16134,15 +22533,13 @@ proto.ml_metadata.GetContextsByTypeRequest.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextsByTypeRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsByExecutionRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByTypeRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsByExecutionRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), - typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, + executionId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -16157,23 +22554,23 @@ proto.ml_metadata.GetContextsByTypeRequest.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextsByTypeRequest} + * @return {!proto.ml_metadata.GetContextsByExecutionRequest} */ -proto.ml_metadata.GetContextsByTypeRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextsByTypeRequest; - return proto.ml_metadata.GetContextsByTypeRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsByExecutionRequest; + return proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextsByTypeRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsByExecutionRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextsByTypeRequest} + * @return {!proto.ml_metadata.GetContextsByExecutionRequest} */ -proto.ml_metadata.GetContextsByTypeRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -16181,19 +22578,10 @@ proto.ml_metadata.GetContextsByTypeRequest.deserializeBinaryFromReader = functio var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeName(value); + var value = /** @type {number} */ (reader.readInt64()); + msg.setExecutionId(value); break; case 2: - var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); - msg.setOptions(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeVersion(value); - break; - case 4: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -16211,9 +22599,9 @@ proto.ml_metadata.GetContextsByTypeRequest.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextsByExecutionRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextsByTypeRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextsByExecutionRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -16221,38 +22609,23 @@ proto.ml_metadata.GetContextsByTypeRequest.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextsByTypeRequest} message + * @param {!proto.ml_metadata.GetContextsByExecutionRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByTypeRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextsByExecutionRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); + f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { - writer.writeString( + writer.writeInt64( 1, f ); } - f = message.getOptions(); - if (f != null) { - writer.writeMessage( - 2, - f, - ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 4, + 2, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -16261,28 +22634,28 @@ proto.ml_metadata.GetContextsByTypeRequest.serializeBinaryToWriter = function(me /** - * optional string type_name = 1; - * @return {string} + * optional int64 execution_id = 1; + * @return {number} */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.getTypeName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.ml_metadata.GetContextsByExecutionRequest.prototype.getExecutionId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this + * @param {number} value + * @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.setTypeName = function(value) { +proto.ml_metadata.GetContextsByExecutionRequest.prototype.setExecutionId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this + * @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTypeName = function() { +proto.ml_metadata.GetContextsByExecutionRequest.prototype.clearExecutionId = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -16291,108 +22664,35 @@ proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTypeName = function() * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.hasTypeName = function() { +proto.ml_metadata.GetContextsByExecutionRequest.prototype.hasExecutionId = function() { return jspb.Message.getField(this, 1) != null; }; /** - * optional ListOperationOptions options = 2; - * @return {?proto.ml_metadata.ListOperationOptions} - */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.getOptions = function() { - return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 2)); -}; - - -/** - * @param {?proto.ml_metadata.ListOperationOptions|undefined} value - * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this -*/ -proto.ml_metadata.GetContextsByTypeRequest.prototype.setOptions = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this - */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.clearOptions = function() { - return this.setOptions(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.hasOptions = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional string type_version = 3; - * @return {string} - */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.getTypeVersion = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this - */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.setTypeVersion = function(value) { - return jspb.Message.setField(this, 3, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this - */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTypeVersion = function() { - return jspb.Message.setField(this, 3, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.hasTypeVersion = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional TransactionOptions transaction_options = 4; + * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetContextsByExecutionRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this + * @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 4, value); +proto.ml_metadata.GetContextsByExecutionRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextsByTypeRequest} returns this + * @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetContextsByExecutionRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -16401,8 +22701,8 @@ proto.ml_metadata.GetContextsByTypeRequest.prototype.clearTransactionOptions = f * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextsByTypeRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.GetContextsByExecutionRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -16412,7 +22712,7 @@ proto.ml_metadata.GetContextsByTypeRequest.prototype.hasTransactionOptions = fun * @private {!Array} * @const */ -proto.ml_metadata.GetContextsByTypeResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetContextsByExecutionResponse.repeatedFields_ = [1]; @@ -16429,8 +22729,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextsByTypeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextsByTypeResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetContextsByExecutionResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetContextsByExecutionResponse.toObject(opt_includeInstance, this); }; @@ -16439,15 +22739,14 @@ proto.ml_metadata.GetContextsByTypeResponse.prototype.toObject = function(opt_in * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextsByTypeResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetContextsByExecutionResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByTypeResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetContextsByExecutionResponse.toObject = function(includeInstance, msg) { var f, obj = { contextsList: jspb.Message.toObjectList(msg.getContextsList(), - ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance), - nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) }; if (includeInstance) { @@ -16461,23 +22760,23 @@ proto.ml_metadata.GetContextsByTypeResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextsByTypeResponse} + * @return {!proto.ml_metadata.GetContextsByExecutionResponse} */ -proto.ml_metadata.GetContextsByTypeResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextsByTypeResponse; - return proto.ml_metadata.GetContextsByTypeResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetContextsByExecutionResponse; + return proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextsByTypeResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetContextsByExecutionResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextsByTypeResponse} + * @return {!proto.ml_metadata.GetContextsByExecutionResponse} */ -proto.ml_metadata.GetContextsByTypeResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -16489,10 +22788,6 @@ proto.ml_metadata.GetContextsByTypeResponse.deserializeBinaryFromReader = functi reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); msg.addContexts(value); break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setNextPageToken(value); - break; default: reader.skipField(); break; @@ -16506,9 +22801,9 @@ proto.ml_metadata.GetContextsByTypeResponse.deserializeBinaryFromReader = functi * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextsByTypeResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetContextsByExecutionResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextsByTypeResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetContextsByExecutionResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -16516,11 +22811,11 @@ proto.ml_metadata.GetContextsByTypeResponse.prototype.serializeBinary = function /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextsByTypeResponse} message + * @param {!proto.ml_metadata.GetContextsByExecutionResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByTypeResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetContextsByExecutionResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getContextsList(); if (f.length > 0) { @@ -16530,13 +22825,6 @@ proto.ml_metadata.GetContextsByTypeResponse.serializeBinaryToWriter = function(m ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter ); } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } }; @@ -16544,7 +22832,7 @@ proto.ml_metadata.GetContextsByTypeResponse.serializeBinaryToWriter = function(m * repeated Context contexts = 1; * @return {!Array} */ -proto.ml_metadata.GetContextsByTypeResponse.prototype.getContextsList = function() { +proto.ml_metadata.GetContextsByExecutionResponse.prototype.getContextsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; @@ -16552,65 +22840,29 @@ proto.ml_metadata.GetContextsByTypeResponse.prototype.getContextsList = function /** * @param {!Array} value - * @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this + * @return {!proto.ml_metadata.GetContextsByExecutionResponse} returns this */ -proto.ml_metadata.GetContextsByTypeResponse.prototype.setContextsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - - -/** - * @param {!proto.ml_metadata.Context=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.Context} - */ -proto.ml_metadata.GetContextsByTypeResponse.prototype.addContexts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this - */ -proto.ml_metadata.GetContextsByTypeResponse.prototype.clearContextsList = function() { - return this.setContextsList([]); -}; - - -/** - * optional string next_page_token = 2; - * @return {string} - */ -proto.ml_metadata.GetContextsByTypeResponse.prototype.getNextPageToken = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this - */ -proto.ml_metadata.GetContextsByTypeResponse.prototype.setNextPageToken = function(value) { - return jspb.Message.setField(this, 2, value); +proto.ml_metadata.GetContextsByExecutionResponse.prototype.setContextsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextsByTypeResponse} returns this + * @param {!proto.ml_metadata.Context=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.GetContextsByTypeResponse.prototype.clearNextPageToken = function() { - return jspb.Message.setField(this, 2, undefined); +proto.ml_metadata.GetContextsByExecutionResponse.prototype.addContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetContextsByExecutionResponse} returns this */ -proto.ml_metadata.GetContextsByTypeResponse.prototype.hasNextPageToken = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetContextsByExecutionResponse.prototype.clearContextsList = function() { + return this.setContextsList([]); }; @@ -16630,8 +22882,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextByTypeAndNameRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetParentContextsByContextRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetParentContextsByContextRequest.toObject(opt_includeInstance, this); }; @@ -16640,15 +22892,13 @@ proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetParentContextsByContextRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextByTypeAndNameRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetParentContextsByContextRequest.toObject = function(includeInstance, msg) { var f, obj = { - typeName: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - typeVersion: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, - contextName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + contextId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -16663,23 +22913,23 @@ proto.ml_metadata.GetContextByTypeAndNameRequest.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} + * @return {!proto.ml_metadata.GetParentContextsByContextRequest} */ -proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetParentContextsByContextRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextByTypeAndNameRequest; - return proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetParentContextsByContextRequest; + return proto.ml_metadata.GetParentContextsByContextRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetParentContextsByContextRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} + * @return {!proto.ml_metadata.GetParentContextsByContextRequest} */ -proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetParentContextsByContextRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -16687,18 +22937,10 @@ proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinaryFromReader = f var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeName(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setTypeVersion(value); + var value = /** @type {number} */ (reader.readInt64()); + msg.setContextId(value); break; case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setContextName(value); - break; - case 4: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -16716,9 +22958,9 @@ proto.ml_metadata.GetContextByTypeAndNameRequest.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetParentContextsByContextRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextByTypeAndNameRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetParentContextsByContextRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -16726,37 +22968,23 @@ proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextByTypeAndNameRequest} message + * @param {!proto.ml_metadata.GetParentContextsByContextRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextByTypeAndNameRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetParentContextsByContextRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); + f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { - writer.writeString( + writer.writeInt64( 1, f ); } - f = /** @type {string} */ (jspb.Message.getField(message, 3)); - if (f != null) { - writer.writeString( - 3, - f - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 4, + 2, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -16765,28 +22993,28 @@ proto.ml_metadata.GetContextByTypeAndNameRequest.serializeBinaryToWriter = funct /** - * optional string type_name = 1; - * @return {string} + * optional int64 context_id = 1; + * @return {number} */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getTypeName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.ml_metadata.GetParentContextsByContextRequest.prototype.getContextId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {string} value - * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this + * @param {number} value + * @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setTypeName = function(value) { +proto.ml_metadata.GetParentContextsByContextRequest.prototype.setContextId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this + * @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTypeName = function() { +proto.ml_metadata.GetParentContextsByContextRequest.prototype.clearContextId = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -16795,107 +23023,35 @@ proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTypeName = funct * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasTypeName = function() { +proto.ml_metadata.GetParentContextsByContextRequest.prototype.hasContextId = function() { return jspb.Message.getField(this, 1) != null; }; /** - * optional string type_version = 3; - * @return {string} - */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getTypeVersion = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this - */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setTypeVersion = function(value) { - return jspb.Message.setField(this, 3, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this - */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTypeVersion = function() { - return jspb.Message.setField(this, 3, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasTypeVersion = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional string context_name = 2; - * @return {string} - */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getContextName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this - */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setContextName = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this - */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearContextName = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasContextName = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional TransactionOptions transaction_options = 4; + * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetParentContextsByContextRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 4)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this + * @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 4, value); +proto.ml_metadata.GetParentContextsByContextRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextByTypeAndNameRequest} returns this + * @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetParentContextsByContextRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -16904,12 +23060,19 @@ proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.clearTransactionOptio * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextByTypeAndNameRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 4) != null; +proto.ml_metadata.GetParentContextsByContextRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetParentContextsByContextResponse.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -16925,8 +23088,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextByTypeAndNameResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetParentContextsByContextResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetParentContextsByContextResponse.toObject(opt_includeInstance, this); }; @@ -16935,13 +23098,14 @@ proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextByTypeAndNameResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetParentContextsByContextResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextByTypeAndNameResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetParentContextsByContextResponse.toObject = function(includeInstance, msg) { var f, obj = { - context: (f = msg.getContext()) && ml_metadata_proto_metadata_store_pb.Context.toObject(includeInstance, f) + contextsList: jspb.Message.toObjectList(msg.getContextsList(), + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) }; if (includeInstance) { @@ -16955,23 +23119,23 @@ proto.ml_metadata.GetContextByTypeAndNameResponse.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextByTypeAndNameResponse} + * @return {!proto.ml_metadata.GetParentContextsByContextResponse} */ -proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextByTypeAndNameResponse; - return proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetParentContextsByContextResponse; + return proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextByTypeAndNameResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetParentContextsByContextResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextByTypeAndNameResponse} + * @return {!proto.ml_metadata.GetParentContextsByContextResponse} */ -proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -16981,7 +23145,7 @@ proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinaryFromReader = case 1: var value = new ml_metadata_proto_metadata_store_pb.Context; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); - msg.setContext(value); + msg.addContexts(value); break; default: reader.skipField(); @@ -16996,9 +23160,9 @@ proto.ml_metadata.GetContextByTypeAndNameResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetParentContextsByContextResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextByTypeAndNameResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetParentContextsByContextResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17006,15 +23170,15 @@ proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextByTypeAndNameResponse} message + * @param {!proto.ml_metadata.GetParentContextsByContextResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextByTypeAndNameResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetParentContextsByContextResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContext(); - if (f != null) { - writer.writeMessage( + f = message.getContextsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, f, ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter @@ -17024,50 +23188,44 @@ proto.ml_metadata.GetContextByTypeAndNameResponse.serializeBinaryToWriter = func /** - * optional Context context = 1; - * @return {?proto.ml_metadata.Context} + * repeated Context contexts = 1; + * @return {!Array} */ -proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.getContext = function() { - return /** @type{?proto.ml_metadata.Context} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); +proto.ml_metadata.GetParentContextsByContextResponse.prototype.getContextsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; /** - * @param {?proto.ml_metadata.Context|undefined} value - * @return {!proto.ml_metadata.GetContextByTypeAndNameResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetParentContextsByContextResponse} returns this */ -proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.setContext = function(value) { - return jspb.Message.setWrapperField(this, 1, value); +proto.ml_metadata.GetParentContextsByContextResponse.prototype.setContextsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextByTypeAndNameResponse} returns this + * @param {!proto.ml_metadata.Context=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.clearContext = function() { - return this.setContext(undefined); +proto.ml_metadata.GetParentContextsByContextResponse.prototype.addContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetParentContextsByContextResponse} returns this */ -proto.ml_metadata.GetContextByTypeAndNameResponse.prototype.hasContext = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetParentContextsByContextResponse.prototype.clearContextsList = function() { + return this.setContextsList([]); }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.GetContextsByIDRequest.repeatedFields_ = [1]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -17083,8 +23241,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextsByIDRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextsByIDRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetChildrenContextsByContextRequest.toObject(opt_includeInstance, this); }; @@ -17093,13 +23251,13 @@ proto.ml_metadata.GetContextsByIDRequest.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextsByIDRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByIDRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetChildrenContextsByContextRequest.toObject = function(includeInstance, msg) { var f, obj = { - contextIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + contextId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -17114,23 +23272,23 @@ proto.ml_metadata.GetContextsByIDRequest.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextsByIDRequest} + * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} */ -proto.ml_metadata.GetContextsByIDRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextsByIDRequest; - return proto.ml_metadata.GetContextsByIDRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetChildrenContextsByContextRequest; + return proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextsByIDRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextsByIDRequest} + * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} */ -proto.ml_metadata.GetContextsByIDRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -17138,10 +23296,8 @@ proto.ml_metadata.GetContextsByIDRequest.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); - for (var i = 0; i < values.length; i++) { - msg.addContextIds(values[i]); - } + var value = /** @type {number} */ (reader.readInt64()); + msg.setContextId(value); break; case 2: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; @@ -17161,9 +23317,9 @@ proto.ml_metadata.GetContextsByIDRequest.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextsByIDRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextsByIDRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetChildrenContextsByContextRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17171,15 +23327,15 @@ proto.ml_metadata.GetContextsByIDRequest.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextsByIDRequest} message + * @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByIDRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetChildrenContextsByContextRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextIdsList(); - if (f.length > 0) { - writer.writeRepeatedInt64( + f = /** @type {number} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeInt64( 1, f ); @@ -17196,39 +23352,38 @@ proto.ml_metadata.GetContextsByIDRequest.serializeBinaryToWriter = function(mess /** - * repeated int64 context_ids = 1; - * @return {!Array} + * optional int64 context_id = 1; + * @return {number} */ -proto.ml_metadata.GetContextsByIDRequest.prototype.getContextIdsList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.getContextId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetContextsByIDRequest} returns this + * @param {number} value + * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this */ -proto.ml_metadata.GetContextsByIDRequest.prototype.setContextIdsList = function(value) { - return jspb.Message.setField(this, 1, value || []); +proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.setContextId = function(value) { + return jspb.Message.setField(this, 1, value); }; /** - * @param {number} value - * @param {number=} opt_index - * @return {!proto.ml_metadata.GetContextsByIDRequest} returns this + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this */ -proto.ml_metadata.GetContextsByIDRequest.prototype.addContextIds = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.clearContextId = function() { + return jspb.Message.setField(this, 1, undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetContextsByIDRequest} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetContextsByIDRequest.prototype.clearContextIdsList = function() { - return this.setContextIdsList([]); +proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.hasContextId = function() { + return jspb.Message.getField(this, 1) != null; }; @@ -17236,7 +23391,7 @@ proto.ml_metadata.GetContextsByIDRequest.prototype.clearContextIdsList = functio * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetContextsByIDRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; @@ -17244,18 +23399,18 @@ proto.ml_metadata.GetContextsByIDRequest.prototype.getTransactionOptions = funct /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetContextsByIDRequest} returns this + * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this */ -proto.ml_metadata.GetContextsByIDRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextsByIDRequest} returns this + * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this */ -proto.ml_metadata.GetContextsByIDRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -17264,7 +23419,7 @@ proto.ml_metadata.GetContextsByIDRequest.prototype.clearTransactionOptions = fun * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextsByIDRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; @@ -17275,7 +23430,7 @@ proto.ml_metadata.GetContextsByIDRequest.prototype.hasTransactionOptions = funct * @private {!Array} * @const */ -proto.ml_metadata.GetContextsByIDResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetChildrenContextsByContextResponse.repeatedFields_ = [1]; @@ -17292,8 +23447,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextsByIDResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextsByIDResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetChildrenContextsByContextResponse.toObject(opt_includeInstance, this); }; @@ -17302,11 +23457,11 @@ proto.ml_metadata.GetContextsByIDResponse.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextsByIDResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetChildrenContextsByContextResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByIDResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetChildrenContextsByContextResponse.toObject = function(includeInstance, msg) { var f, obj = { contextsList: jspb.Message.toObjectList(msg.getContextsList(), ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) @@ -17323,23 +23478,23 @@ proto.ml_metadata.GetContextsByIDResponse.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextsByIDResponse} + * @return {!proto.ml_metadata.GetChildrenContextsByContextResponse} */ -proto.ml_metadata.GetContextsByIDResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextsByIDResponse; - return proto.ml_metadata.GetContextsByIDResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetChildrenContextsByContextResponse; + return proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextsByIDResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetChildrenContextsByContextResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextsByIDResponse} + * @return {!proto.ml_metadata.GetChildrenContextsByContextResponse} */ -proto.ml_metadata.GetContextsByIDResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -17364,9 +23519,9 @@ proto.ml_metadata.GetContextsByIDResponse.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextsByIDResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextsByIDResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetChildrenContextsByContextResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17374,11 +23529,11 @@ proto.ml_metadata.GetContextsByIDResponse.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextsByIDResponse} message + * @param {!proto.ml_metadata.GetChildrenContextsByContextResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByIDResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetChildrenContextsByContextResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getContextsList(); if (f.length > 0) { @@ -17395,7 +23550,7 @@ proto.ml_metadata.GetContextsByIDResponse.serializeBinaryToWriter = function(mes * repeated Context contexts = 1; * @return {!Array} */ -proto.ml_metadata.GetContextsByIDResponse.prototype.getContextsList = function() { +proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.getContextsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; @@ -17403,9 +23558,9 @@ proto.ml_metadata.GetContextsByIDResponse.prototype.getContextsList = function() /** * @param {!Array} value - * @return {!proto.ml_metadata.GetContextsByIDResponse} returns this + * @return {!proto.ml_metadata.GetChildrenContextsByContextResponse} returns this */ -proto.ml_metadata.GetContextsByIDResponse.prototype.setContextsList = function(value) { +proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.setContextsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; @@ -17415,21 +23570,28 @@ proto.ml_metadata.GetContextsByIDResponse.prototype.setContextsList = function(v * @param {number=} opt_index * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.GetContextsByIDResponse.prototype.addContexts = function(opt_value, opt_index) { +proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.addContexts = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetContextsByIDResponse} returns this + * @return {!proto.ml_metadata.GetChildrenContextsByContextResponse} returns this */ -proto.ml_metadata.GetContextsByIDResponse.prototype.clearContextsList = function() { +proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.clearContextsList = function() { return this.setContextsList([]); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ml_metadata.GetParentContextsByContextsRequest.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -17445,8 +23607,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextsByArtifactRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextsByArtifactRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetParentContextsByContextsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetParentContextsByContextsRequest.toObject(opt_includeInstance, this); }; @@ -17455,13 +23617,13 @@ proto.ml_metadata.GetContextsByArtifactRequest.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextsByArtifactRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetParentContextsByContextsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByArtifactRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetParentContextsByContextsRequest.toObject = function(includeInstance, msg) { var f, obj = { - artifactId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + contextIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -17476,23 +23638,23 @@ proto.ml_metadata.GetContextsByArtifactRequest.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextsByArtifactRequest} + * @return {!proto.ml_metadata.GetParentContextsByContextsRequest} */ -proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetParentContextsByContextsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextsByArtifactRequest; - return proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetParentContextsByContextsRequest; + return proto.ml_metadata.GetParentContextsByContextsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextsByArtifactRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetParentContextsByContextsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextsByArtifactRequest} + * @return {!proto.ml_metadata.GetParentContextsByContextsRequest} */ -proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetParentContextsByContextsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -17500,8 +23662,10 @@ proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinaryFromReader = fun var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setArtifactId(value); + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addContextIds(values[i]); + } break; case 2: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; @@ -17521,9 +23685,9 @@ proto.ml_metadata.GetContextsByArtifactRequest.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextsByArtifactRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetParentContextsByContextsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextsByArtifactRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetParentContextsByContextsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17531,15 +23695,15 @@ proto.ml_metadata.GetContextsByArtifactRequest.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextsByArtifactRequest} message + * @param {!proto.ml_metadata.GetParentContextsByContextsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByArtifactRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetParentContextsByContextsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeInt64( + f = message.getContextIdsList(); + if (f.length > 0) { + writer.writePackedInt64( 1, f ); @@ -17556,38 +23720,39 @@ proto.ml_metadata.GetContextsByArtifactRequest.serializeBinaryToWriter = functio /** - * optional int64 artifact_id = 1; - * @return {number} + * repeated int64 context_ids = 1; + * @return {!Array} */ -proto.ml_metadata.GetContextsByArtifactRequest.prototype.getArtifactId = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +proto.ml_metadata.GetParentContextsByContextsRequest.prototype.getContextIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {number} value - * @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetParentContextsByContextsRequest} returns this */ -proto.ml_metadata.GetContextsByArtifactRequest.prototype.setArtifactId = function(value) { - return jspb.Message.setField(this, 1, value); +proto.ml_metadata.GetParentContextsByContextsRequest.prototype.setContextIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this + * @param {number} value + * @param {number=} opt_index + * @return {!proto.ml_metadata.GetParentContextsByContextsRequest} returns this */ -proto.ml_metadata.GetContextsByArtifactRequest.prototype.clearArtifactId = function() { - return jspb.Message.setField(this, 1, undefined); +proto.ml_metadata.GetParentContextsByContextsRequest.prototype.addContextIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetParentContextsByContextsRequest} returns this */ -proto.ml_metadata.GetContextsByArtifactRequest.prototype.hasArtifactId = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetParentContextsByContextsRequest.prototype.clearContextIdsList = function() { + return this.setContextIdsList([]); }; @@ -17595,7 +23760,7 @@ proto.ml_metadata.GetContextsByArtifactRequest.prototype.hasArtifactId = functio * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetContextsByArtifactRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetParentContextsByContextsRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; @@ -17603,18 +23768,18 @@ proto.ml_metadata.GetContextsByArtifactRequest.prototype.getTransactionOptions = /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this + * @return {!proto.ml_metadata.GetParentContextsByContextsRequest} returns this */ -proto.ml_metadata.GetContextsByArtifactRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetParentContextsByContextsRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextsByArtifactRequest} returns this + * @return {!proto.ml_metadata.GetParentContextsByContextsRequest} returns this */ -proto.ml_metadata.GetContextsByArtifactRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetParentContextsByContextsRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -17623,19 +23788,12 @@ proto.ml_metadata.GetContextsByArtifactRequest.prototype.clearTransactionOptions * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetContextsByArtifactRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetParentContextsByContextsRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.GetContextsByArtifactResponse.repeatedFields_ = [1]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -17651,8 +23809,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextsByArtifactResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextsByArtifactResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetParentContextsByContextsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetParentContextsByContextsResponse.toObject(opt_includeInstance, this); }; @@ -17661,14 +23819,13 @@ proto.ml_metadata.GetContextsByArtifactResponse.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextsByArtifactResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetParentContextsByContextsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByArtifactResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetParentContextsByContextsResponse.toObject = function(includeInstance, msg) { var f, obj = { - contextsList: jspb.Message.toObjectList(msg.getContextsList(), - ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) + contextsMap: (f = msg.getContextsMap()) ? f.toObject(includeInstance, proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.toObject) : [] }; if (includeInstance) { @@ -17682,33 +23839,34 @@ proto.ml_metadata.GetContextsByArtifactResponse.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextsByArtifactResponse} + * @return {!proto.ml_metadata.GetParentContextsByContextsResponse} */ -proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetParentContextsByContextsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextsByArtifactResponse; - return proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetParentContextsByContextsResponse; + return proto.ml_metadata.GetParentContextsByContextsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextsByArtifactResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetParentContextsByContextsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextsByArtifactResponse} + * @return {!proto.ml_metadata.GetParentContextsByContextsResponse} */ -proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetParentContextsByContextsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new ml_metadata_proto_metadata_store_pb.Context; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); - msg.addContexts(value); + } + var field = reader.getFieldNumber(); + switch (field) { + case 2: + var value = msg.getContextsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.deserializeBinaryFromReader, 0, new proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild()); + }); break; default: reader.skipField(); @@ -17723,9 +23881,9 @@ proto.ml_metadata.GetContextsByArtifactResponse.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextsByArtifactResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetParentContextsByContextsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextsByArtifactResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetParentContextsByContextsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17733,61 +23891,26 @@ proto.ml_metadata.GetContextsByArtifactResponse.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextsByArtifactResponse} message + * @param {!proto.ml_metadata.GetParentContextsByContextsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByArtifactResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetParentContextsByContextsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter - ); + f = message.getContextsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.serializeBinaryToWriter); } }; -/** - * repeated Context contexts = 1; - * @return {!Array} - */ -proto.ml_metadata.GetContextsByArtifactResponse.prototype.getContextsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.ml_metadata.GetContextsByArtifactResponse} returns this -*/ -proto.ml_metadata.GetContextsByArtifactResponse.prototype.setContextsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - - -/** - * @param {!proto.ml_metadata.Context=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.Context} - */ -proto.ml_metadata.GetContextsByArtifactResponse.prototype.addContexts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); -}; - /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetContextsByArtifactResponse} returns this + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.ml_metadata.GetContextsByArtifactResponse.prototype.clearContextsList = function() { - return this.setContextsList([]); -}; - - +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.repeatedFields_ = [1]; @@ -17804,8 +23927,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextsByExecutionRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextsByExecutionRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.toObject(opt_includeInstance, this); }; @@ -17814,14 +23937,14 @@ proto.ml_metadata.GetContextsByExecutionRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextsByExecutionRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByExecutionRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.toObject = function(includeInstance, msg) { var f, obj = { - executionId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + parentContextsList: jspb.Message.toObjectList(msg.getParentContextsList(), + ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) }; if (includeInstance) { @@ -17835,23 +23958,23 @@ proto.ml_metadata.GetContextsByExecutionRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextsByExecutionRequest} + * @return {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} */ -proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextsByExecutionRequest; - return proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild; + return proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextsByExecutionRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextsByExecutionRequest} + * @return {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} */ -proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -17859,13 +23982,9 @@ proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setExecutionId(value); - break; - case 2: - var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); - msg.setTransactionOptions(value); + var value = new ml_metadata_proto_metadata_store_pb.Context; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); + msg.addParentContexts(value); break; default: reader.skipField(); @@ -17880,9 +23999,9 @@ proto.ml_metadata.GetContextsByExecutionRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextsByExecutionRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextsByExecutionRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -17890,101 +24009,81 @@ proto.ml_metadata.GetContextsByExecutionRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextsByExecutionRequest} message + * @param {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByExecutionRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeInt64( + f = message.getParentContextsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( 1, - f - ); - } - f = message.getTransactionOptions(); - if (f != null) { - writer.writeMessage( - 2, f, - ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter ); } }; /** - * optional int64 execution_id = 1; - * @return {number} - */ -proto.ml_metadata.GetContextsByExecutionRequest.prototype.getExecutionId = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this + * repeated Context parent_contexts = 1; + * @return {!Array} */ -proto.ml_metadata.GetContextsByExecutionRequest.prototype.setExecutionId = function(value) { - return jspb.Message.setField(this, 1, value); +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.getParentContextsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; /** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this - */ -proto.ml_metadata.GetContextsByExecutionRequest.prototype.clearExecutionId = function() { - return jspb.Message.setField(this, 1, undefined); + * @param {!Array} value + * @return {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} returns this +*/ +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.setParentContextsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * Returns whether this field is set. - * @return {boolean} + * @param {!proto.ml_metadata.Context=} opt_value + * @param {number=} opt_index + * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.GetContextsByExecutionRequest.prototype.hasExecutionId = function() { - return jspb.Message.getField(this, 1) != null; +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.addParentContexts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** - * optional TransactionOptions transaction_options = 2; - * @return {?proto.ml_metadata.TransactionOptions} + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild} returns this */ -proto.ml_metadata.GetContextsByExecutionRequest.prototype.getTransactionOptions = function() { - return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); -}; - - -/** - * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this -*/ -proto.ml_metadata.GetContextsByExecutionRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 2, value); +proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.prototype.clearParentContextsList = function() { + return this.setParentContextsList([]); }; /** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetContextsByExecutionRequest} returns this + * map contexts = 2; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} */ -proto.ml_metadata.GetContextsByExecutionRequest.prototype.clearTransactionOptions = function() { - return this.setTransactionOptions(undefined); +proto.ml_metadata.GetParentContextsByContextsResponse.prototype.getContextsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 2, opt_noLazyCreate, + proto.ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild)); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears values from the map. The map will be non-null. + * @return {!proto.ml_metadata.GetParentContextsByContextsResponse} returns this */ -proto.ml_metadata.GetContextsByExecutionRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 2) != null; -}; +proto.ml_metadata.GetParentContextsByContextsResponse.prototype.clearContextsMap = function() { + this.getContextsMap().clear(); + return this;}; @@ -17993,7 +24092,7 @@ proto.ml_metadata.GetContextsByExecutionRequest.prototype.hasTransactionOptions * @private {!Array} * @const */ -proto.ml_metadata.GetContextsByExecutionResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetChildrenContextsByContextsRequest.repeatedFields_ = [1]; @@ -18010,8 +24109,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetContextsByExecutionResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetContextsByExecutionResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetChildrenContextsByContextsRequest.toObject(opt_includeInstance, this); }; @@ -18020,14 +24119,14 @@ proto.ml_metadata.GetContextsByExecutionResponse.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetContextsByExecutionResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByExecutionResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetChildrenContextsByContextsRequest.toObject = function(includeInstance, msg) { var f, obj = { - contextsList: jspb.Message.toObjectList(msg.getContextsList(), - ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) + contextIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -18041,23 +24140,23 @@ proto.ml_metadata.GetContextsByExecutionResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetContextsByExecutionResponse} + * @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} */ -proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetChildrenContextsByContextsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetContextsByExecutionResponse; - return proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetChildrenContextsByContextsRequest; + return proto.ml_metadata.GetChildrenContextsByContextsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetContextsByExecutionResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetContextsByExecutionResponse} + * @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} */ -proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetChildrenContextsByContextsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -18065,9 +24164,15 @@ proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinaryFromReader = f var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Context; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); - msg.addContexts(value); + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); + for (var i = 0; i < values.length; i++) { + msg.addContextIds(values[i]); + } + break; + case 2: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); break; default: reader.skipField(); @@ -18082,9 +24187,9 @@ proto.ml_metadata.GetContextsByExecutionResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetContextsByExecutionResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetContextsByExecutionResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetChildrenContextsByContextsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -18092,58 +24197,101 @@ proto.ml_metadata.GetContextsByExecutionResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetContextsByExecutionResponse} message + * @param {!proto.ml_metadata.GetChildrenContextsByContextsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetContextsByExecutionResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetChildrenContextsByContextsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextsList(); + f = message.getContextIdsList(); if (f.length > 0) { - writer.writeRepeatedMessage( + writer.writePackedInt64( 1, + f + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 2, f, - ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } }; /** - * repeated Context contexts = 1; - * @return {!Array} + * repeated int64 context_ids = 1; + * @return {!Array} */ -proto.ml_metadata.GetContextsByExecutionResponse.prototype.getContextsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); +proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.getContextIdsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetContextsByExecutionResponse} returns this -*/ -proto.ml_metadata.GetContextsByExecutionResponse.prototype.setContextsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); + * @param {!Array} value + * @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} returns this + */ +proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.setContextIdsList = function(value) { + return jspb.Message.setField(this, 1, value || []); }; /** - * @param {!proto.ml_metadata.Context=} opt_value + * @param {number} value * @param {number=} opt_index - * @return {!proto.ml_metadata.Context} + * @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} returns this */ -proto.ml_metadata.GetContextsByExecutionResponse.prototype.addContexts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); +proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.addContextIds = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} returns this + */ +proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.clearContextIdsList = function() { + return this.setContextIdsList([]); +}; + + +/** + * optional TransactionOptions transaction_options = 2; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} returns this +*/ +proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetChildrenContextsByContextsRequest} returns this + */ +proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetContextsByExecutionResponse} returns this + * Returns whether this field is set. + * @return {boolean} */ -proto.ml_metadata.GetContextsByExecutionResponse.prototype.clearContextsList = function() { - return this.setContextsList([]); +proto.ml_metadata.GetChildrenContextsByContextsRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -18163,8 +24311,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetParentContextsByContextRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetParentContextsByContextRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetChildrenContextsByContextsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetChildrenContextsByContextsResponse.toObject(opt_includeInstance, this); }; @@ -18173,14 +24321,13 @@ proto.ml_metadata.GetParentContextsByContextRequest.prototype.toObject = functio * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetParentContextsByContextRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetParentContextsByContextRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetChildrenContextsByContextsResponse.toObject = function(includeInstance, msg) { var f, obj = { - contextId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + contextsMap: (f = msg.getContextsMap()) ? f.toObject(includeInstance, proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.toObject) : [] }; if (includeInstance) { @@ -18194,37 +24341,34 @@ proto.ml_metadata.GetParentContextsByContextRequest.toObject = function(includeI /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetParentContextsByContextRequest} + * @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse} */ -proto.ml_metadata.GetParentContextsByContextRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetChildrenContextsByContextsResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetParentContextsByContextRequest; - return proto.ml_metadata.GetParentContextsByContextRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetChildrenContextsByContextsResponse; + return proto.ml_metadata.GetChildrenContextsByContextsResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetParentContextsByContextRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetParentContextsByContextRequest} + * @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse} */ -proto.ml_metadata.GetParentContextsByContextRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetChildrenContextsByContextsResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setContextId(value); - break; case 2: - var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); - msg.setTransactionOptions(value); + var value = msg.getContextsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.deserializeBinaryFromReader, 0, new proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent()); + }); break; default: reader.skipField(); @@ -18239,9 +24383,9 @@ proto.ml_metadata.GetParentContextsByContextRequest.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetParentContextsByContextRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetChildrenContextsByContextsResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetParentContextsByContextRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetChildrenContextsByContextsResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -18249,110 +24393,26 @@ proto.ml_metadata.GetParentContextsByContextRequest.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetParentContextsByContextRequest} message + * @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetParentContextsByContextRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetChildrenContextsByContextsResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeInt64( - 1, - f - ); - } - f = message.getTransactionOptions(); - if (f != null) { - writer.writeMessage( - 2, - f, - ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter - ); + f = message.getContextsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.serializeBinaryToWriter); } }; -/** - * optional int64 context_id = 1; - * @return {number} - */ -proto.ml_metadata.GetParentContextsByContextRequest.prototype.getContextId = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this - */ -proto.ml_metadata.GetParentContextsByContextRequest.prototype.setContextId = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this - */ -proto.ml_metadata.GetParentContextsByContextRequest.prototype.clearContextId = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetParentContextsByContextRequest.prototype.hasContextId = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional TransactionOptions transaction_options = 2; - * @return {?proto.ml_metadata.TransactionOptions} - */ -proto.ml_metadata.GetParentContextsByContextRequest.prototype.getTransactionOptions = function() { - return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); -}; - - -/** - * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this -*/ -proto.ml_metadata.GetParentContextsByContextRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetParentContextsByContextRequest} returns this - */ -proto.ml_metadata.GetParentContextsByContextRequest.prototype.clearTransactionOptions = function() { - return this.setTransactionOptions(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetParentContextsByContextRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 2) != null; -}; - - /** * List of repeated fields within this message type. * @private {!Array} * @const */ -proto.ml_metadata.GetParentContextsByContextResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.repeatedFields_ = [1]; @@ -18369,8 +24429,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetParentContextsByContextResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetParentContextsByContextResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.toObject(opt_includeInstance, this); }; @@ -18379,13 +24439,13 @@ proto.ml_metadata.GetParentContextsByContextResponse.prototype.toObject = functi * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetParentContextsByContextResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetParentContextsByContextResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.toObject = function(includeInstance, msg) { var f, obj = { - contextsList: jspb.Message.toObjectList(msg.getContextsList(), + childrenContextsList: jspb.Message.toObjectList(msg.getChildrenContextsList(), ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) }; @@ -18400,23 +24460,23 @@ proto.ml_metadata.GetParentContextsByContextResponse.toObject = function(include /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetParentContextsByContextResponse} + * @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} */ -proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetParentContextsByContextResponse; - return proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent; + return proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetParentContextsByContextResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetParentContextsByContextResponse} + * @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} */ -proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -18426,7 +24486,7 @@ proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinaryFromReader case 1: var value = new ml_metadata_proto_metadata_store_pb.Context; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); - msg.addContexts(value); + msg.addChildrenContexts(value); break; default: reader.skipField(); @@ -18441,9 +24501,9 @@ proto.ml_metadata.GetParentContextsByContextResponse.deserializeBinaryFromReader * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetParentContextsByContextResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetParentContextsByContextResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -18451,13 +24511,13 @@ proto.ml_metadata.GetParentContextsByContextResponse.prototype.serializeBinary = /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetParentContextsByContextResponse} message + * @param {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetParentContextsByContextResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextsList(); + f = message.getChildrenContextsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, @@ -18469,10 +24529,10 @@ proto.ml_metadata.GetParentContextsByContextResponse.serializeBinaryToWriter = f /** - * repeated Context contexts = 1; + * repeated Context children_contexts = 1; * @return {!Array} */ -proto.ml_metadata.GetParentContextsByContextResponse.prototype.getContextsList = function() { +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.getChildrenContextsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); }; @@ -18480,9 +24540,9 @@ proto.ml_metadata.GetParentContextsByContextResponse.prototype.getContextsList = /** * @param {!Array} value - * @return {!proto.ml_metadata.GetParentContextsByContextResponse} returns this + * @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} returns this */ -proto.ml_metadata.GetParentContextsByContextResponse.prototype.setContextsList = function(value) { +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.setChildrenContextsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; @@ -18492,20 +24552,42 @@ proto.ml_metadata.GetParentContextsByContextResponse.prototype.setContextsList = * @param {number=} opt_index * @return {!proto.ml_metadata.Context} */ -proto.ml_metadata.GetParentContextsByContextResponse.prototype.addContexts = function(opt_value, opt_index) { +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.addChildrenContexts = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetParentContextsByContextResponse} returns this + * @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent} returns this */ -proto.ml_metadata.GetParentContextsByContextResponse.prototype.clearContextsList = function() { - return this.setContextsList([]); +proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.prototype.clearChildrenContextsList = function() { + return this.setChildrenContextsList([]); +}; + + +/** + * map contexts = 2; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.ml_metadata.GetChildrenContextsByContextsResponse.prototype.getContextsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 2, opt_noLazyCreate, + proto.ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent)); }; +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.ml_metadata.GetChildrenContextsByContextsResponse} returns this + */ +proto.ml_metadata.GetChildrenContextsByContextsResponse.prototype.clearContextsMap = function() { + this.getContextsMap().clear(); + return this;}; + + @@ -18522,8 +24604,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetChildrenContextsByContextRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsByContextRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsByContextRequest.toObject(opt_includeInstance, this); }; @@ -18532,13 +24614,14 @@ proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsByContextRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetChildrenContextsByContextRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsByContextRequest.toObject = function(includeInstance, msg) { var f, obj = { contextId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, + options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -18553,23 +24636,23 @@ proto.ml_metadata.GetChildrenContextsByContextRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} + * @return {!proto.ml_metadata.GetArtifactsByContextRequest} */ -proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsByContextRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetChildrenContextsByContextRequest; - return proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsByContextRequest; + return proto.ml_metadata.GetArtifactsByContextRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsByContextRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} + * @return {!proto.ml_metadata.GetArtifactsByContextRequest} */ -proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsByContextRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -18581,6 +24664,11 @@ proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinaryFromReade msg.setContextId(value); break; case 2: + var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); + msg.setOptions(value); + break; + case 3: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -18598,9 +24686,9 @@ proto.ml_metadata.GetChildrenContextsByContextRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactsByContextRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetChildrenContextsByContextRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactsByContextRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -18608,11 +24696,11 @@ proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetChildrenContextsByContextRequest} message + * @param {!proto.ml_metadata.GetArtifactsByContextRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetChildrenContextsByContextRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactsByContextRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { @@ -18621,11 +24709,19 @@ proto.ml_metadata.GetChildrenContextsByContextRequest.serializeBinaryToWriter = f ); } - f = message.getTransactionOptions(); + f = message.getOptions(); if (f != null) { writer.writeMessage( 2, f, + ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter + ); + } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); } @@ -18636,25 +24732,25 @@ proto.ml_metadata.GetChildrenContextsByContextRequest.serializeBinaryToWriter = * optional int64 context_id = 1; * @return {number} */ -proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.getContextId = function() { +proto.ml_metadata.GetArtifactsByContextRequest.prototype.getContextId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this + * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this */ -proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.setContextId = function(value) { +proto.ml_metadata.GetArtifactsByContextRequest.prototype.setContextId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this + * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this */ -proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.clearContextId = function() { +proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearContextId = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -18663,35 +24759,72 @@ proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.clearContextId = * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.hasContextId = function() { +proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasContextId = function() { return jspb.Message.getField(this, 1) != null; }; /** - * optional TransactionOptions transaction_options = 2; + * optional ListOperationOptions options = 2; + * @return {?proto.ml_metadata.ListOperationOptions} + */ +proto.ml_metadata.GetArtifactsByContextRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 2)); +}; + + +/** + * @param {?proto.ml_metadata.ListOperationOptions|undefined} value + * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this +*/ +proto.ml_metadata.GetArtifactsByContextRequest.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this + */ +proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearOptions = function() { + return this.setOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasOptions = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional TransactionOptions transaction_options = 3; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetArtifactsByContextRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this + * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this */ -proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 2, value); +proto.ml_metadata.GetArtifactsByContextRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetChildrenContextsByContextRequest} returns this + * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this */ -proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -18700,8 +24833,8 @@ proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.clearTransaction * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 3) != null; }; @@ -18711,7 +24844,7 @@ proto.ml_metadata.GetChildrenContextsByContextRequest.prototype.hasTransactionOp * @private {!Array} * @const */ -proto.ml_metadata.GetChildrenContextsByContextResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetArtifactsByContextResponse.repeatedFields_ = [1]; @@ -18728,8 +24861,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetChildrenContextsByContextResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetArtifactsByContextResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetArtifactsByContextResponse.toObject(opt_includeInstance, this); }; @@ -18738,14 +24871,15 @@ proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.toObject = func * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetChildrenContextsByContextResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetArtifactsByContextResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetChildrenContextsByContextResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetArtifactsByContextResponse.toObject = function(includeInstance, msg) { var f, obj = { - contextsList: jspb.Message.toObjectList(msg.getContextsList(), - ml_metadata_proto_metadata_store_pb.Context.toObject, includeInstance) + artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), + ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance), + nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -18759,23 +24893,23 @@ proto.ml_metadata.GetChildrenContextsByContextResponse.toObject = function(inclu /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetChildrenContextsByContextResponse} + * @return {!proto.ml_metadata.GetArtifactsByContextResponse} */ -proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetChildrenContextsByContextResponse; - return proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetArtifactsByContextResponse; + return proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetChildrenContextsByContextResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetArtifactsByContextResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetChildrenContextsByContextResponse} + * @return {!proto.ml_metadata.GetArtifactsByContextResponse} */ -proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -18783,9 +24917,13 @@ proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinaryFromRead var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Context; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Context.deserializeBinaryFromReader); - msg.addContexts(value); + var value = new ml_metadata_proto_metadata_store_pb.Artifact; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); + msg.addArtifacts(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setNextPageToken(value); break; default: reader.skipField(); @@ -18800,9 +24938,9 @@ proto.ml_metadata.GetChildrenContextsByContextResponse.deserializeBinaryFromRead * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetArtifactsByContextResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetChildrenContextsByContextResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetArtifactsByContextResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -18810,58 +24948,101 @@ proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetChildrenContextsByContextResponse} message + * @param {!proto.ml_metadata.GetArtifactsByContextResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetChildrenContextsByContextResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetArtifactsByContextResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getContextsList(); + f = message.getArtifactsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Context.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f ); } }; /** - * repeated Context contexts = 1; - * @return {!Array} + * repeated Artifact artifacts = 1; + * @return {!Array} */ -proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.getContextsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Context, 1)); +proto.ml_metadata.GetArtifactsByContextResponse.prototype.getArtifactsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetChildrenContextsByContextResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this */ -proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.setContextsList = function(value) { +proto.ml_metadata.GetArtifactsByContextResponse.prototype.setArtifactsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Context=} opt_value + * @param {!proto.ml_metadata.Artifact=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Context} + * @return {!proto.ml_metadata.Artifact} */ -proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.addContexts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Context, opt_index); +proto.ml_metadata.GetArtifactsByContextResponse.prototype.addArtifacts = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetChildrenContextsByContextResponse} returns this + * @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this */ -proto.ml_metadata.GetChildrenContextsByContextResponse.prototype.clearContextsList = function() { - return this.setContextsList([]); +proto.ml_metadata.GetArtifactsByContextResponse.prototype.clearArtifactsList = function() { + return this.setArtifactsList([]); +}; + + +/** + * optional string next_page_token = 2; + * @return {string} + */ +proto.ml_metadata.GetArtifactsByContextResponse.prototype.getNextPageToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this + */ +proto.ml_metadata.GetArtifactsByContextResponse.prototype.setNextPageToken = function(value) { + return jspb.Message.setField(this, 2, value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this + */ +proto.ml_metadata.GetArtifactsByContextResponse.prototype.clearNextPageToken = function() { + return jspb.Message.setField(this, 2, undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetArtifactsByContextResponse.prototype.hasNextPageToken = function() { + return jspb.Message.getField(this, 2) != null; }; @@ -18881,8 +25062,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactsByContextRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionsByContextRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionsByContextRequest.toObject(opt_includeInstance, this); }; @@ -18891,11 +25072,11 @@ proto.ml_metadata.GetArtifactsByContextRequest.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactsByContextRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionsByContextRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByContextRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionsByContextRequest.toObject = function(includeInstance, msg) { var f, obj = { contextId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), @@ -18913,23 +25094,23 @@ proto.ml_metadata.GetArtifactsByContextRequest.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactsByContextRequest} + * @return {!proto.ml_metadata.GetExecutionsByContextRequest} */ -proto.ml_metadata.GetArtifactsByContextRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactsByContextRequest; - return proto.ml_metadata.GetArtifactsByContextRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionsByContextRequest; + return proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactsByContextRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionsByContextRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactsByContextRequest} + * @return {!proto.ml_metadata.GetExecutionsByContextRequest} */ -proto.ml_metadata.GetArtifactsByContextRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -18963,9 +25144,9 @@ proto.ml_metadata.GetArtifactsByContextRequest.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactsByContextRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionsByContextRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -18973,11 +25154,11 @@ proto.ml_metadata.GetArtifactsByContextRequest.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactsByContextRequest} message + * @param {!proto.ml_metadata.GetExecutionsByContextRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByContextRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionsByContextRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { @@ -19009,25 +25190,25 @@ proto.ml_metadata.GetArtifactsByContextRequest.serializeBinaryToWriter = functio * optional int64 context_id = 1; * @return {number} */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.getContextId = function() { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.getContextId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value - * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this + * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.setContextId = function(value) { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.setContextId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this + * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearContextId = function() { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearContextId = function() { return jspb.Message.setField(this, 1, undefined); }; @@ -19036,7 +25217,7 @@ proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearContextId = functi * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasContextId = function() { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.hasContextId = function() { return jspb.Message.getField(this, 1) != null; }; @@ -19045,7 +25226,7 @@ proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasContextId = function * optional ListOperationOptions options = 2; * @return {?proto.ml_metadata.ListOperationOptions} */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.getOptions = function() { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.getOptions = function() { return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 2)); }; @@ -19053,18 +25234,18 @@ proto.ml_metadata.GetArtifactsByContextRequest.prototype.getOptions = function() /** * @param {?proto.ml_metadata.ListOperationOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this + * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.setOptions = function(value) { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.setOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this + * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearOptions = function() { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearOptions = function() { return this.setOptions(undefined); }; @@ -19073,7 +25254,7 @@ proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearOptions = function * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasOptions = function() { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.hasOptions = function() { return jspb.Message.getField(this, 2) != null; }; @@ -19082,7 +25263,7 @@ proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasOptions = function() * optional TransactionOptions transaction_options = 3; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); }; @@ -19090,18 +25271,18 @@ proto.ml_metadata.GetArtifactsByContextRequest.prototype.getTransactionOptions = /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this + * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByContextRequest} returns this + * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -19110,7 +25291,7 @@ proto.ml_metadata.GetArtifactsByContextRequest.prototype.clearTransactionOptions * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetExecutionsByContextRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 3) != null; }; @@ -19121,7 +25302,7 @@ proto.ml_metadata.GetArtifactsByContextRequest.prototype.hasTransactionOptions = * @private {!Array} * @const */ -proto.ml_metadata.GetArtifactsByContextResponse.repeatedFields_ = [1]; +proto.ml_metadata.GetExecutionsByContextResponse.repeatedFields_ = [1]; @@ -19138,8 +25319,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetArtifactsByContextResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetArtifactsByContextResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetExecutionsByContextResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetExecutionsByContextResponse.toObject(opt_includeInstance, this); }; @@ -19148,15 +25329,16 @@ proto.ml_metadata.GetArtifactsByContextResponse.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetArtifactsByContextResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetExecutionsByContextResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByContextResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetExecutionsByContextResponse.toObject = function(includeInstance, msg) { var f, obj = { - artifactsList: jspb.Message.toObjectList(msg.getArtifactsList(), - ml_metadata_proto_metadata_store_pb.Artifact.toObject, includeInstance), - nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f + executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), + ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance), + nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, + transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; if (includeInstance) { @@ -19170,23 +25352,23 @@ proto.ml_metadata.GetArtifactsByContextResponse.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetArtifactsByContextResponse} + * @return {!proto.ml_metadata.GetExecutionsByContextResponse} */ -proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetArtifactsByContextResponse; - return proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetExecutionsByContextResponse; + return proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetArtifactsByContextResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetExecutionsByContextResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetArtifactsByContextResponse} + * @return {!proto.ml_metadata.GetExecutionsByContextResponse} */ -proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -19194,14 +25376,19 @@ proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Artifact; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Artifact.deserializeBinaryFromReader); - msg.addArtifacts(value); + var value = new ml_metadata_proto_metadata_store_pb.Execution; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); + msg.addExecutions(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setNextPageToken(value); break; + case 3: + var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); + msg.setTransactionOptions(value); + break; default: reader.skipField(); break; @@ -19215,9 +25402,9 @@ proto.ml_metadata.GetArtifactsByContextResponse.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetArtifactsByContextResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetExecutionsByContextResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetArtifactsByContextResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetExecutionsByContextResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -19225,18 +25412,18 @@ proto.ml_metadata.GetArtifactsByContextResponse.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetArtifactsByContextResponse} message + * @param {!proto.ml_metadata.GetExecutionsByContextResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetArtifactsByContextResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetExecutionsByContextResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getArtifactsList(); + f = message.getExecutionsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, - ml_metadata_proto_metadata_store_pb.Artifact.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); @@ -19246,44 +25433,52 @@ proto.ml_metadata.GetArtifactsByContextResponse.serializeBinaryToWriter = functi f ); } + f = message.getTransactionOptions(); + if (f != null) { + writer.writeMessage( + 3, + f, + ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ); + } }; /** - * repeated Artifact artifacts = 1; - * @return {!Array} + * repeated Execution executions = 1; + * @return {!Array} */ -proto.ml_metadata.GetArtifactsByContextResponse.prototype.getArtifactsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Artifact, 1)); +proto.ml_metadata.GetExecutionsByContextResponse.prototype.getExecutionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); }; /** - * @param {!Array} value - * @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this + * @param {!Array} value + * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this */ -proto.ml_metadata.GetArtifactsByContextResponse.prototype.setArtifactsList = function(value) { +proto.ml_metadata.GetExecutionsByContextResponse.prototype.setExecutionsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * @param {!proto.ml_metadata.Artifact=} opt_value + * @param {!proto.ml_metadata.Execution=} opt_value * @param {number=} opt_index - * @return {!proto.ml_metadata.Artifact} + * @return {!proto.ml_metadata.Execution} */ -proto.ml_metadata.GetArtifactsByContextResponse.prototype.addArtifacts = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Artifact, opt_index); +proto.ml_metadata.GetExecutionsByContextResponse.prototype.addExecutions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this + * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this */ -proto.ml_metadata.GetArtifactsByContextResponse.prototype.clearArtifactsList = function() { - return this.setArtifactsList([]); +proto.ml_metadata.GetExecutionsByContextResponse.prototype.clearExecutionsList = function() { + return this.setExecutionsList([]); }; @@ -19291,25 +25486,25 @@ proto.ml_metadata.GetArtifactsByContextResponse.prototype.clearArtifactsList = f * optional string next_page_token = 2; * @return {string} */ -proto.ml_metadata.GetArtifactsByContextResponse.prototype.getNextPageToken = function() { +proto.ml_metadata.GetExecutionsByContextResponse.prototype.getNextPageToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this + * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this */ -proto.ml_metadata.GetArtifactsByContextResponse.prototype.setNextPageToken = function(value) { +proto.ml_metadata.GetExecutionsByContextResponse.prototype.setNextPageToken = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetArtifactsByContextResponse} returns this + * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this */ -proto.ml_metadata.GetArtifactsByContextResponse.prototype.clearNextPageToken = function() { +proto.ml_metadata.GetExecutionsByContextResponse.prototype.clearNextPageToken = function() { return jspb.Message.setField(this, 2, undefined); }; @@ -19318,11 +25513,48 @@ proto.ml_metadata.GetArtifactsByContextResponse.prototype.clearNextPageToken = f * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetArtifactsByContextResponse.prototype.hasNextPageToken = function() { +proto.ml_metadata.GetExecutionsByContextResponse.prototype.hasNextPageToken = function() { return jspb.Message.getField(this, 2) != null; }; +/** + * optional TransactionOptions transaction_options = 3; + * @return {?proto.ml_metadata.TransactionOptions} + */ +proto.ml_metadata.GetExecutionsByContextResponse.prototype.getTransactionOptions = function() { + return /** @type{?proto.ml_metadata.TransactionOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); +}; + + +/** + * @param {?proto.ml_metadata.TransactionOptions|undefined} value + * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this +*/ +proto.ml_metadata.GetExecutionsByContextResponse.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this + */ +proto.ml_metadata.GetExecutionsByContextResponse.prototype.clearTransactionOptions = function() { + return this.setTransactionOptions(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetExecutionsByContextResponse.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 3) != null; +}; + + @@ -19339,8 +25571,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionsByContextRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetLineageGraphRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetLineageGraphRequest.toObject(opt_includeInstance, this); }; @@ -19349,14 +25581,13 @@ proto.ml_metadata.GetExecutionsByContextRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionsByContextRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetLineageGraphRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByContextRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetLineageGraphRequest.toObject = function(includeInstance, msg) { var f, obj = { - contextId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, - options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.ListOperationOptions.toObject(includeInstance, f), + options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions.toObject(includeInstance, f), transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -19371,23 +25602,23 @@ proto.ml_metadata.GetExecutionsByContextRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionsByContextRequest} + * @return {!proto.ml_metadata.GetLineageGraphRequest} */ -proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetLineageGraphRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionsByContextRequest; - return proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetLineageGraphRequest; + return proto.ml_metadata.GetLineageGraphRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionsByContextRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetLineageGraphRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionsByContextRequest} + * @return {!proto.ml_metadata.GetLineageGraphRequest} */ -proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetLineageGraphRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -19395,15 +25626,11 @@ proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {number} */ (reader.readInt64()); - msg.setContextId(value); - break; - case 2: - var value = new ml_metadata_proto_metadata_store_pb.ListOperationOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.ListOperationOptions.deserializeBinaryFromReader); + var value = new ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions.deserializeBinaryFromReader); msg.setOptions(value); break; - case 3: + case 2: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); msg.setTransactionOptions(value); @@ -19421,9 +25648,9 @@ proto.ml_metadata.GetExecutionsByContextRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetLineageGraphRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionsByContextRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetLineageGraphRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -19431,31 +25658,24 @@ proto.ml_metadata.GetExecutionsByContextRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionsByContextRequest} message + * @param {!proto.ml_metadata.GetLineageGraphRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByContextRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetLineageGraphRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = /** @type {number} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeInt64( - 1, - f - ); - } f = message.getOptions(); if (f != null) { writer.writeMessage( - 2, + 1, f, - ml_metadata_proto_metadata_store_pb.ListOperationOptions.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions.serializeBinaryToWriter ); } f = message.getTransactionOptions(); if (f != null) { writer.writeMessage( - 3, + 2, f, ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter ); @@ -19464,65 +25684,29 @@ proto.ml_metadata.GetExecutionsByContextRequest.serializeBinaryToWriter = functi /** - * optional int64 context_id = 1; - * @return {number} - */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.getContextId = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this - */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.setContextId = function(value) { - return jspb.Message.setField(this, 1, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this - */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearContextId = function() { - return jspb.Message.setField(this, 1, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.hasContextId = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional ListOperationOptions options = 2; - * @return {?proto.ml_metadata.ListOperationOptions} + * optional LineageGraphQueryOptions options = 1; + * @return {?proto.ml_metadata.LineageGraphQueryOptions} */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.getOptions = function() { - return /** @type{?proto.ml_metadata.ListOperationOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.ListOperationOptions, 2)); +proto.ml_metadata.GetLineageGraphRequest.prototype.getOptions = function() { + return /** @type{?proto.ml_metadata.LineageGraphQueryOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions, 1)); }; /** - * @param {?proto.ml_metadata.ListOperationOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this + * @param {?proto.ml_metadata.LineageGraphQueryOptions|undefined} value + * @return {!proto.ml_metadata.GetLineageGraphRequest} returns this */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.setOptions = function(value) { - return jspb.Message.setWrapperField(this, 2, value); +proto.ml_metadata.GetLineageGraphRequest.prototype.setOptions = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this + * @return {!proto.ml_metadata.GetLineageGraphRequest} returns this */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearOptions = function() { +proto.ml_metadata.GetLineageGraphRequest.prototype.clearOptions = function() { return this.setOptions(undefined); }; @@ -19531,35 +25715,35 @@ proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearOptions = functio * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.hasOptions = function() { - return jspb.Message.getField(this, 2) != null; +proto.ml_metadata.GetLineageGraphRequest.prototype.hasOptions = function() { + return jspb.Message.getField(this, 1) != null; }; /** - * optional TransactionOptions transaction_options = 3; + * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetLineageGraphRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this + * @return {!proto.ml_metadata.GetLineageGraphRequest} returns this */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 3, value); +proto.ml_metadata.GetLineageGraphRequest.prototype.setTransactionOptions = function(value) { + return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByContextRequest} returns this + * @return {!proto.ml_metadata.GetLineageGraphRequest} returns this */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetLineageGraphRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -19568,19 +25752,12 @@ proto.ml_metadata.GetExecutionsByContextRequest.prototype.clearTransactionOption * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionsByContextRequest.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetLineageGraphRequest.prototype.hasTransactionOptions = function() { + return jspb.Message.getField(this, 2) != null; }; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.ml_metadata.GetExecutionsByContextResponse.repeatedFields_ = [1]; - if (jspb.Message.GENERATE_TO_OBJECT) { @@ -19596,8 +25773,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetExecutionsByContextResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetLineageGraphResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetLineageGraphResponse.toObject(opt_includeInstance, this); }; @@ -19606,16 +25783,13 @@ proto.ml_metadata.GetExecutionsByContextResponse.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetExecutionsByContextResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetLineageGraphResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByContextResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetLineageGraphResponse.toObject = function(includeInstance, msg) { var f, obj = { - executionsList: jspb.Message.toObjectList(msg.getExecutionsList(), - ml_metadata_proto_metadata_store_pb.Execution.toObject, includeInstance), - nextPageToken: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, - transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) + subgraph: (f = msg.getSubgraph()) && ml_metadata_proto_metadata_store_pb.LineageGraph.toObject(includeInstance, f) }; if (includeInstance) { @@ -19629,23 +25803,23 @@ proto.ml_metadata.GetExecutionsByContextResponse.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetExecutionsByContextResponse} + * @return {!proto.ml_metadata.GetLineageGraphResponse} */ -proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetLineageGraphResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetExecutionsByContextResponse; - return proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetLineageGraphResponse; + return proto.ml_metadata.GetLineageGraphResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetExecutionsByContextResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetLineageGraphResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetExecutionsByContextResponse} + * @return {!proto.ml_metadata.GetLineageGraphResponse} */ -proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetLineageGraphResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -19653,18 +25827,9 @@ proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinaryFromReader = f var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.Execution; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.Execution.deserializeBinaryFromReader); - msg.addExecutions(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setNextPageToken(value); - break; - case 3: - var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.TransactionOptions.deserializeBinaryFromReader); - msg.setTransactionOptions(value); + var value = new ml_metadata_proto_metadata_store_pb.LineageGraph; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.LineageGraph.deserializeBinaryFromReader); + msg.setSubgraph(value); break; default: reader.skipField(); @@ -19679,9 +25844,9 @@ proto.ml_metadata.GetExecutionsByContextResponse.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetLineageGraphResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetExecutionsByContextResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetLineageGraphResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -19689,137 +25854,48 @@ proto.ml_metadata.GetExecutionsByContextResponse.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetExecutionsByContextResponse} message + * @param {!proto.ml_metadata.GetLineageGraphResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetExecutionsByContextResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetLineageGraphResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getExecutionsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - ml_metadata_proto_metadata_store_pb.Execution.serializeBinaryToWriter - ); - } - f = /** @type {string} */ (jspb.Message.getField(message, 2)); - if (f != null) { - writer.writeString( - 2, - f - ); - } - f = message.getTransactionOptions(); + f = message.getSubgraph(); if (f != null) { writer.writeMessage( - 3, + 1, f, - ml_metadata_proto_metadata_store_pb.TransactionOptions.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.LineageGraph.serializeBinaryToWriter ); } }; /** - * repeated Execution executions = 1; - * @return {!Array} - */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.getExecutionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, ml_metadata_proto_metadata_store_pb.Execution, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this -*/ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.setExecutionsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - - -/** - * @param {!proto.ml_metadata.Execution=} opt_value - * @param {number=} opt_index - * @return {!proto.ml_metadata.Execution} - */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.addExecutions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ml_metadata.Execution, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this - */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.clearExecutionsList = function() { - return this.setExecutionsList([]); -}; - - -/** - * optional string next_page_token = 2; - * @return {string} - */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.getNextPageToken = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this - */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.setNextPageToken = function(value) { - return jspb.Message.setField(this, 2, value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this - */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.clearNextPageToken = function() { - return jspb.Message.setField(this, 2, undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.hasNextPageToken = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional TransactionOptions transaction_options = 3; - * @return {?proto.ml_metadata.TransactionOptions} + * optional LineageGraph subgraph = 1; + * @return {?proto.ml_metadata.LineageGraph} */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.getTransactionOptions = function() { - return /** @type{?proto.ml_metadata.TransactionOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 3)); +proto.ml_metadata.GetLineageGraphResponse.prototype.getSubgraph = function() { + return /** @type{?proto.ml_metadata.LineageGraph} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.LineageGraph, 1)); }; /** - * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this + * @param {?proto.ml_metadata.LineageGraph|undefined} value + * @return {!proto.ml_metadata.GetLineageGraphResponse} returns this */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.setTransactionOptions = function(value) { - return jspb.Message.setWrapperField(this, 3, value); +proto.ml_metadata.GetLineageGraphResponse.prototype.setSubgraph = function(value) { + return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetExecutionsByContextResponse} returns this + * @return {!proto.ml_metadata.GetLineageGraphResponse} returns this */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.clearTransactionOptions = function() { - return this.setTransactionOptions(undefined); +proto.ml_metadata.GetLineageGraphResponse.prototype.clearSubgraph = function() { + return this.setSubgraph(undefined); }; @@ -19827,8 +25903,8 @@ proto.ml_metadata.GetExecutionsByContextResponse.prototype.clearTransactionOptio * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetExecutionsByContextResponse.prototype.hasTransactionOptions = function() { - return jspb.Message.getField(this, 3) != null; +proto.ml_metadata.GetLineageGraphResponse.prototype.hasSubgraph = function() { + return jspb.Message.getField(this, 1) != null; }; @@ -19848,8 +25924,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetLineageGraphRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetLineageGraphRequest.toObject(opt_includeInstance, this); +proto.ml_metadata.GetLineageSubgraphRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetLineageSubgraphRequest.toObject(opt_includeInstance, this); }; @@ -19858,13 +25934,14 @@ proto.ml_metadata.GetLineageGraphRequest.prototype.toObject = function(opt_inclu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetLineageGraphRequest} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetLineageSubgraphRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetLineageGraphRequest.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetLineageSubgraphRequest.toObject = function(includeInstance, msg) { var f, obj = { - options: (f = msg.getOptions()) && ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions.toObject(includeInstance, f), + lineageSubgraphQueryOptions: (f = msg.getLineageSubgraphQueryOptions()) && ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions.toObject(includeInstance, f), + readMask: (f = msg.getReadMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f), transactionOptions: (f = msg.getTransactionOptions()) && ml_metadata_proto_metadata_store_pb.TransactionOptions.toObject(includeInstance, f) }; @@ -19879,23 +25956,23 @@ proto.ml_metadata.GetLineageGraphRequest.toObject = function(includeInstance, ms /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetLineageGraphRequest} + * @return {!proto.ml_metadata.GetLineageSubgraphRequest} */ -proto.ml_metadata.GetLineageGraphRequest.deserializeBinary = function(bytes) { +proto.ml_metadata.GetLineageSubgraphRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetLineageGraphRequest; - return proto.ml_metadata.GetLineageGraphRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetLineageSubgraphRequest; + return proto.ml_metadata.GetLineageSubgraphRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetLineageGraphRequest} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetLineageSubgraphRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetLineageGraphRequest} + * @return {!proto.ml_metadata.GetLineageSubgraphRequest} */ -proto.ml_metadata.GetLineageGraphRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetLineageSubgraphRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -19903,9 +25980,14 @@ proto.ml_metadata.GetLineageGraphRequest.deserializeBinaryFromReader = function( var field = reader.getFieldNumber(); switch (field) { case 1: - var value = new ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions; - reader.readMessage(value,ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions.deserializeBinaryFromReader); - msg.setOptions(value); + var value = new ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions; + reader.readMessage(value,ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions.deserializeBinaryFromReader); + msg.setLineageSubgraphQueryOptions(value); + break; + case 3: + var value = new google_protobuf_field_mask_pb.FieldMask; + reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader); + msg.setReadMask(value); break; case 2: var value = new ml_metadata_proto_metadata_store_pb.TransactionOptions; @@ -19925,9 +26007,9 @@ proto.ml_metadata.GetLineageGraphRequest.deserializeBinaryFromReader = function( * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetLineageGraphRequest.prototype.serializeBinary = function() { +proto.ml_metadata.GetLineageSubgraphRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetLineageGraphRequest.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetLineageSubgraphRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -19935,18 +26017,26 @@ proto.ml_metadata.GetLineageGraphRequest.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetLineageGraphRequest} message + * @param {!proto.ml_metadata.GetLineageSubgraphRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetLineageGraphRequest.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetLineageSubgraphRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getOptions(); + f = message.getLineageSubgraphQueryOptions(); if (f != null) { writer.writeMessage( 1, f, - ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions.serializeBinaryToWriter + ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions.serializeBinaryToWriter + ); + } + f = message.getReadMask(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter ); } f = message.getTransactionOptions(); @@ -19961,30 +26051,30 @@ proto.ml_metadata.GetLineageGraphRequest.serializeBinaryToWriter = function(mess /** - * optional LineageGraphQueryOptions options = 1; - * @return {?proto.ml_metadata.LineageGraphQueryOptions} + * optional LineageSubgraphQueryOptions lineage_subgraph_query_options = 1; + * @return {?proto.ml_metadata.LineageSubgraphQueryOptions} */ -proto.ml_metadata.GetLineageGraphRequest.prototype.getOptions = function() { - return /** @type{?proto.ml_metadata.LineageGraphQueryOptions} */ ( - jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.LineageGraphQueryOptions, 1)); +proto.ml_metadata.GetLineageSubgraphRequest.prototype.getLineageSubgraphQueryOptions = function() { + return /** @type{?proto.ml_metadata.LineageSubgraphQueryOptions} */ ( + jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.LineageSubgraphQueryOptions, 1)); }; /** - * @param {?proto.ml_metadata.LineageGraphQueryOptions|undefined} value - * @return {!proto.ml_metadata.GetLineageGraphRequest} returns this + * @param {?proto.ml_metadata.LineageSubgraphQueryOptions|undefined} value + * @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this */ -proto.ml_metadata.GetLineageGraphRequest.prototype.setOptions = function(value) { +proto.ml_metadata.GetLineageSubgraphRequest.prototype.setLineageSubgraphQueryOptions = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetLineageGraphRequest} returns this + * @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this */ -proto.ml_metadata.GetLineageGraphRequest.prototype.clearOptions = function() { - return this.setOptions(undefined); +proto.ml_metadata.GetLineageSubgraphRequest.prototype.clearLineageSubgraphQueryOptions = function() { + return this.setLineageSubgraphQueryOptions(undefined); }; @@ -19992,16 +26082,53 @@ proto.ml_metadata.GetLineageGraphRequest.prototype.clearOptions = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetLineageGraphRequest.prototype.hasOptions = function() { +proto.ml_metadata.GetLineageSubgraphRequest.prototype.hasLineageSubgraphQueryOptions = function() { return jspb.Message.getField(this, 1) != null; }; +/** + * optional google.protobuf.FieldMask read_mask = 3; + * @return {?proto.google.protobuf.FieldMask} + */ +proto.ml_metadata.GetLineageSubgraphRequest.prototype.getReadMask = function() { + return /** @type{?proto.google.protobuf.FieldMask} */ ( + jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3)); +}; + + +/** + * @param {?proto.google.protobuf.FieldMask|undefined} value + * @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this +*/ +proto.ml_metadata.GetLineageSubgraphRequest.prototype.setReadMask = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this + */ +proto.ml_metadata.GetLineageSubgraphRequest.prototype.clearReadMask = function() { + return this.setReadMask(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ml_metadata.GetLineageSubgraphRequest.prototype.hasReadMask = function() { + return jspb.Message.getField(this, 3) != null; +}; + + /** * optional TransactionOptions transaction_options = 2; * @return {?proto.ml_metadata.TransactionOptions} */ -proto.ml_metadata.GetLineageGraphRequest.prototype.getTransactionOptions = function() { +proto.ml_metadata.GetLineageSubgraphRequest.prototype.getTransactionOptions = function() { return /** @type{?proto.ml_metadata.TransactionOptions} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.TransactionOptions, 2)); }; @@ -20009,18 +26136,18 @@ proto.ml_metadata.GetLineageGraphRequest.prototype.getTransactionOptions = funct /** * @param {?proto.ml_metadata.TransactionOptions|undefined} value - * @return {!proto.ml_metadata.GetLineageGraphRequest} returns this + * @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this */ -proto.ml_metadata.GetLineageGraphRequest.prototype.setTransactionOptions = function(value) { +proto.ml_metadata.GetLineageSubgraphRequest.prototype.setTransactionOptions = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetLineageGraphRequest} returns this + * @return {!proto.ml_metadata.GetLineageSubgraphRequest} returns this */ -proto.ml_metadata.GetLineageGraphRequest.prototype.clearTransactionOptions = function() { +proto.ml_metadata.GetLineageSubgraphRequest.prototype.clearTransactionOptions = function() { return this.setTransactionOptions(undefined); }; @@ -20029,7 +26156,7 @@ proto.ml_metadata.GetLineageGraphRequest.prototype.clearTransactionOptions = fun * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetLineageGraphRequest.prototype.hasTransactionOptions = function() { +proto.ml_metadata.GetLineageSubgraphRequest.prototype.hasTransactionOptions = function() { return jspb.Message.getField(this, 2) != null; }; @@ -20050,8 +26177,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.ml_metadata.GetLineageGraphResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ml_metadata.GetLineageGraphResponse.toObject(opt_includeInstance, this); +proto.ml_metadata.GetLineageSubgraphResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ml_metadata.GetLineageSubgraphResponse.toObject(opt_includeInstance, this); }; @@ -20060,13 +26187,13 @@ proto.ml_metadata.GetLineageGraphResponse.prototype.toObject = function(opt_incl * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.ml_metadata.GetLineageGraphResponse} msg The msg instance to transform. + * @param {!proto.ml_metadata.GetLineageSubgraphResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetLineageGraphResponse.toObject = function(includeInstance, msg) { +proto.ml_metadata.GetLineageSubgraphResponse.toObject = function(includeInstance, msg) { var f, obj = { - subgraph: (f = msg.getSubgraph()) && ml_metadata_proto_metadata_store_pb.LineageGraph.toObject(includeInstance, f) + lineageSubgraph: (f = msg.getLineageSubgraph()) && ml_metadata_proto_metadata_store_pb.LineageGraph.toObject(includeInstance, f) }; if (includeInstance) { @@ -20080,23 +26207,23 @@ proto.ml_metadata.GetLineageGraphResponse.toObject = function(includeInstance, m /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ml_metadata.GetLineageGraphResponse} + * @return {!proto.ml_metadata.GetLineageSubgraphResponse} */ -proto.ml_metadata.GetLineageGraphResponse.deserializeBinary = function(bytes) { +proto.ml_metadata.GetLineageSubgraphResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ml_metadata.GetLineageGraphResponse; - return proto.ml_metadata.GetLineageGraphResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.ml_metadata.GetLineageSubgraphResponse; + return proto.ml_metadata.GetLineageSubgraphResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.ml_metadata.GetLineageGraphResponse} msg The message object to deserialize into. + * @param {!proto.ml_metadata.GetLineageSubgraphResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ml_metadata.GetLineageGraphResponse} + * @return {!proto.ml_metadata.GetLineageSubgraphResponse} */ -proto.ml_metadata.GetLineageGraphResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.ml_metadata.GetLineageSubgraphResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -20106,7 +26233,7 @@ proto.ml_metadata.GetLineageGraphResponse.deserializeBinaryFromReader = function case 1: var value = new ml_metadata_proto_metadata_store_pb.LineageGraph; reader.readMessage(value,ml_metadata_proto_metadata_store_pb.LineageGraph.deserializeBinaryFromReader); - msg.setSubgraph(value); + msg.setLineageSubgraph(value); break; default: reader.skipField(); @@ -20121,9 +26248,9 @@ proto.ml_metadata.GetLineageGraphResponse.deserializeBinaryFromReader = function * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.ml_metadata.GetLineageGraphResponse.prototype.serializeBinary = function() { +proto.ml_metadata.GetLineageSubgraphResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.ml_metadata.GetLineageGraphResponse.serializeBinaryToWriter(this, writer); + proto.ml_metadata.GetLineageSubgraphResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -20131,13 +26258,13 @@ proto.ml_metadata.GetLineageGraphResponse.prototype.serializeBinary = function() /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.ml_metadata.GetLineageGraphResponse} message + * @param {!proto.ml_metadata.GetLineageSubgraphResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.ml_metadata.GetLineageGraphResponse.serializeBinaryToWriter = function(message, writer) { +proto.ml_metadata.GetLineageSubgraphResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getSubgraph(); + f = message.getLineageSubgraph(); if (f != null) { writer.writeMessage( 1, @@ -20149,10 +26276,10 @@ proto.ml_metadata.GetLineageGraphResponse.serializeBinaryToWriter = function(mes /** - * optional LineageGraph subgraph = 1; + * optional LineageGraph lineage_subgraph = 1; * @return {?proto.ml_metadata.LineageGraph} */ -proto.ml_metadata.GetLineageGraphResponse.prototype.getSubgraph = function() { +proto.ml_metadata.GetLineageSubgraphResponse.prototype.getLineageSubgraph = function() { return /** @type{?proto.ml_metadata.LineageGraph} */ ( jspb.Message.getWrapperField(this, ml_metadata_proto_metadata_store_pb.LineageGraph, 1)); }; @@ -20160,19 +26287,19 @@ proto.ml_metadata.GetLineageGraphResponse.prototype.getSubgraph = function() { /** * @param {?proto.ml_metadata.LineageGraph|undefined} value - * @return {!proto.ml_metadata.GetLineageGraphResponse} returns this + * @return {!proto.ml_metadata.GetLineageSubgraphResponse} returns this */ -proto.ml_metadata.GetLineageGraphResponse.prototype.setSubgraph = function(value) { +proto.ml_metadata.GetLineageSubgraphResponse.prototype.setLineageSubgraph = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. - * @return {!proto.ml_metadata.GetLineageGraphResponse} returns this + * @return {!proto.ml_metadata.GetLineageSubgraphResponse} returns this */ -proto.ml_metadata.GetLineageGraphResponse.prototype.clearSubgraph = function() { - return this.setSubgraph(undefined); +proto.ml_metadata.GetLineageSubgraphResponse.prototype.clearLineageSubgraph = function() { + return this.setLineageSubgraph(undefined); }; @@ -20180,7 +26307,7 @@ proto.ml_metadata.GetLineageGraphResponse.prototype.clearSubgraph = function() { * Returns whether this field is set. * @return {boolean} */ -proto.ml_metadata.GetLineageGraphResponse.prototype.hasSubgraph = function() { +proto.ml_metadata.GetLineageSubgraphResponse.prototype.hasLineageSubgraph = function() { return jspb.Message.getField(this, 1) != null; }; diff --git a/go.mod b/go.mod index d88deba061c..5a6fffb1489 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,6 @@ require ( github.com/cenkalti/backoff v2.2.1+incompatible github.com/eapache/go-resiliency v1.2.0 github.com/elazarl/goproxy v0.0.0-20181111060418-2ce16c963a8a // indirect - github.com/emicklei/go-restful v2.15.0+incompatible // indirect github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 // indirect github.com/fsnotify/fsnotify v1.5.1 github.com/go-openapi/errors v0.20.2 @@ -32,7 +31,7 @@ require ( github.com/jinzhu/now v1.1.4 // indirect github.com/kubeflow/pipelines/api v0.0.0-20230331215358-758c91f76784 github.com/kubeflow/pipelines/kubernetes_platform v0.0.0-20230404213301-bd9f74e34de6 - github.com/kubeflow/pipelines/third_party/ml-metadata v0.0.0-20220118175555-e78ed557ddcb + github.com/kubeflow/pipelines/third_party/ml-metadata v0.0.0-20230810215105-e1f0c010f800 github.com/lestrrat-go/strftime v1.0.4 github.com/mattn/go-sqlite3 v1.14.16 github.com/minio/minio-go/v6 v6.0.57 diff --git a/go.sum b/go.sum index 70508caa624..c699186bd59 100644 --- a/go.sum +++ b/go.sum @@ -360,8 +360,6 @@ github.com/elazarl/goproxy v0.0.0-20181111060418-2ce16c963a8a/go.mod h1:/Zj4wYkg 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 v2.12.0+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emicklei/go-restful v2.15.0+incompatible h1:8KpYO/Xl/ZudZs5RNOEhWMBY4hmzlZhhRd9cu+jrZP4= -github.com/emicklei/go-restful v2.15.0+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful/v3 v3.8.0 h1:eCZ8ulSerjdAiaNpF7GxXIE7ZCMo1moN1qX+S609eVw= github.com/emicklei/go-restful/v3 v3.8.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= @@ -938,8 +936,8 @@ github.com/kubeflow/pipelines/api v0.0.0-20230331215358-758c91f76784 h1:ZVCoqnKn github.com/kubeflow/pipelines/api v0.0.0-20230331215358-758c91f76784/go.mod h1:T7TOQB36gGe97yUdfVAnYK5uuT0+uQbLNHDUHxYkmE4= github.com/kubeflow/pipelines/kubernetes_platform v0.0.0-20230404213301-bd9f74e34de6 h1:ApWW5ZH45ruvQCmkp7RewHlPKGwqBNSSRxEHGJFiAOA= github.com/kubeflow/pipelines/kubernetes_platform v0.0.0-20230404213301-bd9f74e34de6/go.mod h1:CJkKr356RlpZP/gQRuHf3Myrn1qJtoUVe4EMCmtwarg= -github.com/kubeflow/pipelines/third_party/ml-metadata v0.0.0-20220118175555-e78ed557ddcb h1:i0RzcKBlfGHueIwrUlKB+AvVZPuMUJIYe1g8nvhwgbo= -github.com/kubeflow/pipelines/third_party/ml-metadata v0.0.0-20220118175555-e78ed557ddcb/go.mod h1:chIDffBaVQ/asNl1pTTdbAymYcuBKf8BR3YtSP+3FEU= +github.com/kubeflow/pipelines/third_party/ml-metadata v0.0.0-20230810215105-e1f0c010f800 h1:YAW+X9xCW8Yq5tQaBBQaLTNU9CJj8Nr7lx1+k66ZHJ0= +github.com/kubeflow/pipelines/third_party/ml-metadata v0.0.0-20230810215105-e1f0c010f800/go.mod h1:chIDffBaVQ/asNl1pTTdbAymYcuBKf8BR3YtSP+3FEU= github.com/labstack/echo v3.2.1+incompatible/go.mod h1:0INS7j/VjnFxD4E2wkz67b8cVwCLbBmJyDaka6Cmk1s= github.com/labstack/gommon v0.2.7/go.mod h1:/tj9csK2iPSBvn+3NLM9e52usepMtrd5ilFYA+wQNJ4= github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 h1:SOEGU9fKiNWd/HOJuq6+3iTQz8KNCLtVX6idSoTLdUw= diff --git a/hack/update-all-requirements.sh b/hack/update-all-requirements.sh index 3a71bf81e97..8b49c0f4342 100755 --- a/hack/update-all-requirements.sh +++ b/hack/update-all-requirements.sh @@ -18,6 +18,5 @@ set -euo pipefail DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null && pwd)" REPO_ROOT="${DIR}/.." -cd "${REPO_ROOT}/backend" && bash update_requirements.sh cd "${REPO_ROOT}/backend/src/apiserver/visualization" && bash update_requirements.sh cd "${REPO_ROOT}/test/sample-test/hack" && bash update_requirements.sh diff --git a/manifests/kustomize/base/metadata/base/metadata-grpc-deployment.yaml b/manifests/kustomize/base/metadata/base/metadata-grpc-deployment.yaml index 4ed344491d6..1ea10488d6e 100644 --- a/manifests/kustomize/base/metadata/base/metadata-grpc-deployment.yaml +++ b/manifests/kustomize/base/metadata/base/metadata-grpc-deployment.yaml @@ -22,7 +22,7 @@ spec: # * .cloudbuild.yaml and .release.cloudbuild.yaml # * manifests/kustomize/base/metadata/base/metadata-grpc-deployment.yaml # * test/tag_for_hosted.sh - image: gcr.io/tfx-oss-public/ml_metadata_store_server:1.5.0 + image: gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0 env: - name: DBCONFIG_USER valueFrom: diff --git a/test/tag_for_hosted.sh b/test/tag_for_hosted.sh index ba0ce64e88b..8a50cd65f23 100755 --- a/test/tag_for_hosted.sh +++ b/test/tag_for_hosted.sh @@ -100,8 +100,8 @@ docker push gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA:$MM_VER # * .cloudbuild.yaml and .release.cloudbuild.yaml # * manifests/kustomize/base/metadata/base/metadata-grpc-deployment.yaml # * test/tag_for_hosted.sh -docker tag gcr.io/tfx-oss-public/ml_metadata_store_server:1.5.0 gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA/metadataserver:$SEM_VER -docker tag gcr.io/tfx-oss-public/ml_metadata_store_server:1.5.0 gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA/metadataserver:$MM_VER +docker tag gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0 gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA/metadataserver:$SEM_VER +docker tag gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0 gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA/metadataserver:$MM_VER docker push gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA/metadataserver:$SEM_VER docker push gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA/metadataserver:$MM_VER diff --git a/third_party/ml-metadata/README.md b/third_party/ml-metadata/README.md index 4267604a944..a330ef30498 100644 --- a/third_party/ml-metadata/README.md +++ b/third_party/ml-metadata/README.md @@ -30,6 +30,14 @@ Make sure the generated files are as expected. Update clients as described below Make sure you have installed tools and packages in [grpc golang prerequisites](https://grpc.io/docs/languages/go/quickstart/#prerequisites). +NOTE: The versions for tools are important, following is a record for when the version combination works successfully. + +```bash +apt install -y protobuf-compiler=3.15.8 +go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26 +go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1 +``` + #### Command ```bash @@ -49,3 +57,4 @@ To learn more, refer to [Upgrading or downgrading a dependency](https://go.dev/d ### Build JS client from proto Refer to [frontend/README.md](frontend/README.md) for [MLMD components - Building generated metadata Protocol Bufers](https://github.com/kubeflow/pipelines/blob/master/frontend/README.md#mlmd-components), for example: you can search for `npm run build:replace` command. + diff --git a/third_party/ml-metadata/VERSION b/third_party/ml-metadata/VERSION index 3e1ad720b13..cd99d386a8d 100644 --- a/third_party/ml-metadata/VERSION +++ b/third_party/ml-metadata/VERSION @@ -1 +1 @@ -1.5.0 \ No newline at end of file +1.14.0 \ No newline at end of file diff --git a/third_party/ml-metadata/go/ml_metadata/metadata_store.pb.go b/third_party/ml-metadata/go/ml_metadata/metadata_store.pb.go index c2988f5e0c8..ed2fa881d6c 100644 --- a/third_party/ml-metadata/go/ml_metadata/metadata_store.pb.go +++ b/third_party/ml-metadata/go/ml_metadata/metadata_store.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.17.3 +// protoc v3.15.8 // source: ml_metadata/proto/metadata_store.proto package ml_metadata @@ -26,6 +26,7 @@ import ( protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" descriptorpb "google.golang.org/protobuf/types/descriptorpb" + anypb "google.golang.org/protobuf/types/known/anypb" structpb "google.golang.org/protobuf/types/known/structpb" reflect "reflect" sync "sync" @@ -46,7 +47,11 @@ const ( PropertyType_INT PropertyType = 1 PropertyType_DOUBLE PropertyType = 2 PropertyType_STRING PropertyType = 3 + // Prefer to use `PROTO` to store structed data since this option has + // inefficient database storage usage. PropertyType_STRUCT PropertyType = 4 + PropertyType_PROTO PropertyType = 5 + PropertyType_BOOLEAN PropertyType = 6 ) // Enum value maps for PropertyType. @@ -57,6 +62,8 @@ var ( 2: "DOUBLE", 3: "STRING", 4: "STRUCT", + 5: "PROTO", + 6: "BOOLEAN", } PropertyType_value = map[string]int32{ "UNKNOWN": 0, @@ -64,6 +71,8 @@ var ( "DOUBLE": 2, "STRING": 3, "STRUCT": 4, + "PROTO": 5, + "BOOLEAN": 6, } ) @@ -117,6 +126,17 @@ const ( Artifact_MARKED_FOR_DELETION Artifact_State = 3 // A state indicating that the artifact has been deleted. Artifact_DELETED Artifact_State = 4 + // A state indicating that the artifact has been abandoned, which may be + // due to a failed or cancelled execution. + Artifact_ABANDONED Artifact_State = 5 + // A state indicating that the artifact is a reference artifact. At + // execution start time, the orchestrator produces an output artifact for + // each output key with state PENDING. However, for an intermediate + // artifact, this first artifact's state will be REFERENCE. Intermediate + // artifacts emitted during a component's execution will copy the REFERENCE + // artifact's attributes. At the end of an execution, the artifact state + // should remain REFERENCE instead of being changed to LIVE. + Artifact_REFERENCE Artifact_State = 6 ) // Enum value maps for Artifact_State. @@ -127,6 +147,8 @@ var ( 2: "LIVE", 3: "MARKED_FOR_DELETION", 4: "DELETED", + 5: "ABANDONED", + 6: "REFERENCE", } Artifact_State_value = map[string]int32{ "UNKNOWN": 0, @@ -134,6 +156,8 @@ var ( "LIVE": 2, "MARKED_FOR_DELETION": 3, "DELETED": 4, + "ABANDONED": 5, + "REFERENCE": 6, } ) @@ -254,6 +278,7 @@ const ( Event_OUTPUT Event_Type = 4 // An output of the execution. Event_INTERNAL_INPUT Event_Type = 5 // An internal input of the execution. Event_INTERNAL_OUTPUT Event_Type = 6 // An internal output of the execution. + Event_PENDING_OUTPUT Event_Type = 7 // A pending output of the execution. ) // Enum value maps for Event_Type. @@ -266,6 +291,7 @@ var ( 4: "OUTPUT", 5: "INTERNAL_INPUT", 6: "INTERNAL_OUTPUT", + 7: "PENDING_OUTPUT", } Event_Type_value = map[string]int32{ "UNKNOWN": 0, @@ -275,6 +301,7 @@ var ( "OUTPUT": 4, "INTERNAL_INPUT": 5, "INTERNAL_OUTPUT": 6, + "PENDING_OUTPUT": 7, } ) @@ -646,7 +673,74 @@ func (x *ListOperationOptions_OrderByField_Field) UnmarshalJSON(b []byte) error // Deprecated: Use ListOperationOptions_OrderByField_Field.Descriptor instead. func (ListOperationOptions_OrderByField_Field) EnumDescriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{30, 0, 0} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{31, 0, 0} +} + +type LineageSubgraphQueryOptions_Direction int32 + +const ( + // Direction is by defult DIRECTION_UNSPECIFIED, which is equivalent to + // BIDIRECTIONAL. + LineageSubgraphQueryOptions_DIRECTION_UNSPECIFIED LineageSubgraphQueryOptions_Direction = 0 + // Indicates tracing the lineage graph by hops in upstream direction. + LineageSubgraphQueryOptions_UPSTREAM LineageSubgraphQueryOptions_Direction = 1 + // Indicates tracing the lineage graph by hops in downstream direction. + LineageSubgraphQueryOptions_DOWNSTREAM LineageSubgraphQueryOptions_Direction = 2 + // Indicates tracing the lineage graph in both directions. + LineageSubgraphQueryOptions_BIDIRECTIONAL LineageSubgraphQueryOptions_Direction = 3 +) + +// Enum value maps for LineageSubgraphQueryOptions_Direction. +var ( + LineageSubgraphQueryOptions_Direction_name = map[int32]string{ + 0: "DIRECTION_UNSPECIFIED", + 1: "UPSTREAM", + 2: "DOWNSTREAM", + 3: "BIDIRECTIONAL", + } + LineageSubgraphQueryOptions_Direction_value = map[string]int32{ + "DIRECTION_UNSPECIFIED": 0, + "UPSTREAM": 1, + "DOWNSTREAM": 2, + "BIDIRECTIONAL": 3, + } +) + +func (x LineageSubgraphQueryOptions_Direction) Enum() *LineageSubgraphQueryOptions_Direction { + p := new(LineageSubgraphQueryOptions_Direction) + *p = x + return p +} + +func (x LineageSubgraphQueryOptions_Direction) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (LineageSubgraphQueryOptions_Direction) Descriptor() protoreflect.EnumDescriptor { + return file_ml_metadata_proto_metadata_store_proto_enumTypes[9].Descriptor() +} + +func (LineageSubgraphQueryOptions_Direction) Type() protoreflect.EnumType { + return &file_ml_metadata_proto_metadata_store_proto_enumTypes[9] +} + +func (x LineageSubgraphQueryOptions_Direction) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *LineageSubgraphQueryOptions_Direction) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = LineageSubgraphQueryOptions_Direction(num) + return nil +} + +// Deprecated: Use LineageSubgraphQueryOptions_Direction.Descriptor instead. +func (LineageSubgraphQueryOptions_Direction) EnumDescriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{35, 0} } type SystemTypeExtension struct { @@ -708,6 +802,8 @@ type Value struct { // *Value_DoubleValue // *Value_StringValue // *Value_StructValue + // *Value_ProtoValue + // *Value_BoolValue Value isValue_Value `protobuf_oneof:"value"` } @@ -778,6 +874,20 @@ func (x *Value) GetStructValue() *structpb.Struct { return nil } +func (x *Value) GetProtoValue() *anypb.Any { + if x, ok := x.GetValue().(*Value_ProtoValue); ok { + return x.ProtoValue + } + return nil +} + +func (x *Value) GetBoolValue() bool { + if x, ok := x.GetValue().(*Value_BoolValue); ok { + return x.BoolValue + } + return false +} + type isValue_Value interface { isValue_Value() } @@ -798,6 +908,14 @@ type Value_StructValue struct { StructValue *structpb.Struct `protobuf:"bytes,4,opt,name=struct_value,json=structValue,oneof"` } +type Value_ProtoValue struct { + ProtoValue *anypb.Any `protobuf:"bytes,5,opt,name=proto_value,json=protoValue,oneof"` +} + +type Value_BoolValue struct { + BoolValue bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue,oneof"` +} + func (*Value_IntValue) isValue_Value() {} func (*Value_DoubleValue) isValue_Value() {} @@ -806,12 +924,16 @@ func (*Value_StringValue) isValue_Value() {} func (*Value_StructValue) isValue_Value() {} +func (*Value_ProtoValue) isValue_Value() {} + +func (*Value_BoolValue) isValue_Value() {} + type Artifact struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Output only. The globally unique server generated id of the artifact. + // Output only. The unique server generated id of the artifact. Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // The client provided name of the artifact. This field is optional. If set, // it must be unique among all the artifacts of the same artifact type within @@ -825,6 +947,9 @@ type Artifact struct { // The uniform resource identifier of the physical artifact. // May be empty if there is no physical artifact. Uri *string `protobuf:"bytes,3,opt,name=uri" json:"uri,omitempty"` + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all artifacts within a database instance. + ExternalId *string `protobuf:"bytes,11,opt,name=external_id,json=externalId" json:"external_id,omitempty"` // Properties of the artifact. // Properties must be specified in the ArtifactType. Properties map[string]*Value `protobuf:"bytes,4,rep,name=properties" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` @@ -837,6 +962,8 @@ type Artifact struct { // Output only. Last update time of the artifact since epoch in millisecond // since epoch. LastUpdateTimeSinceEpoch *int64 `protobuf:"varint,10,opt,name=last_update_time_since_epoch,json=lastUpdateTimeSinceEpoch" json:"last_update_time_since_epoch,omitempty"` + // Output only. + SystemMetadata *anypb.Any `protobuf:"bytes,12,opt,name=system_metadata,json=systemMetadata" json:"system_metadata,omitempty"` } func (x *Artifact) Reset() { @@ -906,6 +1033,13 @@ func (x *Artifact) GetUri() string { return "" } +func (x *Artifact) GetExternalId() string { + if x != nil && x.ExternalId != nil { + return *x.ExternalId + } + return "" +} + func (x *Artifact) GetProperties() map[string]*Value { if x != nil { return x.Properties @@ -941,6 +1075,13 @@ func (x *Artifact) GetLastUpdateTimeSinceEpoch() int64 { return 0 } +func (x *Artifact) GetSystemMetadata() *anypb.Any { + if x != nil { + return x.SystemMetadata + } + return nil +} + type ArtifactType struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -955,6 +1096,10 @@ type ArtifactType struct { Version *string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"` // An optional description about the type. Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all artifact types within a database + // instance. + ExternalId *string `protobuf:"bytes,7,opt,name=external_id,json=externalId" json:"external_id,omitempty"` // The schema of the type. // Properties are always optional in the artifact. // Properties of an artifact type can be expanded but not contracted (i.e., @@ -1026,6 +1171,13 @@ func (x *ArtifactType) GetDescription() string { return "" } +func (x *ArtifactType) GetExternalId() string { + if x != nil && x.ExternalId != nil { + return *x.ExternalId + } + return "" +} + func (x *ArtifactType) GetProperties() map[string]PropertyType { if x != nil { return x.Properties @@ -1074,40 +1226,57 @@ func (x *ArtifactType) GetBaseType() ArtifactType_SystemDefinedBaseType { // type:DECLARED_OUTPUT, // path:{step:[{"key":"my_result"}]} // } -// Other event types include INPUT/OUTPUT and INTERNAL_INPUT/_OUTPUT. +// +// Other event types include INPUT/OUTPUT, INTERNAL_INPUT/_OUTPUT and +// PENDING_OUTPUT: +// // * The INPUT/OUTPUT is an event that actually reads/writes an artifact by an // execution. The input/output artifacts may not declared in the signature, // For example, the trainer may output multiple caches of the parameters // (as an OUTPUT), then finally write the SavedModel as a DECLARED_OUTPUT. +// // * The INTERNAL_INPUT/_OUTPUT are event types which are only meaningful to // an orchestration system to keep track of the details for later debugging. // For example, a fork happened conditioning on an artifact, then an execution -// is triggered, such fork implementating may need to log the read and write +// is triggered, such fork implementing may need to log the read and write // of artifacts and may not be worth displaying to the users. // -// For instance, in the above example, +// For instance, in the above example, // -// my_result = my_execution({"data":[3,7],"schema":8}) +// my_result = my_execution({"data":[3,7],"schema":8}) // -// there is another execution (id: 15), which represents a `garbage_collection` -// step in an orchestration system +// there is another execution (id: 15), which represents a +// `garbage_collection` step in an orchestration system // -// gc_result = garbage_collection(my_result) +// gc_result = garbage_collection(my_result) // -// that cleans `my_result` if needed. The details should be invisible to the -// end users and lineage tracking. The orchestrator can emit following events: +// that cleans `my_result` if needed. The details should be invisible to the +// end users and lineage tracking. The orchestrator can emit following events: // -// { -// artifact_id: 15, -// execution_id: 15, -// type:INTERNAL_INPUT, -// } -// { -// artifact_id:16, // New artifact containing the GC job result. -// execution_id: 15, -// type:INTERNAL_OUTPUT, -// path:{step:[{"key":"gc_result"}]} -// } +// { +// artifact_id: 15, +// execution_id: 15, +// type:INTERNAL_INPUT, +// } +// { +// artifact_id:16, // New artifact containing the GC job result. +// execution_id: 15, +// type:INTERNAL_OUTPUT, +// path:{step:[{"key":"gc_result"}]} +// } +// +// * The PENDING_OUTPUT event is used to indicate that an artifact is +// tentatively associated with an active execution which has not yet been +// finalized. For example, an orchestration system can register output +// artifacts of a running execution with PENDING_OUTPUT events to indicate +// the output artifacts the execution is expected to produce. When the +// execution is finished, the final set of output artifacts can be associated +// with the exeution using OUTPUT events, and any unused artifacts which were +// previously registered with PENDING_OUTPUT events can be updated to set +// their Artifact.State to ABANDONED. +// +// Events are unique of the same +// (artifact_id, execution_id, type) combination within a metadata store. type Event struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1126,6 +1295,8 @@ type Event struct { // Time the event occurred // Epoch is Jan 1, 1970, UTC MillisecondsSinceEpoch *int64 `protobuf:"varint,5,opt,name=milliseconds_since_epoch,json=millisecondsSinceEpoch" json:"milliseconds_since_epoch,omitempty"` + // Output only. + SystemMetadata *anypb.Any `protobuf:"bytes,6,opt,name=system_metadata,json=systemMetadata" json:"system_metadata,omitempty"` } func (x *Event) Reset() { @@ -1195,12 +1366,19 @@ func (x *Event) GetMillisecondsSinceEpoch() int64 { return 0 } +func (x *Event) GetSystemMetadata() *anypb.Any { + if x != nil { + return x.SystemMetadata + } + return nil +} + type Execution struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Output only. The globally unique server generated id of the execution. + // Output only. The unique server generated id of the execution. Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // The client provided name of the execution. This field is optional. If set, // it must be unique among all the executions of the same execution type @@ -1212,6 +1390,9 @@ type Execution struct { TypeId *int64 `protobuf:"varint,2,opt,name=type_id,json=typeId" json:"type_id,omitempty"` // Output only. The name of an ExecutionType. Type *string `protobuf:"bytes,7,opt,name=type" json:"type,omitempty"` + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all executions within a database instance. + ExternalId *string `protobuf:"bytes,10,opt,name=external_id,json=externalId" json:"external_id,omitempty"` // The last known state of an execution in the system. LastKnownState *Execution_State `protobuf:"varint,3,opt,name=last_known_state,json=lastKnownState,enum=ml_metadata.Execution_State" json:"last_known_state,omitempty"` // Properties of the Execution. @@ -1223,6 +1404,8 @@ type Execution struct { CreateTimeSinceEpoch *int64 `protobuf:"varint,8,opt,name=create_time_since_epoch,json=createTimeSinceEpoch" json:"create_time_since_epoch,omitempty"` // Output only. Last update time of the execution in millisecond since epoch. LastUpdateTimeSinceEpoch *int64 `protobuf:"varint,9,opt,name=last_update_time_since_epoch,json=lastUpdateTimeSinceEpoch" json:"last_update_time_since_epoch,omitempty"` + // Output only. + SystemMetadata *anypb.Any `protobuf:"bytes,11,opt,name=system_metadata,json=systemMetadata" json:"system_metadata,omitempty"` } func (x *Execution) Reset() { @@ -1285,6 +1468,13 @@ func (x *Execution) GetType() string { return "" } +func (x *Execution) GetExternalId() string { + if x != nil && x.ExternalId != nil { + return *x.ExternalId + } + return "" +} + func (x *Execution) GetLastKnownState() Execution_State { if x != nil && x.LastKnownState != nil { return *x.LastKnownState @@ -1320,6 +1510,13 @@ func (x *Execution) GetLastUpdateTimeSinceEpoch() int64 { return 0 } +func (x *Execution) GetSystemMetadata() *anypb.Any { + if x != nil { + return x.SystemMetadata + } + return nil +} + type ExecutionType struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1334,6 +1531,10 @@ type ExecutionType struct { Version *string `protobuf:"bytes,6,opt,name=version" json:"version,omitempty"` // An optional description about the type. Description *string `protobuf:"bytes,7,opt,name=description" json:"description,omitempty"` + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all execution types within a database + // instance. + ExternalId *string `protobuf:"bytes,9,opt,name=external_id,json=externalId" json:"external_id,omitempty"` // The schema of the type. // Properties are always optional in the execution. Properties map[string]PropertyType `protobuf:"bytes,3,rep,name=properties" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=ml_metadata.PropertyType"` @@ -1424,6 +1625,13 @@ func (x *ExecutionType) GetDescription() string { return "" } +func (x *ExecutionType) GetExternalId() string { + if x != nil && x.ExternalId != nil { + return *x.ExternalId + } + return "" +} + func (x *ExecutionType) GetProperties() map[string]PropertyType { if x != nil { return x.Properties @@ -1466,6 +1674,10 @@ type ContextType struct { Version *string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"` // An optional description about the type. Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all context types within a database + // instance. + ExternalId *string `protobuf:"bytes,7,opt,name=external_id,json=externalId" json:"external_id,omitempty"` // The schema of the type, e.g., name: string, owner: string // Properties are always optional in the context. // Properties of an context type can be expanded but not contracted (i.e., @@ -1538,6 +1750,13 @@ func (x *ContextType) GetDescription() string { return "" } +func (x *ContextType) GetExternalId() string { + if x != nil && x.ExternalId != nil { + return *x.ExternalId + } + return "" +} + func (x *ContextType) GetProperties() map[string]PropertyType { if x != nil { return x.Properties @@ -1557,7 +1776,7 @@ type Context struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Output Only. The globally unique server generated id of the context. + // Output Only. The unique server generated id of the context. Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` // The client provided name of the context. It must be unique within a // database instance. @@ -1567,6 +1786,9 @@ type Context struct { TypeId *int64 `protobuf:"varint,2,opt,name=type_id,json=typeId" json:"type_id,omitempty"` // Output only. The name of a ContextType. Type *string `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"` + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all contexts within a virtual database. + ExternalId *string `protobuf:"bytes,9,opt,name=external_id,json=externalId" json:"external_id,omitempty"` // Values of the properties, which must be specified in the ContextType. Properties map[string]*Value `protobuf:"bytes,4,rep,name=properties" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // User provided custom properties which are not defined by its type. @@ -1575,6 +1797,8 @@ type Context struct { CreateTimeSinceEpoch *int64 `protobuf:"varint,7,opt,name=create_time_since_epoch,json=createTimeSinceEpoch" json:"create_time_since_epoch,omitempty"` // Output only. Last update time of the context in millisecond since epoch. LastUpdateTimeSinceEpoch *int64 `protobuf:"varint,8,opt,name=last_update_time_since_epoch,json=lastUpdateTimeSinceEpoch" json:"last_update_time_since_epoch,omitempty"` + // Output only system metadata. + SystemMetadata *anypb.Any `protobuf:"bytes,10,opt,name=system_metadata,json=systemMetadata" json:"system_metadata,omitempty"` } func (x *Context) Reset() { @@ -1637,6 +1861,13 @@ func (x *Context) GetType() string { return "" } +func (x *Context) GetExternalId() string { + if x != nil && x.ExternalId != nil { + return *x.ExternalId + } + return "" +} + func (x *Context) GetProperties() map[string]*Value { if x != nil { return x.Properties @@ -1665,6 +1896,13 @@ func (x *Context) GetLastUpdateTimeSinceEpoch() int64 { return 0 } +func (x *Context) GetSystemMetadata() *anypb.Any { + if x != nil { + return x.SystemMetadata + } + return nil +} + // the Attribution edges between Context and Artifact instances. type Attribution struct { state protoimpl.MessageState @@ -2564,7 +2802,7 @@ type MySQLDatabaseConfig struct { Host *string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"` // The TCP Port number that the MYSQL server accepts connections on. // If unspecified, the default MYSQL port (3306) is used. - Port *uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` + Port *int64 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` // The database to connect to. Must be specified. // After connecting to the MYSQL server, this database is created if not // already present unless skip_db_creation is set. @@ -2627,7 +2865,7 @@ func (x *MySQLDatabaseConfig) GetHost() string { return "" } -func (x *MySQLDatabaseConfig) GetPort() uint32 { +func (x *MySQLDatabaseConfig) GetPort() int64 { if x != nil && x.Port != nil { return *x.Port } @@ -2743,6 +2981,133 @@ func (x *SqliteMetadataSourceConfig) GetConnectionMode() SqliteMetadataSourceCon return SqliteMetadataSourceConfig_UNKNOWN } +// A config contains the parameters when using with PostgreSQLMetadatSource. +// Next index: 10 +type PostgreSQLDatabaseConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name of host to connect to. If the host name starts with /, it is taken as + // a Unix-domain socket in the abstract namespace. + Host *string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"` + // Numeric IP address of host to connect to. If this field is provided, `host` + // field is ignored. + Hostaddr *string `protobuf:"bytes,2,opt,name=hostaddr" json:"hostaddr,omitempty"` + // Port number to connect to at the server host, or socket file name extension + // for Unix-domain connections. + Port *string `protobuf:"bytes,3,opt,name=port" json:"port,omitempty"` + // PostgreSQL user name to connect as. Defaults to be the same as the + // operating system name of the user running the application. + User *string `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"` + // Password to be used if the server demands password authentication. + Password *string `protobuf:"bytes,5,opt,name=password" json:"password,omitempty"` + // Specifies the name of the file used to store passwords. + Passfile *string `protobuf:"bytes,6,opt,name=passfile" json:"passfile,omitempty"` + // The database name. Defaults to be the same as the user name. + Dbname *string `protobuf:"bytes,7,opt,name=dbname" json:"dbname,omitempty"` + // A config to skip the database creation if not exist when connecting the + // db instance. It is useful when the db creation is handled by an admin + // process, while the lib user should not issue db creation clauses. + SkipDbCreation *bool `protobuf:"varint,8,opt,name=skip_db_creation,json=skipDbCreation" json:"skip_db_creation,omitempty"` + Ssloption *PostgreSQLDatabaseConfig_SSLOptions `protobuf:"bytes,9,opt,name=ssloption" json:"ssloption,omitempty"` +} + +func (x *PostgreSQLDatabaseConfig) Reset() { + *x = PostgreSQLDatabaseConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostgreSQLDatabaseConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostgreSQLDatabaseConfig) ProtoMessage() {} + +func (x *PostgreSQLDatabaseConfig) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostgreSQLDatabaseConfig.ProtoReflect.Descriptor instead. +func (*PostgreSQLDatabaseConfig) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{24} +} + +func (x *PostgreSQLDatabaseConfig) GetHost() string { + if x != nil && x.Host != nil { + return *x.Host + } + return "" +} + +func (x *PostgreSQLDatabaseConfig) GetHostaddr() string { + if x != nil && x.Hostaddr != nil { + return *x.Hostaddr + } + return "" +} + +func (x *PostgreSQLDatabaseConfig) GetPort() string { + if x != nil && x.Port != nil { + return *x.Port + } + return "" +} + +func (x *PostgreSQLDatabaseConfig) GetUser() string { + if x != nil && x.User != nil { + return *x.User + } + return "" +} + +func (x *PostgreSQLDatabaseConfig) GetPassword() string { + if x != nil && x.Password != nil { + return *x.Password + } + return "" +} + +func (x *PostgreSQLDatabaseConfig) GetPassfile() string { + if x != nil && x.Passfile != nil { + return *x.Passfile + } + return "" +} + +func (x *PostgreSQLDatabaseConfig) GetDbname() string { + if x != nil && x.Dbname != nil { + return *x.Dbname + } + return "" +} + +func (x *PostgreSQLDatabaseConfig) GetSkipDbCreation() bool { + if x != nil && x.SkipDbCreation != nil { + return *x.SkipDbCreation + } + return false +} + +func (x *PostgreSQLDatabaseConfig) GetSsloption() *PostgreSQLDatabaseConfig_SSLOptions { + if x != nil { + return x.Ssloption + } + return nil +} + type MigrationOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2778,7 +3143,7 @@ const ( func (x *MigrationOptions) Reset() { *x = MigrationOptions{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[24] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2791,7 +3156,7 @@ func (x *MigrationOptions) String() string { func (*MigrationOptions) ProtoMessage() {} func (x *MigrationOptions) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[24] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2804,7 +3169,7 @@ func (x *MigrationOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use MigrationOptions.ProtoReflect.Descriptor instead. func (*MigrationOptions) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{24} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{25} } func (x *MigrationOptions) GetEnableUpgradeMigration() bool { @@ -2833,7 +3198,7 @@ type RetryOptions struct { func (x *RetryOptions) Reset() { *x = RetryOptions{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[25] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2846,7 +3211,7 @@ func (x *RetryOptions) String() string { func (*RetryOptions) ProtoMessage() {} func (x *RetryOptions) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[25] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2859,7 +3224,7 @@ func (x *RetryOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use RetryOptions.ProtoReflect.Descriptor instead. func (*RetryOptions) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{25} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{26} } func (x *RetryOptions) GetMaxNumRetries() int64 { @@ -2880,6 +3245,7 @@ type ConnectionConfig struct { // *ConnectionConfig_FakeDatabase // *ConnectionConfig_Mysql // *ConnectionConfig_Sqlite + // *ConnectionConfig_Postgresql Config isConnectionConfig_Config `protobuf_oneof:"config"` // Options for overwriting the default retry setting when MLMD transactions // returning Aborted error. @@ -2891,7 +3257,7 @@ type ConnectionConfig struct { func (x *ConnectionConfig) Reset() { *x = ConnectionConfig{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[26] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2904,7 +3270,7 @@ func (x *ConnectionConfig) String() string { func (*ConnectionConfig) ProtoMessage() {} func (x *ConnectionConfig) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[26] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2917,7 +3283,7 @@ func (x *ConnectionConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use ConnectionConfig.ProtoReflect.Descriptor instead. func (*ConnectionConfig) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{26} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{27} } func (m *ConnectionConfig) GetConfig() isConnectionConfig_Config { @@ -2948,6 +3314,13 @@ func (x *ConnectionConfig) GetSqlite() *SqliteMetadataSourceConfig { return nil } +func (x *ConnectionConfig) GetPostgresql() *PostgreSQLDatabaseConfig { + if x, ok := x.GetConfig().(*ConnectionConfig_Postgresql); ok { + return x.Postgresql + } + return nil +} + func (x *ConnectionConfig) GetRetryOptions() *RetryOptions { if x != nil { return x.RetryOptions @@ -2971,12 +3344,19 @@ type ConnectionConfig_Sqlite struct { Sqlite *SqliteMetadataSourceConfig `protobuf:"bytes,3,opt,name=sqlite,oneof"` } +type ConnectionConfig_Postgresql struct { + // PostgreSQL database connection config. + Postgresql *PostgreSQLDatabaseConfig `protobuf:"bytes,5,opt,name=postgresql,oneof"` +} + func (*ConnectionConfig_FakeDatabase) isConnectionConfig_Config() {} func (*ConnectionConfig_Mysql) isConnectionConfig_Config() {} func (*ConnectionConfig_Sqlite) isConnectionConfig_Config() {} +func (*ConnectionConfig_Postgresql) isConnectionConfig_Config() {} + // A list of supported GRPC arguments defined in: // https://grpc.github.io/grpc/core/group__grpc__arg__keys.html type GrpcChannelArguments struct { @@ -2994,7 +3374,7 @@ type GrpcChannelArguments struct { func (x *GrpcChannelArguments) Reset() { *x = GrpcChannelArguments{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[27] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3007,7 +3387,7 @@ func (x *GrpcChannelArguments) String() string { func (*GrpcChannelArguments) ProtoMessage() {} func (x *GrpcChannelArguments) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[27] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3020,7 +3400,7 @@ func (x *GrpcChannelArguments) ProtoReflect() protoreflect.Message { // Deprecated: Use GrpcChannelArguments.ProtoReflect.Descriptor instead. func (*GrpcChannelArguments) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{27} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{28} } func (x *GrpcChannelArguments) GetMaxReceiveMessageLength() int64 { @@ -3047,7 +3427,7 @@ type MetadataStoreClientConfig struct { Host *string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"` // The TCP Port number that the gRPC server accepts connections on. // Must be specified. - Port *uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` + Port *int64 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` // Configuration for a secure gRPC channel. // If not given, insecure connection is used. SslConfig *MetadataStoreClientConfig_SSLConfig `protobuf:"bytes,3,opt,name=ssl_config,json=sslConfig" json:"ssl_config,omitempty"` @@ -3063,7 +3443,7 @@ type MetadataStoreClientConfig struct { func (x *MetadataStoreClientConfig) Reset() { *x = MetadataStoreClientConfig{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[28] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3076,7 +3456,7 @@ func (x *MetadataStoreClientConfig) String() string { func (*MetadataStoreClientConfig) ProtoMessage() {} func (x *MetadataStoreClientConfig) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[28] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3089,7 +3469,7 @@ func (x *MetadataStoreClientConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use MetadataStoreClientConfig.ProtoReflect.Descriptor instead. func (*MetadataStoreClientConfig) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{28} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{29} } func (x *MetadataStoreClientConfig) GetHost() string { @@ -3099,7 +3479,7 @@ func (x *MetadataStoreClientConfig) GetHost() string { return "" } -func (x *MetadataStoreClientConfig) GetPort() uint32 { +func (x *MetadataStoreClientConfig) GetPort() int64 { if x != nil && x.Port != nil { return *x.Port } @@ -3145,7 +3525,7 @@ type MetadataStoreServerConfig struct { func (x *MetadataStoreServerConfig) Reset() { *x = MetadataStoreServerConfig{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[29] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3158,7 +3538,7 @@ func (x *MetadataStoreServerConfig) String() string { func (*MetadataStoreServerConfig) ProtoMessage() {} func (x *MetadataStoreServerConfig) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[29] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3171,7 +3551,7 @@ func (x *MetadataStoreServerConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use MetadataStoreServerConfig.ProtoReflect.Descriptor instead. func (*MetadataStoreServerConfig) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{29} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{30} } func (x *MetadataStoreServerConfig) GetConnectionConfig() *ConnectionConfig { @@ -3212,12 +3592,14 @@ type ListOperationOptions struct { // Identifies the next page of results. NextPageToken *string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` // A boolean expression in SQL syntax that is used to specify the conditions - // on nodes' attributes and 1-hop neighborhood. + // on node attributes and directly connected assets. // // In the current implementation, filtering Artifact/Execution/Context with // the following attributes and neighborhood is supported: // - // Attributes: id:int64, type_id:int64, type:string, uri:string, name: string, + // Attributes: + // id:int64, type_id:int64, type:string, + // uri:string, name: string, external_id: string, // create_time_since_epoch:int64, last_update_time_since_epoch:int64 // state:ENUM (Artifact only) last_known_state:ENUM (Execution only) // @@ -3227,6 +3609,7 @@ type ListOperationOptions struct { // custom_properties.$name ($name is the custom property name) // attributes: the following attributes can be used // int_value: int64, double_value: double, string_value: string + // bool_value: bool // // - Context (for Artifact and Execution): // syntax: contexts_$alias ($alias can be [0-9A-Za-z_]) @@ -3254,6 +3637,7 @@ type ListOperationOptions struct { // - type = 'my_type_name' // - name = 'foo' // - type = 'bar' AND name LIKE 'foo%' + // - external_id = 'my_external_id' // - NOT(create_time_since_epoch < 1 OR last_update_time_since_epoch < 1) // // b) to filter artifacts' uri @@ -3264,10 +3648,12 @@ type ListOperationOptions struct { // c) to filter artifact's state or execution's last_known_state // - state = LIVE // - state IS NULL + // - state IN (PENDING, LIVE) // - last_known_state = RUNNING // - last_known_state != RUNNING + // - last_known_state NOT IN (FAILED, CANCELED) // - // d) to filter nodes having a specific context + // d) to filter nodes having a specific context, artifact, or execution // - contexts_a.id = 5 // - contexts_a.type = 'RunContext' // - contexts_a.name = 'my_run' @@ -3275,6 +3661,29 @@ type ListOperationOptions struct { // - contexts_a.last_update_time_since_epoch = 1626761453 // To filter nodes with conditions on multiple contexts: // - contexts_a.name = 'my_run' AND contexts_b.name = 'my_pipeline' + // To filter context with artifacts: + // - artifacts_a.id = 5 + // - artifacts_a.type = 'Dataset' + // - artifacts_a.name = 'my_dataset' + // - artifacts_a.uri = 'exact_path_string' + // - artifacts_a.state = LIVE + // - artifacts_a.state IN (PENDING, LIVE) + // - artifacts_a.external_id = "my_external_id" + // - artifacts_a.create_time_since_epoch = 1626761453 + // - artifacts_a.last_update_time_since_epoch = 1626761453 + // To filter contexts with conditions on multiple artifacts: + // - artifacts_a.name = 'my_run' AND artifacts_b.name = 'my_pipeline' + // To filter context with executions: + // - executions_a.id = 5 + // - executions_a.type = 'Dataset' + // - executions_a.name = 'my_dataset' + // - executions_a.last_known_state = RUNNING + //. - executions_a.last_known_state IN (NEW, RUNNING) + // - executions_a.external_id = "my_external_id" + // - executions_a.create_time_since_epoch = 1626761453 + // - executions_a.last_update_time_since_epoch = 1626761453 + // To filter contexts with conditions on multiple executions: + // - executions_a.name = 'my_run' AND executions_b.name = 'my_pipeline' // // e) to filter nodes condition on their properties // - properties.accuracy.double_value > 0.95 @@ -3283,7 +3692,7 @@ type ListOperationOptions struct { // other than [0-9A-Za-z_], then the name need to be backquoted, // e.g., // - properties.`my property`.int_value > 0 - // - custom_properties.`my:custom.property`.string_value = 'foo' + // - custom_properties.`my:custom.property`.bool_value = true // // f) complex query to filter both node attributes and neighborhood // - type = 'DataSet' AND @@ -3301,7 +3710,7 @@ type ListOperationOptions struct { // - events_0.milliseconds_since_epoch = 1 // to filter Executions on Events // - events_0.artifact_id = 1 - // - events_0.type = INPUT + // - events_0.type IN (INPUT, INTERNAL_INPUT) // - events_0.milliseconds_since_epoch = 1 // TODO(b/145945460) Support filtering on event step fields. FilterQuery *string `protobuf:"bytes,4,opt,name=filter_query,json=filterQuery" json:"filter_query,omitempty"` @@ -3315,7 +3724,7 @@ const ( func (x *ListOperationOptions) Reset() { *x = ListOperationOptions{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[30] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3328,7 +3737,7 @@ func (x *ListOperationOptions) String() string { func (*ListOperationOptions) ProtoMessage() {} func (x *ListOperationOptions) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[30] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3341,7 +3750,7 @@ func (x *ListOperationOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOperationOptions.ProtoReflect.Descriptor instead. func (*ListOperationOptions) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{30} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{31} } func (x *ListOperationOptions) GetMaxResultSize() int32 { @@ -3403,7 +3812,7 @@ type ListOperationNextPageToken struct { func (x *ListOperationNextPageToken) Reset() { *x = ListOperationNextPageToken{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[31] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3416,7 +3825,7 @@ func (x *ListOperationNextPageToken) String() string { func (*ListOperationNextPageToken) ProtoMessage() {} func (x *ListOperationNextPageToken) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[31] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3429,7 +3838,7 @@ func (x *ListOperationNextPageToken) ProtoReflect() protoreflect.Message { // Deprecated: Use ListOperationNextPageToken.ProtoReflect.Descriptor instead. func (*ListOperationNextPageToken) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{31} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{32} } func (x *ListOperationNextPageToken) GetIdOffset() int64 { @@ -3467,12 +3876,15 @@ type TransactionOptions struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields extensionFields protoimpl.ExtensionFields + + // Transaction tag for debug use only. + Tag *string `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"` } func (x *TransactionOptions) Reset() { *x = TransactionOptions{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[32] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3485,7 +3897,7 @@ func (x *TransactionOptions) String() string { func (*TransactionOptions) ProtoMessage() {} func (x *TransactionOptions) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[32] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3498,7 +3910,7 @@ func (x *TransactionOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionOptions.ProtoReflect.Descriptor instead. func (*TransactionOptions) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{32} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{33} } var extRange_TransactionOptions = []protoiface.ExtensionRangeV1{ @@ -3510,29 +3922,56 @@ func (*TransactionOptions) ExtensionRangeArray() []protoiface.ExtensionRangeV1 { return extRange_TransactionOptions } -// The query options for list lineage graph operation. It allows specifying the -// `query_nodes` of interests and the `stop_conditions` when querying a -// lineage graph. The query option is used for exporting provenance information -// from a source MLMD instance. +func (x *TransactionOptions) GetTag() string { + if x != nil && x.Tag != nil { + return *x.Tag + } + return "" +} + +// TODO(b/283852485): Deprecate GetLineageGraph API after migration to +// GetLineageSubgraph API. +// The query options for `get_lineage_graph` operation. +// `query_nodes` is a list of nodes of interest. +// Currently only artifacts are supported as `query_nodes`. +// `stop_conditions` defines the filtering rules when querying a lineage graph. +// `max_node_size` defines the total number of artifacts and executions returned +// in the subgraph. type LineageGraphQueryOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // A query to specify the nodes of interests. + // A query to specify the nodes of interest. + // `ListOperationOptions.max_result_size` sets the maximum number of nodes to + // begin with the graph search. // TODO(b/178491112) Support query_nodes for Executions. // // Types that are assignable to QueryNodes: // *LineageGraphQueryOptions_ArtifactsOptions QueryNodes isLineageGraphQueryOptions_QueryNodes `protobuf_oneof:"query_nodes"` - // A constraint option to define the boundary of the returned subgraph. + // A constraint option to define the filtering rules when querying a lineage + // graph. StopConditions *LineageGraphQueryOptions_BoundaryConstraint `protobuf:"bytes,2,opt,name=stop_conditions,json=stopConditions" json:"stop_conditions,omitempty"` + // Maximum total number of artifacts and executions in the whole returned + // lineage graph. + // If set to 0 or below, all related nodes will be returned without any + // number limitation. + // The number counts toward Artifacts and Executions. Nothing else considered. + // + // NOTE: There is no pagination supported. + MaxNodeSize *int64 `protobuf:"varint,3,opt,name=max_node_size,json=maxNodeSize,def=20" json:"max_node_size,omitempty"` } -func (x *LineageGraphQueryOptions) Reset() { - *x = LineageGraphQueryOptions{} +// Default values for LineageGraphQueryOptions fields. +const ( + Default_LineageGraphQueryOptions_MaxNodeSize = int64(20) +) + +func (x *LineageGraphQueryOptions) Reset() { + *x = LineageGraphQueryOptions{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[33] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3545,7 +3984,7 @@ func (x *LineageGraphQueryOptions) String() string { func (*LineageGraphQueryOptions) ProtoMessage() {} func (x *LineageGraphQueryOptions) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[33] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3558,7 +3997,7 @@ func (x *LineageGraphQueryOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use LineageGraphQueryOptions.ProtoReflect.Descriptor instead. func (*LineageGraphQueryOptions) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{33} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{34} } func (m *LineageGraphQueryOptions) GetQueryNodes() isLineageGraphQueryOptions_QueryNodes { @@ -3582,6 +4021,13 @@ func (x *LineageGraphQueryOptions) GetStopConditions() *LineageGraphQueryOptions return nil } +func (x *LineageGraphQueryOptions) GetMaxNodeSize() int64 { + if x != nil && x.MaxNodeSize != nil { + return *x.MaxNodeSize + } + return Default_LineageGraphQueryOptions_MaxNodeSize +} + type isLineageGraphQueryOptions_QueryNodes interface { isLineageGraphQueryOptions_QueryNodes() } @@ -3592,6 +4038,120 @@ type LineageGraphQueryOptions_ArtifactsOptions struct { func (*LineageGraphQueryOptions_ArtifactsOptions) isLineageGraphQueryOptions_QueryNodes() {} +// The query options for lineage graph tracing from a list of interested nodes. +type LineageSubgraphQueryOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to StartingNodes: + // *LineageSubgraphQueryOptions_StartingArtifacts + // *LineageSubgraphQueryOptions_StartingExecutions + StartingNodes isLineageSubgraphQueryOptions_StartingNodes `protobuf_oneof:"starting_nodes"` + // The maximum number of hops from the `starting_nodes` to traverse. + // A hop is defined as a jump to the next node following the path of + // node -> event -> next_node. + // For example, in the lineage graph a_1 -> e_1 -> a_2: + // a_2 is 2 hops away from a_1, and e_1 is 1 hop away from a_1. + // `max_num_hops` should be non-negative. + // When its value is set to 0, only the `starting_nodes` are returned. + MaxNumHops *int64 `protobuf:"varint,3,opt,name=max_num_hops,json=maxNumHops" json:"max_num_hops,omitempty"` + // The direction of lineage graph tracing, which means the direction of all + // hops in the tracing. + // An UPSTREAM hop means an expansion following the path of + // execution -> output_event -> artifact or + // artifact -> input_event -> execution + // A DOWNSTREAM hop means an expansion following the path of + // execution -> input_event -> artifact or + // artifact -> output_event -> execution + // Please refer to `Direction` for more details. + Direction *LineageSubgraphQueryOptions_Direction `protobuf:"varint,4,opt,name=direction,enum=ml_metadata.LineageSubgraphQueryOptions_Direction" json:"direction,omitempty"` +} + +func (x *LineageSubgraphQueryOptions) Reset() { + *x = LineageSubgraphQueryOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LineageSubgraphQueryOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LineageSubgraphQueryOptions) ProtoMessage() {} + +func (x *LineageSubgraphQueryOptions) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LineageSubgraphQueryOptions.ProtoReflect.Descriptor instead. +func (*LineageSubgraphQueryOptions) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{35} +} + +func (m *LineageSubgraphQueryOptions) GetStartingNodes() isLineageSubgraphQueryOptions_StartingNodes { + if m != nil { + return m.StartingNodes + } + return nil +} + +func (x *LineageSubgraphQueryOptions) GetStartingArtifacts() *LineageSubgraphQueryOptions_StartingNodes { + if x, ok := x.GetStartingNodes().(*LineageSubgraphQueryOptions_StartingArtifacts); ok { + return x.StartingArtifacts + } + return nil +} + +func (x *LineageSubgraphQueryOptions) GetStartingExecutions() *LineageSubgraphQueryOptions_StartingNodes { + if x, ok := x.GetStartingNodes().(*LineageSubgraphQueryOptions_StartingExecutions); ok { + return x.StartingExecutions + } + return nil +} + +func (x *LineageSubgraphQueryOptions) GetMaxNumHops() int64 { + if x != nil && x.MaxNumHops != nil { + return *x.MaxNumHops + } + return 0 +} + +func (x *LineageSubgraphQueryOptions) GetDirection() LineageSubgraphQueryOptions_Direction { + if x != nil && x.Direction != nil { + return *x.Direction + } + return LineageSubgraphQueryOptions_DIRECTION_UNSPECIFIED +} + +type isLineageSubgraphQueryOptions_StartingNodes interface { + isLineageSubgraphQueryOptions_StartingNodes() +} + +type LineageSubgraphQueryOptions_StartingArtifacts struct { + StartingArtifacts *LineageSubgraphQueryOptions_StartingNodes `protobuf:"bytes,1,opt,name=starting_artifacts,json=startingArtifacts,oneof"` +} + +type LineageSubgraphQueryOptions_StartingExecutions struct { + StartingExecutions *LineageSubgraphQueryOptions_StartingNodes `protobuf:"bytes,2,opt,name=starting_executions,json=startingExecutions,oneof"` +} + +func (*LineageSubgraphQueryOptions_StartingArtifacts) isLineageSubgraphQueryOptions_StartingNodes() {} + +func (*LineageSubgraphQueryOptions_StartingExecutions) isLineageSubgraphQueryOptions_StartingNodes() { +} + // A simple path (e.g. {step{key:"foo"}}) can name an artifact in the context // of an execution. type Event_Path struct { @@ -3607,7 +4167,7 @@ type Event_Path struct { func (x *Event_Path) Reset() { *x = Event_Path{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[37] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3620,7 +4180,7 @@ func (x *Event_Path) String() string { func (*Event_Path) ProtoMessage() {} func (x *Event_Path) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[37] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3657,7 +4217,7 @@ type Event_Path_Step struct { func (x *Event_Path_Step) Reset() { *x = Event_Path_Step{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[38] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3670,7 +4230,7 @@ func (x *Event_Path_Step) String() string { func (*Event_Path_Step) ProtoMessage() {} func (x *Event_Path_Step) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[38] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3747,7 +4307,7 @@ type MySQLDatabaseConfig_SSLOptions struct { func (x *MySQLDatabaseConfig_SSLOptions) Reset() { *x = MySQLDatabaseConfig_SSLOptions{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[46] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3760,7 +4320,7 @@ func (x *MySQLDatabaseConfig_SSLOptions) String() string { func (*MySQLDatabaseConfig_SSLOptions) ProtoMessage() {} func (x *MySQLDatabaseConfig_SSLOptions) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[46] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3818,6 +4378,102 @@ func (x *MySQLDatabaseConfig_SSLOptions) GetVerifyServerCert() bool { return false } +type PostgreSQLDatabaseConfig_SSLOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // disable, allow, verify-ca, verify-full, etc. Reference: + // https://www.postgresql.org/docs/current/libpq-connect.html + Sslmode *string `protobuf:"bytes,1,opt,name=sslmode" json:"sslmode,omitempty"` + // This parameter specifies the file name of the client SSL certificate, + // replacing the default ~/.postgresql/postgresql.crt. This parameter is + // ignored if an SSL connection is not made. + Sslcert *string `protobuf:"bytes,2,opt,name=sslcert" json:"sslcert,omitempty"` + // This parameter specifies the location for the secret key used for the + // client certificate. It can either specify a file name that will be used + // instead of the default ~/.postgresql/postgresql.key, this parameter is + // ignored if an SSL connection is not made. + Sslkey *string `protobuf:"bytes,3,opt,name=sslkey" json:"sslkey,omitempty"` + // This parameter specifies the password for the secret key specified in + // sslkey, allowing client certificate private keys to be stored in + // encrypted form on disk even when interactive passphrase input is not + // practical. + Sslpassword *string `protobuf:"bytes,4,opt,name=sslpassword" json:"sslpassword,omitempty"` + // This parameter specifies the name of a file containing SSL certificate + // authority (CA) certificate(s). If the file exists, the server's + // certificate will be verified to be signed by one of these authorities. + // The default is ~/.postgresql/root.crt. + Sslrootcert *string `protobuf:"bytes,5,opt,name=sslrootcert" json:"sslrootcert,omitempty"` +} + +func (x *PostgreSQLDatabaseConfig_SSLOptions) Reset() { + *x = PostgreSQLDatabaseConfig_SSLOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostgreSQLDatabaseConfig_SSLOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostgreSQLDatabaseConfig_SSLOptions) ProtoMessage() {} + +func (x *PostgreSQLDatabaseConfig_SSLOptions) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostgreSQLDatabaseConfig_SSLOptions.ProtoReflect.Descriptor instead. +func (*PostgreSQLDatabaseConfig_SSLOptions) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{24, 0} +} + +func (x *PostgreSQLDatabaseConfig_SSLOptions) GetSslmode() string { + if x != nil && x.Sslmode != nil { + return *x.Sslmode + } + return "" +} + +func (x *PostgreSQLDatabaseConfig_SSLOptions) GetSslcert() string { + if x != nil && x.Sslcert != nil { + return *x.Sslcert + } + return "" +} + +func (x *PostgreSQLDatabaseConfig_SSLOptions) GetSslkey() string { + if x != nil && x.Sslkey != nil { + return *x.Sslkey + } + return "" +} + +func (x *PostgreSQLDatabaseConfig_SSLOptions) GetSslpassword() string { + if x != nil && x.Sslpassword != nil { + return *x.Sslpassword + } + return "" +} + +func (x *PostgreSQLDatabaseConfig_SSLOptions) GetSslrootcert() string { + if x != nil && x.Sslrootcert != nil { + return *x.Sslrootcert + } + return "" +} + type MetadataStoreClientConfig_SSLConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3837,7 +4493,7 @@ type MetadataStoreClientConfig_SSLConfig struct { func (x *MetadataStoreClientConfig_SSLConfig) Reset() { *x = MetadataStoreClientConfig_SSLConfig{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[47] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3850,7 +4506,7 @@ func (x *MetadataStoreClientConfig_SSLConfig) String() string { func (*MetadataStoreClientConfig_SSLConfig) ProtoMessage() {} func (x *MetadataStoreClientConfig_SSLConfig) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[47] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3863,7 +4519,7 @@ func (x *MetadataStoreClientConfig_SSLConfig) ProtoReflect() protoreflect.Messag // Deprecated: Use MetadataStoreClientConfig_SSLConfig.ProtoReflect.Descriptor instead. func (*MetadataStoreClientConfig_SSLConfig) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{28, 0} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{29, 0} } func (x *MetadataStoreClientConfig_SSLConfig) GetClientKey() string { @@ -3905,7 +4561,7 @@ type MetadataStoreServerConfig_SSLConfig struct { func (x *MetadataStoreServerConfig_SSLConfig) Reset() { *x = MetadataStoreServerConfig_SSLConfig{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[48] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3918,7 +4574,7 @@ func (x *MetadataStoreServerConfig_SSLConfig) String() string { func (*MetadataStoreServerConfig_SSLConfig) ProtoMessage() {} func (x *MetadataStoreServerConfig_SSLConfig) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[48] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3931,7 +4587,7 @@ func (x *MetadataStoreServerConfig_SSLConfig) ProtoReflect() protoreflect.Messag // Deprecated: Use MetadataStoreServerConfig_SSLConfig.ProtoReflect.Descriptor instead. func (*MetadataStoreServerConfig_SSLConfig) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{29, 0} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{30, 0} } func (x *MetadataStoreServerConfig_SSLConfig) GetServerKey() string { @@ -3982,7 +4638,7 @@ const ( func (x *ListOperationOptions_OrderByField) Reset() { *x = ListOperationOptions_OrderByField{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[49] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3995,7 +4651,7 @@ func (x *ListOperationOptions_OrderByField) String() string { func (*ListOperationOptions_OrderByField) ProtoMessage() {} func (x *ListOperationOptions_OrderByField) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[49] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4008,7 +4664,7 @@ func (x *ListOperationOptions_OrderByField) ProtoReflect() protoreflect.Message // Deprecated: Use ListOperationOptions_OrderByField.ProtoReflect.Descriptor instead. func (*ListOperationOptions_OrderByField) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{30, 0} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{31, 0} } func (x *ListOperationOptions_OrderByField) GetField() ListOperationOptions_OrderByField_Field { @@ -4025,35 +4681,109 @@ func (x *ListOperationOptions_OrderByField) GetIsAsc() bool { return Default_ListOperationOptions_OrderByField_IsAsc } -// Boundary conditions to stop the traversal when return the `subgraph`. +// Filtering conditions for retrieving the lineage graph. type LineageGraphQueryOptions_BoundaryConstraint struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The maximum number of hops from the `query_nodes` to traverse. It should - // be non-negative. When zero, only the `query_nodes` are returned. + // The maximum number of hops from the `query_nodes` to traverse. + // A hop is defined as a jump to the next node following the path of + // node -> event -> next_node. + // For example, in the lineage graph a_1 -> e_1 -> a_2: + // a_2 is 2 hops away from a_1, and e_1 is 1 hop away from a_1. + // `max_num_hops` should be non-negative. + // When its value is set to 0, only the `query_nodes` are returned. MaxNumHops *int64 `protobuf:"varint,1,opt,name=max_num_hops,json=maxNumHops" json:"max_num_hops,omitempty"` - // Conditions for the boundary node in the returned the subgraph. - // Please refer to ListOperationOptions.filter_query for the syntax. - // If set, it stops traversing further at the artifacts that do not satisfy - // `boundary_artifacts` and exclude them from the returned subgraph. - // For example, to look for the models related to a DataSet and ignore - // other artifacts derived from the DataSet: - // "type = 'DataSet' OR type = 'TransformGraph' OR type = 'Model'" + // Filtering conditions for retrieving the lineage graph. + // Please refer to `ListOperationOptions.filter_query` for the syntax. + // + // If set, the `boundary_artifacts` defines which artifacts to keep in the + // returned lineage graph during the graph search. + // Artifacts that do not satisfy the `boundary_artifacts` are filtered out, + // and the subgraphs starting at them will be pruned. + // If not set, no artifacts will be filtered out. + // Taking the following lineage graph as example: + // (`a` represents an Artifact, `e` represents an Execution, each arrow + // represents a hop.) + // a_0 a_1 a_3 + // | \ / \ + // \/ \/ \/ \/ + // e_0 e_1 e_3 + // / \ + // \/ \/ + // a_2 a_4 a_5 + // \ / + // \/ \/ + // e_2 + // To query all the upstream and downstream nodes 3 hops away from a_4, + // while excluding the upstream subgraph starting at a_3, then + // `stop_conditions` can be set as: + // { + // max_num_hops: 3 + // boundary_artifacts: 'id != 3' + // } + // With the `stop_conditions`, {a_3, e_1, a_1, a_0, e_0} will be filtered + // out. + // The returned lineage graph looks like: + // e_3 + // / \ + // \/ \/ + // a_2 a_4 a_5 + // \ / + // \/ \/ + // e_2 BoundaryArtifacts *string `protobuf:"bytes,2,opt,name=boundary_artifacts,json=boundaryArtifacts" json:"boundary_artifacts,omitempty"` - // If set, it stops traversing further at the executions that do not satisfy - // `boundary_executions` and exclude them from the returned subgraph. - // For example, two trainers may be connected due to the shared datasets, - // to exclude other trainers except a particular one (e.g., id = 5): - // "type != 'Trainer' OR (type = 'Trainer' AND id = 5)" + // If set, the `boundary_executions` defines which executions to keep in the + // returned lineage graph during the graph search. + // Executions that do not satisfy the `boundary_executions` are filtered out + // and the subgraphs starting at them will be pruned. + // If not set, no executions will be filtered out. + // In the example above, to query for all the upstream and downstream nodes + // 3 hops away from a_4, while excluding the upstream subgraph and the + // downstream subgraph starting at e_3, then `stop_conditions` can be set as + // { + // max_num_hops: 3 + // boundary_executions: 'id != 3' + // } + // With the `stop_conditions`, {e_3, a_5, a_3, e_1, a_1, a_0, e_0} will be + // filtered out. + // The returned lineage graph looks like: + // a_2 a_4 + // \ / + // \/ \/ + // e_2 + // However, for the following graph: + // a_0 a_1 a_3 + // | \ / \ + // \/ \/ \/ \/ + // e_0 e_1 e_3 + // \ / \ + // \/ \/ \/ + // a_2 a_4 a_5 + // \ / + // \/ \/ + // e_2 + // With the same `stop_conditions`, only {e_3, a_5, a_0, e_0} will be + // filtered out. + // The returned lineage graph looks like: + // a_1 a_3 + // \ / + // \/ \/ + // e_1 + // \ + // \/ + // a_2 a_4 + // \ / + // \/ \/ + // e_2 BoundaryExecutions *string `protobuf:"bytes,3,opt,name=boundary_executions,json=boundaryExecutions" json:"boundary_executions,omitempty"` } func (x *LineageGraphQueryOptions_BoundaryConstraint) Reset() { *x = LineageGraphQueryOptions_BoundaryConstraint{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[50] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4066,7 +4796,7 @@ func (x *LineageGraphQueryOptions_BoundaryConstraint) String() string { func (*LineageGraphQueryOptions_BoundaryConstraint) ProtoMessage() {} func (x *LineageGraphQueryOptions_BoundaryConstraint) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[50] + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4079,7 +4809,7 @@ func (x *LineageGraphQueryOptions_BoundaryConstraint) ProtoReflect() protoreflec // Deprecated: Use LineageGraphQueryOptions_BoundaryConstraint.ProtoReflect.Descriptor instead. func (*LineageGraphQueryOptions_BoundaryConstraint) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{33, 0} + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{34, 0} } func (x *LineageGraphQueryOptions_BoundaryConstraint) GetMaxNumHops() int64 { @@ -4103,6 +4833,58 @@ func (x *LineageGraphQueryOptions_BoundaryConstraint) GetBoundaryExecutions() st return "" } +// `starting_nodes` is a list of nodes of interest to start graph tracing. +// NOTE: The maximum number of starting nodes is 100 at most. +type LineageSubgraphQueryOptions_StartingNodes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // `filter_query` is a boolean expression in SQL syntax that is used to + // specify the conditions on starting nodes. + // Please refer to ListOperationOptions.filter_query for more details. + FilterQuery *string `protobuf:"bytes,1,opt,name=filter_query,json=filterQuery" json:"filter_query,omitempty"` +} + +func (x *LineageSubgraphQueryOptions_StartingNodes) Reset() { + *x = LineageSubgraphQueryOptions_StartingNodes{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LineageSubgraphQueryOptions_StartingNodes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LineageSubgraphQueryOptions_StartingNodes) ProtoMessage() {} + +func (x *LineageSubgraphQueryOptions_StartingNodes) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LineageSubgraphQueryOptions_StartingNodes.ProtoReflect.Descriptor instead. +func (*LineageSubgraphQueryOptions_StartingNodes) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_proto_rawDescGZIP(), []int{35, 0} +} + +func (x *LineageSubgraphQueryOptions_StartingNodes) GetFilterQuery() string { + if x != nil && x.FilterQuery != nil { + return *x.FilterQuery + } + return "" +} + var file_ml_metadata_proto_metadata_store_proto_extTypes = []protoimpl.ExtensionInfo{ { ExtendedType: (*descriptorpb.EnumValueOptions)(nil), @@ -4128,626 +4910,736 @@ var file_ml_metadata_proto_metadata_store_proto_rawDesc = []byte{ 0x0a, 0x26, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x32, 0x0a, 0x13, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, - 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, - 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb7, 0x01, 0x0a, 0x05, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, - 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x0c, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0xb7, 0x05, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x32, 0x0a, 0x13, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x91, 0x02, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, + 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, + 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, + 0x48, 0x00, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, + 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, + 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb5, 0x06, 0x0a, 0x08, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x79, 0x70, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, 0x79, 0x70, 0x65, + 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x12, 0x58, 0x0a, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x35, 0x0a, + 0x17, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x6e, + 0x63, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3e, 0x0a, 0x1c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x6c, 0x61, 0x73, 0x74, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3d, 0x0a, 0x0f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x41, 0x6e, 0x79, 0x52, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x1a, 0x51, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x57, 0x0a, 0x15, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0x6f, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, + 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, + 0x4d, 0x41, 0x52, 0x4b, 0x45, 0x44, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, + 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, + 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x42, 0x41, 0x4e, 0x44, 0x4f, 0x4e, 0x45, 0x44, 0x10, + 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, 0x10, 0x06, + 0x22, 0xd2, 0x04, 0x0a, 0x0c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x49, 0x64, 0x12, 0x49, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4c, 0x0a, + 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x53, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x58, 0x0a, 0x0f, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcd, 0x01, 0x0a, 0x15, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x26, 0x0a, 0x05, 0x55, 0x4e, 0x53, 0x45, 0x54, 0x10, 0x00, 0x1a, 0x1b, 0xaa, 0xf1, 0xfd, 0xba, + 0x0b, 0x15, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x07, 0x44, 0x41, 0x54, 0x41, 0x53, + 0x45, 0x54, 0x10, 0x01, 0x1a, 0x14, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0e, 0x0a, 0x0c, 0x6d, 0x6c, + 0x6d, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x4d, 0x4f, + 0x44, 0x45, 0x4c, 0x10, 0x02, 0x1a, 0x12, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0c, 0x0a, 0x0a, 0x6d, + 0x6c, 0x6d, 0x64, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x21, 0x0a, 0x07, 0x4d, 0x45, 0x54, + 0x52, 0x49, 0x43, 0x53, 0x10, 0x03, 0x1a, 0x14, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0e, 0x0a, 0x0c, + 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x27, 0x0a, 0x0a, + 0x53, 0x54, 0x41, 0x54, 0x49, 0x53, 0x54, 0x49, 0x43, 0x53, 0x10, 0x04, 0x1a, 0x17, 0xaa, 0xf1, + 0xfd, 0xba, 0x0b, 0x11, 0x0a, 0x0f, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, + 0x73, 0x74, 0x69, 0x63, 0x73, 0x22, 0xaa, 0x04, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, + 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, + 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, + 0x18, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x5f, 0x73, 0x69, + 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x16, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x53, 0x69, 0x6e, + 0x63, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3d, 0x0a, 0x0f, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x77, 0x0a, 0x04, 0x50, 0x61, 0x74, 0x68, 0x12, 0x32, + 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x52, 0x05, 0x73, 0x74, 0x65, + 0x70, 0x73, 0x1a, 0x3b, 0x0a, 0x04, 0x53, 0x74, 0x65, 0x70, 0x12, 0x16, 0x0a, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x12, 0x12, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0x90, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x45, 0x43, 0x4c, 0x41, 0x52, 0x45, + 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, + 0x43, 0x4c, 0x41, 0x52, 0x45, 0x44, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, 0x02, 0x12, 0x09, + 0x0a, 0x05, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x55, 0x54, + 0x50, 0x55, 0x54, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, + 0x4c, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4e, 0x54, + 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, 0x06, 0x12, 0x12, + 0x0a, 0x0e, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, + 0x10, 0x07, 0x22, 0xaa, 0x06, 0x0a, 0x09, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x75, 0x72, 0x69, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x50, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, - 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x11, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x69, 0x65, 0x73, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x17, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x70, 0x6f, - 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x54, 0x69, 0x6d, 0x65, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3e, - 0x0a, 0x1c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x54, 0x69, 0x6d, 0x65, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x1a, 0x51, - 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x1a, 0x57, 0x0a, 0x15, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x51, 0x0a, 0x05, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, - 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, - 0x04, 0x4c, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x41, 0x52, 0x4b, 0x45, - 0x44, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, - 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x04, 0x22, 0xb1, 0x04, - 0x0a, 0x0c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, - 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x50, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x09, 0x62, 0x61, 0x73, - 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, - 0x66, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x62, - 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x58, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x22, 0xcd, 0x01, 0x0a, 0x15, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x66, 0x69, - 0x6e, 0x65, 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x55, - 0x4e, 0x53, 0x45, 0x54, 0x10, 0x00, 0x1a, 0x1b, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x15, 0x0a, 0x13, - 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x07, 0x44, 0x41, 0x54, 0x41, 0x53, 0x45, 0x54, 0x10, 0x01, - 0x1a, 0x14, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0e, 0x0a, 0x0c, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x44, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x10, - 0x02, 0x1a, 0x12, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0c, 0x0a, 0x0a, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, - 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x21, 0x0a, 0x07, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x53, - 0x10, 0x03, 0x1a, 0x14, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0e, 0x0a, 0x0c, 0x6d, 0x6c, 0x6d, 0x64, - 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x27, 0x0a, 0x0a, 0x53, 0x54, 0x41, 0x54, - 0x49, 0x53, 0x54, 0x49, 0x43, 0x53, 0x10, 0x04, 0x1a, 0x17, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x11, - 0x0a, 0x0f, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, - 0x73, 0x22, 0xd6, 0x03, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, - 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x2b, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2b, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x6d, 0x69, 0x6c, - 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, - 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x6d, 0x69, 0x6c, - 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, 0x70, - 0x6f, 0x63, 0x68, 0x1a, 0x77, 0x0a, 0x04, 0x50, 0x61, 0x74, 0x68, 0x12, 0x32, 0x0a, 0x05, 0x73, - 0x74, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x50, - 0x61, 0x74, 0x68, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x52, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x1a, - 0x3b, 0x0a, 0x04, 0x53, 0x74, 0x65, 0x70, 0x12, 0x16, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x12, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x7c, 0x0a, 0x04, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, - 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x45, 0x43, 0x4c, 0x41, 0x52, 0x45, 0x44, 0x5f, 0x4f, 0x55, - 0x54, 0x50, 0x55, 0x54, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x45, 0x43, 0x4c, 0x41, 0x52, - 0x45, 0x44, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, - 0x50, 0x55, 0x54, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, - 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x49, 0x4e, - 0x50, 0x55, 0x54, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, - 0x4c, 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, 0x06, 0x22, 0xca, 0x05, 0x0a, 0x09, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, - 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, - 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x46, 0x0a, 0x10, 0x6c, 0x61, 0x73, - 0x74, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x59, 0x0a, 0x11, 0x63, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x69, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, - 0x65, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3e, 0x0a, 0x1c, 0x6c, - 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, - 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x18, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, - 0x65, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x1a, 0x51, 0x0a, 0x0f, 0x50, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x57, - 0x0a, 0x15, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, - 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, - 0x03, 0x4e, 0x45, 0x57, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, - 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, - 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0a, 0x0a, - 0x06, 0x43, 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, - 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x06, 0x22, 0xd8, 0x05, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x0a, 0x70, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x49, 0x64, 0x12, 0x46, 0x0a, 0x10, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, + 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x12, 0x59, 0x0a, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4d, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x66, - 0x69, 0x6e, 0x65, 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x62, 0x61, - 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x58, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0xef, 0x01, 0x0a, 0x15, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x66, 0x69, 0x6e, - 0x65, 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x55, 0x4e, - 0x53, 0x45, 0x54, 0x10, 0x00, 0x1a, 0x1c, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x16, 0x0a, 0x14, 0x75, - 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x05, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x10, 0x01, 0x1a, 0x12, - 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0c, 0x0a, 0x0a, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x54, 0x72, 0x61, - 0x69, 0x6e, 0x12, 0x25, 0x0a, 0x09, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, 0x4d, 0x10, - 0x02, 0x1a, 0x16, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x10, 0x0a, 0x0e, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x21, 0x0a, 0x07, 0x50, 0x52, 0x4f, - 0x43, 0x45, 0x53, 0x53, 0x10, 0x03, 0x1a, 0x14, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0e, 0x0a, 0x0c, - 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x08, - 0x45, 0x56, 0x41, 0x4c, 0x55, 0x41, 0x54, 0x45, 0x10, 0x04, 0x1a, 0x15, 0xaa, 0xf1, 0xfd, 0xba, - 0x0b, 0x0f, 0x0a, 0x0d, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, - 0x65, 0x12, 0x1f, 0x0a, 0x06, 0x44, 0x45, 0x50, 0x4c, 0x4f, 0x59, 0x10, 0x05, 0x1a, 0x13, 0xaa, - 0xf1, 0xfd, 0xba, 0x0b, 0x0d, 0x0a, 0x0b, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x44, 0x65, 0x70, 0x6c, - 0x6f, 0x79, 0x22, 0x9e, 0x03, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x09, - 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x08, 0x62, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x58, 0x0a, 0x0f, 0x50, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x3e, 0x0a, 0x15, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x66, - 0x69, 0x6e, 0x65, 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x05, - 0x55, 0x4e, 0x53, 0x45, 0x54, 0x10, 0x00, 0x1a, 0x1a, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x14, 0x0a, - 0x12, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x22, 0x9c, 0x04, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x44, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, - 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x63, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x35, 0x0a, 0x17, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, - 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x69, 0x6e, 0x63, - 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3e, 0x0a, 0x1c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65, - 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x6c, 0x61, - 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x69, 0x6e, 0x63, - 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x1a, 0x51, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x57, 0x0a, 0x15, 0x43, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x4d, 0x0a, 0x0b, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, - 0x64, 0x22, 0x4f, 0x0a, 0x0b, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x49, 0x64, 0x22, 0x47, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1b, - 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x9b, 0x04, 0x0a, 0x0c, - 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x40, 0x0a, 0x0e, - 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x43, - 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x73, 0x12, 0x33, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3c, 0x0a, - 0x0c, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, - 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x61, - 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x73, 0x73, - 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x92, 0x04, 0x0a, 0x12, 0x41, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x33, 0x0a, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x06, 0x73, - 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, - 0x00, 0x52, 0x09, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x51, 0x0a, 0x0c, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, - 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x39, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x6f, - 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4e, 0x6f, 0x6e, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, - 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x12, 0x36, 0x0a, 0x03, 0x61, 0x6e, 0x79, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x41, 0x6e, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x03, 0x61, 0x6e, 0x79, 0x12, 0x3c, 0x0a, - 0x05, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x75, 0x70, 0x6c, 0x65, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x48, 0x00, 0x52, 0x05, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x64, - 0x69, 0x63, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x44, 0x69, 0x63, 0x74, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, - 0x52, 0x04, 0x64, 0x69, 0x63, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x5a, - 0x0a, 0x17, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x63, 0x61, 0x6e, - 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, - 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x73, 0x22, 0x63, 0x0a, 0x1e, 0x49, 0x6e, - 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, - 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x0b, - 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x22, - 0x53, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x65, 0x6c, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x65, 0x6c, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x18, 0x0a, 0x16, 0x4e, 0x6f, 0x6e, 0x65, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x17, - 0x0a, 0x15, 0x41, 0x6e, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x56, 0x0a, 0x17, 0x54, 0x75, 0x70, 0x6c, 0x65, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, - 0xd7, 0x02, 0x0a, 0x16, 0x44, 0x69, 0x63, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x53, 0x0a, 0x0a, 0x70, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x44, 0x69, 0x63, - 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x33, 0x0a, 0x16, 0x6e, 0x6f, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x6f, 0x74, - 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x13, 0x6e, 0x6f, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x69, 0x72, 0x65, 0x64, 0x12, 0x53, 0x0a, 0x15, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x70, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x63, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x35, 0x0a, + 0x17, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x6e, + 0x63, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3e, 0x0a, 0x1c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x6c, 0x61, 0x73, 0x74, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x12, 0x3d, 0x0a, 0x0f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x41, 0x6e, 0x79, 0x52, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x1a, 0x51, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x57, 0x0a, 0x15, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0x5e, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x45, 0x57, 0x10, 0x01, 0x12, 0x0b, + 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, + 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, + 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x06, 0x22, + 0xf9, 0x05, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3e, + 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x40, + 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x65, 0x78, 0x74, 0x72, 0x61, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x69, 0x65, 0x73, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x5e, 0x0a, 0x0f, 0x50, 0x72, 0x6f, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x4d, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2e, + 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x61, 0x73, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, + 0x58, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xef, 0x01, 0x0a, 0x15, 0x53, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x55, 0x4e, 0x53, 0x45, 0x54, 0x10, 0x00, 0x1a, 0x1c, + 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x16, 0x0a, 0x14, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x05, + 0x54, 0x52, 0x41, 0x49, 0x4e, 0x10, 0x01, 0x1a, 0x12, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0c, 0x0a, + 0x0a, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x12, 0x25, 0x0a, 0x09, 0x54, + 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, 0x4d, 0x10, 0x02, 0x1a, 0x16, 0xaa, 0xf1, 0xfd, 0xba, + 0x0b, 0x10, 0x0a, 0x0e, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x12, 0x21, 0x0a, 0x07, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, 0x10, 0x03, 0x1a, + 0x14, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0e, 0x0a, 0x0c, 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x08, 0x45, 0x56, 0x41, 0x4c, 0x55, 0x41, 0x54, + 0x45, 0x10, 0x04, 0x1a, 0x15, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0f, 0x0a, 0x0d, 0x6d, 0x6c, 0x6d, + 0x64, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x06, 0x44, 0x45, + 0x50, 0x4c, 0x4f, 0x59, 0x10, 0x05, 0x1a, 0x13, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x0d, 0x0a, 0x0b, + 0x6d, 0x6c, 0x6d, 0x64, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x22, 0xbf, 0x03, 0x0a, 0x0b, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x65, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x0a, + 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, + 0x64, 0x42, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x1a, 0x58, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3e, 0x0a, + 0x15, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x42, 0x61, + 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x55, 0x4e, 0x53, 0x45, 0x54, 0x10, + 0x00, 0x1a, 0x1a, 0xaa, 0xf1, 0xfd, 0xba, 0x0b, 0x14, 0x0a, 0x12, 0x75, 0x6e, 0x73, 0x65, 0x74, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xfc, 0x04, + 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, + 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x0a, 0x70, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x12, 0x57, 0x0a, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x12, 0x3e, 0x0a, 0x1c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x65, 0x70, 0x6f, 0x63, + 0x68, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x12, 0x3d, 0x0a, 0x0f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, + 0x52, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x1a, 0x51, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x57, 0x0a, 0x15, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4d, 0x0a, 0x0b, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x22, 0x4f, 0x0a, 0x0b, 0x41, + 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x22, 0x47, 0x0a, 0x0d, + 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x07, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x9b, 0x04, 0x0a, 0x0c, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, + 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x40, 0x0a, 0x0e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x3d, 0x0a, + 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x33, 0x0a, 0x09, + 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x73, 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, + 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0x92, 0x04, 0x0a, 0x12, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x69, + 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, + 0x45, 0x0a, 0x0a, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x09, 0x75, 0x6e, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x04, 0x6c, 0x69, 0x73, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x04, + 0x6c, 0x69, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x4e, 0x6f, 0x6e, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x12, + 0x36, 0x0a, 0x03, 0x61, 0x6e, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x6e, 0x79, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x48, 0x00, 0x52, 0x03, 0x61, 0x6e, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x74, 0x75, 0x70, 0x6c, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x05, + 0x74, 0x75, 0x70, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x64, 0x69, 0x63, 0x74, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x44, 0x69, 0x63, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, 0x52, 0x04, 0x64, 0x69, 0x63, 0x74, + 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x5a, 0x0a, 0x17, 0x55, 0x6e, 0x69, 0x6f, + 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x73, 0x22, 0x63, 0x0a, 0x1e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, + 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, + 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x53, 0x0a, 0x16, 0x4c, 0x69, 0x73, + 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x18, + 0x0a, 0x16, 0x4e, 0x6f, 0x6e, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x41, 0x6e, 0x79, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x22, 0x56, 0x0a, 0x17, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x08, + 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xd7, 0x02, 0x0a, 0x16, 0x44, 0x69, + 0x63, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x53, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x44, 0x69, 0x63, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x33, 0x0a, 0x16, 0x6e, 0x6f, 0x6e, + 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x6e, 0x6f, 0x6e, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x4e, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x53, + 0x0a, 0x15, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x14, 0x0a, 0x12, 0x46, 0x61, 0x6b, - 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, - 0xbc, 0x03, 0x0a, 0x13, 0x4d, 0x79, 0x53, 0x51, 0x4c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, - 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, - 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, - 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, - 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, - 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x63, - 0x6b, 0x65, 0x74, 0x12, 0x4c, 0x0a, 0x0b, 0x73, 0x73, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x79, 0x53, 0x51, 0x4c, 0x44, 0x61, 0x74, 0x61, - 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x53, 0x4c, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x73, 0x73, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x64, 0x62, 0x5f, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x6b, 0x69, - 0x70, 0x44, 0x62, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xa0, 0x01, 0x0a, 0x0a, - 0x53, 0x53, 0x4c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, - 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, - 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x63, 0x61, - 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x63, 0x61, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x69, 0x70, 0x68, - 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, - 0x12, 0x2c, 0x0a, 0x12, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x76, 0x65, - 0x72, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x22, 0xf6, - 0x01, 0x0a, 0x1a, 0x53, 0x71, 0x6c, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, - 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x55, 0x72, 0x69, - 0x12, 0x5f, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, - 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x71, 0x6c, 0x69, 0x74, 0x65, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, - 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, - 0x65, 0x22, 0x54, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, - 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, - 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x41, 0x44, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x0d, - 0x0a, 0x09, 0x52, 0x45, 0x41, 0x44, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x02, 0x12, 0x18, 0x0a, - 0x14, 0x52, 0x45, 0x41, 0x44, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x43, - 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x03, 0x22, 0x95, 0x01, 0x0a, 0x10, 0x4d, 0x69, 0x67, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x18, - 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x6d, - 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, - 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4d, 0x69, 0x67, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x1b, 0x64, 0x6f, 0x77, 0x6e, 0x67, 0x72, - 0x61, 0x64, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x3a, 0x02, 0x2d, 0x31, 0x52, - 0x18, 0x64, 0x6f, 0x77, 0x6e, 0x67, 0x72, 0x61, 0x64, 0x65, 0x54, 0x6f, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, - 0x36, 0x0a, 0x0c, 0x52, 0x65, 0x74, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x4e, 0x75, 0x6d, - 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0xa1, 0x02, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x6e, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x46, 0x0a, 0x0d, - 0x66, 0x61, 0x6b, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0c, 0x66, 0x61, 0x6b, 0x65, 0x44, 0x61, 0x74, 0x61, - 0x62, 0x61, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x4d, 0x79, 0x53, 0x51, 0x4c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x05, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x12, 0x41, - 0x0a, 0x06, 0x73, 0x71, 0x6c, 0x69, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x71, 0x6c, + 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, + 0x65, 0x78, 0x74, 0x72, 0x61, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x54, + 0x79, 0x70, 0x65, 0x1a, 0x5e, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x14, 0x0a, 0x12, 0x46, 0x61, 0x6b, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, + 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xbc, 0x03, 0x0a, 0x13, 0x4d, 0x79, + 0x53, 0x51, 0x4c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x74, + 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, + 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x4c, 0x0a, + 0x0b, 0x73, 0x73, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x4d, 0x79, 0x53, 0x51, 0x4c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x53, 0x4c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x0a, 0x73, 0x73, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x73, + 0x6b, 0x69, 0x70, 0x5f, 0x64, 0x62, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x6b, 0x69, 0x70, 0x44, 0x62, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xa0, 0x01, 0x0a, 0x0a, 0x53, 0x53, 0x4c, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x61, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x63, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x61, 0x70, 0x61, + 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x22, 0xf6, 0x01, 0x0a, 0x1a, 0x53, 0x71, 0x6c, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x06, 0x73, 0x71, 0x6c, 0x69, 0x74, - 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x72, 0x65, 0x74, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x88, 0x01, 0x0a, 0x14, - 0x47, 0x72, 0x70, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x75, 0x6d, - 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x63, 0x65, - 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x65, 0x6e, 0x67, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x63, - 0x65, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x65, 0x6e, 0x67, 0x74, - 0x68, 0x12, 0x33, 0x0a, 0x16, 0x68, 0x74, 0x74, 0x70, 0x32, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x70, - 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6b, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x13, 0x68, 0x74, 0x74, 0x70, 0x32, 0x4d, 0x61, 0x78, 0x50, 0x69, 0x6e, 0x67, 0x53, - 0x74, 0x72, 0x69, 0x6b, 0x65, 0x73, 0x22, 0xfc, 0x02, 0x0a, 0x19, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x4f, 0x0a, 0x0a, - 0x73, 0x73, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x6e, + 0x61, 0x6d, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, + 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x55, 0x72, 0x69, 0x12, 0x5f, 0x0a, 0x0f, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x53, 0x71, 0x6c, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x54, 0x0a, 0x0e, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, + 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, + 0x41, 0x44, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x41, 0x44, + 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x41, 0x44, 0x57, + 0x52, 0x49, 0x54, 0x45, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, + 0x03, 0x22, 0xdb, 0x03, 0x0a, 0x18, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x53, 0x51, 0x4c, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, + 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, + 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x61, 0x64, 0x64, 0x72, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, + 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x64, 0x62, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x64, 0x62, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x64, + 0x62, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0e, 0x73, 0x6b, 0x69, 0x70, 0x44, 0x62, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x4e, 0x0a, 0x09, 0x73, 0x73, 0x6c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x53, 0x51, 0x4c, 0x44, 0x61, 0x74, 0x61, + 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x53, 0x4c, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x1a, 0x9c, 0x01, 0x0a, 0x0a, 0x53, 0x53, 0x4c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x18, 0x0a, 0x07, 0x73, 0x73, 0x6c, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x73, 0x73, 0x6c, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x73, 0x6c, + 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x6c, 0x63, + 0x65, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x73, 0x6c, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x73, 0x6c, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x73, + 0x73, 0x6c, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x73, 0x73, 0x6c, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x20, 0x0a, + 0x0b, 0x73, 0x73, 0x6c, 0x72, 0x6f, 0x6f, 0x74, 0x63, 0x65, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x73, 0x73, 0x6c, 0x72, 0x6f, 0x6f, 0x74, 0x63, 0x65, 0x72, 0x74, 0x22, + 0x95, 0x01, 0x0a, 0x10, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x75, + 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x70, + 0x67, 0x72, 0x61, 0x64, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, + 0x0a, 0x1b, 0x64, 0x6f, 0x77, 0x6e, 0x67, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x3a, 0x02, 0x2d, 0x31, 0x52, 0x18, 0x64, 0x6f, 0x77, 0x6e, 0x67, 0x72, 0x61, + 0x64, 0x65, 0x54, 0x6f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x36, 0x0a, 0x0c, 0x52, 0x65, 0x74, 0x72, 0x79, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x6e, + 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, + 0xea, 0x02, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x46, 0x0a, 0x0d, 0x66, 0x61, 0x6b, 0x65, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0c, + 0x66, 0x61, 0x6b, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x05, + 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x79, 0x53, 0x51, 0x4c, 0x44, + 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, + 0x05, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x12, 0x41, 0x0a, 0x06, 0x73, 0x71, 0x6c, 0x69, 0x74, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x71, 0x6c, 0x69, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, + 0x00, 0x52, 0x06, 0x73, 0x71, 0x6c, 0x69, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x6f, 0x73, + 0x74, 0x67, 0x72, 0x65, 0x73, 0x71, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x6f, 0x73, 0x74, + 0x67, 0x72, 0x65, 0x53, 0x51, 0x4c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, + 0x71, 0x6c, 0x12, 0x3e, 0x0a, 0x0d, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x72, 0x65, 0x74, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x88, 0x01, 0x0a, + 0x14, 0x47, 0x72, 0x70, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x75, + 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x65, 0x6e, + 0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x6d, 0x61, 0x78, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4c, 0x65, 0x6e, 0x67, + 0x74, 0x68, 0x12, 0x33, 0x0a, 0x16, 0x68, 0x74, 0x74, 0x70, 0x32, 0x5f, 0x6d, 0x61, 0x78, 0x5f, + 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6b, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x13, 0x68, 0x74, 0x74, 0x70, 0x32, 0x4d, 0x61, 0x78, 0x50, 0x69, 0x6e, 0x67, + 0x53, 0x74, 0x72, 0x69, 0x6b, 0x65, 0x73, 0x22, 0xfc, 0x02, 0x0a, 0x19, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x4f, 0x0a, + 0x0a, 0x73, 0x73, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x30, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x53, 0x4c, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4e, + 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x43, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x10, 0x63, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2c, + 0x0a, 0x12, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, + 0x5f, 0x73, 0x65, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x1a, 0x68, 0x0a, 0x09, + 0x53, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x73, + 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x61, 0x22, 0x94, 0x03, 0x0a, 0x19, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x12, 0x4a, 0x0a, 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4f, 0x0a, 0x0a, + 0x73, 0x73, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4e, 0x0a, - 0x11, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, - 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x10, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2c, 0x0a, - 0x12, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, - 0x73, 0x65, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x63, 0x1a, 0x68, 0x0a, 0x09, 0x53, - 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x5f, 0x63, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x43, 0x61, 0x22, 0x94, 0x03, 0x0a, 0x19, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x12, 0x4a, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, - 0x4a, 0x0a, 0x11, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x10, 0x6d, 0x69, 0x67, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4f, 0x0a, 0x0a, 0x73, - 0x73, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x30, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x8d, 0x01, 0x0a, - 0x09, 0x53, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x22, 0xb0, 0x03, 0x0a, - 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x02, - 0x32, 0x30, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x69, 0x7a, - 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x5f, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x72, 0x64, - 0x65, 0x72, 0x42, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, - 0x42, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, - 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x1a, 0xca, 0x01, 0x0a, 0x0c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x46, 0x69, - 0x65, 0x6c, 0x64, 0x12, 0x4e, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x02, 0x49, 0x44, 0x52, 0x05, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x61, 0x73, 0x63, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x52, 0x05, 0x69, 0x73, 0x41, 0x73, 0x63, - 0x22, 0x4d, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x49, 0x45, - 0x4c, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, - 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x53, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, - 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x49, 0x44, 0x10, 0x03, 0x22, - 0xbf, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, - 0x0a, 0x09, 0x69, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x08, 0x69, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x42, - 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x73, - 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x49, 0x64, - 0x73, 0x22, 0x1f, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, - 0x80, 0x02, 0x22, 0xf7, 0x02, 0x0a, 0x18, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, - 0x61, 0x70, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x50, 0x0a, 0x11, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x5f, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x8d, 0x01, + 0x0a, 0x09, 0x53, 0x53, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x22, 0xb0, 0x03, + 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x3a, + 0x02, 0x32, 0x30, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x5f, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, - 0x10, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x61, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, - 0x47, 0x72, 0x61, 0x70, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, - 0x61, 0x69, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x74, 0x6f, 0x70, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x96, 0x01, 0x0a, 0x12, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, - 0x79, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x6d, - 0x61, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x68, 0x6f, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x48, 0x6f, 0x70, 0x73, 0x12, 0x2d, 0x0a, - 0x12, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, - 0x63, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x62, 0x6f, 0x75, 0x6e, 0x64, - 0x61, 0x72, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x2f, 0x0a, 0x13, - 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x62, 0x6f, 0x75, 0x6e, 0x64, - 0x61, 0x72, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0d, 0x0a, - 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x2a, 0x48, 0x0a, 0x0c, - 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, - 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x49, 0x4e, 0x54, - 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x0a, - 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, - 0x52, 0x55, 0x43, 0x54, 0x10, 0x04, 0x3a, 0x7b, 0x0a, 0x15, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x95, 0xde, 0xaf, 0xb7, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, - 0x69, 0x6f, 0x6e, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x42, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0c, 0x6f, 0x72, 0x64, 0x65, + 0x72, 0x42, 0x79, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, + 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x1a, 0xca, 0x01, 0x0a, 0x0c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x12, 0x4e, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x02, 0x49, 0x44, 0x52, 0x05, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x69, 0x73, 0x5f, 0x61, 0x73, 0x63, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x52, 0x05, 0x69, 0x73, 0x41, 0x73, + 0x63, 0x22, 0x4d, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x49, + 0x45, 0x4c, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, + 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x4c, 0x41, 0x53, 0x54, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, + 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x49, 0x44, 0x10, 0x03, + 0x22, 0xbf, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, + 0x1b, 0x0a, 0x09, 0x69, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x08, 0x69, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0c, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, + 0x42, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x64, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x64, 0x49, + 0x64, 0x73, 0x22, 0x31, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, + 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x03, 0x0a, 0x18, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, + 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x11, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x48, 0x00, 0x52, 0x10, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x61, 0x0a, 0x0f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x6e, 0x65, + 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, + 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x74, 0x6f, 0x70, 0x43, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x6e, + 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x3a, 0x02, + 0x32, 0x30, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x1a, + 0x96, 0x01, 0x0a, 0x12, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x73, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x75, + 0x6d, 0x5f, 0x68, 0x6f, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6d, 0x61, + 0x78, 0x4e, 0x75, 0x6d, 0x48, 0x6f, 0x70, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x62, 0x6f, 0x75, 0x6e, + 0x64, 0x61, 0x72, 0x79, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x62, 0x6f, 0x75, 0x6e, 0x64, + 0x61, 0x72, 0x79, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0d, 0x0a, 0x0b, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x84, 0x04, 0x0a, 0x1b, 0x4c, 0x69, 0x6e, 0x65, + 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x67, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, + 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x48, 0x00, 0x52, 0x11, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, + 0x12, 0x69, 0x0a, 0x13, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x6e, 0x65, + 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, + 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x48, 0x00, 0x52, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, + 0x67, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20, 0x0a, 0x0c, 0x6d, + 0x61, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x68, 0x6f, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x4e, 0x75, 0x6d, 0x48, 0x6f, 0x70, 0x73, 0x12, 0x50, 0x0a, + 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x32, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, + 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, + 0x32, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x73, + 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x22, 0x57, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x19, 0x0a, 0x15, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x55, + 0x50, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x4f, 0x57, + 0x4e, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x42, 0x49, 0x44, + 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x03, 0x42, 0x10, 0x0a, 0x0e, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x2a, 0x60, + 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, + 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x49, + 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x02, + 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, + 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x52, 0x4f, 0x54, + 0x4f, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x06, + 0x3a, 0x7b, 0x0a, 0x15, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, + 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x95, 0xde, 0xaf, + 0xb7, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, } var ( @@ -4762,8 +5654,8 @@ func file_ml_metadata_proto_metadata_store_proto_rawDescGZIP() []byte { return file_ml_metadata_proto_metadata_store_proto_rawDescData } -var file_ml_metadata_proto_metadata_store_proto_enumTypes = make([]protoimpl.EnumInfo, 9) -var file_ml_metadata_proto_metadata_store_proto_msgTypes = make([]protoimpl.MessageInfo, 51) +var file_ml_metadata_proto_metadata_store_proto_enumTypes = make([]protoimpl.EnumInfo, 10) +var file_ml_metadata_proto_metadata_store_proto_msgTypes = make([]protoimpl.MessageInfo, 55) var file_ml_metadata_proto_metadata_store_proto_goTypes = []interface{}{ (PropertyType)(0), // 0: ml_metadata.PropertyType (Artifact_State)(0), // 1: ml_metadata.Artifact.State @@ -4774,137 +5666,153 @@ var file_ml_metadata_proto_metadata_store_proto_goTypes = []interface{}{ (ContextType_SystemDefinedBaseType)(0), // 6: ml_metadata.ContextType.SystemDefinedBaseType (SqliteMetadataSourceConfig_ConnectionMode)(0), // 7: ml_metadata.SqliteMetadataSourceConfig.ConnectionMode (ListOperationOptions_OrderByField_Field)(0), // 8: ml_metadata.ListOperationOptions.OrderByField.Field - (*SystemTypeExtension)(nil), // 9: ml_metadata.SystemTypeExtension - (*Value)(nil), // 10: ml_metadata.Value - (*Artifact)(nil), // 11: ml_metadata.Artifact - (*ArtifactType)(nil), // 12: ml_metadata.ArtifactType - (*Event)(nil), // 13: ml_metadata.Event - (*Execution)(nil), // 14: ml_metadata.Execution - (*ExecutionType)(nil), // 15: ml_metadata.ExecutionType - (*ContextType)(nil), // 16: ml_metadata.ContextType - (*Context)(nil), // 17: ml_metadata.Context - (*Attribution)(nil), // 18: ml_metadata.Attribution - (*Association)(nil), // 19: ml_metadata.Association - (*ParentContext)(nil), // 20: ml_metadata.ParentContext - (*LineageGraph)(nil), // 21: ml_metadata.LineageGraph - (*ArtifactStructType)(nil), // 22: ml_metadata.ArtifactStructType - (*UnionArtifactStructType)(nil), // 23: ml_metadata.UnionArtifactStructType - (*IntersectionArtifactStructType)(nil), // 24: ml_metadata.IntersectionArtifactStructType - (*ListArtifactStructType)(nil), // 25: ml_metadata.ListArtifactStructType - (*NoneArtifactStructType)(nil), // 26: ml_metadata.NoneArtifactStructType - (*AnyArtifactStructType)(nil), // 27: ml_metadata.AnyArtifactStructType - (*TupleArtifactStructType)(nil), // 28: ml_metadata.TupleArtifactStructType - (*DictArtifactStructType)(nil), // 29: ml_metadata.DictArtifactStructType - (*FakeDatabaseConfig)(nil), // 30: ml_metadata.FakeDatabaseConfig - (*MySQLDatabaseConfig)(nil), // 31: ml_metadata.MySQLDatabaseConfig - (*SqliteMetadataSourceConfig)(nil), // 32: ml_metadata.SqliteMetadataSourceConfig - (*MigrationOptions)(nil), // 33: ml_metadata.MigrationOptions - (*RetryOptions)(nil), // 34: ml_metadata.RetryOptions - (*ConnectionConfig)(nil), // 35: ml_metadata.ConnectionConfig - (*GrpcChannelArguments)(nil), // 36: ml_metadata.GrpcChannelArguments - (*MetadataStoreClientConfig)(nil), // 37: ml_metadata.MetadataStoreClientConfig - (*MetadataStoreServerConfig)(nil), // 38: ml_metadata.MetadataStoreServerConfig - (*ListOperationOptions)(nil), // 39: ml_metadata.ListOperationOptions - (*ListOperationNextPageToken)(nil), // 40: ml_metadata.ListOperationNextPageToken - (*TransactionOptions)(nil), // 41: ml_metadata.TransactionOptions - (*LineageGraphQueryOptions)(nil), // 42: ml_metadata.LineageGraphQueryOptions - nil, // 43: ml_metadata.Artifact.PropertiesEntry - nil, // 44: ml_metadata.Artifact.CustomPropertiesEntry - nil, // 45: ml_metadata.ArtifactType.PropertiesEntry - (*Event_Path)(nil), // 46: ml_metadata.Event.Path - (*Event_Path_Step)(nil), // 47: ml_metadata.Event.Path.Step - nil, // 48: ml_metadata.Execution.PropertiesEntry - nil, // 49: ml_metadata.Execution.CustomPropertiesEntry - nil, // 50: ml_metadata.ExecutionType.PropertiesEntry - nil, // 51: ml_metadata.ContextType.PropertiesEntry - nil, // 52: ml_metadata.Context.PropertiesEntry - nil, // 53: ml_metadata.Context.CustomPropertiesEntry - nil, // 54: ml_metadata.DictArtifactStructType.PropertiesEntry - (*MySQLDatabaseConfig_SSLOptions)(nil), // 55: ml_metadata.MySQLDatabaseConfig.SSLOptions - (*MetadataStoreClientConfig_SSLConfig)(nil), // 56: ml_metadata.MetadataStoreClientConfig.SSLConfig - (*MetadataStoreServerConfig_SSLConfig)(nil), // 57: ml_metadata.MetadataStoreServerConfig.SSLConfig - (*ListOperationOptions_OrderByField)(nil), // 58: ml_metadata.ListOperationOptions.OrderByField - (*LineageGraphQueryOptions_BoundaryConstraint)(nil), // 59: ml_metadata.LineageGraphQueryOptions.BoundaryConstraint - (*structpb.Struct)(nil), // 60: google.protobuf.Struct - (*descriptorpb.EnumValueOptions)(nil), // 61: google.protobuf.EnumValueOptions + (LineageSubgraphQueryOptions_Direction)(0), // 9: ml_metadata.LineageSubgraphQueryOptions.Direction + (*SystemTypeExtension)(nil), // 10: ml_metadata.SystemTypeExtension + (*Value)(nil), // 11: ml_metadata.Value + (*Artifact)(nil), // 12: ml_metadata.Artifact + (*ArtifactType)(nil), // 13: ml_metadata.ArtifactType + (*Event)(nil), // 14: ml_metadata.Event + (*Execution)(nil), // 15: ml_metadata.Execution + (*ExecutionType)(nil), // 16: ml_metadata.ExecutionType + (*ContextType)(nil), // 17: ml_metadata.ContextType + (*Context)(nil), // 18: ml_metadata.Context + (*Attribution)(nil), // 19: ml_metadata.Attribution + (*Association)(nil), // 20: ml_metadata.Association + (*ParentContext)(nil), // 21: ml_metadata.ParentContext + (*LineageGraph)(nil), // 22: ml_metadata.LineageGraph + (*ArtifactStructType)(nil), // 23: ml_metadata.ArtifactStructType + (*UnionArtifactStructType)(nil), // 24: ml_metadata.UnionArtifactStructType + (*IntersectionArtifactStructType)(nil), // 25: ml_metadata.IntersectionArtifactStructType + (*ListArtifactStructType)(nil), // 26: ml_metadata.ListArtifactStructType + (*NoneArtifactStructType)(nil), // 27: ml_metadata.NoneArtifactStructType + (*AnyArtifactStructType)(nil), // 28: ml_metadata.AnyArtifactStructType + (*TupleArtifactStructType)(nil), // 29: ml_metadata.TupleArtifactStructType + (*DictArtifactStructType)(nil), // 30: ml_metadata.DictArtifactStructType + (*FakeDatabaseConfig)(nil), // 31: ml_metadata.FakeDatabaseConfig + (*MySQLDatabaseConfig)(nil), // 32: ml_metadata.MySQLDatabaseConfig + (*SqliteMetadataSourceConfig)(nil), // 33: ml_metadata.SqliteMetadataSourceConfig + (*PostgreSQLDatabaseConfig)(nil), // 34: ml_metadata.PostgreSQLDatabaseConfig + (*MigrationOptions)(nil), // 35: ml_metadata.MigrationOptions + (*RetryOptions)(nil), // 36: ml_metadata.RetryOptions + (*ConnectionConfig)(nil), // 37: ml_metadata.ConnectionConfig + (*GrpcChannelArguments)(nil), // 38: ml_metadata.GrpcChannelArguments + (*MetadataStoreClientConfig)(nil), // 39: ml_metadata.MetadataStoreClientConfig + (*MetadataStoreServerConfig)(nil), // 40: ml_metadata.MetadataStoreServerConfig + (*ListOperationOptions)(nil), // 41: ml_metadata.ListOperationOptions + (*ListOperationNextPageToken)(nil), // 42: ml_metadata.ListOperationNextPageToken + (*TransactionOptions)(nil), // 43: ml_metadata.TransactionOptions + (*LineageGraphQueryOptions)(nil), // 44: ml_metadata.LineageGraphQueryOptions + (*LineageSubgraphQueryOptions)(nil), // 45: ml_metadata.LineageSubgraphQueryOptions + nil, // 46: ml_metadata.Artifact.PropertiesEntry + nil, // 47: ml_metadata.Artifact.CustomPropertiesEntry + nil, // 48: ml_metadata.ArtifactType.PropertiesEntry + (*Event_Path)(nil), // 49: ml_metadata.Event.Path + (*Event_Path_Step)(nil), // 50: ml_metadata.Event.Path.Step + nil, // 51: ml_metadata.Execution.PropertiesEntry + nil, // 52: ml_metadata.Execution.CustomPropertiesEntry + nil, // 53: ml_metadata.ExecutionType.PropertiesEntry + nil, // 54: ml_metadata.ContextType.PropertiesEntry + nil, // 55: ml_metadata.Context.PropertiesEntry + nil, // 56: ml_metadata.Context.CustomPropertiesEntry + nil, // 57: ml_metadata.DictArtifactStructType.PropertiesEntry + (*MySQLDatabaseConfig_SSLOptions)(nil), // 58: ml_metadata.MySQLDatabaseConfig.SSLOptions + (*PostgreSQLDatabaseConfig_SSLOptions)(nil), // 59: ml_metadata.PostgreSQLDatabaseConfig.SSLOptions + (*MetadataStoreClientConfig_SSLConfig)(nil), // 60: ml_metadata.MetadataStoreClientConfig.SSLConfig + (*MetadataStoreServerConfig_SSLConfig)(nil), // 61: ml_metadata.MetadataStoreServerConfig.SSLConfig + (*ListOperationOptions_OrderByField)(nil), // 62: ml_metadata.ListOperationOptions.OrderByField + (*LineageGraphQueryOptions_BoundaryConstraint)(nil), // 63: ml_metadata.LineageGraphQueryOptions.BoundaryConstraint + (*LineageSubgraphQueryOptions_StartingNodes)(nil), // 64: ml_metadata.LineageSubgraphQueryOptions.StartingNodes + (*structpb.Struct)(nil), // 65: google.protobuf.Struct + (*anypb.Any)(nil), // 66: google.protobuf.Any + (*descriptorpb.EnumValueOptions)(nil), // 67: google.protobuf.EnumValueOptions } var file_ml_metadata_proto_metadata_store_proto_depIdxs = []int32{ - 60, // 0: ml_metadata.Value.struct_value:type_name -> google.protobuf.Struct - 43, // 1: ml_metadata.Artifact.properties:type_name -> ml_metadata.Artifact.PropertiesEntry - 44, // 2: ml_metadata.Artifact.custom_properties:type_name -> ml_metadata.Artifact.CustomPropertiesEntry - 1, // 3: ml_metadata.Artifact.state:type_name -> ml_metadata.Artifact.State - 45, // 4: ml_metadata.ArtifactType.properties:type_name -> ml_metadata.ArtifactType.PropertiesEntry - 2, // 5: ml_metadata.ArtifactType.base_type:type_name -> ml_metadata.ArtifactType.SystemDefinedBaseType - 46, // 6: ml_metadata.Event.path:type_name -> ml_metadata.Event.Path - 3, // 7: ml_metadata.Event.type:type_name -> ml_metadata.Event.Type - 4, // 8: ml_metadata.Execution.last_known_state:type_name -> ml_metadata.Execution.State - 48, // 9: ml_metadata.Execution.properties:type_name -> ml_metadata.Execution.PropertiesEntry - 49, // 10: ml_metadata.Execution.custom_properties:type_name -> ml_metadata.Execution.CustomPropertiesEntry - 50, // 11: ml_metadata.ExecutionType.properties:type_name -> ml_metadata.ExecutionType.PropertiesEntry - 22, // 12: ml_metadata.ExecutionType.input_type:type_name -> ml_metadata.ArtifactStructType - 22, // 13: ml_metadata.ExecutionType.output_type:type_name -> ml_metadata.ArtifactStructType - 5, // 14: ml_metadata.ExecutionType.base_type:type_name -> ml_metadata.ExecutionType.SystemDefinedBaseType - 51, // 15: ml_metadata.ContextType.properties:type_name -> ml_metadata.ContextType.PropertiesEntry - 6, // 16: ml_metadata.ContextType.base_type:type_name -> ml_metadata.ContextType.SystemDefinedBaseType - 52, // 17: ml_metadata.Context.properties:type_name -> ml_metadata.Context.PropertiesEntry - 53, // 18: ml_metadata.Context.custom_properties:type_name -> ml_metadata.Context.CustomPropertiesEntry - 12, // 19: ml_metadata.LineageGraph.artifact_types:type_name -> ml_metadata.ArtifactType - 15, // 20: ml_metadata.LineageGraph.execution_types:type_name -> ml_metadata.ExecutionType - 16, // 21: ml_metadata.LineageGraph.context_types:type_name -> ml_metadata.ContextType - 11, // 22: ml_metadata.LineageGraph.artifacts:type_name -> ml_metadata.Artifact - 14, // 23: ml_metadata.LineageGraph.executions:type_name -> ml_metadata.Execution - 17, // 24: ml_metadata.LineageGraph.contexts:type_name -> ml_metadata.Context - 13, // 25: ml_metadata.LineageGraph.events:type_name -> ml_metadata.Event - 18, // 26: ml_metadata.LineageGraph.attributions:type_name -> ml_metadata.Attribution - 19, // 27: ml_metadata.LineageGraph.associations:type_name -> ml_metadata.Association - 12, // 28: ml_metadata.ArtifactStructType.simple:type_name -> ml_metadata.ArtifactType - 23, // 29: ml_metadata.ArtifactStructType.union_type:type_name -> ml_metadata.UnionArtifactStructType - 24, // 30: ml_metadata.ArtifactStructType.intersection:type_name -> ml_metadata.IntersectionArtifactStructType - 25, // 31: ml_metadata.ArtifactStructType.list:type_name -> ml_metadata.ListArtifactStructType - 26, // 32: ml_metadata.ArtifactStructType.none:type_name -> ml_metadata.NoneArtifactStructType - 27, // 33: ml_metadata.ArtifactStructType.any:type_name -> ml_metadata.AnyArtifactStructType - 28, // 34: ml_metadata.ArtifactStructType.tuple:type_name -> ml_metadata.TupleArtifactStructType - 29, // 35: ml_metadata.ArtifactStructType.dict:type_name -> ml_metadata.DictArtifactStructType - 22, // 36: ml_metadata.UnionArtifactStructType.candidates:type_name -> ml_metadata.ArtifactStructType - 22, // 37: ml_metadata.IntersectionArtifactStructType.constraints:type_name -> ml_metadata.ArtifactStructType - 22, // 38: ml_metadata.ListArtifactStructType.element:type_name -> ml_metadata.ArtifactStructType - 22, // 39: ml_metadata.TupleArtifactStructType.elements:type_name -> ml_metadata.ArtifactStructType - 54, // 40: ml_metadata.DictArtifactStructType.properties:type_name -> ml_metadata.DictArtifactStructType.PropertiesEntry - 22, // 41: ml_metadata.DictArtifactStructType.extra_properties_type:type_name -> ml_metadata.ArtifactStructType - 55, // 42: ml_metadata.MySQLDatabaseConfig.ssl_options:type_name -> ml_metadata.MySQLDatabaseConfig.SSLOptions - 7, // 43: ml_metadata.SqliteMetadataSourceConfig.connection_mode:type_name -> ml_metadata.SqliteMetadataSourceConfig.ConnectionMode - 30, // 44: ml_metadata.ConnectionConfig.fake_database:type_name -> ml_metadata.FakeDatabaseConfig - 31, // 45: ml_metadata.ConnectionConfig.mysql:type_name -> ml_metadata.MySQLDatabaseConfig - 32, // 46: ml_metadata.ConnectionConfig.sqlite:type_name -> ml_metadata.SqliteMetadataSourceConfig - 34, // 47: ml_metadata.ConnectionConfig.retry_options:type_name -> ml_metadata.RetryOptions - 56, // 48: ml_metadata.MetadataStoreClientConfig.ssl_config:type_name -> ml_metadata.MetadataStoreClientConfig.SSLConfig - 36, // 49: ml_metadata.MetadataStoreClientConfig.channel_arguments:type_name -> ml_metadata.GrpcChannelArguments - 35, // 50: ml_metadata.MetadataStoreServerConfig.connection_config:type_name -> ml_metadata.ConnectionConfig - 33, // 51: ml_metadata.MetadataStoreServerConfig.migration_options:type_name -> ml_metadata.MigrationOptions - 57, // 52: ml_metadata.MetadataStoreServerConfig.ssl_config:type_name -> ml_metadata.MetadataStoreServerConfig.SSLConfig - 58, // 53: ml_metadata.ListOperationOptions.order_by_field:type_name -> ml_metadata.ListOperationOptions.OrderByField - 39, // 54: ml_metadata.ListOperationNextPageToken.set_options:type_name -> ml_metadata.ListOperationOptions - 39, // 55: ml_metadata.LineageGraphQueryOptions.artifacts_options:type_name -> ml_metadata.ListOperationOptions - 59, // 56: ml_metadata.LineageGraphQueryOptions.stop_conditions:type_name -> ml_metadata.LineageGraphQueryOptions.BoundaryConstraint - 10, // 57: ml_metadata.Artifact.PropertiesEntry.value:type_name -> ml_metadata.Value - 10, // 58: ml_metadata.Artifact.CustomPropertiesEntry.value:type_name -> ml_metadata.Value - 0, // 59: ml_metadata.ArtifactType.PropertiesEntry.value:type_name -> ml_metadata.PropertyType - 47, // 60: ml_metadata.Event.Path.steps:type_name -> ml_metadata.Event.Path.Step - 10, // 61: ml_metadata.Execution.PropertiesEntry.value:type_name -> ml_metadata.Value - 10, // 62: ml_metadata.Execution.CustomPropertiesEntry.value:type_name -> ml_metadata.Value - 0, // 63: ml_metadata.ExecutionType.PropertiesEntry.value:type_name -> ml_metadata.PropertyType - 0, // 64: ml_metadata.ContextType.PropertiesEntry.value:type_name -> ml_metadata.PropertyType - 10, // 65: ml_metadata.Context.PropertiesEntry.value:type_name -> ml_metadata.Value - 10, // 66: ml_metadata.Context.CustomPropertiesEntry.value:type_name -> ml_metadata.Value - 22, // 67: ml_metadata.DictArtifactStructType.PropertiesEntry.value:type_name -> ml_metadata.ArtifactStructType - 8, // 68: ml_metadata.ListOperationOptions.OrderByField.field:type_name -> ml_metadata.ListOperationOptions.OrderByField.Field - 61, // 69: ml_metadata.system_type_extension:extendee -> google.protobuf.EnumValueOptions - 9, // 70: ml_metadata.system_type_extension:type_name -> ml_metadata.SystemTypeExtension - 71, // [71:71] is the sub-list for method output_type - 71, // [71:71] is the sub-list for method input_type - 70, // [70:71] is the sub-list for extension type_name - 69, // [69:70] is the sub-list for extension extendee - 0, // [0:69] is the sub-list for field type_name + 65, // 0: ml_metadata.Value.struct_value:type_name -> google.protobuf.Struct + 66, // 1: ml_metadata.Value.proto_value:type_name -> google.protobuf.Any + 46, // 2: ml_metadata.Artifact.properties:type_name -> ml_metadata.Artifact.PropertiesEntry + 47, // 3: ml_metadata.Artifact.custom_properties:type_name -> ml_metadata.Artifact.CustomPropertiesEntry + 1, // 4: ml_metadata.Artifact.state:type_name -> ml_metadata.Artifact.State + 66, // 5: ml_metadata.Artifact.system_metadata:type_name -> google.protobuf.Any + 48, // 6: ml_metadata.ArtifactType.properties:type_name -> ml_metadata.ArtifactType.PropertiesEntry + 2, // 7: ml_metadata.ArtifactType.base_type:type_name -> ml_metadata.ArtifactType.SystemDefinedBaseType + 49, // 8: ml_metadata.Event.path:type_name -> ml_metadata.Event.Path + 3, // 9: ml_metadata.Event.type:type_name -> ml_metadata.Event.Type + 66, // 10: ml_metadata.Event.system_metadata:type_name -> google.protobuf.Any + 4, // 11: ml_metadata.Execution.last_known_state:type_name -> ml_metadata.Execution.State + 51, // 12: ml_metadata.Execution.properties:type_name -> ml_metadata.Execution.PropertiesEntry + 52, // 13: ml_metadata.Execution.custom_properties:type_name -> ml_metadata.Execution.CustomPropertiesEntry + 66, // 14: ml_metadata.Execution.system_metadata:type_name -> google.protobuf.Any + 53, // 15: ml_metadata.ExecutionType.properties:type_name -> ml_metadata.ExecutionType.PropertiesEntry + 23, // 16: ml_metadata.ExecutionType.input_type:type_name -> ml_metadata.ArtifactStructType + 23, // 17: ml_metadata.ExecutionType.output_type:type_name -> ml_metadata.ArtifactStructType + 5, // 18: ml_metadata.ExecutionType.base_type:type_name -> ml_metadata.ExecutionType.SystemDefinedBaseType + 54, // 19: ml_metadata.ContextType.properties:type_name -> ml_metadata.ContextType.PropertiesEntry + 6, // 20: ml_metadata.ContextType.base_type:type_name -> ml_metadata.ContextType.SystemDefinedBaseType + 55, // 21: ml_metadata.Context.properties:type_name -> ml_metadata.Context.PropertiesEntry + 56, // 22: ml_metadata.Context.custom_properties:type_name -> ml_metadata.Context.CustomPropertiesEntry + 66, // 23: ml_metadata.Context.system_metadata:type_name -> google.protobuf.Any + 13, // 24: ml_metadata.LineageGraph.artifact_types:type_name -> ml_metadata.ArtifactType + 16, // 25: ml_metadata.LineageGraph.execution_types:type_name -> ml_metadata.ExecutionType + 17, // 26: ml_metadata.LineageGraph.context_types:type_name -> ml_metadata.ContextType + 12, // 27: ml_metadata.LineageGraph.artifacts:type_name -> ml_metadata.Artifact + 15, // 28: ml_metadata.LineageGraph.executions:type_name -> ml_metadata.Execution + 18, // 29: ml_metadata.LineageGraph.contexts:type_name -> ml_metadata.Context + 14, // 30: ml_metadata.LineageGraph.events:type_name -> ml_metadata.Event + 19, // 31: ml_metadata.LineageGraph.attributions:type_name -> ml_metadata.Attribution + 20, // 32: ml_metadata.LineageGraph.associations:type_name -> ml_metadata.Association + 13, // 33: ml_metadata.ArtifactStructType.simple:type_name -> ml_metadata.ArtifactType + 24, // 34: ml_metadata.ArtifactStructType.union_type:type_name -> ml_metadata.UnionArtifactStructType + 25, // 35: ml_metadata.ArtifactStructType.intersection:type_name -> ml_metadata.IntersectionArtifactStructType + 26, // 36: ml_metadata.ArtifactStructType.list:type_name -> ml_metadata.ListArtifactStructType + 27, // 37: ml_metadata.ArtifactStructType.none:type_name -> ml_metadata.NoneArtifactStructType + 28, // 38: ml_metadata.ArtifactStructType.any:type_name -> ml_metadata.AnyArtifactStructType + 29, // 39: ml_metadata.ArtifactStructType.tuple:type_name -> ml_metadata.TupleArtifactStructType + 30, // 40: ml_metadata.ArtifactStructType.dict:type_name -> ml_metadata.DictArtifactStructType + 23, // 41: ml_metadata.UnionArtifactStructType.candidates:type_name -> ml_metadata.ArtifactStructType + 23, // 42: ml_metadata.IntersectionArtifactStructType.constraints:type_name -> ml_metadata.ArtifactStructType + 23, // 43: ml_metadata.ListArtifactStructType.element:type_name -> ml_metadata.ArtifactStructType + 23, // 44: ml_metadata.TupleArtifactStructType.elements:type_name -> ml_metadata.ArtifactStructType + 57, // 45: ml_metadata.DictArtifactStructType.properties:type_name -> ml_metadata.DictArtifactStructType.PropertiesEntry + 23, // 46: ml_metadata.DictArtifactStructType.extra_properties_type:type_name -> ml_metadata.ArtifactStructType + 58, // 47: ml_metadata.MySQLDatabaseConfig.ssl_options:type_name -> ml_metadata.MySQLDatabaseConfig.SSLOptions + 7, // 48: ml_metadata.SqliteMetadataSourceConfig.connection_mode:type_name -> ml_metadata.SqliteMetadataSourceConfig.ConnectionMode + 59, // 49: ml_metadata.PostgreSQLDatabaseConfig.ssloption:type_name -> ml_metadata.PostgreSQLDatabaseConfig.SSLOptions + 31, // 50: ml_metadata.ConnectionConfig.fake_database:type_name -> ml_metadata.FakeDatabaseConfig + 32, // 51: ml_metadata.ConnectionConfig.mysql:type_name -> ml_metadata.MySQLDatabaseConfig + 33, // 52: ml_metadata.ConnectionConfig.sqlite:type_name -> ml_metadata.SqliteMetadataSourceConfig + 34, // 53: ml_metadata.ConnectionConfig.postgresql:type_name -> ml_metadata.PostgreSQLDatabaseConfig + 36, // 54: ml_metadata.ConnectionConfig.retry_options:type_name -> ml_metadata.RetryOptions + 60, // 55: ml_metadata.MetadataStoreClientConfig.ssl_config:type_name -> ml_metadata.MetadataStoreClientConfig.SSLConfig + 38, // 56: ml_metadata.MetadataStoreClientConfig.channel_arguments:type_name -> ml_metadata.GrpcChannelArguments + 37, // 57: ml_metadata.MetadataStoreServerConfig.connection_config:type_name -> ml_metadata.ConnectionConfig + 35, // 58: ml_metadata.MetadataStoreServerConfig.migration_options:type_name -> ml_metadata.MigrationOptions + 61, // 59: ml_metadata.MetadataStoreServerConfig.ssl_config:type_name -> ml_metadata.MetadataStoreServerConfig.SSLConfig + 62, // 60: ml_metadata.ListOperationOptions.order_by_field:type_name -> ml_metadata.ListOperationOptions.OrderByField + 41, // 61: ml_metadata.ListOperationNextPageToken.set_options:type_name -> ml_metadata.ListOperationOptions + 41, // 62: ml_metadata.LineageGraphQueryOptions.artifacts_options:type_name -> ml_metadata.ListOperationOptions + 63, // 63: ml_metadata.LineageGraphQueryOptions.stop_conditions:type_name -> ml_metadata.LineageGraphQueryOptions.BoundaryConstraint + 64, // 64: ml_metadata.LineageSubgraphQueryOptions.starting_artifacts:type_name -> ml_metadata.LineageSubgraphQueryOptions.StartingNodes + 64, // 65: ml_metadata.LineageSubgraphQueryOptions.starting_executions:type_name -> ml_metadata.LineageSubgraphQueryOptions.StartingNodes + 9, // 66: ml_metadata.LineageSubgraphQueryOptions.direction:type_name -> ml_metadata.LineageSubgraphQueryOptions.Direction + 11, // 67: ml_metadata.Artifact.PropertiesEntry.value:type_name -> ml_metadata.Value + 11, // 68: ml_metadata.Artifact.CustomPropertiesEntry.value:type_name -> ml_metadata.Value + 0, // 69: ml_metadata.ArtifactType.PropertiesEntry.value:type_name -> ml_metadata.PropertyType + 50, // 70: ml_metadata.Event.Path.steps:type_name -> ml_metadata.Event.Path.Step + 11, // 71: ml_metadata.Execution.PropertiesEntry.value:type_name -> ml_metadata.Value + 11, // 72: ml_metadata.Execution.CustomPropertiesEntry.value:type_name -> ml_metadata.Value + 0, // 73: ml_metadata.ExecutionType.PropertiesEntry.value:type_name -> ml_metadata.PropertyType + 0, // 74: ml_metadata.ContextType.PropertiesEntry.value:type_name -> ml_metadata.PropertyType + 11, // 75: ml_metadata.Context.PropertiesEntry.value:type_name -> ml_metadata.Value + 11, // 76: ml_metadata.Context.CustomPropertiesEntry.value:type_name -> ml_metadata.Value + 23, // 77: ml_metadata.DictArtifactStructType.PropertiesEntry.value:type_name -> ml_metadata.ArtifactStructType + 8, // 78: ml_metadata.ListOperationOptions.OrderByField.field:type_name -> ml_metadata.ListOperationOptions.OrderByField.Field + 67, // 79: ml_metadata.system_type_extension:extendee -> google.protobuf.EnumValueOptions + 10, // 80: ml_metadata.system_type_extension:type_name -> ml_metadata.SystemTypeExtension + 81, // [81:81] is the sub-list for method output_type + 81, // [81:81] is the sub-list for method input_type + 80, // [80:81] is the sub-list for extension type_name + 79, // [79:80] is the sub-list for extension extendee + 0, // [0:79] is the sub-list for field type_name } func init() { file_ml_metadata_proto_metadata_store_proto_init() } @@ -5202,7 +6110,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { } } file_ml_metadata_proto_metadata_store_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MigrationOptions); i { + switch v := v.(*PostgreSQLDatabaseConfig); i { case 0: return &v.state case 1: @@ -5214,7 +6122,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { } } file_ml_metadata_proto_metadata_store_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RetryOptions); i { + switch v := v.(*MigrationOptions); i { case 0: return &v.state case 1: @@ -5226,7 +6134,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { } } file_ml_metadata_proto_metadata_store_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConnectionConfig); i { + switch v := v.(*RetryOptions); i { case 0: return &v.state case 1: @@ -5238,7 +6146,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { } } file_ml_metadata_proto_metadata_store_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GrpcChannelArguments); i { + switch v := v.(*ConnectionConfig); i { case 0: return &v.state case 1: @@ -5250,7 +6158,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { } } file_ml_metadata_proto_metadata_store_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetadataStoreClientConfig); i { + switch v := v.(*GrpcChannelArguments); i { case 0: return &v.state case 1: @@ -5262,7 +6170,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { } } file_ml_metadata_proto_metadata_store_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetadataStoreServerConfig); i { + switch v := v.(*MetadataStoreClientConfig); i { case 0: return &v.state case 1: @@ -5274,7 +6182,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { } } file_ml_metadata_proto_metadata_store_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListOperationOptions); i { + switch v := v.(*MetadataStoreServerConfig); i { case 0: return &v.state case 1: @@ -5286,7 +6194,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { } } file_ml_metadata_proto_metadata_store_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListOperationNextPageToken); i { + switch v := v.(*ListOperationOptions); i { case 0: return &v.state case 1: @@ -5298,6 +6206,18 @@ func file_ml_metadata_proto_metadata_store_proto_init() { } } file_ml_metadata_proto_metadata_store_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListOperationNextPageToken); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionOptions); i { case 0: return &v.state @@ -5311,7 +6231,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_ml_metadata_proto_metadata_store_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LineageGraphQueryOptions); i { case 0: return &v.state @@ -5323,7 +6243,19 @@ func file_ml_metadata_proto_metadata_store_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_ml_metadata_proto_metadata_store_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LineageSubgraphQueryOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Event_Path); i { case 0: return &v.state @@ -5335,7 +6267,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_ml_metadata_proto_metadata_store_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Event_Path_Step); i { case 0: return &v.state @@ -5347,7 +6279,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_ml_metadata_proto_metadata_store_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MySQLDatabaseConfig_SSLOptions); i { case 0: return &v.state @@ -5359,7 +6291,19 @@ func file_ml_metadata_proto_metadata_store_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_ml_metadata_proto_metadata_store_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostgreSQLDatabaseConfig_SSLOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetadataStoreClientConfig_SSLConfig); i { case 0: return &v.state @@ -5371,7 +6315,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_ml_metadata_proto_metadata_store_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetadataStoreServerConfig_SSLConfig); i { case 0: return &v.state @@ -5383,7 +6327,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_ml_metadata_proto_metadata_store_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListOperationOptions_OrderByField); i { case 0: return &v.state @@ -5395,7 +6339,7 @@ func file_ml_metadata_proto_metadata_store_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_ml_metadata_proto_metadata_store_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LineageGraphQueryOptions_BoundaryConstraint); i { case 0: return &v.state @@ -5407,12 +6351,26 @@ func file_ml_metadata_proto_metadata_store_proto_init() { return nil } } + file_ml_metadata_proto_metadata_store_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LineageSubgraphQueryOptions_StartingNodes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_ml_metadata_proto_metadata_store_proto_msgTypes[1].OneofWrappers = []interface{}{ (*Value_IntValue)(nil), (*Value_DoubleValue)(nil), (*Value_StringValue)(nil), (*Value_StructValue)(nil), + (*Value_ProtoValue)(nil), + (*Value_BoolValue)(nil), } file_ml_metadata_proto_metadata_store_proto_msgTypes[13].OneofWrappers = []interface{}{ (*ArtifactStructType_Simple)(nil), @@ -5424,15 +6382,20 @@ func file_ml_metadata_proto_metadata_store_proto_init() { (*ArtifactStructType_Tuple)(nil), (*ArtifactStructType_Dict)(nil), } - file_ml_metadata_proto_metadata_store_proto_msgTypes[26].OneofWrappers = []interface{}{ + file_ml_metadata_proto_metadata_store_proto_msgTypes[27].OneofWrappers = []interface{}{ (*ConnectionConfig_FakeDatabase)(nil), (*ConnectionConfig_Mysql)(nil), (*ConnectionConfig_Sqlite)(nil), + (*ConnectionConfig_Postgresql)(nil), } - file_ml_metadata_proto_metadata_store_proto_msgTypes[33].OneofWrappers = []interface{}{ + file_ml_metadata_proto_metadata_store_proto_msgTypes[34].OneofWrappers = []interface{}{ (*LineageGraphQueryOptions_ArtifactsOptions)(nil), } - file_ml_metadata_proto_metadata_store_proto_msgTypes[38].OneofWrappers = []interface{}{ + file_ml_metadata_proto_metadata_store_proto_msgTypes[35].OneofWrappers = []interface{}{ + (*LineageSubgraphQueryOptions_StartingArtifacts)(nil), + (*LineageSubgraphQueryOptions_StartingExecutions)(nil), + } + file_ml_metadata_proto_metadata_store_proto_msgTypes[40].OneofWrappers = []interface{}{ (*Event_Path_Step_Index)(nil), (*Event_Path_Step_Key)(nil), } @@ -5441,8 +6404,8 @@ func file_ml_metadata_proto_metadata_store_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_ml_metadata_proto_metadata_store_proto_rawDesc, - NumEnums: 9, - NumMessages: 51, + NumEnums: 10, + NumMessages: 55, NumExtensions: 1, NumServices: 0, }, diff --git a/third_party/ml-metadata/go/ml_metadata/metadata_store_service.pb.go b/third_party/ml-metadata/go/ml_metadata/metadata_store_service.pb.go index 35c5beef3fa..3bf18dd322b 100644 --- a/third_party/ml-metadata/go/ml_metadata/metadata_store_service.pb.go +++ b/third_party/ml-metadata/go/ml_metadata/metadata_store_service.pb.go @@ -16,7 +16,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 -// protoc v3.17.3 +// protoc v3.15.8 // source: ml_metadata/proto/metadata_store_service.proto package ml_metadata @@ -24,6 +24,7 @@ package ml_metadata import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" reflect "reflect" sync "sync" ) @@ -296,6 +297,92 @@ type PutArtifactsRequest struct { Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts" json:"artifacts,omitempty"` // Additional options to change the behavior of the method. Options *PutArtifactsRequest_Options `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + // FieldMask for artifacts in the PUT update + // If `artifact.id` is not specified, it means a new artifact will be created + // and `update_mask` will not be applied to the creation. + // If `update_mask` is empty, update the artifacts as a whole. + // If `update_mask` is not empty, only update fields or properties specified + // in `update_mask`. + // Example request protos: + // 1. Examples that update `properties` / `custom_properties`: + // 1.1 Add a <'key', 'val'> pair into `custom_properties`: + // { + // artifacts { + // id: 1234 + // type_id: 5678 + // custom_properties { + // key: "key" + // value: { + // string_value: "val" + // } + // } + // } + // update_mask { + // paths: "custom_properties.key" + // } + // } + // 1.2 Set `custom_properties['key'].bool_value` to true: + // { + // artifacts { + // id: 1234 + // type_id: 5678 + // custom_properties { + // key: "key" + // value: { + // bool_value: true + // } + // } + // } + // update_mask { + // paths: "custom_properties.key" + // } + // } + // 1.3 Delete the complete <'key', 'val'> pair from `custom_properties`: + // { + // artifacts { + // id: 1234 + // type_id: 5678 + // custom_properties {} + // } + // update_mask { + // paths: "custom_properties.key" + // } + // } + // 2. Examples that update fields such as `uri`, `external_id`, etc: + // 2.1 Update `external_id` field: + // { + // artifacts { + // id: 1234 + // type_id: 5678 + // external_id: "new_value" + // } + // update_mask { + // paths: "external_id" + // } + // } + // 2.2 Set `uri` field: + // { + // artifacts { + // id: 1234 + // type_id: 5678 + // uri: "set_value" + // } + // update_mask { + // paths: "uri" + // } + // } + // If `paths: "properties"` or `paths: "custom_properties"` are added to + // `update_mask`, the key-level updates will be ignored and we only perform + // field-level updates on the all `properties`/`custom_properties`. + // For example: + // If the mask is: {"properties", "properties.key1"}, the field path + // "properties.key1" will be ignored and all `properties` will be updated. + // (Do not suggest) + // If the mask is {"properties", "external_id"}, all + // `properties` and field `external_id` will be updated. (Do not suggest) + UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` } func (x *PutArtifactsRequest) Reset() { @@ -344,6 +431,20 @@ func (x *PutArtifactsRequest) GetOptions() *PutArtifactsRequest_Options { return nil } +func (x *PutArtifactsRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +func (x *PutArtifactsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.UpdateMask + } + return nil +} + type PutArtifactsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -417,6 +518,8 @@ type PutArtifactTypeRequest struct { CanDeleteFields *bool `protobuf:"varint,3,opt,name=can_delete_fields,json=canDeleteFields" json:"can_delete_fields,omitempty"` // Deprecated: Do not use. AllFieldsMatch *bool `protobuf:"varint,4,opt,name=all_fields_match,json=allFieldsMatch,def=1" json:"all_fields_match,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,6,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } // Default values for PutArtifactTypeRequest fields. @@ -493,6 +596,13 @@ func (x *PutArtifactTypeRequest) GetAllFieldsMatch() bool { return Default_PutArtifactTypeRequest_AllFieldsMatch } +func (x *PutArtifactTypeRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + type PutArtifactTypeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -547,6 +657,44 @@ type PutExecutionsRequest struct { unknownFields protoimpl.UnknownFields Executions []*Execution `protobuf:"bytes,1,rep,name=executions" json:"executions,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + // FieldMask for executions in the PUT update + // If `execution.id` is not specified, it means a new execution will be + // created and `update_mask` will not be applied to the creation. + // If `update_mask` is empty, update the executions as a whole. + // If `update_mask` is not empty, only update fields or properties specified + // in `update_mask`. + // Example request protos: + // 1. Add a <'key', 'val'> pair into `custom_properties`: + // { + // executions { + // id: 1234 + // type_id: 5678 + // custom_properties { + // key: "key" + // value: { + // string_value: "val" + // } + // } + // } + // update_mask { + // paths: "custom_properties.key" + // } + // } + // 2. Set `last_known_state` field: + // { + // executions { + // id: 1234 + // type_id: 5678 + // last_known_state: CACHED + // } + // update_mask { + // paths: "last_known_state" + // } + // } + // Please refer to `PutArtifactsRequest` for more details. + UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` } func (x *PutExecutionsRequest) Reset() { @@ -588,6 +736,20 @@ func (x *PutExecutionsRequest) GetExecutions() []*Execution { return nil } +func (x *PutExecutionsRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +func (x *PutExecutionsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.UpdateMask + } + return nil +} + type PutExecutionsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -661,6 +823,8 @@ type PutExecutionTypeRequest struct { CanDeleteFields *bool `protobuf:"varint,3,opt,name=can_delete_fields,json=canDeleteFields" json:"can_delete_fields,omitempty"` // Deprecated: Do not use. AllFieldsMatch *bool `protobuf:"varint,4,opt,name=all_fields_match,json=allFieldsMatch,def=1" json:"all_fields_match,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,6,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } // Default values for PutExecutionTypeRequest fields. @@ -737,6 +901,13 @@ func (x *PutExecutionTypeRequest) GetAllFieldsMatch() bool { return Default_PutExecutionTypeRequest_AllFieldsMatch } +func (x *PutExecutionTypeRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + type PutExecutionTypeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -791,6 +962,8 @@ type PutEventsRequest struct { unknownFields protoimpl.UnknownFields Events []*Event `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } func (x *PutEventsRequest) Reset() { @@ -832,6 +1005,13 @@ func (x *PutEventsRequest) GetEvents() []*Event { return nil } +func (x *PutEventsRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + type PutEventsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -888,6 +1068,8 @@ type PutExecutionRequest struct { Contexts []*Context `protobuf:"bytes,3,rep,name=contexts" json:"contexts,omitempty"` // Additional options to change the behavior of the method. Options *PutExecutionRequest_Options `protobuf:"bytes,4,opt,name=options" json:"options,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,5,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } func (x *PutExecutionRequest) Reset() { @@ -950,6 +1132,13 @@ func (x *PutExecutionRequest) GetOptions() *PutExecutionRequest_Options { return nil } +func (x *PutExecutionRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + type PutExecutionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1018,6 +1207,159 @@ func (x *PutExecutionResponse) GetContextIds() []int64 { return nil } +type PutLineageSubgraphRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Executions []*Execution `protobuf:"bytes,1,rep,name=executions" json:"executions,omitempty"` + Artifacts []*Artifact `protobuf:"bytes,2,rep,name=artifacts" json:"artifacts,omitempty"` + Contexts []*Context `protobuf:"bytes,3,rep,name=contexts" json:"contexts,omitempty"` + EventEdges []*PutLineageSubgraphRequest_EventEdge `protobuf:"bytes,4,rep,name=event_edges,json=eventEdges" json:"event_edges,omitempty"` + Options *PutLineageSubgraphRequest_Options `protobuf:"bytes,5,opt,name=options" json:"options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,6,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` +} + +func (x *PutLineageSubgraphRequest) Reset() { + *x = PutLineageSubgraphRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PutLineageSubgraphRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PutLineageSubgraphRequest) ProtoMessage() {} + +func (x *PutLineageSubgraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PutLineageSubgraphRequest.ProtoReflect.Descriptor instead. +func (*PutLineageSubgraphRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{16} +} + +func (x *PutLineageSubgraphRequest) GetExecutions() []*Execution { + if x != nil { + return x.Executions + } + return nil +} + +func (x *PutLineageSubgraphRequest) GetArtifacts() []*Artifact { + if x != nil { + return x.Artifacts + } + return nil +} + +func (x *PutLineageSubgraphRequest) GetContexts() []*Context { + if x != nil { + return x.Contexts + } + return nil +} + +func (x *PutLineageSubgraphRequest) GetEventEdges() []*PutLineageSubgraphRequest_EventEdge { + if x != nil { + return x.EventEdges + } + return nil +} + +func (x *PutLineageSubgraphRequest) GetOptions() *PutLineageSubgraphRequest_Options { + if x != nil { + return x.Options + } + return nil +} + +func (x *PutLineageSubgraphRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +type PutLineageSubgraphResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of execution ids index-aligned with `executions` in the request + ExecutionIds []int64 `protobuf:"varint,1,rep,packed,name=execution_ids,json=executionIds" json:"execution_ids,omitempty"` + // A list of artifact ids index-aligned with `artifacts` in the request + ArtifactIds []int64 `protobuf:"varint,2,rep,packed,name=artifact_ids,json=artifactIds" json:"artifact_ids,omitempty"` + // A list of context ids index-aligned with `contexts` in the request + ContextIds []int64 `protobuf:"varint,3,rep,packed,name=context_ids,json=contextIds" json:"context_ids,omitempty"` +} + +func (x *PutLineageSubgraphResponse) Reset() { + *x = PutLineageSubgraphResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PutLineageSubgraphResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PutLineageSubgraphResponse) ProtoMessage() {} + +func (x *PutLineageSubgraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PutLineageSubgraphResponse.ProtoReflect.Descriptor instead. +func (*PutLineageSubgraphResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{17} +} + +func (x *PutLineageSubgraphResponse) GetExecutionIds() []int64 { + if x != nil { + return x.ExecutionIds + } + return nil +} + +func (x *PutLineageSubgraphResponse) GetArtifactIds() []int64 { + if x != nil { + return x.ArtifactIds + } + return nil +} + +func (x *PutLineageSubgraphResponse) GetContextIds() []int64 { + if x != nil { + return x.ContextIds + } + return nil +} + type PutTypesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1041,6 +1383,8 @@ type PutTypesRequest struct { CanDeleteFields *bool `protobuf:"varint,5,opt,name=can_delete_fields,json=canDeleteFields" json:"can_delete_fields,omitempty"` // Deprecated: Do not use. AllFieldsMatch *bool `protobuf:"varint,6,opt,name=all_fields_match,json=allFieldsMatch,def=1" json:"all_fields_match,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,8,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } // Default values for PutTypesRequest fields. @@ -1051,7 +1395,7 @@ const ( func (x *PutTypesRequest) Reset() { *x = PutTypesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[16] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1064,7 +1408,7 @@ func (x *PutTypesRequest) String() string { func (*PutTypesRequest) ProtoMessage() {} func (x *PutTypesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[16] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1077,7 +1421,7 @@ func (x *PutTypesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutTypesRequest.ProtoReflect.Descriptor instead. func (*PutTypesRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{16} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{18} } func (x *PutTypesRequest) GetArtifactTypes() []*ArtifactType { @@ -1131,6 +1475,13 @@ func (x *PutTypesRequest) GetAllFieldsMatch() bool { return Default_PutTypesRequest_AllFieldsMatch } +func (x *PutTypesRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + type PutTypesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1147,7 +1498,7 @@ type PutTypesResponse struct { func (x *PutTypesResponse) Reset() { *x = PutTypesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[17] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1160,7 +1511,7 @@ func (x *PutTypesResponse) String() string { func (*PutTypesResponse) ProtoMessage() {} func (x *PutTypesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[17] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1173,7 +1524,7 @@ func (x *PutTypesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutTypesResponse.ProtoReflect.Descriptor instead. func (*PutTypesResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{17} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{19} } func (x *PutTypesResponse) GetArtifactTypeIds() []int64 { @@ -1222,6 +1573,8 @@ type PutContextTypeRequest struct { CanDeleteFields *bool `protobuf:"varint,3,opt,name=can_delete_fields,json=canDeleteFields" json:"can_delete_fields,omitempty"` // Deprecated: Do not use. AllFieldsMatch *bool `protobuf:"varint,4,opt,name=all_fields_match,json=allFieldsMatch,def=1" json:"all_fields_match,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,6,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } // Default values for PutContextTypeRequest fields. @@ -1232,7 +1585,7 @@ const ( func (x *PutContextTypeRequest) Reset() { *x = PutContextTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[18] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1245,7 +1598,7 @@ func (x *PutContextTypeRequest) String() string { func (*PutContextTypeRequest) ProtoMessage() {} func (x *PutContextTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[18] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1258,7 +1611,7 @@ func (x *PutContextTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutContextTypeRequest.ProtoReflect.Descriptor instead. func (*PutContextTypeRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{18} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{20} } func (x *PutContextTypeRequest) GetContextType() *ContextType { @@ -1298,6 +1651,13 @@ func (x *PutContextTypeRequest) GetAllFieldsMatch() bool { return Default_PutContextTypeRequest_AllFieldsMatch } +func (x *PutContextTypeRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + type PutContextTypeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1310,7 +1670,7 @@ type PutContextTypeResponse struct { func (x *PutContextTypeResponse) Reset() { *x = PutContextTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[19] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1323,7 +1683,7 @@ func (x *PutContextTypeResponse) String() string { func (*PutContextTypeResponse) ProtoMessage() {} func (x *PutContextTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[19] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1336,7 +1696,7 @@ func (x *PutContextTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutContextTypeResponse.ProtoReflect.Descriptor instead. func (*PutContextTypeResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{19} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{21} } func (x *PutContextTypeResponse) GetTypeId() int64 { @@ -1352,12 +1712,50 @@ type PutContextsRequest struct { unknownFields protoimpl.UnknownFields Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + // FieldMask for contexts in the PUT update + // If `context.id` is not specified, it means a new context will be + // created and `update_mask` will not be applied to the creation. + // If `update_mask` is empty, update the contexts as a whole. + // If `update_mask` is not empty, only update fields or properties specified + // in `update_mask`. + // Example request protos: + // 1. Add a <'key', 'val'> pair into `custom_properties`: + // { + // contexts { + // id: 1234 + // type_id: 5678 + // custom_properties { + // key: "key" + // value: { + // string_value: "val" + // } + // } + // } + // update_mask { + // paths: "custom_properties.key" + // } + // } + // 2. Set `name` field: + // { + // contexts { + // id: 1234 + // type_id: 5678 + // name: "set_name" + // } + // update_mask { + // paths: "name" + // } + // } + // Please refer to `PutArtifactsRequest` for more details. + UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` } func (x *PutContextsRequest) Reset() { *x = PutContextsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[20] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1370,7 +1768,7 @@ func (x *PutContextsRequest) String() string { func (*PutContextsRequest) ProtoMessage() {} func (x *PutContextsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[20] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1383,7 +1781,7 @@ func (x *PutContextsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutContextsRequest.ProtoReflect.Descriptor instead. func (*PutContextsRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{20} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{22} } func (x *PutContextsRequest) GetContexts() []*Context { @@ -1393,6 +1791,20 @@ func (x *PutContextsRequest) GetContexts() []*Context { return nil } +func (x *PutContextsRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +func (x *PutContextsRequest) GetUpdateMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.UpdateMask + } + return nil +} + type PutContextsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1405,7 +1817,7 @@ type PutContextsResponse struct { func (x *PutContextsResponse) Reset() { *x = PutContextsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[21] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1418,7 +1830,7 @@ func (x *PutContextsResponse) String() string { func (*PutContextsResponse) ProtoMessage() {} func (x *PutContextsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[21] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1431,7 +1843,7 @@ func (x *PutContextsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutContextsResponse.ProtoReflect.Descriptor instead. func (*PutContextsResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{21} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{23} } func (x *PutContextsResponse) GetContextIds() []int64 { @@ -1448,12 +1860,14 @@ type PutAttributionsAndAssociationsRequest struct { Attributions []*Attribution `protobuf:"bytes,1,rep,name=attributions" json:"attributions,omitempty"` Associations []*Association `protobuf:"bytes,2,rep,name=associations" json:"associations,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } func (x *PutAttributionsAndAssociationsRequest) Reset() { *x = PutAttributionsAndAssociationsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[22] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1466,7 +1880,7 @@ func (x *PutAttributionsAndAssociationsRequest) String() string { func (*PutAttributionsAndAssociationsRequest) ProtoMessage() {} func (x *PutAttributionsAndAssociationsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[22] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1479,7 +1893,7 @@ func (x *PutAttributionsAndAssociationsRequest) ProtoReflect() protoreflect.Mess // Deprecated: Use PutAttributionsAndAssociationsRequest.ProtoReflect.Descriptor instead. func (*PutAttributionsAndAssociationsRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{22} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{24} } func (x *PutAttributionsAndAssociationsRequest) GetAttributions() []*Attribution { @@ -1496,6 +1910,13 @@ func (x *PutAttributionsAndAssociationsRequest) GetAssociations() []*Association return nil } +func (x *PutAttributionsAndAssociationsRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + type PutAttributionsAndAssociationsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1505,7 +1926,7 @@ type PutAttributionsAndAssociationsResponse struct { func (x *PutAttributionsAndAssociationsResponse) Reset() { *x = PutAttributionsAndAssociationsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[23] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1518,7 +1939,7 @@ func (x *PutAttributionsAndAssociationsResponse) String() string { func (*PutAttributionsAndAssociationsResponse) ProtoMessage() {} func (x *PutAttributionsAndAssociationsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[23] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1531,7 +1952,7 @@ func (x *PutAttributionsAndAssociationsResponse) ProtoReflect() protoreflect.Mes // Deprecated: Use PutAttributionsAndAssociationsResponse.ProtoReflect.Descriptor instead. func (*PutAttributionsAndAssociationsResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{23} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{25} } type PutParentContextsRequest struct { @@ -1540,12 +1961,14 @@ type PutParentContextsRequest struct { unknownFields protoimpl.UnknownFields ParentContexts []*ParentContext `protobuf:"bytes,1,rep,name=parent_contexts,json=parentContexts" json:"parent_contexts,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } func (x *PutParentContextsRequest) Reset() { *x = PutParentContextsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[24] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1558,7 +1981,7 @@ func (x *PutParentContextsRequest) String() string { func (*PutParentContextsRequest) ProtoMessage() {} func (x *PutParentContextsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[24] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1571,7 +1994,7 @@ func (x *PutParentContextsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PutParentContextsRequest.ProtoReflect.Descriptor instead. func (*PutParentContextsRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{24} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{26} } func (x *PutParentContextsRequest) GetParentContexts() []*ParentContext { @@ -1581,6 +2004,13 @@ func (x *PutParentContextsRequest) GetParentContexts() []*ParentContext { return nil } +func (x *PutParentContextsRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + type PutParentContextsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1590,7 +2020,7 @@ type PutParentContextsResponse struct { func (x *PutParentContextsResponse) Reset() { *x = PutParentContextsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[25] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1603,7 +2033,7 @@ func (x *PutParentContextsResponse) String() string { func (*PutParentContextsResponse) ProtoMessage() {} func (x *PutParentContextsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[25] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1616,7 +2046,7 @@ func (x *PutParentContextsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PutParentContextsResponse.ProtoReflect.Descriptor instead. func (*PutParentContextsResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{25} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{27} } type GetArtifactsByTypeRequest struct { @@ -1631,6 +2061,12 @@ type GetArtifactsByTypeRequest struct { // Currently supports: // 1. Field to order the results. // 2. Page size. + // If set, the request will + // first fetch all artifacts with specified `type_name` and `type_version`, + // then order by a specifield field + // finally find the correct page and return #Artifacts of the page size. + // Higher-level APIs may only use the functionalies partially. + // Please reference the API documentation for the API behaviors. Options *ListOperationOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,4,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` @@ -1639,7 +2075,7 @@ type GetArtifactsByTypeRequest struct { func (x *GetArtifactsByTypeRequest) Reset() { *x = GetArtifactsByTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[26] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1652,7 +2088,7 @@ func (x *GetArtifactsByTypeRequest) String() string { func (*GetArtifactsByTypeRequest) ProtoMessage() {} func (x *GetArtifactsByTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[26] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1665,7 +2101,7 @@ func (x *GetArtifactsByTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactsByTypeRequest.ProtoReflect.Descriptor instead. func (*GetArtifactsByTypeRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{26} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{28} } func (x *GetArtifactsByTypeRequest) GetTypeName() string { @@ -1710,7 +2146,7 @@ type GetArtifactsByTypeResponse struct { func (x *GetArtifactsByTypeResponse) Reset() { *x = GetArtifactsByTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[27] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1723,7 +2159,7 @@ func (x *GetArtifactsByTypeResponse) String() string { func (*GetArtifactsByTypeResponse) ProtoMessage() {} func (x *GetArtifactsByTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[27] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1736,7 +2172,7 @@ func (x *GetArtifactsByTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactsByTypeResponse.ProtoReflect.Descriptor instead. func (*GetArtifactsByTypeResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{27} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{29} } func (x *GetArtifactsByTypeResponse) GetArtifacts() []*Artifact { @@ -1770,7 +2206,7 @@ type GetArtifactByTypeAndNameRequest struct { func (x *GetArtifactByTypeAndNameRequest) Reset() { *x = GetArtifactByTypeAndNameRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[28] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1783,7 +2219,7 @@ func (x *GetArtifactByTypeAndNameRequest) String() string { func (*GetArtifactByTypeAndNameRequest) ProtoMessage() {} func (x *GetArtifactByTypeAndNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[28] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1796,7 +2232,7 @@ func (x *GetArtifactByTypeAndNameRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactByTypeAndNameRequest.ProtoReflect.Descriptor instead. func (*GetArtifactByTypeAndNameRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{28} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{30} } func (x *GetArtifactByTypeAndNameRequest) GetTypeName() string { @@ -1838,7 +2274,7 @@ type GetArtifactByTypeAndNameResponse struct { func (x *GetArtifactByTypeAndNameResponse) Reset() { *x = GetArtifactByTypeAndNameResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[29] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1851,7 +2287,7 @@ func (x *GetArtifactByTypeAndNameResponse) String() string { func (*GetArtifactByTypeAndNameResponse) ProtoMessage() {} func (x *GetArtifactByTypeAndNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[29] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1864,7 +2300,7 @@ func (x *GetArtifactByTypeAndNameResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactByTypeAndNameResponse.ProtoReflect.Descriptor instead. func (*GetArtifactByTypeAndNameResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{29} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{31} } func (x *GetArtifactByTypeAndNameResponse) GetArtifact() *Artifact { @@ -1881,14 +2317,31 @@ type GetArtifactsByIDRequest struct { // A list of artifact ids to retrieve. ArtifactIds []int64 `protobuf:"varint,1,rep,name=artifact_ids,json=artifactIds" json:"artifact_ids,omitempty"` + // An option to populate all the ArtifactTypes in the response. + // If true, returns retrieved Artifacts and their artifact types, which can be + // matched by type_ids. + // If false, returns only the retrieved Artifacts. + // Example request proto: + // { + // artifact_ids: 101, + // populate_artifact_types: true, + // } + // The response will contain an artifact with id = 101 and an artifact type + // with id = artifact.type_id(). + PopulateArtifactTypes *bool `protobuf:"varint,3,opt,name=populate_artifact_types,json=populateArtifactTypes,def=0" json:"populate_artifact_types,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } +// Default values for GetArtifactsByIDRequest fields. +const ( + Default_GetArtifactsByIDRequest_PopulateArtifactTypes = bool(false) +) + func (x *GetArtifactsByIDRequest) Reset() { *x = GetArtifactsByIDRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[30] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1901,7 +2354,7 @@ func (x *GetArtifactsByIDRequest) String() string { func (*GetArtifactsByIDRequest) ProtoMessage() {} func (x *GetArtifactsByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[30] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1914,7 +2367,7 @@ func (x *GetArtifactsByIDRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactsByIDRequest.ProtoReflect.Descriptor instead. func (*GetArtifactsByIDRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{30} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{32} } func (x *GetArtifactsByIDRequest) GetArtifactIds() []int64 { @@ -1924,6 +2377,13 @@ func (x *GetArtifactsByIDRequest) GetArtifactIds() []int64 { return nil } +func (x *GetArtifactsByIDRequest) GetPopulateArtifactTypes() bool { + if x != nil && x.PopulateArtifactTypes != nil { + return *x.PopulateArtifactTypes + } + return Default_GetArtifactsByIDRequest_PopulateArtifactTypes +} + func (x *GetArtifactsByIDRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions @@ -1937,14 +2397,17 @@ type GetArtifactsByIDResponse struct { unknownFields protoimpl.UnknownFields // Artifacts with matching ids. - // This is not index-aligned: if an id is not found, it is not + // This is not index-aligned: if an id is not found, it is not returned. Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts" json:"artifacts,omitempty"` + // ArtifactTypes populated with matching type_ids owned by `artifacts`. + // This is not index-aligned: if a type_id is not found, it is not returned. + ArtifactTypes []*ArtifactType `protobuf:"bytes,2,rep,name=artifact_types,json=artifactTypes" json:"artifact_types,omitempty"` } func (x *GetArtifactsByIDResponse) Reset() { *x = GetArtifactsByIDResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[31] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1957,7 +2420,7 @@ func (x *GetArtifactsByIDResponse) String() string { func (*GetArtifactsByIDResponse) ProtoMessage() {} func (x *GetArtifactsByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[31] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1970,7 +2433,7 @@ func (x *GetArtifactsByIDResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactsByIDResponse.ProtoReflect.Descriptor instead. func (*GetArtifactsByIDResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{31} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{33} } func (x *GetArtifactsByIDResponse) GetArtifacts() []*Artifact { @@ -1980,6 +2443,13 @@ func (x *GetArtifactsByIDResponse) GetArtifacts() []*Artifact { return nil } +func (x *GetArtifactsByIDResponse) GetArtifactTypes() []*ArtifactType { + if x != nil { + return x.ArtifactTypes + } + return nil +} + // Request to retrieve Artifacts using List options. // If option is not specified then all Artifacts are returned. type GetArtifactsRequest struct { @@ -1988,9 +2458,8 @@ type GetArtifactsRequest struct { unknownFields protoimpl.UnknownFields // Specify options. - // Currently supports: - // 1. Field to order the results. - // 2. Page size. + // Please refer to the documentation of ListOperationOptions for the supported + // functionalities. Options *ListOperationOptions `protobuf:"bytes,1,opt,name=options" json:"options,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` @@ -1999,7 +2468,7 @@ type GetArtifactsRequest struct { func (x *GetArtifactsRequest) Reset() { *x = GetArtifactsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[32] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2012,7 +2481,7 @@ func (x *GetArtifactsRequest) String() string { func (*GetArtifactsRequest) ProtoMessage() {} func (x *GetArtifactsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[32] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2025,7 +2494,7 @@ func (x *GetArtifactsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactsRequest.ProtoReflect.Descriptor instead. func (*GetArtifactsRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{32} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{34} } func (x *GetArtifactsRequest) GetOptions() *ListOperationOptions { @@ -2057,7 +2526,7 @@ type GetArtifactsResponse struct { func (x *GetArtifactsResponse) Reset() { *x = GetArtifactsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[33] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2070,7 +2539,7 @@ func (x *GetArtifactsResponse) String() string { func (*GetArtifactsResponse) ProtoMessage() {} func (x *GetArtifactsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[33] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2083,7 +2552,7 @@ func (x *GetArtifactsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactsResponse.ProtoReflect.Descriptor instead. func (*GetArtifactsResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{33} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{35} } func (x *GetArtifactsResponse) GetArtifacts() []*Artifact { @@ -2114,7 +2583,7 @@ type GetArtifactsByURIRequest struct { func (x *GetArtifactsByURIRequest) Reset() { *x = GetArtifactsByURIRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[34] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2127,7 +2596,7 @@ func (x *GetArtifactsByURIRequest) String() string { func (*GetArtifactsByURIRequest) ProtoMessage() {} func (x *GetArtifactsByURIRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[34] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2140,7 +2609,7 @@ func (x *GetArtifactsByURIRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactsByURIRequest.ProtoReflect.Descriptor instead. func (*GetArtifactsByURIRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{34} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{36} } func (x *GetArtifactsByURIRequest) GetUris() []string { @@ -2168,7 +2637,7 @@ type GetArtifactsByURIResponse struct { func (x *GetArtifactsByURIResponse) Reset() { *x = GetArtifactsByURIResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[35] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2181,7 +2650,7 @@ func (x *GetArtifactsByURIResponse) String() string { func (*GetArtifactsByURIResponse) ProtoMessage() {} func (x *GetArtifactsByURIResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[35] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2194,7 +2663,7 @@ func (x *GetArtifactsByURIResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactsByURIResponse.ProtoReflect.Descriptor instead. func (*GetArtifactsByURIResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{35} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{37} } func (x *GetArtifactsByURIResponse) GetArtifacts() []*Artifact { @@ -2212,9 +2681,8 @@ type GetExecutionsRequest struct { unknownFields protoimpl.UnknownFields // Specify options. - // Currently supports: - // 1. Field to order the results. - // 2. Page size. + // Please refer to the documentation of ListOperationOptions for the supported + // functionalities. Options *ListOperationOptions `protobuf:"bytes,1,opt,name=options" json:"options,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` @@ -2223,7 +2691,7 @@ type GetExecutionsRequest struct { func (x *GetExecutionsRequest) Reset() { *x = GetExecutionsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[36] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2236,7 +2704,7 @@ func (x *GetExecutionsRequest) String() string { func (*GetExecutionsRequest) ProtoMessage() {} func (x *GetExecutionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[36] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2249,7 +2717,7 @@ func (x *GetExecutionsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetExecutionsRequest.ProtoReflect.Descriptor instead. func (*GetExecutionsRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{36} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{38} } func (x *GetExecutionsRequest) GetOptions() *ListOperationOptions { @@ -2281,7 +2749,7 @@ type GetExecutionsResponse struct { func (x *GetExecutionsResponse) Reset() { *x = GetExecutionsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[37] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2294,7 +2762,7 @@ func (x *GetExecutionsResponse) String() string { func (*GetExecutionsResponse) ProtoMessage() {} func (x *GetExecutionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[37] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2307,7 +2775,7 @@ func (x *GetExecutionsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetExecutionsResponse.ProtoReflect.Descriptor instead. func (*GetExecutionsResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{37} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{39} } func (x *GetExecutionsResponse) GetExecutions() []*Execution { @@ -2339,7 +2807,7 @@ type GetArtifactTypeRequest struct { func (x *GetArtifactTypeRequest) Reset() { *x = GetArtifactTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[38] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2352,7 +2820,7 @@ func (x *GetArtifactTypeRequest) String() string { func (*GetArtifactTypeRequest) ProtoMessage() {} func (x *GetArtifactTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[38] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2365,7 +2833,7 @@ func (x *GetArtifactTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactTypeRequest.ProtoReflect.Descriptor instead. func (*GetArtifactTypeRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{38} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{40} } func (x *GetArtifactTypeRequest) GetTypeName() string { @@ -2401,7 +2869,7 @@ type GetArtifactTypeResponse struct { func (x *GetArtifactTypeResponse) Reset() { *x = GetArtifactTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[39] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2414,7 +2882,7 @@ func (x *GetArtifactTypeResponse) String() string { func (*GetArtifactTypeResponse) ProtoMessage() {} func (x *GetArtifactTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[39] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2427,7 +2895,7 @@ func (x *GetArtifactTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactTypeResponse.ProtoReflect.Descriptor instead. func (*GetArtifactTypeResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{39} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{41} } func (x *GetArtifactTypeResponse) GetArtifactType() *ArtifactType { @@ -2449,7 +2917,7 @@ type GetArtifactTypesRequest struct { func (x *GetArtifactTypesRequest) Reset() { *x = GetArtifactTypesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[40] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2462,7 +2930,7 @@ func (x *GetArtifactTypesRequest) String() string { func (*GetArtifactTypesRequest) ProtoMessage() {} func (x *GetArtifactTypesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[40] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2475,7 +2943,7 @@ func (x *GetArtifactTypesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactTypesRequest.ProtoReflect.Descriptor instead. func (*GetArtifactTypesRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{40} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{42} } func (x *GetArtifactTypesRequest) GetTransactionOptions() *TransactionOptions { @@ -2496,7 +2964,7 @@ type GetArtifactTypesResponse struct { func (x *GetArtifactTypesResponse) Reset() { *x = GetArtifactTypesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[41] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2509,7 +2977,7 @@ func (x *GetArtifactTypesResponse) String() string { func (*GetArtifactTypesResponse) ProtoMessage() {} func (x *GetArtifactTypesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[41] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2522,7 +2990,7 @@ func (x *GetArtifactTypesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtifactTypesResponse.ProtoReflect.Descriptor instead. func (*GetArtifactTypesResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{41} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{43} } func (x *GetArtifactTypesResponse) GetArtifactTypes() []*ArtifactType { @@ -2544,7 +3012,7 @@ type GetExecutionTypesRequest struct { func (x *GetExecutionTypesRequest) Reset() { *x = GetExecutionTypesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[42] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2557,7 +3025,7 @@ func (x *GetExecutionTypesRequest) String() string { func (*GetExecutionTypesRequest) ProtoMessage() {} func (x *GetExecutionTypesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[42] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2570,7 +3038,7 @@ func (x *GetExecutionTypesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetExecutionTypesRequest.ProtoReflect.Descriptor instead. func (*GetExecutionTypesRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{42} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{44} } func (x *GetExecutionTypesRequest) GetTransactionOptions() *TransactionOptions { @@ -2591,7 +3059,7 @@ type GetExecutionTypesResponse struct { func (x *GetExecutionTypesResponse) Reset() { *x = GetExecutionTypesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[43] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2604,7 +3072,7 @@ func (x *GetExecutionTypesResponse) String() string { func (*GetExecutionTypesResponse) ProtoMessage() {} func (x *GetExecutionTypesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[43] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2617,7 +3085,7 @@ func (x *GetExecutionTypesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetExecutionTypesResponse.ProtoReflect.Descriptor instead. func (*GetExecutionTypesResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{43} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{45} } func (x *GetExecutionTypesResponse) GetExecutionTypes() []*ExecutionType { @@ -2639,7 +3107,7 @@ type GetContextTypesRequest struct { func (x *GetContextTypesRequest) Reset() { *x = GetContextTypesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[44] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2652,7 +3120,7 @@ func (x *GetContextTypesRequest) String() string { func (*GetContextTypesRequest) ProtoMessage() {} func (x *GetContextTypesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[44] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2665,7 +3133,7 @@ func (x *GetContextTypesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetContextTypesRequest.ProtoReflect.Descriptor instead. func (*GetContextTypesRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{44} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{46} } func (x *GetContextTypesRequest) GetTransactionOptions() *TransactionOptions { @@ -2686,7 +3154,7 @@ type GetContextTypesResponse struct { func (x *GetContextTypesResponse) Reset() { *x = GetContextTypesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[45] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2699,7 +3167,7 @@ func (x *GetContextTypesResponse) String() string { func (*GetContextTypesResponse) ProtoMessage() {} func (x *GetContextTypesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[45] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2712,7 +3180,7 @@ func (x *GetContextTypesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetContextTypesResponse.ProtoReflect.Descriptor instead. func (*GetContextTypesResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{45} + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{47} } func (x *GetContextTypesResponse) GetContextTypes() []*ContextType { @@ -2722,40 +3190,33 @@ func (x *GetContextTypesResponse) GetContextTypes() []*ContextType { return nil } -type GetExecutionsByTypeRequest struct { +type GetArtifactsByExternalIdsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` - // If not set, it looks for the type with type_name with default type_version. - TypeVersion *string `protobuf:"bytes,2,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` - // Specify List options. - // Currently supports: - // 1. Field to order the results. - // 2. Page size. - Options *ListOperationOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` + ExternalIds []string `protobuf:"bytes,1,rep,name=external_ids,json=externalIds" json:"external_ids,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,4,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetExecutionsByTypeRequest) Reset() { - *x = GetExecutionsByTypeRequest{} +func (x *GetArtifactsByExternalIdsRequest) Reset() { + *x = GetArtifactsByExternalIdsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[46] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionsByTypeRequest) String() string { +func (x *GetArtifactsByExternalIdsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionsByTypeRequest) ProtoMessage() {} +func (*GetArtifactsByExternalIdsRequest) ProtoMessage() {} -func (x *GetExecutionsByTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[46] +func (x *GetArtifactsByExternalIdsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2766,67 +3227,50 @@ func (x *GetExecutionsByTypeRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionsByTypeRequest.ProtoReflect.Descriptor instead. -func (*GetExecutionsByTypeRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{46} -} - -func (x *GetExecutionsByTypeRequest) GetTypeName() string { - if x != nil && x.TypeName != nil { - return *x.TypeName - } - return "" -} - -func (x *GetExecutionsByTypeRequest) GetTypeVersion() string { - if x != nil && x.TypeVersion != nil { - return *x.TypeVersion - } - return "" +// Deprecated: Use GetArtifactsByExternalIdsRequest.ProtoReflect.Descriptor instead. +func (*GetArtifactsByExternalIdsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{48} } -func (x *GetExecutionsByTypeRequest) GetOptions() *ListOperationOptions { +func (x *GetArtifactsByExternalIdsRequest) GetExternalIds() []string { if x != nil { - return x.Options + return x.ExternalIds } return nil } -func (x *GetExecutionsByTypeRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetArtifactsByExternalIdsRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetExecutionsByTypeResponse struct { +type GetArtifactsByExternalIdsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Executions []*Execution `protobuf:"bytes,1,rep,name=executions" json:"executions,omitempty"` - // Token to use to retrieve next page of results if list options are used in - // the request. - NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` + Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts" json:"artifacts,omitempty"` } -func (x *GetExecutionsByTypeResponse) Reset() { - *x = GetExecutionsByTypeResponse{} +func (x *GetArtifactsByExternalIdsResponse) Reset() { + *x = GetArtifactsByExternalIdsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[47] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionsByTypeResponse) String() string { +func (x *GetArtifactsByExternalIdsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionsByTypeResponse) ProtoMessage() {} +func (*GetArtifactsByExternalIdsResponse) ProtoMessage() {} -func (x *GetExecutionsByTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[47] +func (x *GetArtifactsByExternalIdsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2837,56 +3281,45 @@ func (x *GetExecutionsByTypeResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionsByTypeResponse.ProtoReflect.Descriptor instead. -func (*GetExecutionsByTypeResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{47} +// Deprecated: Use GetArtifactsByExternalIdsResponse.ProtoReflect.Descriptor instead. +func (*GetArtifactsByExternalIdsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{49} } -func (x *GetExecutionsByTypeResponse) GetExecutions() []*Execution { +func (x *GetArtifactsByExternalIdsResponse) GetArtifacts() []*Artifact { if x != nil { - return x.Executions + return x.Artifacts } return nil } -func (x *GetExecutionsByTypeResponse) GetNextPageToken() string { - if x != nil && x.NextPageToken != nil { - return *x.NextPageToken - } - return "" -} - -type GetExecutionByTypeAndNameRequest struct { +type GetExecutionsByExternalIdsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` - // If not set, it looks for the type with type_name and execution_name with - // default type_version. - TypeVersion *string `protobuf:"bytes,3,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` - ExecutionName *string `protobuf:"bytes,2,opt,name=execution_name,json=executionName" json:"execution_name,omitempty"` + ExternalIds []string `protobuf:"bytes,1,rep,name=external_ids,json=externalIds" json:"external_ids,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,4,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetExecutionByTypeAndNameRequest) Reset() { - *x = GetExecutionByTypeAndNameRequest{} +func (x *GetExecutionsByExternalIdsRequest) Reset() { + *x = GetExecutionsByExternalIdsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[48] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionByTypeAndNameRequest) String() string { +func (x *GetExecutionsByExternalIdsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionByTypeAndNameRequest) ProtoMessage() {} +func (*GetExecutionsByExternalIdsRequest) ProtoMessage() {} -func (x *GetExecutionByTypeAndNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[48] +func (x *GetExecutionsByExternalIdsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2897,64 +3330,50 @@ func (x *GetExecutionByTypeAndNameRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionByTypeAndNameRequest.ProtoReflect.Descriptor instead. -func (*GetExecutionByTypeAndNameRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{48} +// Deprecated: Use GetExecutionsByExternalIdsRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionsByExternalIdsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{50} } -func (x *GetExecutionByTypeAndNameRequest) GetTypeName() string { - if x != nil && x.TypeName != nil { - return *x.TypeName +func (x *GetExecutionsByExternalIdsRequest) GetExternalIds() []string { + if x != nil { + return x.ExternalIds } - return "" + return nil } -func (x *GetExecutionByTypeAndNameRequest) GetTypeVersion() string { - if x != nil && x.TypeVersion != nil { - return *x.TypeVersion - } - return "" -} - -func (x *GetExecutionByTypeAndNameRequest) GetExecutionName() string { - if x != nil && x.ExecutionName != nil { - return *x.ExecutionName - } - return "" -} - -func (x *GetExecutionByTypeAndNameRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetExecutionsByExternalIdsRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetExecutionByTypeAndNameResponse struct { +type GetExecutionsByExternalIdsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Execution *Execution `protobuf:"bytes,1,opt,name=execution" json:"execution,omitempty"` + Executions []*Execution `protobuf:"bytes,1,rep,name=executions" json:"executions,omitempty"` } -func (x *GetExecutionByTypeAndNameResponse) Reset() { - *x = GetExecutionByTypeAndNameResponse{} +func (x *GetExecutionsByExternalIdsResponse) Reset() { + *x = GetExecutionsByExternalIdsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[49] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionByTypeAndNameResponse) String() string { +func (x *GetExecutionsByExternalIdsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionByTypeAndNameResponse) ProtoMessage() {} +func (*GetExecutionsByExternalIdsResponse) ProtoMessage() {} -func (x *GetExecutionByTypeAndNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[49] +func (x *GetExecutionsByExternalIdsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2965,46 +3384,45 @@ func (x *GetExecutionByTypeAndNameResponse) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use GetExecutionByTypeAndNameResponse.ProtoReflect.Descriptor instead. -func (*GetExecutionByTypeAndNameResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{49} +// Deprecated: Use GetExecutionsByExternalIdsResponse.ProtoReflect.Descriptor instead. +func (*GetExecutionsByExternalIdsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{51} } -func (x *GetExecutionByTypeAndNameResponse) GetExecution() *Execution { +func (x *GetExecutionsByExternalIdsResponse) GetExecutions() []*Execution { if x != nil { - return x.Execution + return x.Executions } return nil } -type GetExecutionsByIDRequest struct { +type GetContextsByExternalIdsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // A list of execution ids to retrieve. - ExecutionIds []int64 `protobuf:"varint,1,rep,name=execution_ids,json=executionIds" json:"execution_ids,omitempty"` + ExternalIds []string `protobuf:"bytes,1,rep,name=external_ids,json=externalIds" json:"external_ids,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetExecutionsByIDRequest) Reset() { - *x = GetExecutionsByIDRequest{} +func (x *GetContextsByExternalIdsRequest) Reset() { + *x = GetContextsByExternalIdsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[50] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionsByIDRequest) String() string { +func (x *GetContextsByExternalIdsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionsByIDRequest) ProtoMessage() {} +func (*GetContextsByExternalIdsRequest) ProtoMessage() {} -func (x *GetExecutionsByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[50] +func (x *GetContextsByExternalIdsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3015,52 +3433,50 @@ func (x *GetExecutionsByIDRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionsByIDRequest.ProtoReflect.Descriptor instead. -func (*GetExecutionsByIDRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{50} +// Deprecated: Use GetContextsByExternalIdsRequest.ProtoReflect.Descriptor instead. +func (*GetContextsByExternalIdsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{52} } -func (x *GetExecutionsByIDRequest) GetExecutionIds() []int64 { +func (x *GetContextsByExternalIdsRequest) GetExternalIds() []string { if x != nil { - return x.ExecutionIds + return x.ExternalIds } return nil } -func (x *GetExecutionsByIDRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetContextsByExternalIdsRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetExecutionsByIDResponse struct { +type GetContextsByExternalIdsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The result is not index-aligned: if an id is not found, it is not - // returned. - Executions []*Execution `protobuf:"bytes,1,rep,name=executions" json:"executions,omitempty"` + Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` } -func (x *GetExecutionsByIDResponse) Reset() { - *x = GetExecutionsByIDResponse{} +func (x *GetContextsByExternalIdsResponse) Reset() { + *x = GetContextsByExternalIdsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[51] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionsByIDResponse) String() string { +func (x *GetContextsByExternalIdsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionsByIDResponse) ProtoMessage() {} +func (*GetContextsByExternalIdsResponse) ProtoMessage() {} -func (x *GetExecutionsByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[51] +func (x *GetContextsByExternalIdsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3071,47 +3487,45 @@ func (x *GetExecutionsByIDResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionsByIDResponse.ProtoReflect.Descriptor instead. -func (*GetExecutionsByIDResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{51} +// Deprecated: Use GetContextsByExternalIdsResponse.ProtoReflect.Descriptor instead. +func (*GetContextsByExternalIdsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{53} } -func (x *GetExecutionsByIDResponse) GetExecutions() []*Execution { +func (x *GetContextsByExternalIdsResponse) GetContexts() []*Context { if x != nil { - return x.Executions + return x.Contexts } return nil } -type GetExecutionTypeRequest struct { +type GetArtifactTypesByExternalIdsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` - // If not set, it looks for the type with type_name with default type_version. - TypeVersion *string `protobuf:"bytes,2,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` + ExternalIds []string `protobuf:"bytes,1,rep,name=external_ids,json=externalIds" json:"external_ids,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetExecutionTypeRequest) Reset() { - *x = GetExecutionTypeRequest{} +func (x *GetArtifactTypesByExternalIdsRequest) Reset() { + *x = GetArtifactTypesByExternalIdsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[52] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionTypeRequest) String() string { +func (x *GetArtifactTypesByExternalIdsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionTypeRequest) ProtoMessage() {} +func (*GetArtifactTypesByExternalIdsRequest) ProtoMessage() {} -func (x *GetExecutionTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[52] +func (x *GetArtifactTypesByExternalIdsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3122,58 +3536,50 @@ func (x *GetExecutionTypeRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionTypeRequest.ProtoReflect.Descriptor instead. -func (*GetExecutionTypeRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{52} -} - -func (x *GetExecutionTypeRequest) GetTypeName() string { - if x != nil && x.TypeName != nil { - return *x.TypeName - } - return "" +// Deprecated: Use GetArtifactTypesByExternalIdsRequest.ProtoReflect.Descriptor instead. +func (*GetArtifactTypesByExternalIdsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{54} } -func (x *GetExecutionTypeRequest) GetTypeVersion() string { - if x != nil && x.TypeVersion != nil { - return *x.TypeVersion +func (x *GetArtifactTypesByExternalIdsRequest) GetExternalIds() []string { + if x != nil { + return x.ExternalIds } - return "" + return nil } -func (x *GetExecutionTypeRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetArtifactTypesByExternalIdsRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetExecutionTypeResponse struct { +type GetArtifactTypesByExternalIdsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Gets an execution type, or clear if it does not exist. - ExecutionType *ExecutionType `protobuf:"bytes,1,opt,name=execution_type,json=executionType" json:"execution_type,omitempty"` + ArtifactTypes []*ArtifactType `protobuf:"bytes,1,rep,name=artifact_types,json=artifactTypes" json:"artifact_types,omitempty"` } -func (x *GetExecutionTypeResponse) Reset() { - *x = GetExecutionTypeResponse{} +func (x *GetArtifactTypesByExternalIdsResponse) Reset() { + *x = GetArtifactTypesByExternalIdsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[53] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionTypeResponse) String() string { +func (x *GetArtifactTypesByExternalIdsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionTypeResponse) ProtoMessage() {} +func (*GetArtifactTypesByExternalIdsResponse) ProtoMessage() {} -func (x *GetExecutionTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[53] +func (x *GetArtifactTypesByExternalIdsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3184,46 +3590,45 @@ func (x *GetExecutionTypeResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionTypeResponse.ProtoReflect.Descriptor instead. -func (*GetExecutionTypeResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{53} +// Deprecated: Use GetArtifactTypesByExternalIdsResponse.ProtoReflect.Descriptor instead. +func (*GetArtifactTypesByExternalIdsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{55} } -func (x *GetExecutionTypeResponse) GetExecutionType() *ExecutionType { +func (x *GetArtifactTypesByExternalIdsResponse) GetArtifactTypes() []*ArtifactType { if x != nil { - return x.ExecutionType + return x.ArtifactTypes } return nil } -// Gets all events with matching execution ids. -type GetEventsByExecutionIDsRequest struct { +type GetExecutionTypesByExternalIdsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ExecutionIds []int64 `protobuf:"varint,1,rep,name=execution_ids,json=executionIds" json:"execution_ids,omitempty"` + ExternalIds []string `protobuf:"bytes,1,rep,name=external_ids,json=externalIds" json:"external_ids,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetEventsByExecutionIDsRequest) Reset() { - *x = GetEventsByExecutionIDsRequest{} +func (x *GetExecutionTypesByExternalIdsRequest) Reset() { + *x = GetExecutionTypesByExternalIdsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[54] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetEventsByExecutionIDsRequest) String() string { +func (x *GetExecutionTypesByExternalIdsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetEventsByExecutionIDsRequest) ProtoMessage() {} +func (*GetExecutionTypesByExternalIdsRequest) ProtoMessage() {} -func (x *GetEventsByExecutionIDsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[54] +func (x *GetExecutionTypesByExternalIdsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3234,50 +3639,50 @@ func (x *GetEventsByExecutionIDsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetEventsByExecutionIDsRequest.ProtoReflect.Descriptor instead. -func (*GetEventsByExecutionIDsRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{54} +// Deprecated: Use GetExecutionTypesByExternalIdsRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionTypesByExternalIdsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{56} } -func (x *GetEventsByExecutionIDsRequest) GetExecutionIds() []int64 { +func (x *GetExecutionTypesByExternalIdsRequest) GetExternalIds() []string { if x != nil { - return x.ExecutionIds + return x.ExternalIds } return nil } -func (x *GetEventsByExecutionIDsRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetExecutionTypesByExternalIdsRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetEventsByExecutionIDsResponse struct { +type GetExecutionTypesByExternalIdsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Events []*Event `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` + ExecutionTypes []*ExecutionType `protobuf:"bytes,1,rep,name=execution_types,json=executionTypes" json:"execution_types,omitempty"` } -func (x *GetEventsByExecutionIDsResponse) Reset() { - *x = GetEventsByExecutionIDsResponse{} +func (x *GetExecutionTypesByExternalIdsResponse) Reset() { + *x = GetExecutionTypesByExternalIdsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[55] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetEventsByExecutionIDsResponse) String() string { +func (x *GetExecutionTypesByExternalIdsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetEventsByExecutionIDsResponse) ProtoMessage() {} +func (*GetExecutionTypesByExternalIdsResponse) ProtoMessage() {} -func (x *GetEventsByExecutionIDsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[55] +func (x *GetExecutionTypesByExternalIdsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3288,45 +3693,45 @@ func (x *GetEventsByExecutionIDsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetEventsByExecutionIDsResponse.ProtoReflect.Descriptor instead. -func (*GetEventsByExecutionIDsResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{55} +// Deprecated: Use GetExecutionTypesByExternalIdsResponse.ProtoReflect.Descriptor instead. +func (*GetExecutionTypesByExternalIdsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{57} } -func (x *GetEventsByExecutionIDsResponse) GetEvents() []*Event { +func (x *GetExecutionTypesByExternalIdsResponse) GetExecutionTypes() []*ExecutionType { if x != nil { - return x.Events + return x.ExecutionTypes } return nil } -type GetEventsByArtifactIDsRequest struct { +type GetContextTypesByExternalIdsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ArtifactIds []int64 `protobuf:"varint,1,rep,name=artifact_ids,json=artifactIds" json:"artifact_ids,omitempty"` + ExternalIds []string `protobuf:"bytes,1,rep,name=external_ids,json=externalIds" json:"external_ids,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetEventsByArtifactIDsRequest) Reset() { - *x = GetEventsByArtifactIDsRequest{} +func (x *GetContextTypesByExternalIdsRequest) Reset() { + *x = GetContextTypesByExternalIdsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[56] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetEventsByArtifactIDsRequest) String() string { +func (x *GetContextTypesByExternalIdsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetEventsByArtifactIDsRequest) ProtoMessage() {} +func (*GetContextTypesByExternalIdsRequest) ProtoMessage() {} -func (x *GetEventsByArtifactIDsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[56] +func (x *GetContextTypesByExternalIdsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3337,50 +3742,50 @@ func (x *GetEventsByArtifactIDsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetEventsByArtifactIDsRequest.ProtoReflect.Descriptor instead. -func (*GetEventsByArtifactIDsRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{56} +// Deprecated: Use GetContextTypesByExternalIdsRequest.ProtoReflect.Descriptor instead. +func (*GetContextTypesByExternalIdsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{58} } -func (x *GetEventsByArtifactIDsRequest) GetArtifactIds() []int64 { +func (x *GetContextTypesByExternalIdsRequest) GetExternalIds() []string { if x != nil { - return x.ArtifactIds + return x.ExternalIds } return nil } -func (x *GetEventsByArtifactIDsRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetContextTypesByExternalIdsRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetEventsByArtifactIDsResponse struct { +type GetContextTypesByExternalIdsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Events []*Event `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` + ContextTypes []*ContextType `protobuf:"bytes,1,rep,name=context_types,json=contextTypes" json:"context_types,omitempty"` } -func (x *GetEventsByArtifactIDsResponse) Reset() { - *x = GetEventsByArtifactIDsResponse{} +func (x *GetContextTypesByExternalIdsResponse) Reset() { + *x = GetContextTypesByExternalIdsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[57] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetEventsByArtifactIDsResponse) String() string { +func (x *GetContextTypesByExternalIdsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetEventsByArtifactIDsResponse) ProtoMessage() {} +func (*GetContextTypesByExternalIdsResponse) ProtoMessage() {} -func (x *GetEventsByArtifactIDsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[57] +func (x *GetContextTypesByExternalIdsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3391,45 +3796,58 @@ func (x *GetEventsByArtifactIDsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetEventsByArtifactIDsResponse.ProtoReflect.Descriptor instead. -func (*GetEventsByArtifactIDsResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{57} +// Deprecated: Use GetContextTypesByExternalIdsResponse.ProtoReflect.Descriptor instead. +func (*GetContextTypesByExternalIdsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{59} } -func (x *GetEventsByArtifactIDsResponse) GetEvents() []*Event { +func (x *GetContextTypesByExternalIdsResponse) GetContextTypes() []*ContextType { if x != nil { - return x.Events + return x.ContextTypes } return nil } -type GetArtifactTypesByIDRequest struct { +type GetExecutionsByTypeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TypeIds []int64 `protobuf:"varint,1,rep,name=type_ids,json=typeIds" json:"type_ids,omitempty"` + TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` + // If not set, it looks for the type with type_name with default type_version. + TypeVersion *string `protobuf:"bytes,2,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` + // Specify List options. + // Currently supports: + // 1. Field to order the results. + // 2. Page size. + // If set, the request will + // first fetch all executions with specified `type_name` and `type_version`, + // then order by a specifield field + // finally find the correct page and return #Executions of the page size. + // Higher-level APIs may only use the functionalies partially. + // Please reference the API documentation for the API behaviors. + Options *ListOperationOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,4,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetArtifactTypesByIDRequest) Reset() { - *x = GetArtifactTypesByIDRequest{} +func (x *GetExecutionsByTypeRequest) Reset() { + *x = GetExecutionsByTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[58] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetArtifactTypesByIDRequest) String() string { +func (x *GetExecutionsByTypeRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetArtifactTypesByIDRequest) ProtoMessage() {} +func (*GetExecutionsByTypeRequest) ProtoMessage() {} -func (x *GetArtifactTypesByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[58] +func (x *GetExecutionsByTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3440,52 +3858,67 @@ func (x *GetArtifactTypesByIDRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetArtifactTypesByIDRequest.ProtoReflect.Descriptor instead. -func (*GetArtifactTypesByIDRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{58} +// Deprecated: Use GetExecutionsByTypeRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionsByTypeRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{60} } -func (x *GetArtifactTypesByIDRequest) GetTypeIds() []int64 { +func (x *GetExecutionsByTypeRequest) GetTypeName() string { + if x != nil && x.TypeName != nil { + return *x.TypeName + } + return "" +} + +func (x *GetExecutionsByTypeRequest) GetTypeVersion() string { + if x != nil && x.TypeVersion != nil { + return *x.TypeVersion + } + return "" +} + +func (x *GetExecutionsByTypeRequest) GetOptions() *ListOperationOptions { if x != nil { - return x.TypeIds + return x.Options } return nil } -func (x *GetArtifactTypesByIDRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetExecutionsByTypeRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetArtifactTypesByIDResponse struct { +type GetExecutionsByTypeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The result is not index-aligned: if an id is not found, it is not - // returned. - ArtifactTypes []*ArtifactType `protobuf:"bytes,1,rep,name=artifact_types,json=artifactTypes" json:"artifact_types,omitempty"` + Executions []*Execution `protobuf:"bytes,1,rep,name=executions" json:"executions,omitempty"` + // Token to use to retrieve next page of results if list options are used in + // the request. + NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` } -func (x *GetArtifactTypesByIDResponse) Reset() { - *x = GetArtifactTypesByIDResponse{} +func (x *GetExecutionsByTypeResponse) Reset() { + *x = GetExecutionsByTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[59] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetArtifactTypesByIDResponse) String() string { +func (x *GetExecutionsByTypeResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetArtifactTypesByIDResponse) ProtoMessage() {} +func (*GetExecutionsByTypeResponse) ProtoMessage() {} -func (x *GetArtifactTypesByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[59] +func (x *GetExecutionsByTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3496,45 +3929,56 @@ func (x *GetArtifactTypesByIDResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetArtifactTypesByIDResponse.ProtoReflect.Descriptor instead. -func (*GetArtifactTypesByIDResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{59} +// Deprecated: Use GetExecutionsByTypeResponse.ProtoReflect.Descriptor instead. +func (*GetExecutionsByTypeResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{61} } -func (x *GetArtifactTypesByIDResponse) GetArtifactTypes() []*ArtifactType { +func (x *GetExecutionsByTypeResponse) GetExecutions() []*Execution { if x != nil { - return x.ArtifactTypes + return x.Executions } return nil } -type GetExecutionTypesByIDRequest struct { +func (x *GetExecutionsByTypeResponse) GetNextPageToken() string { + if x != nil && x.NextPageToken != nil { + return *x.NextPageToken + } + return "" +} + +type GetExecutionByTypeAndNameRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TypeIds []int64 `protobuf:"varint,1,rep,name=type_ids,json=typeIds" json:"type_ids,omitempty"` + TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` + // If not set, it looks for the type with type_name and execution_name with + // default type_version. + TypeVersion *string `protobuf:"bytes,3,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` + ExecutionName *string `protobuf:"bytes,2,opt,name=execution_name,json=executionName" json:"execution_name,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,4,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetExecutionTypesByIDRequest) Reset() { - *x = GetExecutionTypesByIDRequest{} +func (x *GetExecutionByTypeAndNameRequest) Reset() { + *x = GetExecutionByTypeAndNameRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[60] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionTypesByIDRequest) String() string { +func (x *GetExecutionByTypeAndNameRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionTypesByIDRequest) ProtoMessage() {} +func (*GetExecutionByTypeAndNameRequest) ProtoMessage() {} -func (x *GetExecutionTypesByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[60] +func (x *GetExecutionByTypeAndNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3545,52 +3989,64 @@ func (x *GetExecutionTypesByIDRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionTypesByIDRequest.ProtoReflect.Descriptor instead. -func (*GetExecutionTypesByIDRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{60} +// Deprecated: Use GetExecutionByTypeAndNameRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionByTypeAndNameRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{62} } -func (x *GetExecutionTypesByIDRequest) GetTypeIds() []int64 { - if x != nil { - return x.TypeIds +func (x *GetExecutionByTypeAndNameRequest) GetTypeName() string { + if x != nil && x.TypeName != nil { + return *x.TypeName } - return nil + return "" } -func (x *GetExecutionTypesByIDRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetExecutionByTypeAndNameRequest) GetTypeVersion() string { + if x != nil && x.TypeVersion != nil { + return *x.TypeVersion + } + return "" +} + +func (x *GetExecutionByTypeAndNameRequest) GetExecutionName() string { + if x != nil && x.ExecutionName != nil { + return *x.ExecutionName + } + return "" +} + +func (x *GetExecutionByTypeAndNameRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetExecutionTypesByIDResponse struct { +type GetExecutionByTypeAndNameResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The result is not index-aligned: if an id is not found, it is not - // returned. - ExecutionTypes []*ExecutionType `protobuf:"bytes,1,rep,name=execution_types,json=executionTypes" json:"execution_types,omitempty"` + Execution *Execution `protobuf:"bytes,1,opt,name=execution" json:"execution,omitempty"` } -func (x *GetExecutionTypesByIDResponse) Reset() { - *x = GetExecutionTypesByIDResponse{} +func (x *GetExecutionByTypeAndNameResponse) Reset() { + *x = GetExecutionByTypeAndNameResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[61] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionTypesByIDResponse) String() string { +func (x *GetExecutionByTypeAndNameResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionTypesByIDResponse) ProtoMessage() {} +func (*GetExecutionByTypeAndNameResponse) ProtoMessage() {} -func (x *GetExecutionTypesByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[61] +func (x *GetExecutionByTypeAndNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3601,47 +4057,46 @@ func (x *GetExecutionTypesByIDResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionTypesByIDResponse.ProtoReflect.Descriptor instead. -func (*GetExecutionTypesByIDResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{61} +// Deprecated: Use GetExecutionByTypeAndNameResponse.ProtoReflect.Descriptor instead. +func (*GetExecutionByTypeAndNameResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{63} } -func (x *GetExecutionTypesByIDResponse) GetExecutionTypes() []*ExecutionType { +func (x *GetExecutionByTypeAndNameResponse) GetExecution() *Execution { if x != nil { - return x.ExecutionTypes + return x.Execution } return nil } -type GetContextTypeRequest struct { +type GetExecutionsByIDRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` - // If not set, it looks for the type with type_name with default type_version. - TypeVersion *string `protobuf:"bytes,2,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` + // A list of execution ids to retrieve. + ExecutionIds []int64 `protobuf:"varint,1,rep,name=execution_ids,json=executionIds" json:"execution_ids,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetContextTypeRequest) Reset() { - *x = GetContextTypeRequest{} +func (x *GetExecutionsByIDRequest) Reset() { + *x = GetExecutionsByIDRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[62] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextTypeRequest) String() string { +func (x *GetExecutionsByIDRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextTypeRequest) ProtoMessage() {} +func (*GetExecutionsByIDRequest) ProtoMessage() {} -func (x *GetContextTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[62] +func (x *GetExecutionsByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3652,58 +4107,52 @@ func (x *GetContextTypeRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextTypeRequest.ProtoReflect.Descriptor instead. -func (*GetContextTypeRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{62} -} - -func (x *GetContextTypeRequest) GetTypeName() string { - if x != nil && x.TypeName != nil { - return *x.TypeName - } - return "" +// Deprecated: Use GetExecutionsByIDRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionsByIDRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{64} } -func (x *GetContextTypeRequest) GetTypeVersion() string { - if x != nil && x.TypeVersion != nil { - return *x.TypeVersion +func (x *GetExecutionsByIDRequest) GetExecutionIds() []int64 { + if x != nil { + return x.ExecutionIds } - return "" + return nil } -func (x *GetContextTypeRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetExecutionsByIDRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetContextTypeResponse struct { +type GetExecutionsByIDResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Gets a context type, or clear if it does not exist. - ContextType *ContextType `protobuf:"bytes,1,opt,name=context_type,json=contextType" json:"context_type,omitempty"` + // The result is not index-aligned: if an id is not found, it is not + // returned. + Executions []*Execution `protobuf:"bytes,1,rep,name=executions" json:"executions,omitempty"` } -func (x *GetContextTypeResponse) Reset() { - *x = GetContextTypeResponse{} +func (x *GetExecutionsByIDResponse) Reset() { + *x = GetExecutionsByIDResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[63] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextTypeResponse) String() string { +func (x *GetExecutionsByIDResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextTypeResponse) ProtoMessage() {} +func (*GetExecutionsByIDResponse) ProtoMessage() {} -func (x *GetContextTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[63] +func (x *GetExecutionsByIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3714,45 +4163,47 @@ func (x *GetContextTypeResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextTypeResponse.ProtoReflect.Descriptor instead. -func (*GetContextTypeResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{63} +// Deprecated: Use GetExecutionsByIDResponse.ProtoReflect.Descriptor instead. +func (*GetExecutionsByIDResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{65} } -func (x *GetContextTypeResponse) GetContextType() *ContextType { +func (x *GetExecutionsByIDResponse) GetExecutions() []*Execution { if x != nil { - return x.ContextType + return x.Executions } return nil } -type GetContextTypesByIDRequest struct { +type GetExecutionTypeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TypeIds []int64 `protobuf:"varint,1,rep,name=type_ids,json=typeIds" json:"type_ids,omitempty"` + TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` + // If not set, it looks for the type with type_name with default type_version. + TypeVersion *string `protobuf:"bytes,2,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetContextTypesByIDRequest) Reset() { - *x = GetContextTypesByIDRequest{} +func (x *GetExecutionTypeRequest) Reset() { + *x = GetExecutionTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[64] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextTypesByIDRequest) String() string { +func (x *GetExecutionTypeRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextTypesByIDRequest) ProtoMessage() {} +func (*GetExecutionTypeRequest) ProtoMessage() {} -func (x *GetContextTypesByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[64] +func (x *GetExecutionTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3763,52 +4214,58 @@ func (x *GetContextTypesByIDRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextTypesByIDRequest.ProtoReflect.Descriptor instead. -func (*GetContextTypesByIDRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{64} +// Deprecated: Use GetExecutionTypeRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionTypeRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{66} } -func (x *GetContextTypesByIDRequest) GetTypeIds() []int64 { - if x != nil { - return x.TypeIds +func (x *GetExecutionTypeRequest) GetTypeName() string { + if x != nil && x.TypeName != nil { + return *x.TypeName } - return nil + return "" } -func (x *GetContextTypesByIDRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetExecutionTypeRequest) GetTypeVersion() string { + if x != nil && x.TypeVersion != nil { + return *x.TypeVersion + } + return "" +} + +func (x *GetExecutionTypeRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetContextTypesByIDResponse struct { +type GetExecutionTypeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The result is not index-aligned: if an id is not found, it is not - // returned. - ContextTypes []*ContextType `protobuf:"bytes,1,rep,name=context_types,json=contextTypes" json:"context_types,omitempty"` + // Gets an execution type, or clear if it does not exist. + ExecutionType *ExecutionType `protobuf:"bytes,1,opt,name=execution_type,json=executionType" json:"execution_type,omitempty"` } -func (x *GetContextTypesByIDResponse) Reset() { - *x = GetContextTypesByIDResponse{} +func (x *GetExecutionTypeResponse) Reset() { + *x = GetExecutionTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[65] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextTypesByIDResponse) String() string { +func (x *GetExecutionTypeResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextTypesByIDResponse) ProtoMessage() {} +func (*GetExecutionTypeResponse) ProtoMessage() {} -func (x *GetContextTypesByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[65] +func (x *GetExecutionTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3819,51 +4276,46 @@ func (x *GetContextTypesByIDResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextTypesByIDResponse.ProtoReflect.Descriptor instead. -func (*GetContextTypesByIDResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{65} +// Deprecated: Use GetExecutionTypeResponse.ProtoReflect.Descriptor instead. +func (*GetExecutionTypeResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{67} } -func (x *GetContextTypesByIDResponse) GetContextTypes() []*ContextType { +func (x *GetExecutionTypeResponse) GetExecutionType() *ExecutionType { if x != nil { - return x.ContextTypes + return x.ExecutionType } return nil } -// Request to retrieve Contexts using List options. -// If option is not specified then all Contexts are returned. -type GetContextsRequest struct { +// Gets all events with matching execution ids. +type GetEventsByExecutionIDsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Specify options. - // Currently supports: - // 1. Field to order the results. - // 2. Page size. - Options *ListOperationOptions `protobuf:"bytes,1,opt,name=options" json:"options,omitempty"` + ExecutionIds []int64 `protobuf:"varint,1,rep,name=execution_ids,json=executionIds" json:"execution_ids,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetContextsRequest) Reset() { - *x = GetContextsRequest{} +func (x *GetEventsByExecutionIDsRequest) Reset() { + *x = GetEventsByExecutionIDsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[66] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextsRequest) String() string { +func (x *GetEventsByExecutionIDsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextsRequest) ProtoMessage() {} +func (*GetEventsByExecutionIDsRequest) ProtoMessage() {} -func (x *GetContextsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[66] +func (x *GetEventsByExecutionIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3874,54 +4326,50 @@ func (x *GetContextsRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextsRequest.ProtoReflect.Descriptor instead. -func (*GetContextsRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{66} +// Deprecated: Use GetEventsByExecutionIDsRequest.ProtoReflect.Descriptor instead. +func (*GetEventsByExecutionIDsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{68} } -func (x *GetContextsRequest) GetOptions() *ListOperationOptions { +func (x *GetEventsByExecutionIDsRequest) GetExecutionIds() []int64 { if x != nil { - return x.Options + return x.ExecutionIds } return nil } -func (x *GetContextsRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetEventsByExecutionIDsRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetContextsResponse struct { +type GetEventsByExecutionIDsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Returned contexts. - Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` - // Token to use to retrieve next page of results if list options are used in - // the request. - NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` + Events []*Event `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` } -func (x *GetContextsResponse) Reset() { - *x = GetContextsResponse{} +func (x *GetEventsByExecutionIDsResponse) Reset() { + *x = GetEventsByExecutionIDsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[67] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextsResponse) String() string { +func (x *GetEventsByExecutionIDsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextsResponse) ProtoMessage() {} +func (*GetEventsByExecutionIDsResponse) ProtoMessage() {} -func (x *GetContextsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[67] +func (x *GetEventsByExecutionIDsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3932,60 +4380,45 @@ func (x *GetContextsResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextsResponse.ProtoReflect.Descriptor instead. -func (*GetContextsResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{67} +// Deprecated: Use GetEventsByExecutionIDsResponse.ProtoReflect.Descriptor instead. +func (*GetEventsByExecutionIDsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{69} } -func (x *GetContextsResponse) GetContexts() []*Context { +func (x *GetEventsByExecutionIDsResponse) GetEvents() []*Event { if x != nil { - return x.Contexts + return x.Events } return nil } -func (x *GetContextsResponse) GetNextPageToken() string { - if x != nil && x.NextPageToken != nil { - return *x.NextPageToken - } - return "" -} - -type GetContextsByTypeRequest struct { +type GetEventsByArtifactIDsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` - // Specify options. - // Currently supports: - // 1. Field to order the results. - // 2. Page size. - Options *ListOperationOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` - // If not set, it looks for the type with type_name and options with default - // type_version. - TypeVersion *string `protobuf:"bytes,3,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` + ArtifactIds []int64 `protobuf:"varint,1,rep,name=artifact_ids,json=artifactIds" json:"artifact_ids,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,4,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetContextsByTypeRequest) Reset() { - *x = GetContextsByTypeRequest{} +func (x *GetEventsByArtifactIDsRequest) Reset() { + *x = GetEventsByArtifactIDsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[68] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextsByTypeRequest) String() string { +func (x *GetEventsByArtifactIDsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextsByTypeRequest) ProtoMessage() {} +func (*GetEventsByArtifactIDsRequest) ProtoMessage() {} -func (x *GetContextsByTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[68] +func (x *GetEventsByArtifactIDsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3996,67 +4429,50 @@ func (x *GetContextsByTypeRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextsByTypeRequest.ProtoReflect.Descriptor instead. -func (*GetContextsByTypeRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{68} -} - -func (x *GetContextsByTypeRequest) GetTypeName() string { - if x != nil && x.TypeName != nil { - return *x.TypeName - } - return "" +// Deprecated: Use GetEventsByArtifactIDsRequest.ProtoReflect.Descriptor instead. +func (*GetEventsByArtifactIDsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{70} } -func (x *GetContextsByTypeRequest) GetOptions() *ListOperationOptions { +func (x *GetEventsByArtifactIDsRequest) GetArtifactIds() []int64 { if x != nil { - return x.Options + return x.ArtifactIds } return nil } -func (x *GetContextsByTypeRequest) GetTypeVersion() string { - if x != nil && x.TypeVersion != nil { - return *x.TypeVersion - } - return "" -} - -func (x *GetContextsByTypeRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetEventsByArtifactIDsRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetContextsByTypeResponse struct { +type GetEventsByArtifactIDsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` - // Token to use to retrieve next page of results if list options are used in - // the request. - NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` + Events []*Event `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` } -func (x *GetContextsByTypeResponse) Reset() { - *x = GetContextsByTypeResponse{} +func (x *GetEventsByArtifactIDsResponse) Reset() { + *x = GetEventsByArtifactIDsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[69] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextsByTypeResponse) String() string { +func (x *GetEventsByArtifactIDsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextsByTypeResponse) ProtoMessage() {} +func (*GetEventsByArtifactIDsResponse) ProtoMessage() {} -func (x *GetContextsByTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[69] +func (x *GetEventsByArtifactIDsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4067,56 +4483,45 @@ func (x *GetContextsByTypeResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextsByTypeResponse.ProtoReflect.Descriptor instead. -func (*GetContextsByTypeResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{69} +// Deprecated: Use GetEventsByArtifactIDsResponse.ProtoReflect.Descriptor instead. +func (*GetEventsByArtifactIDsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{71} } -func (x *GetContextsByTypeResponse) GetContexts() []*Context { +func (x *GetEventsByArtifactIDsResponse) GetEvents() []*Event { if x != nil { - return x.Contexts + return x.Events } return nil } -func (x *GetContextsByTypeResponse) GetNextPageToken() string { - if x != nil && x.NextPageToken != nil { - return *x.NextPageToken - } - return "" -} - -type GetContextByTypeAndNameRequest struct { +type GetArtifactTypesByIDRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` - // If not set, it looks for the type with type_name and context_name with - // default type_version. - TypeVersion *string `protobuf:"bytes,3,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` - ContextName *string `protobuf:"bytes,2,opt,name=context_name,json=contextName" json:"context_name,omitempty"` + TypeIds []int64 `protobuf:"varint,1,rep,name=type_ids,json=typeIds" json:"type_ids,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,4,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetContextByTypeAndNameRequest) Reset() { - *x = GetContextByTypeAndNameRequest{} +func (x *GetArtifactTypesByIDRequest) Reset() { + *x = GetArtifactTypesByIDRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[70] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextByTypeAndNameRequest) String() string { +func (x *GetArtifactTypesByIDRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextByTypeAndNameRequest) ProtoMessage() {} +func (*GetArtifactTypesByIDRequest) ProtoMessage() {} -func (x *GetContextByTypeAndNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[70] +func (x *GetArtifactTypesByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[72] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4127,64 +4532,52 @@ func (x *GetContextByTypeAndNameRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextByTypeAndNameRequest.ProtoReflect.Descriptor instead. -func (*GetContextByTypeAndNameRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{70} -} - -func (x *GetContextByTypeAndNameRequest) GetTypeName() string { - if x != nil && x.TypeName != nil { - return *x.TypeName - } - return "" -} - -func (x *GetContextByTypeAndNameRequest) GetTypeVersion() string { - if x != nil && x.TypeVersion != nil { - return *x.TypeVersion - } - return "" +// Deprecated: Use GetArtifactTypesByIDRequest.ProtoReflect.Descriptor instead. +func (*GetArtifactTypesByIDRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{72} } -func (x *GetContextByTypeAndNameRequest) GetContextName() string { - if x != nil && x.ContextName != nil { - return *x.ContextName +func (x *GetArtifactTypesByIDRequest) GetTypeIds() []int64 { + if x != nil { + return x.TypeIds } - return "" + return nil } -func (x *GetContextByTypeAndNameRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetArtifactTypesByIDRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetContextByTypeAndNameResponse struct { +type GetArtifactTypesByIDResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Context *Context `protobuf:"bytes,1,opt,name=context" json:"context,omitempty"` + // The result is not index-aligned: if an id is not found, it is not + // returned. + ArtifactTypes []*ArtifactType `protobuf:"bytes,1,rep,name=artifact_types,json=artifactTypes" json:"artifact_types,omitempty"` } -func (x *GetContextByTypeAndNameResponse) Reset() { - *x = GetContextByTypeAndNameResponse{} +func (x *GetArtifactTypesByIDResponse) Reset() { + *x = GetArtifactTypesByIDResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[71] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextByTypeAndNameResponse) String() string { +func (x *GetArtifactTypesByIDResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextByTypeAndNameResponse) ProtoMessage() {} +func (*GetArtifactTypesByIDResponse) ProtoMessage() {} -func (x *GetContextByTypeAndNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[71] +func (x *GetArtifactTypesByIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4195,46 +4588,45 @@ func (x *GetContextByTypeAndNameResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextByTypeAndNameResponse.ProtoReflect.Descriptor instead. -func (*GetContextByTypeAndNameResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{71} +// Deprecated: Use GetArtifactTypesByIDResponse.ProtoReflect.Descriptor instead. +func (*GetArtifactTypesByIDResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{73} } -func (x *GetContextByTypeAndNameResponse) GetContext() *Context { +func (x *GetArtifactTypesByIDResponse) GetArtifactTypes() []*ArtifactType { if x != nil { - return x.Context + return x.ArtifactTypes } return nil } -type GetContextsByIDRequest struct { +type GetExecutionTypesByIDRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // A list of context ids to retrieve. - ContextIds []int64 `protobuf:"varint,1,rep,name=context_ids,json=contextIds" json:"context_ids,omitempty"` + TypeIds []int64 `protobuf:"varint,1,rep,name=type_ids,json=typeIds" json:"type_ids,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetContextsByIDRequest) Reset() { - *x = GetContextsByIDRequest{} +func (x *GetExecutionTypesByIDRequest) Reset() { + *x = GetExecutionTypesByIDRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[72] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextsByIDRequest) String() string { +func (x *GetExecutionTypesByIDRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextsByIDRequest) ProtoMessage() {} +func (*GetExecutionTypesByIDRequest) ProtoMessage() {} -func (x *GetContextsByIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[72] +func (x *GetExecutionTypesByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4245,52 +4637,52 @@ func (x *GetContextsByIDRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextsByIDRequest.ProtoReflect.Descriptor instead. -func (*GetContextsByIDRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{72} +// Deprecated: Use GetExecutionTypesByIDRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionTypesByIDRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{74} } -func (x *GetContextsByIDRequest) GetContextIds() []int64 { +func (x *GetExecutionTypesByIDRequest) GetTypeIds() []int64 { if x != nil { - return x.ContextIds + return x.TypeIds } return nil } -func (x *GetContextsByIDRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetExecutionTypesByIDRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetContextsByIDResponse struct { +type GetExecutionTypesByIDResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The result is not index-aligned: if an id is not found, it is not // returned. - Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` + ExecutionTypes []*ExecutionType `protobuf:"bytes,1,rep,name=execution_types,json=executionTypes" json:"execution_types,omitempty"` } -func (x *GetContextsByIDResponse) Reset() { - *x = GetContextsByIDResponse{} +func (x *GetExecutionTypesByIDResponse) Reset() { + *x = GetExecutionTypesByIDResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[73] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextsByIDResponse) String() string { +func (x *GetExecutionTypesByIDResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextsByIDResponse) ProtoMessage() {} +func (*GetExecutionTypesByIDResponse) ProtoMessage() {} -func (x *GetContextsByIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[73] +func (x *GetExecutionTypesByIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4301,45 +4693,47 @@ func (x *GetContextsByIDResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextsByIDResponse.ProtoReflect.Descriptor instead. -func (*GetContextsByIDResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{73} +// Deprecated: Use GetExecutionTypesByIDResponse.ProtoReflect.Descriptor instead. +func (*GetExecutionTypesByIDResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{75} } -func (x *GetContextsByIDResponse) GetContexts() []*Context { +func (x *GetExecutionTypesByIDResponse) GetExecutionTypes() []*ExecutionType { if x != nil { - return x.Contexts + return x.ExecutionTypes } return nil } -type GetContextsByArtifactRequest struct { +type GetContextTypeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ArtifactId *int64 `protobuf:"varint,1,opt,name=artifact_id,json=artifactId" json:"artifact_id,omitempty"` + TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` + // If not set, it looks for the type with type_name with default type_version. + TypeVersion *string `protobuf:"bytes,2,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetContextsByArtifactRequest) Reset() { - *x = GetContextsByArtifactRequest{} +func (x *GetContextTypeRequest) Reset() { + *x = GetContextTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[74] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextsByArtifactRequest) String() string { +func (x *GetContextTypeRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextsByArtifactRequest) ProtoMessage() {} +func (*GetContextTypeRequest) ProtoMessage() {} -func (x *GetContextsByArtifactRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[74] +func (x *GetContextTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4350,50 +4744,58 @@ func (x *GetContextsByArtifactRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextsByArtifactRequest.ProtoReflect.Descriptor instead. -func (*GetContextsByArtifactRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{74} +// Deprecated: Use GetContextTypeRequest.ProtoReflect.Descriptor instead. +func (*GetContextTypeRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{76} } -func (x *GetContextsByArtifactRequest) GetArtifactId() int64 { - if x != nil && x.ArtifactId != nil { - return *x.ArtifactId +func (x *GetContextTypeRequest) GetTypeName() string { + if x != nil && x.TypeName != nil { + return *x.TypeName } - return 0 + return "" } -func (x *GetContextsByArtifactRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetContextTypeRequest) GetTypeVersion() string { + if x != nil && x.TypeVersion != nil { + return *x.TypeVersion + } + return "" +} + +func (x *GetContextTypeRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetContextsByArtifactResponse struct { +type GetContextTypeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` + // Gets a context type, or clear if it does not exist. + ContextType *ContextType `protobuf:"bytes,1,opt,name=context_type,json=contextType" json:"context_type,omitempty"` } -func (x *GetContextsByArtifactResponse) Reset() { - *x = GetContextsByArtifactResponse{} +func (x *GetContextTypeResponse) Reset() { + *x = GetContextTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[75] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextsByArtifactResponse) String() string { +func (x *GetContextTypeResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextsByArtifactResponse) ProtoMessage() {} +func (*GetContextTypeResponse) ProtoMessage() {} -func (x *GetContextsByArtifactResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[75] +func (x *GetContextTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[77] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4404,45 +4806,45 @@ func (x *GetContextsByArtifactResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextsByArtifactResponse.ProtoReflect.Descriptor instead. -func (*GetContextsByArtifactResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{75} +// Deprecated: Use GetContextTypeResponse.ProtoReflect.Descriptor instead. +func (*GetContextTypeResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{77} } -func (x *GetContextsByArtifactResponse) GetContexts() []*Context { +func (x *GetContextTypeResponse) GetContextType() *ContextType { if x != nil { - return x.Contexts + return x.ContextType } return nil } -type GetContextsByExecutionRequest struct { +type GetContextTypesByIDRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ExecutionId *int64 `protobuf:"varint,1,opt,name=execution_id,json=executionId" json:"execution_id,omitempty"` + TypeIds []int64 `protobuf:"varint,1,rep,name=type_ids,json=typeIds" json:"type_ids,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetContextsByExecutionRequest) Reset() { - *x = GetContextsByExecutionRequest{} +func (x *GetContextTypesByIDRequest) Reset() { + *x = GetContextTypesByIDRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[76] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextsByExecutionRequest) String() string { +func (x *GetContextTypesByIDRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextsByExecutionRequest) ProtoMessage() {} +func (*GetContextTypesByIDRequest) ProtoMessage() {} -func (x *GetContextsByExecutionRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[76] +func (x *GetContextTypesByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4453,50 +4855,52 @@ func (x *GetContextsByExecutionRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextsByExecutionRequest.ProtoReflect.Descriptor instead. -func (*GetContextsByExecutionRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{76} +// Deprecated: Use GetContextTypesByIDRequest.ProtoReflect.Descriptor instead. +func (*GetContextTypesByIDRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{78} } -func (x *GetContextsByExecutionRequest) GetExecutionId() int64 { - if x != nil && x.ExecutionId != nil { - return *x.ExecutionId +func (x *GetContextTypesByIDRequest) GetTypeIds() []int64 { + if x != nil { + return x.TypeIds } - return 0 + return nil } -func (x *GetContextsByExecutionRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetContextTypesByIDRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetContextsByExecutionResponse struct { +type GetContextTypesByIDResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` + // The result is not index-aligned: if an id is not found, it is not + // returned. + ContextTypes []*ContextType `protobuf:"bytes,1,rep,name=context_types,json=contextTypes" json:"context_types,omitempty"` } -func (x *GetContextsByExecutionResponse) Reset() { - *x = GetContextsByExecutionResponse{} +func (x *GetContextTypesByIDResponse) Reset() { + *x = GetContextTypesByIDResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[77] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetContextsByExecutionResponse) String() string { +func (x *GetContextTypesByIDResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetContextsByExecutionResponse) ProtoMessage() {} +func (*GetContextTypesByIDResponse) ProtoMessage() {} -func (x *GetContextsByExecutionResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[77] +func (x *GetContextTypesByIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4507,45 +4911,50 @@ func (x *GetContextsByExecutionResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetContextsByExecutionResponse.ProtoReflect.Descriptor instead. -func (*GetContextsByExecutionResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{77} +// Deprecated: Use GetContextTypesByIDResponse.ProtoReflect.Descriptor instead. +func (*GetContextTypesByIDResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{79} } -func (x *GetContextsByExecutionResponse) GetContexts() []*Context { +func (x *GetContextTypesByIDResponse) GetContextTypes() []*ContextType { if x != nil { - return x.Contexts + return x.ContextTypes } return nil } -type GetParentContextsByContextRequest struct { +// Request to retrieve Contexts using List options. +// If option is not specified then all Contexts are returned. +type GetContextsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ContextId *int64 `protobuf:"varint,1,opt,name=context_id,json=contextId" json:"context_id,omitempty"` + // Specify options. + // Please refer to the documentation of ListOperationOptions for the supported + // functionalities. + Options *ListOperationOptions `protobuf:"bytes,1,opt,name=options" json:"options,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetParentContextsByContextRequest) Reset() { - *x = GetParentContextsByContextRequest{} +func (x *GetContextsRequest) Reset() { + *x = GetContextsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[78] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetParentContextsByContextRequest) String() string { +func (x *GetContextsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetParentContextsByContextRequest) ProtoMessage() {} +func (*GetContextsRequest) ProtoMessage() {} -func (x *GetParentContextsByContextRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[78] +func (x *GetContextsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4556,50 +4965,54 @@ func (x *GetParentContextsByContextRequest) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use GetParentContextsByContextRequest.ProtoReflect.Descriptor instead. -func (*GetParentContextsByContextRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{78} +// Deprecated: Use GetContextsRequest.ProtoReflect.Descriptor instead. +func (*GetContextsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{80} } -func (x *GetParentContextsByContextRequest) GetContextId() int64 { - if x != nil && x.ContextId != nil { - return *x.ContextId +func (x *GetContextsRequest) GetOptions() *ListOperationOptions { + if x != nil { + return x.Options } - return 0 + return nil } -func (x *GetParentContextsByContextRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetContextsRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetParentContextsByContextResponse struct { +type GetContextsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // Returned contexts. Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` + // Token to use to retrieve next page of results if list options are used in + // the request. + NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` } -func (x *GetParentContextsByContextResponse) Reset() { - *x = GetParentContextsByContextResponse{} +func (x *GetContextsResponse) Reset() { + *x = GetContextsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[79] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetParentContextsByContextResponse) String() string { +func (x *GetContextsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetParentContextsByContextResponse) ProtoMessage() {} +func (*GetContextsResponse) ProtoMessage() {} -func (x *GetParentContextsByContextResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[79] +func (x *GetContextsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4610,45 +5023,66 @@ func (x *GetParentContextsByContextResponse) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use GetParentContextsByContextResponse.ProtoReflect.Descriptor instead. -func (*GetParentContextsByContextResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{79} +// Deprecated: Use GetContextsResponse.ProtoReflect.Descriptor instead. +func (*GetContextsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{81} } -func (x *GetParentContextsByContextResponse) GetContexts() []*Context { +func (x *GetContextsResponse) GetContexts() []*Context { if x != nil { return x.Contexts } return nil } -type GetChildrenContextsByContextRequest struct { +func (x *GetContextsResponse) GetNextPageToken() string { + if x != nil && x.NextPageToken != nil { + return *x.NextPageToken + } + return "" +} + +type GetContextsByTypeRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ContextId *int64 `protobuf:"varint,1,opt,name=context_id,json=contextId" json:"context_id,omitempty"` + TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` + // Specify options. + // Currently supports: + // 1. Field to order the results. + // 2. Page size. + // If set, the request will + // first fetch all contexts with specified `type_name` and `type_version`, + // then order by a specifield field + // finally find the correct page and return #Contexts of the page size. + // Higher-level APIs may only use the functionalies partially. + // Please reference the API documentation for the API behaviors. + Options *ListOperationOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` + // If not set, it looks for the type with type_name and options with default + // type_version. + TypeVersion *string `protobuf:"bytes,3,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,4,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetChildrenContextsByContextRequest) Reset() { - *x = GetChildrenContextsByContextRequest{} +func (x *GetContextsByTypeRequest) Reset() { + *x = GetContextsByTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[80] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetChildrenContextsByContextRequest) String() string { +func (x *GetContextsByTypeRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetChildrenContextsByContextRequest) ProtoMessage() {} +func (*GetContextsByTypeRequest) ProtoMessage() {} -func (x *GetChildrenContextsByContextRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[80] +func (x *GetContextsByTypeRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4659,50 +5093,67 @@ func (x *GetChildrenContextsByContextRequest) ProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -// Deprecated: Use GetChildrenContextsByContextRequest.ProtoReflect.Descriptor instead. -func (*GetChildrenContextsByContextRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{80} +// Deprecated: Use GetContextsByTypeRequest.ProtoReflect.Descriptor instead. +func (*GetContextsByTypeRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{82} } -func (x *GetChildrenContextsByContextRequest) GetContextId() int64 { - if x != nil && x.ContextId != nil { - return *x.ContextId +func (x *GetContextsByTypeRequest) GetTypeName() string { + if x != nil && x.TypeName != nil { + return *x.TypeName } - return 0 + return "" } -func (x *GetChildrenContextsByContextRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetContextsByTypeRequest) GetOptions() *ListOperationOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *GetContextsByTypeRequest) GetTypeVersion() string { + if x != nil && x.TypeVersion != nil { + return *x.TypeVersion + } + return "" +} + +func (x *GetContextsByTypeRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetChildrenContextsByContextResponse struct { +type GetContextsByTypeResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` + // Token to use to retrieve next page of results if list options are used in + // the request. + NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` } -func (x *GetChildrenContextsByContextResponse) Reset() { - *x = GetChildrenContextsByContextResponse{} +func (x *GetContextsByTypeResponse) Reset() { + *x = GetContextsByTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[81] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetChildrenContextsByContextResponse) String() string { +func (x *GetContextsByTypeResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetChildrenContextsByContextResponse) ProtoMessage() {} +func (*GetContextsByTypeResponse) ProtoMessage() {} -func (x *GetChildrenContextsByContextResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[81] +func (x *GetContextsByTypeResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[83] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4713,50 +5164,56 @@ func (x *GetChildrenContextsByContextResponse) ProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -// Deprecated: Use GetChildrenContextsByContextResponse.ProtoReflect.Descriptor instead. -func (*GetChildrenContextsByContextResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{81} +// Deprecated: Use GetContextsByTypeResponse.ProtoReflect.Descriptor instead. +func (*GetContextsByTypeResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{83} } -func (x *GetChildrenContextsByContextResponse) GetContexts() []*Context { +func (x *GetContextsByTypeResponse) GetContexts() []*Context { if x != nil { return x.Contexts } return nil } -type GetArtifactsByContextRequest struct { +func (x *GetContextsByTypeResponse) GetNextPageToken() string { + if x != nil && x.NextPageToken != nil { + return *x.NextPageToken + } + return "" +} + +type GetContextByTypeAndNameRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ContextId *int64 `protobuf:"varint,1,opt,name=context_id,json=contextId" json:"context_id,omitempty"` - // Specify List options. - // Currently supports: - // 1. Field to order the results. - // 2. Page size. - Options *ListOperationOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` + TypeName *string `protobuf:"bytes,1,opt,name=type_name,json=typeName" json:"type_name,omitempty"` + // If not set, it looks for the type with type_name and context_name with + // default type_version. + TypeVersion *string `protobuf:"bytes,3,opt,name=type_version,json=typeVersion" json:"type_version,omitempty"` + ContextName *string `protobuf:"bytes,2,opt,name=context_name,json=contextName" json:"context_name,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,4,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetArtifactsByContextRequest) Reset() { - *x = GetArtifactsByContextRequest{} +func (x *GetContextByTypeAndNameRequest) Reset() { + *x = GetContextByTypeAndNameRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[82] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetArtifactsByContextRequest) String() string { +func (x *GetContextByTypeAndNameRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetArtifactsByContextRequest) ProtoMessage() {} +func (*GetContextByTypeAndNameRequest) ProtoMessage() {} -func (x *GetArtifactsByContextRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[82] +func (x *GetContextByTypeAndNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4767,60 +5224,64 @@ func (x *GetArtifactsByContextRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetArtifactsByContextRequest.ProtoReflect.Descriptor instead. -func (*GetArtifactsByContextRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{82} +// Deprecated: Use GetContextByTypeAndNameRequest.ProtoReflect.Descriptor instead. +func (*GetContextByTypeAndNameRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{84} } -func (x *GetArtifactsByContextRequest) GetContextId() int64 { - if x != nil && x.ContextId != nil { - return *x.ContextId +func (x *GetContextByTypeAndNameRequest) GetTypeName() string { + if x != nil && x.TypeName != nil { + return *x.TypeName } - return 0 + return "" } -func (x *GetArtifactsByContextRequest) GetOptions() *ListOperationOptions { - if x != nil { - return x.Options +func (x *GetContextByTypeAndNameRequest) GetTypeVersion() string { + if x != nil && x.TypeVersion != nil { + return *x.TypeVersion } - return nil + return "" } -func (x *GetArtifactsByContextRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetContextByTypeAndNameRequest) GetContextName() string { + if x != nil && x.ContextName != nil { + return *x.ContextName + } + return "" +} + +func (x *GetContextByTypeAndNameRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetArtifactsByContextResponse struct { +type GetContextByTypeAndNameResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts" json:"artifacts,omitempty"` - // Token to use to retrieve next page of results if list options are used in - // the request. - NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` + Context *Context `protobuf:"bytes,1,opt,name=context" json:"context,omitempty"` } -func (x *GetArtifactsByContextResponse) Reset() { - *x = GetArtifactsByContextResponse{} +func (x *GetContextByTypeAndNameResponse) Reset() { + *x = GetContextByTypeAndNameResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[83] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetArtifactsByContextResponse) String() string { +func (x *GetContextByTypeAndNameResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetArtifactsByContextResponse) ProtoMessage() {} +func (*GetContextByTypeAndNameResponse) ProtoMessage() {} -func (x *GetArtifactsByContextResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[83] +func (x *GetContextByTypeAndNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[85] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4831,57 +5292,46 @@ func (x *GetArtifactsByContextResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetArtifactsByContextResponse.ProtoReflect.Descriptor instead. -func (*GetArtifactsByContextResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{83} +// Deprecated: Use GetContextByTypeAndNameResponse.ProtoReflect.Descriptor instead. +func (*GetContextByTypeAndNameResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{85} } -func (x *GetArtifactsByContextResponse) GetArtifacts() []*Artifact { +func (x *GetContextByTypeAndNameResponse) GetContext() *Context { if x != nil { - return x.Artifacts + return x.Context } return nil } -func (x *GetArtifactsByContextResponse) GetNextPageToken() string { - if x != nil && x.NextPageToken != nil { - return *x.NextPageToken - } - return "" -} - -type GetExecutionsByContextRequest struct { +type GetContextsByIDRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ContextId *int64 `protobuf:"varint,1,opt,name=context_id,json=contextId" json:"context_id,omitempty"` - // Specify List options. - // Currently supports: - // 1. Field to order the results. - // 2. Page size. - Options *ListOperationOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` + // A list of context ids to retrieve. + ContextIds []int64 `protobuf:"varint,1,rep,name=context_ids,json=contextIds" json:"context_ids,omitempty"` // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetExecutionsByContextRequest) Reset() { - *x = GetExecutionsByContextRequest{} +func (x *GetContextsByIDRequest) Reset() { + *x = GetContextsByIDRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[84] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionsByContextRequest) String() string { +func (x *GetContextsByIDRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionsByContextRequest) ProtoMessage() {} +func (*GetContextsByIDRequest) ProtoMessage() {} -func (x *GetExecutionsByContextRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[84] +func (x *GetContextsByIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4892,62 +5342,52 @@ func (x *GetExecutionsByContextRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionsByContextRequest.ProtoReflect.Descriptor instead. -func (*GetExecutionsByContextRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{84} +// Deprecated: Use GetContextsByIDRequest.ProtoReflect.Descriptor instead. +func (*GetContextsByIDRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{86} } -func (x *GetExecutionsByContextRequest) GetContextId() int64 { - if x != nil && x.ContextId != nil { - return *x.ContextId +func (x *GetContextsByIDRequest) GetContextIds() []int64 { + if x != nil { + return x.ContextIds } - return 0 + return nil } -func (x *GetExecutionsByContextRequest) GetOptions() *ListOperationOptions { - if x != nil { - return x.Options - } - return nil -} - -func (x *GetExecutionsByContextRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetContextsByIDRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -type GetExecutionsByContextResponse struct { +type GetContextsByIDResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Executions []*Execution `protobuf:"bytes,1,rep,name=executions" json:"executions,omitempty"` - // Token to use to retrieve next page of results if list options are used in - // the request. - NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` - // Options regarding transactions. - TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` + // The result is not index-aligned: if an id is not found, it is not + // returned. + Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` } -func (x *GetExecutionsByContextResponse) Reset() { - *x = GetExecutionsByContextResponse{} +func (x *GetContextsByIDResponse) Reset() { + *x = GetContextsByIDResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[85] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetExecutionsByContextResponse) String() string { +func (x *GetContextsByIDResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetExecutionsByContextResponse) ProtoMessage() {} +func (*GetContextsByIDResponse) ProtoMessage() {} -func (x *GetExecutionsByContextResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[85] +func (x *GetContextsByIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[87] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4958,61 +5398,45 @@ func (x *GetExecutionsByContextResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetExecutionsByContextResponse.ProtoReflect.Descriptor instead. -func (*GetExecutionsByContextResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{85} -} - -func (x *GetExecutionsByContextResponse) GetExecutions() []*Execution { - if x != nil { - return x.Executions - } - return nil -} - -func (x *GetExecutionsByContextResponse) GetNextPageToken() string { - if x != nil && x.NextPageToken != nil { - return *x.NextPageToken - } - return "" +// Deprecated: Use GetContextsByIDResponse.ProtoReflect.Descriptor instead. +func (*GetContextsByIDResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{87} } -func (x *GetExecutionsByContextResponse) GetTransactionOptions() *TransactionOptions { +func (x *GetContextsByIDResponse) GetContexts() []*Context { if x != nil { - return x.TransactionOptions + return x.Contexts } return nil } -// A lineage query request to specify the query nodes of interests and the -// boundary conditions for the returned graph. -type GetLineageGraphRequest struct { +type GetContextsByArtifactRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Options *LineageGraphQueryOptions `protobuf:"bytes,1,opt,name=options" json:"options,omitempty"` + ArtifactId *int64 `protobuf:"varint,1,opt,name=artifact_id,json=artifactId" json:"artifact_id,omitempty"` // Options regarding transactions. TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *GetLineageGraphRequest) Reset() { - *x = GetLineageGraphRequest{} +func (x *GetContextsByArtifactRequest) Reset() { + *x = GetContextsByArtifactRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[86] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetLineageGraphRequest) String() string { +func (x *GetContextsByArtifactRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetLineageGraphRequest) ProtoMessage() {} +func (*GetContextsByArtifactRequest) ProtoMessage() {} -func (x *GetLineageGraphRequest) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[86] +func (x *GetContextsByArtifactRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[88] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5023,52 +5447,50 @@ func (x *GetLineageGraphRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetLineageGraphRequest.ProtoReflect.Descriptor instead. -func (*GetLineageGraphRequest) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{86} +// Deprecated: Use GetContextsByArtifactRequest.ProtoReflect.Descriptor instead. +func (*GetContextsByArtifactRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{88} } -func (x *GetLineageGraphRequest) GetOptions() *LineageGraphQueryOptions { - if x != nil { - return x.Options +func (x *GetContextsByArtifactRequest) GetArtifactId() int64 { + if x != nil && x.ArtifactId != nil { + return *x.ArtifactId } - return nil + return 0 } -func (x *GetLineageGraphRequest) GetTransactionOptions() *TransactionOptions { +func (x *GetContextsByArtifactRequest) GetTransactionOptions() *TransactionOptions { if x != nil { return x.TransactionOptions } return nil } -// A connected lineage `subgraph` about the MLMD nodes derived from -// LineageGraphRequest.query_conditions. -type GetLineageGraphResponse struct { +type GetContextsByArtifactResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Subgraph *LineageGraph `protobuf:"bytes,1,opt,name=subgraph" json:"subgraph,omitempty"` + Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` } -func (x *GetLineageGraphResponse) Reset() { - *x = GetLineageGraphResponse{} +func (x *GetContextsByArtifactResponse) Reset() { + *x = GetContextsByArtifactResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[87] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *GetLineageGraphResponse) String() string { +func (x *GetContextsByArtifactResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*GetLineageGraphResponse) ProtoMessage() {} +func (*GetContextsByArtifactResponse) ProtoMessage() {} -func (x *GetLineageGraphResponse) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[87] +func (x *GetContextsByArtifactResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[89] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5079,54 +5501,45 @@ func (x *GetLineageGraphResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use GetLineageGraphResponse.ProtoReflect.Descriptor instead. -func (*GetLineageGraphResponse) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{87} +// Deprecated: Use GetContextsByArtifactResponse.ProtoReflect.Descriptor instead. +func (*GetContextsByArtifactResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{89} } -func (x *GetLineageGraphResponse) GetSubgraph() *LineageGraph { +func (x *GetContextsByArtifactResponse) GetContexts() []*Context { if x != nil { - return x.Subgraph + return x.Contexts } return nil } -type PutArtifactsRequest_Options struct { +type GetContextsByExecutionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // When there are multiple writers to update an existing node to - // different states, there may be a race and the end result of the - // concurrent update is nondeterministic. If the field is set, then an - // optimistic concurrency control (OCC) scheme is used during update: - // it compares the `artifact`.`last_update_time_since_epoch` in the request - // with the stored `last_update_time_since_epoch` having the same - // `artifact`.`id`. If they are different, the request fails, and the user - // can read the stored node and retry node update. - // When the option is set, the timestamp after update is guaranteed to be - // increased and different from the input artifact. - // When set the option, the caller should set it for all concurrent writers. - AbortIfLatestUpdatedTimeChanged *bool `protobuf:"varint,1,opt,name=abort_if_latest_updated_time_changed,json=abortIfLatestUpdatedTimeChanged" json:"abort_if_latest_updated_time_changed,omitempty"` + ExecutionId *int64 `protobuf:"varint,1,opt,name=execution_id,json=executionId" json:"execution_id,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *PutArtifactsRequest_Options) Reset() { - *x = PutArtifactsRequest_Options{} +func (x *GetContextsByExecutionRequest) Reset() { + *x = GetContextsByExecutionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[89] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PutArtifactsRequest_Options) String() string { +func (x *GetContextsByExecutionRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PutArtifactsRequest_Options) ProtoMessage() {} +func (*GetContextsByExecutionRequest) ProtoMessage() {} -func (x *PutArtifactsRequest_Options) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[89] +func (x *GetContextsByExecutionRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[90] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5137,53 +5550,50 @@ func (x *PutArtifactsRequest_Options) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PutArtifactsRequest_Options.ProtoReflect.Descriptor instead. -func (*PutArtifactsRequest_Options) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{4, 0} +// Deprecated: Use GetContextsByExecutionRequest.ProtoReflect.Descriptor instead. +func (*GetContextsByExecutionRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{90} } -func (x *PutArtifactsRequest_Options) GetAbortIfLatestUpdatedTimeChanged() bool { - if x != nil && x.AbortIfLatestUpdatedTimeChanged != nil { - return *x.AbortIfLatestUpdatedTimeChanged +func (x *GetContextsByExecutionRequest) GetExecutionId() int64 { + if x != nil && x.ExecutionId != nil { + return *x.ExecutionId } - return false + return 0 } -// A pair of an artifact and an event used or generated by an execution, e.g., -// during the execution run, it uses none or many artifacts as input, and -// generate none or many artifacts as output. -type PutExecutionRequest_ArtifactAndEvent struct { +func (x *GetContextsByExecutionRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +type GetContextsByExecutionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The pair may have an artifact. If present and no artifact.id is given, - // then it inserts the artifact, otherwise it updates the artifact. - Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact" json:"artifact,omitempty"` - // The pair may have an event. Providing event.artifact_id or - // event.execution_id is optional. If the ids are given, it must align with - // the `artifact`.id / `execution`.id respectively. If artifact is not - // given and event.artifact_id is set, it must exist in the backend. - Event *Event `protobuf:"bytes,2,opt,name=event" json:"event,omitempty"` + Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` } -func (x *PutExecutionRequest_ArtifactAndEvent) Reset() { - *x = PutExecutionRequest_ArtifactAndEvent{} +func (x *GetContextsByExecutionResponse) Reset() { + *x = GetContextsByExecutionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[90] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PutExecutionRequest_ArtifactAndEvent) String() string { +func (x *GetContextsByExecutionResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PutExecutionRequest_ArtifactAndEvent) ProtoMessage() {} +func (*GetContextsByExecutionResponse) ProtoMessage() {} -func (x *PutExecutionRequest_ArtifactAndEvent) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[90] +func (x *GetContextsByExecutionResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[91] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5194,54 +5604,45 @@ func (x *PutExecutionRequest_ArtifactAndEvent) ProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -// Deprecated: Use PutExecutionRequest_ArtifactAndEvent.ProtoReflect.Descriptor instead. -func (*PutExecutionRequest_ArtifactAndEvent) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{14, 0} -} - -func (x *PutExecutionRequest_ArtifactAndEvent) GetArtifact() *Artifact { - if x != nil { - return x.Artifact - } - return nil +// Deprecated: Use GetContextsByExecutionResponse.ProtoReflect.Descriptor instead. +func (*GetContextsByExecutionResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{91} } -func (x *PutExecutionRequest_ArtifactAndEvent) GetEvent() *Event { +func (x *GetContextsByExecutionResponse) GetContexts() []*Context { if x != nil { - return x.Event + return x.Contexts } return nil } -type PutExecutionRequest_Options struct { +type GetParentContextsByContextRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // When there's a race to publish executions with a new context with the - // same context.name, by default there'll be one writer succeeds and - // the rest of the writers returning AlreadyExists errors. If set the field, - // the failed writer will reuse the stored context in the transaction. - ReuseContextIfAlreadyExist *bool `protobuf:"varint,1,opt,name=reuse_context_if_already_exist,json=reuseContextIfAlreadyExist" json:"reuse_context_if_already_exist,omitempty"` + ContextId *int64 `protobuf:"varint,1,opt,name=context_id,json=contextId" json:"context_id,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` } -func (x *PutExecutionRequest_Options) Reset() { - *x = PutExecutionRequest_Options{} +func (x *GetParentContextsByContextRequest) Reset() { + *x = GetParentContextsByContextRequest{} if protoimpl.UnsafeEnabled { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[91] + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PutExecutionRequest_Options) String() string { +func (x *GetParentContextsByContextRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PutExecutionRequest_Options) ProtoMessage() {} +func (*GetParentContextsByContextRequest) ProtoMessage() {} -func (x *PutExecutionRequest_Options) ProtoReflect() protoreflect.Message { - mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[91] +func (x *GetParentContextsByContextRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[92] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5252,314 +5653,1736 @@ func (x *PutExecutionRequest_Options) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PutExecutionRequest_Options.ProtoReflect.Descriptor instead. -func (*PutExecutionRequest_Options) Descriptor() ([]byte, []int) { - return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{14, 1} +// Deprecated: Use GetParentContextsByContextRequest.ProtoReflect.Descriptor instead. +func (*GetParentContextsByContextRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{92} } -func (x *PutExecutionRequest_Options) GetReuseContextIfAlreadyExist() bool { - if x != nil && x.ReuseContextIfAlreadyExist != nil { - return *x.ReuseContextIfAlreadyExist +func (x *GetParentContextsByContextRequest) GetContextId() int64 { + if x != nil && x.ContextId != nil { + return *x.ContextId } - return false + return 0 } -var File_ml_metadata_proto_metadata_store_service_proto protoreflect.FileDescriptor +func (x *GetParentContextsByContextRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} -var file_ml_metadata_proto_metadata_store_service_proto_rawDesc = []byte{ - 0x0a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x74, 0x6f, - 0x72, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x0b, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x26, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x0f, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x2d, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xbf, 0x01, 0x0a, 0x11, 0x41, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4d, 0x61, 0x70, - 0x12, 0x4e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x4d, 0x61, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, - 0x1a, 0x5a, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4d, 0x0a, 0x12, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x52, 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xc0, 0x01, 0x0a, 0x0e, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x3a, - 0x0a, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x48, 0x00, - 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x32, 0x0a, 0x03, 0x6d, 0x61, - 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x03, 0x6d, 0x61, 0x70, 0x12, 0x35, - 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, +type GetParentContextsByContextResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` +} + +func (x *GetParentContextsByContextResponse) Reset() { + *x = GetParentContextsByContextResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetParentContextsByContextResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetParentContextsByContextResponse) ProtoMessage() {} + +func (x *GetParentContextsByContextResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[93] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetParentContextsByContextResponse.ProtoReflect.Descriptor instead. +func (*GetParentContextsByContextResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{93} +} + +func (x *GetParentContextsByContextResponse) GetContexts() []*Context { + if x != nil { + return x.Contexts + } + return nil +} + +type GetChildrenContextsByContextRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ContextId *int64 `protobuf:"varint,1,opt,name=context_id,json=contextId" json:"context_id,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` +} + +func (x *GetChildrenContextsByContextRequest) Reset() { + *x = GetChildrenContextsByContextRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetChildrenContextsByContextRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetChildrenContextsByContextRequest) ProtoMessage() {} + +func (x *GetChildrenContextsByContextRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[94] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetChildrenContextsByContextRequest.ProtoReflect.Descriptor instead. +func (*GetChildrenContextsByContextRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{94} +} + +func (x *GetChildrenContextsByContextRequest) GetContextId() int64 { + if x != nil && x.ContextId != nil { + return *x.ContextId + } + return 0 +} + +func (x *GetChildrenContextsByContextRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +type GetChildrenContextsByContextResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,omitempty"` +} + +func (x *GetChildrenContextsByContextResponse) Reset() { + *x = GetChildrenContextsByContextResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetChildrenContextsByContextResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetChildrenContextsByContextResponse) ProtoMessage() {} + +func (x *GetChildrenContextsByContextResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[95] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetChildrenContextsByContextResponse.ProtoReflect.Descriptor instead. +func (*GetChildrenContextsByContextResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{95} +} + +func (x *GetChildrenContextsByContextResponse) GetContexts() []*Context { + if x != nil { + return x.Contexts + } + return nil +} + +type GetParentContextsByContextsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ContextIds []int64 `protobuf:"varint,1,rep,packed,name=context_ids,json=contextIds" json:"context_ids,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` +} + +func (x *GetParentContextsByContextsRequest) Reset() { + *x = GetParentContextsByContextsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetParentContextsByContextsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetParentContextsByContextsRequest) ProtoMessage() {} + +func (x *GetParentContextsByContextsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[96] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetParentContextsByContextsRequest.ProtoReflect.Descriptor instead. +func (*GetParentContextsByContextsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{96} +} + +func (x *GetParentContextsByContextsRequest) GetContextIds() []int64 { + if x != nil { + return x.ContextIds + } + return nil +} + +func (x *GetParentContextsByContextsRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +type GetParentContextsByContextsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Contexts map[int64]*GetParentContextsByContextsResponse_ParentContextsPerChild `protobuf:"bytes,2,rep,name=contexts" json:"contexts,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` +} + +func (x *GetParentContextsByContextsResponse) Reset() { + *x = GetParentContextsByContextsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetParentContextsByContextsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetParentContextsByContextsResponse) ProtoMessage() {} + +func (x *GetParentContextsByContextsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[97] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetParentContextsByContextsResponse.ProtoReflect.Descriptor instead. +func (*GetParentContextsByContextsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{97} +} + +func (x *GetParentContextsByContextsResponse) GetContexts() map[int64]*GetParentContextsByContextsResponse_ParentContextsPerChild { + if x != nil { + return x.Contexts + } + return nil +} + +type GetChildrenContextsByContextsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ContextIds []int64 `protobuf:"varint,1,rep,packed,name=context_ids,json=contextIds" json:"context_ids,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` +} + +func (x *GetChildrenContextsByContextsRequest) Reset() { + *x = GetChildrenContextsByContextsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetChildrenContextsByContextsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetChildrenContextsByContextsRequest) ProtoMessage() {} + +func (x *GetChildrenContextsByContextsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[98] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetChildrenContextsByContextsRequest.ProtoReflect.Descriptor instead. +func (*GetChildrenContextsByContextsRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{98} +} + +func (x *GetChildrenContextsByContextsRequest) GetContextIds() []int64 { + if x != nil { + return x.ContextIds + } + return nil +} + +func (x *GetChildrenContextsByContextsRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +type GetChildrenContextsByContextsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Contexts map[int64]*GetChildrenContextsByContextsResponse_ChildrenContextsPerParent `protobuf:"bytes,2,rep,name=contexts" json:"contexts,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` +} + +func (x *GetChildrenContextsByContextsResponse) Reset() { + *x = GetChildrenContextsByContextsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetChildrenContextsByContextsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetChildrenContextsByContextsResponse) ProtoMessage() {} + +func (x *GetChildrenContextsByContextsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[99] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetChildrenContextsByContextsResponse.ProtoReflect.Descriptor instead. +func (*GetChildrenContextsByContextsResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{99} +} + +func (x *GetChildrenContextsByContextsResponse) GetContexts() map[int64]*GetChildrenContextsByContextsResponse_ChildrenContextsPerParent { + if x != nil { + return x.Contexts + } + return nil +} + +type GetArtifactsByContextRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ContextId *int64 `protobuf:"varint,1,opt,name=context_id,json=contextId" json:"context_id,omitempty"` + // Specify List options. + // Currently supports: + // 1. Field to order the results. + // 2. Page size. + Options *ListOperationOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` +} + +func (x *GetArtifactsByContextRequest) Reset() { + *x = GetArtifactsByContextRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetArtifactsByContextRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetArtifactsByContextRequest) ProtoMessage() {} + +func (x *GetArtifactsByContextRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[100] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetArtifactsByContextRequest.ProtoReflect.Descriptor instead. +func (*GetArtifactsByContextRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{100} +} + +func (x *GetArtifactsByContextRequest) GetContextId() int64 { + if x != nil && x.ContextId != nil { + return *x.ContextId + } + return 0 +} + +func (x *GetArtifactsByContextRequest) GetOptions() *ListOperationOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *GetArtifactsByContextRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +type GetArtifactsByContextResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts" json:"artifacts,omitempty"` + // Token to use to retrieve next page of results if list options are used in + // the request. + NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` +} + +func (x *GetArtifactsByContextResponse) Reset() { + *x = GetArtifactsByContextResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetArtifactsByContextResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetArtifactsByContextResponse) ProtoMessage() {} + +func (x *GetArtifactsByContextResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[101] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetArtifactsByContextResponse.ProtoReflect.Descriptor instead. +func (*GetArtifactsByContextResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{101} +} + +func (x *GetArtifactsByContextResponse) GetArtifacts() []*Artifact { + if x != nil { + return x.Artifacts + } + return nil +} + +func (x *GetArtifactsByContextResponse) GetNextPageToken() string { + if x != nil && x.NextPageToken != nil { + return *x.NextPageToken + } + return "" +} + +type GetExecutionsByContextRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ContextId *int64 `protobuf:"varint,1,opt,name=context_id,json=contextId" json:"context_id,omitempty"` + // Specify List options. + // Currently supports: + // 1. Field to order the results. + // 2. Page size. + Options *ListOperationOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` +} + +func (x *GetExecutionsByContextRequest) Reset() { + *x = GetExecutionsByContextRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetExecutionsByContextRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetExecutionsByContextRequest) ProtoMessage() {} + +func (x *GetExecutionsByContextRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[102] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetExecutionsByContextRequest.ProtoReflect.Descriptor instead. +func (*GetExecutionsByContextRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{102} +} + +func (x *GetExecutionsByContextRequest) GetContextId() int64 { + if x != nil && x.ContextId != nil { + return *x.ContextId + } + return 0 +} + +func (x *GetExecutionsByContextRequest) GetOptions() *ListOperationOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *GetExecutionsByContextRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +type GetExecutionsByContextResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Executions []*Execution `protobuf:"bytes,1,rep,name=executions" json:"executions,omitempty"` + // Token to use to retrieve next page of results if list options are used in + // the request. + NextPageToken *string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,3,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` +} + +func (x *GetExecutionsByContextResponse) Reset() { + *x = GetExecutionsByContextResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetExecutionsByContextResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetExecutionsByContextResponse) ProtoMessage() {} + +func (x *GetExecutionsByContextResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[103] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetExecutionsByContextResponse.ProtoReflect.Descriptor instead. +func (*GetExecutionsByContextResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{103} +} + +func (x *GetExecutionsByContextResponse) GetExecutions() []*Execution { + if x != nil { + return x.Executions + } + return nil +} + +func (x *GetExecutionsByContextResponse) GetNextPageToken() string { + if x != nil && x.NextPageToken != nil { + return *x.NextPageToken + } + return "" +} + +func (x *GetExecutionsByContextResponse) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +// TODO(b/283852485): Deprecate GetLineageGraph API after migration to +// GetLineageSubgraph API. +// A lineage query request to specify the query nodes of interest and the +// boundary conditions for pruning the returned graph. +type GetLineageGraphRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Options *LineageGraphQueryOptions `protobuf:"bytes,1,opt,name=options" json:"options,omitempty"` + // Options regarding transactions. + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` +} + +func (x *GetLineageGraphRequest) Reset() { + *x = GetLineageGraphRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLineageGraphRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLineageGraphRequest) ProtoMessage() {} + +func (x *GetLineageGraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[104] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLineageGraphRequest.ProtoReflect.Descriptor instead. +func (*GetLineageGraphRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{104} +} + +func (x *GetLineageGraphRequest) GetOptions() *LineageGraphQueryOptions { + if x != nil { + return x.Options + } + return nil +} + +func (x *GetLineageGraphRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +// A connected lineage `subgraph` about the MLMD nodes derived from +// LineageGraphRequest.query_conditions. +type GetLineageGraphResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Subgraph *LineageGraph `protobuf:"bytes,1,opt,name=subgraph" json:"subgraph,omitempty"` +} + +func (x *GetLineageGraphResponse) Reset() { + *x = GetLineageGraphResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLineageGraphResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLineageGraphResponse) ProtoMessage() {} + +func (x *GetLineageGraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[105] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLineageGraphResponse.ProtoReflect.Descriptor instead. +func (*GetLineageGraphResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{105} +} + +func (x *GetLineageGraphResponse) GetSubgraph() *LineageGraph { + if x != nil { + return x.Subgraph + } + return nil +} + +type GetLineageSubgraphRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Query options for lineage graph tracing from a list of interested + // nodes. + // A lineage subgraph without node details (e.g., external_id, properties) + // will be returned. Please refer to `LineageSubgraphQueryOptions` for more + // details. + LineageSubgraphQueryOptions *LineageSubgraphQueryOptions `protobuf:"bytes,1,opt,name=lineage_subgraph_query_options,json=lineageSubgraphQueryOptions" json:"lineage_subgraph_query_options,omitempty"` + // `read_mask` contains user specified paths of fields that should be included + // in the returned lineage subgraph. + // Supported field paths are: 'artifacts', 'executions', 'contexts', + // 'artifact_types', 'execution_types', 'context_types', and 'events'. + // TODO(b/283852485): Include 'associations' or 'attributions' in the + // returned graph. + // If 'artifacts', 'executions', or 'contexts' is specified in `read_mask`, + // the dehydrated nodes will be included. + // Note: A dehydrated node means a node containing only its id and no + // other information. User should call GetNodesByID or other APIs to get + // node details later on. + // If 'artifact_types', 'execution_types', or 'context_types' is specified + // in `read_mask`, all the node types will be included. + // If 'events' is specified in `read_mask`, the events will be included. + // If `read_mask` is not set, the API will return all the fields in + // the returned graph. + // Note: Only paths of fields in LineageGraph message are supported. Paths + // of fields in the submessage, such as "artifacts.id", "contexts.name" are + // not acknowledged. + ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=read_mask,json=readMask" json:"read_mask,omitempty"` + TransactionOptions *TransactionOptions `protobuf:"bytes,2,opt,name=transaction_options,json=transactionOptions" json:"transaction_options,omitempty"` +} + +func (x *GetLineageSubgraphRequest) Reset() { + *x = GetLineageSubgraphRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLineageSubgraphRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLineageSubgraphRequest) ProtoMessage() {} + +func (x *GetLineageSubgraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[106] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLineageSubgraphRequest.ProtoReflect.Descriptor instead. +func (*GetLineageSubgraphRequest) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{106} +} + +func (x *GetLineageSubgraphRequest) GetLineageSubgraphQueryOptions() *LineageSubgraphQueryOptions { + if x != nil { + return x.LineageSubgraphQueryOptions + } + return nil +} + +func (x *GetLineageSubgraphRequest) GetReadMask() *fieldmaskpb.FieldMask { + if x != nil { + return x.ReadMask + } + return nil +} + +func (x *GetLineageSubgraphRequest) GetTransactionOptions() *TransactionOptions { + if x != nil { + return x.TransactionOptions + } + return nil +} + +type GetLineageSubgraphResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A lineage subgraph of MLMD nodes and relations retrieved from lineage + // graph tracing. + LineageSubgraph *LineageGraph `protobuf:"bytes,1,opt,name=lineage_subgraph,json=lineageSubgraph" json:"lineage_subgraph,omitempty"` +} + +func (x *GetLineageSubgraphResponse) Reset() { + *x = GetLineageSubgraphResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLineageSubgraphResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLineageSubgraphResponse) ProtoMessage() {} + +func (x *GetLineageSubgraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[107] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLineageSubgraphResponse.ProtoReflect.Descriptor instead. +func (*GetLineageSubgraphResponse) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{107} +} + +func (x *GetLineageSubgraphResponse) GetLineageSubgraph() *LineageGraph { + if x != nil { + return x.LineageSubgraph + } + return nil +} + +type PutArtifactsRequest_Options struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // When there are multiple writers to update an existing node to + // different states, there may be a race and the end result of the + // concurrent update is nondeterministic. If the field is set, then an + // optimistic concurrency control (OCC) scheme is used during update: + // it compares the `artifact`.`last_update_time_since_epoch` in the request + // with the stored `last_update_time_since_epoch` having the same + // `artifact`.`id`. If they are different, the request fails, and the user + // can read the stored node and retry node update. + // When the option is set, the timestamp after update is guaranteed to be + // increased and different from the input artifact. + // When set the option, the caller should set it for all concurrent writers. + AbortIfLatestUpdatedTimeChanged *bool `protobuf:"varint,1,opt,name=abort_if_latest_updated_time_changed,json=abortIfLatestUpdatedTimeChanged" json:"abort_if_latest_updated_time_changed,omitempty"` +} + +func (x *PutArtifactsRequest_Options) Reset() { + *x = PutArtifactsRequest_Options{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PutArtifactsRequest_Options) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PutArtifactsRequest_Options) ProtoMessage() {} + +func (x *PutArtifactsRequest_Options) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[109] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PutArtifactsRequest_Options.ProtoReflect.Descriptor instead. +func (*PutArtifactsRequest_Options) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{4, 0} +} + +func (x *PutArtifactsRequest_Options) GetAbortIfLatestUpdatedTimeChanged() bool { + if x != nil && x.AbortIfLatestUpdatedTimeChanged != nil { + return *x.AbortIfLatestUpdatedTimeChanged + } + return false +} + +// A pair of an artifact and an event used or generated by an execution, e.g., +// during the execution run, it uses none or many artifacts as input, and +// generate none or many artifacts as output. +type PutExecutionRequest_ArtifactAndEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The pair may have an artifact. If present and no artifact.id is given, + // then it inserts the artifact, otherwise it updates the artifact. + Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact" json:"artifact,omitempty"` + // The pair may have an event. Providing event.artifact_id or + // event.execution_id is optional. If the ids are given, it must align with + // the `artifact`.id / `execution`.id respectively. If artifact is not + // given and event.artifact_id is set, it must exist in the backend. + Event *Event `protobuf:"bytes,2,opt,name=event" json:"event,omitempty"` +} + +func (x *PutExecutionRequest_ArtifactAndEvent) Reset() { + *x = PutExecutionRequest_ArtifactAndEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PutExecutionRequest_ArtifactAndEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PutExecutionRequest_ArtifactAndEvent) ProtoMessage() {} + +func (x *PutExecutionRequest_ArtifactAndEvent) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[110] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PutExecutionRequest_ArtifactAndEvent.ProtoReflect.Descriptor instead. +func (*PutExecutionRequest_ArtifactAndEvent) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{14, 0} +} + +func (x *PutExecutionRequest_ArtifactAndEvent) GetArtifact() *Artifact { + if x != nil { + return x.Artifact + } + return nil +} + +func (x *PutExecutionRequest_ArtifactAndEvent) GetEvent() *Event { + if x != nil { + return x.Event + } + return nil +} + +type PutExecutionRequest_Options struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // When there's a race to publish executions with a new context with the + // same context.name, by default there'll be one writer succeeds and + // the rest of the writers returning AlreadyExists errors. If set to true, + // the API will reuse the stored context in the transaction and perform + // an update. + ReuseContextIfAlreadyExist *bool `protobuf:"varint,1,opt,name=reuse_context_if_already_exist,json=reuseContextIfAlreadyExist" json:"reuse_context_if_already_exist,omitempty"` + // When there's a race to publish executions with a new artifact with the + // same artifact.external_id, by default there'll be one writer succeeds and + // the rest of the writers returning AlreadyExists errors. + // If set to true and an Artifact has non-empty external_id, + // the API will reuse the stored artifact in the transaction and + // perform an update. Otherwise, it will fall back to relying on `id` field + // to decide if it's update (if `id` exists) or insert (if `id` is empty). + ReuseArtifactIfAlreadyExistByExternalId *bool `protobuf:"varint,2,opt,name=reuse_artifact_if_already_exist_by_external_id,json=reuseArtifactIfAlreadyExistByExternalId" json:"reuse_artifact_if_already_exist_by_external_id,omitempty"` +} + +func (x *PutExecutionRequest_Options) Reset() { + *x = PutExecutionRequest_Options{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PutExecutionRequest_Options) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PutExecutionRequest_Options) ProtoMessage() {} + +func (x *PutExecutionRequest_Options) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[111] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PutExecutionRequest_Options.ProtoReflect.Descriptor instead. +func (*PutExecutionRequest_Options) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{14, 1} +} + +func (x *PutExecutionRequest_Options) GetReuseContextIfAlreadyExist() bool { + if x != nil && x.ReuseContextIfAlreadyExist != nil { + return *x.ReuseContextIfAlreadyExist + } + return false +} + +func (x *PutExecutionRequest_Options) GetReuseArtifactIfAlreadyExistByExternalId() bool { + if x != nil && x.ReuseArtifactIfAlreadyExistByExternalId != nil { + return *x.ReuseArtifactIfAlreadyExistByExternalId + } + return false +} + +type PutLineageSubgraphRequest_EventEdge struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Index in the array of executions. + ExecutionIndex *int32 `protobuf:"varint,1,opt,name=execution_index,json=executionIndex" json:"execution_index,omitempty"` + // Index in the array of artifacts. + ArtifactIndex *int32 `protobuf:"varint,2,opt,name=artifact_index,json=artifactIndex" json:"artifact_index,omitempty"` + Event *Event `protobuf:"bytes,3,opt,name=event" json:"event,omitempty"` +} + +func (x *PutLineageSubgraphRequest_EventEdge) Reset() { + *x = PutLineageSubgraphRequest_EventEdge{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PutLineageSubgraphRequest_EventEdge) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PutLineageSubgraphRequest_EventEdge) ProtoMessage() {} + +func (x *PutLineageSubgraphRequest_EventEdge) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[112] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PutLineageSubgraphRequest_EventEdge.ProtoReflect.Descriptor instead. +func (*PutLineageSubgraphRequest_EventEdge) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{16, 0} +} + +func (x *PutLineageSubgraphRequest_EventEdge) GetExecutionIndex() int32 { + if x != nil && x.ExecutionIndex != nil { + return *x.ExecutionIndex + } + return 0 +} + +func (x *PutLineageSubgraphRequest_EventEdge) GetArtifactIndex() int32 { + if x != nil && x.ArtifactIndex != nil { + return *x.ArtifactIndex + } + return 0 +} + +func (x *PutLineageSubgraphRequest_EventEdge) GetEvent() *Event { + if x != nil { + return x.Event + } + return nil +} + +type PutLineageSubgraphRequest_Options struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // When there's a race to publish executions with a new context with the + // same context.name, by default there'll be one writer succeeds and + // the rest of the writers returning AlreadyExists errors. If set to true, + // the API will reuse the stored context in the transaction and perform + // an update. + ReuseContextIfAlreadyExist *bool `protobuf:"varint,1,opt,name=reuse_context_if_already_exist,json=reuseContextIfAlreadyExist" json:"reuse_context_if_already_exist,omitempty"` + // When there's a race to publish executions with a new artifact with the + // same artifact.external_id, by default there'll be one writer succeeds and + // the rest of the writers returning AlreadyExists errors. + // If set to true and an Artifact has non-empty external_id, + // the API will reuse the stored artifact in the transaction and + // perform an update. Otherwise, it will fall back to relying on `id` field + // to decide if it's update (if `id` exists) or insert (if `id` is empty). + ReuseArtifactIfAlreadyExistByExternalId *bool `protobuf:"varint,2,opt,name=reuse_artifact_if_already_exist_by_external_id,json=reuseArtifactIfAlreadyExistByExternalId" json:"reuse_artifact_if_already_exist_by_external_id,omitempty"` +} + +func (x *PutLineageSubgraphRequest_Options) Reset() { + *x = PutLineageSubgraphRequest_Options{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PutLineageSubgraphRequest_Options) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PutLineageSubgraphRequest_Options) ProtoMessage() {} + +func (x *PutLineageSubgraphRequest_Options) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[113] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PutLineageSubgraphRequest_Options.ProtoReflect.Descriptor instead. +func (*PutLineageSubgraphRequest_Options) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{16, 1} +} + +func (x *PutLineageSubgraphRequest_Options) GetReuseContextIfAlreadyExist() bool { + if x != nil && x.ReuseContextIfAlreadyExist != nil { + return *x.ReuseContextIfAlreadyExist + } + return false +} + +func (x *PutLineageSubgraphRequest_Options) GetReuseArtifactIfAlreadyExistByExternalId() bool { + if x != nil && x.ReuseArtifactIfAlreadyExistByExternalId != nil { + return *x.ReuseArtifactIfAlreadyExistByExternalId + } + return false +} + +type GetParentContextsByContextsResponse_ParentContextsPerChild struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ParentContexts []*Context `protobuf:"bytes,1,rep,name=parent_contexts,json=parentContexts" json:"parent_contexts,omitempty"` +} + +func (x *GetParentContextsByContextsResponse_ParentContextsPerChild) Reset() { + *x = GetParentContextsByContextsResponse_ParentContextsPerChild{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetParentContextsByContextsResponse_ParentContextsPerChild) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetParentContextsByContextsResponse_ParentContextsPerChild) ProtoMessage() {} + +func (x *GetParentContextsByContextsResponse_ParentContextsPerChild) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[114] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetParentContextsByContextsResponse_ParentContextsPerChild.ProtoReflect.Descriptor instead. +func (*GetParentContextsByContextsResponse_ParentContextsPerChild) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{97, 0} +} + +func (x *GetParentContextsByContextsResponse_ParentContextsPerChild) GetParentContexts() []*Context { + if x != nil { + return x.ParentContexts + } + return nil +} + +type GetChildrenContextsByContextsResponse_ChildrenContextsPerParent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChildrenContexts []*Context `protobuf:"bytes,1,rep,name=children_contexts,json=childrenContexts" json:"children_contexts,omitempty"` +} + +func (x *GetChildrenContextsByContextsResponse_ChildrenContextsPerParent) Reset() { + *x = GetChildrenContextsByContextsResponse_ChildrenContextsPerParent{} + if protoimpl.UnsafeEnabled { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetChildrenContextsByContextsResponse_ChildrenContextsPerParent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetChildrenContextsByContextsResponse_ChildrenContextsPerParent) ProtoMessage() {} + +func (x *GetChildrenContextsByContextsResponse_ChildrenContextsPerParent) ProtoReflect() protoreflect.Message { + mi := &file_ml_metadata_proto_metadata_store_service_proto_msgTypes[116] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetChildrenContextsByContextsResponse_ChildrenContextsPerParent.ProtoReflect.Descriptor instead. +func (*GetChildrenContextsByContextsResponse_ChildrenContextsPerParent) Descriptor() ([]byte, []int) { + return file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP(), []int{99, 0} +} + +func (x *GetChildrenContextsByContextsResponse_ChildrenContextsPerParent) GetChildrenContexts() []*Context { + if x != nil { + return x.ChildrenContexts + } + return nil +} + +var File_ml_metadata_proto_metadata_store_service_proto protoreflect.FileDescriptor + +var file_ml_metadata_proto_metadata_store_service_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x74, 0x6f, + 0x72, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x0b, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x20, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x26, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x74, 0x6f, 0x72, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x0f, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, - 0x04, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe8, - 0x01, 0x0a, 0x13, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, - 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x61, 0x63, 0x74, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x2d, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xbf, 0x01, 0x0a, + 0x11, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4d, + 0x61, 0x70, 0x12, 0x4e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x1a, 0x5a, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4d, + 0x0a, 0x12, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x52, 0x08, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xc0, 0x01, + 0x0a, 0x0e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x12, 0x3a, 0x0a, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x41, 0x6e, 0x64, 0x54, 0x79, 0x70, 0x65, + 0x48, 0x00, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x32, 0x0a, 0x03, + 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x07, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, - 0x58, 0x0a, 0x07, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4d, 0x0a, 0x24, 0x61, 0x62, - 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x66, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x61, 0x62, 0x6f, 0x72, 0x74, 0x49, - 0x66, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, - 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0x39, 0x0a, 0x14, 0x50, 0x75, 0x74, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x49, 0x64, 0x73, 0x22, 0x8a, 0x02, 0x0a, 0x16, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x3e, 0x0a, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x24, 0x0a, 0x0e, 0x63, 0x61, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x61, 0x6e, 0x41, 0x64, 0x64, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x61, 0x6e, 0x5f, 0x6f, 0x6d, 0x69, - 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, - 0x63, 0x61, 0x6e, 0x4f, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x2e, 0x0a, - 0x11, 0x63, 0x61, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x63, 0x61, - 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x32, 0x0a, - 0x10, 0x61, 0x6c, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, - 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x42, 0x02, 0x18, - 0x01, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x22, 0x32, 0x0a, 0x17, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, - 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, - 0x79, 0x70, 0x65, 0x49, 0x64, 0x22, 0x4e, 0x0a, 0x14, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, - 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3c, 0x0a, 0x15, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, - 0x0a, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x73, 0x22, 0x8e, 0x02, 0x0a, 0x17, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x41, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x61, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x61, 0x6e, 0x41, - 0x64, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x61, 0x6e, 0x5f, - 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0d, 0x63, 0x61, 0x6e, 0x4f, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x12, 0x2e, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, - 0x0f, 0x63, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x12, 0x32, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x6d, - 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, - 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x4d, - 0x61, 0x74, 0x63, 0x68, 0x22, 0x33, 0x0a, 0x18, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x17, 0x0a, 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x06, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x10, 0x50, 0x75, 0x74, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, - 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x50, 0x75, 0x74, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe6, - 0x03, 0x0a, 0x13, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x63, 0x0a, 0x14, - 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, - 0x61, 0x69, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x41, 0x6e, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x12, 0x61, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x69, 0x72, - 0x73, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x6f, 0x0a, 0x10, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x41, 0x6e, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x08, 0x61, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x28, - 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0x4d, 0x0a, 0x07, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x1e, 0x72, 0x65, 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x66, 0x5f, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, - 0x65, 0x78, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x75, - 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x66, 0x41, 0x6c, 0x72, 0x65, 0x61, - 0x64, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x22, 0x7d, 0x0a, 0x14, 0x50, 0x75, 0x74, 0x45, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, - 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, - 0x63, 0x74, 0x49, 0x64, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x49, 0x64, 0x73, 0x22, 0x89, 0x03, 0x0a, 0x0f, 0x50, 0x75, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0e, 0x61, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x61, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x0f, - 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x48, 0x00, 0x52, 0x03, 0x6d, 0x61, 0x70, + 0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x48, + 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x22, 0xf7, 0x02, 0x0a, 0x13, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x42, 0x0a, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, + 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, + 0x1a, 0x58, 0x0a, 0x07, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4d, 0x0a, 0x24, 0x61, + 0x62, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x66, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x61, 0x62, 0x6f, 0x72, 0x74, + 0x49, 0x66, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0x39, 0x0a, 0x14, 0x50, 0x75, + 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x49, 0x64, 0x73, 0x22, 0xdc, 0x02, 0x0a, 0x16, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x3e, 0x0a, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x61, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x61, 0x6e, 0x41, 0x64, 0x64, + 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x61, 0x6e, 0x41, 0x64, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x61, 0x6e, 0x5f, 0x6f, 0x6d, - 0x69, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x69, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x6e, 0x4f, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x65, - 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x63, + 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x63, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x6d, 0x61, 0x74, - 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x42, 0x02, + 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x4d, 0x61, 0x74, - 0x63, 0x68, 0x22, 0x96, 0x01, 0x0a, 0x10, 0x50, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x03, 0x52, 0x0f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x49, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, - 0x10, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, - 0x73, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0e, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x73, 0x22, 0x86, 0x02, 0x0a, 0x15, - 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, + 0x63, 0x68, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x32, 0x0a, 0x17, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x17, 0x0a, 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x22, 0xdd, 0x01, 0x0a, 0x14, 0x50, 0x75, 0x74, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x3c, 0x0a, 0x15, 0x50, 0x75, 0x74, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0xe0, 0x02, 0x0a, 0x17, 0x50, 0x75, 0x74, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x61, 0x6e, 0x5f, 0x61, 0x64, 0x64, + 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, + 0x61, 0x6e, 0x41, 0x64, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x63, + 0x61, 0x6e, 0x5f, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x6e, 0x4f, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, + 0x18, 0x01, 0x52, 0x0f, 0x63, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, + 0x72, 0x75, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x33, 0x0a, 0x18, 0x50, 0x75, 0x74, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x22, 0x90, + 0x01, 0x0a, 0x10, 0x50, 0x75, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, + 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x13, 0x0a, 0x11, 0x50, 0x75, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9a, 0x05, 0x0a, 0x13, 0x50, 0x75, 0x74, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, + 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x63, 0x0a, 0x14, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x41, 0x6e, 0x64, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x12, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x69, 0x72, 0x73, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x61, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x66, 0x69, - 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x61, 0x6e, 0x41, - 0x64, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x63, 0x61, 0x6e, 0x5f, - 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0d, 0x63, 0x61, 0x6e, 0x4f, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x12, 0x2e, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x66, - 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, - 0x0f, 0x63, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, - 0x12, 0x32, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x6d, - 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, - 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x4d, - 0x61, 0x74, 0x63, 0x68, 0x22, 0x31, 0x0a, 0x16, 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, - 0x0a, 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x22, 0x46, 0x0a, 0x12, 0x50, 0x75, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, - 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x1a, 0x6f, 0x0a, 0x10, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x41, 0x6e, 0x64, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x08, + 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x28, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x1a, 0xae, 0x01, 0x0a, 0x07, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x42, + 0x0a, 0x1e, 0x72, 0x65, 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, + 0x69, 0x66, 0x5f, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x49, 0x66, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x45, 0x78, 0x69, + 0x73, 0x74, 0x12, 0x5f, 0x0a, 0x2e, 0x72, 0x65, 0x75, 0x73, 0x65, 0x5f, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x66, 0x5f, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, + 0x65, 0x78, 0x69, 0x73, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x27, 0x72, 0x65, 0x75, 0x73, + 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x66, 0x41, 0x6c, 0x72, 0x65, 0x61, + 0x64, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x14, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, + 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, + 0x64, 0x73, 0x22, 0xe2, 0x05, 0x0a, 0x19, 0x50, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, + 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x30, 0x0a, + 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, - 0x36, 0x0a, 0x13, 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x25, 0x50, 0x75, 0x74, 0x41, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, + 0x51, 0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, + 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x45, 0x64, 0x67, 0x65, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x45, 0x64, 0x67, + 0x65, 0x73, 0x12, 0x48, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x50, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, + 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x85, + 0x01, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x45, 0x64, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x61, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x28, 0x0a, 0x05, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, + 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0xae, 0x01, 0x0a, 0x07, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x1e, 0x72, 0x65, 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x5f, 0x69, 0x66, 0x5f, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x75, 0x73, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x66, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, + 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x12, 0x5f, 0x0a, 0x2e, 0x72, 0x65, 0x75, 0x73, 0x65, 0x5f, + 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x66, 0x5f, 0x61, 0x6c, 0x72, 0x65, + 0x61, 0x64, 0x79, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x65, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x27, + 0x72, 0x65, 0x75, 0x73, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x66, 0x41, + 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x42, 0x79, 0x45, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x22, 0x91, 0x01, 0x0a, 0x1a, 0x50, 0x75, 0x74, 0x4c, + 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x42, 0x02, 0x10, + 0x01, 0x52, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, + 0x25, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x03, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x49, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x42, 0x02, 0x10, 0x01, 0x52, + 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x73, 0x22, 0xdb, 0x03, 0x0a, 0x0f, + 0x50, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x40, 0x0a, 0x0e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x61, 0x6e, 0x5f, 0x61, 0x64, 0x64, + 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, + 0x61, 0x6e, 0x41, 0x64, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x63, + 0x61, 0x6e, 0x5f, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x6e, 0x4f, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, + 0x18, 0x01, 0x52, 0x0f, 0x63, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x65, + 0x6c, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, + 0x72, 0x75, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x10, 0x50, 0x75, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, + 0x0a, 0x11, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, + 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0f, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x10, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x03, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x49, + 0x64, 0x73, 0x22, 0xd8, 0x02, 0x0a, 0x15, 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0c, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x61, 0x6e, + 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x63, 0x61, 0x6e, 0x41, 0x64, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, + 0x26, 0x0a, 0x0f, 0x63, 0x61, 0x6e, 0x5f, 0x6f, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x6e, 0x4f, 0x6d, 0x69, + 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x11, 0x63, 0x61, 0x6e, 0x5f, 0x64, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x63, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x32, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x5f, 0x66, + 0x69, 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0e, 0x61, 0x6c, 0x6c, + 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x50, 0x0a, 0x13, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x31, 0x0a, + 0x16, 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x79, 0x70, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, + 0x22, 0xd5, 0x01, 0x0a, 0x12, 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, + 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x36, 0x0a, 0x13, 0x50, 0x75, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x73, + 0x22, 0xf5, 0x01, 0x0a, 0x25, 0x50, 0x75, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x6e, 0x64, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0c, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x6f, + 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x73, 0x73, + 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x28, 0x0a, 0x26, 0x50, 0x75, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x6e, 0x64, 0x41, 0x73, - 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x3c, 0x0a, 0x0c, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x3c, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0c, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x28, 0x0a, - 0x26, 0x50, 0x75, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x41, 0x6e, 0x64, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5f, 0x0a, 0x18, 0x50, 0x75, 0x74, 0x50, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x50, 0x75, 0x74, 0x50, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x79, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x33, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd8, 0x01, - 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x79, 0x54, - 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0xb1, 0x01, 0x0a, 0x18, 0x50, 0x75, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x43, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x1b, 0x0a, 0x19, 0x50, 0x75, 0x74, 0x50, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, - 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, - 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x55, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x41, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, - 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, - 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x22, - 0x8e, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, - 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x03, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x73, 0x12, 0x50, + 0x6e, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x4f, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, - 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, - 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x22, 0x79, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, + 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, + 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, + 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd8, 0x01, 0x0a, 0x1f, + 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, + 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x23, 0x0a, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x55, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, + 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x22, 0xcd, 0x01, + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, + 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, + 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x73, 0x12, 0x3d, 0x0a, 0x17, + 0x70, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, + 0x61, 0x6c, 0x73, 0x65, 0x52, 0x15, 0x70, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x91, 0x01, + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, + 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x61, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, + 0x40, 0x0a, 0x0e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, @@ -5664,638 +7487,903 @@ var file_ml_metadata_proto_metadata_store_service_proto_rawDesc = []byte{ 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x73, 0x22, 0xeb, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, - 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, - 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x7d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, - 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, - 0xdb, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x59, 0x0a, - 0x21, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x54, - 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x34, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x65, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x91, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, + 0x65, 0x73, 0x22, 0x97, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x53, 0x0a, 0x19, - 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x49, - 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0xab, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, - 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x79, - 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, - 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0x5d, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x65, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x97, - 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x58, 0x0a, 0x21, + 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x33, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x22, 0x98, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, + 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x5c, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0x96, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, + 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, + 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x4d, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, - 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x94, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, - 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, - 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x4c, - 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x8a, 0x01, 0x0a, - 0x1b, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, - 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, - 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x60, 0x0a, 0x1c, 0x47, 0x65, 0x74, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, - 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x61, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x61, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x1c, - 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, - 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, - 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x64, 0x0a, 0x1d, 0x47, 0x65, 0x74, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, - 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, - 0xa9, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, - 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, - 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, - 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x55, 0x0a, 0x16, 0x47, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x03, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5c, - 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, - 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0xa3, 0x01, 0x0a, - 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x54, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, 0x9b, + 0x01, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x69, 0x0a, 0x25, + 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, + 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x6d, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x9a, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, + 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x6f, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, - 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x22, 0xe9, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, - 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x79, - 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, - 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0x75, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x26, + 0x6e, 0x73, 0x22, 0x65, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, + 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0xeb, 0x01, 0x0a, 0x1a, 0x47, 0x65, + 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, 0x70, + 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, - 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd5, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, - 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, - 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, - 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x13, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x51, - 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x79, 0x54, 0x79, - 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x03, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xdb, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, + 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, + 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, + 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x59, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x09, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x91, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0x53, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5d, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, + 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0x4b, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, - 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, 0x91, 0x01, 0x0a, - 0x1c, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, - 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x50, + 0x4d, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x94, + 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x4c, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x73, 0x12, 0x50, + 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x22, 0x60, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x40, 0x0a, 0x0e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0d, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x51, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, - 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x73, 0x22, 0x94, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x52, 0x0a, 0x1e, 0x47, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, 0x94, - 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x22, 0x64, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x6c, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0xa9, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x55, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0c, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x1a, 0x47, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, + 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, + 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, + 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x56, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, 0x96, 0x01, - 0x0a, 0x23, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5c, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x6f, 0x0a, 0x13, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, + 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xe9, 0x01, 0x0a, 0x18, 0x47, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x75, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd5, 0x01, + 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x79, 0x54, 0x79, + 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x51, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, + 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x8b, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x58, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, - 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, - 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, - 0x22, 0xcc, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, - 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x4b, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x73, 0x22, 0x91, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x51, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, 0x94, 0x01, 0x0a, 0x1d, 0x47, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x52, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, + 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, 0x94, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x56, 0x0a, 0x22, + 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, + 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x13, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x58, 0x0a, + 0x24, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x08, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x50, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, + 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x03, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xe1, 0x02, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, + 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, + 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, + 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x1a, 0x57, 0x0a, 0x16, 0x50, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x50, 0x65, 0x72, 0x43, 0x68, + 0x69, 0x6c, 0x64, 0x12, 0x3d, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x73, 0x1a, 0x84, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x5d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x50, 0x65, 0x72, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9d, 0x01, 0x0a, 0x24, 0x47, 0x65, + 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x42, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xf1, 0x02, 0x0a, 0x25, 0x47, 0x65, + 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x73, 0x1a, 0x5e, 0x0a, 0x19, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x50, 0x65, 0x72, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x41, + 0x0a, 0x11, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, + 0x10, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x73, 0x1a, 0x89, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x62, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, + 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x50, 0x65, 0x72, 0x50, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcc, 0x01, + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, + 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x3b, 0x0a, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7c, 0x0a, 0x1d, + 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, + 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, + 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xcd, 0x01, 0x0a, 0x1d, 0x47, + 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x1e, 0x47, + 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, + 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, + 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0x7c, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, - 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x33, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, - 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xcd, 0x01, - 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x3b, - 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0xab, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, + 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, + 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd2, 0x01, - 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x36, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, - 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, - 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, - 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, - 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x6e, - 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, - 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x50, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, - 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x73, - 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x6e, 0x65, - 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x08, 0x73, 0x75, 0x62, 0x67, 0x72, 0x61, - 0x70, 0x68, 0x32, 0x99, 0x22, 0x0a, 0x14, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x53, - 0x74, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x0f, 0x50, - 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x10, 0x50, - 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, - 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, - 0x0a, 0x0e, 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x22, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, - 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x08, 0x50, - 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0c, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, - 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, - 0x0d, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x22, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x09, 0x50, 0x75, 0x74, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0c, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0b, - 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x8b, 0x01, 0x0a, 0x1e, 0x50, 0x75, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x6e, 0x64, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x41, 0x6e, 0x64, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x6e, 0x64, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, - 0x0a, 0x11, 0x50, 0x75, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x50, 0x75, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x50, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x50, 0x0a, + 0x17, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x67, + 0x72, 0x61, 0x70, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x6c, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, + 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x08, 0x73, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x22, + 0x95, 0x02, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, + 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x6d, 0x0a, + 0x1e, 0x6c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, + 0x68, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, + 0x61, 0x70, 0x68, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x1b, 0x6c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x09, + 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x72, 0x65, 0x61, + 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x50, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x62, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, + 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x10, 0x6c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, + 0x5f, 0x73, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x4c, 0x69, + 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x0f, 0x6c, 0x69, 0x6e, 0x65, + 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x32, 0x96, 0x2c, 0x0a, 0x14, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x0f, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x28, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, - 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, - 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x15, 0x47, 0x65, 0x74, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, - 0x49, 0x44, 0x12, 0x29, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x10, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x0e, 0x50, 0x75, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x08, 0x50, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, + 0x12, 0x1c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, + 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x55, 0x0a, 0x0c, 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, + 0x20, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, + 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x50, 0x75, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0d, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6d, 0x6c, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x4c, 0x0a, 0x09, 0x50, 0x75, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, + 0x0a, 0x0c, 0x50, 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, + 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, + 0x75, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x12, 0x50, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, + 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, 0x26, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x4c, 0x69, 0x6e, + 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x50, 0x75, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, + 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, + 0x0a, 0x0b, 0x50, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x1f, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x8b, 0x01, 0x0a, 0x1e, 0x50, 0x75, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x6e, 0x64, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x41, 0x6e, 0x64, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x41, 0x6e, 0x64, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x64, 0x0a, 0x11, 0x50, 0x75, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x74, 0x50, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x28, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, + 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, - 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x11, 0x47, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x12, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, - 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x5b, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x22, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, - 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x27, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x42, 0x79, 0x49, 0x44, 0x12, 0x29, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, + 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, + 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, + 0x11, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, + 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x6a, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x27, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x28, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, + 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0f, + 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, + 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0c, + 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x49, 0x44, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, + 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x61, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, + 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, + 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0f, 0x47, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x23, 0x2e, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0c, 0x47, 0x65, - 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x58, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0b, 0x47, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x6d, 0x6c, 0x5f, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x61, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, - 0x79, 0x49, 0x44, 0x12, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, - 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x64, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x23, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, - 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, - 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x6a, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x28, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, - 0x11, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, - 0x63, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x2c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, - 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, - 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, - 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, - 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, - 0x0a, 0x19, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, - 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x2e, 0x6d, 0x6c, - 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, - 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, + 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x49, 0x44, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x17, - 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, - 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x79, 0x54, - 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x55, 0x52, 0x49, 0x12, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x55, 0x52, 0x49, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, - 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x55, 0x52, 0x49, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x17, 0x47, 0x65, - 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x12, 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x73, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, - 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x73, 0x12, 0x2a, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x12, 0x29, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6d, 0x6c, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, + 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x64, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x16, 0x47, 0x65, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, - 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x2e, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x6d, - 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x85, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x12, 0x30, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, - 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x12, 0x29, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, - 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6d, 0x6c, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x2c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2d, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, + 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x7c, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, + 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, + 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x79, 0x54, 0x79, + 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x42, 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, + 0x79, 0x54, 0x79, 0x70, 0x65, 0x41, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x55, 0x52, 0x49, 0x12, 0x25, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x16, 0x47, 0x65, 0x74, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x12, 0x2a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x55, 0x52, 0x49, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x55, + 0x52, 0x49, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x17, + 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x12, 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, + 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x73, 0x12, 0x2a, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x49, 0x44, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x19, 0x47, 0x65, 0x74, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x2d, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, + 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x79, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x49, 0x64, 0x73, 0x12, 0x2c, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, + 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x31, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8b, + 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, + 0x73, 0x12, 0x32, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, + 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, + 0x1c, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, + 0x42, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x30, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x31, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x79, 0x45, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x29, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x73, 0x42, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x2a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7f, 0x0a, 0x1a, 0x47, + 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, + 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x2e, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, + 0x1c, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x30, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, + 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2b, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, - 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, - 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, - 0x68, 0x12, 0x23, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, - 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x31, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x1d, 0x47, 0x65, + 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x12, 0x31, 0x2e, 0x6d, 0x6c, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x69, + 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x42, 0x79, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, + 0x43, 0x68, 0x69, 0x6c, 0x64, 0x72, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, + 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x29, 0x2e, + 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x12, 0x2a, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, + 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6d, + 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0f, 0x47, + 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x23, + 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, + 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, + 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x12, 0x47, + 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, + 0x68, 0x12, 0x26, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, + 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x6c, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x61, + 0x67, 0x65, 0x53, 0x75, 0x62, 0x67, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, } var ( @@ -6310,305 +8398,399 @@ func file_ml_metadata_proto_metadata_store_service_proto_rawDescGZIP() []byte { return file_ml_metadata_proto_metadata_store_service_proto_rawDescData } -var file_ml_metadata_proto_metadata_store_service_proto_msgTypes = make([]protoimpl.MessageInfo, 92) +var file_ml_metadata_proto_metadata_store_service_proto_msgTypes = make([]protoimpl.MessageInfo, 118) var file_ml_metadata_proto_metadata_store_service_proto_goTypes = []interface{}{ - (*ArtifactAndType)(nil), // 0: ml_metadata.ArtifactAndType - (*ArtifactStructMap)(nil), // 1: ml_metadata.ArtifactStructMap - (*ArtifactStructList)(nil), // 2: ml_metadata.ArtifactStructList - (*ArtifactStruct)(nil), // 3: ml_metadata.ArtifactStruct - (*PutArtifactsRequest)(nil), // 4: ml_metadata.PutArtifactsRequest - (*PutArtifactsResponse)(nil), // 5: ml_metadata.PutArtifactsResponse - (*PutArtifactTypeRequest)(nil), // 6: ml_metadata.PutArtifactTypeRequest - (*PutArtifactTypeResponse)(nil), // 7: ml_metadata.PutArtifactTypeResponse - (*PutExecutionsRequest)(nil), // 8: ml_metadata.PutExecutionsRequest - (*PutExecutionsResponse)(nil), // 9: ml_metadata.PutExecutionsResponse - (*PutExecutionTypeRequest)(nil), // 10: ml_metadata.PutExecutionTypeRequest - (*PutExecutionTypeResponse)(nil), // 11: ml_metadata.PutExecutionTypeResponse - (*PutEventsRequest)(nil), // 12: ml_metadata.PutEventsRequest - (*PutEventsResponse)(nil), // 13: ml_metadata.PutEventsResponse - (*PutExecutionRequest)(nil), // 14: ml_metadata.PutExecutionRequest - (*PutExecutionResponse)(nil), // 15: ml_metadata.PutExecutionResponse - (*PutTypesRequest)(nil), // 16: ml_metadata.PutTypesRequest - (*PutTypesResponse)(nil), // 17: ml_metadata.PutTypesResponse - (*PutContextTypeRequest)(nil), // 18: ml_metadata.PutContextTypeRequest - (*PutContextTypeResponse)(nil), // 19: ml_metadata.PutContextTypeResponse - (*PutContextsRequest)(nil), // 20: ml_metadata.PutContextsRequest - (*PutContextsResponse)(nil), // 21: ml_metadata.PutContextsResponse - (*PutAttributionsAndAssociationsRequest)(nil), // 22: ml_metadata.PutAttributionsAndAssociationsRequest - (*PutAttributionsAndAssociationsResponse)(nil), // 23: ml_metadata.PutAttributionsAndAssociationsResponse - (*PutParentContextsRequest)(nil), // 24: ml_metadata.PutParentContextsRequest - (*PutParentContextsResponse)(nil), // 25: ml_metadata.PutParentContextsResponse - (*GetArtifactsByTypeRequest)(nil), // 26: ml_metadata.GetArtifactsByTypeRequest - (*GetArtifactsByTypeResponse)(nil), // 27: ml_metadata.GetArtifactsByTypeResponse - (*GetArtifactByTypeAndNameRequest)(nil), // 28: ml_metadata.GetArtifactByTypeAndNameRequest - (*GetArtifactByTypeAndNameResponse)(nil), // 29: ml_metadata.GetArtifactByTypeAndNameResponse - (*GetArtifactsByIDRequest)(nil), // 30: ml_metadata.GetArtifactsByIDRequest - (*GetArtifactsByIDResponse)(nil), // 31: ml_metadata.GetArtifactsByIDResponse - (*GetArtifactsRequest)(nil), // 32: ml_metadata.GetArtifactsRequest - (*GetArtifactsResponse)(nil), // 33: ml_metadata.GetArtifactsResponse - (*GetArtifactsByURIRequest)(nil), // 34: ml_metadata.GetArtifactsByURIRequest - (*GetArtifactsByURIResponse)(nil), // 35: ml_metadata.GetArtifactsByURIResponse - (*GetExecutionsRequest)(nil), // 36: ml_metadata.GetExecutionsRequest - (*GetExecutionsResponse)(nil), // 37: ml_metadata.GetExecutionsResponse - (*GetArtifactTypeRequest)(nil), // 38: ml_metadata.GetArtifactTypeRequest - (*GetArtifactTypeResponse)(nil), // 39: ml_metadata.GetArtifactTypeResponse - (*GetArtifactTypesRequest)(nil), // 40: ml_metadata.GetArtifactTypesRequest - (*GetArtifactTypesResponse)(nil), // 41: ml_metadata.GetArtifactTypesResponse - (*GetExecutionTypesRequest)(nil), // 42: ml_metadata.GetExecutionTypesRequest - (*GetExecutionTypesResponse)(nil), // 43: ml_metadata.GetExecutionTypesResponse - (*GetContextTypesRequest)(nil), // 44: ml_metadata.GetContextTypesRequest - (*GetContextTypesResponse)(nil), // 45: ml_metadata.GetContextTypesResponse - (*GetExecutionsByTypeRequest)(nil), // 46: ml_metadata.GetExecutionsByTypeRequest - (*GetExecutionsByTypeResponse)(nil), // 47: ml_metadata.GetExecutionsByTypeResponse - (*GetExecutionByTypeAndNameRequest)(nil), // 48: ml_metadata.GetExecutionByTypeAndNameRequest - (*GetExecutionByTypeAndNameResponse)(nil), // 49: ml_metadata.GetExecutionByTypeAndNameResponse - (*GetExecutionsByIDRequest)(nil), // 50: ml_metadata.GetExecutionsByIDRequest - (*GetExecutionsByIDResponse)(nil), // 51: ml_metadata.GetExecutionsByIDResponse - (*GetExecutionTypeRequest)(nil), // 52: ml_metadata.GetExecutionTypeRequest - (*GetExecutionTypeResponse)(nil), // 53: ml_metadata.GetExecutionTypeResponse - (*GetEventsByExecutionIDsRequest)(nil), // 54: ml_metadata.GetEventsByExecutionIDsRequest - (*GetEventsByExecutionIDsResponse)(nil), // 55: ml_metadata.GetEventsByExecutionIDsResponse - (*GetEventsByArtifactIDsRequest)(nil), // 56: ml_metadata.GetEventsByArtifactIDsRequest - (*GetEventsByArtifactIDsResponse)(nil), // 57: ml_metadata.GetEventsByArtifactIDsResponse - (*GetArtifactTypesByIDRequest)(nil), // 58: ml_metadata.GetArtifactTypesByIDRequest - (*GetArtifactTypesByIDResponse)(nil), // 59: ml_metadata.GetArtifactTypesByIDResponse - (*GetExecutionTypesByIDRequest)(nil), // 60: ml_metadata.GetExecutionTypesByIDRequest - (*GetExecutionTypesByIDResponse)(nil), // 61: ml_metadata.GetExecutionTypesByIDResponse - (*GetContextTypeRequest)(nil), // 62: ml_metadata.GetContextTypeRequest - (*GetContextTypeResponse)(nil), // 63: ml_metadata.GetContextTypeResponse - (*GetContextTypesByIDRequest)(nil), // 64: ml_metadata.GetContextTypesByIDRequest - (*GetContextTypesByIDResponse)(nil), // 65: ml_metadata.GetContextTypesByIDResponse - (*GetContextsRequest)(nil), // 66: ml_metadata.GetContextsRequest - (*GetContextsResponse)(nil), // 67: ml_metadata.GetContextsResponse - (*GetContextsByTypeRequest)(nil), // 68: ml_metadata.GetContextsByTypeRequest - (*GetContextsByTypeResponse)(nil), // 69: ml_metadata.GetContextsByTypeResponse - (*GetContextByTypeAndNameRequest)(nil), // 70: ml_metadata.GetContextByTypeAndNameRequest - (*GetContextByTypeAndNameResponse)(nil), // 71: ml_metadata.GetContextByTypeAndNameResponse - (*GetContextsByIDRequest)(nil), // 72: ml_metadata.GetContextsByIDRequest - (*GetContextsByIDResponse)(nil), // 73: ml_metadata.GetContextsByIDResponse - (*GetContextsByArtifactRequest)(nil), // 74: ml_metadata.GetContextsByArtifactRequest - (*GetContextsByArtifactResponse)(nil), // 75: ml_metadata.GetContextsByArtifactResponse - (*GetContextsByExecutionRequest)(nil), // 76: ml_metadata.GetContextsByExecutionRequest - (*GetContextsByExecutionResponse)(nil), // 77: ml_metadata.GetContextsByExecutionResponse - (*GetParentContextsByContextRequest)(nil), // 78: ml_metadata.GetParentContextsByContextRequest - (*GetParentContextsByContextResponse)(nil), // 79: ml_metadata.GetParentContextsByContextResponse - (*GetChildrenContextsByContextRequest)(nil), // 80: ml_metadata.GetChildrenContextsByContextRequest - (*GetChildrenContextsByContextResponse)(nil), // 81: ml_metadata.GetChildrenContextsByContextResponse - (*GetArtifactsByContextRequest)(nil), // 82: ml_metadata.GetArtifactsByContextRequest - (*GetArtifactsByContextResponse)(nil), // 83: ml_metadata.GetArtifactsByContextResponse - (*GetExecutionsByContextRequest)(nil), // 84: ml_metadata.GetExecutionsByContextRequest - (*GetExecutionsByContextResponse)(nil), // 85: ml_metadata.GetExecutionsByContextResponse - (*GetLineageGraphRequest)(nil), // 86: ml_metadata.GetLineageGraphRequest - (*GetLineageGraphResponse)(nil), // 87: ml_metadata.GetLineageGraphResponse - nil, // 88: ml_metadata.ArtifactStructMap.PropertiesEntry - (*PutArtifactsRequest_Options)(nil), // 89: ml_metadata.PutArtifactsRequest.Options - (*PutExecutionRequest_ArtifactAndEvent)(nil), // 90: ml_metadata.PutExecutionRequest.ArtifactAndEvent - (*PutExecutionRequest_Options)(nil), // 91: ml_metadata.PutExecutionRequest.Options - (*Artifact)(nil), // 92: ml_metadata.Artifact - (*ArtifactType)(nil), // 93: ml_metadata.ArtifactType - (*Execution)(nil), // 94: ml_metadata.Execution - (*ExecutionType)(nil), // 95: ml_metadata.ExecutionType - (*Event)(nil), // 96: ml_metadata.Event - (*Context)(nil), // 97: ml_metadata.Context - (*ContextType)(nil), // 98: ml_metadata.ContextType - (*Attribution)(nil), // 99: ml_metadata.Attribution - (*Association)(nil), // 100: ml_metadata.Association - (*ParentContext)(nil), // 101: ml_metadata.ParentContext - (*ListOperationOptions)(nil), // 102: ml_metadata.ListOperationOptions - (*TransactionOptions)(nil), // 103: ml_metadata.TransactionOptions - (*LineageGraphQueryOptions)(nil), // 104: ml_metadata.LineageGraphQueryOptions - (*LineageGraph)(nil), // 105: ml_metadata.LineageGraph + (*ArtifactAndType)(nil), // 0: ml_metadata.ArtifactAndType + (*ArtifactStructMap)(nil), // 1: ml_metadata.ArtifactStructMap + (*ArtifactStructList)(nil), // 2: ml_metadata.ArtifactStructList + (*ArtifactStruct)(nil), // 3: ml_metadata.ArtifactStruct + (*PutArtifactsRequest)(nil), // 4: ml_metadata.PutArtifactsRequest + (*PutArtifactsResponse)(nil), // 5: ml_metadata.PutArtifactsResponse + (*PutArtifactTypeRequest)(nil), // 6: ml_metadata.PutArtifactTypeRequest + (*PutArtifactTypeResponse)(nil), // 7: ml_metadata.PutArtifactTypeResponse + (*PutExecutionsRequest)(nil), // 8: ml_metadata.PutExecutionsRequest + (*PutExecutionsResponse)(nil), // 9: ml_metadata.PutExecutionsResponse + (*PutExecutionTypeRequest)(nil), // 10: ml_metadata.PutExecutionTypeRequest + (*PutExecutionTypeResponse)(nil), // 11: ml_metadata.PutExecutionTypeResponse + (*PutEventsRequest)(nil), // 12: ml_metadata.PutEventsRequest + (*PutEventsResponse)(nil), // 13: ml_metadata.PutEventsResponse + (*PutExecutionRequest)(nil), // 14: ml_metadata.PutExecutionRequest + (*PutExecutionResponse)(nil), // 15: ml_metadata.PutExecutionResponse + (*PutLineageSubgraphRequest)(nil), // 16: ml_metadata.PutLineageSubgraphRequest + (*PutLineageSubgraphResponse)(nil), // 17: ml_metadata.PutLineageSubgraphResponse + (*PutTypesRequest)(nil), // 18: ml_metadata.PutTypesRequest + (*PutTypesResponse)(nil), // 19: ml_metadata.PutTypesResponse + (*PutContextTypeRequest)(nil), // 20: ml_metadata.PutContextTypeRequest + (*PutContextTypeResponse)(nil), // 21: ml_metadata.PutContextTypeResponse + (*PutContextsRequest)(nil), // 22: ml_metadata.PutContextsRequest + (*PutContextsResponse)(nil), // 23: ml_metadata.PutContextsResponse + (*PutAttributionsAndAssociationsRequest)(nil), // 24: ml_metadata.PutAttributionsAndAssociationsRequest + (*PutAttributionsAndAssociationsResponse)(nil), // 25: ml_metadata.PutAttributionsAndAssociationsResponse + (*PutParentContextsRequest)(nil), // 26: ml_metadata.PutParentContextsRequest + (*PutParentContextsResponse)(nil), // 27: ml_metadata.PutParentContextsResponse + (*GetArtifactsByTypeRequest)(nil), // 28: ml_metadata.GetArtifactsByTypeRequest + (*GetArtifactsByTypeResponse)(nil), // 29: ml_metadata.GetArtifactsByTypeResponse + (*GetArtifactByTypeAndNameRequest)(nil), // 30: ml_metadata.GetArtifactByTypeAndNameRequest + (*GetArtifactByTypeAndNameResponse)(nil), // 31: ml_metadata.GetArtifactByTypeAndNameResponse + (*GetArtifactsByIDRequest)(nil), // 32: ml_metadata.GetArtifactsByIDRequest + (*GetArtifactsByIDResponse)(nil), // 33: ml_metadata.GetArtifactsByIDResponse + (*GetArtifactsRequest)(nil), // 34: ml_metadata.GetArtifactsRequest + (*GetArtifactsResponse)(nil), // 35: ml_metadata.GetArtifactsResponse + (*GetArtifactsByURIRequest)(nil), // 36: ml_metadata.GetArtifactsByURIRequest + (*GetArtifactsByURIResponse)(nil), // 37: ml_metadata.GetArtifactsByURIResponse + (*GetExecutionsRequest)(nil), // 38: ml_metadata.GetExecutionsRequest + (*GetExecutionsResponse)(nil), // 39: ml_metadata.GetExecutionsResponse + (*GetArtifactTypeRequest)(nil), // 40: ml_metadata.GetArtifactTypeRequest + (*GetArtifactTypeResponse)(nil), // 41: ml_metadata.GetArtifactTypeResponse + (*GetArtifactTypesRequest)(nil), // 42: ml_metadata.GetArtifactTypesRequest + (*GetArtifactTypesResponse)(nil), // 43: ml_metadata.GetArtifactTypesResponse + (*GetExecutionTypesRequest)(nil), // 44: ml_metadata.GetExecutionTypesRequest + (*GetExecutionTypesResponse)(nil), // 45: ml_metadata.GetExecutionTypesResponse + (*GetContextTypesRequest)(nil), // 46: ml_metadata.GetContextTypesRequest + (*GetContextTypesResponse)(nil), // 47: ml_metadata.GetContextTypesResponse + (*GetArtifactsByExternalIdsRequest)(nil), // 48: ml_metadata.GetArtifactsByExternalIdsRequest + (*GetArtifactsByExternalIdsResponse)(nil), // 49: ml_metadata.GetArtifactsByExternalIdsResponse + (*GetExecutionsByExternalIdsRequest)(nil), // 50: ml_metadata.GetExecutionsByExternalIdsRequest + (*GetExecutionsByExternalIdsResponse)(nil), // 51: ml_metadata.GetExecutionsByExternalIdsResponse + (*GetContextsByExternalIdsRequest)(nil), // 52: ml_metadata.GetContextsByExternalIdsRequest + (*GetContextsByExternalIdsResponse)(nil), // 53: ml_metadata.GetContextsByExternalIdsResponse + (*GetArtifactTypesByExternalIdsRequest)(nil), // 54: ml_metadata.GetArtifactTypesByExternalIdsRequest + (*GetArtifactTypesByExternalIdsResponse)(nil), // 55: ml_metadata.GetArtifactTypesByExternalIdsResponse + (*GetExecutionTypesByExternalIdsRequest)(nil), // 56: ml_metadata.GetExecutionTypesByExternalIdsRequest + (*GetExecutionTypesByExternalIdsResponse)(nil), // 57: ml_metadata.GetExecutionTypesByExternalIdsResponse + (*GetContextTypesByExternalIdsRequest)(nil), // 58: ml_metadata.GetContextTypesByExternalIdsRequest + (*GetContextTypesByExternalIdsResponse)(nil), // 59: ml_metadata.GetContextTypesByExternalIdsResponse + (*GetExecutionsByTypeRequest)(nil), // 60: ml_metadata.GetExecutionsByTypeRequest + (*GetExecutionsByTypeResponse)(nil), // 61: ml_metadata.GetExecutionsByTypeResponse + (*GetExecutionByTypeAndNameRequest)(nil), // 62: ml_metadata.GetExecutionByTypeAndNameRequest + (*GetExecutionByTypeAndNameResponse)(nil), // 63: ml_metadata.GetExecutionByTypeAndNameResponse + (*GetExecutionsByIDRequest)(nil), // 64: ml_metadata.GetExecutionsByIDRequest + (*GetExecutionsByIDResponse)(nil), // 65: ml_metadata.GetExecutionsByIDResponse + (*GetExecutionTypeRequest)(nil), // 66: ml_metadata.GetExecutionTypeRequest + (*GetExecutionTypeResponse)(nil), // 67: ml_metadata.GetExecutionTypeResponse + (*GetEventsByExecutionIDsRequest)(nil), // 68: ml_metadata.GetEventsByExecutionIDsRequest + (*GetEventsByExecutionIDsResponse)(nil), // 69: ml_metadata.GetEventsByExecutionIDsResponse + (*GetEventsByArtifactIDsRequest)(nil), // 70: ml_metadata.GetEventsByArtifactIDsRequest + (*GetEventsByArtifactIDsResponse)(nil), // 71: ml_metadata.GetEventsByArtifactIDsResponse + (*GetArtifactTypesByIDRequest)(nil), // 72: ml_metadata.GetArtifactTypesByIDRequest + (*GetArtifactTypesByIDResponse)(nil), // 73: ml_metadata.GetArtifactTypesByIDResponse + (*GetExecutionTypesByIDRequest)(nil), // 74: ml_metadata.GetExecutionTypesByIDRequest + (*GetExecutionTypesByIDResponse)(nil), // 75: ml_metadata.GetExecutionTypesByIDResponse + (*GetContextTypeRequest)(nil), // 76: ml_metadata.GetContextTypeRequest + (*GetContextTypeResponse)(nil), // 77: ml_metadata.GetContextTypeResponse + (*GetContextTypesByIDRequest)(nil), // 78: ml_metadata.GetContextTypesByIDRequest + (*GetContextTypesByIDResponse)(nil), // 79: ml_metadata.GetContextTypesByIDResponse + (*GetContextsRequest)(nil), // 80: ml_metadata.GetContextsRequest + (*GetContextsResponse)(nil), // 81: ml_metadata.GetContextsResponse + (*GetContextsByTypeRequest)(nil), // 82: ml_metadata.GetContextsByTypeRequest + (*GetContextsByTypeResponse)(nil), // 83: ml_metadata.GetContextsByTypeResponse + (*GetContextByTypeAndNameRequest)(nil), // 84: ml_metadata.GetContextByTypeAndNameRequest + (*GetContextByTypeAndNameResponse)(nil), // 85: ml_metadata.GetContextByTypeAndNameResponse + (*GetContextsByIDRequest)(nil), // 86: ml_metadata.GetContextsByIDRequest + (*GetContextsByIDResponse)(nil), // 87: ml_metadata.GetContextsByIDResponse + (*GetContextsByArtifactRequest)(nil), // 88: ml_metadata.GetContextsByArtifactRequest + (*GetContextsByArtifactResponse)(nil), // 89: ml_metadata.GetContextsByArtifactResponse + (*GetContextsByExecutionRequest)(nil), // 90: ml_metadata.GetContextsByExecutionRequest + (*GetContextsByExecutionResponse)(nil), // 91: ml_metadata.GetContextsByExecutionResponse + (*GetParentContextsByContextRequest)(nil), // 92: ml_metadata.GetParentContextsByContextRequest + (*GetParentContextsByContextResponse)(nil), // 93: ml_metadata.GetParentContextsByContextResponse + (*GetChildrenContextsByContextRequest)(nil), // 94: ml_metadata.GetChildrenContextsByContextRequest + (*GetChildrenContextsByContextResponse)(nil), // 95: ml_metadata.GetChildrenContextsByContextResponse + (*GetParentContextsByContextsRequest)(nil), // 96: ml_metadata.GetParentContextsByContextsRequest + (*GetParentContextsByContextsResponse)(nil), // 97: ml_metadata.GetParentContextsByContextsResponse + (*GetChildrenContextsByContextsRequest)(nil), // 98: ml_metadata.GetChildrenContextsByContextsRequest + (*GetChildrenContextsByContextsResponse)(nil), // 99: ml_metadata.GetChildrenContextsByContextsResponse + (*GetArtifactsByContextRequest)(nil), // 100: ml_metadata.GetArtifactsByContextRequest + (*GetArtifactsByContextResponse)(nil), // 101: ml_metadata.GetArtifactsByContextResponse + (*GetExecutionsByContextRequest)(nil), // 102: ml_metadata.GetExecutionsByContextRequest + (*GetExecutionsByContextResponse)(nil), // 103: ml_metadata.GetExecutionsByContextResponse + (*GetLineageGraphRequest)(nil), // 104: ml_metadata.GetLineageGraphRequest + (*GetLineageGraphResponse)(nil), // 105: ml_metadata.GetLineageGraphResponse + (*GetLineageSubgraphRequest)(nil), // 106: ml_metadata.GetLineageSubgraphRequest + (*GetLineageSubgraphResponse)(nil), // 107: ml_metadata.GetLineageSubgraphResponse + nil, // 108: ml_metadata.ArtifactStructMap.PropertiesEntry + (*PutArtifactsRequest_Options)(nil), // 109: ml_metadata.PutArtifactsRequest.Options + (*PutExecutionRequest_ArtifactAndEvent)(nil), // 110: ml_metadata.PutExecutionRequest.ArtifactAndEvent + (*PutExecutionRequest_Options)(nil), // 111: ml_metadata.PutExecutionRequest.Options + (*PutLineageSubgraphRequest_EventEdge)(nil), // 112: ml_metadata.PutLineageSubgraphRequest.EventEdge + (*PutLineageSubgraphRequest_Options)(nil), // 113: ml_metadata.PutLineageSubgraphRequest.Options + (*GetParentContextsByContextsResponse_ParentContextsPerChild)(nil), // 114: ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild + nil, // 115: ml_metadata.GetParentContextsByContextsResponse.ContextsEntry + (*GetChildrenContextsByContextsResponse_ChildrenContextsPerParent)(nil), // 116: ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent + nil, // 117: ml_metadata.GetChildrenContextsByContextsResponse.ContextsEntry + (*Artifact)(nil), // 118: ml_metadata.Artifact + (*ArtifactType)(nil), // 119: ml_metadata.ArtifactType + (*TransactionOptions)(nil), // 120: ml_metadata.TransactionOptions + (*fieldmaskpb.FieldMask)(nil), // 121: google.protobuf.FieldMask + (*Execution)(nil), // 122: ml_metadata.Execution + (*ExecutionType)(nil), // 123: ml_metadata.ExecutionType + (*Event)(nil), // 124: ml_metadata.Event + (*Context)(nil), // 125: ml_metadata.Context + (*ContextType)(nil), // 126: ml_metadata.ContextType + (*Attribution)(nil), // 127: ml_metadata.Attribution + (*Association)(nil), // 128: ml_metadata.Association + (*ParentContext)(nil), // 129: ml_metadata.ParentContext + (*ListOperationOptions)(nil), // 130: ml_metadata.ListOperationOptions + (*LineageGraphQueryOptions)(nil), // 131: ml_metadata.LineageGraphQueryOptions + (*LineageGraph)(nil), // 132: ml_metadata.LineageGraph + (*LineageSubgraphQueryOptions)(nil), // 133: ml_metadata.LineageSubgraphQueryOptions } var file_ml_metadata_proto_metadata_store_service_proto_depIdxs = []int32{ - 92, // 0: ml_metadata.ArtifactAndType.artifact:type_name -> ml_metadata.Artifact - 93, // 1: ml_metadata.ArtifactAndType.type:type_name -> ml_metadata.ArtifactType - 88, // 2: ml_metadata.ArtifactStructMap.properties:type_name -> ml_metadata.ArtifactStructMap.PropertiesEntry + 118, // 0: ml_metadata.ArtifactAndType.artifact:type_name -> ml_metadata.Artifact + 119, // 1: ml_metadata.ArtifactAndType.type:type_name -> ml_metadata.ArtifactType + 108, // 2: ml_metadata.ArtifactStructMap.properties:type_name -> ml_metadata.ArtifactStructMap.PropertiesEntry 3, // 3: ml_metadata.ArtifactStructList.elements:type_name -> ml_metadata.ArtifactStruct 0, // 4: ml_metadata.ArtifactStruct.artifact:type_name -> ml_metadata.ArtifactAndType 1, // 5: ml_metadata.ArtifactStruct.map:type_name -> ml_metadata.ArtifactStructMap 2, // 6: ml_metadata.ArtifactStruct.list:type_name -> ml_metadata.ArtifactStructList - 92, // 7: ml_metadata.PutArtifactsRequest.artifacts:type_name -> ml_metadata.Artifact - 89, // 8: ml_metadata.PutArtifactsRequest.options:type_name -> ml_metadata.PutArtifactsRequest.Options - 93, // 9: ml_metadata.PutArtifactTypeRequest.artifact_type:type_name -> ml_metadata.ArtifactType - 94, // 10: ml_metadata.PutExecutionsRequest.executions:type_name -> ml_metadata.Execution - 95, // 11: ml_metadata.PutExecutionTypeRequest.execution_type:type_name -> ml_metadata.ExecutionType - 96, // 12: ml_metadata.PutEventsRequest.events:type_name -> ml_metadata.Event - 94, // 13: ml_metadata.PutExecutionRequest.execution:type_name -> ml_metadata.Execution - 90, // 14: ml_metadata.PutExecutionRequest.artifact_event_pairs:type_name -> ml_metadata.PutExecutionRequest.ArtifactAndEvent - 97, // 15: ml_metadata.PutExecutionRequest.contexts:type_name -> ml_metadata.Context - 91, // 16: ml_metadata.PutExecutionRequest.options:type_name -> ml_metadata.PutExecutionRequest.Options - 93, // 17: ml_metadata.PutTypesRequest.artifact_types:type_name -> ml_metadata.ArtifactType - 95, // 18: ml_metadata.PutTypesRequest.execution_types:type_name -> ml_metadata.ExecutionType - 98, // 19: ml_metadata.PutTypesRequest.context_types:type_name -> ml_metadata.ContextType - 98, // 20: ml_metadata.PutContextTypeRequest.context_type:type_name -> ml_metadata.ContextType - 97, // 21: ml_metadata.PutContextsRequest.contexts:type_name -> ml_metadata.Context - 99, // 22: ml_metadata.PutAttributionsAndAssociationsRequest.attributions:type_name -> ml_metadata.Attribution - 100, // 23: ml_metadata.PutAttributionsAndAssociationsRequest.associations:type_name -> ml_metadata.Association - 101, // 24: ml_metadata.PutParentContextsRequest.parent_contexts:type_name -> ml_metadata.ParentContext - 102, // 25: ml_metadata.GetArtifactsByTypeRequest.options:type_name -> ml_metadata.ListOperationOptions - 103, // 26: ml_metadata.GetArtifactsByTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 92, // 27: ml_metadata.GetArtifactsByTypeResponse.artifacts:type_name -> ml_metadata.Artifact - 103, // 28: ml_metadata.GetArtifactByTypeAndNameRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 92, // 29: ml_metadata.GetArtifactByTypeAndNameResponse.artifact:type_name -> ml_metadata.Artifact - 103, // 30: ml_metadata.GetArtifactsByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 92, // 31: ml_metadata.GetArtifactsByIDResponse.artifacts:type_name -> ml_metadata.Artifact - 102, // 32: ml_metadata.GetArtifactsRequest.options:type_name -> ml_metadata.ListOperationOptions - 103, // 33: ml_metadata.GetArtifactsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 92, // 34: ml_metadata.GetArtifactsResponse.artifacts:type_name -> ml_metadata.Artifact - 103, // 35: ml_metadata.GetArtifactsByURIRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 92, // 36: ml_metadata.GetArtifactsByURIResponse.artifacts:type_name -> ml_metadata.Artifact - 102, // 37: ml_metadata.GetExecutionsRequest.options:type_name -> ml_metadata.ListOperationOptions - 103, // 38: ml_metadata.GetExecutionsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 94, // 39: ml_metadata.GetExecutionsResponse.executions:type_name -> ml_metadata.Execution - 103, // 40: ml_metadata.GetArtifactTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 93, // 41: ml_metadata.GetArtifactTypeResponse.artifact_type:type_name -> ml_metadata.ArtifactType - 103, // 42: ml_metadata.GetArtifactTypesRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 93, // 43: ml_metadata.GetArtifactTypesResponse.artifact_types:type_name -> ml_metadata.ArtifactType - 103, // 44: ml_metadata.GetExecutionTypesRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 95, // 45: ml_metadata.GetExecutionTypesResponse.execution_types:type_name -> ml_metadata.ExecutionType - 103, // 46: ml_metadata.GetContextTypesRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 98, // 47: ml_metadata.GetContextTypesResponse.context_types:type_name -> ml_metadata.ContextType - 102, // 48: ml_metadata.GetExecutionsByTypeRequest.options:type_name -> ml_metadata.ListOperationOptions - 103, // 49: ml_metadata.GetExecutionsByTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 94, // 50: ml_metadata.GetExecutionsByTypeResponse.executions:type_name -> ml_metadata.Execution - 103, // 51: ml_metadata.GetExecutionByTypeAndNameRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 94, // 52: ml_metadata.GetExecutionByTypeAndNameResponse.execution:type_name -> ml_metadata.Execution - 103, // 53: ml_metadata.GetExecutionsByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 94, // 54: ml_metadata.GetExecutionsByIDResponse.executions:type_name -> ml_metadata.Execution - 103, // 55: ml_metadata.GetExecutionTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 95, // 56: ml_metadata.GetExecutionTypeResponse.execution_type:type_name -> ml_metadata.ExecutionType - 103, // 57: ml_metadata.GetEventsByExecutionIDsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 96, // 58: ml_metadata.GetEventsByExecutionIDsResponse.events:type_name -> ml_metadata.Event - 103, // 59: ml_metadata.GetEventsByArtifactIDsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 96, // 60: ml_metadata.GetEventsByArtifactIDsResponse.events:type_name -> ml_metadata.Event - 103, // 61: ml_metadata.GetArtifactTypesByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 93, // 62: ml_metadata.GetArtifactTypesByIDResponse.artifact_types:type_name -> ml_metadata.ArtifactType - 103, // 63: ml_metadata.GetExecutionTypesByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 95, // 64: ml_metadata.GetExecutionTypesByIDResponse.execution_types:type_name -> ml_metadata.ExecutionType - 103, // 65: ml_metadata.GetContextTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 98, // 66: ml_metadata.GetContextTypeResponse.context_type:type_name -> ml_metadata.ContextType - 103, // 67: ml_metadata.GetContextTypesByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 98, // 68: ml_metadata.GetContextTypesByIDResponse.context_types:type_name -> ml_metadata.ContextType - 102, // 69: ml_metadata.GetContextsRequest.options:type_name -> ml_metadata.ListOperationOptions - 103, // 70: ml_metadata.GetContextsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 97, // 71: ml_metadata.GetContextsResponse.contexts:type_name -> ml_metadata.Context - 102, // 72: ml_metadata.GetContextsByTypeRequest.options:type_name -> ml_metadata.ListOperationOptions - 103, // 73: ml_metadata.GetContextsByTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 97, // 74: ml_metadata.GetContextsByTypeResponse.contexts:type_name -> ml_metadata.Context - 103, // 75: ml_metadata.GetContextByTypeAndNameRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 97, // 76: ml_metadata.GetContextByTypeAndNameResponse.context:type_name -> ml_metadata.Context - 103, // 77: ml_metadata.GetContextsByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 97, // 78: ml_metadata.GetContextsByIDResponse.contexts:type_name -> ml_metadata.Context - 103, // 79: ml_metadata.GetContextsByArtifactRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 97, // 80: ml_metadata.GetContextsByArtifactResponse.contexts:type_name -> ml_metadata.Context - 103, // 81: ml_metadata.GetContextsByExecutionRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 97, // 82: ml_metadata.GetContextsByExecutionResponse.contexts:type_name -> ml_metadata.Context - 103, // 83: ml_metadata.GetParentContextsByContextRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 97, // 84: ml_metadata.GetParentContextsByContextResponse.contexts:type_name -> ml_metadata.Context - 103, // 85: ml_metadata.GetChildrenContextsByContextRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 97, // 86: ml_metadata.GetChildrenContextsByContextResponse.contexts:type_name -> ml_metadata.Context - 102, // 87: ml_metadata.GetArtifactsByContextRequest.options:type_name -> ml_metadata.ListOperationOptions - 103, // 88: ml_metadata.GetArtifactsByContextRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 92, // 89: ml_metadata.GetArtifactsByContextResponse.artifacts:type_name -> ml_metadata.Artifact - 102, // 90: ml_metadata.GetExecutionsByContextRequest.options:type_name -> ml_metadata.ListOperationOptions - 103, // 91: ml_metadata.GetExecutionsByContextRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 94, // 92: ml_metadata.GetExecutionsByContextResponse.executions:type_name -> ml_metadata.Execution - 103, // 93: ml_metadata.GetExecutionsByContextResponse.transaction_options:type_name -> ml_metadata.TransactionOptions - 104, // 94: ml_metadata.GetLineageGraphRequest.options:type_name -> ml_metadata.LineageGraphQueryOptions - 103, // 95: ml_metadata.GetLineageGraphRequest.transaction_options:type_name -> ml_metadata.TransactionOptions - 105, // 96: ml_metadata.GetLineageGraphResponse.subgraph:type_name -> ml_metadata.LineageGraph - 3, // 97: ml_metadata.ArtifactStructMap.PropertiesEntry.value:type_name -> ml_metadata.ArtifactStruct - 92, // 98: ml_metadata.PutExecutionRequest.ArtifactAndEvent.artifact:type_name -> ml_metadata.Artifact - 96, // 99: ml_metadata.PutExecutionRequest.ArtifactAndEvent.event:type_name -> ml_metadata.Event - 6, // 100: ml_metadata.MetadataStoreService.PutArtifactType:input_type -> ml_metadata.PutArtifactTypeRequest - 10, // 101: ml_metadata.MetadataStoreService.PutExecutionType:input_type -> ml_metadata.PutExecutionTypeRequest - 18, // 102: ml_metadata.MetadataStoreService.PutContextType:input_type -> ml_metadata.PutContextTypeRequest - 16, // 103: ml_metadata.MetadataStoreService.PutTypes:input_type -> ml_metadata.PutTypesRequest - 4, // 104: ml_metadata.MetadataStoreService.PutArtifacts:input_type -> ml_metadata.PutArtifactsRequest - 8, // 105: ml_metadata.MetadataStoreService.PutExecutions:input_type -> ml_metadata.PutExecutionsRequest - 12, // 106: ml_metadata.MetadataStoreService.PutEvents:input_type -> ml_metadata.PutEventsRequest - 14, // 107: ml_metadata.MetadataStoreService.PutExecution:input_type -> ml_metadata.PutExecutionRequest - 20, // 108: ml_metadata.MetadataStoreService.PutContexts:input_type -> ml_metadata.PutContextsRequest - 22, // 109: ml_metadata.MetadataStoreService.PutAttributionsAndAssociations:input_type -> ml_metadata.PutAttributionsAndAssociationsRequest - 24, // 110: ml_metadata.MetadataStoreService.PutParentContexts:input_type -> ml_metadata.PutParentContextsRequest - 38, // 111: ml_metadata.MetadataStoreService.GetArtifactType:input_type -> ml_metadata.GetArtifactTypeRequest - 58, // 112: ml_metadata.MetadataStoreService.GetArtifactTypesByID:input_type -> ml_metadata.GetArtifactTypesByIDRequest - 40, // 113: ml_metadata.MetadataStoreService.GetArtifactTypes:input_type -> ml_metadata.GetArtifactTypesRequest - 52, // 114: ml_metadata.MetadataStoreService.GetExecutionType:input_type -> ml_metadata.GetExecutionTypeRequest - 60, // 115: ml_metadata.MetadataStoreService.GetExecutionTypesByID:input_type -> ml_metadata.GetExecutionTypesByIDRequest - 42, // 116: ml_metadata.MetadataStoreService.GetExecutionTypes:input_type -> ml_metadata.GetExecutionTypesRequest - 62, // 117: ml_metadata.MetadataStoreService.GetContextType:input_type -> ml_metadata.GetContextTypeRequest - 64, // 118: ml_metadata.MetadataStoreService.GetContextTypesByID:input_type -> ml_metadata.GetContextTypesByIDRequest - 44, // 119: ml_metadata.MetadataStoreService.GetContextTypes:input_type -> ml_metadata.GetContextTypesRequest - 32, // 120: ml_metadata.MetadataStoreService.GetArtifacts:input_type -> ml_metadata.GetArtifactsRequest - 36, // 121: ml_metadata.MetadataStoreService.GetExecutions:input_type -> ml_metadata.GetExecutionsRequest - 66, // 122: ml_metadata.MetadataStoreService.GetContexts:input_type -> ml_metadata.GetContextsRequest - 30, // 123: ml_metadata.MetadataStoreService.GetArtifactsByID:input_type -> ml_metadata.GetArtifactsByIDRequest - 50, // 124: ml_metadata.MetadataStoreService.GetExecutionsByID:input_type -> ml_metadata.GetExecutionsByIDRequest - 72, // 125: ml_metadata.MetadataStoreService.GetContextsByID:input_type -> ml_metadata.GetContextsByIDRequest - 26, // 126: ml_metadata.MetadataStoreService.GetArtifactsByType:input_type -> ml_metadata.GetArtifactsByTypeRequest - 46, // 127: ml_metadata.MetadataStoreService.GetExecutionsByType:input_type -> ml_metadata.GetExecutionsByTypeRequest - 68, // 128: ml_metadata.MetadataStoreService.GetContextsByType:input_type -> ml_metadata.GetContextsByTypeRequest - 28, // 129: ml_metadata.MetadataStoreService.GetArtifactByTypeAndName:input_type -> ml_metadata.GetArtifactByTypeAndNameRequest - 48, // 130: ml_metadata.MetadataStoreService.GetExecutionByTypeAndName:input_type -> ml_metadata.GetExecutionByTypeAndNameRequest - 70, // 131: ml_metadata.MetadataStoreService.GetContextByTypeAndName:input_type -> ml_metadata.GetContextByTypeAndNameRequest - 34, // 132: ml_metadata.MetadataStoreService.GetArtifactsByURI:input_type -> ml_metadata.GetArtifactsByURIRequest - 54, // 133: ml_metadata.MetadataStoreService.GetEventsByExecutionIDs:input_type -> ml_metadata.GetEventsByExecutionIDsRequest - 56, // 134: ml_metadata.MetadataStoreService.GetEventsByArtifactIDs:input_type -> ml_metadata.GetEventsByArtifactIDsRequest - 74, // 135: ml_metadata.MetadataStoreService.GetContextsByArtifact:input_type -> ml_metadata.GetContextsByArtifactRequest - 76, // 136: ml_metadata.MetadataStoreService.GetContextsByExecution:input_type -> ml_metadata.GetContextsByExecutionRequest - 78, // 137: ml_metadata.MetadataStoreService.GetParentContextsByContext:input_type -> ml_metadata.GetParentContextsByContextRequest - 80, // 138: ml_metadata.MetadataStoreService.GetChildrenContextsByContext:input_type -> ml_metadata.GetChildrenContextsByContextRequest - 82, // 139: ml_metadata.MetadataStoreService.GetArtifactsByContext:input_type -> ml_metadata.GetArtifactsByContextRequest - 84, // 140: ml_metadata.MetadataStoreService.GetExecutionsByContext:input_type -> ml_metadata.GetExecutionsByContextRequest - 86, // 141: ml_metadata.MetadataStoreService.GetLineageGraph:input_type -> ml_metadata.GetLineageGraphRequest - 7, // 142: ml_metadata.MetadataStoreService.PutArtifactType:output_type -> ml_metadata.PutArtifactTypeResponse - 11, // 143: ml_metadata.MetadataStoreService.PutExecutionType:output_type -> ml_metadata.PutExecutionTypeResponse - 19, // 144: ml_metadata.MetadataStoreService.PutContextType:output_type -> ml_metadata.PutContextTypeResponse - 17, // 145: ml_metadata.MetadataStoreService.PutTypes:output_type -> ml_metadata.PutTypesResponse - 5, // 146: ml_metadata.MetadataStoreService.PutArtifacts:output_type -> ml_metadata.PutArtifactsResponse - 9, // 147: ml_metadata.MetadataStoreService.PutExecutions:output_type -> ml_metadata.PutExecutionsResponse - 13, // 148: ml_metadata.MetadataStoreService.PutEvents:output_type -> ml_metadata.PutEventsResponse - 15, // 149: ml_metadata.MetadataStoreService.PutExecution:output_type -> ml_metadata.PutExecutionResponse - 21, // 150: ml_metadata.MetadataStoreService.PutContexts:output_type -> ml_metadata.PutContextsResponse - 23, // 151: ml_metadata.MetadataStoreService.PutAttributionsAndAssociations:output_type -> ml_metadata.PutAttributionsAndAssociationsResponse - 25, // 152: ml_metadata.MetadataStoreService.PutParentContexts:output_type -> ml_metadata.PutParentContextsResponse - 39, // 153: ml_metadata.MetadataStoreService.GetArtifactType:output_type -> ml_metadata.GetArtifactTypeResponse - 59, // 154: ml_metadata.MetadataStoreService.GetArtifactTypesByID:output_type -> ml_metadata.GetArtifactTypesByIDResponse - 41, // 155: ml_metadata.MetadataStoreService.GetArtifactTypes:output_type -> ml_metadata.GetArtifactTypesResponse - 53, // 156: ml_metadata.MetadataStoreService.GetExecutionType:output_type -> ml_metadata.GetExecutionTypeResponse - 61, // 157: ml_metadata.MetadataStoreService.GetExecutionTypesByID:output_type -> ml_metadata.GetExecutionTypesByIDResponse - 43, // 158: ml_metadata.MetadataStoreService.GetExecutionTypes:output_type -> ml_metadata.GetExecutionTypesResponse - 63, // 159: ml_metadata.MetadataStoreService.GetContextType:output_type -> ml_metadata.GetContextTypeResponse - 65, // 160: ml_metadata.MetadataStoreService.GetContextTypesByID:output_type -> ml_metadata.GetContextTypesByIDResponse - 45, // 161: ml_metadata.MetadataStoreService.GetContextTypes:output_type -> ml_metadata.GetContextTypesResponse - 33, // 162: ml_metadata.MetadataStoreService.GetArtifacts:output_type -> ml_metadata.GetArtifactsResponse - 37, // 163: ml_metadata.MetadataStoreService.GetExecutions:output_type -> ml_metadata.GetExecutionsResponse - 67, // 164: ml_metadata.MetadataStoreService.GetContexts:output_type -> ml_metadata.GetContextsResponse - 31, // 165: ml_metadata.MetadataStoreService.GetArtifactsByID:output_type -> ml_metadata.GetArtifactsByIDResponse - 51, // 166: ml_metadata.MetadataStoreService.GetExecutionsByID:output_type -> ml_metadata.GetExecutionsByIDResponse - 73, // 167: ml_metadata.MetadataStoreService.GetContextsByID:output_type -> ml_metadata.GetContextsByIDResponse - 27, // 168: ml_metadata.MetadataStoreService.GetArtifactsByType:output_type -> ml_metadata.GetArtifactsByTypeResponse - 47, // 169: ml_metadata.MetadataStoreService.GetExecutionsByType:output_type -> ml_metadata.GetExecutionsByTypeResponse - 69, // 170: ml_metadata.MetadataStoreService.GetContextsByType:output_type -> ml_metadata.GetContextsByTypeResponse - 29, // 171: ml_metadata.MetadataStoreService.GetArtifactByTypeAndName:output_type -> ml_metadata.GetArtifactByTypeAndNameResponse - 49, // 172: ml_metadata.MetadataStoreService.GetExecutionByTypeAndName:output_type -> ml_metadata.GetExecutionByTypeAndNameResponse - 71, // 173: ml_metadata.MetadataStoreService.GetContextByTypeAndName:output_type -> ml_metadata.GetContextByTypeAndNameResponse - 35, // 174: ml_metadata.MetadataStoreService.GetArtifactsByURI:output_type -> ml_metadata.GetArtifactsByURIResponse - 55, // 175: ml_metadata.MetadataStoreService.GetEventsByExecutionIDs:output_type -> ml_metadata.GetEventsByExecutionIDsResponse - 57, // 176: ml_metadata.MetadataStoreService.GetEventsByArtifactIDs:output_type -> ml_metadata.GetEventsByArtifactIDsResponse - 75, // 177: ml_metadata.MetadataStoreService.GetContextsByArtifact:output_type -> ml_metadata.GetContextsByArtifactResponse - 77, // 178: ml_metadata.MetadataStoreService.GetContextsByExecution:output_type -> ml_metadata.GetContextsByExecutionResponse - 79, // 179: ml_metadata.MetadataStoreService.GetParentContextsByContext:output_type -> ml_metadata.GetParentContextsByContextResponse - 81, // 180: ml_metadata.MetadataStoreService.GetChildrenContextsByContext:output_type -> ml_metadata.GetChildrenContextsByContextResponse - 83, // 181: ml_metadata.MetadataStoreService.GetArtifactsByContext:output_type -> ml_metadata.GetArtifactsByContextResponse - 85, // 182: ml_metadata.MetadataStoreService.GetExecutionsByContext:output_type -> ml_metadata.GetExecutionsByContextResponse - 87, // 183: ml_metadata.MetadataStoreService.GetLineageGraph:output_type -> ml_metadata.GetLineageGraphResponse - 142, // [142:184] is the sub-list for method output_type - 100, // [100:142] is the sub-list for method input_type - 100, // [100:100] is the sub-list for extension type_name - 100, // [100:100] is the sub-list for extension extendee - 0, // [0:100] is the sub-list for field type_name + 118, // 7: ml_metadata.PutArtifactsRequest.artifacts:type_name -> ml_metadata.Artifact + 109, // 8: ml_metadata.PutArtifactsRequest.options:type_name -> ml_metadata.PutArtifactsRequest.Options + 120, // 9: ml_metadata.PutArtifactsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 121, // 10: ml_metadata.PutArtifactsRequest.update_mask:type_name -> google.protobuf.FieldMask + 119, // 11: ml_metadata.PutArtifactTypeRequest.artifact_type:type_name -> ml_metadata.ArtifactType + 120, // 12: ml_metadata.PutArtifactTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 122, // 13: ml_metadata.PutExecutionsRequest.executions:type_name -> ml_metadata.Execution + 120, // 14: ml_metadata.PutExecutionsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 121, // 15: ml_metadata.PutExecutionsRequest.update_mask:type_name -> google.protobuf.FieldMask + 123, // 16: ml_metadata.PutExecutionTypeRequest.execution_type:type_name -> ml_metadata.ExecutionType + 120, // 17: ml_metadata.PutExecutionTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 124, // 18: ml_metadata.PutEventsRequest.events:type_name -> ml_metadata.Event + 120, // 19: ml_metadata.PutEventsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 122, // 20: ml_metadata.PutExecutionRequest.execution:type_name -> ml_metadata.Execution + 110, // 21: ml_metadata.PutExecutionRequest.artifact_event_pairs:type_name -> ml_metadata.PutExecutionRequest.ArtifactAndEvent + 125, // 22: ml_metadata.PutExecutionRequest.contexts:type_name -> ml_metadata.Context + 111, // 23: ml_metadata.PutExecutionRequest.options:type_name -> ml_metadata.PutExecutionRequest.Options + 120, // 24: ml_metadata.PutExecutionRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 122, // 25: ml_metadata.PutLineageSubgraphRequest.executions:type_name -> ml_metadata.Execution + 118, // 26: ml_metadata.PutLineageSubgraphRequest.artifacts:type_name -> ml_metadata.Artifact + 125, // 27: ml_metadata.PutLineageSubgraphRequest.contexts:type_name -> ml_metadata.Context + 112, // 28: ml_metadata.PutLineageSubgraphRequest.event_edges:type_name -> ml_metadata.PutLineageSubgraphRequest.EventEdge + 113, // 29: ml_metadata.PutLineageSubgraphRequest.options:type_name -> ml_metadata.PutLineageSubgraphRequest.Options + 120, // 30: ml_metadata.PutLineageSubgraphRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 119, // 31: ml_metadata.PutTypesRequest.artifact_types:type_name -> ml_metadata.ArtifactType + 123, // 32: ml_metadata.PutTypesRequest.execution_types:type_name -> ml_metadata.ExecutionType + 126, // 33: ml_metadata.PutTypesRequest.context_types:type_name -> ml_metadata.ContextType + 120, // 34: ml_metadata.PutTypesRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 126, // 35: ml_metadata.PutContextTypeRequest.context_type:type_name -> ml_metadata.ContextType + 120, // 36: ml_metadata.PutContextTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 125, // 37: ml_metadata.PutContextsRequest.contexts:type_name -> ml_metadata.Context + 120, // 38: ml_metadata.PutContextsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 121, // 39: ml_metadata.PutContextsRequest.update_mask:type_name -> google.protobuf.FieldMask + 127, // 40: ml_metadata.PutAttributionsAndAssociationsRequest.attributions:type_name -> ml_metadata.Attribution + 128, // 41: ml_metadata.PutAttributionsAndAssociationsRequest.associations:type_name -> ml_metadata.Association + 120, // 42: ml_metadata.PutAttributionsAndAssociationsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 129, // 43: ml_metadata.PutParentContextsRequest.parent_contexts:type_name -> ml_metadata.ParentContext + 120, // 44: ml_metadata.PutParentContextsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 130, // 45: ml_metadata.GetArtifactsByTypeRequest.options:type_name -> ml_metadata.ListOperationOptions + 120, // 46: ml_metadata.GetArtifactsByTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 118, // 47: ml_metadata.GetArtifactsByTypeResponse.artifacts:type_name -> ml_metadata.Artifact + 120, // 48: ml_metadata.GetArtifactByTypeAndNameRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 118, // 49: ml_metadata.GetArtifactByTypeAndNameResponse.artifact:type_name -> ml_metadata.Artifact + 120, // 50: ml_metadata.GetArtifactsByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 118, // 51: ml_metadata.GetArtifactsByIDResponse.artifacts:type_name -> ml_metadata.Artifact + 119, // 52: ml_metadata.GetArtifactsByIDResponse.artifact_types:type_name -> ml_metadata.ArtifactType + 130, // 53: ml_metadata.GetArtifactsRequest.options:type_name -> ml_metadata.ListOperationOptions + 120, // 54: ml_metadata.GetArtifactsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 118, // 55: ml_metadata.GetArtifactsResponse.artifacts:type_name -> ml_metadata.Artifact + 120, // 56: ml_metadata.GetArtifactsByURIRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 118, // 57: ml_metadata.GetArtifactsByURIResponse.artifacts:type_name -> ml_metadata.Artifact + 130, // 58: ml_metadata.GetExecutionsRequest.options:type_name -> ml_metadata.ListOperationOptions + 120, // 59: ml_metadata.GetExecutionsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 122, // 60: ml_metadata.GetExecutionsResponse.executions:type_name -> ml_metadata.Execution + 120, // 61: ml_metadata.GetArtifactTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 119, // 62: ml_metadata.GetArtifactTypeResponse.artifact_type:type_name -> ml_metadata.ArtifactType + 120, // 63: ml_metadata.GetArtifactTypesRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 119, // 64: ml_metadata.GetArtifactTypesResponse.artifact_types:type_name -> ml_metadata.ArtifactType + 120, // 65: ml_metadata.GetExecutionTypesRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 123, // 66: ml_metadata.GetExecutionTypesResponse.execution_types:type_name -> ml_metadata.ExecutionType + 120, // 67: ml_metadata.GetContextTypesRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 126, // 68: ml_metadata.GetContextTypesResponse.context_types:type_name -> ml_metadata.ContextType + 120, // 69: ml_metadata.GetArtifactsByExternalIdsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 118, // 70: ml_metadata.GetArtifactsByExternalIdsResponse.artifacts:type_name -> ml_metadata.Artifact + 120, // 71: ml_metadata.GetExecutionsByExternalIdsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 122, // 72: ml_metadata.GetExecutionsByExternalIdsResponse.executions:type_name -> ml_metadata.Execution + 120, // 73: ml_metadata.GetContextsByExternalIdsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 125, // 74: ml_metadata.GetContextsByExternalIdsResponse.contexts:type_name -> ml_metadata.Context + 120, // 75: ml_metadata.GetArtifactTypesByExternalIdsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 119, // 76: ml_metadata.GetArtifactTypesByExternalIdsResponse.artifact_types:type_name -> ml_metadata.ArtifactType + 120, // 77: ml_metadata.GetExecutionTypesByExternalIdsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 123, // 78: ml_metadata.GetExecutionTypesByExternalIdsResponse.execution_types:type_name -> ml_metadata.ExecutionType + 120, // 79: ml_metadata.GetContextTypesByExternalIdsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 126, // 80: ml_metadata.GetContextTypesByExternalIdsResponse.context_types:type_name -> ml_metadata.ContextType + 130, // 81: ml_metadata.GetExecutionsByTypeRequest.options:type_name -> ml_metadata.ListOperationOptions + 120, // 82: ml_metadata.GetExecutionsByTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 122, // 83: ml_metadata.GetExecutionsByTypeResponse.executions:type_name -> ml_metadata.Execution + 120, // 84: ml_metadata.GetExecutionByTypeAndNameRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 122, // 85: ml_metadata.GetExecutionByTypeAndNameResponse.execution:type_name -> ml_metadata.Execution + 120, // 86: ml_metadata.GetExecutionsByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 122, // 87: ml_metadata.GetExecutionsByIDResponse.executions:type_name -> ml_metadata.Execution + 120, // 88: ml_metadata.GetExecutionTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 123, // 89: ml_metadata.GetExecutionTypeResponse.execution_type:type_name -> ml_metadata.ExecutionType + 120, // 90: ml_metadata.GetEventsByExecutionIDsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 124, // 91: ml_metadata.GetEventsByExecutionIDsResponse.events:type_name -> ml_metadata.Event + 120, // 92: ml_metadata.GetEventsByArtifactIDsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 124, // 93: ml_metadata.GetEventsByArtifactIDsResponse.events:type_name -> ml_metadata.Event + 120, // 94: ml_metadata.GetArtifactTypesByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 119, // 95: ml_metadata.GetArtifactTypesByIDResponse.artifact_types:type_name -> ml_metadata.ArtifactType + 120, // 96: ml_metadata.GetExecutionTypesByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 123, // 97: ml_metadata.GetExecutionTypesByIDResponse.execution_types:type_name -> ml_metadata.ExecutionType + 120, // 98: ml_metadata.GetContextTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 126, // 99: ml_metadata.GetContextTypeResponse.context_type:type_name -> ml_metadata.ContextType + 120, // 100: ml_metadata.GetContextTypesByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 126, // 101: ml_metadata.GetContextTypesByIDResponse.context_types:type_name -> ml_metadata.ContextType + 130, // 102: ml_metadata.GetContextsRequest.options:type_name -> ml_metadata.ListOperationOptions + 120, // 103: ml_metadata.GetContextsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 125, // 104: ml_metadata.GetContextsResponse.contexts:type_name -> ml_metadata.Context + 130, // 105: ml_metadata.GetContextsByTypeRequest.options:type_name -> ml_metadata.ListOperationOptions + 120, // 106: ml_metadata.GetContextsByTypeRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 125, // 107: ml_metadata.GetContextsByTypeResponse.contexts:type_name -> ml_metadata.Context + 120, // 108: ml_metadata.GetContextByTypeAndNameRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 125, // 109: ml_metadata.GetContextByTypeAndNameResponse.context:type_name -> ml_metadata.Context + 120, // 110: ml_metadata.GetContextsByIDRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 125, // 111: ml_metadata.GetContextsByIDResponse.contexts:type_name -> ml_metadata.Context + 120, // 112: ml_metadata.GetContextsByArtifactRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 125, // 113: ml_metadata.GetContextsByArtifactResponse.contexts:type_name -> ml_metadata.Context + 120, // 114: ml_metadata.GetContextsByExecutionRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 125, // 115: ml_metadata.GetContextsByExecutionResponse.contexts:type_name -> ml_metadata.Context + 120, // 116: ml_metadata.GetParentContextsByContextRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 125, // 117: ml_metadata.GetParentContextsByContextResponse.contexts:type_name -> ml_metadata.Context + 120, // 118: ml_metadata.GetChildrenContextsByContextRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 125, // 119: ml_metadata.GetChildrenContextsByContextResponse.contexts:type_name -> ml_metadata.Context + 120, // 120: ml_metadata.GetParentContextsByContextsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 115, // 121: ml_metadata.GetParentContextsByContextsResponse.contexts:type_name -> ml_metadata.GetParentContextsByContextsResponse.ContextsEntry + 120, // 122: ml_metadata.GetChildrenContextsByContextsRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 117, // 123: ml_metadata.GetChildrenContextsByContextsResponse.contexts:type_name -> ml_metadata.GetChildrenContextsByContextsResponse.ContextsEntry + 130, // 124: ml_metadata.GetArtifactsByContextRequest.options:type_name -> ml_metadata.ListOperationOptions + 120, // 125: ml_metadata.GetArtifactsByContextRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 118, // 126: ml_metadata.GetArtifactsByContextResponse.artifacts:type_name -> ml_metadata.Artifact + 130, // 127: ml_metadata.GetExecutionsByContextRequest.options:type_name -> ml_metadata.ListOperationOptions + 120, // 128: ml_metadata.GetExecutionsByContextRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 122, // 129: ml_metadata.GetExecutionsByContextResponse.executions:type_name -> ml_metadata.Execution + 120, // 130: ml_metadata.GetExecutionsByContextResponse.transaction_options:type_name -> ml_metadata.TransactionOptions + 131, // 131: ml_metadata.GetLineageGraphRequest.options:type_name -> ml_metadata.LineageGraphQueryOptions + 120, // 132: ml_metadata.GetLineageGraphRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 132, // 133: ml_metadata.GetLineageGraphResponse.subgraph:type_name -> ml_metadata.LineageGraph + 133, // 134: ml_metadata.GetLineageSubgraphRequest.lineage_subgraph_query_options:type_name -> ml_metadata.LineageSubgraphQueryOptions + 121, // 135: ml_metadata.GetLineageSubgraphRequest.read_mask:type_name -> google.protobuf.FieldMask + 120, // 136: ml_metadata.GetLineageSubgraphRequest.transaction_options:type_name -> ml_metadata.TransactionOptions + 132, // 137: ml_metadata.GetLineageSubgraphResponse.lineage_subgraph:type_name -> ml_metadata.LineageGraph + 3, // 138: ml_metadata.ArtifactStructMap.PropertiesEntry.value:type_name -> ml_metadata.ArtifactStruct + 118, // 139: ml_metadata.PutExecutionRequest.ArtifactAndEvent.artifact:type_name -> ml_metadata.Artifact + 124, // 140: ml_metadata.PutExecutionRequest.ArtifactAndEvent.event:type_name -> ml_metadata.Event + 124, // 141: ml_metadata.PutLineageSubgraphRequest.EventEdge.event:type_name -> ml_metadata.Event + 125, // 142: ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild.parent_contexts:type_name -> ml_metadata.Context + 114, // 143: ml_metadata.GetParentContextsByContextsResponse.ContextsEntry.value:type_name -> ml_metadata.GetParentContextsByContextsResponse.ParentContextsPerChild + 125, // 144: ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent.children_contexts:type_name -> ml_metadata.Context + 116, // 145: ml_metadata.GetChildrenContextsByContextsResponse.ContextsEntry.value:type_name -> ml_metadata.GetChildrenContextsByContextsResponse.ChildrenContextsPerParent + 6, // 146: ml_metadata.MetadataStoreService.PutArtifactType:input_type -> ml_metadata.PutArtifactTypeRequest + 10, // 147: ml_metadata.MetadataStoreService.PutExecutionType:input_type -> ml_metadata.PutExecutionTypeRequest + 20, // 148: ml_metadata.MetadataStoreService.PutContextType:input_type -> ml_metadata.PutContextTypeRequest + 18, // 149: ml_metadata.MetadataStoreService.PutTypes:input_type -> ml_metadata.PutTypesRequest + 4, // 150: ml_metadata.MetadataStoreService.PutArtifacts:input_type -> ml_metadata.PutArtifactsRequest + 8, // 151: ml_metadata.MetadataStoreService.PutExecutions:input_type -> ml_metadata.PutExecutionsRequest + 12, // 152: ml_metadata.MetadataStoreService.PutEvents:input_type -> ml_metadata.PutEventsRequest + 14, // 153: ml_metadata.MetadataStoreService.PutExecution:input_type -> ml_metadata.PutExecutionRequest + 16, // 154: ml_metadata.MetadataStoreService.PutLineageSubgraph:input_type -> ml_metadata.PutLineageSubgraphRequest + 22, // 155: ml_metadata.MetadataStoreService.PutContexts:input_type -> ml_metadata.PutContextsRequest + 24, // 156: ml_metadata.MetadataStoreService.PutAttributionsAndAssociations:input_type -> ml_metadata.PutAttributionsAndAssociationsRequest + 26, // 157: ml_metadata.MetadataStoreService.PutParentContexts:input_type -> ml_metadata.PutParentContextsRequest + 40, // 158: ml_metadata.MetadataStoreService.GetArtifactType:input_type -> ml_metadata.GetArtifactTypeRequest + 72, // 159: ml_metadata.MetadataStoreService.GetArtifactTypesByID:input_type -> ml_metadata.GetArtifactTypesByIDRequest + 42, // 160: ml_metadata.MetadataStoreService.GetArtifactTypes:input_type -> ml_metadata.GetArtifactTypesRequest + 66, // 161: ml_metadata.MetadataStoreService.GetExecutionType:input_type -> ml_metadata.GetExecutionTypeRequest + 74, // 162: ml_metadata.MetadataStoreService.GetExecutionTypesByID:input_type -> ml_metadata.GetExecutionTypesByIDRequest + 44, // 163: ml_metadata.MetadataStoreService.GetExecutionTypes:input_type -> ml_metadata.GetExecutionTypesRequest + 76, // 164: ml_metadata.MetadataStoreService.GetContextType:input_type -> ml_metadata.GetContextTypeRequest + 78, // 165: ml_metadata.MetadataStoreService.GetContextTypesByID:input_type -> ml_metadata.GetContextTypesByIDRequest + 46, // 166: ml_metadata.MetadataStoreService.GetContextTypes:input_type -> ml_metadata.GetContextTypesRequest + 34, // 167: ml_metadata.MetadataStoreService.GetArtifacts:input_type -> ml_metadata.GetArtifactsRequest + 38, // 168: ml_metadata.MetadataStoreService.GetExecutions:input_type -> ml_metadata.GetExecutionsRequest + 80, // 169: ml_metadata.MetadataStoreService.GetContexts:input_type -> ml_metadata.GetContextsRequest + 32, // 170: ml_metadata.MetadataStoreService.GetArtifactsByID:input_type -> ml_metadata.GetArtifactsByIDRequest + 64, // 171: ml_metadata.MetadataStoreService.GetExecutionsByID:input_type -> ml_metadata.GetExecutionsByIDRequest + 86, // 172: ml_metadata.MetadataStoreService.GetContextsByID:input_type -> ml_metadata.GetContextsByIDRequest + 28, // 173: ml_metadata.MetadataStoreService.GetArtifactsByType:input_type -> ml_metadata.GetArtifactsByTypeRequest + 60, // 174: ml_metadata.MetadataStoreService.GetExecutionsByType:input_type -> ml_metadata.GetExecutionsByTypeRequest + 82, // 175: ml_metadata.MetadataStoreService.GetContextsByType:input_type -> ml_metadata.GetContextsByTypeRequest + 30, // 176: ml_metadata.MetadataStoreService.GetArtifactByTypeAndName:input_type -> ml_metadata.GetArtifactByTypeAndNameRequest + 62, // 177: ml_metadata.MetadataStoreService.GetExecutionByTypeAndName:input_type -> ml_metadata.GetExecutionByTypeAndNameRequest + 84, // 178: ml_metadata.MetadataStoreService.GetContextByTypeAndName:input_type -> ml_metadata.GetContextByTypeAndNameRequest + 36, // 179: ml_metadata.MetadataStoreService.GetArtifactsByURI:input_type -> ml_metadata.GetArtifactsByURIRequest + 68, // 180: ml_metadata.MetadataStoreService.GetEventsByExecutionIDs:input_type -> ml_metadata.GetEventsByExecutionIDsRequest + 70, // 181: ml_metadata.MetadataStoreService.GetEventsByArtifactIDs:input_type -> ml_metadata.GetEventsByArtifactIDsRequest + 48, // 182: ml_metadata.MetadataStoreService.GetArtifactsByExternalIds:input_type -> ml_metadata.GetArtifactsByExternalIdsRequest + 50, // 183: ml_metadata.MetadataStoreService.GetExecutionsByExternalIds:input_type -> ml_metadata.GetExecutionsByExternalIdsRequest + 52, // 184: ml_metadata.MetadataStoreService.GetContextsByExternalIds:input_type -> ml_metadata.GetContextsByExternalIdsRequest + 54, // 185: ml_metadata.MetadataStoreService.GetArtifactTypesByExternalIds:input_type -> ml_metadata.GetArtifactTypesByExternalIdsRequest + 56, // 186: ml_metadata.MetadataStoreService.GetExecutionTypesByExternalIds:input_type -> ml_metadata.GetExecutionTypesByExternalIdsRequest + 58, // 187: ml_metadata.MetadataStoreService.GetContextTypesByExternalIds:input_type -> ml_metadata.GetContextTypesByExternalIdsRequest + 88, // 188: ml_metadata.MetadataStoreService.GetContextsByArtifact:input_type -> ml_metadata.GetContextsByArtifactRequest + 90, // 189: ml_metadata.MetadataStoreService.GetContextsByExecution:input_type -> ml_metadata.GetContextsByExecutionRequest + 92, // 190: ml_metadata.MetadataStoreService.GetParentContextsByContext:input_type -> ml_metadata.GetParentContextsByContextRequest + 94, // 191: ml_metadata.MetadataStoreService.GetChildrenContextsByContext:input_type -> ml_metadata.GetChildrenContextsByContextRequest + 96, // 192: ml_metadata.MetadataStoreService.GetParentContextsByContexts:input_type -> ml_metadata.GetParentContextsByContextsRequest + 98, // 193: ml_metadata.MetadataStoreService.GetChildrenContextsByContexts:input_type -> ml_metadata.GetChildrenContextsByContextsRequest + 100, // 194: ml_metadata.MetadataStoreService.GetArtifactsByContext:input_type -> ml_metadata.GetArtifactsByContextRequest + 102, // 195: ml_metadata.MetadataStoreService.GetExecutionsByContext:input_type -> ml_metadata.GetExecutionsByContextRequest + 104, // 196: ml_metadata.MetadataStoreService.GetLineageGraph:input_type -> ml_metadata.GetLineageGraphRequest + 106, // 197: ml_metadata.MetadataStoreService.GetLineageSubgraph:input_type -> ml_metadata.GetLineageSubgraphRequest + 7, // 198: ml_metadata.MetadataStoreService.PutArtifactType:output_type -> ml_metadata.PutArtifactTypeResponse + 11, // 199: ml_metadata.MetadataStoreService.PutExecutionType:output_type -> ml_metadata.PutExecutionTypeResponse + 21, // 200: ml_metadata.MetadataStoreService.PutContextType:output_type -> ml_metadata.PutContextTypeResponse + 19, // 201: ml_metadata.MetadataStoreService.PutTypes:output_type -> ml_metadata.PutTypesResponse + 5, // 202: ml_metadata.MetadataStoreService.PutArtifacts:output_type -> ml_metadata.PutArtifactsResponse + 9, // 203: ml_metadata.MetadataStoreService.PutExecutions:output_type -> ml_metadata.PutExecutionsResponse + 13, // 204: ml_metadata.MetadataStoreService.PutEvents:output_type -> ml_metadata.PutEventsResponse + 15, // 205: ml_metadata.MetadataStoreService.PutExecution:output_type -> ml_metadata.PutExecutionResponse + 17, // 206: ml_metadata.MetadataStoreService.PutLineageSubgraph:output_type -> ml_metadata.PutLineageSubgraphResponse + 23, // 207: ml_metadata.MetadataStoreService.PutContexts:output_type -> ml_metadata.PutContextsResponse + 25, // 208: ml_metadata.MetadataStoreService.PutAttributionsAndAssociations:output_type -> ml_metadata.PutAttributionsAndAssociationsResponse + 27, // 209: ml_metadata.MetadataStoreService.PutParentContexts:output_type -> ml_metadata.PutParentContextsResponse + 41, // 210: ml_metadata.MetadataStoreService.GetArtifactType:output_type -> ml_metadata.GetArtifactTypeResponse + 73, // 211: ml_metadata.MetadataStoreService.GetArtifactTypesByID:output_type -> ml_metadata.GetArtifactTypesByIDResponse + 43, // 212: ml_metadata.MetadataStoreService.GetArtifactTypes:output_type -> ml_metadata.GetArtifactTypesResponse + 67, // 213: ml_metadata.MetadataStoreService.GetExecutionType:output_type -> ml_metadata.GetExecutionTypeResponse + 75, // 214: ml_metadata.MetadataStoreService.GetExecutionTypesByID:output_type -> ml_metadata.GetExecutionTypesByIDResponse + 45, // 215: ml_metadata.MetadataStoreService.GetExecutionTypes:output_type -> ml_metadata.GetExecutionTypesResponse + 77, // 216: ml_metadata.MetadataStoreService.GetContextType:output_type -> ml_metadata.GetContextTypeResponse + 79, // 217: ml_metadata.MetadataStoreService.GetContextTypesByID:output_type -> ml_metadata.GetContextTypesByIDResponse + 47, // 218: ml_metadata.MetadataStoreService.GetContextTypes:output_type -> ml_metadata.GetContextTypesResponse + 35, // 219: ml_metadata.MetadataStoreService.GetArtifacts:output_type -> ml_metadata.GetArtifactsResponse + 39, // 220: ml_metadata.MetadataStoreService.GetExecutions:output_type -> ml_metadata.GetExecutionsResponse + 81, // 221: ml_metadata.MetadataStoreService.GetContexts:output_type -> ml_metadata.GetContextsResponse + 33, // 222: ml_metadata.MetadataStoreService.GetArtifactsByID:output_type -> ml_metadata.GetArtifactsByIDResponse + 65, // 223: ml_metadata.MetadataStoreService.GetExecutionsByID:output_type -> ml_metadata.GetExecutionsByIDResponse + 87, // 224: ml_metadata.MetadataStoreService.GetContextsByID:output_type -> ml_metadata.GetContextsByIDResponse + 29, // 225: ml_metadata.MetadataStoreService.GetArtifactsByType:output_type -> ml_metadata.GetArtifactsByTypeResponse + 61, // 226: ml_metadata.MetadataStoreService.GetExecutionsByType:output_type -> ml_metadata.GetExecutionsByTypeResponse + 83, // 227: ml_metadata.MetadataStoreService.GetContextsByType:output_type -> ml_metadata.GetContextsByTypeResponse + 31, // 228: ml_metadata.MetadataStoreService.GetArtifactByTypeAndName:output_type -> ml_metadata.GetArtifactByTypeAndNameResponse + 63, // 229: ml_metadata.MetadataStoreService.GetExecutionByTypeAndName:output_type -> ml_metadata.GetExecutionByTypeAndNameResponse + 85, // 230: ml_metadata.MetadataStoreService.GetContextByTypeAndName:output_type -> ml_metadata.GetContextByTypeAndNameResponse + 37, // 231: ml_metadata.MetadataStoreService.GetArtifactsByURI:output_type -> ml_metadata.GetArtifactsByURIResponse + 69, // 232: ml_metadata.MetadataStoreService.GetEventsByExecutionIDs:output_type -> ml_metadata.GetEventsByExecutionIDsResponse + 71, // 233: ml_metadata.MetadataStoreService.GetEventsByArtifactIDs:output_type -> ml_metadata.GetEventsByArtifactIDsResponse + 49, // 234: ml_metadata.MetadataStoreService.GetArtifactsByExternalIds:output_type -> ml_metadata.GetArtifactsByExternalIdsResponse + 51, // 235: ml_metadata.MetadataStoreService.GetExecutionsByExternalIds:output_type -> ml_metadata.GetExecutionsByExternalIdsResponse + 53, // 236: ml_metadata.MetadataStoreService.GetContextsByExternalIds:output_type -> ml_metadata.GetContextsByExternalIdsResponse + 55, // 237: ml_metadata.MetadataStoreService.GetArtifactTypesByExternalIds:output_type -> ml_metadata.GetArtifactTypesByExternalIdsResponse + 57, // 238: ml_metadata.MetadataStoreService.GetExecutionTypesByExternalIds:output_type -> ml_metadata.GetExecutionTypesByExternalIdsResponse + 59, // 239: ml_metadata.MetadataStoreService.GetContextTypesByExternalIds:output_type -> ml_metadata.GetContextTypesByExternalIdsResponse + 89, // 240: ml_metadata.MetadataStoreService.GetContextsByArtifact:output_type -> ml_metadata.GetContextsByArtifactResponse + 91, // 241: ml_metadata.MetadataStoreService.GetContextsByExecution:output_type -> ml_metadata.GetContextsByExecutionResponse + 93, // 242: ml_metadata.MetadataStoreService.GetParentContextsByContext:output_type -> ml_metadata.GetParentContextsByContextResponse + 95, // 243: ml_metadata.MetadataStoreService.GetChildrenContextsByContext:output_type -> ml_metadata.GetChildrenContextsByContextResponse + 97, // 244: ml_metadata.MetadataStoreService.GetParentContextsByContexts:output_type -> ml_metadata.GetParentContextsByContextsResponse + 99, // 245: ml_metadata.MetadataStoreService.GetChildrenContextsByContexts:output_type -> ml_metadata.GetChildrenContextsByContextsResponse + 101, // 246: ml_metadata.MetadataStoreService.GetArtifactsByContext:output_type -> ml_metadata.GetArtifactsByContextResponse + 103, // 247: ml_metadata.MetadataStoreService.GetExecutionsByContext:output_type -> ml_metadata.GetExecutionsByContextResponse + 105, // 248: ml_metadata.MetadataStoreService.GetLineageGraph:output_type -> ml_metadata.GetLineageGraphResponse + 107, // 249: ml_metadata.MetadataStoreService.GetLineageSubgraph:output_type -> ml_metadata.GetLineageSubgraphResponse + 198, // [198:250] is the sub-list for method output_type + 146, // [146:198] is the sub-list for method input_type + 146, // [146:146] is the sub-list for extension type_name + 146, // [146:146] is the sub-list for extension extendee + 0, // [0:146] is the sub-list for field type_name } func init() { file_ml_metadata_proto_metadata_store_service_proto_init() } @@ -6630,8 +8812,104 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArtifactStructMap); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtifactStructMap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtifactStructList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtifactStruct); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutArtifactsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutArtifactsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutArtifactTypeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutArtifactTypeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutExecutionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutExecutionsResponse); i { case 0: return &v.state case 1: @@ -6642,8 +8920,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArtifactStructList); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutExecutionTypeRequest); i { case 0: return &v.state case 1: @@ -6654,8 +8932,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArtifactStruct); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutExecutionTypeResponse); i { case 0: return &v.state case 1: @@ -6666,8 +8944,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutArtifactsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutEventsRequest); i { case 0: return &v.state case 1: @@ -6678,8 +8956,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutArtifactsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutEventsResponse); i { case 0: return &v.state case 1: @@ -6690,8 +8968,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutArtifactTypeRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutExecutionRequest); i { case 0: return &v.state case 1: @@ -6702,8 +8980,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutArtifactTypeResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutExecutionResponse); i { case 0: return &v.state case 1: @@ -6714,8 +8992,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutExecutionsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutLineageSubgraphRequest); i { case 0: return &v.state case 1: @@ -6726,8 +9004,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutExecutionsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutLineageSubgraphResponse); i { case 0: return &v.state case 1: @@ -6738,8 +9016,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutExecutionTypeRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutTypesRequest); i { case 0: return &v.state case 1: @@ -6750,8 +9028,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutExecutionTypeResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutTypesResponse); i { case 0: return &v.state case 1: @@ -6762,8 +9040,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutEventsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutContextTypeRequest); i { case 0: return &v.state case 1: @@ -6774,8 +9052,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutEventsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutContextTypeResponse); i { case 0: return &v.state case 1: @@ -6786,8 +9064,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutExecutionRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutContextsRequest); i { case 0: return &v.state case 1: @@ -6798,8 +9076,200 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutExecutionResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutContextsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutAttributionsAndAssociationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutAttributionsAndAssociationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutParentContextsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutParentContextsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsByTypeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsByTypeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactByTypeAndNameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactByTypeAndNameResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsByIDRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsByIDResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsByURIRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsByURIResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionsResponse); i { case 0: return &v.state case 1: @@ -6810,8 +9280,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutTypesRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactTypeRequest); i { case 0: return &v.state case 1: @@ -6822,8 +9292,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutTypesResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactTypeResponse); i { case 0: return &v.state case 1: @@ -6834,8 +9304,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutContextTypeRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactTypesRequest); i { case 0: return &v.state case 1: @@ -6846,8 +9316,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutContextTypeResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactTypesResponse); i { case 0: return &v.state case 1: @@ -6858,8 +9328,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutContextsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionTypesRequest); i { case 0: return &v.state case 1: @@ -6870,8 +9340,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutContextsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionTypesResponse); i { case 0: return &v.state case 1: @@ -6882,8 +9352,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutAttributionsAndAssociationsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextTypesRequest); i { case 0: return &v.state case 1: @@ -6894,8 +9364,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutAttributionsAndAssociationsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextTypesResponse); i { case 0: return &v.state case 1: @@ -6906,8 +9376,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutParentContextsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsByExternalIdsRequest); i { case 0: return &v.state case 1: @@ -6918,8 +9388,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutParentContextsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsByExternalIdsResponse); i { case 0: return &v.state case 1: @@ -6930,8 +9400,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactsByTypeRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionsByExternalIdsRequest); i { case 0: return &v.state case 1: @@ -6942,8 +9412,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactsByTypeResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionsByExternalIdsResponse); i { case 0: return &v.state case 1: @@ -6954,8 +9424,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactByTypeAndNameRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsByExternalIdsRequest); i { case 0: return &v.state case 1: @@ -6966,8 +9436,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactByTypeAndNameResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsByExternalIdsResponse); i { case 0: return &v.state case 1: @@ -6978,8 +9448,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactsByIDRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactTypesByExternalIdsRequest); i { case 0: return &v.state case 1: @@ -6990,8 +9460,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactsByIDResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactTypesByExternalIdsResponse); i { case 0: return &v.state case 1: @@ -7002,8 +9472,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionTypesByExternalIdsRequest); i { case 0: return &v.state case 1: @@ -7014,8 +9484,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionTypesByExternalIdsResponse); i { case 0: return &v.state case 1: @@ -7026,8 +9496,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactsByURIRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextTypesByExternalIdsRequest); i { case 0: return &v.state case 1: @@ -7038,8 +9508,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactsByURIResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextTypesByExternalIdsResponse); i { case 0: return &v.state case 1: @@ -7050,8 +9520,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionsByTypeRequest); i { case 0: return &v.state case 1: @@ -7062,8 +9532,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionsByTypeResponse); i { case 0: return &v.state case 1: @@ -7074,8 +9544,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactTypeRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionByTypeAndNameRequest); i { case 0: return &v.state case 1: @@ -7086,8 +9556,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactTypeResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionByTypeAndNameResponse); i { case 0: return &v.state case 1: @@ -7098,8 +9568,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactTypesRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionsByIDRequest); i { case 0: return &v.state case 1: @@ -7110,8 +9580,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactTypesResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionsByIDResponse); i { case 0: return &v.state case 1: @@ -7122,8 +9592,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionTypesRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionTypeRequest); i { case 0: return &v.state case 1: @@ -7134,8 +9604,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionTypesResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionTypeResponse); i { case 0: return &v.state case 1: @@ -7146,8 +9616,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextTypesRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEventsByExecutionIDsRequest); i { case 0: return &v.state case 1: @@ -7158,8 +9628,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextTypesResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEventsByExecutionIDsResponse); i { case 0: return &v.state case 1: @@ -7170,8 +9640,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionsByTypeRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEventsByArtifactIDsRequest); i { case 0: return &v.state case 1: @@ -7182,8 +9652,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionsByTypeResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetEventsByArtifactIDsResponse); i { case 0: return &v.state case 1: @@ -7194,8 +9664,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionByTypeAndNameRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactTypesByIDRequest); i { case 0: return &v.state case 1: @@ -7206,8 +9676,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionByTypeAndNameResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactTypesByIDResponse); i { case 0: return &v.state case 1: @@ -7218,8 +9688,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionsByIDRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionTypesByIDRequest); i { case 0: return &v.state case 1: @@ -7230,8 +9700,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionsByIDResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionTypesByIDResponse); i { case 0: return &v.state case 1: @@ -7242,8 +9712,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionTypeRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextTypeRequest); i { case 0: return &v.state case 1: @@ -7254,8 +9724,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionTypeResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextTypeResponse); i { case 0: return &v.state case 1: @@ -7266,8 +9736,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEventsByExecutionIDsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextTypesByIDRequest); i { case 0: return &v.state case 1: @@ -7278,8 +9748,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEventsByExecutionIDsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextTypesByIDResponse); i { case 0: return &v.state case 1: @@ -7290,8 +9760,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEventsByArtifactIDsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsRequest); i { case 0: return &v.state case 1: @@ -7302,8 +9772,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetEventsByArtifactIDsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsResponse); i { case 0: return &v.state case 1: @@ -7314,8 +9784,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactTypesByIDRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsByTypeRequest); i { case 0: return &v.state case 1: @@ -7326,8 +9796,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactTypesByIDResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsByTypeResponse); i { case 0: return &v.state case 1: @@ -7338,8 +9808,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionTypesByIDRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextByTypeAndNameRequest); i { case 0: return &v.state case 1: @@ -7350,8 +9820,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionTypesByIDResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextByTypeAndNameResponse); i { case 0: return &v.state case 1: @@ -7362,8 +9832,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextTypeRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsByIDRequest); i { case 0: return &v.state case 1: @@ -7374,8 +9844,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextTypeResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsByIDResponse); i { case 0: return &v.state case 1: @@ -7386,8 +9856,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextTypesByIDRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsByArtifactRequest); i { case 0: return &v.state case 1: @@ -7398,8 +9868,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextTypesByIDResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsByArtifactResponse); i { case 0: return &v.state case 1: @@ -7410,8 +9880,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextsRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsByExecutionRequest); i { case 0: return &v.state case 1: @@ -7422,8 +9892,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextsResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetContextsByExecutionResponse); i { case 0: return &v.state case 1: @@ -7434,8 +9904,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextsByTypeRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetParentContextsByContextRequest); i { case 0: return &v.state case 1: @@ -7446,8 +9916,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextsByTypeResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetParentContextsByContextResponse); i { case 0: return &v.state case 1: @@ -7458,8 +9928,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextByTypeAndNameRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetChildrenContextsByContextRequest); i { case 0: return &v.state case 1: @@ -7470,8 +9940,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextByTypeAndNameResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetChildrenContextsByContextResponse); i { case 0: return &v.state case 1: @@ -7482,8 +9952,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextsByIDRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetParentContextsByContextsRequest); i { case 0: return &v.state case 1: @@ -7494,8 +9964,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextsByIDResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetParentContextsByContextsResponse); i { case 0: return &v.state case 1: @@ -7506,8 +9976,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextsByArtifactRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetChildrenContextsByContextsRequest); i { case 0: return &v.state case 1: @@ -7518,8 +9988,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextsByArtifactResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetChildrenContextsByContextsResponse); i { case 0: return &v.state case 1: @@ -7530,8 +10000,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextsByExecutionRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsByContextRequest); i { case 0: return &v.state case 1: @@ -7542,8 +10012,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetContextsByExecutionResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArtifactsByContextResponse); i { case 0: return &v.state case 1: @@ -7554,8 +10024,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetParentContextsByContextRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionsByContextRequest); i { case 0: return &v.state case 1: @@ -7566,8 +10036,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetParentContextsByContextResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetExecutionsByContextResponse); i { case 0: return &v.state case 1: @@ -7578,8 +10048,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetChildrenContextsByContextRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLineageGraphRequest); i { case 0: return &v.state case 1: @@ -7590,8 +10060,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetChildrenContextsByContextResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLineageGraphResponse); i { case 0: return &v.state case 1: @@ -7602,8 +10072,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactsByContextRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLineageSubgraphRequest); i { case 0: return &v.state case 1: @@ -7614,8 +10084,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtifactsByContextResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLineageSubgraphResponse); i { case 0: return &v.state case 1: @@ -7626,8 +10096,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionsByContextRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutArtifactsRequest_Options); i { case 0: return &v.state case 1: @@ -7638,8 +10108,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetExecutionsByContextResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutExecutionRequest_ArtifactAndEvent); i { case 0: return &v.state case 1: @@ -7650,8 +10120,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLineageGraphRequest); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutExecutionRequest_Options); i { case 0: return &v.state case 1: @@ -7662,8 +10132,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLineageGraphResponse); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutLineageSubgraphRequest_EventEdge); i { case 0: return &v.state case 1: @@ -7674,8 +10144,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutArtifactsRequest_Options); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PutLineageSubgraphRequest_Options); i { case 0: return &v.state case 1: @@ -7686,8 +10156,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutExecutionRequest_ArtifactAndEvent); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetParentContextsByContextsResponse_ParentContextsPerChild); i { case 0: return &v.state case 1: @@ -7698,8 +10168,8 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { return nil } } - file_ml_metadata_proto_metadata_store_service_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutExecutionRequest_Options); i { + file_ml_metadata_proto_metadata_store_service_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetChildrenContextsByContextsResponse_ChildrenContextsPerParent); i { case 0: return &v.state case 1: @@ -7722,7 +10192,7 @@ func file_ml_metadata_proto_metadata_store_service_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_ml_metadata_proto_metadata_store_service_proto_rawDesc, NumEnums: 0, - NumMessages: 92, + NumMessages: 118, NumExtensions: 0, NumServices: 1, }, diff --git a/third_party/ml-metadata/go/ml_metadata/metadata_store_service_grpc.pb.go b/third_party/ml-metadata/go/ml_metadata/metadata_store_service_grpc.pb.go index a9426e01023..9417ff46a2c 100644 --- a/third_party/ml-metadata/go/ml_metadata/metadata_store_service_grpc.pb.go +++ b/third_party/ml-metadata/go/ml_metadata/metadata_store_service_grpc.pb.go @@ -83,6 +83,10 @@ type MetadataStoreServiceClient interface { // For new artifacts, type must be specified. // For old artifacts, type must be unchanged or unspecified. // + // It is not guaranteed that the created or updated artifacts will share the + // same `create_time_since_epoch` or `last_update_time_since_epoch` + // timestamps. + // // Args: // artifacts: A list of artifacts to insert or update. // @@ -96,6 +100,10 @@ type MetadataStoreServiceClient interface { // For new executions, type must be specified. // For old executions, type must be unchanged or unspecified. // + // It is not guaranteed that the created or updated executions will share the + // same `create_time_since_epoch` or `last_update_time_since_epoch` + // timestamps. + // // Args: // executions: A list of executions to insert or update. // @@ -107,6 +115,10 @@ type MetadataStoreServiceClient interface { // // The execution_id and artifact_id must already exist. // Once created, events cannot be modified. + // AlreadyExists error will be raised if duplicated events are found. + // + // It is not guaranteed that the created or updated events will share the + // same `milliseconds_since_epoch` timestamps. // // Args: // events: A list of events to insert or update. @@ -117,9 +129,16 @@ type MetadataStoreServiceClient interface { // input/output Event. The `contexts` describe the associations of the // execution and the attributions of the artifacts. // - // If an execution_id, artifact_id or context_id is specified, it is an - // update, otherwise it does an insertion. For insertion, type must be - // specified. + // If an execution_id is specified, it is an update on the corresponding + // execution, otherwise it does an insertion. + // For insertion, type must be specified. Same rule applies to artifacts + // and contexts in the request. Corresponding errors may raised. For example: + // AlreadyExists error will be raised if duplicated executions, artifacts + // or events are found. + // + // It is not guaranteed that the created or updated executions, artifacts, + // contexts and events will share the same `create_time_since_epoch`, + // `last_update_time_since_epoch`, or `milliseconds_since_epoch` timestamps. // // Args: // execution: An execution to insert or update. @@ -130,6 +149,36 @@ type MetadataStoreServiceClient interface { // An execution id and a list of artifacts and contexts ids index-aligned // with the input. PutExecution(ctx context.Context, in *PutExecutionRequest, opts ...grpc.CallOption) (*PutExecutionResponse, error) + // Inserts or updates a lineage subgraph (i.e. a collection of event edges + // and its executions, artifacts, and related contexts) atomically. The + // `event_edges` include an Event and the indices of the corresponding + // execution and artifact from the input list of executions and artifacts. The + // `contexts` describe the associations of the Execution and the attributions + // of the Artifact. + // + // If an execution_id is specified, it is an update on the corresponding + // Execution, otherwise it does an insertion. For insertion, type must be + // specified. These rules apply to Artifacts and Contexts as well. + // Corresponding errors may be raised. For example: AlreadyExists error will + // be raised if duplicated executions, artifacts, or events are found. + // + // It is not guaranteed that the created or updated executions, artifacts, + // contexts and events will share the same `create_time_since_epoch`, + // `last_update_time_since_epoch`, or `milliseconds_since_epoch` timestamps. + // + // Args: + // executions: A list of executions to insert or update. + // artifacts: A list of artifacts to insert or update. + // contexts: A list of contexts to insert and/or create associations and + // attributions with. + // event_edges: A list of events to insert with the indices of the + // corresponding execution and artifact from the input lists of + // executions and artifacts. + // + // Returns: + // Lists of execution, artifact, and context ids index-aligned with the + // inputs. + PutLineageSubgraph(ctx context.Context, in *PutLineageSubgraphRequest, opts ...grpc.CallOption) (*PutLineageSubgraphResponse, error) // Inserts or updates contexts in database and returns a list of context ids. // // If an context_id is specified for a context, it is an update. @@ -137,6 +186,10 @@ type MetadataStoreServiceClient interface { // For new contexts, type must be specified. // For old contexts, type must be unchanged or unspecified. // + // It is not guaranteed that the created or updated contexts will share the + // same `create_time_since_epoch` or `last_update_time_since_epoch` + // timestamps. + // // Args: // contexts: A list of contexts to insert or update. // @@ -229,6 +282,18 @@ type MetadataStoreServiceClient interface { GetEventsByExecutionIDs(ctx context.Context, in *GetEventsByExecutionIDsRequest, opts ...grpc.CallOption) (*GetEventsByExecutionIDsResponse, error) // Gets all events with matching artifact ids. GetEventsByArtifactIDs(ctx context.Context, in *GetEventsByArtifactIDsRequest, opts ...grpc.CallOption) (*GetEventsByArtifactIDsResponse, error) + // Gets all the artifacts with matching external ids. + GetArtifactsByExternalIds(ctx context.Context, in *GetArtifactsByExternalIdsRequest, opts ...grpc.CallOption) (*GetArtifactsByExternalIdsResponse, error) + // Gets all the artifacts with matching external ids. + GetExecutionsByExternalIds(ctx context.Context, in *GetExecutionsByExternalIdsRequest, opts ...grpc.CallOption) (*GetExecutionsByExternalIdsResponse, error) + // Gets all the artifacts with matching external ids. + GetContextsByExternalIds(ctx context.Context, in *GetContextsByExternalIdsRequest, opts ...grpc.CallOption) (*GetContextsByExternalIdsResponse, error) + // Gets all the artifacts with matching external ids. + GetArtifactTypesByExternalIds(ctx context.Context, in *GetArtifactTypesByExternalIdsRequest, opts ...grpc.CallOption) (*GetArtifactTypesByExternalIdsResponse, error) + // Gets all the artifacts with matching external ids. + GetExecutionTypesByExternalIds(ctx context.Context, in *GetExecutionTypesByExternalIdsRequest, opts ...grpc.CallOption) (*GetExecutionTypesByExternalIdsResponse, error) + // Gets all the artifacts with matching external ids. + GetContextTypesByExternalIds(ctx context.Context, in *GetContextTypesByExternalIdsRequest, opts ...grpc.CallOption) (*GetContextTypesByExternalIdsResponse, error) // Gets all context that an artifact is attributed to. GetContextsByArtifact(ctx context.Context, in *GetContextsByArtifactRequest, opts ...grpc.CallOption) (*GetContextsByArtifactResponse, error) // Gets all context that an execution is associated with. @@ -237,14 +302,26 @@ type MetadataStoreServiceClient interface { GetParentContextsByContext(ctx context.Context, in *GetParentContextsByContextRequest, opts ...grpc.CallOption) (*GetParentContextsByContextResponse, error) // Gets all children contexts that a context is related. GetChildrenContextsByContext(ctx context.Context, in *GetChildrenContextsByContextRequest, opts ...grpc.CallOption) (*GetChildrenContextsByContextResponse, error) + // Batch getting all the parent contexts that a list of contexts are related. + GetParentContextsByContexts(ctx context.Context, in *GetParentContextsByContextsRequest, opts ...grpc.CallOption) (*GetParentContextsByContextsResponse, error) + // Batch getting all the children contexts that a list of contexts are + // related. + GetChildrenContextsByContexts(ctx context.Context, in *GetChildrenContextsByContextsRequest, opts ...grpc.CallOption) (*GetChildrenContextsByContextsResponse, error) // Gets all direct artifacts that a context attributes to. GetArtifactsByContext(ctx context.Context, in *GetArtifactsByContextRequest, opts ...grpc.CallOption) (*GetArtifactsByContextResponse, error) // Gets all direct executions that a context associates with. GetExecutionsByContext(ctx context.Context, in *GetExecutionsByContextRequest, opts ...grpc.CallOption) (*GetExecutionsByContextResponse, error) + // TODO(b/283852485): Deprecate GetLineageGraph API after migration to + // GetLineageSubgraph API. // The transaction performs a constrained transitive closure and returns a // lineage subgraph satisfying the conditions and constraints specified in // the GetLineageGraphRequest. GetLineageGraph(ctx context.Context, in *GetLineageGraphRequest, opts ...grpc.CallOption) (*GetLineageGraphResponse, error) + // Gets a lineage subgraph by performing graph traversal from a list of + // interested nodes. + // A lineage subgraph without node details (e.g., external_id, properties) + // will be returned. + GetLineageSubgraph(ctx context.Context, in *GetLineageSubgraphRequest, opts ...grpc.CallOption) (*GetLineageSubgraphResponse, error) } type metadataStoreServiceClient struct { @@ -327,6 +404,15 @@ func (c *metadataStoreServiceClient) PutExecution(ctx context.Context, in *PutEx return out, nil } +func (c *metadataStoreServiceClient) PutLineageSubgraph(ctx context.Context, in *PutLineageSubgraphRequest, opts ...grpc.CallOption) (*PutLineageSubgraphResponse, error) { + out := new(PutLineageSubgraphResponse) + err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/PutLineageSubgraph", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *metadataStoreServiceClient) PutContexts(ctx context.Context, in *PutContextsRequest, opts ...grpc.CallOption) (*PutContextsResponse, error) { out := new(PutContextsResponse) err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/PutContexts", in, out, opts...) @@ -570,6 +656,60 @@ func (c *metadataStoreServiceClient) GetEventsByArtifactIDs(ctx context.Context, return out, nil } +func (c *metadataStoreServiceClient) GetArtifactsByExternalIds(ctx context.Context, in *GetArtifactsByExternalIdsRequest, opts ...grpc.CallOption) (*GetArtifactsByExternalIdsResponse, error) { + out := new(GetArtifactsByExternalIdsResponse) + err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetArtifactsByExternalIds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metadataStoreServiceClient) GetExecutionsByExternalIds(ctx context.Context, in *GetExecutionsByExternalIdsRequest, opts ...grpc.CallOption) (*GetExecutionsByExternalIdsResponse, error) { + out := new(GetExecutionsByExternalIdsResponse) + err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetExecutionsByExternalIds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metadataStoreServiceClient) GetContextsByExternalIds(ctx context.Context, in *GetContextsByExternalIdsRequest, opts ...grpc.CallOption) (*GetContextsByExternalIdsResponse, error) { + out := new(GetContextsByExternalIdsResponse) + err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetContextsByExternalIds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metadataStoreServiceClient) GetArtifactTypesByExternalIds(ctx context.Context, in *GetArtifactTypesByExternalIdsRequest, opts ...grpc.CallOption) (*GetArtifactTypesByExternalIdsResponse, error) { + out := new(GetArtifactTypesByExternalIdsResponse) + err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetArtifactTypesByExternalIds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metadataStoreServiceClient) GetExecutionTypesByExternalIds(ctx context.Context, in *GetExecutionTypesByExternalIdsRequest, opts ...grpc.CallOption) (*GetExecutionTypesByExternalIdsResponse, error) { + out := new(GetExecutionTypesByExternalIdsResponse) + err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetExecutionTypesByExternalIds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metadataStoreServiceClient) GetContextTypesByExternalIds(ctx context.Context, in *GetContextTypesByExternalIdsRequest, opts ...grpc.CallOption) (*GetContextTypesByExternalIdsResponse, error) { + out := new(GetContextTypesByExternalIdsResponse) + err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetContextTypesByExternalIds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *metadataStoreServiceClient) GetContextsByArtifact(ctx context.Context, in *GetContextsByArtifactRequest, opts ...grpc.CallOption) (*GetContextsByArtifactResponse, error) { out := new(GetContextsByArtifactResponse) err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetContextsByArtifact", in, out, opts...) @@ -606,6 +746,24 @@ func (c *metadataStoreServiceClient) GetChildrenContextsByContext(ctx context.Co return out, nil } +func (c *metadataStoreServiceClient) GetParentContextsByContexts(ctx context.Context, in *GetParentContextsByContextsRequest, opts ...grpc.CallOption) (*GetParentContextsByContextsResponse, error) { + out := new(GetParentContextsByContextsResponse) + err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetParentContextsByContexts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *metadataStoreServiceClient) GetChildrenContextsByContexts(ctx context.Context, in *GetChildrenContextsByContextsRequest, opts ...grpc.CallOption) (*GetChildrenContextsByContextsResponse, error) { + out := new(GetChildrenContextsByContextsResponse) + err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetChildrenContextsByContexts", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *metadataStoreServiceClient) GetArtifactsByContext(ctx context.Context, in *GetArtifactsByContextRequest, opts ...grpc.CallOption) (*GetArtifactsByContextResponse, error) { out := new(GetArtifactsByContextResponse) err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetArtifactsByContext", in, out, opts...) @@ -633,6 +791,15 @@ func (c *metadataStoreServiceClient) GetLineageGraph(ctx context.Context, in *Ge return out, nil } +func (c *metadataStoreServiceClient) GetLineageSubgraph(ctx context.Context, in *GetLineageSubgraphRequest, opts ...grpc.CallOption) (*GetLineageSubgraphResponse, error) { + out := new(GetLineageSubgraphResponse) + err := c.cc.Invoke(ctx, "/ml_metadata.MetadataStoreService/GetLineageSubgraph", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MetadataStoreServiceServer is the server API for MetadataStoreService service. // All implementations must embed UnimplementedMetadataStoreServiceServer // for forward compatibility @@ -702,6 +869,10 @@ type MetadataStoreServiceServer interface { // For new artifacts, type must be specified. // For old artifacts, type must be unchanged or unspecified. // + // It is not guaranteed that the created or updated artifacts will share the + // same `create_time_since_epoch` or `last_update_time_since_epoch` + // timestamps. + // // Args: // artifacts: A list of artifacts to insert or update. // @@ -715,6 +886,10 @@ type MetadataStoreServiceServer interface { // For new executions, type must be specified. // For old executions, type must be unchanged or unspecified. // + // It is not guaranteed that the created or updated executions will share the + // same `create_time_since_epoch` or `last_update_time_since_epoch` + // timestamps. + // // Args: // executions: A list of executions to insert or update. // @@ -726,6 +901,10 @@ type MetadataStoreServiceServer interface { // // The execution_id and artifact_id must already exist. // Once created, events cannot be modified. + // AlreadyExists error will be raised if duplicated events are found. + // + // It is not guaranteed that the created or updated events will share the + // same `milliseconds_since_epoch` timestamps. // // Args: // events: A list of events to insert or update. @@ -736,9 +915,16 @@ type MetadataStoreServiceServer interface { // input/output Event. The `contexts` describe the associations of the // execution and the attributions of the artifacts. // - // If an execution_id, artifact_id or context_id is specified, it is an - // update, otherwise it does an insertion. For insertion, type must be - // specified. + // If an execution_id is specified, it is an update on the corresponding + // execution, otherwise it does an insertion. + // For insertion, type must be specified. Same rule applies to artifacts + // and contexts in the request. Corresponding errors may raised. For example: + // AlreadyExists error will be raised if duplicated executions, artifacts + // or events are found. + // + // It is not guaranteed that the created or updated executions, artifacts, + // contexts and events will share the same `create_time_since_epoch`, + // `last_update_time_since_epoch`, or `milliseconds_since_epoch` timestamps. // // Args: // execution: An execution to insert or update. @@ -749,6 +935,36 @@ type MetadataStoreServiceServer interface { // An execution id and a list of artifacts and contexts ids index-aligned // with the input. PutExecution(context.Context, *PutExecutionRequest) (*PutExecutionResponse, error) + // Inserts or updates a lineage subgraph (i.e. a collection of event edges + // and its executions, artifacts, and related contexts) atomically. The + // `event_edges` include an Event and the indices of the corresponding + // execution and artifact from the input list of executions and artifacts. The + // `contexts` describe the associations of the Execution and the attributions + // of the Artifact. + // + // If an execution_id is specified, it is an update on the corresponding + // Execution, otherwise it does an insertion. For insertion, type must be + // specified. These rules apply to Artifacts and Contexts as well. + // Corresponding errors may be raised. For example: AlreadyExists error will + // be raised if duplicated executions, artifacts, or events are found. + // + // It is not guaranteed that the created or updated executions, artifacts, + // contexts and events will share the same `create_time_since_epoch`, + // `last_update_time_since_epoch`, or `milliseconds_since_epoch` timestamps. + // + // Args: + // executions: A list of executions to insert or update. + // artifacts: A list of artifacts to insert or update. + // contexts: A list of contexts to insert and/or create associations and + // attributions with. + // event_edges: A list of events to insert with the indices of the + // corresponding execution and artifact from the input lists of + // executions and artifacts. + // + // Returns: + // Lists of execution, artifact, and context ids index-aligned with the + // inputs. + PutLineageSubgraph(context.Context, *PutLineageSubgraphRequest) (*PutLineageSubgraphResponse, error) // Inserts or updates contexts in database and returns a list of context ids. // // If an context_id is specified for a context, it is an update. @@ -756,6 +972,10 @@ type MetadataStoreServiceServer interface { // For new contexts, type must be specified. // For old contexts, type must be unchanged or unspecified. // + // It is not guaranteed that the created or updated contexts will share the + // same `create_time_since_epoch` or `last_update_time_since_epoch` + // timestamps. + // // Args: // contexts: A list of contexts to insert or update. // @@ -848,6 +1068,18 @@ type MetadataStoreServiceServer interface { GetEventsByExecutionIDs(context.Context, *GetEventsByExecutionIDsRequest) (*GetEventsByExecutionIDsResponse, error) // Gets all events with matching artifact ids. GetEventsByArtifactIDs(context.Context, *GetEventsByArtifactIDsRequest) (*GetEventsByArtifactIDsResponse, error) + // Gets all the artifacts with matching external ids. + GetArtifactsByExternalIds(context.Context, *GetArtifactsByExternalIdsRequest) (*GetArtifactsByExternalIdsResponse, error) + // Gets all the artifacts with matching external ids. + GetExecutionsByExternalIds(context.Context, *GetExecutionsByExternalIdsRequest) (*GetExecutionsByExternalIdsResponse, error) + // Gets all the artifacts with matching external ids. + GetContextsByExternalIds(context.Context, *GetContextsByExternalIdsRequest) (*GetContextsByExternalIdsResponse, error) + // Gets all the artifacts with matching external ids. + GetArtifactTypesByExternalIds(context.Context, *GetArtifactTypesByExternalIdsRequest) (*GetArtifactTypesByExternalIdsResponse, error) + // Gets all the artifacts with matching external ids. + GetExecutionTypesByExternalIds(context.Context, *GetExecutionTypesByExternalIdsRequest) (*GetExecutionTypesByExternalIdsResponse, error) + // Gets all the artifacts with matching external ids. + GetContextTypesByExternalIds(context.Context, *GetContextTypesByExternalIdsRequest) (*GetContextTypesByExternalIdsResponse, error) // Gets all context that an artifact is attributed to. GetContextsByArtifact(context.Context, *GetContextsByArtifactRequest) (*GetContextsByArtifactResponse, error) // Gets all context that an execution is associated with. @@ -856,14 +1088,26 @@ type MetadataStoreServiceServer interface { GetParentContextsByContext(context.Context, *GetParentContextsByContextRequest) (*GetParentContextsByContextResponse, error) // Gets all children contexts that a context is related. GetChildrenContextsByContext(context.Context, *GetChildrenContextsByContextRequest) (*GetChildrenContextsByContextResponse, error) + // Batch getting all the parent contexts that a list of contexts are related. + GetParentContextsByContexts(context.Context, *GetParentContextsByContextsRequest) (*GetParentContextsByContextsResponse, error) + // Batch getting all the children contexts that a list of contexts are + // related. + GetChildrenContextsByContexts(context.Context, *GetChildrenContextsByContextsRequest) (*GetChildrenContextsByContextsResponse, error) // Gets all direct artifacts that a context attributes to. GetArtifactsByContext(context.Context, *GetArtifactsByContextRequest) (*GetArtifactsByContextResponse, error) // Gets all direct executions that a context associates with. GetExecutionsByContext(context.Context, *GetExecutionsByContextRequest) (*GetExecutionsByContextResponse, error) + // TODO(b/283852485): Deprecate GetLineageGraph API after migration to + // GetLineageSubgraph API. // The transaction performs a constrained transitive closure and returns a // lineage subgraph satisfying the conditions and constraints specified in // the GetLineageGraphRequest. GetLineageGraph(context.Context, *GetLineageGraphRequest) (*GetLineageGraphResponse, error) + // Gets a lineage subgraph by performing graph traversal from a list of + // interested nodes. + // A lineage subgraph without node details (e.g., external_id, properties) + // will be returned. + GetLineageSubgraph(context.Context, *GetLineageSubgraphRequest) (*GetLineageSubgraphResponse, error) mustEmbedUnimplementedMetadataStoreServiceServer() } @@ -895,6 +1139,9 @@ func (UnimplementedMetadataStoreServiceServer) PutEvents(context.Context, *PutEv func (UnimplementedMetadataStoreServiceServer) PutExecution(context.Context, *PutExecutionRequest) (*PutExecutionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PutExecution not implemented") } +func (UnimplementedMetadataStoreServiceServer) PutLineageSubgraph(context.Context, *PutLineageSubgraphRequest) (*PutLineageSubgraphResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PutLineageSubgraph not implemented") +} func (UnimplementedMetadataStoreServiceServer) PutContexts(context.Context, *PutContextsRequest) (*PutContextsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PutContexts not implemented") } @@ -976,6 +1223,24 @@ func (UnimplementedMetadataStoreServiceServer) GetEventsByExecutionIDs(context.C func (UnimplementedMetadataStoreServiceServer) GetEventsByArtifactIDs(context.Context, *GetEventsByArtifactIDsRequest) (*GetEventsByArtifactIDsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetEventsByArtifactIDs not implemented") } +func (UnimplementedMetadataStoreServiceServer) GetArtifactsByExternalIds(context.Context, *GetArtifactsByExternalIdsRequest) (*GetArtifactsByExternalIdsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetArtifactsByExternalIds not implemented") +} +func (UnimplementedMetadataStoreServiceServer) GetExecutionsByExternalIds(context.Context, *GetExecutionsByExternalIdsRequest) (*GetExecutionsByExternalIdsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExecutionsByExternalIds not implemented") +} +func (UnimplementedMetadataStoreServiceServer) GetContextsByExternalIds(context.Context, *GetContextsByExternalIdsRequest) (*GetContextsByExternalIdsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetContextsByExternalIds not implemented") +} +func (UnimplementedMetadataStoreServiceServer) GetArtifactTypesByExternalIds(context.Context, *GetArtifactTypesByExternalIdsRequest) (*GetArtifactTypesByExternalIdsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetArtifactTypesByExternalIds not implemented") +} +func (UnimplementedMetadataStoreServiceServer) GetExecutionTypesByExternalIds(context.Context, *GetExecutionTypesByExternalIdsRequest) (*GetExecutionTypesByExternalIdsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExecutionTypesByExternalIds not implemented") +} +func (UnimplementedMetadataStoreServiceServer) GetContextTypesByExternalIds(context.Context, *GetContextTypesByExternalIdsRequest) (*GetContextTypesByExternalIdsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetContextTypesByExternalIds not implemented") +} func (UnimplementedMetadataStoreServiceServer) GetContextsByArtifact(context.Context, *GetContextsByArtifactRequest) (*GetContextsByArtifactResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetContextsByArtifact not implemented") } @@ -988,6 +1253,12 @@ func (UnimplementedMetadataStoreServiceServer) GetParentContextsByContext(contex func (UnimplementedMetadataStoreServiceServer) GetChildrenContextsByContext(context.Context, *GetChildrenContextsByContextRequest) (*GetChildrenContextsByContextResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetChildrenContextsByContext not implemented") } +func (UnimplementedMetadataStoreServiceServer) GetParentContextsByContexts(context.Context, *GetParentContextsByContextsRequest) (*GetParentContextsByContextsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetParentContextsByContexts not implemented") +} +func (UnimplementedMetadataStoreServiceServer) GetChildrenContextsByContexts(context.Context, *GetChildrenContextsByContextsRequest) (*GetChildrenContextsByContextsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetChildrenContextsByContexts not implemented") +} func (UnimplementedMetadataStoreServiceServer) GetArtifactsByContext(context.Context, *GetArtifactsByContextRequest) (*GetArtifactsByContextResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArtifactsByContext not implemented") } @@ -997,6 +1268,9 @@ func (UnimplementedMetadataStoreServiceServer) GetExecutionsByContext(context.Co func (UnimplementedMetadataStoreServiceServer) GetLineageGraph(context.Context, *GetLineageGraphRequest) (*GetLineageGraphResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetLineageGraph not implemented") } +func (UnimplementedMetadataStoreServiceServer) GetLineageSubgraph(context.Context, *GetLineageSubgraphRequest) (*GetLineageSubgraphResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLineageSubgraph not implemented") +} func (UnimplementedMetadataStoreServiceServer) mustEmbedUnimplementedMetadataStoreServiceServer() {} // UnsafeMetadataStoreServiceServer may be embedded to opt out of forward compatibility for this service. @@ -1154,6 +1428,24 @@ func _MetadataStoreService_PutExecution_Handler(srv interface{}, ctx context.Con return interceptor(ctx, in, info, handler) } +func _MetadataStoreService_PutLineageSubgraph_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PutLineageSubgraphRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetadataStoreServiceServer).PutLineageSubgraph(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/ml_metadata.MetadataStoreService/PutLineageSubgraph", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetadataStoreServiceServer).PutLineageSubgraph(ctx, req.(*PutLineageSubgraphRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _MetadataStoreService_PutContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(PutContextsRequest) if err := dec(in); err != nil { @@ -1640,6 +1932,114 @@ func _MetadataStoreService_GetEventsByArtifactIDs_Handler(srv interface{}, ctx c return interceptor(ctx, in, info, handler) } +func _MetadataStoreService_GetArtifactsByExternalIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetArtifactsByExternalIdsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetadataStoreServiceServer).GetArtifactsByExternalIds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/ml_metadata.MetadataStoreService/GetArtifactsByExternalIds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetadataStoreServiceServer).GetArtifactsByExternalIds(ctx, req.(*GetArtifactsByExternalIdsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetadataStoreService_GetExecutionsByExternalIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetExecutionsByExternalIdsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetadataStoreServiceServer).GetExecutionsByExternalIds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/ml_metadata.MetadataStoreService/GetExecutionsByExternalIds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetadataStoreServiceServer).GetExecutionsByExternalIds(ctx, req.(*GetExecutionsByExternalIdsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetadataStoreService_GetContextsByExternalIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetContextsByExternalIdsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetadataStoreServiceServer).GetContextsByExternalIds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/ml_metadata.MetadataStoreService/GetContextsByExternalIds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetadataStoreServiceServer).GetContextsByExternalIds(ctx, req.(*GetContextsByExternalIdsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetadataStoreService_GetArtifactTypesByExternalIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetArtifactTypesByExternalIdsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetadataStoreServiceServer).GetArtifactTypesByExternalIds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/ml_metadata.MetadataStoreService/GetArtifactTypesByExternalIds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetadataStoreServiceServer).GetArtifactTypesByExternalIds(ctx, req.(*GetArtifactTypesByExternalIdsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetadataStoreService_GetExecutionTypesByExternalIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetExecutionTypesByExternalIdsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetadataStoreServiceServer).GetExecutionTypesByExternalIds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/ml_metadata.MetadataStoreService/GetExecutionTypesByExternalIds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetadataStoreServiceServer).GetExecutionTypesByExternalIds(ctx, req.(*GetExecutionTypesByExternalIdsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetadataStoreService_GetContextTypesByExternalIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetContextTypesByExternalIdsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetadataStoreServiceServer).GetContextTypesByExternalIds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/ml_metadata.MetadataStoreService/GetContextTypesByExternalIds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetadataStoreServiceServer).GetContextTypesByExternalIds(ctx, req.(*GetContextTypesByExternalIdsRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _MetadataStoreService_GetContextsByArtifact_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetContextsByArtifactRequest) if err := dec(in); err != nil { @@ -1712,6 +2112,42 @@ func _MetadataStoreService_GetChildrenContextsByContext_Handler(srv interface{}, return interceptor(ctx, in, info, handler) } +func _MetadataStoreService_GetParentContextsByContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetParentContextsByContextsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetadataStoreServiceServer).GetParentContextsByContexts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/ml_metadata.MetadataStoreService/GetParentContextsByContexts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetadataStoreServiceServer).GetParentContextsByContexts(ctx, req.(*GetParentContextsByContextsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MetadataStoreService_GetChildrenContextsByContexts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetChildrenContextsByContextsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetadataStoreServiceServer).GetChildrenContextsByContexts(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/ml_metadata.MetadataStoreService/GetChildrenContextsByContexts", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetadataStoreServiceServer).GetChildrenContextsByContexts(ctx, req.(*GetChildrenContextsByContextsRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _MetadataStoreService_GetArtifactsByContext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetArtifactsByContextRequest) if err := dec(in); err != nil { @@ -1766,6 +2202,24 @@ func _MetadataStoreService_GetLineageGraph_Handler(srv interface{}, ctx context. return interceptor(ctx, in, info, handler) } +func _MetadataStoreService_GetLineageSubgraph_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLineageSubgraphRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MetadataStoreServiceServer).GetLineageSubgraph(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/ml_metadata.MetadataStoreService/GetLineageSubgraph", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MetadataStoreServiceServer).GetLineageSubgraph(ctx, req.(*GetLineageSubgraphRequest)) + } + return interceptor(ctx, in, info, handler) +} + // MetadataStoreService_ServiceDesc is the grpc.ServiceDesc for MetadataStoreService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -1805,6 +2259,10 @@ var MetadataStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "PutExecution", Handler: _MetadataStoreService_PutExecution_Handler, }, + { + MethodName: "PutLineageSubgraph", + Handler: _MetadataStoreService_PutLineageSubgraph_Handler, + }, { MethodName: "PutContexts", Handler: _MetadataStoreService_PutContexts_Handler, @@ -1913,6 +2371,30 @@ var MetadataStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetEventsByArtifactIDs", Handler: _MetadataStoreService_GetEventsByArtifactIDs_Handler, }, + { + MethodName: "GetArtifactsByExternalIds", + Handler: _MetadataStoreService_GetArtifactsByExternalIds_Handler, + }, + { + MethodName: "GetExecutionsByExternalIds", + Handler: _MetadataStoreService_GetExecutionsByExternalIds_Handler, + }, + { + MethodName: "GetContextsByExternalIds", + Handler: _MetadataStoreService_GetContextsByExternalIds_Handler, + }, + { + MethodName: "GetArtifactTypesByExternalIds", + Handler: _MetadataStoreService_GetArtifactTypesByExternalIds_Handler, + }, + { + MethodName: "GetExecutionTypesByExternalIds", + Handler: _MetadataStoreService_GetExecutionTypesByExternalIds_Handler, + }, + { + MethodName: "GetContextTypesByExternalIds", + Handler: _MetadataStoreService_GetContextTypesByExternalIds_Handler, + }, { MethodName: "GetContextsByArtifact", Handler: _MetadataStoreService_GetContextsByArtifact_Handler, @@ -1929,6 +2411,14 @@ var MetadataStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetChildrenContextsByContext", Handler: _MetadataStoreService_GetChildrenContextsByContext_Handler, }, + { + MethodName: "GetParentContextsByContexts", + Handler: _MetadataStoreService_GetParentContextsByContexts_Handler, + }, + { + MethodName: "GetChildrenContextsByContexts", + Handler: _MetadataStoreService_GetChildrenContextsByContexts_Handler, + }, { MethodName: "GetArtifactsByContext", Handler: _MetadataStoreService_GetArtifactsByContext_Handler, @@ -1941,6 +2431,10 @@ var MetadataStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetLineageGraph", Handler: _MetadataStoreService_GetLineageGraph_Handler, }, + { + MethodName: "GetLineageSubgraph", + Handler: _MetadataStoreService_GetLineageSubgraph_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "ml_metadata/proto/metadata_store_service.proto", diff --git a/third_party/ml-metadata/ml_metadata/proto/metadata_store.proto b/third_party/ml-metadata/ml_metadata/proto/metadata_store.proto index b015dd22b16..3bdeae87913 100644 --- a/third_party/ml-metadata/ml_metadata/proto/metadata_store.proto +++ b/third_party/ml-metadata/ml_metadata/proto/metadata_store.proto @@ -16,6 +16,7 @@ syntax = "proto2"; package ml_metadata; +import "google/protobuf/any.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/descriptor.proto"; @@ -36,11 +37,13 @@ message Value { double double_value = 2; string string_value = 3; google.protobuf.Struct struct_value = 4; + google.protobuf.Any proto_value = 5; + bool bool_value = 6; } } message Artifact { - // Output only. The globally unique server generated id of the artifact. + // Output only. The unique server generated id of the artifact. optional int64 id = 1; // The client provided name of the artifact. This field is optional. If set, // it must be unique among all the artifacts of the same artifact type within @@ -54,6 +57,9 @@ message Artifact { // The uniform resource identifier of the physical artifact. // May be empty if there is no physical artifact. optional string uri = 3; + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all artifacts within a database instance. + optional string external_id = 11; // Properties of the artifact. // Properties must be specified in the ArtifactType. map properties = 4; @@ -71,6 +77,17 @@ message Artifact { MARKED_FOR_DELETION = 3; // A state indicating that the artifact has been deleted. DELETED = 4; + // A state indicating that the artifact has been abandoned, which may be + // due to a failed or cancelled execution. + ABANDONED = 5; + // A state indicating that the artifact is a reference artifact. At + // execution start time, the orchestrator produces an output artifact for + // each output key with state PENDING. However, for an intermediate + // artifact, this first artifact's state will be REFERENCE. Intermediate + // artifacts emitted during a component's execution will copy the REFERENCE + // artifact's attributes. At the end of an execution, the artifact state + // should remain REFERENCE instead of being changed to LIVE. + REFERENCE = 6; } // The state of the artifact known to the system. @@ -80,6 +97,9 @@ message Artifact { // Output only. Last update time of the artifact since epoch in millisecond // since epoch. optional int64 last_update_time_since_epoch = 10; + + // Output only. + optional google.protobuf.Any system_metadata = 12; } // The list of supported property value types. @@ -88,7 +108,11 @@ enum PropertyType { INT = 1; DOUBLE = 2; STRING = 3; + // Prefer to use `PROTO` to store structed data since this option has + // inefficient database storage usage. STRUCT = 4; + PROTO = 5; + BOOLEAN = 6; } message ArtifactType { @@ -101,6 +125,10 @@ message ArtifactType { optional string version = 4; // An optional description about the type. optional string description = 5; + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all artifact types within a database + // instance. + optional string external_id = 7; // The schema of the type. // Properties are always optional in the artifact. // Properties of an artifact type can be expanded but not contracted (i.e., @@ -156,40 +184,57 @@ message ArtifactType { // type:DECLARED_OUTPUT, // path:{step:[{"key":"my_result"}]} // } -// Other event types include INPUT/OUTPUT and INTERNAL_INPUT/_OUTPUT. +// +// Other event types include INPUT/OUTPUT, INTERNAL_INPUT/_OUTPUT and +// PENDING_OUTPUT: +// // * The INPUT/OUTPUT is an event that actually reads/writes an artifact by an // execution. The input/output artifacts may not declared in the signature, // For example, the trainer may output multiple caches of the parameters // (as an OUTPUT), then finally write the SavedModel as a DECLARED_OUTPUT. +// // * The INTERNAL_INPUT/_OUTPUT are event types which are only meaningful to // an orchestration system to keep track of the details for later debugging. // For example, a fork happened conditioning on an artifact, then an execution -// is triggered, such fork implementating may need to log the read and write +// is triggered, such fork implementing may need to log the read and write // of artifacts and may not be worth displaying to the users. // -// For instance, in the above example, +// For instance, in the above example, // -// my_result = my_execution({"data":[3,7],"schema":8}) +// my_result = my_execution({"data":[3,7],"schema":8}) // -// there is another execution (id: 15), which represents a `garbage_collection` -// step in an orchestration system +// there is another execution (id: 15), which represents a +// `garbage_collection` step in an orchestration system // -// gc_result = garbage_collection(my_result) +// gc_result = garbage_collection(my_result) // -// that cleans `my_result` if needed. The details should be invisible to the -// end users and lineage tracking. The orchestrator can emit following events: +// that cleans `my_result` if needed. The details should be invisible to the +// end users and lineage tracking. The orchestrator can emit following events: // -// { -// artifact_id: 15, -// execution_id: 15, -// type:INTERNAL_INPUT, -// } -// { -// artifact_id:16, // New artifact containing the GC job result. -// execution_id: 15, -// type:INTERNAL_OUTPUT, -// path:{step:[{"key":"gc_result"}]} -// } +// { +// artifact_id: 15, +// execution_id: 15, +// type:INTERNAL_INPUT, +// } +// { +// artifact_id:16, // New artifact containing the GC job result. +// execution_id: 15, +// type:INTERNAL_OUTPUT, +// path:{step:[{"key":"gc_result"}]} +// } +// +// * The PENDING_OUTPUT event is used to indicate that an artifact is +// tentatively associated with an active execution which has not yet been +// finalized. For example, an orchestration system can register output +// artifacts of a running execution with PENDING_OUTPUT events to indicate +// the output artifacts the execution is expected to produce. When the +// execution is finished, the final set of output artifacts can be associated +// with the exeution using OUTPUT events, and any unused artifacts which were +// previously registered with PENDING_OUTPUT events can be updated to set +// their Artifact.State to ABANDONED. +// +// Events are unique of the same +// (artifact_id, execution_id, type) combination within a metadata store. message Event { // A simple path (e.g. {step{key:"foo"}}) can name an artifact in the context // of an execution. @@ -216,6 +261,7 @@ message Event { OUTPUT = 4; // An output of the execution. INTERNAL_INPUT = 5; // An internal input of the execution. INTERNAL_OUTPUT = 6; // An internal output of the execution. + PENDING_OUTPUT = 7; // A pending output of the execution. } // The artifact id is required for an event, and should refer to an // existing artifact. @@ -230,10 +276,13 @@ message Event { // Time the event occurred // Epoch is Jan 1, 1970, UTC optional int64 milliseconds_since_epoch = 5; + + // Output only. + optional google.protobuf.Any system_metadata = 6; } message Execution { - // Output only. The globally unique server generated id of the execution. + // Output only. The unique server generated id of the execution. optional int64 id = 1; // The client provided name of the execution. This field is optional. If set, // it must be unique among all the executions of the same execution type @@ -245,6 +294,9 @@ message Execution { optional int64 type_id = 2; // Output only. The name of an ExecutionType. optional string type = 7; + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all executions within a database instance. + optional string external_id = 10; // The state of the Execution. The state transitions are // NEW -> RUNNING -> COMPLETE | CACHED | FAILED | CANCELED // CACHED means the execution is skipped due to cached results. @@ -272,6 +324,9 @@ message Execution { optional int64 create_time_since_epoch = 8; // Output only. Last update time of the execution in millisecond since epoch. optional int64 last_update_time_since_epoch = 9; + + // Output only. + optional google.protobuf.Any system_metadata = 11; } message ExecutionType { @@ -284,6 +339,10 @@ message ExecutionType { optional string version = 6; // An optional description about the type. optional string description = 7; + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all execution types within a database + // instance. + optional string external_id = 9; // The schema of the type. // Properties are always optional in the execution. map properties = 3; @@ -335,6 +394,10 @@ message ContextType { optional string version = 4; // An optional description about the type. optional string description = 5; + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all context types within a database + // instance. + optional string external_id = 7; // The schema of the type, e.g., name: string, owner: string // Properties are always optional in the context. // Properties of an context type can be expanded but not contracted (i.e., @@ -354,7 +417,7 @@ message ContextType { } message Context { - // Output Only. The globally unique server generated id of the context. + // Output Only. The unique server generated id of the context. optional int64 id = 1; // The client provided name of the context. It must be unique within a // database instance. @@ -364,6 +427,9 @@ message Context { optional int64 type_id = 2; // Output only. The name of a ContextType. optional string type = 6; + // The external id that come from the clients’ system. This field is optional. + // If set, it must be unique among all contexts within a virtual database. + optional string external_id = 9; // Values of the properties, which must be specified in the ContextType. map properties = 4; // User provided custom properties which are not defined by its type. @@ -372,6 +438,9 @@ message Context { optional int64 create_time_since_epoch = 7; // Output only. Last update time of the context in millisecond since epoch. optional int64 last_update_time_since_epoch = 8; + + // Output only system metadata. + optional google.protobuf.Any system_metadata = 10; } // the Attribution edges between Context and Artifact instances. @@ -534,7 +603,7 @@ message MySQLDatabaseConfig { optional string host = 1; // The TCP Port number that the MYSQL server accepts connections on. // If unspecified, the default MYSQL port (3306) is used. - optional uint32 port = 2; + optional int64 port = 2; // The database to connect to. Must be specified. // After connecting to the MYSQL server, this database is created if not // already present unless skip_db_creation is set. @@ -609,6 +678,71 @@ message SqliteMetadataSourceConfig { optional ConnectionMode connection_mode = 2; } +// A config contains the parameters when using with PostgreSQLMetadatSource. +// Next index: 10 +message PostgreSQLDatabaseConfig { + // Name of host to connect to. If the host name starts with /, it is taken as + // a Unix-domain socket in the abstract namespace. + optional string host = 1; + + // Numeric IP address of host to connect to. If this field is provided, `host` + // field is ignored. + optional string hostaddr = 2; + + // Port number to connect to at the server host, or socket file name extension + // for Unix-domain connections. + optional string port = 3; + + // PostgreSQL user name to connect as. Defaults to be the same as the + // operating system name of the user running the application. + optional string user = 4; + + // Password to be used if the server demands password authentication. + optional string password = 5; + + // Specifies the name of the file used to store passwords. + optional string passfile = 6; + + // The database name. Defaults to be the same as the user name. + optional string dbname = 7; + + // A config to skip the database creation if not exist when connecting the + // db instance. It is useful when the db creation is handled by an admin + // process, while the lib user should not issue db creation clauses. + optional bool skip_db_creation = 8; + + message SSLOptions { + // disable, allow, verify-ca, verify-full, etc. Reference: + // https://www.postgresql.org/docs/current/libpq-connect.html + optional string sslmode = 1; + + // This parameter specifies the file name of the client SSL certificate, + // replacing the default ~/.postgresql/postgresql.crt. This parameter is + // ignored if an SSL connection is not made. + optional string sslcert = 2; + + // This parameter specifies the location for the secret key used for the + // client certificate. It can either specify a file name that will be used + // instead of the default ~/.postgresql/postgresql.key, this parameter is + // ignored if an SSL connection is not made. + optional string sslkey = 3; + + // This parameter specifies the password for the secret key specified in + // sslkey, allowing client certificate private keys to be stored in + // encrypted form on disk even when interactive passphrase input is not + // practical. + optional string sslpassword = 4; + + // This parameter specifies the name of a file containing SSL certificate + // authority (CA) certificate(s). If the file exists, the server's + // certificate will be verified to be signed by one of these authorities. + // The default is ~/.postgresql/root.crt. + optional string sslrootcert = 5; + } + + optional SSLOptions ssloption = 9; +} + message MigrationOptions { // If not set, by default the upgrade migration is disabled. MLMD only @@ -647,6 +781,10 @@ message ConnectionConfig { FakeDatabaseConfig fake_database = 1; MySQLDatabaseConfig mysql = 2; SqliteMetadataSourceConfig sqlite = 3; + + // PostgreSQL database connection config. + PostgreSQLDatabaseConfig postgresql = 5; + } // Options for overwriting the default retry setting when MLMD transactions @@ -672,7 +810,7 @@ message MetadataStoreClientConfig { optional string host = 1; // The TCP Port number that the gRPC server accepts connections on. // Must be specified. - optional uint32 port = 2; + optional int64 port = 2; message SSLConfig { // The PEM-encoded private key as a byte string, or Empty if no private key @@ -757,12 +895,14 @@ message ListOperationOptions { optional string next_page_token = 3; // A boolean expression in SQL syntax that is used to specify the conditions - // on nodes' attributes and 1-hop neighborhood. + // on node attributes and directly connected assets. // // In the current implementation, filtering Artifact/Execution/Context with // the following attributes and neighborhood is supported: // - // Attributes: id:int64, type_id:int64, type:string, uri:string, name: string, + // Attributes: + // id:int64, type_id:int64, type:string, + // uri:string, name: string, external_id: string, // create_time_since_epoch:int64, last_update_time_since_epoch:int64 // state:ENUM (Artifact only) last_known_state:ENUM (Execution only) // @@ -772,6 +912,7 @@ message ListOperationOptions { // custom_properties.$name ($name is the custom property name) // attributes: the following attributes can be used // int_value: int64, double_value: double, string_value: string + // bool_value: bool // // - Context (for Artifact and Execution): // syntax: contexts_$alias ($alias can be [0-9A-Za-z_]) @@ -799,6 +940,7 @@ message ListOperationOptions { // - type = 'my_type_name' // - name = 'foo' // - type = 'bar' AND name LIKE 'foo%' + // - external_id = 'my_external_id' // - NOT(create_time_since_epoch < 1 OR last_update_time_since_epoch < 1) // // b) to filter artifacts' uri @@ -809,10 +951,12 @@ message ListOperationOptions { // c) to filter artifact's state or execution's last_known_state // - state = LIVE // - state IS NULL + // - state IN (PENDING, LIVE) // - last_known_state = RUNNING // - last_known_state != RUNNING + // - last_known_state NOT IN (FAILED, CANCELED) // - // d) to filter nodes having a specific context + // d) to filter nodes having a specific context, artifact, or execution // - contexts_a.id = 5 // - contexts_a.type = 'RunContext' // - contexts_a.name = 'my_run' @@ -820,6 +964,29 @@ message ListOperationOptions { // - contexts_a.last_update_time_since_epoch = 1626761453 // To filter nodes with conditions on multiple contexts: // - contexts_a.name = 'my_run' AND contexts_b.name = 'my_pipeline' + // To filter context with artifacts: + // - artifacts_a.id = 5 + // - artifacts_a.type = 'Dataset' + // - artifacts_a.name = 'my_dataset' + // - artifacts_a.uri = 'exact_path_string' + // - artifacts_a.state = LIVE + // - artifacts_a.state IN (PENDING, LIVE) + // - artifacts_a.external_id = "my_external_id" + // - artifacts_a.create_time_since_epoch = 1626761453 + // - artifacts_a.last_update_time_since_epoch = 1626761453 + // To filter contexts with conditions on multiple artifacts: + // - artifacts_a.name = 'my_run' AND artifacts_b.name = 'my_pipeline' + // To filter context with executions: + // - executions_a.id = 5 + // - executions_a.type = 'Dataset' + // - executions_a.name = 'my_dataset' + // - executions_a.last_known_state = RUNNING + //. - executions_a.last_known_state IN (NEW, RUNNING) + // - executions_a.external_id = "my_external_id" + // - executions_a.create_time_since_epoch = 1626761453 + // - executions_a.last_update_time_since_epoch = 1626761453 + // To filter contexts with conditions on multiple executions: + // - executions_a.name = 'my_run' AND executions_b.name = 'my_pipeline' // // e) to filter nodes condition on their properties // - properties.accuracy.double_value > 0.95 @@ -828,7 +995,7 @@ message ListOperationOptions { // other than [0-9A-Za-z_], then the name need to be backquoted, // e.g., // - properties.`my property`.int_value > 0 - // - custom_properties.`my:custom.property`.string_value = 'foo' + // - custom_properties.`my:custom.property`.bool_value = true // // f) complex query to filter both node attributes and neighborhood // - type = 'DataSet' AND @@ -846,7 +1013,7 @@ message ListOperationOptions { // - events_0.milliseconds_since_epoch = 1 // to filter Executions on Events // - events_0.artifact_id = 1 - // - events_0.type = INPUT + // - events_0.type IN (INPUT, INTERNAL_INPUT) // - events_0.milliseconds_since_epoch = 1 // TODO(b/145945460) Support filtering on event step fields. optional string filter_query = 4; @@ -877,48 +1044,190 @@ message ListOperationNextPageToken { // the same order_by field value. // This field is currently only set whe order_by field is LAST_UPDATE_TIME. repeated int64 listed_ids = 4; + } // Options for transactions. // Note: This is under development. Clients should not use it. message TransactionOptions { extensions 1000 to max; + + // Transaction tag for debug use only. + optional string tag = 1; } -// The query options for list lineage graph operation. It allows specifying the -// `query_nodes` of interests and the `stop_conditions` when querying a -// lineage graph. The query option is used for exporting provenance information -// from a source MLMD instance. +// TODO(b/283852485): Deprecate GetLineageGraph API after migration to +// GetLineageSubgraph API. +// The query options for `get_lineage_graph` operation. +// `query_nodes` is a list of nodes of interest. +// Currently only artifacts are supported as `query_nodes`. +// `stop_conditions` defines the filtering rules when querying a lineage graph. +// `max_node_size` defines the total number of artifacts and executions returned +// in the subgraph. message LineageGraphQueryOptions { - // A query to specify the nodes of interests. + // A query to specify the nodes of interest. + // `ListOperationOptions.max_result_size` sets the maximum number of nodes to + // begin with the graph search. // TODO(b/178491112) Support query_nodes for Executions. oneof query_nodes { ListOperationOptions artifacts_options = 1; } - // Boundary conditions to stop the traversal when return the `subgraph`. + // Filtering conditions for retrieving the lineage graph. message BoundaryConstraint { - // The maximum number of hops from the `query_nodes` to traverse. It should - // be non-negative. When zero, only the `query_nodes` are returned. + // The maximum number of hops from the `query_nodes` to traverse. + // A hop is defined as a jump to the next node following the path of + // node -> event -> next_node. + // For example, in the lineage graph a_1 -> e_1 -> a_2: + // a_2 is 2 hops away from a_1, and e_1 is 1 hop away from a_1. + // `max_num_hops` should be non-negative. + // When its value is set to 0, only the `query_nodes` are returned. optional int64 max_num_hops = 1; - // Conditions for the boundary node in the returned the subgraph. - // Please refer to ListOperationOptions.filter_query for the syntax. - // If set, it stops traversing further at the artifacts that do not satisfy - // `boundary_artifacts` and exclude them from the returned subgraph. - // For example, to look for the models related to a DataSet and ignore - // other artifacts derived from the DataSet: - // "type = 'DataSet' OR type = 'TransformGraph' OR type = 'Model'" + // Filtering conditions for retrieving the lineage graph. + // Please refer to `ListOperationOptions.filter_query` for the syntax. + // + // If set, the `boundary_artifacts` defines which artifacts to keep in the + // returned lineage graph during the graph search. + // Artifacts that do not satisfy the `boundary_artifacts` are filtered out, + // and the subgraphs starting at them will be pruned. + // If not set, no artifacts will be filtered out. + // Taking the following lineage graph as example: + // (`a` represents an Artifact, `e` represents an Execution, each arrow + // represents a hop.) + // a_0 a_1 a_3 + // | \ / \ + // \/ \/ \/ \/ + // e_0 e_1 e_3 + // / \ + // \/ \/ + // a_2 a_4 a_5 + // \ / + // \/ \/ + // e_2 + // To query all the upstream and downstream nodes 3 hops away from a_4, + // while excluding the upstream subgraph starting at a_3, then + // `stop_conditions` can be set as: + // { + // max_num_hops: 3 + // boundary_artifacts: 'id != 3' + // } + // With the `stop_conditions`, {a_3, e_1, a_1, a_0, e_0} will be filtered + // out. + // The returned lineage graph looks like: + // e_3 + // / \ + // \/ \/ + // a_2 a_4 a_5 + // \ / + // \/ \/ + // e_2 optional string boundary_artifacts = 2; - // If set, it stops traversing further at the executions that do not satisfy - // `boundary_executions` and exclude them from the returned subgraph. - // For example, two trainers may be connected due to the shared datasets, - // to exclude other trainers except a particular one (e.g., id = 5): - // "type != 'Trainer' OR (type = 'Trainer' AND id = 5)" + // If set, the `boundary_executions` defines which executions to keep in the + // returned lineage graph during the graph search. + // Executions that do not satisfy the `boundary_executions` are filtered out + // and the subgraphs starting at them will be pruned. + // If not set, no executions will be filtered out. + // In the example above, to query for all the upstream and downstream nodes + // 3 hops away from a_4, while excluding the upstream subgraph and the + // downstream subgraph starting at e_3, then `stop_conditions` can be set as + // { + // max_num_hops: 3 + // boundary_executions: 'id != 3' + // } + // With the `stop_conditions`, {e_3, a_5, a_3, e_1, a_1, a_0, e_0} will be + // filtered out. + // The returned lineage graph looks like: + // a_2 a_4 + // \ / + // \/ \/ + // e_2 + // However, for the following graph: + // a_0 a_1 a_3 + // | \ / \ + // \/ \/ \/ \/ + // e_0 e_1 e_3 + // \ / \ + // \/ \/ \/ + // a_2 a_4 a_5 + // \ / + // \/ \/ + // e_2 + // With the same `stop_conditions`, only {e_3, a_5, a_0, e_0} will be + // filtered out. + // The returned lineage graph looks like: + // a_1 a_3 + // \ / + // \/ \/ + // e_1 + // \ + // \/ + // a_2 a_4 + // \ / + // \/ \/ + // e_2 optional string boundary_executions = 3; } - // A constraint option to define the boundary of the returned subgraph. + // A constraint option to define the filtering rules when querying a lineage + // graph. optional BoundaryConstraint stop_conditions = 2; + + // Maximum total number of artifacts and executions in the whole returned + // lineage graph. + // If set to 0 or below, all related nodes will be returned without any + // number limitation. + // The number counts toward Artifacts and Executions. Nothing else considered. + // + // NOTE: There is no pagination supported. + optional int64 max_node_size = 3 [default = 20]; +} + +// The query options for lineage graph tracing from a list of interested nodes. +message LineageSubgraphQueryOptions { + // `starting_nodes` is a list of nodes of interest to start graph tracing. + // NOTE: The maximum number of starting nodes is 100 at most. + message StartingNodes { + // `filter_query` is a boolean expression in SQL syntax that is used to + // specify the conditions on starting nodes. + // Please refer to ListOperationOptions.filter_query for more details. + optional string filter_query = 1; + } + + oneof starting_nodes { + StartingNodes starting_artifacts = 1; + StartingNodes starting_executions = 2; + } + + // The maximum number of hops from the `starting_nodes` to traverse. + // A hop is defined as a jump to the next node following the path of + // node -> event -> next_node. + // For example, in the lineage graph a_1 -> e_1 -> a_2: + // a_2 is 2 hops away from a_1, and e_1 is 1 hop away from a_1. + // `max_num_hops` should be non-negative. + // When its value is set to 0, only the `starting_nodes` are returned. + optional int64 max_num_hops = 3; + + enum Direction { + // Direction is by defult DIRECTION_UNSPECIFIED, which is equivalent to + // BIDIRECTIONAL. + DIRECTION_UNSPECIFIED = 0; + // Indicates tracing the lineage graph by hops in upstream direction. + UPSTREAM = 1; + // Indicates tracing the lineage graph by hops in downstream direction. + DOWNSTREAM = 2; + // Indicates tracing the lineage graph in both directions. + BIDIRECTIONAL = 3; + } + // The direction of lineage graph tracing, which means the direction of all + // hops in the tracing. + // An UPSTREAM hop means an expansion following the path of + // execution -> output_event -> artifact or + // artifact -> input_event -> execution + // A DOWNSTREAM hop means an expansion following the path of + // execution -> input_event -> artifact or + // artifact -> output_event -> execution + // Please refer to `Direction` for more details. + optional Direction direction = 4; } diff --git a/third_party/ml-metadata/ml_metadata/proto/metadata_store_service.proto b/third_party/ml-metadata/ml_metadata/proto/metadata_store_service.proto index a1155eed78a..773a968ab96 100644 --- a/third_party/ml-metadata/ml_metadata/proto/metadata_store_service.proto +++ b/third_party/ml-metadata/ml_metadata/proto/metadata_store_service.proto @@ -17,6 +17,7 @@ syntax = "proto2"; package ml_metadata; +import "google/protobuf/field_mask.proto"; import "ml_metadata/proto/metadata_store.proto"; // An artifact and type pair. Part of an artifact struct. @@ -69,6 +70,94 @@ message PutArtifactsRequest { // Additional options to change the behavior of the method. optional Options options = 2; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 3; + + // FieldMask for artifacts in the PUT update + // If `artifact.id` is not specified, it means a new artifact will be created + // and `update_mask` will not be applied to the creation. + // If `update_mask` is empty, update the artifacts as a whole. + // If `update_mask` is not empty, only update fields or properties specified + // in `update_mask`. + // Example request protos: + // 1. Examples that update `properties` / `custom_properties`: + // 1.1 Add a <'key', 'val'> pair into `custom_properties`: + // { + // artifacts { + // id: 1234 + // type_id: 5678 + // custom_properties { + // key: "key" + // value: { + // string_value: "val" + // } + // } + // } + // update_mask { + // paths: "custom_properties.key" + // } + // } + // 1.2 Set `custom_properties['key'].bool_value` to true: + // { + // artifacts { + // id: 1234 + // type_id: 5678 + // custom_properties { + // key: "key" + // value: { + // bool_value: true + // } + // } + // } + // update_mask { + // paths: "custom_properties.key" + // } + // } + // 1.3 Delete the complete <'key', 'val'> pair from `custom_properties`: + // { + // artifacts { + // id: 1234 + // type_id: 5678 + // custom_properties {} + // } + // update_mask { + // paths: "custom_properties.key" + // } + // } + // 2. Examples that update fields such as `uri`, `external_id`, etc: + // 2.1 Update `external_id` field: + // { + // artifacts { + // id: 1234 + // type_id: 5678 + // external_id: "new_value" + // } + // update_mask { + // paths: "external_id" + // } + // } + // 2.2 Set `uri` field: + // { + // artifacts { + // id: 1234 + // type_id: 5678 + // uri: "set_value" + // } + // update_mask { + // paths: "uri" + // } + // } + // If `paths: "properties"` or `paths: "custom_properties"` are added to + // `update_mask`, the key-level updates will be ignored and we only perform + // field-level updates on the all `properties`/`custom_properties`. + // For example: + // If the mask is: {"properties", "properties.key1"}, the field path + // "properties.key1" will be ignored and all `properties` will be updated. + // (Do not suggest) + // If the mask is {"properties", "external_id"}, all + // `properties` and field `external_id` will be updated. (Do not suggest) + optional google.protobuf.FieldMask update_mask = 4; } message PutArtifactsResponse { @@ -97,6 +186,9 @@ message PutArtifactTypeRequest { // Deprecated fields. optional bool can_delete_fields = 3 [deprecated = true]; optional bool all_fields_match = 4 [default = true, deprecated = true]; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 6; } message PutArtifactTypeResponse { @@ -106,6 +198,46 @@ message PutArtifactTypeResponse { message PutExecutionsRequest { repeated Execution executions = 1; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; + + // FieldMask for executions in the PUT update + // If `execution.id` is not specified, it means a new execution will be + // created and `update_mask` will not be applied to the creation. + // If `update_mask` is empty, update the executions as a whole. + // If `update_mask` is not empty, only update fields or properties specified + // in `update_mask`. + // Example request protos: + // 1. Add a <'key', 'val'> pair into `custom_properties`: + // { + // executions { + // id: 1234 + // type_id: 5678 + // custom_properties { + // key: "key" + // value: { + // string_value: "val" + // } + // } + // } + // update_mask { + // paths: "custom_properties.key" + // } + // } + // 2. Set `last_known_state` field: + // { + // executions { + // id: 1234 + // type_id: 5678 + // last_known_state: CACHED + // } + // update_mask { + // paths: "last_known_state" + // } + // } + // Please refer to `PutArtifactsRequest` for more details. + optional google.protobuf.FieldMask update_mask = 3; } message PutExecutionsResponse { @@ -134,6 +266,9 @@ message PutExecutionTypeRequest { // Deprecated fields. optional bool can_delete_fields = 3 [deprecated = true]; optional bool all_fields_match = 4 [default = true, deprecated = true]; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 6; } message PutExecutionTypeResponse { @@ -143,6 +278,9 @@ message PutExecutionTypeResponse { message PutEventsRequest { repeated Event events = 1; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; } message PutEventsResponse {} @@ -165,9 +303,19 @@ message PutExecutionRequest { message Options { // When there's a race to publish executions with a new context with the // same context.name, by default there'll be one writer succeeds and - // the rest of the writers returning AlreadyExists errors. If set the field, - // the failed writer will reuse the stored context in the transaction. + // the rest of the writers returning AlreadyExists errors. If set to true, + // the API will reuse the stored context in the transaction and perform + // an update. optional bool reuse_context_if_already_exist = 1; + + // When there's a race to publish executions with a new artifact with the + // same artifact.external_id, by default there'll be one writer succeeds and + // the rest of the writers returning AlreadyExists errors. + // If set to true and an Artifact has non-empty external_id, + // the API will reuse the stored artifact in the transaction and + // perform an update. Otherwise, it will fall back to relying on `id` field + // to decide if it's update (if `id` exists) or insert (if `id` is empty). + optional bool reuse_artifact_if_already_exist_by_external_id = 2; } // The execution that produces many artifact and event pairs. optional Execution execution = 1; @@ -182,6 +330,9 @@ message PutExecutionRequest { repeated Context contexts = 3; // Additional options to change the behavior of the method. optional Options options = 4; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 5; } message PutExecutionResponse { @@ -195,6 +346,51 @@ message PutExecutionResponse { repeated int64 context_ids = 3; } +message PutLineageSubgraphRequest { + repeated Execution executions = 1; + repeated Artifact artifacts = 2; + repeated Context contexts = 3; + + message EventEdge { + // Index in the array of executions. + optional int32 execution_index = 1; + // Index in the array of artifacts. + optional int32 artifact_index = 2; + optional Event event = 3; + } + repeated EventEdge event_edges = 4; + + message Options { + // When there's a race to publish executions with a new context with the + // same context.name, by default there'll be one writer succeeds and + // the rest of the writers returning AlreadyExists errors. If set to true, + // the API will reuse the stored context in the transaction and perform + // an update. + optional bool reuse_context_if_already_exist = 1; + + // When there's a race to publish executions with a new artifact with the + // same artifact.external_id, by default there'll be one writer succeeds and + // the rest of the writers returning AlreadyExists errors. + // If set to true and an Artifact has non-empty external_id, + // the API will reuse the stored artifact in the transaction and + // perform an update. Otherwise, it will fall back to relying on `id` field + // to decide if it's update (if `id` exists) or insert (if `id` is empty). + optional bool reuse_artifact_if_already_exist_by_external_id = 2; + } + optional Options options = 5; + + optional TransactionOptions transaction_options = 6; +} + +message PutLineageSubgraphResponse { + // A list of execution ids index-aligned with `executions` in the request + repeated int64 execution_ids = 1 [packed = true]; + // A list of artifact ids index-aligned with `artifacts` in the request + repeated int64 artifact_ids = 2 [packed = true]; + // A list of context ids index-aligned with `contexts` in the request + repeated int64 context_ids = 3 [packed = true]; +} + message PutTypesRequest { repeated ArtifactType artifact_types = 1; repeated ExecutionType execution_types = 2; @@ -214,6 +410,9 @@ message PutTypesRequest { // Deprecated fields. optional bool can_delete_fields = 5 [deprecated = true]; optional bool all_fields_match = 6 [default = true, deprecated = true]; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 8; } message PutTypesResponse { @@ -246,6 +445,9 @@ message PutContextTypeRequest { // Deprecated fields. optional bool can_delete_fields = 3 [deprecated = true]; optional bool all_fields_match = 4 [default = true, deprecated = true]; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 6; } message PutContextTypeResponse { @@ -255,6 +457,46 @@ message PutContextTypeResponse { message PutContextsRequest { repeated Context contexts = 1; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; + + // FieldMask for contexts in the PUT update + // If `context.id` is not specified, it means a new context will be + // created and `update_mask` will not be applied to the creation. + // If `update_mask` is empty, update the contexts as a whole. + // If `update_mask` is not empty, only update fields or properties specified + // in `update_mask`. + // Example request protos: + // 1. Add a <'key', 'val'> pair into `custom_properties`: + // { + // contexts { + // id: 1234 + // type_id: 5678 + // custom_properties { + // key: "key" + // value: { + // string_value: "val" + // } + // } + // } + // update_mask { + // paths: "custom_properties.key" + // } + // } + // 2. Set `name` field: + // { + // contexts { + // id: 1234 + // type_id: 5678 + // name: "set_name" + // } + // update_mask { + // paths: "name" + // } + // } + // Please refer to `PutArtifactsRequest` for more details. + optional google.protobuf.FieldMask update_mask = 3; } message PutContextsResponse { @@ -265,12 +507,18 @@ message PutContextsResponse { message PutAttributionsAndAssociationsRequest { repeated Attribution attributions = 1; repeated Association associations = 2; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 3; } message PutAttributionsAndAssociationsResponse {} message PutParentContextsRequest { repeated ParentContext parent_contexts = 1; + + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; } message PutParentContextsResponse {} @@ -283,6 +531,12 @@ message GetArtifactsByTypeRequest { // Currently supports: // 1. Field to order the results. // 2. Page size. + // If set, the request will + // first fetch all artifacts with specified `type_name` and `type_version`, + // then order by a specifield field + // finally find the correct page and return #Artifacts of the page size. + // Higher-level APIs may only use the functionalies partially. + // Please reference the API documentation for the API behaviors. optional ListOperationOptions options = 3; // Options regarding transactions. optional TransactionOptions transaction_options = 4; @@ -312,23 +566,37 @@ message GetArtifactByTypeAndNameResponse { message GetArtifactsByIDRequest { // A list of artifact ids to retrieve. repeated int64 artifact_ids = 1; + // An option to populate all the ArtifactTypes in the response. + // If true, returns retrieved Artifacts and their artifact types, which can be + // matched by type_ids. + // If false, returns only the retrieved Artifacts. + // Example request proto: + // { + // artifact_ids: 101, + // populate_artifact_types: true, + // } + // The response will contain an artifact with id = 101 and an artifact type + // with id = artifact.type_id(). + optional bool populate_artifact_types = 3 [default = false]; // Options regarding transactions. optional TransactionOptions transaction_options = 2; } message GetArtifactsByIDResponse { // Artifacts with matching ids. - // This is not index-aligned: if an id is not found, it is not + // This is not index-aligned: if an id is not found, it is not returned. repeated Artifact artifacts = 1; + // ArtifactTypes populated with matching type_ids owned by `artifacts`. + // This is not index-aligned: if a type_id is not found, it is not returned. + repeated ArtifactType artifact_types = 2; } // Request to retrieve Artifacts using List options. // If option is not specified then all Artifacts are returned. message GetArtifactsRequest { // Specify options. - // Currently supports: - // 1. Field to order the results. - // 2. Page size. + // Please refer to the documentation of ListOperationOptions for the supported + // functionalities. optional ListOperationOptions options = 1; // Options regarding transactions. optional TransactionOptions transaction_options = 2; @@ -360,9 +628,8 @@ message GetArtifactsByURIResponse { // If option is not specified then all Executions are returned. message GetExecutionsRequest { // Specify options. - // Currently supports: - // 1. Field to order the results. - // 2. Page size. + // Please refer to the documentation of ListOperationOptions for the supported + // functionalities. optional ListOperationOptions options = 1; // Options regarding transactions. optional TransactionOptions transaction_options = 2; @@ -417,6 +684,66 @@ message GetContextTypesResponse { repeated ContextType context_types = 1; } +message GetArtifactsByExternalIdsRequest { + repeated string external_ids = 1; + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; +} + +message GetArtifactsByExternalIdsResponse { + repeated Artifact artifacts = 1; +} + +message GetExecutionsByExternalIdsRequest { + repeated string external_ids = 1; + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; +} + +message GetExecutionsByExternalIdsResponse { + repeated Execution executions = 1; +} + +message GetContextsByExternalIdsRequest { + repeated string external_ids = 1; + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; +} + +message GetContextsByExternalIdsResponse { + repeated Context contexts = 1; +} + +message GetArtifactTypesByExternalIdsRequest { + repeated string external_ids = 1; + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; +} + +message GetArtifactTypesByExternalIdsResponse { + repeated ArtifactType artifact_types = 1; +} + +message GetExecutionTypesByExternalIdsRequest { + repeated string external_ids = 1; + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; +} + +message GetExecutionTypesByExternalIdsResponse { + repeated ExecutionType execution_types = 1; +} + +message GetContextTypesByExternalIdsRequest { + repeated string external_ids = 1; + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; +} + +message GetContextTypesByExternalIdsResponse { + repeated ContextType context_types = 1; +} + message GetExecutionsByTypeRequest { optional string type_name = 1; // If not set, it looks for the type with type_name with default type_version. @@ -425,6 +752,12 @@ message GetExecutionsByTypeRequest { // Currently supports: // 1. Field to order the results. // 2. Page size. + // If set, the request will + // first fetch all executions with specified `type_name` and `type_version`, + // then order by a specifield field + // finally find the correct page and return #Executions of the page size. + // Higher-level APIs may only use the functionalies partially. + // Please reference the API documentation for the API behaviors. optional ListOperationOptions options = 3; // Options regarding transactions. optional TransactionOptions transaction_options = 4; @@ -552,9 +885,8 @@ message GetContextTypesByIDResponse { // If option is not specified then all Contexts are returned. message GetContextsRequest { // Specify options. - // Currently supports: - // 1. Field to order the results. - // 2. Page size. + // Please refer to the documentation of ListOperationOptions for the supported + // functionalities. optional ListOperationOptions options = 1; // Options regarding transactions. optional TransactionOptions transaction_options = 2; @@ -575,6 +907,12 @@ message GetContextsByTypeRequest { // Currently supports: // 1. Field to order the results. // 2. Page size. + // If set, the request will + // first fetch all contexts with specified `type_name` and `type_version`, + // then order by a specifield field + // finally find the correct page and return #Contexts of the page size. + // Higher-level APIs may only use the functionalies partially. + // Please reference the API documentation for the API behaviors. optional ListOperationOptions options = 2; // If not set, it looks for the type with type_name and options with default // type_version. @@ -657,6 +995,32 @@ message GetChildrenContextsByContextResponse { repeated Context contexts = 1; } +message GetParentContextsByContextsRequest { + repeated int64 context_ids = 1 [packed = true]; + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; +} + +message GetParentContextsByContextsResponse { + message ParentContextsPerChild { + repeated Context parent_contexts = 1; + } + map contexts = 2; +} + +message GetChildrenContextsByContextsRequest { + repeated int64 context_ids = 1 [packed = true]; + // Options regarding transactions. + optional TransactionOptions transaction_options = 2; +} + +message GetChildrenContextsByContextsResponse { + message ChildrenContextsPerParent { + repeated Context children_contexts = 1; + } + map contexts = 2; +} + message GetArtifactsByContextRequest { optional int64 context_id = 1; @@ -700,8 +1064,10 @@ message GetExecutionsByContextResponse { } -// A lineage query request to specify the query nodes of interests and the -// boundary conditions for the returned graph. +// TODO(b/283852485): Deprecate GetLineageGraph API after migration to +// GetLineageSubgraph API. +// A lineage query request to specify the query nodes of interest and the +// boundary conditions for pruning the returned graph. message GetLineageGraphRequest { optional LineageGraphQueryOptions options = 1; // Options regarding transactions. @@ -714,6 +1080,44 @@ message GetLineageGraphResponse { optional LineageGraph subgraph = 1; } +message GetLineageSubgraphRequest { + // Query options for lineage graph tracing from a list of interested + // nodes. + // A lineage subgraph without node details (e.g., external_id, properties) + // will be returned. Please refer to `LineageSubgraphQueryOptions` for more + // details. + optional LineageSubgraphQueryOptions lineage_subgraph_query_options = 1; + // `read_mask` contains user specified paths of fields that should be included + // in the returned lineage subgraph. + // Supported field paths are: 'artifacts', 'executions', 'contexts', + // 'artifact_types', 'execution_types', 'context_types', and 'events'. + // TODO(b/283852485): Include 'associations' or 'attributions' in the + // returned graph. + // If 'artifacts', 'executions', or 'contexts' is specified in `read_mask`, + // the dehydrated nodes will be included. + // Note: A dehydrated node means a node containing only its id and no + // other information. User should call GetNodesByID or other APIs to get + // node details later on. + // If 'artifact_types', 'execution_types', or 'context_types' is specified + // in `read_mask`, all the node types will be included. + // If 'events' is specified in `read_mask`, the events will be included. + // If `read_mask` is not set, the API will return all the fields in + // the returned graph. + // Note: Only paths of fields in LineageGraph message are supported. Paths + // of fields in the submessage, such as "artifacts.id", "contexts.name" are + // not acknowledged. + optional google.protobuf.FieldMask read_mask = 3; + optional TransactionOptions transaction_options = 2; +} + +message GetLineageSubgraphResponse { + // A lineage subgraph of MLMD nodes and relations retrieved from lineage + // graph tracing. + optional LineageGraph lineage_subgraph = 1; +} + + + // LINT.IfChange service MetadataStoreService { // Inserts or updates an ArtifactType. @@ -787,6 +1191,10 @@ service MetadataStoreService { // For new artifacts, type must be specified. // For old artifacts, type must be unchanged or unspecified. // + // It is not guaranteed that the created or updated artifacts will share the + // same `create_time_since_epoch` or `last_update_time_since_epoch` + // timestamps. + // // Args: // artifacts: A list of artifacts to insert or update. // @@ -801,6 +1209,10 @@ service MetadataStoreService { // For new executions, type must be specified. // For old executions, type must be unchanged or unspecified. // + // It is not guaranteed that the created or updated executions will share the + // same `create_time_since_epoch` or `last_update_time_since_epoch` + // timestamps. + // // Args: // executions: A list of executions to insert or update. // @@ -813,6 +1225,10 @@ service MetadataStoreService { // // The execution_id and artifact_id must already exist. // Once created, events cannot be modified. + // AlreadyExists error will be raised if duplicated events are found. + // + // It is not guaranteed that the created or updated events will share the + // same `milliseconds_since_epoch` timestamps. // // Args: // events: A list of events to insert or update. @@ -824,9 +1240,16 @@ service MetadataStoreService { // input/output Event. The `contexts` describe the associations of the // execution and the attributions of the artifacts. // - // If an execution_id, artifact_id or context_id is specified, it is an - // update, otherwise it does an insertion. For insertion, type must be - // specified. + // If an execution_id is specified, it is an update on the corresponding + // execution, otherwise it does an insertion. + // For insertion, type must be specified. Same rule applies to artifacts + // and contexts in the request. Corresponding errors may raised. For example: + // AlreadyExists error will be raised if duplicated executions, artifacts + // or events are found. + // + // It is not guaranteed that the created or updated executions, artifacts, + // contexts and events will share the same `create_time_since_epoch`, + // `last_update_time_since_epoch`, or `milliseconds_since_epoch` timestamps. // // Args: // execution: An execution to insert or update. @@ -838,6 +1261,38 @@ service MetadataStoreService { // with the input. rpc PutExecution(PutExecutionRequest) returns (PutExecutionResponse) {} + // Inserts or updates a lineage subgraph (i.e. a collection of event edges + // and its executions, artifacts, and related contexts) atomically. The + // `event_edges` include an Event and the indices of the corresponding + // execution and artifact from the input list of executions and artifacts. The + // `contexts` describe the associations of the Execution and the attributions + // of the Artifact. + // + // If an execution_id is specified, it is an update on the corresponding + // Execution, otherwise it does an insertion. For insertion, type must be + // specified. These rules apply to Artifacts and Contexts as well. + // Corresponding errors may be raised. For example: AlreadyExists error will + // be raised if duplicated executions, artifacts, or events are found. + // + // It is not guaranteed that the created or updated executions, artifacts, + // contexts and events will share the same `create_time_since_epoch`, + // `last_update_time_since_epoch`, or `milliseconds_since_epoch` timestamps. + // + // Args: + // executions: A list of executions to insert or update. + // artifacts: A list of artifacts to insert or update. + // contexts: A list of contexts to insert and/or create associations and + // attributions with. + // event_edges: A list of events to insert with the indices of the + // corresponding execution and artifact from the input lists of + // executions and artifacts. + // + // Returns: + // Lists of execution, artifact, and context ids index-aligned with the + // inputs. + rpc PutLineageSubgraph(PutLineageSubgraphRequest) + returns (PutLineageSubgraphResponse) {} + // Inserts or updates contexts in database and returns a list of context ids. // // If an context_id is specified for a context, it is an update. @@ -845,6 +1300,10 @@ service MetadataStoreService { // For new contexts, type must be specified. // For old contexts, type must be unchanged or unspecified. // + // It is not guaranteed that the created or updated contexts will share the + // same `create_time_since_epoch` or `last_update_time_since_epoch` + // timestamps. + // // Args: // contexts: A list of contexts to insert or update. // @@ -986,6 +1445,30 @@ service MetadataStoreService { rpc GetEventsByArtifactIDs(GetEventsByArtifactIDsRequest) returns (GetEventsByArtifactIDsResponse) {} + // Gets all the artifacts with matching external ids. + rpc GetArtifactsByExternalIds(GetArtifactsByExternalIdsRequest) + returns (GetArtifactsByExternalIdsResponse) {} + + // Gets all the artifacts with matching external ids. + rpc GetExecutionsByExternalIds(GetExecutionsByExternalIdsRequest) + returns (GetExecutionsByExternalIdsResponse) {} + + // Gets all the artifacts with matching external ids. + rpc GetContextsByExternalIds(GetContextsByExternalIdsRequest) + returns (GetContextsByExternalIdsResponse) {} + + // Gets all the artifacts with matching external ids. + rpc GetArtifactTypesByExternalIds(GetArtifactTypesByExternalIdsRequest) + returns (GetArtifactTypesByExternalIdsResponse) {} + + // Gets all the artifacts with matching external ids. + rpc GetExecutionTypesByExternalIds(GetExecutionTypesByExternalIdsRequest) + returns (GetExecutionTypesByExternalIdsResponse) {} + + // Gets all the artifacts with matching external ids. + rpc GetContextTypesByExternalIds(GetContextTypesByExternalIdsRequest) + returns (GetContextTypesByExternalIdsResponse) {} + // Gets all context that an artifact is attributed to. rpc GetContextsByArtifact(GetContextsByArtifactRequest) @@ -1003,6 +1486,15 @@ service MetadataStoreService { rpc GetChildrenContextsByContext(GetChildrenContextsByContextRequest) returns (GetChildrenContextsByContextResponse) {} + // Batch getting all the parent contexts that a list of contexts are related. + rpc GetParentContextsByContexts(GetParentContextsByContextsRequest) + returns (GetParentContextsByContextsResponse) {} + + // Batch getting all the children contexts that a list of contexts are + // related. + rpc GetChildrenContextsByContexts(GetChildrenContextsByContextsRequest) + returns (GetChildrenContextsByContextsResponse) {} + // Gets all direct artifacts that a context attributes to. rpc GetArtifactsByContext(GetArtifactsByContextRequest) returns (GetArtifactsByContextResponse) {} @@ -1012,10 +1504,21 @@ service MetadataStoreService { returns (GetExecutionsByContextResponse) {} + // TODO(b/283852485): Deprecate GetLineageGraph API after migration to + // GetLineageSubgraph API. // The transaction performs a constrained transitive closure and returns a // lineage subgraph satisfying the conditions and constraints specified in // the GetLineageGraphRequest. rpc GetLineageGraph(GetLineageGraphRequest) returns (GetLineageGraphResponse) {} + + // Gets a lineage subgraph by performing graph traversal from a list of + // interested nodes. + // A lineage subgraph without node details (e.g., external_id, properties) + // will be returned. + rpc GetLineageSubgraph(GetLineageSubgraphRequest) + returns (GetLineageSubgraphResponse) {} + + } // LINT.ThenChange(../metadata_store/metadata_store_service_interface.h) diff --git a/third_party/ml-metadata/update_version.sh b/third_party/ml-metadata/update_version.sh index 9b907e57595..feffc20751c 100755 --- a/third_party/ml-metadata/update_version.sh +++ b/third_party/ml-metadata/update_version.sh @@ -20,7 +20,7 @@ image_files=( "${REPO_ROOT}/.cloudbuild.yaml" \ "${REPO_ROOT}/.release.cloudbuild.yaml" \ "${REPO_ROOT}/manifests/kustomize/base/metadata/base/metadata-grpc-deployment.yaml" \ "${REPO_ROOT}/test/tag_for_hosted.sh" \ - "${REPO_ROOT}/v2/Makefile" \ + "${REPO_ROOT}/backend/src/v2/Makefile" \ ) for i in "${image_files[@]}" do @@ -29,7 +29,7 @@ do done requirement_files=( "${REPO_ROOT}/backend/metadata_writer/requirements.in" \ - "${REPO_ROOT}/v2/test/requirements.txt" + "${REPO_ROOT}/backend/src/v2/test/requirements.txt" ) for i in "${requirement_files[@]}" do From b64577b94c217c5bf688f13ba397f7c1b100f719 Mon Sep 17 00:00:00 2001 From: James Liu Date: Thu, 10 Aug 2023 23:24:16 +0000 Subject: [PATCH 2/7] fix requirements, skip visualization. --- .../apiserver/visualization/requirements.txt | 153 ++++++++++++++++++ .../visualization/update_requirements.sh | 8 +- third_party/ml-metadata/README.md | 1 - 3 files changed, 154 insertions(+), 8 deletions(-) diff --git a/backend/src/apiserver/visualization/requirements.txt b/backend/src/apiserver/visualization/requirements.txt index e69de29bb2d..1e0e6dd8251 100644 --- a/backend/src/apiserver/visualization/requirements.txt +++ b/backend/src/apiserver/visualization/requirements.txt @@ -0,0 +1,153 @@ +# +# This file is autogenerated by pip-compile +# To update, run: +# +# pip-compile --output-file=- - +# +absl-py==0.12.0 # via tensorboard, tensorflow, tensorflow-data-validation, tensorflow-metadata, tensorflow-model-analysis, tfx-bsl +apache-beam[gcp]==2.34.0 # via tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl +argon2-cffi-bindings==21.2.0 # via argon2-cffi +argon2-cffi==21.3.0 # via notebook +astunparse==1.6.3 # via tensorflow +attrs==21.2.0 # via jsonschema +avro-python3==1.9.2.1 # via apache-beam +backcall==0.2.0 # via ipython +bleach==4.1.0 # via nbconvert +bokeh==1.2.0 # via -r - +cached-property==1.5.2 # via h5py +cachetools==4.2.4 # via apache-beam, google-auth +certifi==2021.10.8 # via requests +cffi==1.15.0 # via argon2-cffi-bindings +charset-normalizer==2.0.9 # via requests +crcmod==1.7 # via apache-beam +dataclasses==0.8 # via apache-beam, argon2-cffi, libcst, werkzeug +decorator==5.1.0 # via gcsfs, ipython, traitlets +defusedxml==0.7.1 # via nbconvert +dill==0.3.1.1 # via apache-beam +docopt==0.6.2 # via hdfs +entrypoints==0.3 # via nbconvert +fastavro==1.4.7 # via apache-beam +fasteners==0.16.3 # via google-apitools +flatbuffers==1.12 # via tensorflow +future==0.18.2 # via apache-beam +gast==0.4.0 # via tensorflow +gcsfs==0.2.3 # via -r - +google-api-core[grpc,grpcgcp]==1.31.5 # via google-cloud-bigquery, google-cloud-bigquery-storage, google-cloud-bigtable, google-cloud-core, google-cloud-datastore, google-cloud-dlp, google-cloud-language, google-cloud-pubsub, google-cloud-recommendations-ai, google-cloud-spanner, google-cloud-videointelligence, google-cloud-vision +google-api-python-client==1.7.12 # via -r -, tfx-bsl +google-apitools==0.5.31 # via apache-beam +google-auth-httplib2==0.1.0 # via google-api-python-client +google-auth-oauthlib==0.4.6 # via gcsfs, tensorboard +google-auth==1.35.0 # via apache-beam, gcsfs, google-api-core, google-api-python-client, google-auth-httplib2, google-auth-oauthlib, google-cloud-core, tensorboard +google-cloud-bigquery-storage==2.10.1 # via apache-beam +google-cloud-bigquery==2.20.0 # via apache-beam, tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl +google-cloud-bigtable==1.7.0 # via apache-beam +google-cloud-core==1.7.2 # via apache-beam, google-cloud-bigquery, google-cloud-bigtable, google-cloud-datastore, google-cloud-spanner +google-cloud-datastore==1.15.3 # via apache-beam +google-cloud-dlp==1.0.0 # via apache-beam +google-cloud-language==1.3.0 # via apache-beam +google-cloud-pubsub==1.7.0 # via apache-beam +google-cloud-recommendations-ai==0.2.0 # via apache-beam +google-cloud-spanner==1.19.1 # via apache-beam +google-cloud-videointelligence==1.16.1 # via apache-beam +google-cloud-vision==1.0.0 # via apache-beam +google-crc32c==1.3.0 # via google-resumable-media +google-pasta==0.2.0 # via tensorflow +google-resumable-media==1.3.3 # via google-cloud-bigquery +googleapis-common-protos[grpc]==1.54.0 # via google-api-core, grpc-google-iam-v1, tensorflow-metadata +grpc-google-iam-v1==0.12.3 # via google-cloud-bigtable, google-cloud-pubsub, google-cloud-spanner +grpcio-gcp==0.2.2 # via apache-beam, google-api-core +grpcio==1.34.1 # via apache-beam, google-api-core, googleapis-common-protos, grpc-google-iam-v1, grpcio-gcp, tensorboard, tensorflow, tensorflow-serving-api +h5py==3.1.0 # via tensorflow +hdfs==2.6.0 # via apache-beam +httplib2==0.19.1 # via apache-beam, google-api-python-client, google-apitools, google-auth-httplib2, oauth2client +idna==3.3 # via requests +importlib-metadata==4.8.3 # via jsonschema, markdown +ipykernel==5.1.1 # via -r -, ipywidgets, notebook +ipython-genutils==0.2.0 # via ipywidgets, nbformat, notebook, traitlets +ipython==7.12.0 # via -r -, ipykernel, ipywidgets, tensorflow-model-analysis +ipywidgets==7.6.5 # via tensorflow-model-analysis +itables==0.1.0 # via -r - +jedi==0.18.1 # via ipython +jinja2==3.0.3 # via bokeh, nbconvert, notebook +joblib==0.14.1 # via scikit-learn, tensorflow-data-validation +jsonschema==3.2.0 # via nbformat +jupyter-client==5.3.5 # via -r -, ipykernel, notebook +jupyter-core==4.9.1 # via jupyter-client, nbconvert, nbformat, notebook +jupyterlab-widgets==1.0.2 # via ipywidgets +keras-nightly==2.5.0.dev2021032900 # via tensorflow +keras-preprocessing==1.1.2 # via tensorflow +libcst==0.3.23 # via google-cloud-bigquery-storage +markdown==3.3.6 # via tensorboard +markupsafe==2.0.1 # via jinja2 +mistune==0.8.4 # via -r -, nbconvert +mypy-extensions==0.4.3 # via typing-inspect +nbconvert==5.5.0 # via -r -, notebook +nbformat==4.4.0 # via -r -, ipywidgets, nbconvert, notebook +nest-asyncio==1.5.4 # via notebook +notebook==6.4.6 # via widgetsnbextension +numpy==1.19.5 # via apache-beam, bokeh, h5py, keras-preprocessing, opt-einsum, pandas, pyarrow, scikit-learn, scipy, tensorboard, tensorflow, tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl +oauth2client==4.1.3 # via apache-beam, google-apitools +oauthlib==3.1.1 # via requests-oauthlib +opt-einsum==3.3.0 # via tensorflow +orjson==3.6.1 # via apache-beam +packaging==21.3 # via bleach, bokeh, google-api-core, google-cloud-bigquery +pandas==1.1.5 # via itables, tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl +pandocfilters==1.5.0 # via nbconvert +parso==0.8.3 # via jedi +pexpect==4.8.0 # via ipython +pickleshare==0.7.5 # via ipython +pillow==8.4.0 # via bokeh +prometheus-client==0.12.0 # via notebook +prompt-toolkit==3.0.24 # via ipython +proto-plus==1.19.8 # via google-cloud-bigquery, google-cloud-bigquery-storage, google-cloud-recommendations-ai +protobuf==3.19.1 # via apache-beam, google-api-core, google-cloud-bigquery, googleapis-common-protos, proto-plus, tensorboard, tensorflow, tensorflow-data-validation, tensorflow-metadata, tensorflow-model-analysis, tensorflow-serving-api, tfx-bsl +ptyprocess==0.7.0 # via pexpect, terminado +pyarrow==2.0.0 # via apache-beam, tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl +pyasn1-modules==0.2.8 # via google-auth, oauth2client +pyasn1==0.4.8 # via oauth2client, pyasn1-modules, rsa +pycparser==2.21 # via cffi +pydot==1.4.2 # via apache-beam +pygments==2.10.0 # via ipython, nbconvert +pymongo==3.12.3 # via apache-beam +pyparsing==2.4.7 # via httplib2, packaging, pydot +pyrsistent==0.18.0 # via jsonschema +python-dateutil==2.8.2 # via apache-beam, bokeh, jupyter-client, pandas +pytz==2021.3 # via apache-beam, google-api-core, pandas +pyyaml==6.0 # via bokeh, libcst +pyzmq==22.3.0 # via jupyter-client, notebook +requests-oauthlib==1.3.0 # via google-auth-oauthlib +requests==2.26.0 # via apache-beam, gcsfs, google-api-core, google-cloud-bigquery, hdfs, requests-oauthlib, tensorboard +rsa==4.8 # via google-auth, oauth2client +scikit_learn==0.21.2 # via -r - +scipy==1.5.4 # via scikit-learn, tensorflow-model-analysis +send2trash==1.8.0 # via notebook +six==1.15.0 # via absl-py, astunparse, bleach, bokeh, fasteners, google-api-core, google-api-python-client, google-apitools, google-auth, google-auth-httplib2, google-cloud-core, google-pasta, google-resumable-media, grpcio, hdfs, jsonschema, keras-preprocessing, oauth2client, python-dateutil, tensorflow, tensorflow-data-validation, tensorflow-model-analysis, traitlets +tensorboard-data-server==0.6.1 # via tensorboard +tensorboard-plugin-wit==1.8.0 # via tensorboard +tensorboard==2.7.0 # via tensorflow +tensorflow-data-validation==1.2.0 # via -r - +tensorflow-estimator==2.5.0 # via tensorflow +tensorflow-metadata==1.2.0 # via -r -, tensorflow-data-validation, tensorflow-model-analysis, tfx-bsl +tensorflow-model-analysis==0.33.0 # via -r - +tensorflow-serving-api==2.5.1 # via -r -, tfx-bsl +tensorflow==2.5.1 # via -r -, tensorflow-data-validation, tensorflow-model-analysis, tensorflow-serving-api, tfx-bsl +termcolor==1.1.0 # via tensorflow +terminado==0.12.1 # via notebook +testpath==0.5.0 # via nbconvert +tfx-bsl==1.2.0 # via tensorflow-data-validation, tensorflow-model-analysis +tornado==6.1 # via -r -, bokeh, ipykernel, jupyter-client, notebook, terminado +traitlets==4.3.3 # via ipykernel, ipython, ipywidgets, jupyter-client, jupyter-core, nbconvert, nbformat, notebook +typing-extensions==3.7.4.3 # via apache-beam, argon2-cffi, importlib-metadata, libcst, tensorflow, typing-inspect +typing-inspect==0.7.1 # via libcst +uritemplate==3.0.1 # via google-api-python-client +urllib3==1.26.7 # via requests +wcwidth==0.2.5 # via prompt-toolkit +webencodings==0.5.1 # via bleach +werkzeug==2.0.2 # via tensorboard +wheel==0.37.1 # via astunparse, tensorboard, tensorflow +widgetsnbextension==3.5.2 # via ipywidgets +wrapt==1.12.1 # via tensorflow +zipp==3.6.0 # via importlib-metadata + +# The following packages are considered to be unsafe in a requirements file: +# setuptools diff --git a/backend/src/apiserver/visualization/update_requirements.sh b/backend/src/apiserver/visualization/update_requirements.sh index 207e8f02b2f..5dfbd8f12f8 100755 --- a/backend/src/apiserver/visualization/update_requirements.sh +++ b/backend/src/apiserver/visualization/update_requirements.sh @@ -1,15 +1,9 @@ #!/bin/bash -set -euo pipefail # This image should be in sync with Dockerfile.visualization. IMAGE="tensorflow/tensorflow:2.5.1" - # tensorflow/tfx default entrypoint is Apache BEAM, because Apache BEAM doesn't # support custom entrypoint for now. We need to override with --entrypoint "" # for other `docker run` usecase. # https://github.com/tensorflow/tfx/blob/master/tfx/tools/docker/Dockerfile#L71 -docker run -i --rm --entrypoint "" "$IMAGE" sh -c ' - python3 -m pip install pip setuptools --upgrade --quiet - python3 -m pip install pip-tools==5.4.0 --quiet - pip-compile --verbose --output-file - - -' requirements.txt \ No newline at end of file +../../../update_requirements.sh $IMAGE requirements.txt diff --git a/third_party/ml-metadata/README.md b/third_party/ml-metadata/README.md index a330ef30498..1af380896fe 100644 --- a/third_party/ml-metadata/README.md +++ b/third_party/ml-metadata/README.md @@ -57,4 +57,3 @@ To learn more, refer to [Upgrading or downgrading a dependency](https://go.dev/d ### Build JS client from proto Refer to [frontend/README.md](frontend/README.md) for [MLMD components - Building generated metadata Protocol Bufers](https://github.com/kubeflow/pipelines/blob/master/frontend/README.md#mlmd-components), for example: you can search for `npm run build:replace` command. - From 7a9485000ca9f514e0d0e6b2e5fa0e35668a309b Mon Sep 17 00:00:00 2001 From: James Liu Date: Fri, 11 Aug 2023 18:09:42 +0000 Subject: [PATCH 3/7] go mod tidy --- go.sum | 1 + third_party/ml-metadata/go.mod | 1 - third_party/ml-metadata/go.sum | 6 ------ 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/go.sum b/go.sum index c699186bd59..d3497811029 100644 --- a/go.sum +++ b/go.sum @@ -359,6 +359,7 @@ github.com/elazarl/goproxy v0.0.0-20181111060418-2ce16c963a8a h1:A4wNiqeKqU56Zht github.com/elazarl/goproxy v0.0.0-20181111060418-2ce16c963a8a/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 v2.12.0+incompatible h1:SIvoTSbsMEwuM3dzFirLwKc4BH6VXP5CNf+G1FfJVr4= github.com/emicklei/go-restful v2.12.0+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful/v3 v3.8.0 h1:eCZ8ulSerjdAiaNpF7GxXIE7ZCMo1moN1qX+S609eVw= github.com/emicklei/go-restful/v3 v3.8.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= diff --git a/third_party/ml-metadata/go.mod b/third_party/ml-metadata/go.mod index a9e89505afd..e7853a4a689 100644 --- a/third_party/ml-metadata/go.mod +++ b/third_party/ml-metadata/go.mod @@ -3,7 +3,6 @@ module github.com/kubeflow/pipelines/third_party/ml-metadata go 1.16 require ( - github.com/golang/protobuf v1.5.2 golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect golang.org/x/text v0.3.7 // indirect diff --git a/third_party/ml-metadata/go.sum b/third_party/ml-metadata/go.sum index 60f21d7c356..d4502821e94 100644 --- a/third_party/ml-metadata/go.sum +++ b/third_party/ml-metadata/go.sum @@ -68,7 +68,6 @@ golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20200822124328-c89045814202 h1:VvcQYSHwXgi7W+TpUR6A9g6Up98WAHf3f/ulnJ62IyA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20211216030914-fe4d6282115f h1:hEYJvxw1lSnWIl8X9ofsYMklzaDs90JI2az5YMd4fPM= @@ -82,7 +81,6 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -91,7 +89,6 @@ golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e h1:fLOSk5Q00efkSvAm+4xcoXD+RRmLmmulPn5I3Y9F2EM= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= @@ -111,7 +108,6 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7 google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20211221231510-d629cc9a93d5 h1:v7aOwCaINsgis88/5e6DEZ6TlP7vXueAw/Ftqd5rm+w= google.golang.org/genproto v0.0.0-20211221231510-d629cc9a93d5/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= @@ -122,8 +118,6 @@ google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8 google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.42.0 h1:XT2/MFpuPFsEX2fWh3YQtHkZ+WYZFQRfaUgLZYj/p6A= -google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.43.0 h1:Eeu7bZtDZ2DpRCsLhUlcrLnvYaMK1Gz86a+hMVvELmM= google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= From ba541eca94d2adf63bdf77e7ac019c81a9b5fa25 Mon Sep 17 00:00:00 2001 From: James Liu Date: Sat, 12 Aug 2023 06:02:03 +0000 Subject: [PATCH 4/7] mlmd new enum in frontend --- frontend/src/mlmd/Utils.tsx | 1 + frontend/src/pages/ExecutionDetails.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/mlmd/Utils.tsx b/frontend/src/mlmd/Utils.tsx index 683f162c14c..334d7e1f77c 100644 --- a/frontend/src/mlmd/Utils.tsx +++ b/frontend/src/mlmd/Utils.tsx @@ -116,4 +116,5 @@ export function getMetadataValue(value?: Value): string | number | Struct | unde case Value.ValueCase.VALUE_NOT_SET: return ''; } + return ''; } diff --git a/frontend/src/pages/ExecutionDetails.tsx b/frontend/src/pages/ExecutionDetails.tsx index de896b69ba4..15bec58dd6a 100644 --- a/frontend/src/pages/ExecutionDetails.tsx +++ b/frontend/src/pages/ExecutionDetails.tsx @@ -262,6 +262,7 @@ function parseEventsByType( [Event.Type.OUTPUT]: [], [Event.Type.INTERNAL_INPUT]: [], [Event.Type.INTERNAL_OUTPUT]: [], + [Event.Type.PENDING_OUTPUT]: [], }; if (!response) { From 57f8c8851e6786c0a60156b0bc369eef69d61b38 Mon Sep 17 00:00:00 2001 From: James Liu Date: Mon, 14 Aug 2023 18:56:09 +0000 Subject: [PATCH 5/7] mlmd license --- backend/third_party_licenses/apiserver.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/third_party_licenses/apiserver.csv b/backend/third_party_licenses/apiserver.csv index ef4893cbb1e..643f932b043 100644 --- a/backend/third_party_licenses/apiserver.csv +++ b/backend/third_party_licenses/apiserver.csv @@ -61,7 +61,7 @@ github.com/klauspost/cpuid,https://github.com/klauspost/cpuid/blob/v1.3.1/LICENS github.com/klauspost/pgzip,https://github.com/klauspost/pgzip/blob/v1.2.5/LICENSE,MIT github.com/kubeflow/pipelines/api/v2alpha1/go,https://github.com/kubeflow/pipelines/blob/758c91f76784/api/LICENSE,Apache-2.0 github.com/kubeflow/pipelines/backend,https://github.com/kubeflow/pipelines/blob/HEAD/LICENSE,Apache-2.0 -github.com/kubeflow/pipelines/third_party/ml-metadata/go/ml_metadata,https://github.com/kubeflow/pipelines/blob/e78ed557ddcb/third_party/ml-metadata/LICENSE,Apache-2.0 +github.com/kubeflow/pipelines/third_party/ml-metadata/go/ml_metadata,https://github.com/kubeflow/pipelines/blob/e1f0c010f800/third_party/ml-metadata/LICENSE,Apache-2.0 github.com/lann/builder,https://github.com/lann/builder/blob/47ae307949d0/LICENSE,MIT github.com/lann/ps,https://github.com/lann/ps/blob/62de8c46ede0/LICENSE,MIT github.com/lestrrat-go/strftime,https://github.com/lestrrat-go/strftime/blob/v1.0.4/LICENSE,MIT From c9a2fe9e6dc7642932fa554645b57d98fa86d052 Mon Sep 17 00:00:00 2001 From: James Liu Date: Mon, 14 Aug 2023 19:17:00 +0000 Subject: [PATCH 6/7] mlmd license again, using the failure test diff --- backend/third_party_licenses/apiserver.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/third_party_licenses/apiserver.csv b/backend/third_party_licenses/apiserver.csv index 643f932b043..ef4893cbb1e 100644 --- a/backend/third_party_licenses/apiserver.csv +++ b/backend/third_party_licenses/apiserver.csv @@ -61,7 +61,7 @@ github.com/klauspost/cpuid,https://github.com/klauspost/cpuid/blob/v1.3.1/LICENS github.com/klauspost/pgzip,https://github.com/klauspost/pgzip/blob/v1.2.5/LICENSE,MIT github.com/kubeflow/pipelines/api/v2alpha1/go,https://github.com/kubeflow/pipelines/blob/758c91f76784/api/LICENSE,Apache-2.0 github.com/kubeflow/pipelines/backend,https://github.com/kubeflow/pipelines/blob/HEAD/LICENSE,Apache-2.0 -github.com/kubeflow/pipelines/third_party/ml-metadata/go/ml_metadata,https://github.com/kubeflow/pipelines/blob/e1f0c010f800/third_party/ml-metadata/LICENSE,Apache-2.0 +github.com/kubeflow/pipelines/third_party/ml-metadata/go/ml_metadata,https://github.com/kubeflow/pipelines/blob/e78ed557ddcb/third_party/ml-metadata/LICENSE,Apache-2.0 github.com/lann/builder,https://github.com/lann/builder/blob/47ae307949d0/LICENSE,MIT github.com/lann/ps,https://github.com/lann/ps/blob/62de8c46ede0/LICENSE,MIT github.com/lestrrat-go/strftime,https://github.com/lestrrat-go/strftime/blob/v1.0.4/LICENSE,MIT From f93a17318cd01d8575f5eefd5170c07f16f00c6c Mon Sep 17 00:00:00 2001 From: James Liu Date: Mon, 14 Aug 2023 19:38:18 +0000 Subject: [PATCH 7/7] again --- backend/third_party_licenses/apiserver.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/third_party_licenses/apiserver.csv b/backend/third_party_licenses/apiserver.csv index ef4893cbb1e..643f932b043 100644 --- a/backend/third_party_licenses/apiserver.csv +++ b/backend/third_party_licenses/apiserver.csv @@ -61,7 +61,7 @@ github.com/klauspost/cpuid,https://github.com/klauspost/cpuid/blob/v1.3.1/LICENS github.com/klauspost/pgzip,https://github.com/klauspost/pgzip/blob/v1.2.5/LICENSE,MIT github.com/kubeflow/pipelines/api/v2alpha1/go,https://github.com/kubeflow/pipelines/blob/758c91f76784/api/LICENSE,Apache-2.0 github.com/kubeflow/pipelines/backend,https://github.com/kubeflow/pipelines/blob/HEAD/LICENSE,Apache-2.0 -github.com/kubeflow/pipelines/third_party/ml-metadata/go/ml_metadata,https://github.com/kubeflow/pipelines/blob/e78ed557ddcb/third_party/ml-metadata/LICENSE,Apache-2.0 +github.com/kubeflow/pipelines/third_party/ml-metadata/go/ml_metadata,https://github.com/kubeflow/pipelines/blob/e1f0c010f800/third_party/ml-metadata/LICENSE,Apache-2.0 github.com/lann/builder,https://github.com/lann/builder/blob/47ae307949d0/LICENSE,MIT github.com/lann/ps,https://github.com/lann/ps/blob/62de8c46ede0/LICENSE,MIT github.com/lestrrat-go/strftime,https://github.com/lestrrat-go/strftime/blob/v1.0.4/LICENSE,MIT