From 045035fa705ad8932d520ed7b39ab3d4e0191b76 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 20 Sep 2022 20:30:48 +0000 Subject: [PATCH] feat: [aiplatform] add timestamp_outside_retention_rows_count to ImportFeatureValuesResponse and ImportFeatureValuesOperationMetadata in aiplatform v1 featurestore_service.proto (#8429) - [ ] Regenerate this pull request now. feat: add RemoveContextChildren rpc to aiplatform v1 metadata_service.proto feat: add order_by to ListArtifactsRequest, ListContextsRequest, and ListExecutionsRequest in aiplatform v1 metadata_service.proto PiperOrigin-RevId: 475580702 Source-Link: https://github.com/googleapis/googleapis/commit/af65a1984fc94c2de4080d0e068a6623d9ae7169 Source-Link: https://github.com/googleapis/googleapis-gen/commit/023d431569a53f9b5cd0d47c6af85b8a46cea5e8 Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiIwMjNkNDMxNTY5YTUzZjliNWNkMGQ0N2M2YWY4NWI4YTQ2Y2VhNWU4In0= feat: [aiplatform] add timestamp_outside_retention_rows_count to ImportFeatureValuesResponse and ImportFeatureValuesOperationMetadata in aiplatform v1beta1 featurestore_service.proto feat: add RemoveContextChildren rpc to aiplatform v1beta1 metadata_service.proto feat: add order_by to ListArtifactsRequest, ListContextsRequest, and ListExecutionsRequest in aiplatform v1beta1 metadata_service.proto feat: add InputArtifact to RuntimeConfig in aiplatform v1beta1 pipeline_job.proto feat: add read_mask to ListPipelineJobsRequest in aiplatform v1beta1 pipeline_service.proto feat: add TransferLearningConfig in aiplatform v1beta1 study.proto PiperOrigin-RevId: 475580307 Source-Link: https://github.com/googleapis/googleapis/commit/dbc83bd75946f2dbbca5fbb2be13d6afbc635b83 Source-Link: https://github.com/googleapis/googleapis-gen/commit/26c120594d6049d40061023cae345da80181077c Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiIyNmMxMjA1OTRkNjA0OWQ0MDA2MTAyM2NhZTM0NWRhODAxODEwNzdjIn0= --- java-aiplatform/README.md | 145 +- .../aiplatform/v1/MetadataServiceClient.java | 151 ++ .../v1/MetadataServiceSettings.java | 12 + .../cloud/aiplatform/v1/gapic_metadata.json | 3 + .../v1/stub/GrpcMetadataServiceStub.java | 38 + .../v1/stub/MetadataServiceStub.java | 7 + .../v1/stub/MetadataServiceStubSettings.java | 29 + .../v1beta1/MetadataServiceClient.java | 151 ++ .../v1beta1/MetadataServiceSettings.java | 12 + .../v1beta1/PipelineServiceClient.java | 3 + .../aiplatform/v1beta1/gapic_metadata.json | 3 + .../v1beta1/stub/GrpcMetadataServiceStub.java | 39 + .../v1beta1/stub/MetadataServiceStub.java | 7 + .../stub/MetadataServiceStubSettings.java | 29 + .../v1/FeaturestoreServiceClientTest.java | 2 + .../v1/MetadataServiceClientTest.java | 84 + .../v1/MockMetadataServiceImpl.java | 22 + .../FeaturestoreServiceClientTest.java | 2 + .../v1beta1/MetadataServiceClientTest.java | 84 + .../v1beta1/MockMetadataServiceImpl.java | 22 + .../aiplatform/v1/MetadataServiceGrpc.java | 159 +- .../v1beta1/MetadataServiceGrpc.java | 162 +- .../aiplatform/v1/BatchPredictionJob.java | 14 +- .../v1/BatchPredictionJobOrBuilder.java | 4 +- .../cloud/aiplatform/v1/CustomJobSpec.java | 2 - .../v1/DeleteMetadataStoreRequest.java | 8 +- .../DeleteMetadataStoreRequestOrBuilder.java | 2 +- .../v1/FeaturestoreServiceProto.java | 535 ++-- .../ImportFeatureValuesOperationMetadata.java | 99 + ...atureValuesOperationMetadataOrBuilder.java | 14 + .../v1/ImportFeatureValuesResponse.java | 99 + .../ImportFeatureValuesResponseOrBuilder.java | 14 + .../aiplatform/v1/ListArtifactsRequest.java | 214 ++ .../v1/ListArtifactsRequestOrBuilder.java | 35 + .../v1/ListBatchPredictionJobsRequest.java | 35 + ...stBatchPredictionJobsRequestOrBuilder.java | 10 + .../aiplatform/v1/ListContextsRequest.java | 214 ++ .../v1/ListContextsRequestOrBuilder.java | 35 + .../aiplatform/v1/ListCustomJobsRequest.java | 35 + .../v1/ListCustomJobsRequestOrBuilder.java | 10 + .../v1/ListDataLabelingJobsRequest.java | 35 + .../ListDataLabelingJobsRequestOrBuilder.java | 10 + .../aiplatform/v1/ListExecutionsRequest.java | 214 ++ .../v1/ListExecutionsRequestOrBuilder.java | 35 + .../ListHyperparameterTuningJobsRequest.java | 35 + ...erparameterTuningJobsRequestOrBuilder.java | 10 + ...tModelDeploymentMonitoringJobsRequest.java | 35 + ...loymentMonitoringJobsRequestOrBuilder.java | 10 + .../v1/ListTrainingPipelinesRequest.java | 21 + ...ListTrainingPipelinesRequestOrBuilder.java | 6 + .../aiplatform/v1/MetadataServiceProto.java | 675 +++--- .../v1/RemoveContextChildrenRequest.java | 949 ++++++++ ...RemoveContextChildrenRequestOrBuilder.java | 109 + .../v1/RemoveContextChildrenResponse.java | 462 ++++ ...emoveContextChildrenResponseOrBuilder.java | 24 + .../aiplatform/v1/batch_prediction_job.proto | 2 +- .../cloud/aiplatform/v1/custom_job.proto | 1 - .../aiplatform/v1/featurestore_service.proto | 8 + .../cloud/aiplatform/v1/job_service.proto | 25 + .../aiplatform/v1/metadata_service.proto | 60 + .../aiplatform/v1/pipeline_service.proto | 3 + .../v1beta1/BatchPredictionJob.java | 14 +- .../v1beta1/BatchPredictionJobOrBuilder.java | 4 +- .../aiplatform/v1beta1/CustomJobSpec.java | 2 - .../v1beta1/DeleteFeatureValuesRequest.java | 2159 +++++++++++++++-- .../DeleteFeatureValuesRequestOrBuilder.java | 54 +- .../v1beta1/DeleteFeatureValuesResponse.java | 6 +- .../v1beta1/DeleteMetadataStoreRequest.java | 8 +- .../DeleteMetadataStoreRequestOrBuilder.java | 2 +- .../v1beta1/FeaturestoreServiceProto.java | 699 +++--- .../ImportFeatureValuesOperationMetadata.java | 99 + ...atureValuesOperationMetadataOrBuilder.java | 14 + .../v1beta1/ImportFeatureValuesResponse.java | 99 + .../ImportFeatureValuesResponseOrBuilder.java | 14 + .../v1beta1/ListArtifactsRequest.java | 214 ++ .../ListArtifactsRequestOrBuilder.java | 35 + .../ListBatchPredictionJobsRequest.java | 35 + ...stBatchPredictionJobsRequestOrBuilder.java | 10 + .../v1beta1/ListContextsRequest.java | 214 ++ .../v1beta1/ListContextsRequestOrBuilder.java | 35 + .../v1beta1/ListCustomJobsRequest.java | 35 + .../ListCustomJobsRequestOrBuilder.java | 10 + .../v1beta1/ListDataLabelingJobsRequest.java | 35 + .../ListDataLabelingJobsRequestOrBuilder.java | 10 + .../v1beta1/ListExecutionsRequest.java | 214 ++ .../ListExecutionsRequestOrBuilder.java | 35 + .../ListHyperparameterTuningJobsRequest.java | 35 + ...erparameterTuningJobsRequestOrBuilder.java | 10 + ...tModelDeploymentMonitoringJobsRequest.java | 35 + ...loymentMonitoringJobsRequestOrBuilder.java | 10 + .../v1beta1/ListPipelineJobsRequest.java | 268 ++ .../ListPipelineJobsRequestOrBuilder.java | 35 + .../v1beta1/ListTrainingPipelinesRequest.java | 21 + ...ListTrainingPipelinesRequestOrBuilder.java | 6 + .../v1beta1/MetadataServiceProto.java | 703 +++--- .../ModelMonitoringObjectiveConfig.java | 12 +- .../cloud/aiplatform/v1beta1/Pipeline.java | 197 +- .../cloud/aiplatform/v1beta1/PipelineJob.java | 1437 ++++++++++- .../v1beta1/PipelineServiceProto.java | 149 +- .../v1beta1/PipelineTaskExecutorDetail.java | 8 +- .../PipelineTaskExecutorDetailOrBuilder.java | 4 +- .../v1beta1/RemoveContextChildrenRequest.java | 956 ++++++++ ...RemoveContextChildrenRequestOrBuilder.java | 109 + .../RemoveContextChildrenResponse.java | 468 ++++ ...emoveContextChildrenResponseOrBuilder.java | 24 + .../cloud/aiplatform/v1beta1/StudyProto.java | 190 +- .../cloud/aiplatform/v1beta1/StudySpec.java | 1648 +++++++++++-- .../v1beta1/StudySpecOrBuilder.java | 49 +- .../v1beta1/batch_prediction_job.proto | 2 +- .../cloud/aiplatform/v1beta1/custom_job.proto | 1 - .../v1beta1/featurestore_service.proto | 55 +- .../aiplatform/v1beta1/job_service.proto | 25 + .../aiplatform/v1beta1/metadata_service.proto | 60 + .../aiplatform/v1beta1/model_monitoring.proto | 13 +- .../aiplatform/v1beta1/pipeline_job.proto | 16 + .../aiplatform/v1beta1/pipeline_service.proto | 6 + .../cloud/aiplatform/v1beta1/study.proto | 17 + .../samples/install-without-bom/pom.xml | 84 + java-aiplatform/samples/pom.xml | 56 + java-aiplatform/samples/snapshot/pom.xml | 83 + java-aiplatform/samples/snippets/pom.xml | 47 + 121 files changed, 13983 insertions(+), 2186 deletions(-) create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenRequest.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenRequestOrBuilder.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenResponse.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenResponseOrBuilder.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenRequest.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenRequestOrBuilder.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenResponse.java create mode 100644 java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenResponseOrBuilder.java create mode 100644 java-aiplatform/samples/install-without-bom/pom.xml create mode 100644 java-aiplatform/samples/pom.xml create mode 100644 java-aiplatform/samples/snapshot/pom.xml create mode 100644 java-aiplatform/samples/snippets/pom.xml diff --git a/java-aiplatform/README.md b/java-aiplatform/README.md index d9352194ac77..b241355f5996 100644 --- a/java-aiplatform/README.md +++ b/java-aiplatform/README.md @@ -11,37 +11,18 @@ Java idiomatic client for [Vertex AI][product-docs]. ## Quickstart -If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: -```xml - - - com.google.cloud - google-cloud-aiplatform - 3.2.0 - - -``` - -If you are using Maven without BOM, add this to your dependencies: +If you are using Maven, add this to your pom.xml file: ```xml com.google.cloud google-cloud-aiplatform - 3.2.0 + 3.3.0 - ``` -If you are using Gradle 5.x or later, add this to your dependencies: - -```Groovy -implementation platform('com.google.cloud:libraries-bom:26.1.2') - -implementation 'com.google.cloud:google-cloud-aiplatform' -``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy @@ -89,128 +70,6 @@ use this Vertex AI Client Library. -## Samples - -Samples are in the [`samples/`](https://github.com/googleapis/java-aiplatform/tree/main/samples) directory. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Batch Create Features Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/BatchCreateFeaturesSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/BatchCreateFeaturesSample.java) | -| Batch Read Feature Values Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/BatchReadFeatureValuesSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/BatchReadFeatureValuesSample.java) | -| Cancel Batch Prediction Job Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CancelBatchPredictionJobSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CancelBatchPredictionJobSample.java) | -| Cancel Data Labeling Job Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CancelDataLabelingJobSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CancelDataLabelingJobSample.java) | -| Cancel Training Pipeline Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CancelTrainingPipelineSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CancelTrainingPipelineSample.java) | -| Create Batch Prediction Job Bigquery Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobBigquerySample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobBigquerySample.java) | -| Create Batch Prediction Job Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobSample.java) | -| Create Batch Prediction Job Text Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobTextClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobTextClassificationSample.java) | -| Create Batch Prediction Job Text Entity Extraction Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobTextEntityExtractionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobTextEntityExtractionSample.java) | -| Create Batch Prediction Job Text Sentiment Analysis Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobTextSentimentAnalysisSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobTextSentimentAnalysisSample.java) | -| Create Batch Prediction Job Video Action Recognition Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobVideoActionRecognitionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobVideoActionRecognitionSample.java) | -| Create Batch Prediction Job Video Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobVideoClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobVideoClassificationSample.java) | -| Create Batch Prediction Job Video Object Tracking Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobVideoObjectTrackingSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateBatchPredictionJobVideoObjectTrackingSample.java) | -| Create Data Labeling Job Active Learning Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDataLabelingJobActiveLearningSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDataLabelingJobActiveLearningSample.java) | -| Create Data Labeling Job Image Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDataLabelingJobImageSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDataLabelingJobImageSample.java) | -| Create Data Labeling Job Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDataLabelingJobSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDataLabelingJobSample.java) | -| Create Data Labeling Job Specialist Pool Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDataLabelingJobSpecialistPoolSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDataLabelingJobSpecialistPoolSample.java) | -| Create Data Labeling Job Video Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDataLabelingJobVideoSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDataLabelingJobVideoSample.java) | -| Create Dataset Image Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDatasetImageSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDatasetImageSample.java) | -| Create Dataset Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDatasetSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDatasetSample.java) | -| Create Dataset Tabular Bigquery Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDatasetTabularBigquerySample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDatasetTabularBigquerySample.java) | -| Create Dataset Tabular Gcs Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDatasetTabularGcsSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDatasetTabularGcsSample.java) | -| Create Dataset Text Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDatasetTextSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDatasetTextSample.java) | -| Create Dataset Video Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateDatasetVideoSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateDatasetVideoSample.java) | -| Create Endpoint Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateEndpointSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateEndpointSample.java) | -| Create Entity Type Monitoring Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateEntityTypeMonitoringSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateEntityTypeMonitoringSample.java) | -| Create Entity Type Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateEntityTypeSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateEntityTypeSample.java) | -| Create Feature Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateFeatureSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateFeatureSample.java) | -| Create Featurestore Fixed Nodes Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateFeaturestoreFixedNodesSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateFeaturestoreFixedNodesSample.java) | -| Create Featurestore Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateFeaturestoreSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateFeaturestoreSample.java) | -| Create Hyperparameter Tuning Job Python Package Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateHyperparameterTuningJobPythonPackageSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateHyperparameterTuningJobPythonPackageSample.java) | -| Create Hyperparameter Tuning Job Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateHyperparameterTuningJobSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateHyperparameterTuningJobSample.java) | -| Create Training Pipeline Custom Job Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineCustomJobSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineCustomJobSample.java) | -| Create Training Pipeline Custom Training Managed Dataset Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineCustomTrainingManagedDatasetSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineCustomTrainingManagedDatasetSample.java) | -| Create Training Pipeline Image Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineImageClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineImageClassificationSample.java) | -| Create Training Pipeline Image Object Detection Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineImageObjectDetectionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineImageObjectDetectionSample.java) | -| Create Training Pipeline Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineSample.java) | -| Create Training Pipeline Tabular Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineTabularClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineTabularClassificationSample.java) | -| Create Training Pipeline Tabular Regression Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineTabularRegressionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineTabularRegressionSample.java) | -| Create Training Pipeline Text Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineTextClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineTextClassificationSample.java) | -| Create Training Pipeline Text Entity Extraction Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineTextEntityExtractionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineTextEntityExtractionSample.java) | -| Create Training Pipeline Text Sentiment Analysis Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineTextSentimentAnalysisSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineTextSentimentAnalysisSample.java) | -| Create Training Pipeline Video Action Recognition Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineVideoActionRecognitionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineVideoActionRecognitionSample.java) | -| Create Training Pipeline Video Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineVideoClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineVideoClassificationSample.java) | -| Create Training Pipeline Video Object Tracking Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineVideoObjectTrackingSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/CreateTrainingPipelineVideoObjectTrackingSample.java) | -| Delete Batch Prediction Job Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeleteBatchPredictionJobSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeleteBatchPredictionJobSample.java) | -| Delete Data Labeling Job Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeleteDataLabelingJobSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeleteDataLabelingJobSample.java) | -| Delete Dataset Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeleteDatasetSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeleteDatasetSample.java) | -| Delete Endpoint Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeleteEndpointSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeleteEndpointSample.java) | -| Delete Entity Type Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeleteEntityTypeSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeleteEntityTypeSample.java) | -| Delete Export Model Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeleteExportModelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeleteExportModelSample.java) | -| Delete Feature Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeleteFeatureSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeleteFeatureSample.java) | -| Delete Featurestore Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeleteFeaturestoreSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeleteFeaturestoreSample.java) | -| Delete Model Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeleteModelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeleteModelSample.java) | -| Delete Training Pipeline Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeleteTrainingPipelineSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeleteTrainingPipelineSample.java) | -| Deploy Model Custom Trained Model Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeployModelCustomTrainedModelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeployModelCustomTrainedModelSample.java) | -| Deploy Model Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/DeployModelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/DeployModelSample.java) | -| Export Feature Values Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ExportFeatureValuesSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ExportFeatureValuesSample.java) | -| Export Feature Values Snapshot Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ExportFeatureValuesSnapshotSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ExportFeatureValuesSnapshotSample.java) | -| Export Model Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ExportModelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ExportModelSample.java) | -| Export Model Tabular Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ExportModelTabularClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ExportModelTabularClassificationSample.java) | -| Export Model Video Action Recognition Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ExportModelVideoActionRecognitionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ExportModelVideoActionRecognitionSample.java) | -| Get Batch Prediction Job Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetBatchPredictionJobSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetBatchPredictionJobSample.java) | -| Get Entity Type Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetEntityTypeSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetEntityTypeSample.java) | -| Get Feature Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetFeatureSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetFeatureSample.java) | -| Get Featurestore Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetFeaturestoreSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetFeaturestoreSample.java) | -| Get Hyperparameter Tuning Job Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetHyperparameterTuningJobSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetHyperparameterTuningJobSample.java) | -| Get Model Evaluation Image Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationImageClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationImageClassificationSample.java) | -| Get Model Evaluation Image Object Detection Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationImageObjectDetectionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationImageObjectDetectionSample.java) | -| Get Model Evaluation Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationSample.java) | -| Get Model Evaluation Slice Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationSliceSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationSliceSample.java) | -| Get Model Evaluation Tabular Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationTabularClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationTabularClassificationSample.java) | -| Get Model Evaluation Tabular Regression Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationTabularRegressionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationTabularRegressionSample.java) | -| Get Model Evaluation Text Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationTextClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationTextClassificationSample.java) | -| Get Model Evaluation Text Entity Extraction Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationTextEntityExtractionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationTextEntityExtractionSample.java) | -| Get Model Evaluation Text Sentiment Analysis Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationTextSentimentAnalysisSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationTextSentimentAnalysisSample.java) | -| Get Model Evaluation Video Action Recognition Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationVideoActionRecognitionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationVideoActionRecognitionSample.java) | -| Get Model Evaluation Video Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationVideoClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationVideoClassificationSample.java) | -| Get Model Evaluation Video Object Tracking Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelEvaluationVideoObjectTrackingSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelEvaluationVideoObjectTrackingSample.java) | -| Get Model Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetModelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetModelSample.java) | -| Get Training Pipeline Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/GetTrainingPipelineSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/GetTrainingPipelineSample.java) | -| Import Data Image Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ImportDataImageClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ImportDataImageClassificationSample.java) | -| Import Data Image Object Detection Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ImportDataImageObjectDetectionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ImportDataImageObjectDetectionSample.java) | -| Import Data Text Classification Single Label Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ImportDataTextClassificationSingleLabelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ImportDataTextClassificationSingleLabelSample.java) | -| Import Data Text Entity Extraction Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ImportDataTextEntityExtractionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ImportDataTextEntityExtractionSample.java) | -| Import Data Text Sentiment Analysis Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ImportDataTextSentimentAnalysisSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ImportDataTextSentimentAnalysisSample.java) | -| Import Data Video Action Recognition Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ImportDataVideoActionRecognitionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ImportDataVideoActionRecognitionSample.java) | -| Import Data Video Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ImportDataVideoClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ImportDataVideoClassificationSample.java) | -| Import Data Video Object Tracking Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ImportDataVideoObjectTrackingSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ImportDataVideoObjectTrackingSample.java) | -| Import Feature Values Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ImportFeatureValuesSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ImportFeatureValuesSample.java) | -| List Entity Types Async Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ListEntityTypesAsyncSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ListEntityTypesAsyncSample.java) | -| List Entity Types Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ListEntityTypesSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ListEntityTypesSample.java) | -| List Features Async Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ListFeaturesAsyncSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ListFeaturesAsyncSample.java) | -| List Features Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ListFeaturesSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ListFeaturesSample.java) | -| List Featurestores Async Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ListFeaturestoresAsyncSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ListFeaturestoresAsyncSample.java) | -| List Featurestores Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ListFeaturestoresSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ListFeaturestoresSample.java) | -| List Model Evaluation Slice Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/ListModelEvaluationSliceSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/ListModelEvaluationSliceSample.java) | -| Predict Custom Trained Model Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/PredictCustomTrainedModelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/PredictCustomTrainedModelSample.java) | -| Predict Image Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/PredictImageClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/PredictImageClassificationSample.java) | -| Predict Image Object Detection Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/PredictImageObjectDetectionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/PredictImageObjectDetectionSample.java) | -| Predict Tabular Classification Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/PredictTabularClassificationSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/PredictTabularClassificationSample.java) | -| Predict Tabular Regression Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/PredictTabularRegressionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/PredictTabularRegressionSample.java) | -| Predict Text Classification Single Label Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/PredictTextClassificationSingleLabelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/PredictTextClassificationSingleLabelSample.java) | -| Predict Text Entity Extraction Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/PredictTextEntityExtractionSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/PredictTextEntityExtractionSample.java) | -| Predict Text Sentiment Analysis Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/PredictTextSentimentAnalysisSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/PredictTextSentimentAnalysisSample.java) | -| Search Features Async Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/SearchFeaturesAsyncSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/SearchFeaturesAsyncSample.java) | -| Search Features Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/SearchFeaturesSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/SearchFeaturesSample.java) | -| Undeploy Model Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/UndeployModelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/UndeployModelSample.java) | -| Update Entity Type Monitoring Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/UpdateEntityTypeMonitoringSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/UpdateEntityTypeMonitoringSample.java) | -| Update Entity Type Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/UpdateEntityTypeSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/UpdateEntityTypeSample.java) | -| Update Feature Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/UpdateFeatureSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/UpdateFeatureSample.java) | -| Update Featurestore Fixed Nodes Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/UpdateFeaturestoreFixedNodesSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/UpdateFeaturestoreFixedNodesSample.java) | -| Update Featurestore Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/UpdateFeaturestoreSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/UpdateFeaturestoreSample.java) | -| Upload Model Sample | [source code](https://github.com/googleapis/java-aiplatform/blob/main/samples/snippets/src/main/java/aiplatform/UploadModelSample.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-aiplatform&page=editor&open_in_editor=samples/snippets/src/main/java/aiplatform/UploadModelSample.java) | - - ## Troubleshooting diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java index bd50898684d0..96f19dc191a3 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceClient.java @@ -1155,6 +1155,7 @@ public final ListArtifactsPagedResponse listArtifacts(String parent) { * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * for (Artifact element : metadataServiceClient.listArtifacts(request).iterateAll()) { * // doThingsWith(element); @@ -1189,6 +1190,7 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * ApiFuture future = * metadataServiceClient.listArtifactsPagedCallable().futureCall(request); @@ -1224,6 +1226,7 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * while (true) { * ListArtifactsResponse response = @@ -1991,6 +1994,7 @@ public final ListContextsPagedResponse listContexts(String parent) { * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * for (Context element : metadataServiceClient.listContexts(request).iterateAll()) { * // doThingsWith(element); @@ -2025,6 +2029,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request) * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * ApiFuture future = * metadataServiceClient.listContextsPagedCallable().futureCall(request); @@ -2060,6 +2065,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request) * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * while (true) { * ListContextsResponse response = metadataServiceClient.listContextsCallable().call(request); @@ -2792,6 +2798,148 @@ public final AddContextChildrenResponse addContextChildren(AddContextChildrenReq return stub.addContextChildrenCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT + * added to the parent Context, they are simply skipped. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
+   *   ContextName context =
+   *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]");
+   *   List childContexts = new ArrayList<>();
+   *   RemoveContextChildrenResponse response =
+   *       metadataServiceClient.removeContextChildren(context, childContexts);
+   * }
+   * }
+ * + * @param context Required. The resource name of the parent Context. + *

Format: + * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + * @param childContexts The resource names of the child Contexts. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RemoveContextChildrenResponse removeContextChildren( + ContextName context, List childContexts) { + RemoveContextChildrenRequest request = + RemoveContextChildrenRequest.newBuilder() + .setContext(context == null ? null : context.toString()) + .addAllChildContexts(childContexts) + .build(); + return removeContextChildren(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT + * added to the parent Context, they are simply skipped. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
+   *   String context =
+   *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
+   *   List childContexts = new ArrayList<>();
+   *   RemoveContextChildrenResponse response =
+   *       metadataServiceClient.removeContextChildren(context, childContexts);
+   * }
+   * }
+ * + * @param context Required. The resource name of the parent Context. + *

Format: + * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + * @param childContexts The resource names of the child Contexts. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RemoveContextChildrenResponse removeContextChildren( + String context, List childContexts) { + RemoveContextChildrenRequest request = + RemoveContextChildrenRequest.newBuilder() + .setContext(context) + .addAllChildContexts(childContexts) + .build(); + return removeContextChildren(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT + * added to the parent Context, they are simply skipped. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
+   *   RemoveContextChildrenRequest request =
+   *       RemoveContextChildrenRequest.newBuilder()
+   *           .setContext(
+   *               ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
+   *                   .toString())
+   *           .addAllChildContexts(new ArrayList())
+   *           .build();
+   *   RemoveContextChildrenResponse response = metadataServiceClient.removeContextChildren(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RemoveContextChildrenResponse removeContextChildren( + RemoveContextChildrenRequest request) { + return removeContextChildrenCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT + * added to the parent Context, they are simply skipped. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
+   *   RemoveContextChildrenRequest request =
+   *       RemoveContextChildrenRequest.newBuilder()
+   *           .setContext(
+   *               ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
+   *                   .toString())
+   *           .addAllChildContexts(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       metadataServiceClient.removeContextChildrenCallable().futureCall(request);
+   *   // Do something.
+   *   RemoveContextChildrenResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + removeContextChildrenCallable() { + return stub.removeContextChildrenCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Retrieves Artifacts and Executions within the specified Context, connected by Event edges and @@ -3271,6 +3419,7 @@ public final ListExecutionsPagedResponse listExecutions(String parent) { * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * for (Execution element : metadataServiceClient.listExecutions(request).iterateAll()) { * // doThingsWith(element); @@ -3305,6 +3454,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * ApiFuture future = * metadataServiceClient.listExecutionsPagedCallable().futureCall(request); @@ -3340,6 +3490,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * while (true) { * ListExecutionsResponse response = diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceSettings.java index c2976327f84d..75ad732e4168 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceSettings.java @@ -225,6 +225,12 @@ public UnaryCallSettings purgeContextsSettings( return ((MetadataServiceStubSettings) getStubSettings()).addContextChildrenSettings(); } + /** Returns the object with the settings used for calls to removeContextChildren. */ + public UnaryCallSettings + removeContextChildrenSettings() { + return ((MetadataServiceStubSettings) getStubSettings()).removeContextChildrenSettings(); + } + /** Returns the object with the settings used for calls to queryContextLineageSubgraph. */ public UnaryCallSettings queryContextLineageSubgraphSettings() { @@ -579,6 +585,12 @@ public UnaryCallSettings.Builder purgeContextsS return getStubSettingsBuilder().addContextChildrenSettings(); } + /** Returns the builder for the settings used for calls to removeContextChildren. */ + public UnaryCallSettings.Builder + removeContextChildrenSettings() { + return getStubSettingsBuilder().removeContextChildrenSettings(); + } + /** Returns the builder for the settings used for calls to queryContextLineageSubgraph. */ public UnaryCallSettings.Builder queryContextLineageSubgraphSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json index cbc61de48bc2..de116b201edc 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json @@ -520,6 +520,9 @@ "QueryExecutionInputsAndOutputs": { "methods": ["queryExecutionInputsAndOutputs", "queryExecutionInputsAndOutputs", "queryExecutionInputsAndOutputs", "queryExecutionInputsAndOutputsCallable"] }, + "RemoveContextChildren": { + "methods": ["removeContextChildren", "removeContextChildren", "removeContextChildren", "removeContextChildrenCallable"] + }, "SetIamPolicy": { "methods": ["setIamPolicy", "setIamPolicyCallable"] }, diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMetadataServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMetadataServiceStub.java index bc6074fe22f7..0ec20a3de7ae 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMetadataServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcMetadataServiceStub.java @@ -81,6 +81,8 @@ import com.google.cloud.aiplatform.v1.QueryArtifactLineageSubgraphRequest; import com.google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest; import com.google.cloud.aiplatform.v1.QueryExecutionInputsAndOutputsRequest; +import com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest; +import com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse; import com.google.cloud.aiplatform.v1.UpdateArtifactRequest; import com.google.cloud.aiplatform.v1.UpdateContextRequest; import com.google.cloud.aiplatform.v1.UpdateExecutionRequest; @@ -297,6 +299,17 @@ public class GrpcMetadataServiceStub extends MetadataServiceStub { ProtoUtils.marshaller(AddContextChildrenResponse.getDefaultInstance())) .build(); + private static final MethodDescriptor + removeContextChildrenMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.MetadataService/RemoveContextChildren") + .setRequestMarshaller( + ProtoUtils.marshaller(RemoveContextChildrenRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(RemoveContextChildrenResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor queryContextLineageSubgraphMethodDescriptor = MethodDescriptor.newBuilder() @@ -522,6 +535,8 @@ public class GrpcMetadataServiceStub extends MetadataServiceStub { addContextArtifactsAndExecutionsCallable; private final UnaryCallable addContextChildrenCallable; + private final UnaryCallable + removeContextChildrenCallable; private final UnaryCallable queryContextLineageSubgraphCallable; private final UnaryCallable createExecutionCallable; @@ -789,6 +804,18 @@ protected GrpcMetadataServiceStub( return params.build(); }) .build(); + GrpcCallSettings + removeContextChildrenTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(removeContextChildrenMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("context", String.valueOf(request.getContext())); + return params.build(); + }) + .build(); GrpcCallSettings queryContextLineageSubgraphTransportSettings = GrpcCallSettings.newBuilder() @@ -1089,6 +1116,11 @@ protected GrpcMetadataServiceStub( addContextChildrenTransportSettings, settings.addContextChildrenSettings(), clientContext); + this.removeContextChildrenCallable = + callableFactory.createUnaryCallable( + removeContextChildrenTransportSettings, + settings.removeContextChildrenSettings(), + clientContext); this.queryContextLineageSubgraphCallable = callableFactory.createUnaryCallable( queryContextLineageSubgraphTransportSettings, @@ -1339,6 +1371,12 @@ public UnaryCallable purgeContextsCallable() { return addContextChildrenCallable; } + @Override + public UnaryCallable + removeContextChildrenCallable() { + return removeContextChildrenCallable; + } + @Override public UnaryCallable queryContextLineageSubgraphCallable() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStub.java index 36197a242aeb..7bd555bb493a 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStub.java @@ -77,6 +77,8 @@ import com.google.cloud.aiplatform.v1.QueryArtifactLineageSubgraphRequest; import com.google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest; import com.google.cloud.aiplatform.v1.QueryExecutionInputsAndOutputsRequest; +import com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest; +import com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse; import com.google.cloud.aiplatform.v1.UpdateArtifactRequest; import com.google.cloud.aiplatform.v1.UpdateContextRequest; import com.google.cloud.aiplatform.v1.UpdateExecutionRequest; @@ -231,6 +233,11 @@ public UnaryCallable purgeContextsCallable() { throw new UnsupportedOperationException("Not implemented: addContextChildrenCallable()"); } + public UnaryCallable + removeContextChildrenCallable() { + throw new UnsupportedOperationException("Not implemented: removeContextChildrenCallable()"); + } + public UnaryCallable queryContextLineageSubgraphCallable() { throw new UnsupportedOperationException( diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java index 9340691c9182..229ecdde9db1 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/MetadataServiceStubSettings.java @@ -100,6 +100,8 @@ import com.google.cloud.aiplatform.v1.QueryArtifactLineageSubgraphRequest; import com.google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest; import com.google.cloud.aiplatform.v1.QueryExecutionInputsAndOutputsRequest; +import com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest; +import com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse; import com.google.cloud.aiplatform.v1.UpdateArtifactRequest; import com.google.cloud.aiplatform.v1.UpdateContextRequest; import com.google.cloud.aiplatform.v1.UpdateExecutionRequest; @@ -208,6 +210,8 @@ public class MetadataServiceStubSettings extends StubSettings addContextChildrenSettings; + private final UnaryCallSettings + removeContextChildrenSettings; private final UnaryCallSettings queryContextLineageSubgraphSettings; private final UnaryCallSettings createExecutionSettings; @@ -716,6 +720,12 @@ public UnaryCallSettings purgeContextsSettings( return addContextChildrenSettings; } + /** Returns the object with the settings used for calls to removeContextChildren. */ + public UnaryCallSettings + removeContextChildrenSettings() { + return removeContextChildrenSettings; + } + /** Returns the object with the settings used for calls to queryContextLineageSubgraph. */ public UnaryCallSettings queryContextLineageSubgraphSettings() { @@ -932,6 +942,7 @@ protected MetadataServiceStubSettings(Builder settingsBuilder) throws IOExceptio addContextArtifactsAndExecutionsSettings = settingsBuilder.addContextArtifactsAndExecutionsSettings().build(); addContextChildrenSettings = settingsBuilder.addContextChildrenSettings().build(); + removeContextChildrenSettings = settingsBuilder.removeContextChildrenSettings().build(); queryContextLineageSubgraphSettings = settingsBuilder.queryContextLineageSubgraphSettings().build(); createExecutionSettings = settingsBuilder.createExecutionSettings().build(); @@ -1010,6 +1021,9 @@ public static class Builder extends StubSettings.Builder addContextChildrenSettings; + private final UnaryCallSettings.Builder< + RemoveContextChildrenRequest, RemoveContextChildrenResponse> + removeContextChildrenSettings; private final UnaryCallSettings.Builder queryContextLineageSubgraphSettings; private final UnaryCallSettings.Builder @@ -1104,6 +1118,7 @@ protected Builder(ClientContext clientContext) { purgeContextsOperationSettings = OperationCallSettings.newBuilder(); addContextArtifactsAndExecutionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); addContextChildrenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + removeContextChildrenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); queryContextLineageSubgraphSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createExecutionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getExecutionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -1146,6 +1161,7 @@ protected Builder(ClientContext clientContext) { purgeContextsSettings, addContextArtifactsAndExecutionsSettings, addContextChildrenSettings, + removeContextChildrenSettings, queryContextLineageSubgraphSettings, createExecutionSettings, getExecutionSettings, @@ -1197,6 +1213,7 @@ protected Builder(MetadataServiceStubSettings settings) { addContextArtifactsAndExecutionsSettings = settings.addContextArtifactsAndExecutionsSettings.toBuilder(); addContextChildrenSettings = settings.addContextChildrenSettings.toBuilder(); + removeContextChildrenSettings = settings.removeContextChildrenSettings.toBuilder(); queryContextLineageSubgraphSettings = settings.queryContextLineageSubgraphSettings.toBuilder(); createExecutionSettings = settings.createExecutionSettings.toBuilder(); @@ -1241,6 +1258,7 @@ protected Builder(MetadataServiceStubSettings settings) { purgeContextsSettings, addContextArtifactsAndExecutionsSettings, addContextChildrenSettings, + removeContextChildrenSettings, queryContextLineageSubgraphSettings, createExecutionSettings, getExecutionSettings, @@ -1365,6 +1383,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder + .removeContextChildrenSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .queryContextLineageSubgraphSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -1821,6 +1844,12 @@ public UnaryCallSettings.Builder purgeContextsS return addContextChildrenSettings; } + /** Returns the builder for the settings used for calls to removeContextChildren. */ + public UnaryCallSettings.Builder + removeContextChildrenSettings() { + return removeContextChildrenSettings; + } + /** Returns the builder for the settings used for calls to queryContextLineageSubgraph. */ public UnaryCallSettings.Builder queryContextLineageSubgraphSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java index 87e3398a86c7..4158fac1cd29 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClient.java @@ -1157,6 +1157,7 @@ public final ListArtifactsPagedResponse listArtifacts(String parent) { * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * for (Artifact element : metadataServiceClient.listArtifacts(request).iterateAll()) { * // doThingsWith(element); @@ -1191,6 +1192,7 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * ApiFuture future = * metadataServiceClient.listArtifactsPagedCallable().futureCall(request); @@ -1226,6 +1228,7 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * while (true) { * ListArtifactsResponse response = @@ -1993,6 +1996,7 @@ public final ListContextsPagedResponse listContexts(String parent) { * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * for (Context element : metadataServiceClient.listContexts(request).iterateAll()) { * // doThingsWith(element); @@ -2027,6 +2031,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request) * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * ApiFuture future = * metadataServiceClient.listContextsPagedCallable().futureCall(request); @@ -2062,6 +2067,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request) * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * while (true) { * ListContextsResponse response = metadataServiceClient.listContextsCallable().call(request); @@ -2794,6 +2800,148 @@ public final AddContextChildrenResponse addContextChildren(AddContextChildrenReq return stub.addContextChildrenCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT + * added to the parent Context, they are simply skipped. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
+   *   ContextName context =
+   *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]");
+   *   List childContexts = new ArrayList<>();
+   *   RemoveContextChildrenResponse response =
+   *       metadataServiceClient.removeContextChildren(context, childContexts);
+   * }
+   * }
+ * + * @param context Required. The resource name of the parent Context. + *

Format: + * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + * @param childContexts The resource names of the child Contexts. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RemoveContextChildrenResponse removeContextChildren( + ContextName context, List childContexts) { + RemoveContextChildrenRequest request = + RemoveContextChildrenRequest.newBuilder() + .setContext(context == null ? null : context.toString()) + .addAllChildContexts(childContexts) + .build(); + return removeContextChildren(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT + * added to the parent Context, they are simply skipped. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
+   *   String context =
+   *       ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]").toString();
+   *   List childContexts = new ArrayList<>();
+   *   RemoveContextChildrenResponse response =
+   *       metadataServiceClient.removeContextChildren(context, childContexts);
+   * }
+   * }
+ * + * @param context Required. The resource name of the parent Context. + *

Format: + * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + * @param childContexts The resource names of the child Contexts. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RemoveContextChildrenResponse removeContextChildren( + String context, List childContexts) { + RemoveContextChildrenRequest request = + RemoveContextChildrenRequest.newBuilder() + .setContext(context) + .addAllChildContexts(childContexts) + .build(); + return removeContextChildren(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT + * added to the parent Context, they are simply skipped. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
+   *   RemoveContextChildrenRequest request =
+   *       RemoveContextChildrenRequest.newBuilder()
+   *           .setContext(
+   *               ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
+   *                   .toString())
+   *           .addAllChildContexts(new ArrayList())
+   *           .build();
+   *   RemoveContextChildrenResponse response = metadataServiceClient.removeContextChildren(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RemoveContextChildrenResponse removeContextChildren( + RemoveContextChildrenRequest request) { + return removeContextChildrenCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT + * added to the parent Context, they are simply skipped. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (MetadataServiceClient metadataServiceClient = MetadataServiceClient.create()) {
+   *   RemoveContextChildrenRequest request =
+   *       RemoveContextChildrenRequest.newBuilder()
+   *           .setContext(
+   *               ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]")
+   *                   .toString())
+   *           .addAllChildContexts(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       metadataServiceClient.removeContextChildrenCallable().futureCall(request);
+   *   // Do something.
+   *   RemoveContextChildrenResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + removeContextChildrenCallable() { + return stub.removeContextChildrenCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Retrieves Artifacts and Executions within the specified Context, connected by Event edges and @@ -3273,6 +3421,7 @@ public final ListExecutionsPagedResponse listExecutions(String parent) { * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * for (Execution element : metadataServiceClient.listExecutions(request).iterateAll()) { * // doThingsWith(element); @@ -3307,6 +3456,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * ApiFuture future = * metadataServiceClient.listExecutionsPagedCallable().futureCall(request); @@ -3342,6 +3492,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * while (true) { * ListExecutionsResponse response = diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceSettings.java index f8cf5a767575..9bc24d4eb716 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceSettings.java @@ -226,6 +226,12 @@ public UnaryCallSettings purgeContextsSettings( return ((MetadataServiceStubSettings) getStubSettings()).addContextChildrenSettings(); } + /** Returns the object with the settings used for calls to removeContextChildren. */ + public UnaryCallSettings + removeContextChildrenSettings() { + return ((MetadataServiceStubSettings) getStubSettings()).removeContextChildrenSettings(); + } + /** Returns the object with the settings used for calls to queryContextLineageSubgraph. */ public UnaryCallSettings queryContextLineageSubgraphSettings() { @@ -580,6 +586,12 @@ public UnaryCallSettings.Builder purgeContextsS return getStubSettingsBuilder().addContextChildrenSettings(); } + /** Returns the builder for the settings used for calls to removeContextChildren. */ + public UnaryCallSettings.Builder + removeContextChildrenSettings() { + return getStubSettingsBuilder().removeContextChildrenSettings(); + } + /** Returns the builder for the settings used for calls to queryContextLineageSubgraph. */ public UnaryCallSettings.Builder queryContextLineageSubgraphSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java index 7a739dbdf174..217b01ee1998 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceClient.java @@ -1267,6 +1267,7 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(String parent) { * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setOrderBy("orderBy-1207110587") + * .setReadMask(FieldMask.newBuilder().build()) * .build(); * for (PipelineJob element : pipelineServiceClient.listPipelineJobs(request).iterateAll()) { * // doThingsWith(element); @@ -1301,6 +1302,7 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(ListPipelineJobsRequ * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setOrderBy("orderBy-1207110587") + * .setReadMask(FieldMask.newBuilder().build()) * .build(); * ApiFuture future = * pipelineServiceClient.listPipelineJobsPagedCallable().futureCall(request); @@ -1336,6 +1338,7 @@ public final ListPipelineJobsPagedResponse listPipelineJobs(ListPipelineJobsRequ * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setOrderBy("orderBy-1207110587") + * .setReadMask(FieldMask.newBuilder().build()) * .build(); * while (true) { * ListPipelineJobsResponse response = diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json index 3e16df96339b..1bf9b64642f1 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json @@ -565,6 +565,9 @@ "QueryExecutionInputsAndOutputs": { "methods": ["queryExecutionInputsAndOutputs", "queryExecutionInputsAndOutputs", "queryExecutionInputsAndOutputs", "queryExecutionInputsAndOutputsCallable"] }, + "RemoveContextChildren": { + "methods": ["removeContextChildren", "removeContextChildren", "removeContextChildren", "removeContextChildrenCallable"] + }, "SetIamPolicy": { "methods": ["setIamPolicy", "setIamPolicyCallable"] }, diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMetadataServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMetadataServiceStub.java index 39de5710517c..ea69c9c4c2a8 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMetadataServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcMetadataServiceStub.java @@ -82,6 +82,8 @@ import com.google.cloud.aiplatform.v1beta1.QueryArtifactLineageSubgraphRequest; import com.google.cloud.aiplatform.v1beta1.QueryContextLineageSubgraphRequest; import com.google.cloud.aiplatform.v1beta1.QueryExecutionInputsAndOutputsRequest; +import com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest; +import com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse; import com.google.cloud.aiplatform.v1beta1.UpdateArtifactRequest; import com.google.cloud.aiplatform.v1beta1.UpdateContextRequest; import com.google.cloud.aiplatform.v1beta1.UpdateExecutionRequest; @@ -303,6 +305,18 @@ public class GrpcMetadataServiceStub extends MetadataServiceStub { ProtoUtils.marshaller(AddContextChildrenResponse.getDefaultInstance())) .build(); + private static final MethodDescriptor + removeContextChildrenMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.aiplatform.v1beta1.MetadataService/RemoveContextChildren") + .setRequestMarshaller( + ProtoUtils.marshaller(RemoveContextChildrenRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(RemoveContextChildrenResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor queryContextLineageSubgraphMethodDescriptor = MethodDescriptor.newBuilder() @@ -532,6 +546,8 @@ public class GrpcMetadataServiceStub extends MetadataServiceStub { addContextArtifactsAndExecutionsCallable; private final UnaryCallable addContextChildrenCallable; + private final UnaryCallable + removeContextChildrenCallable; private final UnaryCallable queryContextLineageSubgraphCallable; private final UnaryCallable createExecutionCallable; @@ -799,6 +815,18 @@ protected GrpcMetadataServiceStub( return params.build(); }) .build(); + GrpcCallSettings + removeContextChildrenTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(removeContextChildrenMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("context", String.valueOf(request.getContext())); + return params.build(); + }) + .build(); GrpcCallSettings queryContextLineageSubgraphTransportSettings = GrpcCallSettings.newBuilder() @@ -1099,6 +1127,11 @@ protected GrpcMetadataServiceStub( addContextChildrenTransportSettings, settings.addContextChildrenSettings(), clientContext); + this.removeContextChildrenCallable = + callableFactory.createUnaryCallable( + removeContextChildrenTransportSettings, + settings.removeContextChildrenSettings(), + clientContext); this.queryContextLineageSubgraphCallable = callableFactory.createUnaryCallable( queryContextLineageSubgraphTransportSettings, @@ -1349,6 +1382,12 @@ public UnaryCallable purgeContextsCallable() { return addContextChildrenCallable; } + @Override + public UnaryCallable + removeContextChildrenCallable() { + return removeContextChildrenCallable; + } + @Override public UnaryCallable queryContextLineageSubgraphCallable() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStub.java index c8fe74e2e5ed..1dc055f052f5 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStub.java @@ -78,6 +78,8 @@ import com.google.cloud.aiplatform.v1beta1.QueryArtifactLineageSubgraphRequest; import com.google.cloud.aiplatform.v1beta1.QueryContextLineageSubgraphRequest; import com.google.cloud.aiplatform.v1beta1.QueryExecutionInputsAndOutputsRequest; +import com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest; +import com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse; import com.google.cloud.aiplatform.v1beta1.UpdateArtifactRequest; import com.google.cloud.aiplatform.v1beta1.UpdateContextRequest; import com.google.cloud.aiplatform.v1beta1.UpdateExecutionRequest; @@ -233,6 +235,11 @@ public UnaryCallable purgeContextsCallable() { throw new UnsupportedOperationException("Not implemented: addContextChildrenCallable()"); } + public UnaryCallable + removeContextChildrenCallable() { + throw new UnsupportedOperationException("Not implemented: removeContextChildrenCallable()"); + } + public UnaryCallable queryContextLineageSubgraphCallable() { throw new UnsupportedOperationException( diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java index 19a9db789f4a..4f42a212b297 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/MetadataServiceStubSettings.java @@ -100,6 +100,8 @@ import com.google.cloud.aiplatform.v1beta1.QueryArtifactLineageSubgraphRequest; import com.google.cloud.aiplatform.v1beta1.QueryContextLineageSubgraphRequest; import com.google.cloud.aiplatform.v1beta1.QueryExecutionInputsAndOutputsRequest; +import com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest; +import com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse; import com.google.cloud.aiplatform.v1beta1.UpdateArtifactRequest; import com.google.cloud.aiplatform.v1beta1.UpdateContextRequest; import com.google.cloud.aiplatform.v1beta1.UpdateExecutionRequest; @@ -209,6 +211,8 @@ public class MetadataServiceStubSettings extends StubSettings addContextChildrenSettings; + private final UnaryCallSettings + removeContextChildrenSettings; private final UnaryCallSettings queryContextLineageSubgraphSettings; private final UnaryCallSettings createExecutionSettings; @@ -717,6 +721,12 @@ public UnaryCallSettings purgeContextsSettings( return addContextChildrenSettings; } + /** Returns the object with the settings used for calls to removeContextChildren. */ + public UnaryCallSettings + removeContextChildrenSettings() { + return removeContextChildrenSettings; + } + /** Returns the object with the settings used for calls to queryContextLineageSubgraph. */ public UnaryCallSettings queryContextLineageSubgraphSettings() { @@ -933,6 +943,7 @@ protected MetadataServiceStubSettings(Builder settingsBuilder) throws IOExceptio addContextArtifactsAndExecutionsSettings = settingsBuilder.addContextArtifactsAndExecutionsSettings().build(); addContextChildrenSettings = settingsBuilder.addContextChildrenSettings().build(); + removeContextChildrenSettings = settingsBuilder.removeContextChildrenSettings().build(); queryContextLineageSubgraphSettings = settingsBuilder.queryContextLineageSubgraphSettings().build(); createExecutionSettings = settingsBuilder.createExecutionSettings().build(); @@ -1011,6 +1022,9 @@ public static class Builder extends StubSettings.Builder addContextChildrenSettings; + private final UnaryCallSettings.Builder< + RemoveContextChildrenRequest, RemoveContextChildrenResponse> + removeContextChildrenSettings; private final UnaryCallSettings.Builder queryContextLineageSubgraphSettings; private final UnaryCallSettings.Builder @@ -1115,6 +1129,7 @@ protected Builder(ClientContext clientContext) { purgeContextsOperationSettings = OperationCallSettings.newBuilder(); addContextArtifactsAndExecutionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); addContextChildrenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + removeContextChildrenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); queryContextLineageSubgraphSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createExecutionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getExecutionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -1157,6 +1172,7 @@ protected Builder(ClientContext clientContext) { purgeContextsSettings, addContextArtifactsAndExecutionsSettings, addContextChildrenSettings, + removeContextChildrenSettings, queryContextLineageSubgraphSettings, createExecutionSettings, getExecutionSettings, @@ -1208,6 +1224,7 @@ protected Builder(MetadataServiceStubSettings settings) { addContextArtifactsAndExecutionsSettings = settings.addContextArtifactsAndExecutionsSettings.toBuilder(); addContextChildrenSettings = settings.addContextChildrenSettings.toBuilder(); + removeContextChildrenSettings = settings.removeContextChildrenSettings.toBuilder(); queryContextLineageSubgraphSettings = settings.queryContextLineageSubgraphSettings.toBuilder(); createExecutionSettings = settings.createExecutionSettings.toBuilder(); @@ -1252,6 +1269,7 @@ protected Builder(MetadataServiceStubSettings settings) { purgeContextsSettings, addContextArtifactsAndExecutionsSettings, addContextChildrenSettings, + removeContextChildrenSettings, queryContextLineageSubgraphSettings, createExecutionSettings, getExecutionSettings, @@ -1376,6 +1394,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); + builder + .removeContextChildrenSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .queryContextLineageSubgraphSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) @@ -1832,6 +1855,12 @@ public UnaryCallSettings.Builder purgeContextsS return addContextChildrenSettings; } + /** Returns the builder for the settings used for calls to removeContextChildren. */ + public UnaryCallSettings.Builder + removeContextChildrenSettings() { + return removeContextChildrenSettings; + } + /** Returns the builder for the settings used for calls to queryContextLineageSubgraph. */ public UnaryCallSettings.Builder queryContextLineageSubgraphSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClientTest.java index c8963c697162..d4f31723630e 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceClientTest.java @@ -2063,6 +2063,7 @@ public void importFeatureValuesTest() throws Exception { .setImportedEntityCount(-1840044274) .setImportedFeatureValueCount(-1221471427) .setInvalidRowCount(-366655966) + .setTimestampOutsideRetentionRowsCount(-43092019) .build(); Operation resultOperation = Operation.newBuilder() @@ -2113,6 +2114,7 @@ public void importFeatureValuesTest2() throws Exception { .setImportedEntityCount(-1840044274) .setImportedFeatureValueCount(-1221471427) .setInvalidRowCount(-366655966) + .setTimestampOutsideRetentionRowsCount(-43092019) .build(); Operation resultOperation = Operation.newBuilder() diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MetadataServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MetadataServiceClientTest.java index 1c39b4db599b..5a7bcfa535ff 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MetadataServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MetadataServiceClientTest.java @@ -1725,6 +1725,90 @@ public void addContextChildrenExceptionTest2() throws Exception { } } + @Test + public void removeContextChildrenTest() throws Exception { + RemoveContextChildrenResponse expectedResponse = + RemoveContextChildrenResponse.newBuilder().build(); + mockMetadataService.addResponse(expectedResponse); + + ContextName context = + ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"); + List childContexts = new ArrayList<>(); + + RemoveContextChildrenResponse actualResponse = + client.removeContextChildren(context, childContexts); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockMetadataService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RemoveContextChildrenRequest actualRequest = + ((RemoveContextChildrenRequest) actualRequests.get(0)); + + Assert.assertEquals(context.toString(), actualRequest.getContext()); + Assert.assertEquals(childContexts, actualRequest.getChildContextsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void removeContextChildrenExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockMetadataService.addException(exception); + + try { + ContextName context = + ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"); + List childContexts = new ArrayList<>(); + client.removeContextChildren(context, childContexts); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void removeContextChildrenTest2() throws Exception { + RemoveContextChildrenResponse expectedResponse = + RemoveContextChildrenResponse.newBuilder().build(); + mockMetadataService.addResponse(expectedResponse); + + String context = "context951530927"; + List childContexts = new ArrayList<>(); + + RemoveContextChildrenResponse actualResponse = + client.removeContextChildren(context, childContexts); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockMetadataService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RemoveContextChildrenRequest actualRequest = + ((RemoveContextChildrenRequest) actualRequests.get(0)); + + Assert.assertEquals(context, actualRequest.getContext()); + Assert.assertEquals(childContexts, actualRequest.getChildContextsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void removeContextChildrenExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockMetadataService.addException(exception); + + try { + String context = "context951530927"; + List childContexts = new ArrayList<>(); + client.removeContextChildren(context, childContexts); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void queryContextLineageSubgraphTest() throws Exception { LineageSubgraph expectedResponse = diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockMetadataServiceImpl.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockMetadataServiceImpl.java index 09bae7890836..df75e677f709 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockMetadataServiceImpl.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockMetadataServiceImpl.java @@ -438,6 +438,28 @@ public void addContextChildren( } } + @Override + public void removeContextChildren( + RemoveContextChildrenRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof RemoveContextChildrenResponse) { + requests.add(request); + responseObserver.onNext(((RemoveContextChildrenResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method RemoveContextChildren, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + RemoveContextChildrenResponse.class.getName(), + Exception.class.getName()))); + } + } + @Override public void queryContextLineageSubgraph( QueryContextLineageSubgraphRequest request, diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClientTest.java index 0a6f17777d83..c62d5ab2802c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceClientTest.java @@ -2077,6 +2077,7 @@ public void importFeatureValuesTest() throws Exception { .setImportedEntityCount(-1840044274) .setImportedFeatureValueCount(-1221471427) .setInvalidRowCount(-366655966) + .setTimestampOutsideRetentionRowsCount(-43092019) .build(); Operation resultOperation = Operation.newBuilder() @@ -2127,6 +2128,7 @@ public void importFeatureValuesTest2() throws Exception { .setImportedEntityCount(-1840044274) .setImportedFeatureValueCount(-1221471427) .setInvalidRowCount(-366655966) + .setTimestampOutsideRetentionRowsCount(-43092019) .build(); Operation resultOperation = Operation.newBuilder() diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClientTest.java index 85160adaba1d..962cd8e95c2f 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceClientTest.java @@ -1725,6 +1725,90 @@ public void addContextChildrenExceptionTest2() throws Exception { } } + @Test + public void removeContextChildrenTest() throws Exception { + RemoveContextChildrenResponse expectedResponse = + RemoveContextChildrenResponse.newBuilder().build(); + mockMetadataService.addResponse(expectedResponse); + + ContextName context = + ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"); + List childContexts = new ArrayList<>(); + + RemoveContextChildrenResponse actualResponse = + client.removeContextChildren(context, childContexts); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockMetadataService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RemoveContextChildrenRequest actualRequest = + ((RemoveContextChildrenRequest) actualRequests.get(0)); + + Assert.assertEquals(context.toString(), actualRequest.getContext()); + Assert.assertEquals(childContexts, actualRequest.getChildContextsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void removeContextChildrenExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockMetadataService.addException(exception); + + try { + ContextName context = + ContextName.of("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"); + List childContexts = new ArrayList<>(); + client.removeContextChildren(context, childContexts); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void removeContextChildrenTest2() throws Exception { + RemoveContextChildrenResponse expectedResponse = + RemoveContextChildrenResponse.newBuilder().build(); + mockMetadataService.addResponse(expectedResponse); + + String context = "context951530927"; + List childContexts = new ArrayList<>(); + + RemoveContextChildrenResponse actualResponse = + client.removeContextChildren(context, childContexts); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockMetadataService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RemoveContextChildrenRequest actualRequest = + ((RemoveContextChildrenRequest) actualRequests.get(0)); + + Assert.assertEquals(context, actualRequest.getContext()); + Assert.assertEquals(childContexts, actualRequest.getChildContextsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void removeContextChildrenExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockMetadataService.addException(exception); + + try { + String context = "context951530927"; + List childContexts = new ArrayList<>(); + client.removeContextChildren(context, childContexts); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void queryContextLineageSubgraphTest() throws Exception { LineageSubgraph expectedResponse = diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockMetadataServiceImpl.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockMetadataServiceImpl.java index beac9491ca53..2bf696331b3a 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockMetadataServiceImpl.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockMetadataServiceImpl.java @@ -438,6 +438,28 @@ public void addContextChildren( } } + @Override + public void removeContextChildren( + RemoveContextChildrenRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof RemoveContextChildrenResponse) { + requests.add(request); + responseObserver.onNext(((RemoveContextChildrenResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method RemoveContextChildren, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + RemoveContextChildrenResponse.class.getName(), + Exception.class.getName()))); + } + } + @Override public void queryContextLineageSubgraph( QueryContextLineageSubgraphRequest request, diff --git a/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceGrpc.java b/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceGrpc.java index 227a08b254f0..4cf31eb52200 100644 --- a/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceGrpc.java +++ b/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceGrpc.java @@ -866,6 +866,56 @@ private MetadataServiceGrpc() {} return getAddContextChildrenMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest, + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse> + getRemoveContextChildrenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveContextChildren", + requestType = com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest.class, + responseType = com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest, + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse> + getRemoveContextChildrenMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest, + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse> + getRemoveContextChildrenMethod; + if ((getRemoveContextChildrenMethod = MetadataServiceGrpc.getRemoveContextChildrenMethod) + == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getRemoveContextChildrenMethod = MetadataServiceGrpc.getRemoveContextChildrenMethod) + == null) { + MetadataServiceGrpc.getRemoveContextChildrenMethod = + getRemoveContextChildrenMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RemoveContextChildren")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new MetadataServiceMethodDescriptorSupplier("RemoveContextChildren")) + .build(); + } + } + } + return getRemoveContextChildrenMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest, com.google.cloud.aiplatform.v1.LineageSubgraph> @@ -1800,6 +1850,23 @@ public void addContextChildren( getAddContextChildrenMethod(), responseObserver); } + /** + * + * + *
+     * Remove a set of children contexts from a parent Context. If any of the
+     * child Contexts were NOT added to the parent Context, they are
+     * simply skipped.
+     * 
+ */ + public void removeContextChildren( + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRemoveContextChildrenMethod(), responseObserver); + } + /** * * @@ -2114,6 +2181,13 @@ public final io.grpc.ServerServiceDefinition bindService() { com.google.cloud.aiplatform.v1.AddContextChildrenRequest, com.google.cloud.aiplatform.v1.AddContextChildrenResponse>( this, METHODID_ADD_CONTEXT_CHILDREN))) + .addMethod( + getRemoveContextChildrenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest, + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse>( + this, METHODID_REMOVE_CONTEXT_CHILDREN))) .addMethod( getQueryContextLineageSubgraphMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -2522,6 +2596,25 @@ public void addContextChildren( responseObserver); } + /** + * + * + *
+     * Remove a set of children contexts from a parent Context. If any of the
+     * child Contexts were NOT added to the parent Context, they are
+     * simply skipped.
+     * 
+ */ + public void removeContextChildren( + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveContextChildrenMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -3007,6 +3100,21 @@ public com.google.cloud.aiplatform.v1.AddContextChildrenResponse addContextChild getChannel(), getAddContextChildrenMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Remove a set of children contexts from a parent Context. If any of the
+     * child Contexts were NOT added to the parent Context, they are
+     * simply skipped.
+     * 
+ */ + public com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse removeContextChildren( + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveContextChildrenMethod(), getCallOptions(), request); + } + /** * * @@ -3458,6 +3566,22 @@ protected MetadataServiceFutureStub build( getChannel().newCall(getAddContextChildrenMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Remove a set of children contexts from a parent Context. If any of the
+     * child Contexts were NOT added to the parent Context, they are
+     * simply skipped.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse> + removeContextChildren(com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveContextChildrenMethod(), getCallOptions()), request); + } + /** * * @@ -3668,19 +3792,20 @@ protected MetadataServiceFutureStub build( private static final int METHODID_PURGE_CONTEXTS = 15; private static final int METHODID_ADD_CONTEXT_ARTIFACTS_AND_EXECUTIONS = 16; private static final int METHODID_ADD_CONTEXT_CHILDREN = 17; - private static final int METHODID_QUERY_CONTEXT_LINEAGE_SUBGRAPH = 18; - private static final int METHODID_CREATE_EXECUTION = 19; - private static final int METHODID_GET_EXECUTION = 20; - private static final int METHODID_LIST_EXECUTIONS = 21; - private static final int METHODID_UPDATE_EXECUTION = 22; - private static final int METHODID_DELETE_EXECUTION = 23; - private static final int METHODID_PURGE_EXECUTIONS = 24; - private static final int METHODID_ADD_EXECUTION_EVENTS = 25; - private static final int METHODID_QUERY_EXECUTION_INPUTS_AND_OUTPUTS = 26; - private static final int METHODID_CREATE_METADATA_SCHEMA = 27; - private static final int METHODID_GET_METADATA_SCHEMA = 28; - private static final int METHODID_LIST_METADATA_SCHEMAS = 29; - private static final int METHODID_QUERY_ARTIFACT_LINEAGE_SUBGRAPH = 30; + private static final int METHODID_REMOVE_CONTEXT_CHILDREN = 18; + private static final int METHODID_QUERY_CONTEXT_LINEAGE_SUBGRAPH = 19; + private static final int METHODID_CREATE_EXECUTION = 20; + private static final int METHODID_GET_EXECUTION = 21; + private static final int METHODID_LIST_EXECUTIONS = 22; + private static final int METHODID_UPDATE_EXECUTION = 23; + private static final int METHODID_DELETE_EXECUTION = 24; + private static final int METHODID_PURGE_EXECUTIONS = 25; + private static final int METHODID_ADD_EXECUTION_EVENTS = 26; + private static final int METHODID_QUERY_EXECUTION_INPUTS_AND_OUTPUTS = 27; + private static final int METHODID_CREATE_METADATA_SCHEMA = 28; + private static final int METHODID_GET_METADATA_SCHEMA = 29; + private static final int METHODID_LIST_METADATA_SCHEMAS = 30; + private static final int METHODID_QUERY_ARTIFACT_LINEAGE_SUBGRAPH = 31; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -3804,6 +3929,13 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv com.google.cloud.aiplatform.v1.AddContextChildrenResponse>) responseObserver); break; + case METHODID_REMOVE_CONTEXT_CHILDREN: + serviceImpl.removeContextChildren( + (com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse>) + responseObserver); + break; case METHODID_QUERY_CONTEXT_LINEAGE_SUBGRAPH: serviceImpl.queryContextLineageSubgraph( (com.google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest) request, @@ -3964,6 +4096,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getPurgeContextsMethod()) .addMethod(getAddContextArtifactsAndExecutionsMethod()) .addMethod(getAddContextChildrenMethod()) + .addMethod(getRemoveContextChildrenMethod()) .addMethod(getQueryContextLineageSubgraphMethod()) .addMethod(getCreateExecutionMethod()) .addMethod(getGetExecutionMethod()) diff --git a/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceGrpc.java b/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceGrpc.java index f37066bcbb3f..50e72b28fcb6 100644 --- a/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceGrpc.java +++ b/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceGrpc.java @@ -884,6 +884,56 @@ private MetadataServiceGrpc() {} return getAddContextChildrenMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest, + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse> + getRemoveContextChildrenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveContextChildren", + requestType = com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest, + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse> + getRemoveContextChildrenMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest, + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse> + getRemoveContextChildrenMethod; + if ((getRemoveContextChildrenMethod = MetadataServiceGrpc.getRemoveContextChildrenMethod) + == null) { + synchronized (MetadataServiceGrpc.class) { + if ((getRemoveContextChildrenMethod = MetadataServiceGrpc.getRemoveContextChildrenMethod) + == null) { + MetadataServiceGrpc.getRemoveContextChildrenMethod = + getRemoveContextChildrenMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RemoveContextChildren")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new MetadataServiceMethodDescriptorSupplier("RemoveContextChildren")) + .build(); + } + } + } + return getRemoveContextChildrenMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1beta1.QueryContextLineageSubgraphRequest, com.google.cloud.aiplatform.v1beta1.LineageSubgraph> @@ -1832,6 +1882,24 @@ public void addContextChildren( getAddContextChildrenMethod(), responseObserver); } + /** + * + * + *
+     * Remove a set of children contexts from a parent Context. If any of the
+     * child Contexts were NOT added to the parent Context, they are
+     * simply skipped.
+     * 
+ */ + public void removeContextChildren( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRemoveContextChildrenMethod(), responseObserver); + } + /** * * @@ -2151,6 +2219,13 @@ public final io.grpc.ServerServiceDefinition bindService() { com.google.cloud.aiplatform.v1beta1.AddContextChildrenRequest, com.google.cloud.aiplatform.v1beta1.AddContextChildrenResponse>( this, METHODID_ADD_CONTEXT_CHILDREN))) + .addMethod( + getRemoveContextChildrenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest, + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse>( + this, METHODID_REMOVE_CONTEXT_CHILDREN))) .addMethod( getQueryContextLineageSubgraphMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -2564,6 +2639,26 @@ public void addContextChildren( responseObserver); } + /** + * + * + *
+     * Remove a set of children contexts from a parent Context. If any of the
+     * child Contexts were NOT added to the parent Context, they are
+     * simply skipped.
+     * 
+ */ + public void removeContextChildren( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveContextChildrenMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -3052,6 +3147,21 @@ public com.google.cloud.aiplatform.v1beta1.AddContextChildrenResponse addContext getChannel(), getAddContextChildrenMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Remove a set of children contexts from a parent Context. If any of the
+     * child Contexts were NOT added to the parent Context, they are
+     * simply skipped.
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse removeContextChildren( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveContextChildrenMethod(), getCallOptions(), request); + } + /** * * @@ -3505,6 +3615,23 @@ protected MetadataServiceFutureStub build( getChannel().newCall(getAddContextChildrenMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Remove a set of children contexts from a parent Context. If any of the
+     * child Contexts were NOT added to the parent Context, they are
+     * simply skipped.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse> + removeContextChildren( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveContextChildrenMethod(), getCallOptions()), request); + } + /** * * @@ -3717,19 +3844,20 @@ protected MetadataServiceFutureStub build( private static final int METHODID_PURGE_CONTEXTS = 15; private static final int METHODID_ADD_CONTEXT_ARTIFACTS_AND_EXECUTIONS = 16; private static final int METHODID_ADD_CONTEXT_CHILDREN = 17; - private static final int METHODID_QUERY_CONTEXT_LINEAGE_SUBGRAPH = 18; - private static final int METHODID_CREATE_EXECUTION = 19; - private static final int METHODID_GET_EXECUTION = 20; - private static final int METHODID_LIST_EXECUTIONS = 21; - private static final int METHODID_UPDATE_EXECUTION = 22; - private static final int METHODID_DELETE_EXECUTION = 23; - private static final int METHODID_PURGE_EXECUTIONS = 24; - private static final int METHODID_ADD_EXECUTION_EVENTS = 25; - private static final int METHODID_QUERY_EXECUTION_INPUTS_AND_OUTPUTS = 26; - private static final int METHODID_CREATE_METADATA_SCHEMA = 27; - private static final int METHODID_GET_METADATA_SCHEMA = 28; - private static final int METHODID_LIST_METADATA_SCHEMAS = 29; - private static final int METHODID_QUERY_ARTIFACT_LINEAGE_SUBGRAPH = 30; + private static final int METHODID_REMOVE_CONTEXT_CHILDREN = 18; + private static final int METHODID_QUERY_CONTEXT_LINEAGE_SUBGRAPH = 19; + private static final int METHODID_CREATE_EXECUTION = 20; + private static final int METHODID_GET_EXECUTION = 21; + private static final int METHODID_LIST_EXECUTIONS = 22; + private static final int METHODID_UPDATE_EXECUTION = 23; + private static final int METHODID_DELETE_EXECUTION = 24; + private static final int METHODID_PURGE_EXECUTIONS = 25; + private static final int METHODID_ADD_EXECUTION_EVENTS = 26; + private static final int METHODID_QUERY_EXECUTION_INPUTS_AND_OUTPUTS = 27; + private static final int METHODID_CREATE_METADATA_SCHEMA = 28; + private static final int METHODID_GET_METADATA_SCHEMA = 29; + private static final int METHODID_LIST_METADATA_SCHEMAS = 30; + private static final int METHODID_QUERY_ARTIFACT_LINEAGE_SUBGRAPH = 31; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -3855,6 +3983,13 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv com.google.cloud.aiplatform.v1beta1.AddContextChildrenResponse>) responseObserver); break; + case METHODID_REMOVE_CONTEXT_CHILDREN: + serviceImpl.removeContextChildren( + (com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse>) + responseObserver); + break; case METHODID_QUERY_CONTEXT_LINEAGE_SUBGRAPH: serviceImpl.queryContextLineageSubgraph( (com.google.cloud.aiplatform.v1beta1.QueryContextLineageSubgraphRequest) request, @@ -4016,6 +4151,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getPurgeContextsMethod()) .addMethod(getAddContextArtifactsAndExecutionsMethod()) .addMethod(getAddContextChildrenMethod()) + .addMethod(getRemoveContextChildrenMethod()) .addMethod(getQueryContextLineageSubgraphMethod()) .addMethod(getCreateExecutionMethod()) .addMethod(getGetExecutionMethod()) diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJob.java index 000344ab478c..5c1e6add54be 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJob.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJob.java @@ -5411,7 +5411,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-   * The name of the Model resoure that produces the predictions via this job,
+   * The name of the Model resource that produces the predictions via this job,
    * must share the same ancestor Location.
    * Starting this job has no impact on any existing deployments of the Model
    * and their resources.
@@ -5440,7 +5440,7 @@ public java.lang.String getModel() {
    *
    *
    * 
-   * The name of the Model resoure that produces the predictions via this job,
+   * The name of the Model resource that produces the predictions via this job,
    * must share the same ancestor Location.
    * Starting this job has no impact on any existing deployments of the Model
    * and their resources.
@@ -7884,7 +7884,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * The name of the Model resoure that produces the predictions via this job,
+     * The name of the Model resource that produces the predictions via this job,
      * must share the same ancestor Location.
      * Starting this job has no impact on any existing deployments of the Model
      * and their resources.
@@ -7912,7 +7912,7 @@ public java.lang.String getModel() {
      *
      *
      * 
-     * The name of the Model resoure that produces the predictions via this job,
+     * The name of the Model resource that produces the predictions via this job,
      * must share the same ancestor Location.
      * Starting this job has no impact on any existing deployments of the Model
      * and their resources.
@@ -7940,7 +7940,7 @@ public com.google.protobuf.ByteString getModelBytes() {
      *
      *
      * 
-     * The name of the Model resoure that produces the predictions via this job,
+     * The name of the Model resource that produces the predictions via this job,
      * must share the same ancestor Location.
      * Starting this job has no impact on any existing deployments of the Model
      * and their resources.
@@ -7967,7 +7967,7 @@ public Builder setModel(java.lang.String value) {
      *
      *
      * 
-     * The name of the Model resoure that produces the predictions via this job,
+     * The name of the Model resource that produces the predictions via this job,
      * must share the same ancestor Location.
      * Starting this job has no impact on any existing deployments of the Model
      * and their resources.
@@ -7990,7 +7990,7 @@ public Builder clearModel() {
      *
      *
      * 
-     * The name of the Model resoure that produces the predictions via this job,
+     * The name of the Model resource that produces the predictions via this job,
      * must share the same ancestor Location.
      * Starting this job has no impact on any existing deployments of the Model
      * and their resources.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobOrBuilder.java
index de5e7aa22b72..0dcb66d6b4d0 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobOrBuilder.java
@@ -77,7 +77,7 @@ public interface BatchPredictionJobOrBuilder
    *
    *
    * 
-   * The name of the Model resoure that produces the predictions via this job,
+   * The name of the Model resource that produces the predictions via this job,
    * must share the same ancestor Location.
    * Starting this job has no impact on any existing deployments of the Model
    * and their resources.
@@ -95,7 +95,7 @@ public interface BatchPredictionJobOrBuilder
    *
    *
    * 
-   * The name of the Model resoure that produces the predictions via this job,
+   * The name of the Model resource that produces the predictions via this job,
    * must share the same ancestor Location.
    * Starting this job has no impact on any existing deployments of the Model
    * and their resources.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobSpec.java
index 9a9e43bc491d..0ec2e90ec36a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobSpec.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobSpec.java
@@ -23,7 +23,6 @@
  *
  * 
  * Represents the spec of a CustomJob.
- * Next Id: 15
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1.CustomJobSpec} @@ -968,7 +967,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Represents the spec of a CustomJob.
-   * Next Id: 15
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1.CustomJobSpec} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequest.java index 374b74fd7e16..73b272f85e0e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequest.java @@ -187,7 +187,7 @@ public com.google.protobuf.ByteString getNameBytes() { * bool force = 2 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1.DeleteMetadataStoreRequest.force is deprecated. See - * google/cloud/aiplatform/v1/metadata_service.proto;l=451 + * google/cloud/aiplatform/v1/metadata_service.proto;l=462 * @return The force. */ @java.lang.Override @@ -667,7 +667,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * bool force = 2 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1.DeleteMetadataStoreRequest.force is deprecated. See - * google/cloud/aiplatform/v1/metadata_service.proto;l=451 + * google/cloud/aiplatform/v1/metadata_service.proto;l=462 * @return The force. */ @java.lang.Override @@ -685,7 +685,7 @@ public boolean getForce() { * bool force = 2 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1.DeleteMetadataStoreRequest.force is deprecated. See - * google/cloud/aiplatform/v1/metadata_service.proto;l=451 + * google/cloud/aiplatform/v1/metadata_service.proto;l=462 * @param value The force to set. * @return This builder for chaining. */ @@ -706,7 +706,7 @@ public Builder setForce(boolean value) { * bool force = 2 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1.DeleteMetadataStoreRequest.force is deprecated. See - * google/cloud/aiplatform/v1/metadata_service.proto;l=451 + * google/cloud/aiplatform/v1/metadata_service.proto;l=462 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequestOrBuilder.java index 2be62b286c0c..2edcbafe1ba7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequestOrBuilder.java @@ -66,7 +66,7 @@ public interface DeleteMetadataStoreRequestOrBuilder * bool force = 2 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1.DeleteMetadataStoreRequest.force is deprecated. See - * google/cloud/aiplatform/v1/metadata_service.proto;l=451 + * google/cloud/aiplatform/v1/metadata_service.proto;l=462 * @return The force. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java index 116e0b3e2c30..f89507f3321a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java @@ -260,271 +260,274 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\010\022\024\n\014worker_count\030\013 \001(\005\022\"\n\032disable_in" + "gestion_analysis\030\014 \001(\010\0324\n\013FeatureSpec\022\017\n" + "\002id\030\001 \001(\tB\003\340A\002\022\024\n\014source_field\030\002 \001(\tB\010\n\006" - + "sourceB\025\n\023feature_time_source\"}\n\033ImportF" - + "eatureValuesResponse\022\035\n\025imported_entity_" - + "count\030\001 \001(\003\022$\n\034imported_feature_value_co" - + "unt\030\002 \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\"\234\006\n" - + "\035BatchReadFeatureValuesRequest\022C\n\022csv_re" - + "ad_instances\030\003 \001(\0132%.google.cloud.aiplat" - + "form.v1.CsvSourceH\000\022M\n\027bigquery_read_ins" - + "tances\030\005 \001(\0132*.google.cloud.aiplatform.v" - + "1.BigQuerySourceH\000\022D\n\014featurestore\030\001 \001(\t" - + "B.\340A\002\372A(\n&aiplatform.googleapis.com/Feat" - + "urestore\022M\n\013destination\030\004 \001(\01323.google.c" - + "loud.aiplatform.v1.FeatureValueDestinati" - + "onB\003\340A\002\022g\n\023pass_through_fields\030\010 \003(\0132J.g" - + "oogle.cloud.aiplatform.v1.BatchReadFeatu" - + "reValuesRequest.PassThroughField\022h\n\021enti" - + "ty_type_specs\030\007 \003(\0132H.google.cloud.aipla" - + "tform.v1.BatchReadFeatureValuesRequest.E" - + "ntityTypeSpecB\003\340A\002\032+\n\020PassThroughField\022\027" - + "\n\nfield_name\030\001 \001(\tB\003\340A\002\032\302\001\n\016EntityTypeSp" - + "ec\022\033\n\016entity_type_id\030\001 \001(\tB\003\340A\002\022J\n\020featu" - + "re_selector\030\002 \001(\0132+.google.cloud.aiplatf" - + "orm.v1.FeatureSelectorB\003\340A\002\022G\n\010settings\030" - + "\003 \003(\01325.google.cloud.aiplatform.v1.Desti" - + "nationFeatureSettingB\r\n\013read_option\"\350\005\n\032" - + "ExportFeatureValuesRequest\022`\n\017snapshot_e" - + "xport\030\003 \001(\0132E.google.cloud.aiplatform.v1" - + ".ExportFeatureValuesRequest.SnapshotExpo" - + "rtH\000\022X\n\013full_export\030\007 \001(\0132A.google.cloud" - + ".aiplatform.v1.ExportFeatureValuesReques" - + "t.FullExportH\000\022A\n\013entity_type\030\001 \001(\tB,\340A\002" - + "\372A&\n$aiplatform.googleapis.com/EntityTyp" - + "e\022M\n\013destination\030\004 \001(\01323.google.cloud.ai" - + "platform.v1.FeatureValueDestinationB\003\340A\002" - + "\022J\n\020feature_selector\030\005 \001(\0132+.google.clou" + + "sourceB\025\n\023feature_time_source\"\255\001\n\033Import" + + "FeatureValuesResponse\022\035\n\025imported_entity" + + "_count\030\001 \001(\003\022$\n\034imported_feature_value_c" + + "ount\030\002 \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\022.\n" + + "×tamp_outside_retention_rows_count\030" + + "\004 \001(\003\"\234\006\n\035BatchReadFeatureValuesRequest\022" + + "C\n\022csv_read_instances\030\003 \001(\0132%.google.clo" + + "ud.aiplatform.v1.CsvSourceH\000\022M\n\027bigquery" + + "_read_instances\030\005 \001(\0132*.google.cloud.aip" + + "latform.v1.BigQuerySourceH\000\022D\n\014featurest" + + "ore\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.googleapis" + + ".com/Featurestore\022M\n\013destination\030\004 \001(\01323" + + ".google.cloud.aiplatform.v1.FeatureValue" + + "DestinationB\003\340A\002\022g\n\023pass_through_fields\030" + + "\010 \003(\0132J.google.cloud.aiplatform.v1.Batch" + + "ReadFeatureValuesRequest.PassThroughFiel" + + "d\022h\n\021entity_type_specs\030\007 \003(\0132H.google.cl" + + "oud.aiplatform.v1.BatchReadFeatureValues" + + "Request.EntityTypeSpecB\003\340A\002\032+\n\020PassThrou" + + "ghField\022\027\n\nfield_name\030\001 \001(\tB\003\340A\002\032\302\001\n\016Ent" + + "ityTypeSpec\022\033\n\016entity_type_id\030\001 \001(\tB\003\340A\002" + + "\022J\n\020feature_selector\030\002 \001(\0132+.google.clou" + "d.aiplatform.v1.FeatureSelectorB\003\340A\002\022G\n\010" - + "settings\030\006 \003(\01325.google.cloud.aiplatform" - + ".v1.DestinationFeatureSetting\032s\n\016Snapsho" - + "tExport\0221\n\rsnapshot_time\030\001 \001(\0132\032.google." - + "protobuf.Timestamp\022.\n\nstart_time\030\002 \001(\0132\032" - + ".google.protobuf.Timestamp\032j\n\nFullExport" - + "\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf.T" - + "imestamp\022,\n\010end_time\030\001 \001(\0132\032.google.prot" - + "obuf.TimestampB\006\n\004mode\"O\n\031DestinationFea" - + "tureSetting\022\027\n\nfeature_id\030\001 \001(\tB\003\340A\002\022\031\n\021" - + "destination_field\030\002 \001(\t\"\221\002\n\027FeatureValue" - + "Destination\022O\n\024bigquery_destination\030\001 \001(" - + "\0132/.google.cloud.aiplatform.v1.BigQueryD" - + "estinationH\000\022O\n\024tfrecord_destination\030\002 \001" - + "(\0132/.google.cloud.aiplatform.v1.TFRecord" - + "DestinationH\000\022E\n\017csv_destination\030\003 \001(\0132*" - + ".google.cloud.aiplatform.v1.CsvDestinati" - + "onH\000B\r\n\013destination\"\035\n\033ExportFeatureValu" - + "esResponse\" \n\036BatchReadFeatureValuesResp" - + "onse\"\263\001\n\027CreateEntityTypeRequest\022>\n\006pare" - + "nt\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.googleapis." - + "com/Featurestore\022;\n\013entity_type\030\002 \001(\0132&." - + "google.cloud.aiplatform.v1.EntityType\022\033\n" - + "\016entity_type_id\030\003 \001(\tB\003\340A\002\"R\n\024GetEntityT" - + "ypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplat" - + "form.googleapis.com/EntityType\"\316\001\n\026ListE" - + "ntityTypesRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A" - + "&\022$aiplatform.googleapis.com/EntityType\022" - + "\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npa" - + "ge_token\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread" - + "_mask\030\006 \001(\0132\032.google.protobuf.FieldMask\"" - + "p\n\027ListEntityTypesResponse\022<\n\014entity_typ" - + "es\030\001 \003(\0132&.google.cloud.aiplatform.v1.En" - + "tityType\022\027\n\017next_page_token\030\002 \001(\t\"\214\001\n\027Up" - + "dateEntityTypeRequest\022@\n\013entity_type\030\001 \001" - + "(\0132&.google.cloud.aiplatform.v1.EntityTy" - + "peB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pr" - + "otobuf.FieldMask\"d\n\027DeleteEntityTypeRequ" - + "est\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.go" - + "ogleapis.com/EntityType\022\r\n\005force\030\002 \001(\010\"\250" - + "\001\n\024CreateFeatureRequest\022<\n\006parent\030\001 \001(\tB" - + ",\340A\002\372A&\n$aiplatform.googleapis.com/Entit" - + "yType\0229\n\007feature\030\002 \001(\0132#.google.cloud.ai" - + "platform.v1.FeatureB\003\340A\002\022\027\n\nfeature_id\030\003" - + " \001(\tB\003\340A\002\"\243\001\n\032BatchCreateFeaturesRequest" - + "\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.goo" - + "gleapis.com/EntityType\022G\n\010requests\030\002 \003(\013" - + "20.google.cloud.aiplatform.v1.CreateFeat" - + "ureRequestB\003\340A\002\"T\n\033BatchCreateFeaturesRe" - + "sponse\0225\n\010features\030\001 \003(\0132#.google.cloud." - + "aiplatform.v1.Feature\"L\n\021GetFeatureReque" - + "st\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.goo" - + "gleapis.com/Feature\"\344\001\n\023ListFeaturesRequ" - + "est\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplatform." - + "googleapis.com/Feature\022\016\n\006filter\030\002 \001(\t\022\021" - + "\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n" - + "\010order_by\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\0132\032.goo" - + "gle.protobuf.FieldMask\022\032\n\022latest_stats_c" - + "ount\030\007 \001(\005\"f\n\024ListFeaturesResponse\0225\n\010fe" - + "atures\030\001 \003(\0132#.google.cloud.aiplatform.v" - + "1.Feature\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\025S" - + "earchFeaturesRequest\022;\n\010location\030\001 \001(\tB)" - + "\340A\002\372A#\n!locations.googleapis.com/Locatio" - + "n\022\r\n\005query\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\np" - + "age_token\030\005 \001(\t\"h\n\026SearchFeaturesRespons" - + "e\0225\n\010features\030\001 \003(\0132#.google.cloud.aipla" - + "tform.v1.Feature\022\027\n\017next_page_token\030\002 \001(" - + "\t\"\202\001\n\024UpdateFeatureRequest\0229\n\007feature\030\001 " - + "\001(\0132#.google.cloud.aiplatform.v1.Feature" - + "B\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.prot" - + "obuf.FieldMask\"O\n\024DeleteFeatureRequest\0227" - + "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googlea" - + "pis.com/Feature\"u\n#CreateFeaturestoreOpe" - + "rationMetadata\022N\n\020generic_metadata\030\001 \001(\013" - + "24.google.cloud.aiplatform.v1.GenericOpe" - + "rationMetadata\"u\n#UpdateFeaturestoreOper" - + "ationMetadata\022N\n\020generic_metadata\030\001 \001(\0132" - + "4.google.cloud.aiplatform.v1.GenericOper" - + "ationMetadata\"\326\001\n$ImportFeatureValuesOpe" - + "rationMetadata\022N\n\020generic_metadata\030\001 \001(\013" - + "24.google.cloud.aiplatform.v1.GenericOpe" - + "rationMetadata\022\035\n\025imported_entity_count\030" - + "\002 \001(\003\022$\n\034imported_feature_value_count\030\003 " - + "\001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\"v\n$Export" - + "FeatureValuesOperationMetadata\022N\n\020generi" - + "c_metadata\030\001 \001(\01324.google.cloud.aiplatfo" - + "rm.v1.GenericOperationMetadata\"y\n\'BatchR" - + "eadFeatureValuesOperationMetadata\022N\n\020gen" - + "eric_metadata\030\001 \001(\01324.google.cloud.aipla" - + "tform.v1.GenericOperationMetadata\"s\n!Cre" - + "ateEntityTypeOperationMetadata\022N\n\020generi" - + "c_metadata\030\001 \001(\01324.google.cloud.aiplatfo" - + "rm.v1.GenericOperationMetadata\"p\n\036Create" - + "FeatureOperationMetadata\022N\n\020generic_meta" - + "data\030\001 \001(\01324.google.cloud.aiplatform.v1." - + "GenericOperationMetadata\"v\n$BatchCreateF" - + "eaturesOperationMetadata\022N\n\020generic_meta" - + "data\030\001 \001(\01324.google.cloud.aiplatform.v1." - + "GenericOperationMetadata2\273\'\n\023Featurestor" - + "eService\022\246\002\n\022CreateFeaturestore\0225.google" - + ".cloud.aiplatform.v1.CreateFeaturestoreR" - + "equest\032\035.google.longrunning.Operation\"\271\001" - + "\202\323\344\223\002A\"1/v1/{parent=projects/*/locations" - + "/*}/featurestores:\014featurestore\332A\023parent" - + ",featurestore\332A#parent,featurestore,feat" - + "urestore_id\312A3\n\014Featurestore\022#CreateFeat" - + "urestoreOperationMetadata\022\261\001\n\017GetFeature" - + "store\0222.google.cloud.aiplatform.v1.GetFe" - + "aturestoreRequest\032(.google.cloud.aiplatf" - + "orm.v1.Featurestore\"@\202\323\344\223\0023\0221/v1/{name=p" - + "rojects/*/locations/*/featurestores/*}\332A" - + "\004name\022\304\001\n\021ListFeaturestores\0224.google.clo" - + "ud.aiplatform.v1.ListFeaturestoresReques" - + "t\0325.google.cloud.aiplatform.v1.ListFeatu" - + "restoresResponse\"B\202\323\344\223\0023\0221/v1/{parent=pr" - + "ojects/*/locations/*}/featurestores\332A\006pa" - + "rent\022\222\002\n\022UpdateFeaturestore\0225.google.clo" - + "ud.aiplatform.v1.UpdateFeaturestoreReque" - + "st\032\035.google.longrunning.Operation\"\245\001\202\323\344\223" - + "\002N2>/v1/{featurestore.name=projects/*/lo" - + "cations/*/featurestores/*}:\014featurestore" - + "\332A\030featurestore,update_mask\312A3\n\014Features" - + "tore\022#UpdateFeaturestoreOperationMetadat" - + "a\022\355\001\n\022DeleteFeaturestore\0225.google.cloud." - + "aiplatform.v1.DeleteFeaturestoreRequest\032" - + "\035.google.longrunning.Operation\"\200\001\202\323\344\223\0023*" - + "1/v1/{name=projects/*/locations/*/featur" - + "estores/*}\332A\004name\332A\nname,force\312A0\n\025googl" - + "e.protobuf.Empty\022\027DeleteOperationMetadat" - + "a\022\250\002\n\020CreateEntityType\0223.google.cloud.ai" - + "platform.v1.CreateEntityTypeRequest\032\035.go" - + "ogle.longrunning.Operation\"\277\001\202\323\344\223\002N\"?/v1" - + "/{parent=projects/*/locations/*/features" - + "tores/*}/entityTypes:\013entity_type\332A\022pare" - + "nt,entity_type\332A!parent,entity_type,enti" - + "ty_type_id\312A/\n\nEntityType\022!CreateEntityT" - + "ypeOperationMetadata\022\271\001\n\rGetEntityType\0220" - + ".google.cloud.aiplatform.v1.GetEntityTyp" - + "eRequest\032&.google.cloud.aiplatform.v1.En" - + "tityType\"N\202\323\344\223\002A\022?/v1/{name=projects/*/l" - + "ocations/*/featurestores/*/entityTypes/*" - + "}\332A\004name\022\314\001\n\017ListEntityTypes\0222.google.cl" - + "oud.aiplatform.v1.ListEntityTypesRequest" - + "\0323.google.cloud.aiplatform.v1.ListEntity" - + "TypesResponse\"P\202\323\344\223\002A\022?/v1/{parent=proje" - + "cts/*/locations/*/featurestores/*}/entit" - + "yTypes\332A\006parent\022\353\001\n\020UpdateEntityType\0223.g" - + "oogle.cloud.aiplatform.v1.UpdateEntityTy" - + "peRequest\032&.google.cloud.aiplatform.v1.E" - + "ntityType\"z\202\323\344\223\002Z2K/v1/{entity_type.name" - + "=projects/*/locations/*/featurestores/*/" - + "entityTypes/*}:\013entity_type\332A\027entity_typ" - + "e,update_mask\022\367\001\n\020DeleteEntityType\0223.goo" - + "gle.cloud.aiplatform.v1.DeleteEntityType" - + "Request\032\035.google.longrunning.Operation\"\216" - + "\001\202\323\344\223\002A*?/v1/{name=projects/*/locations/" - + "*/featurestores/*/entityTypes/*}\332A\004name\332" - + "A\nname,force\312A0\n\025google.protobuf.Empty\022\027" - + "DeleteOperationMetadata\022\227\002\n\rCreateFeatur" - + "e\0220.google.cloud.aiplatform.v1.CreateFea" - + "tureRequest\032\035.google.longrunning.Operati" - + "on\"\264\001\202\323\344\223\002U\"J/v1/{parent=projects/*/loca" - + "tions/*/featurestores/*/entityTypes/*}/f" - + "eatures:\007feature\332A\016parent,feature\332A\031pare" - + "nt,feature,feature_id\312A)\n\007Feature\022\036Creat" - + "eFeatureOperationMetadata\022\250\002\n\023BatchCreat" - + "eFeatures\0226.google.cloud.aiplatform.v1.B" - + "atchCreateFeaturesRequest\032\035.google.longr" - + "unning.Operation\"\271\001\202\323\344\223\002[\"V/v1/{parent=p" - + "rojects/*/locations/*/featurestores/*/en" - + "tityTypes/*}/features:batchCreate:\001*\332A\017p" - + "arent,requests\312AC\n\033BatchCreateFeaturesRe" - + "sponse\022$BatchCreateFeaturesOperationMeta" - + "data\022\273\001\n\nGetFeature\022-.google.cloud.aipla" - + "tform.v1.GetFeatureRequest\032#.google.clou" - + "d.aiplatform.v1.Feature\"Y\202\323\344\223\002L\022J/v1/{na" - + "me=projects/*/locations/*/featurestores/" - + "*/entityTypes/*/features/*}\332A\004name\022\316\001\n\014L" - + "istFeatures\022/.google.cloud.aiplatform.v1" - + ".ListFeaturesRequest\0320.google.cloud.aipl" - + "atform.v1.ListFeaturesResponse\"[\202\323\344\223\002L\022J" + + "settings\030\003 \003(\01325.google.cloud.aiplatform" + + ".v1.DestinationFeatureSettingB\r\n\013read_op" + + "tion\"\350\005\n\032ExportFeatureValuesRequest\022`\n\017s" + + "napshot_export\030\003 \001(\0132E.google.cloud.aipl" + + "atform.v1.ExportFeatureValuesRequest.Sna" + + "pshotExportH\000\022X\n\013full_export\030\007 \001(\0132A.goo" + + "gle.cloud.aiplatform.v1.ExportFeatureVal" + + "uesRequest.FullExportH\000\022A\n\013entity_type\030\001" + + " \001(\tB,\340A\002\372A&\n$aiplatform.googleapis.com/" + + "EntityType\022M\n\013destination\030\004 \001(\01323.google" + + ".cloud.aiplatform.v1.FeatureValueDestina" + + "tionB\003\340A\002\022J\n\020feature_selector\030\005 \001(\0132+.go" + + "ogle.cloud.aiplatform.v1.FeatureSelector" + + "B\003\340A\002\022G\n\010settings\030\006 \003(\01325.google.cloud.a" + + "iplatform.v1.DestinationFeatureSetting\032s" + + "\n\016SnapshotExport\0221\n\rsnapshot_time\030\001 \001(\0132" + + "\032.google.protobuf.Timestamp\022.\n\nstart_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\032j\n\nF" + + "ullExport\022.\n\nstart_time\030\002 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\001 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\006\n\004mode\"O\n\031Desti" + + "nationFeatureSetting\022\027\n\nfeature_id\030\001 \001(\t" + + "B\003\340A\002\022\031\n\021destination_field\030\002 \001(\t\"\221\002\n\027Fea" + + "tureValueDestination\022O\n\024bigquery_destina" + + "tion\030\001 \001(\0132/.google.cloud.aiplatform.v1." + + "BigQueryDestinationH\000\022O\n\024tfrecord_destin" + + "ation\030\002 \001(\0132/.google.cloud.aiplatform.v1" + + ".TFRecordDestinationH\000\022E\n\017csv_destinatio" + + "n\030\003 \001(\0132*.google.cloud.aiplatform.v1.Csv" + + "DestinationH\000B\r\n\013destination\"\035\n\033ExportFe" + + "atureValuesResponse\" \n\036BatchReadFeatureV" + + "aluesResponse\"\263\001\n\027CreateEntityTypeReques" + + "t\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.go" + + "ogleapis.com/Featurestore\022;\n\013entity_type" + + "\030\002 \001(\0132&.google.cloud.aiplatform.v1.Enti" + + "tyType\022\033\n\016entity_type_id\030\003 \001(\tB\003\340A\002\"R\n\024G" + + "etEntityTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A" + + "&\n$aiplatform.googleapis.com/EntityType\"" + + "\316\001\n\026ListEntityTypesRequest\022<\n\006parent\030\001 \001" + + "(\tB,\340A\002\372A&\022$aiplatform.googleapis.com/En" + + "tityType\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 " + + "\001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010order_by\030\005 \001(" + + "\t\022-\n\tread_mask\030\006 \001(\0132\032.google.protobuf.F" + + "ieldMask\"p\n\027ListEntityTypesResponse\022<\n\014e" + + "ntity_types\030\001 \003(\0132&.google.cloud.aiplatf" + + "orm.v1.EntityType\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\214\001\n\027UpdateEntityTypeRequest\022@\n\013entity" + + "_type\030\001 \001(\0132&.google.cloud.aiplatform.v1" + + ".EntityTypeB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032." + + "google.protobuf.FieldMask\"d\n\027DeleteEntit" + + "yTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aipl" + + "atform.googleapis.com/EntityType\022\r\n\005forc" + + "e\030\002 \001(\010\"\250\001\n\024CreateFeatureRequest\022<\n\006pare" + + "nt\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.googleapis." + + "com/EntityType\0229\n\007feature\030\002 \001(\0132#.google" + + ".cloud.aiplatform.v1.FeatureB\003\340A\002\022\027\n\nfea" + + "ture_id\030\003 \001(\tB\003\340A\002\"\243\001\n\032BatchCreateFeatur" + + "esRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aipla" + + "tform.googleapis.com/EntityType\022G\n\010reque" + + "sts\030\002 \003(\01320.google.cloud.aiplatform.v1.C" + + "reateFeatureRequestB\003\340A\002\"T\n\033BatchCreateF" + + "eaturesResponse\0225\n\010features\030\001 \003(\0132#.goog" + + "le.cloud.aiplatform.v1.Feature\"L\n\021GetFea" + + "tureRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aipla" + + "tform.googleapis.com/Feature\"\344\001\n\023ListFea" + + "turesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!ai" + + "platform.googleapis.com/Feature\022\016\n\006filte" + + "r\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token" + + "\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread_mask\030\006 " + + "\001(\0132\032.google.protobuf.FieldMask\022\032\n\022lates" + + "t_stats_count\030\007 \001(\005\"f\n\024ListFeaturesRespo" + + "nse\0225\n\010features\030\001 \003(\0132#.google.cloud.aip" + + "latform.v1.Feature\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\212\001\n\025SearchFeaturesRequest\022;\n\010locatio" + + "n\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" + + "m/Location\022\r\n\005query\030\003 \001(\t\022\021\n\tpage_size\030\004" + + " \001(\005\022\022\n\npage_token\030\005 \001(\t\"h\n\026SearchFeatur" + + "esResponse\0225\n\010features\030\001 \003(\0132#.google.cl" + + "oud.aiplatform.v1.Feature\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\"\202\001\n\024UpdateFeatureRequest\0229\n\007f" + + "eature\030\001 \001(\0132#.google.cloud.aiplatform.v" + + "1.FeatureB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\"O\n\024DeleteFeature" + + "Request\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatfor" + + "m.googleapis.com/Feature\"u\n#CreateFeatur" + + "estoreOperationMetadata\022N\n\020generic_metad" + + "ata\030\001 \001(\01324.google.cloud.aiplatform.v1.G" + + "enericOperationMetadata\"u\n#UpdateFeature" + + "storeOperationMetadata\022N\n\020generic_metada" + + "ta\030\001 \001(\01324.google.cloud.aiplatform.v1.Ge" + + "nericOperationMetadata\"\206\002\n$ImportFeature" + + "ValuesOperationMetadata\022N\n\020generic_metad" + + "ata\030\001 \001(\01324.google.cloud.aiplatform.v1.G" + + "enericOperationMetadata\022\035\n\025imported_enti" + + "ty_count\030\002 \001(\003\022$\n\034imported_feature_value" + + "_count\030\003 \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\022" + + ".\n×tamp_outside_retention_rows_coun" + + "t\030\007 \001(\003\"v\n$ExportFeatureValuesOperationM" + + "etadata\022N\n\020generic_metadata\030\001 \001(\01324.goog" + + "le.cloud.aiplatform.v1.GenericOperationM" + + "etadata\"y\n\'BatchReadFeatureValuesOperati" + + "onMetadata\022N\n\020generic_metadata\030\001 \001(\01324.g" + + "oogle.cloud.aiplatform.v1.GenericOperati" + + "onMetadata\"s\n!CreateEntityTypeOperationM" + + "etadata\022N\n\020generic_metadata\030\001 \001(\01324.goog" + + "le.cloud.aiplatform.v1.GenericOperationM" + + "etadata\"p\n\036CreateFeatureOperationMetadat" + + "a\022N\n\020generic_metadata\030\001 \001(\01324.google.clo" + + "ud.aiplatform.v1.GenericOperationMetadat" + + "a\"v\n$BatchCreateFeaturesOperationMetadat" + + "a\022N\n\020generic_metadata\030\001 \001(\01324.google.clo" + + "ud.aiplatform.v1.GenericOperationMetadat" + + "a2\273\'\n\023FeaturestoreService\022\246\002\n\022CreateFeat" + + "urestore\0225.google.cloud.aiplatform.v1.Cr" + + "eateFeaturestoreRequest\032\035.google.longrun" + + "ning.Operation\"\271\001\202\323\344\223\002A\"1/v1/{parent=pro" + + "jects/*/locations/*}/featurestores:\014feat" + + "urestore\332A\023parent,featurestore\332A#parent," + + "featurestore,featurestore_id\312A3\n\014Feature" + + "store\022#CreateFeaturestoreOperationMetada" + + "ta\022\261\001\n\017GetFeaturestore\0222.google.cloud.ai" + + "platform.v1.GetFeaturestoreRequest\032(.goo" + + "gle.cloud.aiplatform.v1.Featurestore\"@\202\323" + + "\344\223\0023\0221/v1/{name=projects/*/locations/*/f" + + "eaturestores/*}\332A\004name\022\304\001\n\021ListFeaturest" + + "ores\0224.google.cloud.aiplatform.v1.ListFe" + + "aturestoresRequest\0325.google.cloud.aiplat" + + "form.v1.ListFeaturestoresResponse\"B\202\323\344\223\002" + + "3\0221/v1/{parent=projects/*/locations/*}/f" + + "eaturestores\332A\006parent\022\222\002\n\022UpdateFeatures" + + "tore\0225.google.cloud.aiplatform.v1.Update" + + "FeaturestoreRequest\032\035.google.longrunning" + + ".Operation\"\245\001\202\323\344\223\002N2>/v1/{featurestore.n" + + "ame=projects/*/locations/*/featurestores" + + "/*}:\014featurestore\332A\030featurestore,update_" + + "mask\312A3\n\014Featurestore\022#UpdateFeaturestor" + + "eOperationMetadata\022\355\001\n\022DeleteFeaturestor" + + "e\0225.google.cloud.aiplatform.v1.DeleteFea" + + "turestoreRequest\032\035.google.longrunning.Op" + + "eration\"\200\001\202\323\344\223\0023*1/v1/{name=projects/*/l" + + "ocations/*/featurestores/*}\332A\004name\332A\nnam" + + "e,force\312A0\n\025google.protobuf.Empty\022\027Delet" + + "eOperationMetadata\022\250\002\n\020CreateEntityType\022" + + "3.google.cloud.aiplatform.v1.CreateEntit" + + "yTypeRequest\032\035.google.longrunning.Operat" + + "ion\"\277\001\202\323\344\223\002N\"?/v1/{parent=projects/*/loc" + + "ations/*/featurestores/*}/entityTypes:\013e" + + "ntity_type\332A\022parent,entity_type\332A!parent" + + ",entity_type,entity_type_id\312A/\n\nEntityTy" + + "pe\022!CreateEntityTypeOperationMetadata\022\271\001" + + "\n\rGetEntityType\0220.google.cloud.aiplatfor" + + "m.v1.GetEntityTypeRequest\032&.google.cloud" + + ".aiplatform.v1.EntityType\"N\202\323\344\223\002A\022?/v1/{" + + "name=projects/*/locations/*/featurestore" + + "s/*/entityTypes/*}\332A\004name\022\314\001\n\017ListEntity" + + "Types\0222.google.cloud.aiplatform.v1.ListE" + + "ntityTypesRequest\0323.google.cloud.aiplatf" + + "orm.v1.ListEntityTypesResponse\"P\202\323\344\223\002A\022?" + "/v1/{parent=projects/*/locations/*/featu" - + "restores/*/entityTypes/*}/features\332A\006par" - + "ent\022\341\001\n\rUpdateFeature\0220.google.cloud.aip" - + "latform.v1.UpdateFeatureRequest\032#.google" - + ".cloud.aiplatform.v1.Feature\"y\202\323\344\223\002]2R/v" - + "1/{feature.name=projects/*/locations/*/f" - + "eaturestores/*/entityTypes/*/features/*}" - + ":\007feature\332A\023feature,update_mask\022\357\001\n\rDele" - + "teFeature\0220.google.cloud.aiplatform.v1.D" - + "eleteFeatureRequest\032\035.google.longrunning" - + ".Operation\"\214\001\202\323\344\223\002L*J/v1/{name=projects/" - + "*/locations/*/featurestores/*/entityType" - + "s/*/features/*}\332A\004name\312A0\n\025google.protob" - + "uf.Empty\022\027DeleteOperationMetadata\022\250\002\n\023Im" - + "portFeatureValues\0226.google.cloud.aiplatf" - + "orm.v1.ImportFeatureValuesRequest\032\035.goog" - + "le.longrunning.Operation\"\271\001\202\323\344\223\002_\"Z/v1/{" - + "entity_type=projects/*/locations/*/featu" - + "restores/*/entityTypes/*}:importFeatureV" - + "alues:\001*\332A\013entity_type\312AC\n\033ImportFeature" - + "ValuesResponse\022$ImportFeatureValuesOpera" - + "tionMetadata\022\253\002\n\026BatchReadFeatureValues\022" - + "9.google.cloud.aiplatform.v1.BatchReadFe" - + "atureValuesRequest\032\035.google.longrunning." - + "Operation\"\266\001\202\323\344\223\002U\"P/v1/{featurestore=pr" - + "ojects/*/locations/*/featurestores/*}:ba" - + "tchReadFeatureValues:\001*\332A\014featurestore\312A" - + "I\n\036BatchReadFeatureValuesResponse\022\'Batch" - + "ReadFeatureValuesOperationMetadata\022\250\002\n\023E" - + "xportFeatureValues\0226.google.cloud.aiplat" - + "form.v1.ExportFeatureValuesRequest\032\035.goo" - + "gle.longrunning.Operation\"\271\001\202\323\344\223\002_\"Z/v1/" - + "{entity_type=projects/*/locations/*/feat" - + "urestores/*/entityTypes/*}:exportFeature" - + "Values:\001*\332A\013entity_type\312AC\n\033ExportFeatur" - + "eValuesResponse\022$ExportFeatureValuesOper" - + "ationMetadata\022\337\001\n\016SearchFeatures\0221.googl" - + "e.cloud.aiplatform.v1.SearchFeaturesRequ" - + "est\0322.google.cloud.aiplatform.v1.SearchF" - + "eaturesResponse\"f\202\323\344\223\002D\022B/v1/{location=p" - + "rojects/*/locations/*}/featurestores:sea" - + "rchFeatures\332A\010location\332A\016location,query\032" - + "M\312A\031aiplatform.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB\334" - + "\001\n\036com.google.cloud.aiplatform.v1B\030Featu" - + "restoreServiceProtoP\001ZDgoogle.golang.org" - + "/genproto/googleapis/cloud/aiplatform/v1" - + ";aiplatform\252\002\032Google.Cloud.AIPlatform.V1" - + "\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::" - + "Cloud::AIPlatform::V1b\006proto3" + + "restores/*}/entityTypes\332A\006parent\022\353\001\n\020Upd" + + "ateEntityType\0223.google.cloud.aiplatform." + + "v1.UpdateEntityTypeRequest\032&.google.clou" + + "d.aiplatform.v1.EntityType\"z\202\323\344\223\002Z2K/v1/" + + "{entity_type.name=projects/*/locations/*" + + "/featurestores/*/entityTypes/*}:\013entity_" + + "type\332A\027entity_type,update_mask\022\367\001\n\020Delet" + + "eEntityType\0223.google.cloud.aiplatform.v1" + + ".DeleteEntityTypeRequest\032\035.google.longru" + + "nning.Operation\"\216\001\202\323\344\223\002A*?/v1/{name=proj" + + "ects/*/locations/*/featurestores/*/entit" + + "yTypes/*}\332A\004name\332A\nname,force\312A0\n\025google" + + ".protobuf.Empty\022\027DeleteOperationMetadata" + + "\022\227\002\n\rCreateFeature\0220.google.cloud.aiplat" + + "form.v1.CreateFeatureRequest\032\035.google.lo" + + "ngrunning.Operation\"\264\001\202\323\344\223\002U\"J/v1/{paren" + + "t=projects/*/locations/*/featurestores/*" + + "/entityTypes/*}/features:\007feature\332A\016pare" + + "nt,feature\332A\031parent,feature,feature_id\312A" + + ")\n\007Feature\022\036CreateFeatureOperationMetada" + + "ta\022\250\002\n\023BatchCreateFeatures\0226.google.clou" + + "d.aiplatform.v1.BatchCreateFeaturesReque" + + "st\032\035.google.longrunning.Operation\"\271\001\202\323\344\223" + + "\002[\"V/v1/{parent=projects/*/locations/*/f" + + "eaturestores/*/entityTypes/*}/features:b" + + "atchCreate:\001*\332A\017parent,requests\312AC\n\033Batc" + + "hCreateFeaturesResponse\022$BatchCreateFeat" + + "uresOperationMetadata\022\273\001\n\nGetFeature\022-.g" + + "oogle.cloud.aiplatform.v1.GetFeatureRequ" + + "est\032#.google.cloud.aiplatform.v1.Feature" + + "\"Y\202\323\344\223\002L\022J/v1/{name=projects/*/locations" + + "/*/featurestores/*/entityTypes/*/feature" + + "s/*}\332A\004name\022\316\001\n\014ListFeatures\022/.google.cl" + + "oud.aiplatform.v1.ListFeaturesRequest\0320." + + "google.cloud.aiplatform.v1.ListFeaturesR" + + "esponse\"[\202\323\344\223\002L\022J/v1/{parent=projects/*/" + + "locations/*/featurestores/*/entityTypes/" + + "*}/features\332A\006parent\022\341\001\n\rUpdateFeature\0220" + + ".google.cloud.aiplatform.v1.UpdateFeatur" + + "eRequest\032#.google.cloud.aiplatform.v1.Fe" + + "ature\"y\202\323\344\223\002]2R/v1/{feature.name=project" + + "s/*/locations/*/featurestores/*/entityTy" + + "pes/*/features/*}:\007feature\332A\023feature,upd" + + "ate_mask\022\357\001\n\rDeleteFeature\0220.google.clou" + + "d.aiplatform.v1.DeleteFeatureRequest\032\035.g" + + "oogle.longrunning.Operation\"\214\001\202\323\344\223\002L*J/v" + + "1/{name=projects/*/locations/*/featurest" + + "ores/*/entityTypes/*/features/*}\332A\004name\312" + + "A0\n\025google.protobuf.Empty\022\027DeleteOperati" + + "onMetadata\022\250\002\n\023ImportFeatureValues\0226.goo" + + "gle.cloud.aiplatform.v1.ImportFeatureVal" + + "uesRequest\032\035.google.longrunning.Operatio" + + "n\"\271\001\202\323\344\223\002_\"Z/v1/{entity_type=projects/*/" + + "locations/*/featurestores/*/entityTypes/" + + "*}:importFeatureValues:\001*\332A\013entity_type\312" + + "AC\n\033ImportFeatureValuesResponse\022$ImportF" + + "eatureValuesOperationMetadata\022\253\002\n\026BatchR" + + "eadFeatureValues\0229.google.cloud.aiplatfo" + + "rm.v1.BatchReadFeatureValuesRequest\032\035.go" + + "ogle.longrunning.Operation\"\266\001\202\323\344\223\002U\"P/v1" + + "/{featurestore=projects/*/locations/*/fe" + + "aturestores/*}:batchReadFeatureValues:\001*" + + "\332A\014featurestore\312AI\n\036BatchReadFeatureValu" + + "esResponse\022\'BatchReadFeatureValuesOperat" + + "ionMetadata\022\250\002\n\023ExportFeatureValues\0226.go" + + "ogle.cloud.aiplatform.v1.ExportFeatureVa" + + "luesRequest\032\035.google.longrunning.Operati" + + "on\"\271\001\202\323\344\223\002_\"Z/v1/{entity_type=projects/*" + + "/locations/*/featurestores/*/entityTypes" + + "/*}:exportFeatureValues:\001*\332A\013entity_type" + + "\312AC\n\033ExportFeatureValuesResponse\022$Export" + + "FeatureValuesOperationMetadata\022\337\001\n\016Searc" + + "hFeatures\0221.google.cloud.aiplatform.v1.S" + + "earchFeaturesRequest\0322.google.cloud.aipl" + + "atform.v1.SearchFeaturesResponse\"f\202\323\344\223\002D" + + "\022B/v1/{location=projects/*/locations/*}/" + + "featurestores:searchFeatures\332A\010location\332" + + "A\016location,query\032M\312A\031aiplatform.googleap" + + "is.com\322A.https://www.googleapis.com/auth" + + "/cloud-platformB\334\001\n\036com.google.cloud.aip" + + "latform.v1B\030FeaturestoreServiceProtoP\001ZD" + + "google.golang.org/genproto/googleapis/cl" + + "oud/aiplatform/v1;aiplatform\252\002\032Google.Cl" + + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" + + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -628,7 +631,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ImportFeatureValuesResponse_descriptor, new java.lang.String[] { - "ImportedEntityCount", "ImportedFeatureValueCount", "InvalidRowCount", + "ImportedEntityCount", + "ImportedFeatureValueCount", + "InvalidRowCount", + "TimestampOutsideRetentionRowsCount", }); internal_static_google_cloud_aiplatform_v1_BatchReadFeatureValuesRequest_descriptor = getDescriptor().getMessageTypes().get(8); @@ -886,6 +892,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ImportedEntityCount", "ImportedFeatureValueCount", "InvalidRowCount", + "TimestampOutsideRetentionRowsCount", }); internal_static_google_cloud_aiplatform_v1_ExportFeatureValuesOperationMetadata_descriptor = getDescriptor().getMessageTypes().get(33); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesOperationMetadata.java index 41351020afc3..c8ea0e43ffee 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesOperationMetadata.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesOperationMetadata.java @@ -102,6 +102,11 @@ private ImportFeatureValuesOperationMetadata( invalidRowCount_ = input.readInt64(); break; } + case 56: + { + timestampOutsideRetentionRowsCount_ = input.readInt64(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -245,6 +250,25 @@ public long getInvalidRowCount() { return invalidRowCount_; } + public static final int TIMESTAMP_OUTSIDE_RETENTION_ROWS_COUNT_FIELD_NUMBER = 7; + private long timestampOutsideRetentionRowsCount_; + /** + * + * + *
+   * The number rows that weren't ingested due to having timestamps outside the
+   * retention boundary.
+   * 
+ * + * int64 timestamp_outside_retention_rows_count = 7; + * + * @return The timestampOutsideRetentionRowsCount. + */ + @java.lang.Override + public long getTimestampOutsideRetentionRowsCount() { + return timestampOutsideRetentionRowsCount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -271,6 +295,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (invalidRowCount_ != 0L) { output.writeInt64(6, invalidRowCount_); } + if (timestampOutsideRetentionRowsCount_ != 0L) { + output.writeInt64(7, timestampOutsideRetentionRowsCount_); + } unknownFields.writeTo(output); } @@ -292,6 +319,11 @@ public int getSerializedSize() { if (invalidRowCount_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, invalidRowCount_); } + if (timestampOutsideRetentionRowsCount_ != 0L) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 7, timestampOutsideRetentionRowsCount_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -315,6 +347,8 @@ public boolean equals(final java.lang.Object obj) { if (getImportedEntityCount() != other.getImportedEntityCount()) return false; if (getImportedFeatureValueCount() != other.getImportedFeatureValueCount()) return false; if (getInvalidRowCount() != other.getInvalidRowCount()) return false; + if (getTimestampOutsideRetentionRowsCount() != other.getTimestampOutsideRetentionRowsCount()) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,6 +370,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImportedFeatureValueCount()); hash = (37 * hash) + INVALID_ROW_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInvalidRowCount()); + hash = (37 * hash) + TIMESTAMP_OUTSIDE_RETENTION_ROWS_COUNT_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getTimestampOutsideRetentionRowsCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -496,6 +534,8 @@ public Builder clear() { invalidRowCount_ = 0L; + timestampOutsideRetentionRowsCount_ = 0L; + return this; } @@ -533,6 +573,7 @@ public com.google.cloud.aiplatform.v1.ImportFeatureValuesOperationMetadata build result.importedEntityCount_ = importedEntityCount_; result.importedFeatureValueCount_ = importedFeatureValueCount_; result.invalidRowCount_ = invalidRowCount_; + result.timestampOutsideRetentionRowsCount_ = timestampOutsideRetentionRowsCount_; onBuilt(); return result; } @@ -598,6 +639,9 @@ public Builder mergeFrom( if (other.getInvalidRowCount() != 0L) { setInvalidRowCount(other.getInvalidRowCount()); } + if (other.getTimestampOutsideRetentionRowsCount() != 0L) { + setTimestampOutsideRetentionRowsCount(other.getTimestampOutsideRetentionRowsCount()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -987,6 +1031,61 @@ public Builder clearInvalidRowCount() { return this; } + private long timestampOutsideRetentionRowsCount_; + /** + * + * + *
+     * The number rows that weren't ingested due to having timestamps outside the
+     * retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 7; + * + * @return The timestampOutsideRetentionRowsCount. + */ + @java.lang.Override + public long getTimestampOutsideRetentionRowsCount() { + return timestampOutsideRetentionRowsCount_; + } + /** + * + * + *
+     * The number rows that weren't ingested due to having timestamps outside the
+     * retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 7; + * + * @param value The timestampOutsideRetentionRowsCount to set. + * @return This builder for chaining. + */ + public Builder setTimestampOutsideRetentionRowsCount(long value) { + + timestampOutsideRetentionRowsCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The number rows that weren't ingested due to having timestamps outside the
+     * retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 7; + * + * @return This builder for chaining. + */ + public Builder clearTimestampOutsideRetentionRowsCount() { + + timestampOutsideRetentionRowsCount_ = 0L; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesOperationMetadataOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesOperationMetadataOrBuilder.java index 18880b050b1a..1760e2729aba 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesOperationMetadataOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesOperationMetadataOrBuilder.java @@ -100,4 +100,18 @@ public interface ImportFeatureValuesOperationMetadataOrBuilder * @return The invalidRowCount. */ long getInvalidRowCount(); + + /** + * + * + *
+   * The number rows that weren't ingested due to having timestamps outside the
+   * retention boundary.
+   * 
+ * + * int64 timestamp_outside_retention_rows_count = 7; + * + * @return The timestampOutsideRetentionRowsCount. + */ + long getTimestampOutsideRetentionRowsCount(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesResponse.java index d40ca786f7e5..ccbf03a05095 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesResponse.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesResponse.java @@ -78,6 +78,11 @@ private ImportFeatureValuesResponse( importedFeatureValueCount_ = input.readInt64(); break; } + case 32: + { + timestampOutsideRetentionRowsCount_ = input.readInt64(); + break; + } case 48: { invalidRowCount_ = input.readInt64(); @@ -177,6 +182,25 @@ public long getInvalidRowCount() { return invalidRowCount_; } + public static final int TIMESTAMP_OUTSIDE_RETENTION_ROWS_COUNT_FIELD_NUMBER = 4; + private long timestampOutsideRetentionRowsCount_; + /** + * + * + *
+   * The number rows that weren't ingested due to having feature timestamps
+   * outside the retention boundary.
+   * 
+ * + * int64 timestamp_outside_retention_rows_count = 4; + * + * @return The timestampOutsideRetentionRowsCount. + */ + @java.lang.Override + public long getTimestampOutsideRetentionRowsCount() { + return timestampOutsideRetentionRowsCount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -197,6 +221,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (importedFeatureValueCount_ != 0L) { output.writeInt64(2, importedFeatureValueCount_); } + if (timestampOutsideRetentionRowsCount_ != 0L) { + output.writeInt64(4, timestampOutsideRetentionRowsCount_); + } if (invalidRowCount_ != 0L) { output.writeInt64(6, invalidRowCount_); } @@ -215,6 +242,11 @@ public int getSerializedSize() { if (importedFeatureValueCount_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, importedFeatureValueCount_); } + if (timestampOutsideRetentionRowsCount_ != 0L) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 4, timestampOutsideRetentionRowsCount_); + } if (invalidRowCount_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, invalidRowCount_); } @@ -237,6 +269,8 @@ public boolean equals(final java.lang.Object obj) { if (getImportedEntityCount() != other.getImportedEntityCount()) return false; if (getImportedFeatureValueCount() != other.getImportedFeatureValueCount()) return false; if (getInvalidRowCount() != other.getInvalidRowCount()) return false; + if (getTimestampOutsideRetentionRowsCount() != other.getTimestampOutsideRetentionRowsCount()) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -254,6 +288,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImportedFeatureValueCount()); hash = (37 * hash) + INVALID_ROW_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInvalidRowCount()); + hash = (37 * hash) + TIMESTAMP_OUTSIDE_RETENTION_ROWS_COUNT_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getTimestampOutsideRetentionRowsCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -406,6 +444,8 @@ public Builder clear() { invalidRowCount_ = 0L; + timestampOutsideRetentionRowsCount_ = 0L; + return this; } @@ -436,6 +476,7 @@ public com.google.cloud.aiplatform.v1.ImportFeatureValuesResponse buildPartial() result.importedEntityCount_ = importedEntityCount_; result.importedFeatureValueCount_ = importedFeatureValueCount_; result.invalidRowCount_ = invalidRowCount_; + result.timestampOutsideRetentionRowsCount_ = timestampOutsideRetentionRowsCount_; onBuilt(); return result; } @@ -495,6 +536,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ImportFeatureValuesRespo if (other.getInvalidRowCount() != 0L) { setInvalidRowCount(other.getInvalidRowCount()); } + if (other.getTimestampOutsideRetentionRowsCount() != 0L) { + setTimestampOutsideRetentionRowsCount(other.getTimestampOutsideRetentionRowsCount()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -693,6 +737,61 @@ public Builder clearInvalidRowCount() { return this; } + private long timestampOutsideRetentionRowsCount_; + /** + * + * + *
+     * The number rows that weren't ingested due to having feature timestamps
+     * outside the retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 4; + * + * @return The timestampOutsideRetentionRowsCount. + */ + @java.lang.Override + public long getTimestampOutsideRetentionRowsCount() { + return timestampOutsideRetentionRowsCount_; + } + /** + * + * + *
+     * The number rows that weren't ingested due to having feature timestamps
+     * outside the retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 4; + * + * @param value The timestampOutsideRetentionRowsCount to set. + * @return This builder for chaining. + */ + public Builder setTimestampOutsideRetentionRowsCount(long value) { + + timestampOutsideRetentionRowsCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The number rows that weren't ingested due to having feature timestamps
+     * outside the retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 4; + * + * @return This builder for chaining. + */ + public Builder clearTimestampOutsideRetentionRowsCount() { + + timestampOutsideRetentionRowsCount_ = 0L; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesResponseOrBuilder.java index 9a13471b7d60..b2d5c5e907cc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesResponseOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportFeatureValuesResponseOrBuilder.java @@ -65,4 +65,18 @@ public interface ImportFeatureValuesResponseOrBuilder * @return The invalidRowCount. */ long getInvalidRowCount(); + + /** + * + * + *
+   * The number rows that weren't ingested due to having feature timestamps
+   * outside the retention boundary.
+   * 
+ * + * int64 timestamp_outside_retention_rows_count = 4; + * + * @return The timestampOutsideRetentionRowsCount. + */ + long getTimestampOutsideRetentionRowsCount(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListArtifactsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListArtifactsRequest.java index e1f0a37d0b0d..99460c0b2d38 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListArtifactsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListArtifactsRequest.java @@ -41,6 +41,7 @@ private ListArtifactsRequest() { parent_ = ""; pageToken_ = ""; filter_ = ""; + orderBy_ = ""; } @java.lang.Override @@ -98,6 +99,13 @@ private ListArtifactsRequest( filter_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -362,6 +370,65 @@ public com.google.protobuf.ByteString getFilterBytes() { } } + public static final int ORDER_BY_FIELD_NUMBER = 5; + private volatile java.lang.Object orderBy_; + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -388,6 +455,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); + } unknownFields.writeTo(output); } @@ -409,6 +479,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -429,6 +502,7 @@ public boolean equals(final java.lang.Object obj) { if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -448,6 +522,8 @@ public int hashCode() { hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -601,6 +677,8 @@ public Builder clear() { filter_ = ""; + orderBy_ = ""; + return this; } @@ -632,6 +710,7 @@ public com.google.cloud.aiplatform.v1.ListArtifactsRequest buildPartial() { result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; + result.orderBy_ = orderBy_; onBuilt(); return result; } @@ -697,6 +776,10 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ListArtifactsRequest oth filter_ = other.filter_; onChanged(); } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1255,6 +1338,137 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + orderBy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + + orderBy_ = getDefaultInstance().getOrderBy(); + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + orderBy_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListArtifactsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListArtifactsRequestOrBuilder.java index e3122bca5e62..40db152d554a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListArtifactsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListArtifactsRequestOrBuilder.java @@ -173,4 +173,39 @@ public interface ListArtifactsRequestOrBuilder * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListBatchPredictionJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListBatchPredictionJobsRequest.java index 29c4c3aae207..33a2b29ec68e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListBatchPredictionJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListBatchPredictionJobsRequest.java @@ -218,11 +218,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -252,11 +257,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -925,11 +935,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -958,11 +973,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -991,11 +1011,16 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -1023,11 +1048,16 @@ public Builder setFilter(java.lang.String value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -1051,11 +1081,16 @@ public Builder clearFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListBatchPredictionJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListBatchPredictionJobsRequestOrBuilder.java index 76a88144f506..ae47a5fe7d87 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListBatchPredictionJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListBatchPredictionJobsRequestOrBuilder.java @@ -65,11 +65,16 @@ public interface ListBatchPredictionJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -88,11 +93,16 @@ public interface ListBatchPredictionJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListContextsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListContextsRequest.java index 113cf11c3f4e..a8a5ea4d1e44 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListContextsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListContextsRequest.java @@ -41,6 +41,7 @@ private ListContextsRequest() { parent_ = ""; pageToken_ = ""; filter_ = ""; + orderBy_ = ""; } @java.lang.Override @@ -98,6 +99,13 @@ private ListContextsRequest( filter_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -368,6 +376,65 @@ public com.google.protobuf.ByteString getFilterBytes() { } } + public static final int ORDER_BY_FIELD_NUMBER = 5; + private volatile java.lang.Object orderBy_; + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -394,6 +461,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); + } unknownFields.writeTo(output); } @@ -415,6 +485,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -435,6 +508,7 @@ public boolean equals(final java.lang.Object obj) { if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -454,6 +528,8 @@ public int hashCode() { hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -607,6 +683,8 @@ public Builder clear() { filter_ = ""; + orderBy_ = ""; + return this; } @@ -638,6 +716,7 @@ public com.google.cloud.aiplatform.v1.ListContextsRequest buildPartial() { result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; + result.orderBy_ = orderBy_; onBuilt(); return result; } @@ -703,6 +782,10 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ListContextsRequest othe filter_ = other.filter_; onChanged(); } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1276,6 +1359,137 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + orderBy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + + orderBy_ = getDefaultInstance().getOrderBy(); + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + orderBy_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListContextsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListContextsRequestOrBuilder.java index 63c646f0b38c..2026b032227f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListContextsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListContextsRequestOrBuilder.java @@ -179,4 +179,39 @@ public interface ListContextsRequestOrBuilder * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListCustomJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListCustomJobsRequest.java index b150498ab613..16ccbe29cbbb 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListCustomJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListCustomJobsRequest.java @@ -216,11 +216,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -249,11 +254,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -917,11 +927,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -949,11 +964,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -981,11 +1001,16 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1012,11 +1037,16 @@ public Builder setFilter(java.lang.String value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1039,11 +1069,16 @@ public Builder clearFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListCustomJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListCustomJobsRequestOrBuilder.java index 788f3f21865e..ef02c04ce894 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListCustomJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListCustomJobsRequestOrBuilder.java @@ -64,11 +64,16 @@ public interface ListCustomJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -86,11 +91,16 @@ public interface ListCustomJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListDataLabelingJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListDataLabelingJobsRequest.java index d9674753063c..d80c78797d38 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListDataLabelingJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListDataLabelingJobsRequest.java @@ -224,11 +224,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -257,11 +262,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -998,11 +1008,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1030,11 +1045,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1062,11 +1082,16 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1093,11 +1118,16 @@ public Builder setFilter(java.lang.String value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1120,11 +1150,16 @@ public Builder clearFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListDataLabelingJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListDataLabelingJobsRequestOrBuilder.java index 0078edcec346..e9cc946bc428 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListDataLabelingJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListDataLabelingJobsRequestOrBuilder.java @@ -64,11 +64,16 @@ public interface ListDataLabelingJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -86,11 +91,16 @@ public interface ListDataLabelingJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListExecutionsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListExecutionsRequest.java index 0eb9fa92bef7..4b1cf519b4d6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListExecutionsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListExecutionsRequest.java @@ -41,6 +41,7 @@ private ListExecutionsRequest() { parent_ = ""; pageToken_ = ""; filter_ = ""; + orderBy_ = ""; } @java.lang.Override @@ -98,6 +99,13 @@ private ListExecutionsRequest( filter_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -362,6 +370,65 @@ public com.google.protobuf.ByteString getFilterBytes() { } } + public static final int ORDER_BY_FIELD_NUMBER = 5; + private volatile java.lang.Object orderBy_; + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -388,6 +455,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); + } unknownFields.writeTo(output); } @@ -409,6 +479,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -429,6 +502,7 @@ public boolean equals(final java.lang.Object obj) { if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -448,6 +522,8 @@ public int hashCode() { hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -601,6 +677,8 @@ public Builder clear() { filter_ = ""; + orderBy_ = ""; + return this; } @@ -632,6 +710,7 @@ public com.google.cloud.aiplatform.v1.ListExecutionsRequest buildPartial() { result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; + result.orderBy_ = orderBy_; onBuilt(); return result; } @@ -697,6 +776,10 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ListExecutionsRequest ot filter_ = other.filter_; onChanged(); } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1255,6 +1338,137 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + orderBy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + + orderBy_ = getDefaultInstance().getOrderBy(); + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + orderBy_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListExecutionsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListExecutionsRequestOrBuilder.java index 7d982c80c8d0..c3a789f05f47 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListExecutionsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListExecutionsRequestOrBuilder.java @@ -173,4 +173,39 @@ public interface ListExecutionsRequestOrBuilder * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListHyperparameterTuningJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListHyperparameterTuningJobsRequest.java index 62b8b1fc82c6..ad916ae5249a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListHyperparameterTuningJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListHyperparameterTuningJobsRequest.java @@ -218,11 +218,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -251,11 +256,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -928,11 +938,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -960,11 +975,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -992,11 +1012,16 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1023,11 +1048,16 @@ public Builder setFilter(java.lang.String value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1050,11 +1080,16 @@ public Builder clearFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListHyperparameterTuningJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListHyperparameterTuningJobsRequestOrBuilder.java index 56d50aa92a96..5cdd516da9eb 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListHyperparameterTuningJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListHyperparameterTuningJobsRequestOrBuilder.java @@ -64,11 +64,16 @@ public interface ListHyperparameterTuningJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -86,11 +91,16 @@ public interface ListHyperparameterTuningJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListModelDeploymentMonitoringJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListModelDeploymentMonitoringJobsRequest.java index 298ea2d96f34..3df0cbc0d761 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListModelDeploymentMonitoringJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListModelDeploymentMonitoringJobsRequest.java @@ -219,11 +219,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -252,11 +257,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -927,11 +937,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -959,11 +974,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -991,11 +1011,16 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1022,11 +1047,16 @@ public Builder setFilter(java.lang.String value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1049,11 +1079,16 @@ public Builder clearFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListModelDeploymentMonitoringJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListModelDeploymentMonitoringJobsRequestOrBuilder.java index e8c66e5d8568..685ac4443335 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListModelDeploymentMonitoringJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListModelDeploymentMonitoringJobsRequestOrBuilder.java @@ -64,11 +64,16 @@ public interface ListModelDeploymentMonitoringJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -86,11 +91,16 @@ public interface ListModelDeploymentMonitoringJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTrainingPipelinesRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTrainingPipelinesRequest.java index e15ee5417494..e3329a0f6e28 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTrainingPipelinesRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTrainingPipelinesRequest.java @@ -217,6 +217,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -252,6 +255,9 @@ public java.lang.String getFilter() { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -923,6 +929,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -957,6 +966,9 @@ public java.lang.String getFilter() { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -991,6 +1003,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -1024,6 +1039,9 @@ public Builder setFilter(java.lang.String value) { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -1053,6 +1071,9 @@ public Builder clearFilter() { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTrainingPipelinesRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTrainingPipelinesRequestOrBuilder.java index 0e2820ccd239..069f7aabc5bd 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTrainingPipelinesRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListTrainingPipelinesRequestOrBuilder.java @@ -65,6 +65,9 @@ public interface ListTrainingPipelinesRequestOrBuilder * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -89,6 +92,9 @@ public interface ListTrainingPipelinesRequestOrBuilder * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceProto.java index 87287104b34e..47ff8a485479 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceProto.java @@ -143,6 +143,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_AddContextChildrenResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_AddContextChildrenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_QueryContextLineageSubgraphRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -268,308 +276,321 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "form.v1.ArtifactB\003\340A\002\022\023\n\013artifact_id\030\003 \001" + "(\t\"N\n\022GetArtifactRequest\0228\n\004name\030\001 \001(\tB*" + "\340A\002\372A$\n\"aiplatform.googleapis.com/Artifa" - + "ct\"\211\001\n\024ListArtifactsRequest\022:\n\006parent\030\001 " + + "ct\"\233\001\n\024ListArtifactsRequest\022:\n\006parent\030\001 " + "\001(\tB*\340A\002\372A$\022\"aiplatform.googleapis.com/A" + "rtifact\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" - + "\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"i\n\025ListArtifactsR" - + "esponse\0227\n\tartifacts\030\001 \003(\0132$.google.clou" - + "d.aiplatform.v1.Artifact\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"\241\001\n\025UpdateArtifactRequest\022;\n\010a" - + "rtifact\030\001 \001(\0132$.google.cloud.aiplatform." - + "v1.ArtifactB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032." - + "google.protobuf.FieldMaskB\003\340A\001\022\025\n\rallow_" - + "missing\030\003 \001(\010\"d\n\025DeleteArtifactRequest\0228" - + "\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.googlea" - + "pis.com/Artifact\022\021\n\004etag\030\002 \001(\tB\003\340A\001\"|\n\025P" - + "urgeArtifactsRequest\022:\n\006parent\030\001 \001(\tB*\340A" - + "\002\372A$\022\"aiplatform.googleapis.com/Artifact" - + "\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\005force\030\003 \001(\010B\003\340A" - + "\001\"l\n\026PurgeArtifactsResponse\022\023\n\013purge_cou" - + "nt\030\001 \001(\003\022=\n\014purge_sample\030\002 \003(\tB\'\372A$\n\"aip" - + "latform.googleapis.com/Artifact\"h\n\026Purge" - + "ArtifactsMetadata\022N\n\020generic_metadata\030\001 " - + "\001(\01324.google.cloud.aiplatform.v1.Generic" - + "OperationMetadata\"\246\001\n\024CreateContextReque" - + "st\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'aiplatform.g" - + "oogleapis.com/MetadataStore\0229\n\007context\030\002" - + " \001(\0132#.google.cloud.aiplatform.v1.Contex" - + "tB\003\340A\002\022\022\n\ncontext_id\030\003 \001(\t\"L\n\021GetContext" + + "\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t" + + "\"i\n\025ListArtifactsResponse\0227\n\tartifacts\030\001" + + " \003(\0132$.google.cloud.aiplatform.v1.Artifa" + + "ct\022\027\n\017next_page_token\030\002 \001(\t\"\241\001\n\025UpdateAr" + + "tifactRequest\022;\n\010artifact\030\001 \001(\0132$.google" + + ".cloud.aiplatform.v1.ArtifactB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\001\022\025\n\rallow_missing\030\003 \001(\010\"d\n\025Delet" + + "eArtifactRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"" + + "aiplatform.googleapis.com/Artifact\022\021\n\004et" + + "ag\030\002 \001(\tB\003\340A\001\"|\n\025PurgeArtifactsRequest\022:" + + "\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"aiplatform.googl" + + "eapis.com/Artifact\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022" + + "\022\n\005force\030\003 \001(\010B\003\340A\001\"l\n\026PurgeArtifactsRes" + + "ponse\022\023\n\013purge_count\030\001 \001(\003\022=\n\014purge_samp" + + "le\030\002 \003(\tB\'\372A$\n\"aiplatform.googleapis.com" + + "/Artifact\"h\n\026PurgeArtifactsMetadata\022N\n\020g" + + "eneric_metadata\030\001 \001(\01324.google.cloud.aip" + + "latform.v1.GenericOperationMetadata\"\246\001\n\024" + + "CreateContextRequest\022?\n\006parent\030\001 \001(\tB/\340A" + + "\002\372A)\n\'aiplatform.googleapis.com/Metadata" + + "Store\0229\n\007context\030\002 \001(\0132#.google.cloud.ai" + + "platform.v1.ContextB\003\340A\002\022\022\n\ncontext_id\030\003" + + " \001(\t\"L\n\021GetContextRequest\0227\n\004name\030\001 \001(\tB" + + ")\340A\002\372A#\n!aiplatform.googleapis.com/Conte" + + "xt\"\231\001\n\023ListContextsRequest\0229\n\006parent\030\001 \001" + + "(\tB)\340A\002\372A#\022!aiplatform.googleapis.com/Co" + + "ntext\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"f" + + "\n\024ListContextsResponse\0225\n\010contexts\030\001 \003(\013" + + "2#.google.cloud.aiplatform.v1.Context\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\236\001\n\024UpdateContext" + + "Request\0229\n\007context\030\001 \001(\0132#.google.cloud." + + "aiplatform.v1.ContextB\003\340A\002\0224\n\013update_mas" + + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001" + + "\022\025\n\rallow_missing\030\003 \001(\010\"q\n\024DeleteContext" + "Request\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatfor" - + "m.googleapis.com/Context\"\207\001\n\023ListContext" - + "sRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplat" - + "form.googleapis.com/Context\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001" - + "(\t\"f\n\024ListContextsResponse\0225\n\010contexts\030\001" - + " \003(\0132#.google.cloud.aiplatform.v1.Contex" - + "t\022\027\n\017next_page_token\030\002 \001(\t\"\236\001\n\024UpdateCon" - + "textRequest\0229\n\007context\030\001 \001(\0132#.google.cl" - + "oud.aiplatform.v1.ContextB\003\340A\002\0224\n\013update" - + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB" - + "\003\340A\001\022\025\n\rallow_missing\030\003 \001(\010\"q\n\024DeleteCon" - + "textRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aipla" - + "tform.googleapis.com/Context\022\r\n\005force\030\002 " - + "\001(\010\022\021\n\004etag\030\003 \001(\tB\003\340A\001\"z\n\024PurgeContextsR" - + "equest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplatfo" - + "rm.googleapis.com/Context\022\023\n\006filter\030\002 \001(" - + "\tB\003\340A\002\022\022\n\005force\030\003 \001(\010B\003\340A\001\"j\n\025PurgeConte" - + "xtsResponse\022\023\n\013purge_count\030\001 \001(\003\022<\n\014purg" - + "e_sample\030\002 \003(\tB&\372A#\n!aiplatform.googleap" - + "is.com/Context\"g\n\025PurgeContextsMetadata\022" - + "N\n\020generic_metadata\030\001 \001(\01324.google.cloud" - + ".aiplatform.v1.GenericOperationMetadata\"" - + "\337\001\n\'AddContextArtifactsAndExecutionsRequ" - + "est\022:\n\007context\030\001 \001(\tB)\340A\002\372A#\n!aiplatform" - + ".googleapis.com/Context\022:\n\tartifacts\030\002 \003" - + "(\tB\'\372A$\n\"aiplatform.googleapis.com/Artif" - + "act\022<\n\nexecutions\030\003 \003(\tB(\372A%\n#aiplatform" - + ".googleapis.com/Execution\"*\n(AddContextA" - + "rtifactsAndExecutionsResponse\"\227\001\n\031AddCon" - + "textChildrenRequest\022:\n\007context\030\001 \001(\tB)\340A" - + "\002\372A#\n!aiplatform.googleapis.com/Context\022" - + ">\n\016child_contexts\030\002 \003(\tB&\372A#\n!aiplatform" - + ".googleapis.com/Context\"\034\n\032AddContextChi" - + "ldrenResponse\"`\n\"QueryContextLineageSubg" - + "raphRequest\022:\n\007context\030\001 \001(\tB)\340A\002\372A#\n!ai" - + "platform.googleapis.com/Context\"\256\001\n\026Crea" - + "teExecutionRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372" - + "A)\n\'aiplatform.googleapis.com/MetadataSt" - + "ore\022=\n\texecution\030\002 \001(\0132%.google.cloud.ai" - + "platform.v1.ExecutionB\003\340A\002\022\024\n\014execution_" - + "id\030\003 \001(\t\"P\n\023GetExecutionRequest\0229\n\004name\030" - + "\001 \001(\tB+\340A\002\372A%\n#aiplatform.googleapis.com" - + "/Execution\"\213\001\n\025ListExecutionsRequest\022;\n\006" - + "parent\030\001 \001(\tB+\340A\002\372A%\022#aiplatform.googlea" - + "pis.com/Execution\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"l\n\026List" - + "ExecutionsResponse\0229\n\nexecutions\030\001 \003(\0132%" - + ".google.cloud.aiplatform.v1.Execution\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\244\001\n\026UpdateExecuti" - + "onRequest\022=\n\texecution\030\001 \001(\0132%.google.cl" - + "oud.aiplatform.v1.ExecutionB\003\340A\002\0224\n\013upda" - + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "kB\003\340A\001\022\025\n\rallow_missing\030\003 \001(\010\"f\n\026DeleteE" - + "xecutionRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#a" - + "iplatform.googleapis.com/Execution\022\021\n\004et" - + "ag\030\002 \001(\tB\003\340A\001\"~\n\026PurgeExecutionsRequest\022" - + ";\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#aiplatform.goog" - + "leapis.com/Execution\022\023\n\006filter\030\002 \001(\tB\003\340A" - + "\002\022\022\n\005force\030\003 \001(\010B\003\340A\001\"n\n\027PurgeExecutions" - + "Response\022\023\n\013purge_count\030\001 \001(\003\022>\n\014purge_s" - + "ample\030\002 \003(\tB(\372A%\n#aiplatform.googleapis." - + "com/Execution\"i\n\027PurgeExecutionsMetadata" - + "\022N\n\020generic_metadata\030\001 \001(\01324.google.clou" - + "d.aiplatform.v1.GenericOperationMetadata" - + "\"\216\001\n\031AddExecutionEventsRequest\022>\n\texecut" - + "ion\030\001 \001(\tB+\340A\002\372A%\n#aiplatform.googleapis" - + ".com/Execution\0221\n\006events\030\002 \003(\0132!.google." - + "cloud.aiplatform.v1.Event\"\034\n\032AddExecutio" - + "nEventsResponse\"g\n%QueryExecutionInputsA" - + "ndOutputsRequest\022>\n\texecution\030\001 \001(\tB+\340A\002" - + "\372A%\n#aiplatform.googleapis.com/Execution" - + "\"\304\001\n\033CreateMetadataSchemaRequest\022?\n\006pare" - + "nt\030\001 \001(\tB/\340A\002\372A)\n\'aiplatform.googleapis." - + "com/MetadataStore\022H\n\017metadata_schema\030\002 \001" - + "(\0132*.google.cloud.aiplatform.v1.Metadata" - + "SchemaB\003\340A\002\022\032\n\022metadata_schema_id\030\003 \001(\t\"" - + "Z\n\030GetMetadataSchemaRequest\022>\n\004name\030\001 \001(" - + "\tB0\340A\002\372A*\n(aiplatform.googleapis.com/Met" - + "adataSchema\"\225\001\n\032ListMetadataSchemasReque" - + "st\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(aiplatform.g" - + "oogleapis.com/MetadataSchema\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 " - + "\001(\t\"|\n\033ListMetadataSchemasResponse\022D\n\020me" - + "tadata_schemas\030\001 \003(\0132*.google.cloud.aipl" - + "atform.v1.MetadataSchema\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"\205\001\n#QueryArtifactLineageSubgra" - + "phRequest\022<\n\010artifact\030\001 \001(\tB*\340A\002\372A$\n\"aip" - + "latform.googleapis.com/Artifact\022\020\n\010max_h" - + "ops\030\002 \001(\005\022\016\n\006filter\030\003 \001(\t2\2468\n\017MetadataSe" - + "rvice\022\233\002\n\023CreateMetadataStore\0226.google.c" - + "loud.aiplatform.v1.CreateMetadataStoreRe" - + "quest\032\035.google.longrunning.Operation\"\254\001\202" - + "\323\344\223\002D\"2/v1/{parent=projects/*/locations/" - + "*}/metadataStores:\016metadata_store\332A\'pare" - + "nt,metadata_store,metadata_store_id\312A5\n\r" - + "MetadataStore\022$CreateMetadataStoreOperat" - + "ionMetadata\022\265\001\n\020GetMetadataStore\0223.googl" - + "e.cloud.aiplatform.v1.GetMetadataStoreRe" - + "quest\032).google.cloud.aiplatform.v1.Metad" - + "ataStore\"A\202\323\344\223\0024\0222/v1/{name=projects/*/l" - + "ocations/*/metadataStores/*}\332A\004name\022\310\001\n\022" - + "ListMetadataStores\0225.google.cloud.aiplat" - + "form.v1.ListMetadataStoresRequest\0326.goog" - + "le.cloud.aiplatform.v1.ListMetadataStore" - + "sResponse\"C\202\323\344\223\0024\0222/v1/{parent=projects/" - + "*/locations/*}/metadataStores\332A\006parent\022\360" - + "\001\n\023DeleteMetadataStore\0226.google.cloud.ai" - + "platform.v1.DeleteMetadataStoreRequest\032\035" - + ".google.longrunning.Operation\"\201\001\202\323\344\223\0024*2" - + "/v1/{name=projects/*/locations/*/metadat" - + "aStores/*}\332A\004name\312A=\n\025google.protobuf.Em" - + "pty\022$DeleteMetadataStoreOperationMetadat" - + "a\022\331\001\n\016CreateArtifact\0221.google.cloud.aipl" - + "atform.v1.CreateArtifactRequest\032$.google" - + ".cloud.aiplatform.v1.Artifact\"n\202\323\344\223\002J\">/" - + "v1/{parent=projects/*/locations/*/metada" - + "taStores/*}/artifacts:\010artifact\332A\033parent" - + ",artifact,artifact_id\022\262\001\n\013GetArtifact\022.." - + "google.cloud.aiplatform.v1.GetArtifactRe" - + "quest\032$.google.cloud.aiplatform.v1.Artif" - + "act\"M\202\323\344\223\002@\022>/v1/{name=projects/*/locati" - + "ons/*/metadataStores/*/artifacts/*}\332A\004na" - + "me\022\305\001\n\rListArtifacts\0220.google.cloud.aipl" - + "atform.v1.ListArtifactsRequest\0321.google." - + "cloud.aiplatform.v1.ListArtifactsRespons" - + "e\"O\202\323\344\223\002@\022>/v1/{parent=projects/*/locati" - + "ons/*/metadataStores/*}/artifacts\332A\006pare" - + "nt\022\333\001\n\016UpdateArtifact\0221.google.cloud.aip" - + "latform.v1.UpdateArtifactRequest\032$.googl" - + "e.cloud.aiplatform.v1.Artifact\"p\202\323\344\223\002S2G" - + "/v1/{artifact.name=projects/*/locations/" - + "*/metadataStores/*/artifacts/*}:\010artifac" - + "t\332A\024artifact,update_mask\022\345\001\n\016DeleteArtif" - + "act\0221.google.cloud.aiplatform.v1.DeleteA" - + "rtifactRequest\032\035.google.longrunning.Oper" - + "ation\"\200\001\202\323\344\223\002@*>/v1/{name=projects/*/loc" - + "ations/*/metadataStores/*/artifacts/*}\332A" - + "\004name\312A0\n\025google.protobuf.Empty\022\027DeleteO" - + "perationMetadata\022\360\001\n\016PurgeArtifacts\0221.go" - + "ogle.cloud.aiplatform.v1.PurgeArtifactsR" - + "equest\032\035.google.longrunning.Operation\"\213\001" - + "\202\323\344\223\002I\"D/v1/{parent=projects/*/locations" - + "/*/metadataStores/*}/artifacts:purge:\001*\332" - + "A\006parent\312A0\n\026PurgeArtifactsResponse\022\026Pur" - + "geArtifactsMetadata\022\322\001\n\rCreateContext\0220." - + "google.cloud.aiplatform.v1.CreateContext" - + "Request\032#.google.cloud.aiplatform.v1.Con" - + "text\"j\202\323\344\223\002H\"=/v1/{parent=projects/*/loc" - + "ations/*/metadataStores/*}/contexts:\007con" - + "text\332A\031parent,context,context_id\022\256\001\n\nGet" - + "Context\022-.google.cloud.aiplatform.v1.Get" - + "ContextRequest\032#.google.cloud.aiplatform" - + ".v1.Context\"L\202\323\344\223\002?\022=/v1/{name=projects/" - + "*/locations/*/metadataStores/*/contexts/" - + "*}\332A\004name\022\301\001\n\014ListContexts\022/.google.clou" - + "d.aiplatform.v1.ListContextsRequest\0320.go" - + "ogle.cloud.aiplatform.v1.ListContextsRes" - + "ponse\"N\202\323\344\223\002?\022=/v1/{parent=projects/*/lo" - + "cations/*/metadataStores/*}/contexts\332A\006p" - + "arent\022\324\001\n\rUpdateContext\0220.google.cloud.a" - + "iplatform.v1.UpdateContextRequest\032#.goog" - + "le.cloud.aiplatform.v1.Context\"l\202\323\344\223\002P2E" - + "/v1/{context.name=projects/*/locations/*" - + "/metadataStores/*/contexts/*}:\007context\332A" - + "\023context,update_mask\022\341\001\n\rDeleteContext\0220" - + ".google.cloud.aiplatform.v1.DeleteContex" - + "tRequest\032\035.google.longrunning.Operation\"" - + "\177\202\323\344\223\002?*=/v1/{name=projects/*/locations/" - + "*/metadataStores/*/contexts/*}\332A\004name\312A0" - + "\n\025google.protobuf.Empty\022\027DeleteOperation" - + "Metadata\022\353\001\n\rPurgeContexts\0220.google.clou" - + "d.aiplatform.v1.PurgeContextsRequest\032\035.g" - + "oogle.longrunning.Operation\"\210\001\202\323\344\223\002H\"C/v" - + "1/{parent=projects/*/locations/*/metadat" - + "aStores/*}/contexts:purge:\001*\332A\006parent\312A." - + "\n\025PurgeContextsResponse\022\025PurgeContextsMe" - + "tadata\022\273\002\n AddContextArtifactsAndExecuti" - + "ons\022C.google.cloud.aiplatform.v1.AddCont" - + "extArtifactsAndExecutionsRequest\032D.googl" - + "e.cloud.aiplatform.v1.AddContextArtifact" - + "sAndExecutionsResponse\"\213\001\202\323\344\223\002f\"a/v1/{co" - + "ntext=projects/*/locations/*/metadataSto" - + "res/*/contexts/*}:addContextArtifactsAnd" - + "Executions:\001*\332A\034context,artifacts,execut" - + "ions\022\374\001\n\022AddContextChildren\0225.google.clo" - + "ud.aiplatform.v1.AddContextChildrenReque" - + "st\0326.google.cloud.aiplatform.v1.AddConte" - + "xtChildrenResponse\"w\202\323\344\223\002X\"S/v1/{context" - + "=projects/*/locations/*/metadataStores/*" - + "/contexts/*}:addContextChildren:\001*\332A\026con" - + "text,child_contexts\022\372\001\n\033QueryContextLine" - + "ageSubgraph\022>.google.cloud.aiplatform.v1" - + ".QueryContextLineageSubgraphRequest\032+.go" - + "ogle.cloud.aiplatform.v1.LineageSubgraph" - + "\"n\202\323\344\223\002^\022\\/v1/{context=projects/*/locati" - + "ons/*/metadataStores/*/contexts/*}:query" - + "ContextLineageSubgraph\332A\007context\022\340\001\n\017Cre" - + "ateExecution\0222.google.cloud.aiplatform.v" - + "1.CreateExecutionRequest\032%.google.cloud." - + "aiplatform.v1.Execution\"r\202\323\344\223\002L\"?/v1/{pa" - + "rent=projects/*/locations/*/metadataStor" - + "es/*}/executions:\texecution\332A\035parent,exe" - + "cution,execution_id\022\266\001\n\014GetExecution\022/.g" - + "oogle.cloud.aiplatform.v1.GetExecutionRe" - + "quest\032%.google.cloud.aiplatform.v1.Execu" - + "tion\"N\202\323\344\223\002A\022?/v1/{name=projects/*/locat" - + "ions/*/metadataStores/*/executions/*}\332A\004" - + "name\022\311\001\n\016ListExecutions\0221.google.cloud.a" - + "iplatform.v1.ListExecutionsRequest\0322.goo" - + "gle.cloud.aiplatform.v1.ListExecutionsRe" - + "sponse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/l" - + "ocations/*/metadataStores/*}/executions\332" - + "A\006parent\022\342\001\n\017UpdateExecution\0222.google.cl" - + "oud.aiplatform.v1.UpdateExecutionRequest" - + "\032%.google.cloud.aiplatform.v1.Execution\"" - + "t\202\323\344\223\002V2I/v1/{execution.name=projects/*/" - + "locations/*/metadataStores/*/executions/" - + "*}:\texecution\332A\025execution,update_mask\022\350\001" - + "\n\017DeleteExecution\0222.google.cloud.aiplatf" - + "orm.v1.DeleteExecutionRequest\032\035.google.l" - + "ongrunning.Operation\"\201\001\202\323\344\223\002A*?/v1/{name" - + "=projects/*/locations/*/metadataStores/*" - + "/executions/*}\332A\004name\312A0\n\025google.protobu" - + "f.Empty\022\027DeleteOperationMetadata\022\365\001\n\017Pur" - + "geExecutions\0222.google.cloud.aiplatform.v" - + "1.PurgeExecutionsRequest\032\035.google.longru" - + "nning.Operation\"\216\001\202\323\344\223\002J\"E/v1/{parent=pr" - + "ojects/*/locations/*/metadataStores/*}/e" - + "xecutions:purge:\001*\332A\006parent\312A2\n\027PurgeExe" - + "cutionsResponse\022\027PurgeExecutionsMetadata" - + "\022\372\001\n\022AddExecutionEvents\0225.google.cloud.a" - + "iplatform.v1.AddExecutionEventsRequest\0326" - + ".google.cloud.aiplatform.v1.AddExecution" - + "EventsResponse\"u\202\323\344\223\002\\\"W/v1/{execution=p" - + "rojects/*/locations/*/metadataStores/*/e" - + "xecutions/*}:addExecutionEvents:\001*\332A\020exe" - + "cution,events\022\211\002\n\036QueryExecutionInputsAn" - + "dOutputs\022A.google.cloud.aiplatform.v1.Qu" - + "eryExecutionInputsAndOutputsRequest\032+.go" - + "ogle.cloud.aiplatform.v1.LineageSubgraph" - + "\"w\202\323\344\223\002e\022c/v1/{execution=projects/*/loca" - + "tions/*/metadataStores/*/executions/*}:q" - + "ueryExecutionInputsAndOutputs\332A\texecutio" - + "n\022\207\002\n\024CreateMetadataSchema\0227.google.clou" - + "d.aiplatform.v1.CreateMetadataSchemaRequ" - + "est\032*.google.cloud.aiplatform.v1.Metadat" - + "aSchema\"\211\001\202\323\344\223\002W\"D/v1/{parent=projects/*" - + "/locations/*/metadataStores/*}/metadataS" - + "chemas:\017metadata_schema\332A)parent,metadat" - + "a_schema,metadata_schema_id\022\312\001\n\021GetMetad" - + "ataSchema\0224.google.cloud.aiplatform.v1.G" - + "etMetadataSchemaRequest\032*.google.cloud.a" - + "iplatform.v1.MetadataSchema\"S\202\323\344\223\002F\022D/v1" - + "/{name=projects/*/locations/*/metadataSt" - + "ores/*/metadataSchemas/*}\332A\004name\022\335\001\n\023Lis" - + "tMetadataSchemas\0226.google.cloud.aiplatfo" - + "rm.v1.ListMetadataSchemasRequest\0327.googl" - + "e.cloud.aiplatform.v1.ListMetadataSchema" - + "sResponse\"U\202\323\344\223\002F\022D/v1/{parent=projects/" - + "*/locations/*/metadataStores/*}/metadata" - + "Schemas\332A\006parent\022\200\002\n\034QueryArtifactLineag" - + "eSubgraph\022?.google.cloud.aiplatform.v1.Q" - + "ueryArtifactLineageSubgraphRequest\032+.goo" - + "gle.cloud.aiplatform.v1.LineageSubgraph\"" - + "r\202\323\344\223\002a\022_/v1/{artifact=projects/*/locati" - + "ons/*/metadataStores/*/artifacts/*}:quer" - + "yArtifactLineageSubgraph\332A\010artifact\032M\312A\031" - + "aiplatform.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB\330\001\n\036c" - + "om.google.cloud.aiplatform.v1B\024MetadataS" - + "erviceProtoP\001ZDgoogle.golang.org/genprot" - + "o/googleapis/cloud/aiplatform/v1;aiplatf" - + "orm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl" - + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A" - + "IPlatform::V1b\006proto3" + + "m.googleapis.com/Context\022\r\n\005force\030\002 \001(\010\022" + + "\021\n\004etag\030\003 \001(\tB\003\340A\001\"z\n\024PurgeContextsReque" + + "st\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplatform.g" + + "oogleapis.com/Context\022\023\n\006filter\030\002 \001(\tB\003\340" + + "A\002\022\022\n\005force\030\003 \001(\010B\003\340A\001\"j\n\025PurgeContextsR" + + "esponse\022\023\n\013purge_count\030\001 \001(\003\022<\n\014purge_sa" + + "mple\030\002 \003(\tB&\372A#\n!aiplatform.googleapis.c" + + "om/Context\"g\n\025PurgeContextsMetadata\022N\n\020g" + + "eneric_metadata\030\001 \001(\01324.google.cloud.aip" + + "latform.v1.GenericOperationMetadata\"\337\001\n\'" + + "AddContextArtifactsAndExecutionsRequest\022" + + ":\n\007context\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.goo" + + "gleapis.com/Context\022:\n\tartifacts\030\002 \003(\tB\'" + + "\372A$\n\"aiplatform.googleapis.com/Artifact\022" + + "<\n\nexecutions\030\003 \003(\tB(\372A%\n#aiplatform.goo" + + "gleapis.com/Execution\"*\n(AddContextArtif" + + "actsAndExecutionsResponse\"\227\001\n\031AddContext" + + "ChildrenRequest\022:\n\007context\030\001 \001(\tB)\340A\002\372A#" + + "\n!aiplatform.googleapis.com/Context\022>\n\016c" + + "hild_contexts\030\002 \003(\tB&\372A#\n!aiplatform.goo" + + "gleapis.com/Context\"\034\n\032AddContextChildre" + + "nResponse\"\232\001\n\034RemoveContextChildrenReque" + + "st\022:\n\007context\030\001 \001(\tB)\340A\002\372A#\n!aiplatform." + + "googleapis.com/Context\022>\n\016child_contexts" + + "\030\002 \003(\tB&\372A#\n!aiplatform.googleapis.com/C" + + "ontext\"\037\n\035RemoveContextChildrenResponse\"" + + "`\n\"QueryContextLineageSubgraphRequest\022:\n" + + "\007context\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googl" + + "eapis.com/Context\"\256\001\n\026CreateExecutionReq" + + "uest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'aiplatform" + + ".googleapis.com/MetadataStore\022=\n\texecuti" + + "on\030\002 \001(\0132%.google.cloud.aiplatform.v1.Ex" + + "ecutionB\003\340A\002\022\024\n\014execution_id\030\003 \001(\t\"P\n\023Ge" + + "tExecutionRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n" + + "#aiplatform.googleapis.com/Execution\"\235\001\n" + + "\025ListExecutionsRequest\022;\n\006parent\030\001 \001(\tB+" + + "\340A\002\372A%\022#aiplatform.googleapis.com/Execut" + + "ion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + + "(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"l\n\026" + + "ListExecutionsResponse\0229\n\nexecutions\030\001 \003" + + "(\0132%.google.cloud.aiplatform.v1.Executio" + + "n\022\027\n\017next_page_token\030\002 \001(\t\"\244\001\n\026UpdateExe" + + "cutionRequest\022=\n\texecution\030\001 \001(\0132%.googl" + + "e.cloud.aiplatform.v1.ExecutionB\003\340A\002\0224\n\013" + + "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" + + "dMaskB\003\340A\001\022\025\n\rallow_missing\030\003 \001(\010\"f\n\026Del" + + "eteExecutionRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A" + + "%\n#aiplatform.googleapis.com/Execution\022\021" + + "\n\004etag\030\002 \001(\tB\003\340A\001\"~\n\026PurgeExecutionsRequ" + + "est\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#aiplatform." + + "googleapis.com/Execution\022\023\n\006filter\030\002 \001(\t" + + "B\003\340A\002\022\022\n\005force\030\003 \001(\010B\003\340A\001\"n\n\027PurgeExecut" + + "ionsResponse\022\023\n\013purge_count\030\001 \001(\003\022>\n\014pur" + + "ge_sample\030\002 \003(\tB(\372A%\n#aiplatform.googlea" + + "pis.com/Execution\"i\n\027PurgeExecutionsMeta" + + "data\022N\n\020generic_metadata\030\001 \001(\01324.google." + + "cloud.aiplatform.v1.GenericOperationMeta" + + "data\"\216\001\n\031AddExecutionEventsRequest\022>\n\tex" + + "ecution\030\001 \001(\tB+\340A\002\372A%\n#aiplatform.google" + + "apis.com/Execution\0221\n\006events\030\002 \003(\0132!.goo" + + "gle.cloud.aiplatform.v1.Event\"\034\n\032AddExec" + + "utionEventsResponse\"g\n%QueryExecutionInp" + + "utsAndOutputsRequest\022>\n\texecution\030\001 \001(\tB" + + "+\340A\002\372A%\n#aiplatform.googleapis.com/Execu" + + "tion\"\304\001\n\033CreateMetadataSchemaRequest\022?\n\006" + + "parent\030\001 \001(\tB/\340A\002\372A)\n\'aiplatform.googlea" + + "pis.com/MetadataStore\022H\n\017metadata_schema" + + "\030\002 \001(\0132*.google.cloud.aiplatform.v1.Meta" + + "dataSchemaB\003\340A\002\022\032\n\022metadata_schema_id\030\003 " + + "\001(\t\"Z\n\030GetMetadataSchemaRequest\022>\n\004name\030" + + "\001 \001(\tB0\340A\002\372A*\n(aiplatform.googleapis.com" + + "/MetadataSchema\"\225\001\n\032ListMetadataSchemasR" + + "equest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(aiplatfo" + + "rm.googleapis.com/MetadataSchema\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filte" + + "r\030\004 \001(\t\"|\n\033ListMetadataSchemasResponse\022D" + + "\n\020metadata_schemas\030\001 \003(\0132*.google.cloud." + + "aiplatform.v1.MetadataSchema\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"\205\001\n#QueryArtifactLineageSu" + + "bgraphRequest\022<\n\010artifact\030\001 \001(\tB*\340A\002\372A$\n" + + "\"aiplatform.googleapis.com/Artifact\022\020\n\010m" + + "ax_hops\030\002 \001(\005\022\016\n\006filter\030\003 \001(\t2\261:\n\017Metada" + + "taService\022\233\002\n\023CreateMetadataStore\0226.goog" + + "le.cloud.aiplatform.v1.CreateMetadataSto" + + "reRequest\032\035.google.longrunning.Operation" + + "\"\254\001\202\323\344\223\002D\"2/v1/{parent=projects/*/locati" + + "ons/*}/metadataStores:\016metadata_store\332A\'" + + "parent,metadata_store,metadata_store_id\312" + + "A5\n\rMetadataStore\022$CreateMetadataStoreOp" + + "erationMetadata\022\265\001\n\020GetMetadataStore\0223.g" + + "oogle.cloud.aiplatform.v1.GetMetadataSto" + + "reRequest\032).google.cloud.aiplatform.v1.M" + + "etadataStore\"A\202\323\344\223\0024\0222/v1/{name=projects" + + "/*/locations/*/metadataStores/*}\332A\004name\022" + + "\310\001\n\022ListMetadataStores\0225.google.cloud.ai" + + "platform.v1.ListMetadataStoresRequest\0326." + + "google.cloud.aiplatform.v1.ListMetadataS" + + "toresResponse\"C\202\323\344\223\0024\0222/v1/{parent=proje" + + "cts/*/locations/*}/metadataStores\332A\006pare" + + "nt\022\360\001\n\023DeleteMetadataStore\0226.google.clou" + + "d.aiplatform.v1.DeleteMetadataStoreReque" + + "st\032\035.google.longrunning.Operation\"\201\001\202\323\344\223" + + "\0024*2/v1/{name=projects/*/locations/*/met" + + "adataStores/*}\332A\004name\312A=\n\025google.protobu" + + "f.Empty\022$DeleteMetadataStoreOperationMet" + + "adata\022\331\001\n\016CreateArtifact\0221.google.cloud." + + "aiplatform.v1.CreateArtifactRequest\032$.go" + + "ogle.cloud.aiplatform.v1.Artifact\"n\202\323\344\223\002" + + "J\">/v1/{parent=projects/*/locations/*/me" + + "tadataStores/*}/artifacts:\010artifact\332A\033pa" + + "rent,artifact,artifact_id\022\262\001\n\013GetArtifac" + + "t\022..google.cloud.aiplatform.v1.GetArtifa" + + "ctRequest\032$.google.cloud.aiplatform.v1.A" + + "rtifact\"M\202\323\344\223\002@\022>/v1/{name=projects/*/lo" + + "cations/*/metadataStores/*/artifacts/*}\332" + + "A\004name\022\305\001\n\rListArtifacts\0220.google.cloud." + + "aiplatform.v1.ListArtifactsRequest\0321.goo" + + "gle.cloud.aiplatform.v1.ListArtifactsRes" + + "ponse\"O\202\323\344\223\002@\022>/v1/{parent=projects/*/lo" + + "cations/*/metadataStores/*}/artifacts\332A\006" + + "parent\022\333\001\n\016UpdateArtifact\0221.google.cloud" + + ".aiplatform.v1.UpdateArtifactRequest\032$.g" + + "oogle.cloud.aiplatform.v1.Artifact\"p\202\323\344\223" + + "\002S2G/v1/{artifact.name=projects/*/locati" + + "ons/*/metadataStores/*/artifacts/*}:\010art" + + "ifact\332A\024artifact,update_mask\022\345\001\n\016DeleteA" + + "rtifact\0221.google.cloud.aiplatform.v1.Del" + + "eteArtifactRequest\032\035.google.longrunning." + + "Operation\"\200\001\202\323\344\223\002@*>/v1/{name=projects/*" + + "/locations/*/metadataStores/*/artifacts/" + + "*}\332A\004name\312A0\n\025google.protobuf.Empty\022\027Del" + + "eteOperationMetadata\022\360\001\n\016PurgeArtifacts\022" + + "1.google.cloud.aiplatform.v1.PurgeArtifa" + + "ctsRequest\032\035.google.longrunning.Operatio" + + "n\"\213\001\202\323\344\223\002I\"D/v1/{parent=projects/*/locat" + + "ions/*/metadataStores/*}/artifacts:purge" + + ":\001*\332A\006parent\312A0\n\026PurgeArtifactsResponse\022" + + "\026PurgeArtifactsMetadata\022\322\001\n\rCreateContex" + + "t\0220.google.cloud.aiplatform.v1.CreateCon" + + "textRequest\032#.google.cloud.aiplatform.v1" + + ".Context\"j\202\323\344\223\002H\"=/v1/{parent=projects/*" + + "/locations/*/metadataStores/*}/contexts:" + + "\007context\332A\031parent,context,context_id\022\256\001\n" + + "\nGetContext\022-.google.cloud.aiplatform.v1" + + ".GetContextRequest\032#.google.cloud.aiplat" + + "form.v1.Context\"L\202\323\344\223\002?\022=/v1/{name=proje" + + "cts/*/locations/*/metadataStores/*/conte" + + "xts/*}\332A\004name\022\301\001\n\014ListContexts\022/.google." + + "cloud.aiplatform.v1.ListContextsRequest\032" + + "0.google.cloud.aiplatform.v1.ListContext" + + "sResponse\"N\202\323\344\223\002?\022=/v1/{parent=projects/" + + "*/locations/*/metadataStores/*}/contexts" + + "\332A\006parent\022\324\001\n\rUpdateContext\0220.google.clo" + + "ud.aiplatform.v1.UpdateContextRequest\032#." + + "google.cloud.aiplatform.v1.Context\"l\202\323\344\223" + + "\002P2E/v1/{context.name=projects/*/locatio" + + "ns/*/metadataStores/*/contexts/*}:\007conte" + + "xt\332A\023context,update_mask\022\341\001\n\rDeleteConte" + + "xt\0220.google.cloud.aiplatform.v1.DeleteCo" + + "ntextRequest\032\035.google.longrunning.Operat" + + "ion\"\177\202\323\344\223\002?*=/v1/{name=projects/*/locati" + + "ons/*/metadataStores/*/contexts/*}\332A\004nam" + + "e\312A0\n\025google.protobuf.Empty\022\027DeleteOpera" + + "tionMetadata\022\353\001\n\rPurgeContexts\0220.google." + + "cloud.aiplatform.v1.PurgeContextsRequest" + + "\032\035.google.longrunning.Operation\"\210\001\202\323\344\223\002H" + + "\"C/v1/{parent=projects/*/locations/*/met" + + "adataStores/*}/contexts:purge:\001*\332A\006paren" + + "t\312A.\n\025PurgeContextsResponse\022\025PurgeContex" + + "tsMetadata\022\273\002\n AddContextArtifactsAndExe" + + "cutions\022C.google.cloud.aiplatform.v1.Add" + + "ContextArtifactsAndExecutionsRequest\032D.g" + + "oogle.cloud.aiplatform.v1.AddContextArti" + + "factsAndExecutionsResponse\"\213\001\202\323\344\223\002f\"a/v1" + + "/{context=projects/*/locations/*/metadat" + + "aStores/*/contexts/*}:addContextArtifact" + + "sAndExecutions:\001*\332A\034context,artifacts,ex" + + "ecutions\022\374\001\n\022AddContextChildren\0225.google" + + ".cloud.aiplatform.v1.AddContextChildrenR" + + "equest\0326.google.cloud.aiplatform.v1.AddC" + + "ontextChildrenResponse\"w\202\323\344\223\002X\"S/v1/{con" + + "text=projects/*/locations/*/metadataStor" + + "es/*/contexts/*}:addContextChildren:\001*\332A" + + "\026context,child_contexts\022\210\002\n\025RemoveContex" + + "tChildren\0228.google.cloud.aiplatform.v1.R" + + "emoveContextChildrenRequest\0329.google.clo" + + "ud.aiplatform.v1.RemoveContextChildrenRe" + + "sponse\"z\202\323\344\223\002[\"V/v1/{context=projects/*/" + + "locations/*/metadataStores/*/contexts/*}" + + ":removeContextChildren:\001*\332A\026context,chil" + + "d_contexts\022\372\001\n\033QueryContextLineageSubgra" + + "ph\022>.google.cloud.aiplatform.v1.QueryCon" + + "textLineageSubgraphRequest\032+.google.clou" + + "d.aiplatform.v1.LineageSubgraph\"n\202\323\344\223\002^\022" + + "\\/v1/{context=projects/*/locations/*/met" + + "adataStores/*/contexts/*}:queryContextLi" + + "neageSubgraph\332A\007context\022\340\001\n\017CreateExecut" + + "ion\0222.google.cloud.aiplatform.v1.CreateE" + + "xecutionRequest\032%.google.cloud.aiplatfor" + + "m.v1.Execution\"r\202\323\344\223\002L\"?/v1/{parent=proj" + + "ects/*/locations/*/metadataStores/*}/exe" + + "cutions:\texecution\332A\035parent,execution,ex" + + "ecution_id\022\266\001\n\014GetExecution\022/.google.clo" + + "ud.aiplatform.v1.GetExecutionRequest\032%.g" + + "oogle.cloud.aiplatform.v1.Execution\"N\202\323\344" + + "\223\002A\022?/v1/{name=projects/*/locations/*/me" + + "tadataStores/*/executions/*}\332A\004name\022\311\001\n\016" + + "ListExecutions\0221.google.cloud.aiplatform" + + ".v1.ListExecutionsRequest\0322.google.cloud" + + ".aiplatform.v1.ListExecutionsResponse\"P\202" + + "\323\344\223\002A\022?/v1/{parent=projects/*/locations/" + + "*/metadataStores/*}/executions\332A\006parent\022" + + "\342\001\n\017UpdateExecution\0222.google.cloud.aipla" + + "tform.v1.UpdateExecutionRequest\032%.google" + + ".cloud.aiplatform.v1.Execution\"t\202\323\344\223\002V2I" + + "/v1/{execution.name=projects/*/locations" + + "/*/metadataStores/*/executions/*}:\texecu" + + "tion\332A\025execution,update_mask\022\350\001\n\017DeleteE" + + "xecution\0222.google.cloud.aiplatform.v1.De" + + "leteExecutionRequest\032\035.google.longrunnin" + + "g.Operation\"\201\001\202\323\344\223\002A*?/v1/{name=projects" + + "/*/locations/*/metadataStores/*/executio" + + "ns/*}\332A\004name\312A0\n\025google.protobuf.Empty\022\027" + + "DeleteOperationMetadata\022\365\001\n\017PurgeExecuti" + + "ons\0222.google.cloud.aiplatform.v1.PurgeEx" + + "ecutionsRequest\032\035.google.longrunning.Ope" + + "ration\"\216\001\202\323\344\223\002J\"E/v1/{parent=projects/*/" + + "locations/*/metadataStores/*}/executions" + + ":purge:\001*\332A\006parent\312A2\n\027PurgeExecutionsRe" + + "sponse\022\027PurgeExecutionsMetadata\022\372\001\n\022AddE" + + "xecutionEvents\0225.google.cloud.aiplatform" + + ".v1.AddExecutionEventsRequest\0326.google.c" + + "loud.aiplatform.v1.AddExecutionEventsRes" + + "ponse\"u\202\323\344\223\002\\\"W/v1/{execution=projects/*" + + "/locations/*/metadataStores/*/executions" + + "/*}:addExecutionEvents:\001*\332A\020execution,ev" + + "ents\022\211\002\n\036QueryExecutionInputsAndOutputs\022" + + "A.google.cloud.aiplatform.v1.QueryExecut" + + "ionInputsAndOutputsRequest\032+.google.clou" + + "d.aiplatform.v1.LineageSubgraph\"w\202\323\344\223\002e\022" + + "c/v1/{execution=projects/*/locations/*/m" + + "etadataStores/*/executions/*}:queryExecu" + + "tionInputsAndOutputs\332A\texecution\022\207\002\n\024Cre" + + "ateMetadataSchema\0227.google.cloud.aiplatf" + + "orm.v1.CreateMetadataSchemaRequest\032*.goo" + + "gle.cloud.aiplatform.v1.MetadataSchema\"\211" + + "\001\202\323\344\223\002W\"D/v1/{parent=projects/*/location" + + "s/*/metadataStores/*}/metadataSchemas:\017m" + + "etadata_schema\332A)parent,metadata_schema," + + "metadata_schema_id\022\312\001\n\021GetMetadataSchema" + + "\0224.google.cloud.aiplatform.v1.GetMetadat" + + "aSchemaRequest\032*.google.cloud.aiplatform" + + ".v1.MetadataSchema\"S\202\323\344\223\002F\022D/v1/{name=pr" + + "ojects/*/locations/*/metadataStores/*/me" + + "tadataSchemas/*}\332A\004name\022\335\001\n\023ListMetadata" + + "Schemas\0226.google.cloud.aiplatform.v1.Lis" + + "tMetadataSchemasRequest\0327.google.cloud.a" + + "iplatform.v1.ListMetadataSchemasResponse" + + "\"U\202\323\344\223\002F\022D/v1/{parent=projects/*/locatio" + + "ns/*/metadataStores/*}/metadataSchemas\332A" + + "\006parent\022\200\002\n\034QueryArtifactLineageSubgraph" + + "\022?.google.cloud.aiplatform.v1.QueryArtif" + + "actLineageSubgraphRequest\032+.google.cloud" + + ".aiplatform.v1.LineageSubgraph\"r\202\323\344\223\002a\022_" + + "/v1/{artifact=projects/*/locations/*/met" + + "adataStores/*/artifacts/*}:queryArtifact" + + "LineageSubgraph\332A\010artifact\032M\312A\031aiplatfor" + + "m.googleapis.com\322A.https://www.googleapi" + + "s.com/auth/cloud-platformB\330\001\n\036com.google" + + ".cloud.aiplatform.v1B\024MetadataServicePro" + + "toP\001ZDgoogle.golang.org/genproto/googlea" + + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo" + + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" + + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" + + "::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -668,7 +689,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListArtifactsRequest_descriptor, new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_aiplatform_v1_ListArtifactsResponse_descriptor = getDescriptor().getMessageTypes().get(10); @@ -740,7 +761,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListContextsRequest_descriptor, new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_aiplatform_v1_ListContextsResponse_descriptor = getDescriptor().getMessageTypes().get(19); @@ -818,8 +839,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_AddContextChildrenResponse_descriptor, new java.lang.String[] {}); - internal_static_google_cloud_aiplatform_v1_QueryContextLineageSubgraphRequest_descriptor = + internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenRequest_descriptor = getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenRequest_descriptor, + new java.lang.String[] { + "Context", "ChildContexts", + }); + internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenResponse_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_aiplatform_v1_QueryContextLineageSubgraphRequest_descriptor = + getDescriptor().getMessageTypes().get(31); internal_static_google_cloud_aiplatform_v1_QueryContextLineageSubgraphRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_QueryContextLineageSubgraphRequest_descriptor, @@ -827,7 +862,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Context", }); internal_static_google_cloud_aiplatform_v1_CreateExecutionRequest_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(32); internal_static_google_cloud_aiplatform_v1_CreateExecutionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_CreateExecutionRequest_descriptor, @@ -835,7 +870,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Execution", "ExecutionId", }); internal_static_google_cloud_aiplatform_v1_GetExecutionRequest_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(33); internal_static_google_cloud_aiplatform_v1_GetExecutionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_GetExecutionRequest_descriptor, @@ -843,15 +878,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_ListExecutionsRequest_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(34); internal_static_google_cloud_aiplatform_v1_ListExecutionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListExecutionsRequest_descriptor, new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_aiplatform_v1_ListExecutionsResponse_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(35); internal_static_google_cloud_aiplatform_v1_ListExecutionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListExecutionsResponse_descriptor, @@ -859,7 +894,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Executions", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1_UpdateExecutionRequest_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(36); internal_static_google_cloud_aiplatform_v1_UpdateExecutionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_UpdateExecutionRequest_descriptor, @@ -867,7 +902,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Execution", "UpdateMask", "AllowMissing", }); internal_static_google_cloud_aiplatform_v1_DeleteExecutionRequest_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageTypes().get(37); internal_static_google_cloud_aiplatform_v1_DeleteExecutionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_DeleteExecutionRequest_descriptor, @@ -875,7 +910,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Etag", }); internal_static_google_cloud_aiplatform_v1_PurgeExecutionsRequest_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageTypes().get(38); internal_static_google_cloud_aiplatform_v1_PurgeExecutionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_PurgeExecutionsRequest_descriptor, @@ -883,7 +918,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "Force", }); internal_static_google_cloud_aiplatform_v1_PurgeExecutionsResponse_descriptor = - getDescriptor().getMessageTypes().get(37); + getDescriptor().getMessageTypes().get(39); internal_static_google_cloud_aiplatform_v1_PurgeExecutionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_PurgeExecutionsResponse_descriptor, @@ -891,7 +926,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PurgeCount", "PurgeSample", }); internal_static_google_cloud_aiplatform_v1_PurgeExecutionsMetadata_descriptor = - getDescriptor().getMessageTypes().get(38); + getDescriptor().getMessageTypes().get(40); internal_static_google_cloud_aiplatform_v1_PurgeExecutionsMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_PurgeExecutionsMetadata_descriptor, @@ -899,7 +934,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "GenericMetadata", }); internal_static_google_cloud_aiplatform_v1_AddExecutionEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(39); + getDescriptor().getMessageTypes().get(41); internal_static_google_cloud_aiplatform_v1_AddExecutionEventsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_AddExecutionEventsRequest_descriptor, @@ -907,13 +942,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Execution", "Events", }); internal_static_google_cloud_aiplatform_v1_AddExecutionEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(40); + getDescriptor().getMessageTypes().get(42); internal_static_google_cloud_aiplatform_v1_AddExecutionEventsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_AddExecutionEventsResponse_descriptor, new java.lang.String[] {}); internal_static_google_cloud_aiplatform_v1_QueryExecutionInputsAndOutputsRequest_descriptor = - getDescriptor().getMessageTypes().get(41); + getDescriptor().getMessageTypes().get(43); internal_static_google_cloud_aiplatform_v1_QueryExecutionInputsAndOutputsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_QueryExecutionInputsAndOutputsRequest_descriptor, @@ -921,7 +956,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Execution", }); internal_static_google_cloud_aiplatform_v1_CreateMetadataSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageTypes().get(44); internal_static_google_cloud_aiplatform_v1_CreateMetadataSchemaRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_CreateMetadataSchemaRequest_descriptor, @@ -929,7 +964,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "MetadataSchema", "MetadataSchemaId", }); internal_static_google_cloud_aiplatform_v1_GetMetadataSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(43); + getDescriptor().getMessageTypes().get(45); internal_static_google_cloud_aiplatform_v1_GetMetadataSchemaRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_GetMetadataSchemaRequest_descriptor, @@ -937,7 +972,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_ListMetadataSchemasRequest_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageTypes().get(46); internal_static_google_cloud_aiplatform_v1_ListMetadataSchemasRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListMetadataSchemasRequest_descriptor, @@ -945,7 +980,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", }); internal_static_google_cloud_aiplatform_v1_ListMetadataSchemasResponse_descriptor = - getDescriptor().getMessageTypes().get(45); + getDescriptor().getMessageTypes().get(47); internal_static_google_cloud_aiplatform_v1_ListMetadataSchemasResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListMetadataSchemasResponse_descriptor, @@ -953,7 +988,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MetadataSchemas", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1_QueryArtifactLineageSubgraphRequest_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageTypes().get(48); internal_static_google_cloud_aiplatform_v1_QueryArtifactLineageSubgraphRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_QueryArtifactLineageSubgraphRequest_descriptor, diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenRequest.java new file mode 100644 index 000000000000..9b42f8a63dd7 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenRequest.java @@ -0,0 +1,949 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/metadata_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for
+ * [MetadataService.DeleteContextChildrenRequest][].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.RemoveContextChildrenRequest} + */ +public final class RemoveContextChildrenRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.RemoveContextChildrenRequest) + RemoveContextChildrenRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveContextChildrenRequest.newBuilder() to construct. + private RemoveContextChildrenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveContextChildrenRequest() { + context_ = ""; + childContexts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveContextChildrenRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveContextChildrenRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + context_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + childContexts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + childContexts_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + childContexts_ = childContexts_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest.class, + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest.Builder.class); + } + + public static final int CONTEXT_FIELD_NUMBER = 1; + private volatile java.lang.Object context_; + /** + * + * + *
+   * Required. The resource name of the parent Context.
+   * Format:
+   * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+   * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The context. + */ + @java.lang.Override + public java.lang.String getContext() { + java.lang.Object ref = context_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + context_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the parent Context.
+   * Format:
+   * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+   * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for context. + */ + @java.lang.Override + public com.google.protobuf.ByteString getContextBytes() { + java.lang.Object ref = context_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + context_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CHILD_CONTEXTS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList childContexts_; + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return A list containing the childContexts. + */ + public com.google.protobuf.ProtocolStringList getChildContextsList() { + return childContexts_; + } + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return The count of childContexts. + */ + public int getChildContextsCount() { + return childContexts_.size(); + } + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the element to return. + * @return The childContexts at the given index. + */ + public java.lang.String getChildContexts(int index) { + return childContexts_.get(index); + } + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the value to return. + * @return The bytes of the childContexts at the given index. + */ + public com.google.protobuf.ByteString getChildContextsBytes(int index) { + return childContexts_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, context_); + } + for (int i = 0; i < childContexts_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, childContexts_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, context_); + } + { + int dataSize = 0; + for (int i = 0; i < childContexts_.size(); i++) { + dataSize += computeStringSizeNoTag(childContexts_.getRaw(i)); + } + size += dataSize; + size += 1 * getChildContextsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest other = + (com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest) obj; + + if (!getContext().equals(other.getContext())) return false; + if (!getChildContextsList().equals(other.getChildContextsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getContext().hashCode(); + if (getChildContextsCount() > 0) { + hash = (37 * hash) + CHILD_CONTEXTS_FIELD_NUMBER; + hash = (53 * hash) + getChildContextsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [MetadataService.DeleteContextChildrenRequest][].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.RemoveContextChildrenRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.RemoveContextChildrenRequest) + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest.class, + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + context_ = ""; + + childContexts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest build() { + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest buildPartial() { + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest result = + new com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest(this); + int from_bitField0_ = bitField0_; + result.context_ = context_; + if (((bitField0_ & 0x00000001) != 0)) { + childContexts_ = childContexts_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.childContexts_ = childContexts_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest other) { + if (other == com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest.getDefaultInstance()) + return this; + if (!other.getContext().isEmpty()) { + context_ = other.context_; + onChanged(); + } + if (!other.childContexts_.isEmpty()) { + if (childContexts_.isEmpty()) { + childContexts_ = other.childContexts_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureChildContextsIsMutable(); + childContexts_.addAll(other.childContexts_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object context_ = ""; + /** + * + * + *
+     * Required. The resource name of the parent Context.
+     * Format:
+     * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+     * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The context. + */ + public java.lang.String getContext() { + java.lang.Object ref = context_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + context_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the parent Context.
+     * Format:
+     * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+     * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for context. + */ + public com.google.protobuf.ByteString getContextBytes() { + java.lang.Object ref = context_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + context_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the parent Context.
+     * Format:
+     * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+     * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The context to set. + * @return This builder for chaining. + */ + public Builder setContext(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + context_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the parent Context.
+     * Format:
+     * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+     * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearContext() { + + context_ = getDefaultInstance().getContext(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the parent Context.
+     * Format:
+     * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+     * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for context to set. + * @return This builder for chaining. + */ + public Builder setContextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + context_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList childContexts_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureChildContextsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + childContexts_ = new com.google.protobuf.LazyStringArrayList(childContexts_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return A list containing the childContexts. + */ + public com.google.protobuf.ProtocolStringList getChildContextsList() { + return childContexts_.getUnmodifiableView(); + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return The count of childContexts. + */ + public int getChildContextsCount() { + return childContexts_.size(); + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the element to return. + * @return The childContexts at the given index. + */ + public java.lang.String getChildContexts(int index) { + return childContexts_.get(index); + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the value to return. + * @return The bytes of the childContexts at the given index. + */ + public com.google.protobuf.ByteString getChildContextsBytes(int index) { + return childContexts_.getByteString(index); + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index to set the value at. + * @param value The childContexts to set. + * @return This builder for chaining. + */ + public Builder setChildContexts(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildContextsIsMutable(); + childContexts_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param value The childContexts to add. + * @return This builder for chaining. + */ + public Builder addChildContexts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildContextsIsMutable(); + childContexts_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param values The childContexts to add. + * @return This builder for chaining. + */ + public Builder addAllChildContexts(java.lang.Iterable values) { + ensureChildContextsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childContexts_); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return This builder for chaining. + */ + public Builder clearChildContexts() { + childContexts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param value The bytes of the childContexts to add. + * @return This builder for chaining. + */ + public Builder addChildContextsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureChildContextsIsMutable(); + childContexts_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.RemoveContextChildrenRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.RemoveContextChildrenRequest) + private static final com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest(); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveContextChildrenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveContextChildrenRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveContextChildrenRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenRequestOrBuilder.java new file mode 100644 index 000000000000..bcfd62fa1a20 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenRequestOrBuilder.java @@ -0,0 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/metadata_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface RemoveContextChildrenRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.RemoveContextChildrenRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the parent Context.
+   * Format:
+   * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+   * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The context. + */ + java.lang.String getContext(); + /** + * + * + *
+   * Required. The resource name of the parent Context.
+   * Format:
+   * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+   * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for context. + */ + com.google.protobuf.ByteString getContextBytes(); + + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return A list containing the childContexts. + */ + java.util.List getChildContextsList(); + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return The count of childContexts. + */ + int getChildContextsCount(); + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the element to return. + * @return The childContexts at the given index. + */ + java.lang.String getChildContexts(int index); + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the value to return. + * @return The bytes of the childContexts at the given index. + */ + com.google.protobuf.ByteString getChildContextsBytes(int index); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenResponse.java new file mode 100644 index 000000000000..ff349dd17c49 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenResponse.java @@ -0,0 +1,462 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/metadata_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Response message for [MetadataService.RemoveContextChildren][google.cloud.aiplatform.v1.MetadataService.RemoveContextChildren].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.RemoveContextChildrenResponse} + */ +public final class RemoveContextChildrenResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.RemoveContextChildrenResponse) + RemoveContextChildrenResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveContextChildrenResponse.newBuilder() to construct. + private RemoveContextChildrenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveContextChildrenResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveContextChildrenResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveContextChildrenResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse.class, + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse other = + (com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for [MetadataService.RemoveContextChildren][google.cloud.aiplatform.v1.MetadataService.RemoveContextChildren].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.RemoveContextChildrenResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.RemoveContextChildrenResponse) + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse.class, + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1_RemoveContextChildrenResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse build() { + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse buildPartial() { + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse result = + new com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse other) { + if (other + == com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.RemoveContextChildrenResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.RemoveContextChildrenResponse) + private static final com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse(); + } + + public static com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveContextChildrenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveContextChildrenResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.RemoveContextChildrenResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenResponseOrBuilder.java new file mode 100644 index 000000000000..b1f00a5d3865 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/RemoveContextChildrenResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/metadata_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface RemoveContextChildrenResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.RemoveContextChildrenResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto index 3212d0ce5556..21568cee04d0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto @@ -154,7 +154,7 @@ message BatchPredictionJob { // Required. The user-defined name of this BatchPredictionJob. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // The name of the Model resoure that produces the predictions via this job, + // The name of the Model resource that produces the predictions via this job, // must share the same ancestor Location. // Starting this job has no impact on any existing deployments of the Model // and their resources. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto index 38d68c013ff6..af3de68b773a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto @@ -106,7 +106,6 @@ message CustomJob { } // Represents the spec of a CustomJob. -// Next Id: 15 message CustomJobSpec { // Required. The spec of the worker pools including machine type and Docker image. // All worker pools except the first one are optional and can be skipped by diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto index 9adfec3fe844..516092ee1597 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto @@ -525,6 +525,10 @@ message ImportFeatureValuesResponse { // * Having a null timestamp. // * Not being parsable (applicable for CSV sources). int64 invalid_row_count = 6; + + // The number rows that weren't ingested due to having feature timestamps + // outside the retention boundary. + int64 timestamp_outside_retention_rows_count = 4; } // Request message for [FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.BatchReadFeatureValues]. @@ -1193,6 +1197,10 @@ message ImportFeatureValuesOperationMetadata { // * Having a null timestamp. // * Not being parsable (applicable for CSV sources). int64 invalid_row_count = 6; + + // The number rows that weren't ingested due to having timestamps outside the + // retention boundary. + int64 timestamp_outside_retention_rows_count = 7; } // Details of operations that exports Features values. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto index 82198a26b6a3..7e987dfde5b1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto @@ -388,6 +388,9 @@ message ListCustomJobsRequest { // * `state` supports `=`, `!=` comparisons. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -395,6 +398,8 @@ message ListCustomJobsRequest { // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` // * `NOT display_name="my_job"` // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` string filter = 2; // The standard list page size. @@ -493,6 +498,9 @@ message ListDataLabelingJobsRequest { // * `state` supports `=`, `!=` comparisons. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -500,6 +508,8 @@ message ListDataLabelingJobsRequest { // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` // * `NOT display_name="my_job"` // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` string filter = 2; // The standard list page size. @@ -603,6 +613,9 @@ message ListHyperparameterTuningJobsRequest { // * `state` supports `=`, `!=` comparisons. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -610,6 +623,8 @@ message ListHyperparameterTuningJobsRequest { // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` // * `NOT display_name="my_job"` // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` string filter = 2; // The standard list page size. @@ -711,6 +726,9 @@ message ListBatchPredictionJobsRequest { // * `state` supports `=`, `!=` comparisons. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -718,6 +736,8 @@ message ListBatchPredictionJobsRequest { // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` // * `NOT display_name="my_job"` // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` string filter = 2; // The standard list page size. @@ -891,6 +911,9 @@ message ListModelDeploymentMonitoringJobsRequest { // * `state` supports `=`, `!=` comparisons. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -898,6 +921,8 @@ message ListModelDeploymentMonitoringJobsRequest { // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` // * `NOT display_name="my_job"` // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` string filter = 2; // The standard list page size. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_service.proto index c601d46af9a7..e1dd4fcc077d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_service.proto @@ -228,6 +228,17 @@ service MetadataService { option (google.api.method_signature) = "context,child_contexts"; } + // Remove a set of children contexts from a parent Context. If any of the + // child Contexts were NOT added to the parent Context, they are + // simply skipped. + rpc RemoveContextChildren(RemoveContextChildrenRequest) returns (RemoveContextChildrenResponse) { + option (google.api.http) = { + post: "/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:removeContextChildren" + body: "*" + }; + option (google.api.method_signature) = "context,child_contexts"; + } + // Retrieves Artifacts and Executions within the specified Context, connected // by Event edges and returned as a LineageSubgraph. rpc QueryContextLineageSubgraph(QueryContextLineageSubgraphRequest) returns (LineageSubgraph) { @@ -549,6 +560,14 @@ message ListArtifactsRequest { // // For example: `display_name = "test" AND metadata.field1.bool_value = true`. string filter = 4; + + // How the list of messages is ordered. Specify the values to order by and an + // ordering operation. The default sorting order is ascending. To specify + // descending order for a field, users append a " desc" suffix; for example: + // "foo desc, bar". + // Subfields are specified with a `.` character, such as foo.bar. + // see https://google.aip.dev/132#ordering for more details. + string order_by = 5; } // Response message for [MetadataService.ListArtifacts][google.cloud.aiplatform.v1.MetadataService.ListArtifacts]. @@ -735,6 +754,14 @@ message ListContextsRequest { // // For example: `display_name = "test" AND metadata.field1.bool_value = true`. string filter = 4; + + // How the list of messages is ordered. Specify the values to order by and an + // ordering operation. The default sorting order is ascending. To specify + // descending order for a field, users append a " desc" suffix; for example: + // "foo desc, bar". + // Subfields are specified with a `.` character, such as foo.bar. + // see https://google.aip.dev/132#ordering for more details. + string order_by = 5; } // Response message for [MetadataService.ListContexts][google.cloud.aiplatform.v1.MetadataService.ListContexts]. @@ -890,6 +917,31 @@ message AddContextChildrenResponse { } +// Request message for +// [MetadataService.DeleteContextChildrenRequest][]. +message RemoveContextChildrenRequest { + // Required. The resource name of the parent Context. + // + // Format: + // `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + string context = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Context" + } + ]; + + // The resource names of the child Contexts. + repeated string child_contexts = 2 [(google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Context" + }]; +} + +// Response message for [MetadataService.RemoveContextChildren][google.cloud.aiplatform.v1.MetadataService.RemoveContextChildren]. +message RemoveContextChildrenResponse { + +} + // Request message for [MetadataService.QueryContextLineageSubgraph][google.cloud.aiplatform.v1.MetadataService.QueryContextLineageSubgraph]. message QueryContextLineageSubgraphRequest { // Required. The resource name of the Context whose Artifacts and Executions @@ -999,6 +1051,14 @@ message ListExecutionsRequest { // logical operators (`AND` & `OR`). // For example: `display_name = "test" AND metadata.field1.bool_value = true`. string filter = 4; + + // How the list of messages is ordered. Specify the values to order by and an + // ordering operation. The default sorting order is ascending. To specify + // descending order for a field, users append a " desc" suffix; for example: + // "foo desc, bar". + // Subfields are specified with a `.` character, such as foo.bar. + // see https://google.aip.dev/132#ordering for more details. + string order_by = 5; } // Response message for [MetadataService.ListExecutions][google.cloud.aiplatform.v1.MetadataService.ListExecutions]. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto index 41fef46685d8..0cd46b32902c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto @@ -201,6 +201,9 @@ message ListTrainingPipelinesRequest { // * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java index 251b287d7eae..05ce6c0dfa6b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJob.java @@ -5502,7 +5502,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-   * The name of the Model resoure that produces the predictions via this job,
+   * The name of the Model resource that produces the predictions via this job,
    * must share the same ancestor Location.
    * Starting this job has no impact on any existing deployments of the Model
    * and their resources.
@@ -5531,7 +5531,7 @@ public java.lang.String getModel() {
    *
    *
    * 
-   * The name of the Model resoure that produces the predictions via this job,
+   * The name of the Model resource that produces the predictions via this job,
    * must share the same ancestor Location.
    * Starting this job has no impact on any existing deployments of the Model
    * and their resources.
@@ -8368,7 +8368,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * The name of the Model resoure that produces the predictions via this job,
+     * The name of the Model resource that produces the predictions via this job,
      * must share the same ancestor Location.
      * Starting this job has no impact on any existing deployments of the Model
      * and their resources.
@@ -8396,7 +8396,7 @@ public java.lang.String getModel() {
      *
      *
      * 
-     * The name of the Model resoure that produces the predictions via this job,
+     * The name of the Model resource that produces the predictions via this job,
      * must share the same ancestor Location.
      * Starting this job has no impact on any existing deployments of the Model
      * and their resources.
@@ -8424,7 +8424,7 @@ public com.google.protobuf.ByteString getModelBytes() {
      *
      *
      * 
-     * The name of the Model resoure that produces the predictions via this job,
+     * The name of the Model resource that produces the predictions via this job,
      * must share the same ancestor Location.
      * Starting this job has no impact on any existing deployments of the Model
      * and their resources.
@@ -8451,7 +8451,7 @@ public Builder setModel(java.lang.String value) {
      *
      *
      * 
-     * The name of the Model resoure that produces the predictions via this job,
+     * The name of the Model resource that produces the predictions via this job,
      * must share the same ancestor Location.
      * Starting this job has no impact on any existing deployments of the Model
      * and their resources.
@@ -8474,7 +8474,7 @@ public Builder clearModel() {
      *
      *
      * 
-     * The name of the Model resoure that produces the predictions via this job,
+     * The name of the Model resource that produces the predictions via this job,
      * must share the same ancestor Location.
      * Starting this job has no impact on any existing deployments of the Model
      * and their resources.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java
index b50354c86f04..ddc8f4c575c1 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobOrBuilder.java
@@ -77,7 +77,7 @@ public interface BatchPredictionJobOrBuilder
    *
    *
    * 
-   * The name of the Model resoure that produces the predictions via this job,
+   * The name of the Model resource that produces the predictions via this job,
    * must share the same ancestor Location.
    * Starting this job has no impact on any existing deployments of the Model
    * and their resources.
@@ -95,7 +95,7 @@ public interface BatchPredictionJobOrBuilder
    *
    *
    * 
-   * The name of the Model resoure that produces the predictions via this job,
+   * The name of the Model resource that produces the predictions via this job,
    * must share the same ancestor Location.
    * Starting this job has no impact on any existing deployments of the Model
    * and their resources.
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobSpec.java
index 4ba309783715..4c69c4058168 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobSpec.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobSpec.java
@@ -23,7 +23,6 @@
  *
  * 
  * Represents the spec of a CustomJob.
- * Next Id: 15
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.CustomJobSpec} @@ -972,7 +971,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Represents the spec of a CustomJob.
-   * Next Id: 15
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.CustomJobSpec} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesRequest.java index 145a147f4827..3a1ff266ef34 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues].
+ * Request message for [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues].
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest} @@ -102,6 +101,33 @@ private DeleteFeatureValuesRequest( deleteOptionCase_ = 2; break; } + case 26: + { + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.Builder + subBuilder = null; + if (deleteOptionCase_ == 3) { + subBuilder = + ((com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + deleteOption_) + .toBuilder(); + } + deleteOption_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + deleteOption_); + deleteOption_ = subBuilder.buildPartial(); + } + deleteOptionCase_ = 3; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -147,8 +173,8 @@ public interface SelectEntityOrBuilder * * *
-     * Required. Selectors choosing feature values of which entity id to be
-     * deleted from the EntityType.
+     * Required. Selectors choosing feature values of which entity id to be deleted from
+     * the EntityType.
      * 
* * @@ -162,8 +188,8 @@ public interface SelectEntityOrBuilder * * *
-     * Required. Selectors choosing feature values of which entity id to be
-     * deleted from the EntityType.
+     * Required. Selectors choosing feature values of which entity id to be deleted from
+     * the EntityType.
      * 
* * @@ -177,8 +203,8 @@ public interface SelectEntityOrBuilder * * *
-     * Required. Selectors choosing feature values of which entity id to be
-     * deleted from the EntityType.
+     * Required. Selectors choosing feature values of which entity id to be deleted from
+     * the EntityType.
      * 
* * @@ -299,8 +325,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Required. Selectors choosing feature values of which entity id to be
-     * deleted from the EntityType.
+     * Required. Selectors choosing feature values of which entity id to be deleted from
+     * the EntityType.
      * 
* * @@ -317,8 +343,8 @@ public boolean hasEntityIdSelector() { * * *
-     * Required. Selectors choosing feature values of which entity id to be
-     * deleted from the EntityType.
+     * Required. Selectors choosing feature values of which entity id to be deleted from
+     * the EntityType.
      * 
* * @@ -337,8 +363,8 @@ public com.google.cloud.aiplatform.v1beta1.EntityIdSelector getEntityIdSelector( * * *
-     * Required. Selectors choosing feature values of which entity id to be
-     * deleted from the EntityType.
+     * Required. Selectors choosing feature values of which entity id to be deleted from
+     * the EntityType.
      * 
* * @@ -718,8 +744,8 @@ public Builder mergeFrom( * * *
-       * Required. Selectors choosing feature values of which entity id to be
-       * deleted from the EntityType.
+       * Required. Selectors choosing feature values of which entity id to be deleted from
+       * the EntityType.
        * 
* * @@ -735,8 +761,8 @@ public boolean hasEntityIdSelector() { * * *
-       * Required. Selectors choosing feature values of which entity id to be
-       * deleted from the EntityType.
+       * Required. Selectors choosing feature values of which entity id to be deleted from
+       * the EntityType.
        * 
* * @@ -758,8 +784,8 @@ public com.google.cloud.aiplatform.v1beta1.EntityIdSelector getEntityIdSelector( * * *
-       * Required. Selectors choosing feature values of which entity id to be
-       * deleted from the EntityType.
+       * Required. Selectors choosing feature values of which entity id to be deleted from
+       * the EntityType.
        * 
* * @@ -784,8 +810,8 @@ public Builder setEntityIdSelector( * * *
-       * Required. Selectors choosing feature values of which entity id to be
-       * deleted from the EntityType.
+       * Required. Selectors choosing feature values of which entity id to be deleted from
+       * the EntityType.
        * 
* * @@ -807,8 +833,8 @@ public Builder setEntityIdSelector( * * *
-       * Required. Selectors choosing feature values of which entity id to be
-       * deleted from the EntityType.
+       * Required. Selectors choosing feature values of which entity id to be deleted from
+       * the EntityType.
        * 
* * @@ -837,8 +863,8 @@ public Builder mergeEntityIdSelector( * * *
-       * Required. Selectors choosing feature values of which entity id to be
-       * deleted from the EntityType.
+       * Required. Selectors choosing feature values of which entity id to be deleted from
+       * the EntityType.
        * 
* * @@ -860,8 +886,8 @@ public Builder clearEntityIdSelector() { * * *
-       * Required. Selectors choosing feature values of which entity id to be
-       * deleted from the EntityType.
+       * Required. Selectors choosing feature values of which entity id to be deleted from
+       * the EntityType.
        * 
* * @@ -878,8 +904,8 @@ public Builder clearEntityIdSelector() { * * *
-       * Required. Selectors choosing feature values of which entity id to be
-       * deleted from the EntityType.
+       * Required. Selectors choosing feature values of which entity id to be deleted from
+       * the EntityType.
        * 
* * @@ -900,8 +926,8 @@ public Builder clearEntityIdSelector() { * * *
-       * Required. Selectors choosing feature values of which entity id to be
-       * deleted from the EntityType.
+       * Required. Selectors choosing feature values of which entity id to be deleted from
+       * the EntityType.
        * 
* * @@ -981,199 +1007,1596 @@ public com.google.protobuf.Parser getParserForType() { } } - private int deleteOptionCase_ = 0; - private java.lang.Object deleteOption_; - - public enum DeleteOptionCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - SELECT_ENTITY(2), - DELETEOPTION_NOT_SET(0); - private final int value; + public interface SelectTimeRangeAndFeatureOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature) + com.google.protobuf.MessageOrBuilder { - private DeleteOptionCase(int value) { - this.value = value; - } /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. + * + * + *
+     * Required. Select feature generated within a half-inclusive time range.
+     * The time range is lower inclusive and upper exclusive.
+     * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the timeRange field is set. */ - @java.lang.Deprecated - public static DeleteOptionCase valueOf(int value) { - return forNumber(value); - } - - public static DeleteOptionCase forNumber(int value) { - switch (value) { - case 2: - return SELECT_ENTITY; - case 0: - return DELETEOPTION_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public DeleteOptionCase getDeleteOptionCase() { - return DeleteOptionCase.forNumber(deleteOptionCase_); - } + boolean hasTimeRange(); + /** + * + * + *
+     * Required. Select feature generated within a half-inclusive time range.
+     * The time range is lower inclusive and upper exclusive.
+     * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The timeRange. + */ + com.google.type.Interval getTimeRange(); + /** + * + * + *
+     * Required. Select feature generated within a half-inclusive time range.
+     * The time range is lower inclusive and upper exclusive.
+     * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.type.IntervalOrBuilder getTimeRangeOrBuilder(); - public static final int SELECT_ENTITY_FIELD_NUMBER = 2; - /** - * - * - *
-   * Select feature values to be deleted by specifying entities.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity select_entity = 2; - * - * - * @return Whether the selectEntity field is set. - */ - @java.lang.Override - public boolean hasSelectEntity() { - return deleteOptionCase_ == 2; - } - /** - * - * - *
-   * Select feature values to be deleted by specifying entities.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity select_entity = 2; - * - * - * @return The selectEntity. - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity - getSelectEntity() { - if (deleteOptionCase_ == 2) { - return (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity) - deleteOption_; - } - return com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity - .getDefaultInstance(); - } - /** - * - * - *
-   * Select feature values to be deleted by specifying entities.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity select_entity = 2; - * - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntityOrBuilder - getSelectEntityOrBuilder() { - if (deleteOptionCase_ == 2) { - return (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity) - deleteOption_; - } - return com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity - .getDefaultInstance(); - } + /** + * + * + *
+     * Required. Selectors choosing which feature values to be deleted from the
+     * EntityType.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the featureSelector field is set. + */ + boolean hasFeatureSelector(); + /** + * + * + *
+     * Required. Selectors choosing which feature values to be deleted from the
+     * EntityType.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The featureSelector. + */ + com.google.cloud.aiplatform.v1beta1.FeatureSelector getFeatureSelector(); + /** + * + * + *
+     * Required. Selectors choosing which feature values to be deleted from the
+     * EntityType.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1beta1.FeatureSelectorOrBuilder getFeatureSelectorOrBuilder(); - public static final int ENTITY_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object entityType_; - /** - * - * - *
-   * Required. The resource name of the EntityType grouping the Features for
-   * which values are being deleted from. Format:
-   * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
-   * 
- * - * - * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The entityType. - */ - @java.lang.Override - public java.lang.String getEntityType() { - java.lang.Object ref = entityType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - entityType_ = s; - return s; - } + /** + * + * + *
+     * If set, data will not be deleted from online storage.
+     * When time range is older than the data in online storage, setting this to
+     * be true will make the deletion have no impact on online serving.
+     * 
+ * + * bool skip_online_storage_delete = 3; + * + * @return The skipOnlineStorageDelete. + */ + boolean getSkipOnlineStorageDelete(); } /** * * *
-   * Required. The resource name of the EntityType grouping the Features for
-   * which values are being deleted from. Format:
-   * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
+   * Message to select time range and feature.
+   * Values of the selected feature generated within an inclusive time range
+   * will be deleted.
    * 
* - * - * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for entityType. + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature} */ - @java.lang.Override - public com.google.protobuf.ByteString getEntityTypeBytes() { - java.lang.Object ref = entityType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - entityType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + public static final class SelectTimeRangeAndFeature extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature) + SelectTimeRangeAndFeatureOrBuilder { + private static final long serialVersionUID = 0L; + // Use SelectTimeRangeAndFeature.newBuilder() to construct. + private SelectTimeRangeAndFeature(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - } - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } + private SelectTimeRangeAndFeature() {} - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityType_); + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SelectTimeRangeAndFeature(); } - if (deleteOptionCase_ == 2) { - output.writeMessage( - 2, - (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity) - deleteOption_); + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - unknownFields.writeTo(output); - } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; + private SelectTimeRangeAndFeature( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.type.Interval.Builder subBuilder = null; + if (timeRange_ != null) { + subBuilder = timeRange_.toBuilder(); + } + timeRange_ = + input.readMessage(com.google.type.Interval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeRange_); + timeRange_ = subBuilder.buildPartial(); + } + + break; + } + case 18: + { + com.google.cloud.aiplatform.v1beta1.FeatureSelector.Builder subBuilder = null; + if (featureSelector_ != null) { + subBuilder = featureSelector_.toBuilder(); + } + featureSelector_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.FeatureSelector.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(featureSelector_); + featureSelector_ = subBuilder.buildPartial(); + } + + break; + } + case 24: + { + skipOnlineStorageDelete_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectTimeRangeAndFeature_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectTimeRangeAndFeature_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.class, + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.Builder.class); + } + + public static final int TIME_RANGE_FIELD_NUMBER = 1; + private com.google.type.Interval timeRange_; + /** + * + * + *
+     * Required. Select feature generated within a half-inclusive time range.
+     * The time range is lower inclusive and upper exclusive.
+     * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the timeRange field is set. + */ + @java.lang.Override + public boolean hasTimeRange() { + return timeRange_ != null; + } + /** + * + * + *
+     * Required. Select feature generated within a half-inclusive time range.
+     * The time range is lower inclusive and upper exclusive.
+     * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The timeRange. + */ + @java.lang.Override + public com.google.type.Interval getTimeRange() { + return timeRange_ == null ? com.google.type.Interval.getDefaultInstance() : timeRange_; + } + /** + * + * + *
+     * Required. Select feature generated within a half-inclusive time range.
+     * The time range is lower inclusive and upper exclusive.
+     * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.type.IntervalOrBuilder getTimeRangeOrBuilder() { + return getTimeRange(); + } + + public static final int FEATURE_SELECTOR_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1beta1.FeatureSelector featureSelector_; + /** + * + * + *
+     * Required. Selectors choosing which feature values to be deleted from the
+     * EntityType.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the featureSelector field is set. + */ + @java.lang.Override + public boolean hasFeatureSelector() { + return featureSelector_ != null; + } + /** + * + * + *
+     * Required. Selectors choosing which feature values to be deleted from the
+     * EntityType.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The featureSelector. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureSelector getFeatureSelector() { + return featureSelector_ == null + ? com.google.cloud.aiplatform.v1beta1.FeatureSelector.getDefaultInstance() + : featureSelector_; + } + /** + * + * + *
+     * Required. Selectors choosing which feature values to be deleted from the
+     * EntityType.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.FeatureSelectorOrBuilder + getFeatureSelectorOrBuilder() { + return getFeatureSelector(); + } + + public static final int SKIP_ONLINE_STORAGE_DELETE_FIELD_NUMBER = 3; + private boolean skipOnlineStorageDelete_; + /** + * + * + *
+     * If set, data will not be deleted from online storage.
+     * When time range is older than the data in online storage, setting this to
+     * be true will make the deletion have no impact on online serving.
+     * 
+ * + * bool skip_online_storage_delete = 3; + * + * @return The skipOnlineStorageDelete. + */ + @java.lang.Override + public boolean getSkipOnlineStorageDelete() { + return skipOnlineStorageDelete_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (timeRange_ != null) { + output.writeMessage(1, getTimeRange()); + } + if (featureSelector_ != null) { + output.writeMessage(2, getFeatureSelector()); + } + if (skipOnlineStorageDelete_ != false) { + output.writeBool(3, skipOnlineStorageDelete_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (timeRange_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimeRange()); + } + if (featureSelector_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFeatureSelector()); + } + if (skipOnlineStorageDelete_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, skipOnlineStorageDelete_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + other = + (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + obj; + + if (hasTimeRange() != other.hasTimeRange()) return false; + if (hasTimeRange()) { + if (!getTimeRange().equals(other.getTimeRange())) return false; + } + if (hasFeatureSelector() != other.hasFeatureSelector()) return false; + if (hasFeatureSelector()) { + if (!getFeatureSelector().equals(other.getFeatureSelector())) return false; + } + if (getSkipOnlineStorageDelete() != other.getSkipOnlineStorageDelete()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTimeRange()) { + hash = (37 * hash) + TIME_RANGE_FIELD_NUMBER; + hash = (53 * hash) + getTimeRange().hashCode(); + } + if (hasFeatureSelector()) { + hash = (37 * hash) + FEATURE_SELECTOR_FIELD_NUMBER; + hash = (53 * hash) + getFeatureSelector().hashCode(); + } + hash = (37 * hash) + SKIP_ONLINE_STORAGE_DELETE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSkipOnlineStorageDelete()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Message to select time range and feature.
+     * Values of the selected feature generated within an inclusive time range
+     * will be deleted.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature) + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeatureOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectTimeRangeAndFeature_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectTimeRangeAndFeature_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.class, + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (timeRangeBuilder_ == null) { + timeRange_ = null; + } else { + timeRange_ = null; + timeRangeBuilder_ = null; + } + if (featureSelectorBuilder_ == null) { + featureSelector_ = null; + } else { + featureSelector_ = null; + featureSelectorBuilder_ = null; + } + skipOnlineStorageDelete_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.FeaturestoreServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectTimeRangeAndFeature_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + build() { + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + buildPartial() { + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + result = + new com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature(this); + if (timeRangeBuilder_ == null) { + result.timeRange_ = timeRange_; + } else { + result.timeRange_ = timeRangeBuilder_.build(); + } + if (featureSelectorBuilder_ == null) { + result.featureSelector_ = featureSelector_; + } else { + result.featureSelector_ = featureSelectorBuilder_.build(); + } + result.skipOnlineStorageDelete_ = skipOnlineStorageDelete_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + other) { + if (other + == com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.getDefaultInstance()) return this; + if (other.hasTimeRange()) { + mergeTimeRange(other.getTimeRange()); + } + if (other.hasFeatureSelector()) { + mergeFeatureSelector(other.getFeatureSelector()); + } + if (other.getSkipOnlineStorageDelete() != false) { + setSkipOnlineStorageDelete(other.getSkipOnlineStorageDelete()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.type.Interval timeRange_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> + timeRangeBuilder_; + /** + * + * + *
+       * Required. Select feature generated within a half-inclusive time range.
+       * The time range is lower inclusive and upper exclusive.
+       * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the timeRange field is set. + */ + public boolean hasTimeRange() { + return timeRangeBuilder_ != null || timeRange_ != null; + } + /** + * + * + *
+       * Required. Select feature generated within a half-inclusive time range.
+       * The time range is lower inclusive and upper exclusive.
+       * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The timeRange. + */ + public com.google.type.Interval getTimeRange() { + if (timeRangeBuilder_ == null) { + return timeRange_ == null ? com.google.type.Interval.getDefaultInstance() : timeRange_; + } else { + return timeRangeBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Required. Select feature generated within a half-inclusive time range.
+       * The time range is lower inclusive and upper exclusive.
+       * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setTimeRange(com.google.type.Interval value) { + if (timeRangeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + timeRange_ = value; + onChanged(); + } else { + timeRangeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+       * Required. Select feature generated within a half-inclusive time range.
+       * The time range is lower inclusive and upper exclusive.
+       * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setTimeRange(com.google.type.Interval.Builder builderForValue) { + if (timeRangeBuilder_ == null) { + timeRange_ = builderForValue.build(); + onChanged(); + } else { + timeRangeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+       * Required. Select feature generated within a half-inclusive time range.
+       * The time range is lower inclusive and upper exclusive.
+       * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeTimeRange(com.google.type.Interval value) { + if (timeRangeBuilder_ == null) { + if (timeRange_ != null) { + timeRange_ = + com.google.type.Interval.newBuilder(timeRange_).mergeFrom(value).buildPartial(); + } else { + timeRange_ = value; + } + onChanged(); + } else { + timeRangeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+       * Required. Select feature generated within a half-inclusive time range.
+       * The time range is lower inclusive and upper exclusive.
+       * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearTimeRange() { + if (timeRangeBuilder_ == null) { + timeRange_ = null; + onChanged(); + } else { + timeRange_ = null; + timeRangeBuilder_ = null; + } + + return this; + } + /** + * + * + *
+       * Required. Select feature generated within a half-inclusive time range.
+       * The time range is lower inclusive and upper exclusive.
+       * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.type.Interval.Builder getTimeRangeBuilder() { + + onChanged(); + return getTimeRangeFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Required. Select feature generated within a half-inclusive time range.
+       * The time range is lower inclusive and upper exclusive.
+       * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.type.IntervalOrBuilder getTimeRangeOrBuilder() { + if (timeRangeBuilder_ != null) { + return timeRangeBuilder_.getMessageOrBuilder(); + } else { + return timeRange_ == null ? com.google.type.Interval.getDefaultInstance() : timeRange_; + } + } + /** + * + * + *
+       * Required. Select feature generated within a half-inclusive time range.
+       * The time range is lower inclusive and upper exclusive.
+       * 
+ * + * .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> + getTimeRangeFieldBuilder() { + if (timeRangeBuilder_ == null) { + timeRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder>( + getTimeRange(), getParentForChildren(), isClean()); + timeRange_ = null; + } + return timeRangeBuilder_; + } + + private com.google.cloud.aiplatform.v1beta1.FeatureSelector featureSelector_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeatureSelector, + com.google.cloud.aiplatform.v1beta1.FeatureSelector.Builder, + com.google.cloud.aiplatform.v1beta1.FeatureSelectorOrBuilder> + featureSelectorBuilder_; + /** + * + * + *
+       * Required. Selectors choosing which feature values to be deleted from the
+       * EntityType.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the featureSelector field is set. + */ + public boolean hasFeatureSelector() { + return featureSelectorBuilder_ != null || featureSelector_ != null; + } + /** + * + * + *
+       * Required. Selectors choosing which feature values to be deleted from the
+       * EntityType.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The featureSelector. + */ + public com.google.cloud.aiplatform.v1beta1.FeatureSelector getFeatureSelector() { + if (featureSelectorBuilder_ == null) { + return featureSelector_ == null + ? com.google.cloud.aiplatform.v1beta1.FeatureSelector.getDefaultInstance() + : featureSelector_; + } else { + return featureSelectorBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Required. Selectors choosing which feature values to be deleted from the
+       * EntityType.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFeatureSelector(com.google.cloud.aiplatform.v1beta1.FeatureSelector value) { + if (featureSelectorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + featureSelector_ = value; + onChanged(); + } else { + featureSelectorBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+       * Required. Selectors choosing which feature values to be deleted from the
+       * EntityType.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFeatureSelector( + com.google.cloud.aiplatform.v1beta1.FeatureSelector.Builder builderForValue) { + if (featureSelectorBuilder_ == null) { + featureSelector_ = builderForValue.build(); + onChanged(); + } else { + featureSelectorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+       * Required. Selectors choosing which feature values to be deleted from the
+       * EntityType.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFeatureSelector( + com.google.cloud.aiplatform.v1beta1.FeatureSelector value) { + if (featureSelectorBuilder_ == null) { + if (featureSelector_ != null) { + featureSelector_ = + com.google.cloud.aiplatform.v1beta1.FeatureSelector.newBuilder(featureSelector_) + .mergeFrom(value) + .buildPartial(); + } else { + featureSelector_ = value; + } + onChanged(); + } else { + featureSelectorBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+       * Required. Selectors choosing which feature values to be deleted from the
+       * EntityType.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFeatureSelector() { + if (featureSelectorBuilder_ == null) { + featureSelector_ = null; + onChanged(); + } else { + featureSelector_ = null; + featureSelectorBuilder_ = null; + } + + return this; + } + /** + * + * + *
+       * Required. Selectors choosing which feature values to be deleted from the
+       * EntityType.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.FeatureSelector.Builder + getFeatureSelectorBuilder() { + + onChanged(); + return getFeatureSelectorFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Required. Selectors choosing which feature values to be deleted from the
+       * EntityType.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.FeatureSelectorOrBuilder + getFeatureSelectorOrBuilder() { + if (featureSelectorBuilder_ != null) { + return featureSelectorBuilder_.getMessageOrBuilder(); + } else { + return featureSelector_ == null + ? com.google.cloud.aiplatform.v1beta1.FeatureSelector.getDefaultInstance() + : featureSelector_; + } + } + /** + * + * + *
+       * Required. Selectors choosing which feature values to be deleted from the
+       * EntityType.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeatureSelector, + com.google.cloud.aiplatform.v1beta1.FeatureSelector.Builder, + com.google.cloud.aiplatform.v1beta1.FeatureSelectorOrBuilder> + getFeatureSelectorFieldBuilder() { + if (featureSelectorBuilder_ == null) { + featureSelectorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.FeatureSelector, + com.google.cloud.aiplatform.v1beta1.FeatureSelector.Builder, + com.google.cloud.aiplatform.v1beta1.FeatureSelectorOrBuilder>( + getFeatureSelector(), getParentForChildren(), isClean()); + featureSelector_ = null; + } + return featureSelectorBuilder_; + } + + private boolean skipOnlineStorageDelete_; + /** + * + * + *
+       * If set, data will not be deleted from online storage.
+       * When time range is older than the data in online storage, setting this to
+       * be true will make the deletion have no impact on online serving.
+       * 
+ * + * bool skip_online_storage_delete = 3; + * + * @return The skipOnlineStorageDelete. + */ + @java.lang.Override + public boolean getSkipOnlineStorageDelete() { + return skipOnlineStorageDelete_; + } + /** + * + * + *
+       * If set, data will not be deleted from online storage.
+       * When time range is older than the data in online storage, setting this to
+       * be true will make the deletion have no impact on online serving.
+       * 
+ * + * bool skip_online_storage_delete = 3; + * + * @param value The skipOnlineStorageDelete to set. + * @return This builder for chaining. + */ + public Builder setSkipOnlineStorageDelete(boolean value) { + + skipOnlineStorageDelete_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * If set, data will not be deleted from online storage.
+       * When time range is older than the data in online storage, setting this to
+       * be true will make the deletion have no impact on online serving.
+       * 
+ * + * bool skip_online_storage_delete = 3; + * + * @return This builder for chaining. + */ + public Builder clearSkipOnlineStorageDelete() { + + skipOnlineStorageDelete_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature) + private static final com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature(); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SelectTimeRangeAndFeature parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SelectTimeRangeAndFeature(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int deleteOptionCase_ = 0; + private java.lang.Object deleteOption_; + + public enum DeleteOptionCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SELECT_ENTITY(2), + SELECT_TIME_RANGE_AND_FEATURE(3), + DELETEOPTION_NOT_SET(0); + private final int value; + + private DeleteOptionCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DeleteOptionCase valueOf(int value) { + return forNumber(value); + } + + public static DeleteOptionCase forNumber(int value) { + switch (value) { + case 2: + return SELECT_ENTITY; + case 3: + return SELECT_TIME_RANGE_AND_FEATURE; + case 0: + return DELETEOPTION_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public DeleteOptionCase getDeleteOptionCase() { + return DeleteOptionCase.forNumber(deleteOptionCase_); + } + + public static final int SELECT_ENTITY_FIELD_NUMBER = 2; + /** + * + * + *
+   * Select feature values to be deleted by specifying entities.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity select_entity = 2; + * + * + * @return Whether the selectEntity field is set. + */ + @java.lang.Override + public boolean hasSelectEntity() { + return deleteOptionCase_ == 2; + } + /** + * + * + *
+   * Select feature values to be deleted by specifying entities.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity select_entity = 2; + * + * + * @return The selectEntity. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity + getSelectEntity() { + if (deleteOptionCase_ == 2) { + return (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity) + deleteOption_; + } + return com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity + .getDefaultInstance(); + } + /** + * + * + *
+   * Select feature values to be deleted by specifying entities.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity select_entity = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntityOrBuilder + getSelectEntityOrBuilder() { + if (deleteOptionCase_ == 2) { + return (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity) + deleteOption_; + } + return com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity + .getDefaultInstance(); + } + + public static final int SELECT_TIME_RANGE_AND_FEATURE_FIELD_NUMBER = 3; + /** + * + * + *
+   * Select feature values to be deleted by specifying time range and
+   * features.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + * + * @return Whether the selectTimeRangeAndFeature field is set. + */ + @java.lang.Override + public boolean hasSelectTimeRangeAndFeature() { + return deleteOptionCase_ == 3; + } + /** + * + * + *
+   * Select feature values to be deleted by specifying time range and
+   * features.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + * + * @return The selectTimeRangeAndFeature. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + getSelectTimeRangeAndFeature() { + if (deleteOptionCase_ == 3) { + return (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + deleteOption_; + } + return com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + .getDefaultInstance(); + } + /** + * + * + *
+   * Select feature values to be deleted by specifying time range and
+   * features.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeatureOrBuilder + getSelectTimeRangeAndFeatureOrBuilder() { + if (deleteOptionCase_ == 3) { + return (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + deleteOption_; + } + return com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + .getDefaultInstance(); + } + + public static final int ENTITY_TYPE_FIELD_NUMBER = 1; + private volatile java.lang.Object entityType_; + /** + * + * + *
+   * Required. The resource name of the EntityType grouping the Features for which values
+   * are being deleted from. Format:
+   * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
+   * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The entityType. + */ + @java.lang.Override + public java.lang.String getEntityType() { + java.lang.Object ref = entityType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + entityType_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the EntityType grouping the Features for which values
+   * are being deleted from. Format:
+   * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
+   * 
+ * + * + * string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for entityType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEntityTypeBytes() { + java.lang.Object ref = entityType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + entityType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entityType_); + } + if (deleteOptionCase_ == 2) { + output.writeMessage( + 2, + (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity) + deleteOption_); + } + if (deleteOptionCase_ == 3) { + output.writeMessage( + 3, + (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature) + deleteOption_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -1187,6 +2610,14 @@ public int getSerializedSize() { (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectEntity) deleteOption_); } + if (deleteOptionCase_ == 3) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + deleteOption_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1209,6 +2640,10 @@ public boolean equals(final java.lang.Object obj) { case 2: if (!getSelectEntity().equals(other.getSelectEntity())) return false; break; + case 3: + if (!getSelectTimeRangeAndFeature().equals(other.getSelectTimeRangeAndFeature())) + return false; + break; case 0: default: } @@ -1230,6 +2665,10 @@ public int hashCode() { hash = (37 * hash) + SELECT_ENTITY_FIELD_NUMBER; hash = (53 * hash) + getSelectEntity().hashCode(); break; + case 3: + hash = (37 * hash) + SELECT_TIME_RANGE_AND_FEATURE_FIELD_NUMBER; + hash = (53 * hash) + getSelectTimeRangeAndFeature().hashCode(); + break; case 0: default: } @@ -1338,8 +2777,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues].
+   * Request message for [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues].
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest} @@ -1419,6 +2857,13 @@ public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest buildParti result.deleteOption_ = selectEntityBuilder_.build(); } } + if (deleteOptionCase_ == 3) { + if (selectTimeRangeAndFeatureBuilder_ == null) { + result.deleteOption_ = deleteOption_; + } else { + result.deleteOption_ = selectTimeRangeAndFeatureBuilder_.build(); + } + } result.entityType_ = entityType_; result.deleteOptionCase_ = deleteOptionCase_; onBuilt(); @@ -1482,6 +2927,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.DeleteFeatureValues mergeSelectEntity(other.getSelectEntity()); break; } + case SELECT_TIME_RANGE_AND_FEATURE: + { + mergeSelectTimeRangeAndFeature(other.getSelectTimeRangeAndFeature()); + break; + } case DELETEOPTION_NOT_SET: { break; @@ -1779,13 +3229,286 @@ public Builder clearSelectEntity() { return selectEntityBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature, + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + .Builder, + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeatureOrBuilder> + selectTimeRangeAndFeatureBuilder_; + /** + * + * + *
+     * Select feature values to be deleted by specifying time range and
+     * features.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + * + * @return Whether the selectTimeRangeAndFeature field is set. + */ + @java.lang.Override + public boolean hasSelectTimeRangeAndFeature() { + return deleteOptionCase_ == 3; + } + /** + * + * + *
+     * Select feature values to be deleted by specifying time range and
+     * features.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + * + * @return The selectTimeRangeAndFeature. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + getSelectTimeRangeAndFeature() { + if (selectTimeRangeAndFeatureBuilder_ == null) { + if (deleteOptionCase_ == 3) { + return (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + deleteOption_; + } + return com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.getDefaultInstance(); + } else { + if (deleteOptionCase_ == 3) { + return selectTimeRangeAndFeatureBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.getDefaultInstance(); + } + } + /** + * + * + *
+     * Select feature values to be deleted by specifying time range and
+     * features.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + */ + public Builder setSelectTimeRangeAndFeature( + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + value) { + if (selectTimeRangeAndFeatureBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deleteOption_ = value; + onChanged(); + } else { + selectTimeRangeAndFeatureBuilder_.setMessage(value); + } + deleteOptionCase_ = 3; + return this; + } + /** + * + * + *
+     * Select feature values to be deleted by specifying time range and
+     * features.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + */ + public Builder setSelectTimeRangeAndFeature( + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + .Builder + builderForValue) { + if (selectTimeRangeAndFeatureBuilder_ == null) { + deleteOption_ = builderForValue.build(); + onChanged(); + } else { + selectTimeRangeAndFeatureBuilder_.setMessage(builderForValue.build()); + } + deleteOptionCase_ = 3; + return this; + } + /** + * + * + *
+     * Select feature values to be deleted by specifying time range and
+     * features.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + */ + public Builder mergeSelectTimeRangeAndFeature( + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + value) { + if (selectTimeRangeAndFeatureBuilder_ == null) { + if (deleteOptionCase_ == 3 + && deleteOption_ + != com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.getDefaultInstance()) { + deleteOption_ = + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.newBuilder( + (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + deleteOption_) + .mergeFrom(value) + .buildPartial(); + } else { + deleteOption_ = value; + } + onChanged(); + } else { + if (deleteOptionCase_ == 3) { + selectTimeRangeAndFeatureBuilder_.mergeFrom(value); + } else { + selectTimeRangeAndFeatureBuilder_.setMessage(value); + } + } + deleteOptionCase_ = 3; + return this; + } + /** + * + * + *
+     * Select feature values to be deleted by specifying time range and
+     * features.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + */ + public Builder clearSelectTimeRangeAndFeature() { + if (selectTimeRangeAndFeatureBuilder_ == null) { + if (deleteOptionCase_ == 3) { + deleteOptionCase_ = 0; + deleteOption_ = null; + onChanged(); + } + } else { + if (deleteOptionCase_ == 3) { + deleteOptionCase_ = 0; + deleteOption_ = null; + } + selectTimeRangeAndFeatureBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Select feature values to be deleted by specifying time range and
+     * features.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + */ + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + .Builder + getSelectTimeRangeAndFeatureBuilder() { + return getSelectTimeRangeAndFeatureFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Select feature values to be deleted by specifying time range and
+     * features.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeatureOrBuilder + getSelectTimeRangeAndFeatureOrBuilder() { + if ((deleteOptionCase_ == 3) && (selectTimeRangeAndFeatureBuilder_ != null)) { + return selectTimeRangeAndFeatureBuilder_.getMessageOrBuilder(); + } else { + if (deleteOptionCase_ == 3) { + return (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + deleteOption_; + } + return com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.getDefaultInstance(); + } + } + /** + * + * + *
+     * Select feature values to be deleted by specifying time range and
+     * features.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature, + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + .Builder, + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeatureOrBuilder> + getSelectTimeRangeAndFeatureFieldBuilder() { + if (selectTimeRangeAndFeatureBuilder_ == null) { + if (!(deleteOptionCase_ == 3)) { + deleteOption_ = + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.getDefaultInstance(); + } + selectTimeRangeAndFeatureBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature, + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature.Builder, + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeatureOrBuilder>( + (com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest + .SelectTimeRangeAndFeature) + deleteOption_, + getParentForChildren(), + isClean()); + deleteOption_ = null; + } + deleteOptionCase_ = 3; + onChanged(); + ; + return selectTimeRangeAndFeatureBuilder_; + } + private java.lang.Object entityType_ = ""; /** * * *
-     * Required. The resource name of the EntityType grouping the Features for
-     * which values are being deleted from. Format:
+     * Required. The resource name of the EntityType grouping the Features for which values
+     * are being deleted from. Format:
      * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
      * 
* @@ -1810,8 +3533,8 @@ public java.lang.String getEntityType() { * * *
-     * Required. The resource name of the EntityType grouping the Features for
-     * which values are being deleted from. Format:
+     * Required. The resource name of the EntityType grouping the Features for which values
+     * are being deleted from. Format:
      * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
      * 
* @@ -1836,8 +3559,8 @@ public com.google.protobuf.ByteString getEntityTypeBytes() { * * *
-     * Required. The resource name of the EntityType grouping the Features for
-     * which values are being deleted from. Format:
+     * Required. The resource name of the EntityType grouping the Features for which values
+     * are being deleted from. Format:
      * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
      * 
* @@ -1861,8 +3584,8 @@ public Builder setEntityType(java.lang.String value) { * * *
-     * Required. The resource name of the EntityType grouping the Features for
-     * which values are being deleted from. Format:
+     * Required. The resource name of the EntityType grouping the Features for which values
+     * are being deleted from. Format:
      * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
      * 
* @@ -1882,8 +3605,8 @@ public Builder clearEntityType() { * * *
-     * Required. The resource name of the EntityType grouping the Features for
-     * which values are being deleted from. Format:
+     * Required. The resource name of the EntityType grouping the Features for which values
+     * are being deleted from. Format:
      * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
      * 
* diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesRequestOrBuilder.java index 52e7db27d58b..5791ee083c0e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesRequestOrBuilder.java @@ -69,8 +69,54 @@ public interface DeleteFeatureValuesRequestOrBuilder * * *
-   * Required. The resource name of the EntityType grouping the Features for
-   * which values are being deleted from. Format:
+   * Select feature values to be deleted by specifying time range and
+   * features.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + * + * @return Whether the selectTimeRangeAndFeature field is set. + */ + boolean hasSelectTimeRangeAndFeature(); + /** + * + * + *
+   * Select feature values to be deleted by specifying time range and
+   * features.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + * + * @return The selectTimeRangeAndFeature. + */ + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature + getSelectTimeRangeAndFeature(); + /** + * + * + *
+   * Select feature values to be deleted by specifying time range and
+   * features.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; + * + */ + com.google.cloud.aiplatform.v1beta1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeatureOrBuilder + getSelectTimeRangeAndFeatureOrBuilder(); + + /** + * + * + *
+   * Required. The resource name of the EntityType grouping the Features for which values
+   * are being deleted from. Format:
    * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
    * 
* @@ -85,8 +131,8 @@ public interface DeleteFeatureValuesRequestOrBuilder * * *
-   * Required. The resource name of the EntityType grouping the Features for
-   * which values are being deleted from. Format:
+   * Required. The resource name of the EntityType grouping the Features for which values
+   * are being deleted from. Format:
    * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`
    * 
* diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesResponse.java index f988263af4ee..26b11bf1b4f3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesResponse.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteFeatureValuesResponse.java @@ -22,8 +22,7 @@ * * *
- * Response message for
- * [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues].
+ * Response message for [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues].
  * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.DeleteFeatureValuesResponse} @@ -260,8 +259,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for
-   * [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues].
+   * Response message for [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues].
    * 
* * Protobuf type {@code google.cloud.aiplatform.v1beta1.DeleteFeatureValuesResponse} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteMetadataStoreRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteMetadataStoreRequest.java index 60a4b35da2ea..4c5891f6de58 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteMetadataStoreRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteMetadataStoreRequest.java @@ -187,7 +187,7 @@ public com.google.protobuf.ByteString getNameBytes() { * bool force = 2 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1beta1.DeleteMetadataStoreRequest.force is deprecated. See - * google/cloud/aiplatform/v1beta1/metadata_service.proto;l=451 + * google/cloud/aiplatform/v1beta1/metadata_service.proto;l=462 * @return The force. */ @java.lang.Override @@ -670,7 +670,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * bool force = 2 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1beta1.DeleteMetadataStoreRequest.force is deprecated. - * See google/cloud/aiplatform/v1beta1/metadata_service.proto;l=451 + * See google/cloud/aiplatform/v1beta1/metadata_service.proto;l=462 * @return The force. */ @java.lang.Override @@ -688,7 +688,7 @@ public boolean getForce() { * bool force = 2 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1beta1.DeleteMetadataStoreRequest.force is deprecated. - * See google/cloud/aiplatform/v1beta1/metadata_service.proto;l=451 + * See google/cloud/aiplatform/v1beta1/metadata_service.proto;l=462 * @param value The force to set. * @return This builder for chaining. */ @@ -709,7 +709,7 @@ public Builder setForce(boolean value) { * bool force = 2 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1beta1.DeleteMetadataStoreRequest.force is deprecated. - * See google/cloud/aiplatform/v1beta1/metadata_service.proto;l=451 + * See google/cloud/aiplatform/v1beta1/metadata_service.proto;l=462 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteMetadataStoreRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteMetadataStoreRequestOrBuilder.java index aec4183ad684..10525be36f22 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteMetadataStoreRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteMetadataStoreRequestOrBuilder.java @@ -66,7 +66,7 @@ public interface DeleteMetadataStoreRequestOrBuilder * bool force = 2 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1beta1.DeleteMetadataStoreRequest.force is deprecated. See - * google/cloud/aiplatform/v1beta1/metadata_service.proto;l=451 + * google/cloud/aiplatform/v1beta1/metadata_service.proto;l=462 * @return The force. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java index d64a86f6b45e..0b69bb6af0f9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/FeaturestoreServiceProto.java @@ -211,6 +211,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectEntity_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectEntity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectTimeRangeAndFeature_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectTimeRangeAndFeature_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -243,344 +247,355 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "m/v1beta1/operation.proto\032#google/longru" + "nning/operations.proto\032 google/protobuf/" + "field_mask.proto\032\037google/protobuf/timest" - + "amp.proto\"\303\001\n\031CreateFeaturestoreRequest\022" - + ">\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&aiplatform.goog" - + "leapis.com/Featurestore\022H\n\014featurestore\030" - + "\002 \001(\0132-.google.cloud.aiplatform.v1beta1." - + "FeaturestoreB\003\340A\002\022\034\n\017featurestore_id\030\003 \001" - + "(\tB\003\340A\002\"V\n\026GetFeaturestoreRequest\022<\n\004nam" - + "e\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.googleapis.c" - + "om/Featurestore\"\322\001\n\030ListFeaturestoresReq" - + "uest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022&aiplatform" - + ".googleapis.com/Featurestore\022\016\n\006filter\030\002" - + " \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 " - + "\001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\013" - + "2\032.google.protobuf.FieldMask\"z\n\031ListFeat" - + "urestoresResponse\022D\n\rfeaturestores\030\001 \003(\013" - + "2-.google.cloud.aiplatform.v1beta1.Featu" - + "restore\022\027\n\017next_page_token\030\002 \001(\t\"\226\001\n\031Upd" - + "ateFeaturestoreRequest\022H\n\014featurestore\030\001" - + " \001(\0132-.google.cloud.aiplatform.v1beta1.F" - + "eaturestoreB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032." - + "google.protobuf.FieldMask\"h\n\031DeleteFeatu" - + "restoreRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&ai" - + "platform.googleapis.com/Featurestore\022\r\n\005" - + "force\030\002 \001(\010\"\262\005\n\032ImportFeatureValuesReque" - + "st\022B\n\013avro_source\030\002 \001(\0132+.google.cloud.a" - + "iplatform.v1beta1.AvroSourceH\000\022J\n\017bigque" - + "ry_source\030\003 \001(\0132/.google.cloud.aiplatfor" - + "m.v1beta1.BigQuerySourceH\000\022@\n\ncsv_source" - + "\030\004 \001(\0132*.google.cloud.aiplatform.v1beta1" - + ".CsvSourceH\000\022\034\n\022feature_time_field\030\006 \001(\t" - + "H\001\0222\n\014feature_time\030\007 \001(\0132\032.google.protob" - + "uf.TimestampH\001\022A\n\013entity_type\030\001 \001(\tB,\340A\002" - + "\372A&\n$aiplatform.googleapis.com/EntityTyp" - + "e\022\027\n\017entity_id_field\030\005 \001(\t\022c\n\rfeature_sp" - + "ecs\030\010 \003(\0132G.google.cloud.aiplatform.v1be" - + "ta1.ImportFeatureValuesRequest.FeatureSp" - + "ecB\003\340A\002\022\036\n\026disable_online_serving\030\t \001(\010\022" - + "\024\n\014worker_count\030\013 \001(\005\022\"\n\032disable_ingesti" - + "on_analysis\030\014 \001(\010\0324\n\013FeatureSpec\022\017\n\002id\030\001" - + " \001(\tB\003\340A\002\022\024\n\014source_field\030\002 \001(\tB\010\n\006sourc" - + "eB\025\n\023feature_time_source\"}\n\033ImportFeatur" - + "eValuesResponse\022\035\n\025imported_entity_count" - + "\030\001 \001(\003\022$\n\034imported_feature_value_count\030\002" - + " \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\"\277\006\n\035Batc" - + "hReadFeatureValuesRequest\022H\n\022csv_read_in" - + "stances\030\003 \001(\0132*.google.cloud.aiplatform." - + "v1beta1.CsvSourceH\000\022R\n\027bigquery_read_ins" - + "tances\030\005 \001(\0132/.google.cloud.aiplatform.v" - + "1beta1.BigQuerySourceH\000\022D\n\014featurestore\030" - + "\001 \001(\tB.\340A\002\372A(\n&aiplatform.googleapis.com" - + "/Featurestore\022R\n\013destination\030\004 \001(\01328.goo" - + "gle.cloud.aiplatform.v1beta1.FeatureValu" - + "eDestinationB\003\340A\002\022l\n\023pass_through_fields" - + "\030\010 \003(\0132O.google.cloud.aiplatform.v1beta1" - + ".BatchReadFeatureValuesRequest.PassThrou" - + "ghField\022m\n\021entity_type_specs\030\007 \003(\0132M.goo" - + "gle.cloud.aiplatform.v1beta1.BatchReadFe" - + "atureValuesRequest.EntityTypeSpecB\003\340A\002\032+" - + "\n\020PassThroughField\022\027\n\nfield_name\030\001 \001(\tB\003" - + "\340A\002\032\314\001\n\016EntityTypeSpec\022\033\n\016entity_type_id" - + "\030\001 \001(\tB\003\340A\002\022O\n\020feature_selector\030\002 \001(\01320." - + "google.cloud.aiplatform.v1beta1.FeatureS" - + "electorB\003\340A\002\022L\n\010settings\030\003 \003(\0132:.google." - + "cloud.aiplatform.v1beta1.DestinationFeat" - + "ureSettingB\r\n\013read_option\"\201\006\n\032ExportFeat" - + "ureValuesRequest\022e\n\017snapshot_export\030\003 \001(" - + "\0132J.google.cloud.aiplatform.v1beta1.Expo" - + "rtFeatureValuesRequest.SnapshotExportH\000\022" - + "]\n\013full_export\030\007 \001(\0132F.google.cloud.aipl" - + "atform.v1beta1.ExportFeatureValuesReques" - + "t.FullExportH\000\022A\n\013entity_type\030\001 \001(\tB,\340A\002" - + "\372A&\n$aiplatform.googleapis.com/EntityTyp" - + "e\022R\n\013destination\030\004 \001(\01328.google.cloud.ai" - + "platform.v1beta1.FeatureValueDestination" - + "B\003\340A\002\022O\n\020feature_selector\030\005 \001(\01320.google" - + ".cloud.aiplatform.v1beta1.FeatureSelecto" - + "rB\003\340A\002\022L\n\010settings\030\006 \003(\0132:.google.cloud." - + "aiplatform.v1beta1.DestinationFeatureSet" - + "ting\032s\n\016SnapshotExport\0221\n\rsnapshot_time\030" - + "\001 \001(\0132\032.google.protobuf.Timestamp\022.\n\nsta" - + "rt_time\030\002 \001(\0132\032.google.protobuf.Timestam" - + "p\032j\n\nFullExport\022.\n\nstart_time\030\002 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\022,\n\010end_time\030\001 \001(" - + "\0132\032.google.protobuf.TimestampB\006\n\004mode\"O\n" - + "\031DestinationFeatureSetting\022\027\n\nfeature_id" - + "\030\001 \001(\tB\003\340A\002\022\031\n\021destination_field\030\002 \001(\t\"\240" - + "\002\n\027FeatureValueDestination\022T\n\024bigquery_d" - + "estination\030\001 \001(\01324.google.cloud.aiplatfo" - + "rm.v1beta1.BigQueryDestinationH\000\022T\n\024tfre" - + "cord_destination\030\002 \001(\01324.google.cloud.ai" - + "platform.v1beta1.TFRecordDestinationH\000\022J" - + "\n\017csv_destination\030\003 \001(\0132/.google.cloud.a" - + "iplatform.v1beta1.CsvDestinationH\000B\r\n\013de" - + "stination\"\035\n\033ExportFeatureValuesResponse" - + "\" \n\036BatchReadFeatureValuesResponse\"\270\001\n\027C" - + "reateEntityTypeRequest\022>\n\006parent\030\001 \001(\tB." - + "\340A\002\372A(\n&aiplatform.googleapis.com/Featur" - + "estore\022@\n\013entity_type\030\002 \001(\0132+.google.clo" - + "ud.aiplatform.v1beta1.EntityType\022\033\n\016enti" - + "ty_type_id\030\003 \001(\tB\003\340A\002\"R\n\024GetEntityTypeRe" + + "amp.proto\032\032google/type/interval.proto\"\303\001" + + "\n\031CreateFeaturestoreRequest\022>\n\006parent\030\001 " + + "\001(\tB.\340A\002\372A(\022&aiplatform.googleapis.com/F" + + "eaturestore\022H\n\014featurestore\030\002 \001(\0132-.goog" + + "le.cloud.aiplatform.v1beta1.Featurestore" + + "B\003\340A\002\022\034\n\017featurestore_id\030\003 \001(\tB\003\340A\002\"V\n\026G" + + "etFeaturestoreRequest\022<\n\004name\030\001 \001(\tB.\340A\002" + + "\372A(\n&aiplatform.googleapis.com/Featurest" + + "ore\"\322\001\n\030ListFeaturestoresRequest\022>\n\006pare" + + "nt\030\001 \001(\tB.\340A\002\372A(\022&aiplatform.googleapis." + + "com/Featurestore\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage" + + "_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010order" + + "_by\030\005 \001(\t\022-\n\tread_mask\030\006 \001(\0132\032.google.pr" + + "otobuf.FieldMask\"z\n\031ListFeaturestoresRes" + + "ponse\022D\n\rfeaturestores\030\001 \003(\0132-.google.cl" + + "oud.aiplatform.v1beta1.Featurestore\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"\226\001\n\031UpdateFeaturest" + + "oreRequest\022H\n\014featurestore\030\001 \001(\0132-.googl" + + "e.cloud.aiplatform.v1beta1.FeaturestoreB" + + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMask\"h\n\031DeleteFeaturestoreReque" + + "st\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&aiplatform.goo" + + "gleapis.com/Featurestore\022\r\n\005force\030\002 \001(\010\"" + + "\262\005\n\032ImportFeatureValuesRequest\022B\n\013avro_s" + + "ource\030\002 \001(\0132+.google.cloud.aiplatform.v1" + + "beta1.AvroSourceH\000\022J\n\017bigquery_source\030\003 " + + "\001(\0132/.google.cloud.aiplatform.v1beta1.Bi" + + "gQuerySourceH\000\022@\n\ncsv_source\030\004 \001(\0132*.goo" + + "gle.cloud.aiplatform.v1beta1.CsvSourceH\000" + + "\022\034\n\022feature_time_field\030\006 \001(\tH\001\0222\n\014featur" + + "e_time\030\007 \001(\0132\032.google.protobuf.Timestamp" + + "H\001\022A\n\013entity_type\030\001 \001(\tB,\340A\002\372A&\n$aiplatf" + + "orm.googleapis.com/EntityType\022\027\n\017entity_" + + "id_field\030\005 \001(\t\022c\n\rfeature_specs\030\010 \003(\0132G." + + "google.cloud.aiplatform.v1beta1.ImportFe" + + "atureValuesRequest.FeatureSpecB\003\340A\002\022\036\n\026d" + + "isable_online_serving\030\t \001(\010\022\024\n\014worker_co" + + "unt\030\013 \001(\005\022\"\n\032disable_ingestion_analysis\030" + + "\014 \001(\010\0324\n\013FeatureSpec\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\024\n" + + "\014source_field\030\002 \001(\tB\010\n\006sourceB\025\n\023feature" + + "_time_source\"\255\001\n\033ImportFeatureValuesResp" + + "onse\022\035\n\025imported_entity_count\030\001 \001(\003\022$\n\034i" + + "mported_feature_value_count\030\002 \001(\003\022\031\n\021inv" + + "alid_row_count\030\006 \001(\003\022.\n×tamp_outsid" + + "e_retention_rows_count\030\004 \001(\003\"\277\006\n\035BatchRe" + + "adFeatureValuesRequest\022H\n\022csv_read_insta" + + "nces\030\003 \001(\0132*.google.cloud.aiplatform.v1b" + + "eta1.CsvSourceH\000\022R\n\027bigquery_read_instan" + + "ces\030\005 \001(\0132/.google.cloud.aiplatform.v1be" + + "ta1.BigQuerySourceH\000\022D\n\014featurestore\030\001 \001" + + "(\tB.\340A\002\372A(\n&aiplatform.googleapis.com/Fe" + + "aturestore\022R\n\013destination\030\004 \001(\01328.google" + + ".cloud.aiplatform.v1beta1.FeatureValueDe" + + "stinationB\003\340A\002\022l\n\023pass_through_fields\030\010 " + + "\003(\0132O.google.cloud.aiplatform.v1beta1.Ba" + + "tchReadFeatureValuesRequest.PassThroughF" + + "ield\022m\n\021entity_type_specs\030\007 \003(\0132M.google" + + ".cloud.aiplatform.v1beta1.BatchReadFeatu" + + "reValuesRequest.EntityTypeSpecB\003\340A\002\032+\n\020P" + + "assThroughField\022\027\n\nfield_name\030\001 \001(\tB\003\340A\002" + + "\032\314\001\n\016EntityTypeSpec\022\033\n\016entity_type_id\030\001 " + + "\001(\tB\003\340A\002\022O\n\020feature_selector\030\002 \001(\01320.goo" + + "gle.cloud.aiplatform.v1beta1.FeatureSele" + + "ctorB\003\340A\002\022L\n\010settings\030\003 \003(\0132:.google.clo" + + "ud.aiplatform.v1beta1.DestinationFeature" + + "SettingB\r\n\013read_option\"\201\006\n\032ExportFeature" + + "ValuesRequest\022e\n\017snapshot_export\030\003 \001(\0132J" + + ".google.cloud.aiplatform.v1beta1.ExportF" + + "eatureValuesRequest.SnapshotExportH\000\022]\n\013" + + "full_export\030\007 \001(\0132F.google.cloud.aiplatf" + + "orm.v1beta1.ExportFeatureValuesRequest.F" + + "ullExportH\000\022A\n\013entity_type\030\001 \001(\tB,\340A\002\372A&" + + "\n$aiplatform.googleapis.com/EntityType\022R" + + "\n\013destination\030\004 \001(\01328.google.cloud.aipla" + + "tform.v1beta1.FeatureValueDestinationB\003\340" + + "A\002\022O\n\020feature_selector\030\005 \001(\01320.google.cl" + + "oud.aiplatform.v1beta1.FeatureSelectorB\003" + + "\340A\002\022L\n\010settings\030\006 \003(\0132:.google.cloud.aip" + + "latform.v1beta1.DestinationFeatureSettin" + + "g\032s\n\016SnapshotExport\0221\n\rsnapshot_time\030\001 \001" + + "(\0132\032.google.protobuf.Timestamp\022.\n\nstart_" + + "time\030\002 \001(\0132\032.google.protobuf.Timestamp\032j" + + "\n\nFullExport\022.\n\nstart_time\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022,\n\010end_time\030\001 \001(\0132\032" + + ".google.protobuf.TimestampB\006\n\004mode\"O\n\031De" + + "stinationFeatureSetting\022\027\n\nfeature_id\030\001 " + + "\001(\tB\003\340A\002\022\031\n\021destination_field\030\002 \001(\t\"\240\002\n\027" + + "FeatureValueDestination\022T\n\024bigquery_dest" + + "ination\030\001 \001(\01324.google.cloud.aiplatform." + + "v1beta1.BigQueryDestinationH\000\022T\n\024tfrecor" + + "d_destination\030\002 \001(\01324.google.cloud.aipla" + + "tform.v1beta1.TFRecordDestinationH\000\022J\n\017c" + + "sv_destination\030\003 \001(\0132/.google.cloud.aipl" + + "atform.v1beta1.CsvDestinationH\000B\r\n\013desti" + + "nation\"\035\n\033ExportFeatureValuesResponse\" \n" + + "\036BatchReadFeatureValuesResponse\"\270\001\n\027Crea" + + "teEntityTypeRequest\022>\n\006parent\030\001 \001(\tB.\340A\002" + + "\372A(\n&aiplatform.googleapis.com/Featurest" + + "ore\022@\n\013entity_type\030\002 \001(\0132+.google.cloud." + + "aiplatform.v1beta1.EntityType\022\033\n\016entity_" + + "type_id\030\003 \001(\tB\003\340A\002\"R\n\024GetEntityTypeReque" + + "st\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.goo" + + "gleapis.com/EntityType\"\316\001\n\026ListEntityTyp" + + "esRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$aipla" + + "tform.googleapis.com/EntityType\022\016\n\006filte" + + "r\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token" + + "\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread_mask\030\006 " + + "\001(\0132\032.google.protobuf.FieldMask\"u\n\027ListE" + + "ntityTypesResponse\022A\n\014entity_types\030\001 \003(\013" + + "2+.google.cloud.aiplatform.v1beta1.Entit" + + "yType\022\027\n\017next_page_token\030\002 \001(\t\"\221\001\n\027Updat" + + "eEntityTypeRequest\022E\n\013entity_type\030\001 \001(\0132" + + "+.google.cloud.aiplatform.v1beta1.Entity" + + "TypeB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\"d\n\027DeleteEntityTypeRe" + "quest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplatform." - + "googleapis.com/EntityType\"\316\001\n\026ListEntity" - + "TypesRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\022$ai" - + "platform.googleapis.com/EntityType\022\016\n\006fi" - + "lter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_to" - + "ken\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread_mask" - + "\030\006 \001(\0132\032.google.protobuf.FieldMask\"u\n\027Li" - + "stEntityTypesResponse\022A\n\014entity_types\030\001 " - + "\003(\0132+.google.cloud.aiplatform.v1beta1.En" - + "tityType\022\027\n\017next_page_token\030\002 \001(\t\"\221\001\n\027Up" - + "dateEntityTypeRequest\022E\n\013entity_type\030\001 \001" - + "(\0132+.google.cloud.aiplatform.v1beta1.Ent" - + "ityTypeB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.goog" - + "le.protobuf.FieldMask\"d\n\027DeleteEntityTyp" - + "eRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$aiplatfo" - + "rm.googleapis.com/EntityType\022\r\n\005force\030\002 " - + "\001(\010\"\255\001\n\024CreateFeatureRequest\022<\n\006parent\030\001" - + " \001(\tB,\340A\002\372A&\n$aiplatform.googleapis.com/" - + "EntityType\022>\n\007feature\030\002 \001(\0132(.google.clo" - + "ud.aiplatform.v1beta1.FeatureB\003\340A\002\022\027\n\nfe" - + "ature_id\030\003 \001(\tB\003\340A\002\"\250\001\n\032BatchCreateFeatu" - + "resRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aipl" - + "atform.googleapis.com/EntityType\022L\n\010requ" - + "ests\030\002 \003(\01325.google.cloud.aiplatform.v1b" - + "eta1.CreateFeatureRequestB\003\340A\002\"Y\n\033BatchC" - + "reateFeaturesResponse\022:\n\010features\030\001 \003(\0132" - + "(.google.cloud.aiplatform.v1beta1.Featur" - + "e\"L\n\021GetFeatureRequest\0227\n\004name\030\001 \001(\tB)\340A" - + "\002\372A#\n!aiplatform.googleapis.com/Feature\"" - + "\344\001\n\023ListFeaturesRequest\0229\n\006parent\030\001 \001(\tB" - + ")\340A\002\372A#\022!aiplatform.googleapis.com/Featu" - + "re\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n" - + "\npage_token\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tr" - + "ead_mask\030\006 \001(\0132\032.google.protobuf.FieldMa" - + "sk\022\032\n\022latest_stats_count\030\007 \001(\005\"k\n\024ListFe" - + "aturesResponse\022:\n\010features\030\001 \003(\0132(.googl" - + "e.cloud.aiplatform.v1beta1.Feature\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"\212\001\n\025SearchFeaturesRe" - + "quest\022;\n\010location\030\001 \001(\tB)\340A\002\372A#\n!locatio" - + "ns.googleapis.com/Location\022\r\n\005query\030\003 \001(" - + "\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t" - + "\"m\n\026SearchFeaturesResponse\022:\n\010features\030\001" - + " \003(\0132(.google.cloud.aiplatform.v1beta1.F" - + "eature\022\027\n\017next_page_token\030\002 \001(\t\"\207\001\n\024Upda" - + "teFeatureRequest\022>\n\007feature\030\001 \001(\0132(.goog" - + "le.cloud.aiplatform.v1beta1.FeatureB\003\340A\002" - + "\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMask\"O\n\024DeleteFeatureRequest\0227\n\004nam" - + "e\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleapis.c" - + "om/Feature\"z\n#CreateFeaturestoreOperatio" - + "nMetadata\022S\n\020generic_metadata\030\001 \001(\01329.go" - + "ogle.cloud.aiplatform.v1beta1.GenericOpe" - + "rationMetadata\"z\n#UpdateFeaturestoreOper" - + "ationMetadata\022S\n\020generic_metadata\030\001 \001(\0132" - + "9.google.cloud.aiplatform.v1beta1.Generi" - + "cOperationMetadata\"\333\001\n$ImportFeatureValu" - + "esOperationMetadata\022S\n\020generic_metadata\030" - + "\001 \001(\01329.google.cloud.aiplatform.v1beta1." - + "GenericOperationMetadata\022\035\n\025imported_ent" - + "ity_count\030\002 \001(\003\022$\n\034imported_feature_valu" - + "e_count\030\003 \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003" - + "\"{\n$ExportFeatureValuesOperationMetadata" - + "\022S\n\020generic_metadata\030\001 \001(\01329.google.clou" - + "d.aiplatform.v1beta1.GenericOperationMet" - + "adata\"~\n\'BatchReadFeatureValuesOperation" - + "Metadata\022S\n\020generic_metadata\030\001 \001(\01329.goo" - + "gle.cloud.aiplatform.v1beta1.GenericOper" - + "ationMetadata\"{\n$DeleteFeatureValuesOper" + + "googleapis.com/EntityType\022\r\n\005force\030\002 \001(\010" + + "\"\255\001\n\024CreateFeatureRequest\022<\n\006parent\030\001 \001(" + + "\tB,\340A\002\372A&\n$aiplatform.googleapis.com/Ent" + + "ityType\022>\n\007feature\030\002 \001(\0132(.google.cloud." + + "aiplatform.v1beta1.FeatureB\003\340A\002\022\027\n\nfeatu" + + "re_id\030\003 \001(\tB\003\340A\002\"\250\001\n\032BatchCreateFeatures" + + "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$aiplatf" + + "orm.googleapis.com/EntityType\022L\n\010request" + + "s\030\002 \003(\01325.google.cloud.aiplatform.v1beta" + + "1.CreateFeatureRequestB\003\340A\002\"Y\n\033BatchCrea" + + "teFeaturesResponse\022:\n\010features\030\001 \003(\0132(.g" + + "oogle.cloud.aiplatform.v1beta1.Feature\"L" + + "\n\021GetFeatureRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A" + + "#\n!aiplatform.googleapis.com/Feature\"\344\001\n" + + "\023ListFeaturesRequest\0229\n\006parent\030\001 \001(\tB)\340A" + + "\002\372A#\022!aiplatform.googleapis.com/Feature\022" + + "\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npa" + + "ge_token\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\022-\n\tread" + + "_mask\030\006 \001(\0132\032.google.protobuf.FieldMask\022" + + "\032\n\022latest_stats_count\030\007 \001(\005\"k\n\024ListFeatu" + + "resResponse\022:\n\010features\030\001 \003(\0132(.google.c" + + "loud.aiplatform.v1beta1.Feature\022\027\n\017next_" + + "page_token\030\002 \001(\t\"\212\001\n\025SearchFeaturesReque" + + "st\022;\n\010location\030\001 \001(\tB)\340A\002\372A#\n!locations." + + "googleapis.com/Location\022\r\n\005query\030\003 \001(\t\022\021" + + "\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"m\n" + + "\026SearchFeaturesResponse\022:\n\010features\030\001 \003(" + + "\0132(.google.cloud.aiplatform.v1beta1.Feat" + + "ure\022\027\n\017next_page_token\030\002 \001(\t\"\207\001\n\024UpdateF" + + "eatureRequest\022>\n\007feature\030\001 \001(\0132(.google." + + "cloud.aiplatform.v1beta1.FeatureB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"O\n\024DeleteFeatureRequest\0227\n\004name\030\001" + + " \001(\tB)\340A\002\372A#\n!aiplatform.googleapis.com/" + + "Feature\"z\n#CreateFeaturestoreOperationMe" + + "tadata\022S\n\020generic_metadata\030\001 \001(\01329.googl" + + "e.cloud.aiplatform.v1beta1.GenericOperat" + + "ionMetadata\"z\n#UpdateFeaturestoreOperati" + + "onMetadata\022S\n\020generic_metadata\030\001 \001(\01329.g" + + "oogle.cloud.aiplatform.v1beta1.GenericOp" + + "erationMetadata\"\213\002\n$ImportFeatureValuesO" + + "perationMetadata\022S\n\020generic_metadata\030\001 \001" + + "(\01329.google.cloud.aiplatform.v1beta1.Gen" + + "ericOperationMetadata\022\035\n\025imported_entity" + + "_count\030\002 \001(\003\022$\n\034imported_feature_value_c" + + "ount\030\003 \001(\003\022\031\n\021invalid_row_count\030\006 \001(\003\022.\n" + + "×tamp_outside_retention_rows_count\030" + + "\007 \001(\003\"{\n$ExportFeatureValuesOperationMet" + + "adata\022S\n\020generic_metadata\030\001 \001(\01329.google" + + ".cloud.aiplatform.v1beta1.GenericOperati" + + "onMetadata\"~\n\'BatchReadFeatureValuesOper" + "ationMetadata\022S\n\020generic_metadata\030\001 \001(\0132" + "9.google.cloud.aiplatform.v1beta1.Generi" - + "cOperationMetadata\"x\n!CreateEntityTypeOp" - + "erationMetadata\022S\n\020generic_metadata\030\001 \001(" - + "\01329.google.cloud.aiplatform.v1beta1.Gene" - + "ricOperationMetadata\"u\n\036CreateFeatureOpe" - + "rationMetadata\022S\n\020generic_metadata\030\001 \001(\013" - + "29.google.cloud.aiplatform.v1beta1.Gener" - + "icOperationMetadata\"{\n$BatchCreateFeatur" - + "esOperationMetadata\022S\n\020generic_metadata\030" + + "cOperationMetadata\"{\n$DeleteFeatureValue" + + "sOperationMetadata\022S\n\020generic_metadata\030\001" + + " \001(\01329.google.cloud.aiplatform.v1beta1.G" + + "enericOperationMetadata\"x\n!CreateEntityT" + + "ypeOperationMetadata\022S\n\020generic_metadata" + + "\030\001 \001(\01329.google.cloud.aiplatform.v1beta1" + + ".GenericOperationMetadata\"u\n\036CreateFeatu" + + "reOperationMetadata\022S\n\020generic_metadata\030" + "\001 \001(\01329.google.cloud.aiplatform.v1beta1." - + "GenericOperationMetadata\"\266\002\n\032DeleteFeatu" - + "reValuesRequest\022a\n\rselect_entity\030\002 \001(\0132H" + + "GenericOperationMetadata\"{\n$BatchCreateF" + + "eaturesOperationMetadata\022S\n\020generic_meta" + + "data\030\001 \001(\01329.google.cloud.aiplatform.v1b" + + "eta1.GenericOperationMetadata\"\371\004\n\032Delete" + + "FeatureValuesRequest\022a\n\rselect_entity\030\002 " + + "\001(\0132H.google.cloud.aiplatform.v1beta1.De" + + "leteFeatureValuesRequest.SelectEntityH\000\022" + + "~\n\035select_time_range_and_feature\030\003 \001(\0132U" + ".google.cloud.aiplatform.v1beta1.DeleteF" - + "eatureValuesRequest.SelectEntityH\000\022A\n\013en" - + "tity_type\030\001 \001(\tB,\340A\002\372A&\n$aiplatform.goog" - + "leapis.com/EntityType\032b\n\014SelectEntity\022R\n" - + "\022entity_id_selector\030\001 \001(\01321.google.cloud" - + ".aiplatform.v1beta1.EntityIdSelectorB\003\340A" - + "\002B\016\n\014DeleteOption\"\035\n\033DeleteFeatureValues" - + "Response\"\200\001\n\020EntityIdSelector\022@\n\ncsv_sou" - + "rce\030\003 \001(\0132*.google.cloud.aiplatform.v1be" - + "ta1.CsvSourceH\000\022\027\n\017entity_id_field\030\005 \001(\t" - + "B\021\n\017EntityIdsSource2\345+\n\023FeaturestoreServ" - + "ice\022\260\002\n\022CreateFeaturestore\022:.google.clou" - + "d.aiplatform.v1beta1.CreateFeaturestoreR" - + "equest\032\035.google.longrunning.Operation\"\276\001" - + "\202\323\344\223\002F\"6/v1beta1/{parent=projects/*/loca" - + "tions/*}/featurestores:\014featurestore\332A\023p" - + "arent,featurestore\332A#parent,featurestore" - + ",featurestore_id\312A3\n\014Featurestore\022#Creat" - + "eFeaturestoreOperationMetadata\022\300\001\n\017GetFe" - + "aturestore\0227.google.cloud.aiplatform.v1b" - + "eta1.GetFeaturestoreRequest\032-.google.clo" - + "ud.aiplatform.v1beta1.Featurestore\"E\202\323\344\223" - + "\0028\0226/v1beta1/{name=projects/*/locations/" - + "*/featurestores/*}\332A\004name\022\323\001\n\021ListFeatur" - + "estores\0229.google.cloud.aiplatform.v1beta" - + "1.ListFeaturestoresRequest\032:.google.clou" - + "d.aiplatform.v1beta1.ListFeaturestoresRe" - + "sponse\"G\202\323\344\223\0028\0226/v1beta1/{parent=project" - + "s/*/locations/*}/featurestores\332A\006parent\022" - + "\234\002\n\022UpdateFeaturestore\022:.google.cloud.ai" - + "platform.v1beta1.UpdateFeaturestoreReque" - + "st\032\035.google.longrunning.Operation\"\252\001\202\323\344\223" - + "\002S2C/v1beta1/{featurestore.name=projects" - + "/*/locations/*/featurestores/*}:\014feature" - + "store\332A\030featurestore,update_mask\312A3\n\014Fea" - + "turestore\022#UpdateFeaturestoreOperationMe" - + "tadata\022\367\001\n\022DeleteFeaturestore\022:.google.c" - + "loud.aiplatform.v1beta1.DeleteFeaturesto" - + "reRequest\032\035.google.longrunning.Operation" - + "\"\205\001\202\323\344\223\0028*6/v1beta1/{name=projects/*/loc" - + "ations/*/featurestores/*}\332A\004name\332A\nname," - + "force\312A0\n\025google.protobuf.Empty\022\027DeleteO" - + "perationMetadata\022\262\002\n\020CreateEntityType\0228." - + "google.cloud.aiplatform.v1beta1.CreateEn" - + "tityTypeRequest\032\035.google.longrunning.Ope" - + "ration\"\304\001\202\323\344\223\002S\"D/v1beta1/{parent=projec" - + "ts/*/locations/*/featurestores/*}/entity" - + "Types:\013entity_type\332A\022parent,entity_type\332" - + "A!parent,entity_type,entity_type_id\312A/\n\n" - + "EntityType\022!CreateEntityTypeOperationMet" - + "adata\022\310\001\n\rGetEntityType\0225.google.cloud.a" - + "iplatform.v1beta1.GetEntityTypeRequest\032+" - + ".google.cloud.aiplatform.v1beta1.EntityT" - + "ype\"S\202\323\344\223\002F\022D/v1beta1/{name=projects/*/l" - + "ocations/*/featurestores/*/entityTypes/*" - + "}\332A\004name\022\333\001\n\017ListEntityTypes\0227.google.cl" - + "oud.aiplatform.v1beta1.ListEntityTypesRe" - + "quest\0328.google.cloud.aiplatform.v1beta1." - + "ListEntityTypesResponse\"U\202\323\344\223\002F\022D/v1beta" - + "1/{parent=projects/*/locations/*/feature" - + "stores/*}/entityTypes\332A\006parent\022\372\001\n\020Updat" - + "eEntityType\0228.google.cloud.aiplatform.v1" - + "beta1.UpdateEntityTypeRequest\032+.google.c" - + "loud.aiplatform.v1beta1.EntityType\"\177\202\323\344\223" - + "\002_2P/v1beta1/{entity_type.name=projects/" - + "*/locations/*/featurestores/*/entityType" - + "s/*}:\013entity_type\332A\027entity_type,update_m" - + "ask\022\201\002\n\020DeleteEntityType\0228.google.cloud." - + "aiplatform.v1beta1.DeleteEntityTypeReque" - + "st\032\035.google.longrunning.Operation\"\223\001\202\323\344\223" - + "\002F*D/v1beta1/{name=projects/*/locations/" - + "*/featurestores/*/entityTypes/*}\332A\004name\332" - + "A\nname,force\312A0\n\025google.protobuf.Empty\022\027" - + "DeleteOperationMetadata\022\241\002\n\rCreateFeatur" - + "e\0225.google.cloud.aiplatform.v1beta1.Crea" - + "teFeatureRequest\032\035.google.longrunning.Op" - + "eration\"\271\001\202\323\344\223\002Z\"O/v1beta1/{parent=proje" - + "cts/*/locations/*/featurestores/*/entity" - + "Types/*}/features:\007feature\332A\016parent,feat" - + "ure\332A\031parent,feature,feature_id\312A)\n\007Feat" - + "ure\022\036CreateFeatureOperationMetadata\022\262\002\n\023" - + "BatchCreateFeatures\022;.google.cloud.aipla" - + "tform.v1beta1.BatchCreateFeaturesRequest" - + "\032\035.google.longrunning.Operation\"\276\001\202\323\344\223\002`" - + "\"[/v1beta1/{parent=projects/*/locations/" - + "*/featurestores/*/entityTypes/*}/feature" - + "s:batchCreate:\001*\332A\017parent,requests\312AC\n\033B" - + "atchCreateFeaturesResponse\022$BatchCreateF" - + "eaturesOperationMetadata\022\312\001\n\nGetFeature\022" - + "2.google.cloud.aiplatform.v1beta1.GetFea" - + "tureRequest\032(.google.cloud.aiplatform.v1" - + "beta1.Feature\"^\202\323\344\223\002Q\022O/v1beta1/{name=pr" - + "ojects/*/locations/*/featurestores/*/ent" - + "ityTypes/*/features/*}\332A\004name\022\335\001\n\014ListFe" - + "atures\0224.google.cloud.aiplatform.v1beta1" - + ".ListFeaturesRequest\0325.google.cloud.aipl" - + "atform.v1beta1.ListFeaturesResponse\"`\202\323\344" - + "\223\002Q\022O/v1beta1/{parent=projects/*/locatio" - + "ns/*/featurestores/*/entityTypes/*}/feat" - + "ures\332A\006parent\022\360\001\n\rUpdateFeature\0225.google" - + ".cloud.aiplatform.v1beta1.UpdateFeatureR" - + "equest\032(.google.cloud.aiplatform.v1beta1" - + ".Feature\"~\202\323\344\223\002b2W/v1beta1/{feature.name" - + "=projects/*/locations/*/featurestores/*/" - + "entityTypes/*/features/*}:\007feature\332A\023fea" - + "ture,update_mask\022\371\001\n\rDeleteFeature\0225.goo" - + "gle.cloud.aiplatform.v1beta1.DeleteFeatu" - + "reRequest\032\035.google.longrunning.Operation" - + "\"\221\001\202\323\344\223\002Q*O/v1beta1/{name=projects/*/loc" - + "ations/*/featurestores/*/entityTypes/*/f" - + "eatures/*}\332A\004name\312A0\n\025google.protobuf.Em" - + "pty\022\027DeleteOperationMetadata\022\262\002\n\023ImportF" - + "eatureValues\022;.google.cloud.aiplatform.v" - + "1beta1.ImportFeatureValuesRequest\032\035.goog" - + "le.longrunning.Operation\"\276\001\202\323\344\223\002d\"_/v1be" - + "ta1/{entity_type=projects/*/locations/*/" - + "featurestores/*/entityTypes/*}:importFea" - + "tureValues:\001*\332A\013entity_type\312AC\n\033ImportFe" - + "atureValuesResponse\022$ImportFeatureValues" - + "OperationMetadata\022\265\002\n\026BatchReadFeatureVa" - + "lues\022>.google.cloud.aiplatform.v1beta1.B" - + "atchReadFeatureValuesRequest\032\035.google.lo" - + "ngrunning.Operation\"\273\001\202\323\344\223\002Z\"U/v1beta1/{" - + "featurestore=projects/*/locations/*/feat" - + "urestores/*}:batchReadFeatureValues:\001*\332A" - + "\014featurestore\312AI\n\036BatchReadFeatureValues" - + "Response\022\'BatchReadFeatureValuesOperatio" - + "nMetadata\022\262\002\n\023ExportFeatureValues\022;.goog" - + "le.cloud.aiplatform.v1beta1.ExportFeatur" - + "eValuesRequest\032\035.google.longrunning.Oper" - + "ation\"\276\001\202\323\344\223\002d\"_/v1beta1/{entity_type=pr" - + "ojects/*/locations/*/featurestores/*/ent" - + "ityTypes/*}:exportFeatureValues:\001*\332A\013ent" - + "ity_type\312AC\n\033ExportFeatureValuesResponse" - + "\022$ExportFeatureValuesOperationMetadata\022\262" - + "\002\n\023DeleteFeatureValues\022;.google.cloud.ai" - + "platform.v1beta1.DeleteFeatureValuesRequ" - + "est\032\035.google.longrunning.Operation\"\276\001\202\323\344" - + "\223\002d\"_/v1beta1/{entity_type=projects/*/lo" + + "eatureValuesRequest.SelectTimeRangeAndFe" + + "atureH\000\022A\n\013entity_type\030\001 \001(\tB,\340A\002\372A&\n$ai" + + "platform.googleapis.com/EntityType\032b\n\014Se" + + "lectEntity\022R\n\022entity_id_selector\030\001 \001(\01321" + + ".google.cloud.aiplatform.v1beta1.EntityI" + + "dSelectorB\003\340A\002\032\300\001\n\031SelectTimeRangeAndFea" + + "ture\022.\n\ntime_range\030\001 \001(\0132\025.google.type.I" + + "ntervalB\003\340A\002\022O\n\020feature_selector\030\002 \001(\01320" + + ".google.cloud.aiplatform.v1beta1.Feature" + + "SelectorB\003\340A\002\022\"\n\032skip_online_storage_del" + + "ete\030\003 \001(\010B\016\n\014DeleteOption\"\035\n\033DeleteFeatu" + + "reValuesResponse\"\200\001\n\020EntityIdSelector\022@\n" + + "\ncsv_source\030\003 \001(\0132*.google.cloud.aiplatf" + + "orm.v1beta1.CsvSourceH\000\022\027\n\017entity_id_fie" + + "ld\030\005 \001(\tB\021\n\017EntityIdsSource2\345+\n\023Features" + + "toreService\022\260\002\n\022CreateFeaturestore\022:.goo" + + "gle.cloud.aiplatform.v1beta1.CreateFeatu" + + "restoreRequest\032\035.google.longrunning.Oper" + + "ation\"\276\001\202\323\344\223\002F\"6/v1beta1/{parent=project" + + "s/*/locations/*}/featurestores:\014features" + + "tore\332A\023parent,featurestore\332A#parent,feat" + + "urestore,featurestore_id\312A3\n\014Featurestor" + + "e\022#CreateFeaturestoreOperationMetadata\022\300" + + "\001\n\017GetFeaturestore\0227.google.cloud.aiplat" + + "form.v1beta1.GetFeaturestoreRequest\032-.go" + + "ogle.cloud.aiplatform.v1beta1.Featuresto" + + "re\"E\202\323\344\223\0028\0226/v1beta1/{name=projects/*/lo" + + "cations/*/featurestores/*}\332A\004name\022\323\001\n\021Li" + + "stFeaturestores\0229.google.cloud.aiplatfor" + + "m.v1beta1.ListFeaturestoresRequest\032:.goo" + + "gle.cloud.aiplatform.v1beta1.ListFeature" + + "storesResponse\"G\202\323\344\223\0028\0226/v1beta1/{parent" + + "=projects/*/locations/*}/featurestores\332A" + + "\006parent\022\234\002\n\022UpdateFeaturestore\022:.google." + + "cloud.aiplatform.v1beta1.UpdateFeaturest" + + "oreRequest\032\035.google.longrunning.Operatio" + + "n\"\252\001\202\323\344\223\002S2C/v1beta1/{featurestore.name=" + + "projects/*/locations/*/featurestores/*}:" + + "\014featurestore\332A\030featurestore,update_mask" + + "\312A3\n\014Featurestore\022#UpdateFeaturestoreOpe" + + "rationMetadata\022\367\001\n\022DeleteFeaturestore\022:." + + "google.cloud.aiplatform.v1beta1.DeleteFe" + + "aturestoreRequest\032\035.google.longrunning.O" + + "peration\"\205\001\202\323\344\223\0028*6/v1beta1/{name=projec" + + "ts/*/locations/*/featurestores/*}\332A\004name" + + "\332A\nname,force\312A0\n\025google.protobuf.Empty\022" + + "\027DeleteOperationMetadata\022\262\002\n\020CreateEntit" + + "yType\0228.google.cloud.aiplatform.v1beta1." + + "CreateEntityTypeRequest\032\035.google.longrun" + + "ning.Operation\"\304\001\202\323\344\223\002S\"D/v1beta1/{paren" + + "t=projects/*/locations/*/featurestores/*" + + "}/entityTypes:\013entity_type\332A\022parent,enti" + + "ty_type\332A!parent,entity_type,entity_type" + + "_id\312A/\n\nEntityType\022!CreateEntityTypeOper" + + "ationMetadata\022\310\001\n\rGetEntityType\0225.google" + + ".cloud.aiplatform.v1beta1.GetEntityTypeR" + + "equest\032+.google.cloud.aiplatform.v1beta1" + + ".EntityType\"S\202\323\344\223\002F\022D/v1beta1/{name=proj" + + "ects/*/locations/*/featurestores/*/entit" + + "yTypes/*}\332A\004name\022\333\001\n\017ListEntityTypes\0227.g" + + "oogle.cloud.aiplatform.v1beta1.ListEntit" + + "yTypesRequest\0328.google.cloud.aiplatform." + + "v1beta1.ListEntityTypesResponse\"U\202\323\344\223\002F\022" + + "D/v1beta1/{parent=projects/*/locations/*" + + "/featurestores/*}/entityTypes\332A\006parent\022\372" + + "\001\n\020UpdateEntityType\0228.google.cloud.aipla" + + "tform.v1beta1.UpdateEntityTypeRequest\032+." + + "google.cloud.aiplatform.v1beta1.EntityTy" + + "pe\"\177\202\323\344\223\002_2P/v1beta1/{entity_type.name=p" + + "rojects/*/locations/*/featurestores/*/en" + + "tityTypes/*}:\013entity_type\332A\027entity_type," + + "update_mask\022\201\002\n\020DeleteEntityType\0228.googl" + + "e.cloud.aiplatform.v1beta1.DeleteEntityT" + + "ypeRequest\032\035.google.longrunning.Operatio" + + "n\"\223\001\202\323\344\223\002F*D/v1beta1/{name=projects/*/lo" + + "cations/*/featurestores/*/entityTypes/*}" + + "\332A\004name\332A\nname,force\312A0\n\025google.protobuf" + + ".Empty\022\027DeleteOperationMetadata\022\241\002\n\rCrea" + + "teFeature\0225.google.cloud.aiplatform.v1be" + + "ta1.CreateFeatureRequest\032\035.google.longru" + + "nning.Operation\"\271\001\202\323\344\223\002Z\"O/v1beta1/{pare" + + "nt=projects/*/locations/*/featurestores/" + + "*/entityTypes/*}/features:\007feature\332A\016par" + + "ent,feature\332A\031parent,feature,feature_id\312" + + "A)\n\007Feature\022\036CreateFeatureOperationMetad" + + "ata\022\262\002\n\023BatchCreateFeatures\022;.google.clo" + + "ud.aiplatform.v1beta1.BatchCreateFeature" + + "sRequest\032\035.google.longrunning.Operation\"" + + "\276\001\202\323\344\223\002`\"[/v1beta1/{parent=projects/*/lo" + "cations/*/featurestores/*/entityTypes/*}" - + ":deleteFeatureValues:\001*\332A\013entity_type\312AC" - + "\n\033DeleteFeatureValuesResponse\022$DeleteFea" - + "tureValuesOperationMetadata\022\356\001\n\016SearchFe" - + "atures\0226.google.cloud.aiplatform.v1beta1" - + ".SearchFeaturesRequest\0327.google.cloud.ai" - + "platform.v1beta1.SearchFeaturesResponse\"" - + "k\202\323\344\223\002I\022G/v1beta1/{location=projects/*/l" - + "ocations/*}/featurestores:searchFeatures" - + "\332A\010location\332A\016location,query\032M\312A\031aiplatf" - + "orm.googleapis.com\322A.https://www.googlea" - + "pis.com/auth/cloud-platformB\365\001\n#com.goog" - + "le.cloud.aiplatform.v1beta1B\030Featurestor" - + "eServiceProtoP\001ZIgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1beta1;" - + "aiplatform\252\002\037Google.Cloud.AIPlatform.V1B" - + "eta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002" - + "\"Google::Cloud::AIPlatform::V1beta1b\006pro" - + "to3" + + "/features:batchCreate:\001*\332A\017parent,reques" + + "ts\312AC\n\033BatchCreateFeaturesResponse\022$Batc" + + "hCreateFeaturesOperationMetadata\022\312\001\n\nGet" + + "Feature\0222.google.cloud.aiplatform.v1beta" + + "1.GetFeatureRequest\032(.google.cloud.aipla" + + "tform.v1beta1.Feature\"^\202\323\344\223\002Q\022O/v1beta1/" + + "{name=projects/*/locations/*/featurestor" + + "es/*/entityTypes/*/features/*}\332A\004name\022\335\001" + + "\n\014ListFeatures\0224.google.cloud.aiplatform" + + ".v1beta1.ListFeaturesRequest\0325.google.cl" + + "oud.aiplatform.v1beta1.ListFeaturesRespo" + + "nse\"`\202\323\344\223\002Q\022O/v1beta1/{parent=projects/*" + + "/locations/*/featurestores/*/entityTypes" + + "/*}/features\332A\006parent\022\360\001\n\rUpdateFeature\022" + + "5.google.cloud.aiplatform.v1beta1.Update" + + "FeatureRequest\032(.google.cloud.aiplatform" + + ".v1beta1.Feature\"~\202\323\344\223\002b2W/v1beta1/{feat" + + "ure.name=projects/*/locations/*/features" + + "tores/*/entityTypes/*/features/*}:\007featu" + + "re\332A\023feature,update_mask\022\371\001\n\rDeleteFeatu" + + "re\0225.google.cloud.aiplatform.v1beta1.Del" + + "eteFeatureRequest\032\035.google.longrunning.O" + + "peration\"\221\001\202\323\344\223\002Q*O/v1beta1/{name=projec" + + "ts/*/locations/*/featurestores/*/entityT" + + "ypes/*/features/*}\332A\004name\312A0\n\025google.pro" + + "tobuf.Empty\022\027DeleteOperationMetadata\022\262\002\n" + + "\023ImportFeatureValues\022;.google.cloud.aipl" + + "atform.v1beta1.ImportFeatureValuesReques" + + "t\032\035.google.longrunning.Operation\"\276\001\202\323\344\223\002" + + "d\"_/v1beta1/{entity_type=projects/*/loca" + + "tions/*/featurestores/*/entityTypes/*}:i" + + "mportFeatureValues:\001*\332A\013entity_type\312AC\n\033" + + "ImportFeatureValuesResponse\022$ImportFeatu" + + "reValuesOperationMetadata\022\265\002\n\026BatchReadF" + + "eatureValues\022>.google.cloud.aiplatform.v" + + "1beta1.BatchReadFeatureValuesRequest\032\035.g" + + "oogle.longrunning.Operation\"\273\001\202\323\344\223\002Z\"U/v" + + "1beta1/{featurestore=projects/*/location" + + "s/*/featurestores/*}:batchReadFeatureVal" + + "ues:\001*\332A\014featurestore\312AI\n\036BatchReadFeatu" + + "reValuesResponse\022\'BatchReadFeatureValues" + + "OperationMetadata\022\262\002\n\023ExportFeatureValue" + + "s\022;.google.cloud.aiplatform.v1beta1.Expo" + + "rtFeatureValuesRequest\032\035.google.longrunn" + + "ing.Operation\"\276\001\202\323\344\223\002d\"_/v1beta1/{entity" + + "_type=projects/*/locations/*/featurestor" + + "es/*/entityTypes/*}:exportFeatureValues:" + + "\001*\332A\013entity_type\312AC\n\033ExportFeatureValues" + + "Response\022$ExportFeatureValuesOperationMe" + + "tadata\022\262\002\n\023DeleteFeatureValues\022;.google." + + "cloud.aiplatform.v1beta1.DeleteFeatureVa" + + "luesRequest\032\035.google.longrunning.Operati" + + "on\"\276\001\202\323\344\223\002d\"_/v1beta1/{entity_type=proje" + + "cts/*/locations/*/featurestores/*/entity" + + "Types/*}:deleteFeatureValues:\001*\332A\013entity" + + "_type\312AC\n\033DeleteFeatureValuesResponse\022$D" + + "eleteFeatureValuesOperationMetadata\022\356\001\n\016" + + "SearchFeatures\0226.google.cloud.aiplatform" + + ".v1beta1.SearchFeaturesRequest\0327.google." + + "cloud.aiplatform.v1beta1.SearchFeaturesR" + + "esponse\"k\202\323\344\223\002I\022G/v1beta1/{location=proj" + + "ects/*/locations/*}/featurestores:search" + + "Features\332A\010location\332A\016location,query\032M\312A" + + "\031aiplatform.googleapis.com\322A.https://www" + + ".googleapis.com/auth/cloud-platformB\365\001\n#" + + "com.google.cloud.aiplatform.v1beta1B\030Fea" + + "turestoreServiceProtoP\001ZIgoogle.golang.o" + + "rg/genproto/googleapis/cloud/aiplatform/" + + "v1beta1;aiplatform\252\002\037Google.Cloud.AIPlat" + + "form.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V" + + "1beta1\352\002\"Google::Cloud::AIPlatform::V1be" + + "ta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -599,6 +614,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.longrunning.OperationsProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.IntervalProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1beta1_CreateFeaturestoreRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -684,7 +700,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ImportFeatureValuesResponse_descriptor, new java.lang.String[] { - "ImportedEntityCount", "ImportedFeatureValueCount", "InvalidRowCount", + "ImportedEntityCount", + "ImportedFeatureValueCount", + "InvalidRowCount", + "TimestampOutsideRetentionRowsCount", }); internal_static_google_cloud_aiplatform_v1beta1_BatchReadFeatureValuesRequest_descriptor = getDescriptor().getMessageTypes().get(8); @@ -942,6 +961,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ImportedEntityCount", "ImportedFeatureValueCount", "InvalidRowCount", + "TimestampOutsideRetentionRowsCount", }); internal_static_google_cloud_aiplatform_v1beta1_ExportFeatureValuesOperationMetadata_descriptor = getDescriptor().getMessageTypes().get(33); @@ -997,7 +1017,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_descriptor, new java.lang.String[] { - "SelectEntity", "EntityType", "DeleteOption", + "SelectEntity", "SelectTimeRangeAndFeature", "EntityType", "DeleteOption", }); internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectEntity_descriptor = internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_descriptor @@ -1009,6 +1029,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "EntityIdSelector", }); + internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectTimeRangeAndFeature_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectTimeRangeAndFeature_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesRequest_SelectTimeRangeAndFeature_descriptor, + new java.lang.String[] { + "TimeRange", "FeatureSelector", "SkipOnlineStorageDelete", + }); internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesResponse_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_google_cloud_aiplatform_v1beta1_DeleteFeatureValuesResponse_fieldAccessorTable = @@ -1047,6 +1077,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.longrunning.OperationsProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.IntervalProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesOperationMetadata.java index 9f3e7ef8356d..d1d36c76f33d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesOperationMetadata.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesOperationMetadata.java @@ -103,6 +103,11 @@ private ImportFeatureValuesOperationMetadata( invalidRowCount_ = input.readInt64(); break; } + case 56: + { + timestampOutsideRetentionRowsCount_ = input.readInt64(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -246,6 +251,25 @@ public long getInvalidRowCount() { return invalidRowCount_; } + public static final int TIMESTAMP_OUTSIDE_RETENTION_ROWS_COUNT_FIELD_NUMBER = 7; + private long timestampOutsideRetentionRowsCount_; + /** + * + * + *
+   * The number rows that weren't ingested due to having timestamps outside the
+   * retention boundary.
+   * 
+ * + * int64 timestamp_outside_retention_rows_count = 7; + * + * @return The timestampOutsideRetentionRowsCount. + */ + @java.lang.Override + public long getTimestampOutsideRetentionRowsCount() { + return timestampOutsideRetentionRowsCount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -272,6 +296,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (invalidRowCount_ != 0L) { output.writeInt64(6, invalidRowCount_); } + if (timestampOutsideRetentionRowsCount_ != 0L) { + output.writeInt64(7, timestampOutsideRetentionRowsCount_); + } unknownFields.writeTo(output); } @@ -293,6 +320,11 @@ public int getSerializedSize() { if (invalidRowCount_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, invalidRowCount_); } + if (timestampOutsideRetentionRowsCount_ != 0L) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 7, timestampOutsideRetentionRowsCount_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -317,6 +349,8 @@ public boolean equals(final java.lang.Object obj) { if (getImportedEntityCount() != other.getImportedEntityCount()) return false; if (getImportedFeatureValueCount() != other.getImportedFeatureValueCount()) return false; if (getInvalidRowCount() != other.getInvalidRowCount()) return false; + if (getTimestampOutsideRetentionRowsCount() != other.getTimestampOutsideRetentionRowsCount()) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,6 +372,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImportedFeatureValueCount()); hash = (37 * hash) + INVALID_ROW_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInvalidRowCount()); + hash = (37 * hash) + TIMESTAMP_OUTSIDE_RETENTION_ROWS_COUNT_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getTimestampOutsideRetentionRowsCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -499,6 +537,8 @@ public Builder clear() { invalidRowCount_ = 0L; + timestampOutsideRetentionRowsCount_ = 0L; + return this; } @@ -537,6 +577,7 @@ public com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesOperationMetadata result.importedEntityCount_ = importedEntityCount_; result.importedFeatureValueCount_ = importedFeatureValueCount_; result.invalidRowCount_ = invalidRowCount_; + result.timestampOutsideRetentionRowsCount_ = timestampOutsideRetentionRowsCount_; onBuilt(); return result; } @@ -603,6 +644,9 @@ public Builder mergeFrom( if (other.getInvalidRowCount() != 0L) { setInvalidRowCount(other.getInvalidRowCount()); } + if (other.getTimestampOutsideRetentionRowsCount() != 0L) { + setTimestampOutsideRetentionRowsCount(other.getTimestampOutsideRetentionRowsCount()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -993,6 +1037,61 @@ public Builder clearInvalidRowCount() { return this; } + private long timestampOutsideRetentionRowsCount_; + /** + * + * + *
+     * The number rows that weren't ingested due to having timestamps outside the
+     * retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 7; + * + * @return The timestampOutsideRetentionRowsCount. + */ + @java.lang.Override + public long getTimestampOutsideRetentionRowsCount() { + return timestampOutsideRetentionRowsCount_; + } + /** + * + * + *
+     * The number rows that weren't ingested due to having timestamps outside the
+     * retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 7; + * + * @param value The timestampOutsideRetentionRowsCount to set. + * @return This builder for chaining. + */ + public Builder setTimestampOutsideRetentionRowsCount(long value) { + + timestampOutsideRetentionRowsCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The number rows that weren't ingested due to having timestamps outside the
+     * retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 7; + * + * @return This builder for chaining. + */ + public Builder clearTimestampOutsideRetentionRowsCount() { + + timestampOutsideRetentionRowsCount_ = 0L; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesOperationMetadataOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesOperationMetadataOrBuilder.java index 5b12bf61459a..a1539413d1fb 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesOperationMetadataOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesOperationMetadataOrBuilder.java @@ -101,4 +101,18 @@ public interface ImportFeatureValuesOperationMetadataOrBuilder * @return The invalidRowCount. */ long getInvalidRowCount(); + + /** + * + * + *
+   * The number rows that weren't ingested due to having timestamps outside the
+   * retention boundary.
+   * 
+ * + * int64 timestamp_outside_retention_rows_count = 7; + * + * @return The timestampOutsideRetentionRowsCount. + */ + long getTimestampOutsideRetentionRowsCount(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesResponse.java index 1cfc006eaef0..42f427f7e5ed 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesResponse.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesResponse.java @@ -78,6 +78,11 @@ private ImportFeatureValuesResponse( importedFeatureValueCount_ = input.readInt64(); break; } + case 32: + { + timestampOutsideRetentionRowsCount_ = input.readInt64(); + break; + } case 48: { invalidRowCount_ = input.readInt64(); @@ -177,6 +182,25 @@ public long getInvalidRowCount() { return invalidRowCount_; } + public static final int TIMESTAMP_OUTSIDE_RETENTION_ROWS_COUNT_FIELD_NUMBER = 4; + private long timestampOutsideRetentionRowsCount_; + /** + * + * + *
+   * The number rows that weren't ingested due to having feature timestamps
+   * outside the retention boundary.
+   * 
+ * + * int64 timestamp_outside_retention_rows_count = 4; + * + * @return The timestampOutsideRetentionRowsCount. + */ + @java.lang.Override + public long getTimestampOutsideRetentionRowsCount() { + return timestampOutsideRetentionRowsCount_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -197,6 +221,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (importedFeatureValueCount_ != 0L) { output.writeInt64(2, importedFeatureValueCount_); } + if (timestampOutsideRetentionRowsCount_ != 0L) { + output.writeInt64(4, timestampOutsideRetentionRowsCount_); + } if (invalidRowCount_ != 0L) { output.writeInt64(6, invalidRowCount_); } @@ -215,6 +242,11 @@ public int getSerializedSize() { if (importedFeatureValueCount_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, importedFeatureValueCount_); } + if (timestampOutsideRetentionRowsCount_ != 0L) { + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 4, timestampOutsideRetentionRowsCount_); + } if (invalidRowCount_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, invalidRowCount_); } @@ -237,6 +269,8 @@ public boolean equals(final java.lang.Object obj) { if (getImportedEntityCount() != other.getImportedEntityCount()) return false; if (getImportedFeatureValueCount() != other.getImportedFeatureValueCount()) return false; if (getInvalidRowCount() != other.getInvalidRowCount()) return false; + if (getTimestampOutsideRetentionRowsCount() != other.getTimestampOutsideRetentionRowsCount()) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -254,6 +288,10 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImportedFeatureValueCount()); hash = (37 * hash) + INVALID_ROW_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getInvalidRowCount()); + hash = (37 * hash) + TIMESTAMP_OUTSIDE_RETENTION_ROWS_COUNT_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(getTimestampOutsideRetentionRowsCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -406,6 +444,8 @@ public Builder clear() { invalidRowCount_ = 0L; + timestampOutsideRetentionRowsCount_ = 0L; + return this; } @@ -437,6 +477,7 @@ public com.google.cloud.aiplatform.v1beta1.ImportFeatureValuesResponse buildPart result.importedEntityCount_ = importedEntityCount_; result.importedFeatureValueCount_ = importedFeatureValueCount_; result.invalidRowCount_ = invalidRowCount_; + result.timestampOutsideRetentionRowsCount_ = timestampOutsideRetentionRowsCount_; onBuilt(); return result; } @@ -498,6 +539,9 @@ public Builder mergeFrom( if (other.getInvalidRowCount() != 0L) { setInvalidRowCount(other.getInvalidRowCount()); } + if (other.getTimestampOutsideRetentionRowsCount() != 0L) { + setTimestampOutsideRetentionRowsCount(other.getTimestampOutsideRetentionRowsCount()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -697,6 +741,61 @@ public Builder clearInvalidRowCount() { return this; } + private long timestampOutsideRetentionRowsCount_; + /** + * + * + *
+     * The number rows that weren't ingested due to having feature timestamps
+     * outside the retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 4; + * + * @return The timestampOutsideRetentionRowsCount. + */ + @java.lang.Override + public long getTimestampOutsideRetentionRowsCount() { + return timestampOutsideRetentionRowsCount_; + } + /** + * + * + *
+     * The number rows that weren't ingested due to having feature timestamps
+     * outside the retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 4; + * + * @param value The timestampOutsideRetentionRowsCount to set. + * @return This builder for chaining. + */ + public Builder setTimestampOutsideRetentionRowsCount(long value) { + + timestampOutsideRetentionRowsCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The number rows that weren't ingested due to having feature timestamps
+     * outside the retention boundary.
+     * 
+ * + * int64 timestamp_outside_retention_rows_count = 4; + * + * @return This builder for chaining. + */ + public Builder clearTimestampOutsideRetentionRowsCount() { + + timestampOutsideRetentionRowsCount_ = 0L; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesResponseOrBuilder.java index ecc868e39a69..d894ce22d65a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesResponseOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ImportFeatureValuesResponseOrBuilder.java @@ -65,4 +65,18 @@ public interface ImportFeatureValuesResponseOrBuilder * @return The invalidRowCount. */ long getInvalidRowCount(); + + /** + * + * + *
+   * The number rows that weren't ingested due to having feature timestamps
+   * outside the retention boundary.
+   * 
+ * + * int64 timestamp_outside_retention_rows_count = 4; + * + * @return The timestampOutsideRetentionRowsCount. + */ + long getTimestampOutsideRetentionRowsCount(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListArtifactsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListArtifactsRequest.java index 1318f53a6295..994da4711b66 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListArtifactsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListArtifactsRequest.java @@ -41,6 +41,7 @@ private ListArtifactsRequest() { parent_ = ""; pageToken_ = ""; filter_ = ""; + orderBy_ = ""; } @java.lang.Override @@ -98,6 +99,13 @@ private ListArtifactsRequest( filter_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -362,6 +370,65 @@ public com.google.protobuf.ByteString getFilterBytes() { } } + public static final int ORDER_BY_FIELD_NUMBER = 5; + private volatile java.lang.Object orderBy_; + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -388,6 +455,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); + } unknownFields.writeTo(output); } @@ -409,6 +479,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -429,6 +502,7 @@ public boolean equals(final java.lang.Object obj) { if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -448,6 +522,8 @@ public int hashCode() { hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -602,6 +678,8 @@ public Builder clear() { filter_ = ""; + orderBy_ = ""; + return this; } @@ -633,6 +711,7 @@ public com.google.cloud.aiplatform.v1beta1.ListArtifactsRequest buildPartial() { result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; + result.orderBy_ = orderBy_; onBuilt(); return result; } @@ -698,6 +777,10 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ListArtifactsReques filter_ = other.filter_; onChanged(); } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1256,6 +1339,137 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + orderBy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + + orderBy_ = getDefaultInstance().getOrderBy(); + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + orderBy_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListArtifactsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListArtifactsRequestOrBuilder.java index 7e5cc4d24e7a..03ecd8e1dd44 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListArtifactsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListArtifactsRequestOrBuilder.java @@ -173,4 +173,39 @@ public interface ListArtifactsRequestOrBuilder * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListBatchPredictionJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListBatchPredictionJobsRequest.java index 34805439eb80..be8ba9ef3c21 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListBatchPredictionJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListBatchPredictionJobsRequest.java @@ -218,11 +218,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -252,11 +257,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -930,11 +940,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -963,11 +978,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -996,11 +1016,16 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -1028,11 +1053,16 @@ public Builder setFilter(java.lang.String value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -1056,11 +1086,16 @@ public Builder clearFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListBatchPredictionJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListBatchPredictionJobsRequestOrBuilder.java index b3d77d0bc9ba..a38a9ee4fab9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListBatchPredictionJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListBatchPredictionJobsRequestOrBuilder.java @@ -65,11 +65,16 @@ public interface ListBatchPredictionJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; @@ -88,11 +93,16 @@ public interface ListBatchPredictionJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` *
* * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListContextsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListContextsRequest.java index 8d53c8ee2759..0f0e6461b539 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListContextsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListContextsRequest.java @@ -41,6 +41,7 @@ private ListContextsRequest() { parent_ = ""; pageToken_ = ""; filter_ = ""; + orderBy_ = ""; } @java.lang.Override @@ -98,6 +99,13 @@ private ListContextsRequest( filter_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -368,6 +376,65 @@ public com.google.protobuf.ByteString getFilterBytes() { } } + public static final int ORDER_BY_FIELD_NUMBER = 5; + private volatile java.lang.Object orderBy_; + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -394,6 +461,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); + } unknownFields.writeTo(output); } @@ -415,6 +485,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -435,6 +508,7 @@ public boolean equals(final java.lang.Object obj) { if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -454,6 +528,8 @@ public int hashCode() { hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -608,6 +684,8 @@ public Builder clear() { filter_ = ""; + orderBy_ = ""; + return this; } @@ -639,6 +717,7 @@ public com.google.cloud.aiplatform.v1beta1.ListContextsRequest buildPartial() { result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; + result.orderBy_ = orderBy_; onBuilt(); return result; } @@ -704,6 +783,10 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ListContextsRequest filter_ = other.filter_; onChanged(); } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1277,6 +1360,137 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + orderBy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + + orderBy_ = getDefaultInstance().getOrderBy(); + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + orderBy_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListContextsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListContextsRequestOrBuilder.java index ea9906547c25..7f46836c4fdc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListContextsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListContextsRequestOrBuilder.java @@ -179,4 +179,39 @@ public interface ListContextsRequestOrBuilder * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListCustomJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListCustomJobsRequest.java index f9d906fa0449..2fff9aa7fcee 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListCustomJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListCustomJobsRequest.java @@ -216,11 +216,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -249,11 +254,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -918,11 +928,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -950,11 +965,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -982,11 +1002,16 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1013,11 +1038,16 @@ public Builder setFilter(java.lang.String value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1040,11 +1070,16 @@ public Builder clearFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListCustomJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListCustomJobsRequestOrBuilder.java index 7873f5918a8e..5f75debcf568 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListCustomJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListCustomJobsRequestOrBuilder.java @@ -64,11 +64,16 @@ public interface ListCustomJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -86,11 +91,16 @@ public interface ListCustomJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListDataLabelingJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListDataLabelingJobsRequest.java index f697551e310c..f756cac4da53 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListDataLabelingJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListDataLabelingJobsRequest.java @@ -224,11 +224,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -257,11 +262,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1002,11 +1012,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1034,11 +1049,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1066,11 +1086,16 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1097,11 +1122,16 @@ public Builder setFilter(java.lang.String value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1124,11 +1154,16 @@ public Builder clearFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListDataLabelingJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListDataLabelingJobsRequestOrBuilder.java index 490236918b56..f86e040df2d8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListDataLabelingJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListDataLabelingJobsRequestOrBuilder.java @@ -64,11 +64,16 @@ public interface ListDataLabelingJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -86,11 +91,16 @@ public interface ListDataLabelingJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListExecutionsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListExecutionsRequest.java index a2c0ceac7fcd..c4d737367ea8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListExecutionsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListExecutionsRequest.java @@ -41,6 +41,7 @@ private ListExecutionsRequest() { parent_ = ""; pageToken_ = ""; filter_ = ""; + orderBy_ = ""; } @java.lang.Override @@ -98,6 +99,13 @@ private ListExecutionsRequest( filter_ = s; break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -362,6 +370,65 @@ public com.google.protobuf.ByteString getFilterBytes() { } } + public static final int ORDER_BY_FIELD_NUMBER = 5; + private volatile java.lang.Object orderBy_; + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -388,6 +455,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); + } unknownFields.writeTo(output); } @@ -409,6 +479,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -429,6 +502,7 @@ public boolean equals(final java.lang.Object obj) { if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -448,6 +522,8 @@ public int hashCode() { hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + FILTER_FIELD_NUMBER; hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -602,6 +678,8 @@ public Builder clear() { filter_ = ""; + orderBy_ = ""; + return this; } @@ -633,6 +711,7 @@ public com.google.cloud.aiplatform.v1beta1.ListExecutionsRequest buildPartial() result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.filter_ = filter_; + result.orderBy_ = orderBy_; onBuilt(); return result; } @@ -698,6 +777,10 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ListExecutionsReque filter_ = other.filter_; onChanged(); } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1256,6 +1339,137 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object orderBy_ = ""; + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + orderBy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + + orderBy_ = getDefaultInstance().getOrderBy(); + onChanged(); + return this; + } + /** + * + * + *
+     * How the list of messages is ordered. Specify the values to order by and an
+     * ordering operation. The default sorting order is ascending. To specify
+     * descending order for a field, users append a " desc" suffix; for example:
+     * "foo desc, bar".
+     * Subfields are specified with a `.` character, such as foo.bar.
+     * see https://google.aip.dev/132#ordering for more details.
+     * 
+ * + * string order_by = 5; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + orderBy_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListExecutionsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListExecutionsRequestOrBuilder.java index ba388c5f2938..bf3cc32a4f05 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListExecutionsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListExecutionsRequestOrBuilder.java @@ -173,4 +173,39 @@ public interface ListExecutionsRequestOrBuilder * @return The bytes for filter. */ com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + * + * + *
+   * How the list of messages is ordered. Specify the values to order by and an
+   * ordering operation. The default sorting order is ascending. To specify
+   * descending order for a field, users append a " desc" suffix; for example:
+   * "foo desc, bar".
+   * Subfields are specified with a `.` character, such as foo.bar.
+   * see https://google.aip.dev/132#ordering for more details.
+   * 
+ * + * string order_by = 5; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListHyperparameterTuningJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListHyperparameterTuningJobsRequest.java index a4012c911578..a5a43c51d242 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListHyperparameterTuningJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListHyperparameterTuningJobsRequest.java @@ -218,11 +218,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -251,11 +256,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -931,11 +941,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -963,11 +978,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -995,11 +1015,16 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1026,11 +1051,16 @@ public Builder setFilter(java.lang.String value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1053,11 +1083,16 @@ public Builder clearFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListHyperparameterTuningJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListHyperparameterTuningJobsRequestOrBuilder.java index 5c670f4f0f39..4e597ee1675f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListHyperparameterTuningJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListHyperparameterTuningJobsRequestOrBuilder.java @@ -64,11 +64,16 @@ public interface ListHyperparameterTuningJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -86,11 +91,16 @@ public interface ListHyperparameterTuningJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListModelDeploymentMonitoringJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListModelDeploymentMonitoringJobsRequest.java index 1e4bafdebce3..a48b9452480b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListModelDeploymentMonitoringJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListModelDeploymentMonitoringJobsRequest.java @@ -220,11 +220,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -253,11 +258,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -936,11 +946,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -968,11 +983,16 @@ public java.lang.String getFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1000,11 +1020,16 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1031,11 +1056,16 @@ public Builder setFilter(java.lang.String value) { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -1058,11 +1088,16 @@ public Builder clearFilter() { * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListModelDeploymentMonitoringJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListModelDeploymentMonitoringJobsRequestOrBuilder.java index 90e5eeb6e49f..fd3b693beca7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListModelDeploymentMonitoringJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListModelDeploymentMonitoringJobsRequestOrBuilder.java @@ -64,11 +64,16 @@ public interface ListModelDeploymentMonitoringJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; @@ -86,11 +91,16 @@ public interface ListModelDeploymentMonitoringJobsRequestOrBuilder * * `state` supports `=`, `!=` comparisons. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * * `NOT display_name="my_job"` * * `create_time>"2021-05-18T00:00:00Z"` + * * `labels.keyA=valueA` + * * `labels.keyB:*` * * * string filter = 2; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListPipelineJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListPipelineJobsRequest.java index 7e312d685e64..623e2fddb329 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListPipelineJobsRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListPipelineJobsRequest.java @@ -104,6 +104,21 @@ private ListPipelineJobsRequest( java.lang.String s = input.readStringRequireUtf8(); orderBy_ = s; + break; + } + case 58: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (readMask_ != null) { + subBuilder = readMask_.toBuilder(); + } + readMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readMask_); + readMask_ = subBuilder.buildPartial(); + } + break; } default: @@ -446,6 +461,52 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } + public static final int READ_MASK_FIELD_NUMBER = 7; + private com.google.protobuf.FieldMask readMask_; + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return Whether the readMask field is set. + */ + @java.lang.Override + public boolean hasReadMask() { + return readMask_ != null; + } + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return The readMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getReadMask() { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { + return getReadMask(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -475,6 +536,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, orderBy_); } + if (readMask_ != null) { + output.writeMessage(7, getReadMask()); + } unknownFields.writeTo(output); } @@ -499,6 +563,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); } + if (readMask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getReadMask()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -520,6 +587,10 @@ public boolean equals(final java.lang.Object obj) { if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; if (!getOrderBy().equals(other.getOrderBy())) return false; + if (hasReadMask() != other.hasReadMask()) return false; + if (hasReadMask()) { + if (!getReadMask().equals(other.getReadMask())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -541,6 +612,10 @@ public int hashCode() { hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); + if (hasReadMask()) { + hash = (37 * hash) + READ_MASK_FIELD_NUMBER; + hash = (53 * hash) + getReadMask().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -697,6 +772,12 @@ public Builder clear() { orderBy_ = ""; + if (readMaskBuilder_ == null) { + readMask_ = null; + } else { + readMask_ = null; + readMaskBuilder_ = null; + } return this; } @@ -729,6 +810,11 @@ public com.google.cloud.aiplatform.v1beta1.ListPipelineJobsRequest buildPartial( result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; result.orderBy_ = orderBy_; + if (readMaskBuilder_ == null) { + result.readMask_ = readMask_; + } else { + result.readMask_ = readMaskBuilder_.build(); + } onBuilt(); return result; } @@ -798,6 +884,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ListPipelineJobsReq orderBy_ = other.orderBy_; onChanged(); } + if (other.hasReadMask()) { + mergeReadMask(other.getReadMask()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1529,6 +1618,185 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.protobuf.FieldMask readMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return Whether the readMask field is set. + */ + public boolean hasReadMask() { + return readMaskBuilder_ != null || readMask_ != null; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return The readMask. + */ + public com.google.protobuf.FieldMask getReadMask() { + if (readMaskBuilder_ == null) { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } else { + return readMaskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public Builder setReadMask(com.google.protobuf.FieldMask value) { + if (readMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + readMask_ = value; + onChanged(); + } else { + readMaskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (readMaskBuilder_ == null) { + readMask_ = builderForValue.build(); + onChanged(); + } else { + readMaskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public Builder mergeReadMask(com.google.protobuf.FieldMask value) { + if (readMaskBuilder_ == null) { + if (readMask_ != null) { + readMask_ = + com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial(); + } else { + readMask_ = value; + } + onChanged(); + } else { + readMaskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public Builder clearReadMask() { + if (readMaskBuilder_ == null) { + readMask_ = null; + onChanged(); + } else { + readMask_ = null; + readMaskBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { + + onChanged(); + return getReadMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { + if (readMaskBuilder_ != null) { + return readMaskBuilder_.getMessageOrBuilder(); + } else { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + getReadMaskFieldBuilder() { + if (readMaskBuilder_ == null) { + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); + readMask_ = null; + } + return readMaskBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListPipelineJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListPipelineJobsRequestOrBuilder.java index efb520637317..5e8b93b8908f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListPipelineJobsRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListPipelineJobsRequestOrBuilder.java @@ -225,4 +225,39 @@ public interface ListPipelineJobsRequestOrBuilder * @return The bytes for orderBy. */ com.google.protobuf.ByteString getOrderByBytes(); + + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return Whether the readMask field is set. + */ + boolean hasReadMask(); + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + * + * @return The readMask. + */ + com.google.protobuf.FieldMask getReadMask(); + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 7; + */ + com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListTrainingPipelinesRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListTrainingPipelinesRequest.java index 965917850c41..7b0f44f8c35d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListTrainingPipelinesRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListTrainingPipelinesRequest.java @@ -217,6 +217,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -252,6 +255,9 @@ public java.lang.String getFilter() { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -927,6 +933,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -961,6 +970,9 @@ public java.lang.String getFilter() { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -995,6 +1007,9 @@ public com.google.protobuf.ByteString getFilterBytes() { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -1028,6 +1043,9 @@ public Builder setFilter(java.lang.String value) { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -1057,6 +1075,9 @@ public Builder clearFilter() { * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListTrainingPipelinesRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListTrainingPipelinesRequestOrBuilder.java index 573a8b0cf757..0fff62bbceaa 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListTrainingPipelinesRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListTrainingPipelinesRequestOrBuilder.java @@ -65,6 +65,9 @@ public interface ListTrainingPipelinesRequestOrBuilder * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` @@ -89,6 +92,9 @@ public interface ListTrainingPipelinesRequestOrBuilder * * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. * * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. * `create_time` must be in RFC 3339 format. + * * `labels` supports general map functions that is: + * `labels.key=value` - key:value equality + * `labels.key:* - key existence * Some examples of using the filter are: * * `state="PIPELINE_STATE_SUCCEEDED" AND display_name:"my_pipeline_*"` * * `state!="PIPELINE_STATE_FAILED" OR display_name="my_pipeline"` diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceProto.java index 21d01ba91af0..c1ccbf45ccf7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceProto.java @@ -143,6 +143,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_AddContextChildrenResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_AddContextChildrenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_QueryContextLineageSubgraphRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -269,322 +277,335 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ct\030\002 \001(\0132).google.cloud.aiplatform.v1bet" + "a1.ArtifactB\003\340A\002\022\023\n\013artifact_id\030\003 \001(\t\"N\n" + "\022GetArtifactRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A" - + "$\n\"aiplatform.googleapis.com/Artifact\"\211\001" + + "$\n\"aiplatform.googleapis.com/Artifact\"\233\001" + "\n\024ListArtifactsRequest\022:\n\006parent\030\001 \001(\tB*" + "\340A\002\372A$\022\"aiplatform.googleapis.com/Artifa" + "ct\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" - + "\t\022\016\n\006filter\030\004 \001(\t\"n\n\025ListArtifactsRespon" - + "se\022<\n\tartifacts\030\001 \003(\0132).google.cloud.aip" - + "latform.v1beta1.Artifact\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"\246\001\n\025UpdateArtifactRequest\022@\n\010a" - + "rtifact\030\001 \001(\0132).google.cloud.aiplatform." - + "v1beta1.ArtifactB\003\340A\002\0224\n\013update_mask\030\002 \001" - + "(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022\025\n\ra" - + "llow_missing\030\003 \001(\010\"d\n\025DeleteArtifactRequ" - + "est\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.go" - + "ogleapis.com/Artifact\022\021\n\004etag\030\002 \001(\tB\003\340A\001" - + "\"|\n\025PurgeArtifactsRequest\022:\n\006parent\030\001 \001(" - + "\tB*\340A\002\372A$\022\"aiplatform.googleapis.com/Art" - + "ifact\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\005force\030\003 \001(" - + "\010B\003\340A\001\"l\n\026PurgeArtifactsResponse\022\023\n\013purg" - + "e_count\030\001 \001(\003\022=\n\014purge_sample\030\002 \003(\tB\'\372A$" - + "\n\"aiplatform.googleapis.com/Artifact\"m\n\026" - + "PurgeArtifactsMetadata\022S\n\020generic_metada" - + "ta\030\001 \001(\01329.google.cloud.aiplatform.v1bet" - + "a1.GenericOperationMetadata\"\253\001\n\024CreateCo" - + "ntextRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'ai" - + "platform.googleapis.com/MetadataStore\022>\n" - + "\007context\030\002 \001(\0132(.google.cloud.aiplatform" - + ".v1beta1.ContextB\003\340A\002\022\022\n\ncontext_id\030\003 \001(" - + "\t\"L\n\021GetContextRequest\0227\n\004name\030\001 \001(\tB)\340A" - + "\002\372A#\n!aiplatform.googleapis.com/Context\"" - + "\207\001\n\023ListContextsRequest\0229\n\006parent\030\001 \001(\tB" - + ")\340A\002\372A#\022!aiplatform.googleapis.com/Conte" - + "xt\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" - + "\t\022\016\n\006filter\030\004 \001(\t\"k\n\024ListContextsRespons" - + "e\022:\n\010contexts\030\001 \003(\0132(.google.cloud.aipla" - + "tform.v1beta1.Context\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\243\001\n\024UpdateContextRequest\022>\n\007conte" - + "xt\030\001 \001(\0132(.google.cloud.aiplatform.v1bet" - + "a1.ContextB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.g" - + "oogle.protobuf.FieldMaskB\003\340A\001\022\025\n\rallow_m" - + "issing\030\003 \001(\010\"q\n\024DeleteContextRequest\0227\n\004" - + "name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleapi" - + "s.com/Context\022\r\n\005force\030\002 \001(\010\022\021\n\004etag\030\003 \001" - + "(\tB\003\340A\001\"z\n\024PurgeContextsRequest\0229\n\006paren" - + "t\030\001 \001(\tB)\340A\002\372A#\022!aiplatform.googleapis.c" - + "om/Context\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\005force" - + "\030\003 \001(\010B\003\340A\001\"j\n\025PurgeContextsResponse\022\023\n\013" - + "purge_count\030\001 \001(\003\022<\n\014purge_sample\030\002 \003(\tB" - + "&\372A#\n!aiplatform.googleapis.com/Context\"" - + "l\n\025PurgeContextsMetadata\022S\n\020generic_meta" - + "data\030\001 \001(\01329.google.cloud.aiplatform.v1b" - + "eta1.GenericOperationMetadata\"\337\001\n\'AddCon" - + "textArtifactsAndExecutionsRequest\022:\n\007con" - + "text\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleapi" - + "s.com/Context\022:\n\tartifacts\030\002 \003(\tB\'\372A$\n\"a" - + "iplatform.googleapis.com/Artifact\022<\n\nexe" - + "cutions\030\003 \003(\tB(\372A%\n#aiplatform.googleapi" - + "s.com/Execution\"*\n(AddContextArtifactsAn" - + "dExecutionsResponse\"\227\001\n\031AddContextChildr" - + "enRequest\022:\n\007context\030\001 \001(\tB)\340A\002\372A#\n!aipl" - + "atform.googleapis.com/Context\022>\n\016child_c" - + "ontexts\030\002 \003(\tB&\372A#\n!aiplatform.googleapi" - + "s.com/Context\"\034\n\032AddContextChildrenRespo" - + "nse\"`\n\"QueryContextLineageSubgraphReques" - + "t\022:\n\007context\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.g" - + "oogleapis.com/Context\"\263\001\n\026CreateExecutio" - + "nRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'aiplat" - + "form.googleapis.com/MetadataStore\022B\n\texe" - + "cution\030\002 \001(\0132*.google.cloud.aiplatform.v" - + "1beta1.ExecutionB\003\340A\002\022\024\n\014execution_id\030\003 " - + "\001(\t\"P\n\023GetExecutionRequest\0229\n\004name\030\001 \001(\t" - + "B+\340A\002\372A%\n#aiplatform.googleapis.com/Exec" - + "ution\"\213\001\n\025ListExecutionsRequest\022;\n\006paren" - + "t\030\001 \001(\tB+\340A\002\372A%\022#aiplatform.googleapis.c" - + "om/Execution\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" - + "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"q\n\026ListExecu" - + "tionsResponse\022>\n\nexecutions\030\001 \003(\0132*.goog" - + "le.cloud.aiplatform.v1beta1.Execution\022\027\n" - + "\017next_page_token\030\002 \001(\t\"\251\001\n\026UpdateExecuti" - + "onRequest\022B\n\texecution\030\001 \001(\0132*.google.cl" - + "oud.aiplatform.v1beta1.ExecutionB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" - + "ldMaskB\003\340A\001\022\025\n\rallow_missing\030\003 \001(\010\"f\n\026De" - + "leteExecutionRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372" - + "A%\n#aiplatform.googleapis.com/Execution\022" - + "\021\n\004etag\030\002 \001(\tB\003\340A\001\"~\n\026PurgeExecutionsReq" - + "uest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#aiplatform" - + ".googleapis.com/Execution\022\023\n\006filter\030\002 \001(" - + "\tB\003\340A\002\022\022\n\005force\030\003 \001(\010B\003\340A\001\"n\n\027PurgeExecu" - + "tionsResponse\022\023\n\013purge_count\030\001 \001(\003\022>\n\014pu" - + "rge_sample\030\002 \003(\tB(\372A%\n#aiplatform.google" - + "apis.com/Execution\"n\n\027PurgeExecutionsMet" - + "adata\022S\n\020generic_metadata\030\001 \001(\01329.google" - + ".cloud.aiplatform.v1beta1.GenericOperati" - + "onMetadata\"\223\001\n\031AddExecutionEventsRequest" - + "\022>\n\texecution\030\001 \001(\tB+\340A\002\372A%\n#aiplatform." - + "googleapis.com/Execution\0226\n\006events\030\002 \003(\013" - + "2&.google.cloud.aiplatform.v1beta1.Event" - + "\"\034\n\032AddExecutionEventsResponse\"g\n%QueryE" - + "xecutionInputsAndOutputsRequest\022>\n\texecu" - + "tion\030\001 \001(\tB+\340A\002\372A%\n#aiplatform.googleapi" - + "s.com/Execution\"\311\001\n\033CreateMetadataSchema" - + "Request\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'aiplatf" - + "orm.googleapis.com/MetadataStore\022M\n\017meta" - + "data_schema\030\002 \001(\0132/.google.cloud.aiplatf" - + "orm.v1beta1.MetadataSchemaB\003\340A\002\022\032\n\022metad" - + "ata_schema_id\030\003 \001(\t\"Z\n\030GetMetadataSchema" - + "Request\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(aiplatfor" - + "m.googleapis.com/MetadataSchema\"\225\001\n\032List" - + "MetadataSchemasRequest\022@\n\006parent\030\001 \001(\tB0" - + "\340A\002\372A*\022(aiplatform.googleapis.com/Metada" - + "taSchema\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" - + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\201\001\n\033ListMetadata" - + "SchemasResponse\022I\n\020metadata_schemas\030\001 \003(" - + "\0132/.google.cloud.aiplatform.v1beta1.Meta" - + "dataSchema\022\027\n\017next_page_token\030\002 \001(\t\"\205\001\n#" - + "QueryArtifactLineageSubgraphRequest\022<\n\010a" - + "rtifact\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.google" - + "apis.com/Artifact\022\020\n\010max_hops\030\002 \001(\005\022\016\n\006f" - + "ilter\030\003 \001(\t2\320;\n\017MetadataService\022\245\002\n\023Crea" - + "teMetadataStore\022;.google.cloud.aiplatfor" - + "m.v1beta1.CreateMetadataStoreRequest\032\035.g" - + "oogle.longrunning.Operation\"\261\001\202\323\344\223\002I\"7/v" - + "1beta1/{parent=projects/*/locations/*}/m" - + "etadataStores:\016metadata_store\332A\'parent,m" - + "etadata_store,metadata_store_id\312A5\n\rMeta" - + "dataStore\022$CreateMetadataStoreOperationM" - + "etadata\022\304\001\n\020GetMetadataStore\0228.google.cl" - + "oud.aiplatform.v1beta1.GetMetadataStoreR" - + "equest\032..google.cloud.aiplatform.v1beta1" - + ".MetadataStore\"F\202\323\344\223\0029\0227/v1beta1/{name=p" - + "rojects/*/locations/*/metadataStores/*}\332" - + "A\004name\022\327\001\n\022ListMetadataStores\022:.google.c" - + "loud.aiplatform.v1beta1.ListMetadataStor" - + "esRequest\032;.google.cloud.aiplatform.v1be" - + "ta1.ListMetadataStoresResponse\"H\202\323\344\223\0029\0227" - + "/v1beta1/{parent=projects/*/locations/*}" - + "/metadataStores\332A\006parent\022\372\001\n\023DeleteMetad" - + "ataStore\022;.google.cloud.aiplatform.v1bet" - + "a1.DeleteMetadataStoreRequest\032\035.google.l" - + "ongrunning.Operation\"\206\001\202\323\344\223\0029*7/v1beta1/" - + "{name=projects/*/locations/*/metadataSto" - + "res/*}\332A\004name\312A=\n\025google.protobuf.Empty\022" - + "$DeleteMetadataStoreOperationMetadata\022\350\001" - + "\n\016CreateArtifact\0226.google.cloud.aiplatfo" - + "rm.v1beta1.CreateArtifactRequest\032).googl" - + "e.cloud.aiplatform.v1beta1.Artifact\"s\202\323\344" - + "\223\002O\"C/v1beta1/{parent=projects/*/locatio" - + "ns/*/metadataStores/*}/artifacts:\010artifa" - + "ct\332A\033parent,artifact,artifact_id\022\301\001\n\013Get" - + "Artifact\0223.google.cloud.aiplatform.v1bet" - + "a1.GetArtifactRequest\032).google.cloud.aip" - + "latform.v1beta1.Artifact\"R\202\323\344\223\002E\022C/v1bet" - + "a1/{name=projects/*/locations/*/metadata" - + "Stores/*/artifacts/*}\332A\004name\022\324\001\n\rListArt" - + "ifacts\0225.google.cloud.aiplatform.v1beta1" - + ".ListArtifactsRequest\0326.google.cloud.aip" - + "latform.v1beta1.ListArtifactsResponse\"T\202" - + "\323\344\223\002E\022C/v1beta1/{parent=projects/*/locat" - + "ions/*/metadataStores/*}/artifacts\332A\006par" - + "ent\022\352\001\n\016UpdateArtifact\0226.google.cloud.ai" - + "platform.v1beta1.UpdateArtifactRequest\032)" - + ".google.cloud.aiplatform.v1beta1.Artifac" - + "t\"u\202\323\344\223\002X2L/v1beta1/{artifact.name=proje" - + "cts/*/locations/*/metadataStores/*/artif" - + "acts/*}:\010artifact\332A\024artifact,update_mask" - + "\022\357\001\n\016DeleteArtifact\0226.google.cloud.aipla" - + "tform.v1beta1.DeleteArtifactRequest\032\035.go" - + "ogle.longrunning.Operation\"\205\001\202\323\344\223\002E*C/v1" - + "beta1/{name=projects/*/locations/*/metad" - + "ataStores/*/artifacts/*}\332A\004name\312A0\n\025goog" - + "le.protobuf.Empty\022\027DeleteOperationMetada" - + "ta\022\372\001\n\016PurgeArtifacts\0226.google.cloud.aip" - + "latform.v1beta1.PurgeArtifactsRequest\032\035." - + "google.longrunning.Operation\"\220\001\202\323\344\223\002N\"I/" - + "v1beta1/{parent=projects/*/locations/*/m" - + "etadataStores/*}/artifacts:purge:\001*\332A\006pa" - + "rent\312A0\n\026PurgeArtifactsResponse\022\026PurgeAr" - + "tifactsMetadata\022\341\001\n\rCreateContext\0225.goog" - + "le.cloud.aiplatform.v1beta1.CreateContex" - + "tRequest\032(.google.cloud.aiplatform.v1bet" - + "a1.Context\"o\202\323\344\223\002M\"B/v1beta1/{parent=pro" - + "jects/*/locations/*/metadataStores/*}/co" - + "ntexts:\007context\332A\031parent,context,context" - + "_id\022\275\001\n\nGetContext\0222.google.cloud.aiplat" - + "form.v1beta1.GetContextRequest\032(.google." - + "cloud.aiplatform.v1beta1.Context\"Q\202\323\344\223\002D" - + "\022B/v1beta1/{name=projects/*/locations/*/" - + "metadataStores/*/contexts/*}\332A\004name\022\320\001\n\014" - + "ListContexts\0224.google.cloud.aiplatform.v" - + "1beta1.ListContextsRequest\0325.google.clou" - + "d.aiplatform.v1beta1.ListContextsRespons" - + "e\"S\202\323\344\223\002D\022B/v1beta1/{parent=projects/*/l" - + "ocations/*/metadataStores/*}/contexts\332A\006" - + "parent\022\343\001\n\rUpdateContext\0225.google.cloud." - + "aiplatform.v1beta1.UpdateContextRequest\032" - + "(.google.cloud.aiplatform.v1beta1.Contex" - + "t\"q\202\323\344\223\002U2J/v1beta1/{context.name=projec" - + "ts/*/locations/*/metadataStores/*/contex" - + "ts/*}:\007context\332A\023context,update_mask\022\354\001\n" - + "\rDeleteContext\0225.google.cloud.aiplatform" - + ".v1beta1.DeleteContextRequest\032\035.google.l" - + "ongrunning.Operation\"\204\001\202\323\344\223\002D*B/v1beta1/" - + "{name=projects/*/locations/*/metadataSto" - + "res/*/contexts/*}\332A\004name\312A0\n\025google.prot" - + "obuf.Empty\022\027DeleteOperationMetadata\022\365\001\n\r" - + "PurgeContexts\0225.google.cloud.aiplatform." - + "v1beta1.PurgeContextsRequest\032\035.google.lo" - + "ngrunning.Operation\"\215\001\202\323\344\223\002M\"H/v1beta1/{" - + "parent=projects/*/locations/*/metadataSt" - + "ores/*}/contexts:purge:\001*\332A\006parent\312A.\n\025P" - + "urgeContextsResponse\022\025PurgeContextsMetad" - + "ata\022\312\002\n AddContextArtifactsAndExecutions" - + "\022H.google.cloud.aiplatform.v1beta1.AddCo" - + "ntextArtifactsAndExecutionsRequest\032I.goo" - + "gle.cloud.aiplatform.v1beta1.AddContextA" - + "rtifactsAndExecutionsResponse\"\220\001\202\323\344\223\002k\"f" - + "/v1beta1/{context=projects/*/locations/*" - + "/metadataStores/*/contexts/*}:addContext" - + "ArtifactsAndExecutions:\001*\332A\034context,arti" - + "facts,executions\022\213\002\n\022AddContextChildren\022" - + ":.google.cloud.aiplatform.v1beta1.AddCon" - + "textChildrenRequest\032;.google.cloud.aipla" - + "tform.v1beta1.AddContextChildrenResponse" - + "\"|\202\323\344\223\002]\"X/v1beta1/{context=projects/*/l" - + "ocations/*/metadataStores/*/contexts/*}:" - + "addContextChildren:\001*\332A\026context,child_co" - + "ntexts\022\211\002\n\033QueryContextLineageSubgraph\022C" - + ".google.cloud.aiplatform.v1beta1.QueryCo" - + "ntextLineageSubgraphRequest\0320.google.clo" - + "ud.aiplatform.v1beta1.LineageSubgraph\"s\202" - + "\323\344\223\002c\022a/v1beta1/{context=projects/*/loca" - + "tions/*/metadataStores/*/contexts/*}:que" - + "ryContextLineageSubgraph\332A\007context\022\357\001\n\017C" - + "reateExecution\0227.google.cloud.aiplatform" - + ".v1beta1.CreateExecutionRequest\032*.google" - + ".cloud.aiplatform.v1beta1.Execution\"w\202\323\344" - + "\223\002Q\"D/v1beta1/{parent=projects/*/locatio" - + "ns/*/metadataStores/*}/executions:\texecu" - + "tion\332A\035parent,execution,execution_id\022\305\001\n" - + "\014GetExecution\0224.google.cloud.aiplatform." - + "v1beta1.GetExecutionRequest\032*.google.clo" - + "ud.aiplatform.v1beta1.Execution\"S\202\323\344\223\002F\022" - + "D/v1beta1/{name=projects/*/locations/*/m" - + "etadataStores/*/executions/*}\332A\004name\022\330\001\n" - + "\016ListExecutions\0226.google.cloud.aiplatfor" - + "m.v1beta1.ListExecutionsRequest\0327.google" - + ".cloud.aiplatform.v1beta1.ListExecutions" - + "Response\"U\202\323\344\223\002F\022D/v1beta1/{parent=proje" - + "cts/*/locations/*/metadataStores/*}/exec" - + "utions\332A\006parent\022\361\001\n\017UpdateExecution\0227.go" - + "ogle.cloud.aiplatform.v1beta1.UpdateExec" - + "utionRequest\032*.google.cloud.aiplatform.v" - + "1beta1.Execution\"y\202\323\344\223\002[2N/v1beta1/{exec" - + "ution.name=projects/*/locations/*/metada" - + "taStores/*/executions/*}:\texecution\332A\025ex" - + "ecution,update_mask\022\362\001\n\017DeleteExecution\022" - + "7.google.cloud.aiplatform.v1beta1.Delete" - + "ExecutionRequest\032\035.google.longrunning.Op" - + "eration\"\206\001\202\323\344\223\002F*D/v1beta1/{name=project" - + "s/*/locations/*/metadataStores/*/executi" - + "ons/*}\332A\004name\312A0\n\025google.protobuf.Empty\022" - + "\027DeleteOperationMetadata\022\377\001\n\017PurgeExecut" - + "ions\0227.google.cloud.aiplatform.v1beta1.P" - + "urgeExecutionsRequest\032\035.google.longrunni" - + "ng.Operation\"\223\001\202\323\344\223\002O\"J/v1beta1/{parent=" - + "projects/*/locations/*/metadataStores/*}" - + "/executions:purge:\001*\332A\006parent\312A2\n\027PurgeE" - + "xecutionsResponse\022\027PurgeExecutionsMetada" - + "ta\022\211\002\n\022AddExecutionEvents\022:.google.cloud" - + ".aiplatform.v1beta1.AddExecutionEventsRe" - + "quest\032;.google.cloud.aiplatform.v1beta1." - + "AddExecutionEventsResponse\"z\202\323\344\223\002a\"\\/v1b" - + "eta1/{execution=projects/*/locations/*/m" - + "etadataStores/*/executions/*}:addExecuti" - + "onEvents:\001*\332A\020execution,events\022\230\002\n\036Query" - + "ExecutionInputsAndOutputs\022F.google.cloud" - + ".aiplatform.v1beta1.QueryExecutionInputs" - + "AndOutputsRequest\0320.google.cloud.aiplatf" - + "orm.v1beta1.LineageSubgraph\"|\202\323\344\223\002j\022h/v1" - + "beta1/{execution=projects/*/locations/*/" - + "metadataStores/*/executions/*}:queryExec" - + "utionInputsAndOutputs\332A\texecution\022\226\002\n\024Cr" - + "eateMetadataSchema\022<.google.cloud.aiplat" - + "form.v1beta1.CreateMetadataSchemaRequest" - + "\032/.google.cloud.aiplatform.v1beta1.Metad" - + "ataSchema\"\216\001\202\323\344\223\002\\\"I/v1beta1/{parent=pro" - + "jects/*/locations/*/metadataStores/*}/me" - + "tadataSchemas:\017metadata_schema\332A)parent," - + "metadata_schema,metadata_schema_id\022\331\001\n\021G" - + "etMetadataSchema\0229.google.cloud.aiplatfo" - + "rm.v1beta1.GetMetadataSchemaRequest\032/.go" - + "ogle.cloud.aiplatform.v1beta1.MetadataSc" - + "hema\"X\202\323\344\223\002K\022I/v1beta1/{name=projects/*/" - + "locations/*/metadataStores/*/metadataSch" - + "emas/*}\332A\004name\022\354\001\n\023ListMetadataSchemas\022;" - + ".google.cloud.aiplatform.v1beta1.ListMet" - + "adataSchemasRequest\032<.google.cloud.aipla" - + "tform.v1beta1.ListMetadataSchemasRespons" - + "e\"Z\202\323\344\223\002K\022I/v1beta1/{parent=projects/*/l" - + "ocations/*/metadataStores/*}/metadataSch" - + "emas\332A\006parent\022\217\002\n\034QueryArtifactLineageSu" - + "bgraph\022D.google.cloud.aiplatform.v1beta1" - + ".QueryArtifactLineageSubgraphRequest\0320.g" - + "oogle.cloud.aiplatform.v1beta1.LineageSu" - + "bgraph\"w\202\323\344\223\002f\022d/v1beta1/{artifact=proje" - + "cts/*/locations/*/metadataStores/*/artif" - + "acts/*}:queryArtifactLineageSubgraph\332A\010a" - + "rtifact\032M\312A\031aiplatform.googleapis.com\322A." - + "https://www.googleapis.com/auth/cloud-pl" - + "atformB\361\001\n#com.google.cloud.aiplatform.v" - + "1beta1B\024MetadataServiceProtoP\001ZIgoogle.g" - + "olang.org/genproto/googleapis/cloud/aipl" - + "atform/v1beta1;aiplatform\252\002\037Google.Cloud" - + ".AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPla" - + "tform\\V1beta1\352\002\"Google::Cloud::AIPlatfor" - + "m::V1beta1b\006proto3" + + "\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"n\n\025L" + + "istArtifactsResponse\022<\n\tartifacts\030\001 \003(\0132" + + ").google.cloud.aiplatform.v1beta1.Artifa" + + "ct\022\027\n\017next_page_token\030\002 \001(\t\"\246\001\n\025UpdateAr" + + "tifactRequest\022@\n\010artifact\030\001 \001(\0132).google" + + ".cloud.aiplatform.v1beta1.ArtifactB\003\340A\002\022" + + "4\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMaskB\003\340A\001\022\025\n\rallow_missing\030\003 \001(\010\"d\n\025" + + "DeleteArtifactRequest\0228\n\004name\030\001 \001(\tB*\340A\002" + + "\372A$\n\"aiplatform.googleapis.com/Artifact\022" + + "\021\n\004etag\030\002 \001(\tB\003\340A\001\"|\n\025PurgeArtifactsRequ" + + "est\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"aiplatform." + + "googleapis.com/Artifact\022\023\n\006filter\030\002 \001(\tB" + + "\003\340A\002\022\022\n\005force\030\003 \001(\010B\003\340A\001\"l\n\026PurgeArtifac" + + "tsResponse\022\023\n\013purge_count\030\001 \001(\003\022=\n\014purge" + + "_sample\030\002 \003(\tB\'\372A$\n\"aiplatform.googleapi" + + "s.com/Artifact\"m\n\026PurgeArtifactsMetadata" + + "\022S\n\020generic_metadata\030\001 \001(\01329.google.clou" + + "d.aiplatform.v1beta1.GenericOperationMet" + + "adata\"\253\001\n\024CreateContextRequest\022?\n\006parent" + + "\030\001 \001(\tB/\340A\002\372A)\n\'aiplatform.googleapis.co" + + "m/MetadataStore\022>\n\007context\030\002 \001(\0132(.googl" + + "e.cloud.aiplatform.v1beta1.ContextB\003\340A\002\022" + + "\022\n\ncontext_id\030\003 \001(\t\"L\n\021GetContextRequest" + + "\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googl" + + "eapis.com/Context\"\231\001\n\023ListContextsReques" + + "t\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!aiplatform.go" + + "ogleapis.com/Context\022\021\n\tpage_size\030\002 \001(\005\022" + + "\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010o" + + "rder_by\030\005 \001(\t\"k\n\024ListContextsResponse\022:\n" + + "\010contexts\030\001 \003(\0132(.google.cloud.aiplatfor" + + "m.v1beta1.Context\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\243\001\n\024UpdateContextRequest\022>\n\007context\030\001" + + " \001(\0132(.google.cloud.aiplatform.v1beta1.C" + + "ontextB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\001\022\025\n\rallow_missi" + + "ng\030\003 \001(\010\"q\n\024DeleteContextRequest\0227\n\004name" + + "\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleapis.co" + + "m/Context\022\r\n\005force\030\002 \001(\010\022\021\n\004etag\030\003 \001(\tB\003" + + "\340A\001\"z\n\024PurgeContextsRequest\0229\n\006parent\030\001 " + + "\001(\tB)\340A\002\372A#\022!aiplatform.googleapis.com/C" + + "ontext\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\005force\030\003 \001" + + "(\010B\003\340A\001\"j\n\025PurgeContextsResponse\022\023\n\013purg" + + "e_count\030\001 \001(\003\022<\n\014purge_sample\030\002 \003(\tB&\372A#" + + "\n!aiplatform.googleapis.com/Context\"l\n\025P" + + "urgeContextsMetadata\022S\n\020generic_metadata" + + "\030\001 \001(\01329.google.cloud.aiplatform.v1beta1" + + ".GenericOperationMetadata\"\337\001\n\'AddContext" + + "ArtifactsAndExecutionsRequest\022:\n\007context" + + "\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleapis.co" + + "m/Context\022:\n\tartifacts\030\002 \003(\tB\'\372A$\n\"aipla" + + "tform.googleapis.com/Artifact\022<\n\nexecuti" + + "ons\030\003 \003(\tB(\372A%\n#aiplatform.googleapis.co" + + "m/Execution\"*\n(AddContextArtifactsAndExe" + + "cutionsResponse\"\227\001\n\031AddContextChildrenRe" + + "quest\022:\n\007context\030\001 \001(\tB)\340A\002\372A#\n!aiplatfo" + + "rm.googleapis.com/Context\022>\n\016child_conte" + + "xts\030\002 \003(\tB&\372A#\n!aiplatform.googleapis.co" + + "m/Context\"\034\n\032AddContextChildrenResponse\"" + + "\232\001\n\034RemoveContextChildrenRequest\022:\n\007cont" + + "ext\030\001 \001(\tB)\340A\002\372A#\n!aiplatform.googleapis" + + ".com/Context\022>\n\016child_contexts\030\002 \003(\tB&\372A" + + "#\n!aiplatform.googleapis.com/Context\"\037\n\035" + + "RemoveContextChildrenResponse\"`\n\"QueryCo" + + "ntextLineageSubgraphRequest\022:\n\007context\030\001" + + " \001(\tB)\340A\002\372A#\n!aiplatform.googleapis.com/" + + "Context\"\263\001\n\026CreateExecutionRequest\022?\n\006pa" + + "rent\030\001 \001(\tB/\340A\002\372A)\n\'aiplatform.googleapi" + + "s.com/MetadataStore\022B\n\texecution\030\002 \001(\0132*" + + ".google.cloud.aiplatform.v1beta1.Executi" + + "onB\003\340A\002\022\024\n\014execution_id\030\003 \001(\t\"P\n\023GetExec" + + "utionRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#aipl" + + "atform.googleapis.com/Execution\"\235\001\n\025List" + + "ExecutionsRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A" + + "%\022#aiplatform.googleapis.com/Execution\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n" + + "\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"q\n\026ListE" + + "xecutionsResponse\022>\n\nexecutions\030\001 \003(\0132*." + + "google.cloud.aiplatform.v1beta1.Executio" + + "n\022\027\n\017next_page_token\030\002 \001(\t\"\251\001\n\026UpdateExe" + + "cutionRequest\022B\n\texecution\030\001 \001(\0132*.googl" + + "e.cloud.aiplatform.v1beta1.ExecutionB\003\340A" + + "\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMaskB\003\340A\001\022\025\n\rallow_missing\030\003 \001(\010\"f" + + "\n\026DeleteExecutionRequest\0229\n\004name\030\001 \001(\tB+" + + "\340A\002\372A%\n#aiplatform.googleapis.com/Execut" + + "ion\022\021\n\004etag\030\002 \001(\tB\003\340A\001\"~\n\026PurgeExecution" + + "sRequest\022;\n\006parent\030\001 \001(\tB+\340A\002\372A%\022#aiplat" + + "form.googleapis.com/Execution\022\023\n\006filter\030" + + "\002 \001(\tB\003\340A\002\022\022\n\005force\030\003 \001(\010B\003\340A\001\"n\n\027PurgeE" + + "xecutionsResponse\022\023\n\013purge_count\030\001 \001(\003\022>" + + "\n\014purge_sample\030\002 \003(\tB(\372A%\n#aiplatform.go" + + "ogleapis.com/Execution\"n\n\027PurgeExecution" + + "sMetadata\022S\n\020generic_metadata\030\001 \001(\01329.go" + + "ogle.cloud.aiplatform.v1beta1.GenericOpe" + + "rationMetadata\"\223\001\n\031AddExecutionEventsReq" + + "uest\022>\n\texecution\030\001 \001(\tB+\340A\002\372A%\n#aiplatf" + + "orm.googleapis.com/Execution\0226\n\006events\030\002" + + " \003(\0132&.google.cloud.aiplatform.v1beta1.E" + + "vent\"\034\n\032AddExecutionEventsResponse\"g\n%Qu" + + "eryExecutionInputsAndOutputsRequest\022>\n\te" + + "xecution\030\001 \001(\tB+\340A\002\372A%\n#aiplatform.googl" + + "eapis.com/Execution\"\311\001\n\033CreateMetadataSc" + + "hemaRequest\022?\n\006parent\030\001 \001(\tB/\340A\002\372A)\n\'aip" + + "latform.googleapis.com/MetadataStore\022M\n\017" + + "metadata_schema\030\002 \001(\0132/.google.cloud.aip" + + "latform.v1beta1.MetadataSchemaB\003\340A\002\022\032\n\022m" + + "etadata_schema_id\030\003 \001(\t\"Z\n\030GetMetadataSc" + + "hemaRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(aipla" + + "tform.googleapis.com/MetadataSchema\"\225\001\n\032" + + "ListMetadataSchemasRequest\022@\n\006parent\030\001 \001" + + "(\tB0\340A\002\372A*\022(aiplatform.googleapis.com/Me" + + "tadataSchema\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\201\001\n\033ListMeta" + + "dataSchemasResponse\022I\n\020metadata_schemas\030" + + "\001 \003(\0132/.google.cloud.aiplatform.v1beta1." + + "MetadataSchema\022\027\n\017next_page_token\030\002 \001(\t\"" + + "\205\001\n#QueryArtifactLineageSubgraphRequest\022" + + "<\n\010artifact\030\001 \001(\tB*\340A\002\372A$\n\"aiplatform.go" + + "ogleapis.com/Artifact\022\020\n\010max_hops\030\002 \001(\005\022" + + "\016\n\006filter\030\003 \001(\t2\352=\n\017MetadataService\022\245\002\n\023" + + "CreateMetadataStore\022;.google.cloud.aipla" + + "tform.v1beta1.CreateMetadataStoreRequest" + + "\032\035.google.longrunning.Operation\"\261\001\202\323\344\223\002I" + + "\"7/v1beta1/{parent=projects/*/locations/" + + "*}/metadataStores:\016metadata_store\332A\'pare" + + "nt,metadata_store,metadata_store_id\312A5\n\r" + + "MetadataStore\022$CreateMetadataStoreOperat" + + "ionMetadata\022\304\001\n\020GetMetadataStore\0228.googl" + + "e.cloud.aiplatform.v1beta1.GetMetadataSt" + + "oreRequest\032..google.cloud.aiplatform.v1b" + + "eta1.MetadataStore\"F\202\323\344\223\0029\0227/v1beta1/{na" + + "me=projects/*/locations/*/metadataStores" + + "/*}\332A\004name\022\327\001\n\022ListMetadataStores\022:.goog" + + "le.cloud.aiplatform.v1beta1.ListMetadata" + + "StoresRequest\032;.google.cloud.aiplatform." + + "v1beta1.ListMetadataStoresResponse\"H\202\323\344\223" + + "\0029\0227/v1beta1/{parent=projects/*/location" + + "s/*}/metadataStores\332A\006parent\022\372\001\n\023DeleteM" + + "etadataStore\022;.google.cloud.aiplatform.v" + + "1beta1.DeleteMetadataStoreRequest\032\035.goog" + + "le.longrunning.Operation\"\206\001\202\323\344\223\0029*7/v1be" + + "ta1/{name=projects/*/locations/*/metadat" + + "aStores/*}\332A\004name\312A=\n\025google.protobuf.Em" + + "pty\022$DeleteMetadataStoreOperationMetadat" + + "a\022\350\001\n\016CreateArtifact\0226.google.cloud.aipl" + + "atform.v1beta1.CreateArtifactRequest\032).g" + + "oogle.cloud.aiplatform.v1beta1.Artifact\"" + + "s\202\323\344\223\002O\"C/v1beta1/{parent=projects/*/loc" + + "ations/*/metadataStores/*}/artifacts:\010ar" + + "tifact\332A\033parent,artifact,artifact_id\022\301\001\n" + + "\013GetArtifact\0223.google.cloud.aiplatform.v" + + "1beta1.GetArtifactRequest\032).google.cloud" + + ".aiplatform.v1beta1.Artifact\"R\202\323\344\223\002E\022C/v" + + "1beta1/{name=projects/*/locations/*/meta" + + "dataStores/*/artifacts/*}\332A\004name\022\324\001\n\rLis" + + "tArtifacts\0225.google.cloud.aiplatform.v1b" + + "eta1.ListArtifactsRequest\0326.google.cloud" + + ".aiplatform.v1beta1.ListArtifactsRespons" + + "e\"T\202\323\344\223\002E\022C/v1beta1/{parent=projects/*/l" + + "ocations/*/metadataStores/*}/artifacts\332A" + + "\006parent\022\352\001\n\016UpdateArtifact\0226.google.clou" + + "d.aiplatform.v1beta1.UpdateArtifactReque" + + "st\032).google.cloud.aiplatform.v1beta1.Art" + + "ifact\"u\202\323\344\223\002X2L/v1beta1/{artifact.name=p" + + "rojects/*/locations/*/metadataStores/*/a" + + "rtifacts/*}:\010artifact\332A\024artifact,update_" + + "mask\022\357\001\n\016DeleteArtifact\0226.google.cloud.a" + + "iplatform.v1beta1.DeleteArtifactRequest\032" + + "\035.google.longrunning.Operation\"\205\001\202\323\344\223\002E*" + + "C/v1beta1/{name=projects/*/locations/*/m" + + "etadataStores/*/artifacts/*}\332A\004name\312A0\n\025" + + "google.protobuf.Empty\022\027DeleteOperationMe" + + "tadata\022\372\001\n\016PurgeArtifacts\0226.google.cloud" + + ".aiplatform.v1beta1.PurgeArtifactsReques" + + "t\032\035.google.longrunning.Operation\"\220\001\202\323\344\223\002" + + "N\"I/v1beta1/{parent=projects/*/locations" + + "/*/metadataStores/*}/artifacts:purge:\001*\332" + + "A\006parent\312A0\n\026PurgeArtifactsResponse\022\026Pur" + + "geArtifactsMetadata\022\341\001\n\rCreateContext\0225." + + "google.cloud.aiplatform.v1beta1.CreateCo" + + "ntextRequest\032(.google.cloud.aiplatform.v" + + "1beta1.Context\"o\202\323\344\223\002M\"B/v1beta1/{parent" + + "=projects/*/locations/*/metadataStores/*" + + "}/contexts:\007context\332A\031parent,context,con" + + "text_id\022\275\001\n\nGetContext\0222.google.cloud.ai" + + "platform.v1beta1.GetContextRequest\032(.goo" + + "gle.cloud.aiplatform.v1beta1.Context\"Q\202\323" + + "\344\223\002D\022B/v1beta1/{name=projects/*/location" + + "s/*/metadataStores/*/contexts/*}\332A\004name\022" + + "\320\001\n\014ListContexts\0224.google.cloud.aiplatfo" + + "rm.v1beta1.ListContextsRequest\0325.google." + + "cloud.aiplatform.v1beta1.ListContextsRes" + + "ponse\"S\202\323\344\223\002D\022B/v1beta1/{parent=projects" + + "/*/locations/*/metadataStores/*}/context" + + "s\332A\006parent\022\343\001\n\rUpdateContext\0225.google.cl" + + "oud.aiplatform.v1beta1.UpdateContextRequ" + + "est\032(.google.cloud.aiplatform.v1beta1.Co" + + "ntext\"q\202\323\344\223\002U2J/v1beta1/{context.name=pr" + + "ojects/*/locations/*/metadataStores/*/co" + + "ntexts/*}:\007context\332A\023context,update_mask" + + "\022\354\001\n\rDeleteContext\0225.google.cloud.aiplat" + + "form.v1beta1.DeleteContextRequest\032\035.goog" + + "le.longrunning.Operation\"\204\001\202\323\344\223\002D*B/v1be" + + "ta1/{name=projects/*/locations/*/metadat" + + "aStores/*/contexts/*}\332A\004name\312A0\n\025google." + + "protobuf.Empty\022\027DeleteOperationMetadata\022" + + "\365\001\n\rPurgeContexts\0225.google.cloud.aiplatf" + + "orm.v1beta1.PurgeContextsRequest\032\035.googl" + + "e.longrunning.Operation\"\215\001\202\323\344\223\002M\"H/v1bet" + + "a1/{parent=projects/*/locations/*/metada" + + "taStores/*}/contexts:purge:\001*\332A\006parent\312A" + + ".\n\025PurgeContextsResponse\022\025PurgeContextsM" + + "etadata\022\312\002\n AddContextArtifactsAndExecut" + + "ions\022H.google.cloud.aiplatform.v1beta1.A" + + "ddContextArtifactsAndExecutionsRequest\032I" + + ".google.cloud.aiplatform.v1beta1.AddCont" + + "extArtifactsAndExecutionsResponse\"\220\001\202\323\344\223" + + "\002k\"f/v1beta1/{context=projects/*/locatio" + + "ns/*/metadataStores/*/contexts/*}:addCon" + + "textArtifactsAndExecutions:\001*\332A\034context," + + "artifacts,executions\022\213\002\n\022AddContextChild" + + "ren\022:.google.cloud.aiplatform.v1beta1.Ad" + + "dContextChildrenRequest\032;.google.cloud.a" + + "iplatform.v1beta1.AddContextChildrenResp" + + "onse\"|\202\323\344\223\002]\"X/v1beta1/{context=projects" + + "/*/locations/*/metadataStores/*/contexts" + + "/*}:addContextChildren:\001*\332A\026context,chil" + + "d_contexts\022\227\002\n\025RemoveContextChildren\022=.g" + + "oogle.cloud.aiplatform.v1beta1.RemoveCon" + + "textChildrenRequest\032>.google.cloud.aipla" + + "tform.v1beta1.RemoveContextChildrenRespo" + + "nse\"\177\202\323\344\223\002`\"[/v1beta1/{context=projects/" + + "*/locations/*/metadataStores/*/contexts/" + + "*}:removeContextChildren:\001*\332A\026context,ch" + + "ild_contexts\022\211\002\n\033QueryContextLineageSubg" + + "raph\022C.google.cloud.aiplatform.v1beta1.Q" + + "ueryContextLineageSubgraphRequest\0320.goog" + + "le.cloud.aiplatform.v1beta1.LineageSubgr" + + "aph\"s\202\323\344\223\002c\022a/v1beta1/{context=projects/" + + "*/locations/*/metadataStores/*/contexts/" + + "*}:queryContextLineageSubgraph\332A\007context" + + "\022\357\001\n\017CreateExecution\0227.google.cloud.aipl" + + "atform.v1beta1.CreateExecutionRequest\032*." + + "google.cloud.aiplatform.v1beta1.Executio" + + "n\"w\202\323\344\223\002Q\"D/v1beta1/{parent=projects/*/l" + + "ocations/*/metadataStores/*}/executions:" + + "\texecution\332A\035parent,execution,execution_" + + "id\022\305\001\n\014GetExecution\0224.google.cloud.aipla" + + "tform.v1beta1.GetExecutionRequest\032*.goog" + + "le.cloud.aiplatform.v1beta1.Execution\"S\202" + + "\323\344\223\002F\022D/v1beta1/{name=projects/*/locatio" + + "ns/*/metadataStores/*/executions/*}\332A\004na" + + "me\022\330\001\n\016ListExecutions\0226.google.cloud.aip" + + "latform.v1beta1.ListExecutionsRequest\0327." + + "google.cloud.aiplatform.v1beta1.ListExec" + + "utionsResponse\"U\202\323\344\223\002F\022D/v1beta1/{parent" + + "=projects/*/locations/*/metadataStores/*" + + "}/executions\332A\006parent\022\361\001\n\017UpdateExecutio" + + "n\0227.google.cloud.aiplatform.v1beta1.Upda" + + "teExecutionRequest\032*.google.cloud.aiplat" + + "form.v1beta1.Execution\"y\202\323\344\223\002[2N/v1beta1" + + "/{execution.name=projects/*/locations/*/" + + "metadataStores/*/executions/*}:\texecutio" + + "n\332A\025execution,update_mask\022\362\001\n\017DeleteExec" + + "ution\0227.google.cloud.aiplatform.v1beta1." + + "DeleteExecutionRequest\032\035.google.longrunn" + + "ing.Operation\"\206\001\202\323\344\223\002F*D/v1beta1/{name=p" + + "rojects/*/locations/*/metadataStores/*/e" + + "xecutions/*}\332A\004name\312A0\n\025google.protobuf." + + "Empty\022\027DeleteOperationMetadata\022\377\001\n\017Purge" + + "Executions\0227.google.cloud.aiplatform.v1b" + + "eta1.PurgeExecutionsRequest\032\035.google.lon" + + "grunning.Operation\"\223\001\202\323\344\223\002O\"J/v1beta1/{p" + + "arent=projects/*/locations/*/metadataSto" + + "res/*}/executions:purge:\001*\332A\006parent\312A2\n\027" + + "PurgeExecutionsResponse\022\027PurgeExecutions" + + "Metadata\022\211\002\n\022AddExecutionEvents\022:.google" + + ".cloud.aiplatform.v1beta1.AddExecutionEv" + + "entsRequest\032;.google.cloud.aiplatform.v1" + + "beta1.AddExecutionEventsResponse\"z\202\323\344\223\002a" + + "\"\\/v1beta1/{execution=projects/*/locatio" + + "ns/*/metadataStores/*/executions/*}:addE" + + "xecutionEvents:\001*\332A\020execution,events\022\230\002\n" + + "\036QueryExecutionInputsAndOutputs\022F.google" + + ".cloud.aiplatform.v1beta1.QueryExecution" + + "InputsAndOutputsRequest\0320.google.cloud.a" + + "iplatform.v1beta1.LineageSubgraph\"|\202\323\344\223\002" + + "j\022h/v1beta1/{execution=projects/*/locati" + + "ons/*/metadataStores/*/executions/*}:que" + + "ryExecutionInputsAndOutputs\332A\texecution\022" + + "\226\002\n\024CreateMetadataSchema\022<.google.cloud." + + "aiplatform.v1beta1.CreateMetadataSchemaR" + + "equest\032/.google.cloud.aiplatform.v1beta1" + + ".MetadataSchema\"\216\001\202\323\344\223\002\\\"I/v1beta1/{pare" + + "nt=projects/*/locations/*/metadataStores" + + "/*}/metadataSchemas:\017metadata_schema\332A)p" + + "arent,metadata_schema,metadata_schema_id" + + "\022\331\001\n\021GetMetadataSchema\0229.google.cloud.ai" + + "platform.v1beta1.GetMetadataSchemaReques" + + "t\032/.google.cloud.aiplatform.v1beta1.Meta" + + "dataSchema\"X\202\323\344\223\002K\022I/v1beta1/{name=proje" + + "cts/*/locations/*/metadataStores/*/metad" + + "ataSchemas/*}\332A\004name\022\354\001\n\023ListMetadataSch" + + "emas\022;.google.cloud.aiplatform.v1beta1.L" + + "istMetadataSchemasRequest\032<.google.cloud" + + ".aiplatform.v1beta1.ListMetadataSchemasR" + + "esponse\"Z\202\323\344\223\002K\022I/v1beta1/{parent=projec" + + "ts/*/locations/*/metadataStores/*}/metad" + + "ataSchemas\332A\006parent\022\217\002\n\034QueryArtifactLin" + + "eageSubgraph\022D.google.cloud.aiplatform.v" + + "1beta1.QueryArtifactLineageSubgraphReque" + + "st\0320.google.cloud.aiplatform.v1beta1.Lin" + + "eageSubgraph\"w\202\323\344\223\002f\022d/v1beta1/{artifact" + + "=projects/*/locations/*/metadataStores/*" + + "/artifacts/*}:queryArtifactLineageSubgra" + + "ph\332A\010artifact\032M\312A\031aiplatform.googleapis." + + "com\322A.https://www.googleapis.com/auth/cl" + + "oud-platformB\361\001\n#com.google.cloud.aiplat" + + "form.v1beta1B\024MetadataServiceProtoP\001ZIgo" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/aiplatform/v1beta1;aiplatform\252\002\037Google" + + ".Cloud.AIPlatform.V1Beta1\312\002\037Google\\Cloud" + + "\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AIP" + + "latform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -683,7 +704,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListArtifactsRequest_descriptor, new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_aiplatform_v1beta1_ListArtifactsResponse_descriptor = getDescriptor().getMessageTypes().get(10); @@ -755,7 +776,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListContextsRequest_descriptor, new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_aiplatform_v1beta1_ListContextsResponse_descriptor = getDescriptor().getMessageTypes().get(19); @@ -833,8 +854,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_AddContextChildrenResponse_descriptor, new java.lang.String[] {}); - internal_static_google_cloud_aiplatform_v1beta1_QueryContextLineageSubgraphRequest_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenRequest_descriptor = getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenRequest_descriptor, + new java.lang.String[] { + "Context", "ChildContexts", + }); + internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenResponse_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_aiplatform_v1beta1_QueryContextLineageSubgraphRequest_descriptor = + getDescriptor().getMessageTypes().get(31); internal_static_google_cloud_aiplatform_v1beta1_QueryContextLineageSubgraphRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_QueryContextLineageSubgraphRequest_descriptor, @@ -842,7 +877,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Context", }); internal_static_google_cloud_aiplatform_v1beta1_CreateExecutionRequest_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(32); internal_static_google_cloud_aiplatform_v1beta1_CreateExecutionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_CreateExecutionRequest_descriptor, @@ -850,7 +885,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Execution", "ExecutionId", }); internal_static_google_cloud_aiplatform_v1beta1_GetExecutionRequest_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(33); internal_static_google_cloud_aiplatform_v1beta1_GetExecutionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_GetExecutionRequest_descriptor, @@ -858,15 +893,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1beta1_ListExecutionsRequest_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(34); internal_static_google_cloud_aiplatform_v1beta1_ListExecutionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListExecutionsRequest_descriptor, new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_aiplatform_v1beta1_ListExecutionsResponse_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(35); internal_static_google_cloud_aiplatform_v1beta1_ListExecutionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListExecutionsResponse_descriptor, @@ -874,7 +909,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Executions", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1beta1_UpdateExecutionRequest_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(36); internal_static_google_cloud_aiplatform_v1beta1_UpdateExecutionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_UpdateExecutionRequest_descriptor, @@ -882,7 +917,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Execution", "UpdateMask", "AllowMissing", }); internal_static_google_cloud_aiplatform_v1beta1_DeleteExecutionRequest_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageTypes().get(37); internal_static_google_cloud_aiplatform_v1beta1_DeleteExecutionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_DeleteExecutionRequest_descriptor, @@ -890,7 +925,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Etag", }); internal_static_google_cloud_aiplatform_v1beta1_PurgeExecutionsRequest_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageTypes().get(38); internal_static_google_cloud_aiplatform_v1beta1_PurgeExecutionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_PurgeExecutionsRequest_descriptor, @@ -898,7 +933,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "Force", }); internal_static_google_cloud_aiplatform_v1beta1_PurgeExecutionsResponse_descriptor = - getDescriptor().getMessageTypes().get(37); + getDescriptor().getMessageTypes().get(39); internal_static_google_cloud_aiplatform_v1beta1_PurgeExecutionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_PurgeExecutionsResponse_descriptor, @@ -906,7 +941,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PurgeCount", "PurgeSample", }); internal_static_google_cloud_aiplatform_v1beta1_PurgeExecutionsMetadata_descriptor = - getDescriptor().getMessageTypes().get(38); + getDescriptor().getMessageTypes().get(40); internal_static_google_cloud_aiplatform_v1beta1_PurgeExecutionsMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_PurgeExecutionsMetadata_descriptor, @@ -914,7 +949,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "GenericMetadata", }); internal_static_google_cloud_aiplatform_v1beta1_AddExecutionEventsRequest_descriptor = - getDescriptor().getMessageTypes().get(39); + getDescriptor().getMessageTypes().get(41); internal_static_google_cloud_aiplatform_v1beta1_AddExecutionEventsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_AddExecutionEventsRequest_descriptor, @@ -922,13 +957,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Execution", "Events", }); internal_static_google_cloud_aiplatform_v1beta1_AddExecutionEventsResponse_descriptor = - getDescriptor().getMessageTypes().get(40); + getDescriptor().getMessageTypes().get(42); internal_static_google_cloud_aiplatform_v1beta1_AddExecutionEventsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_AddExecutionEventsResponse_descriptor, new java.lang.String[] {}); internal_static_google_cloud_aiplatform_v1beta1_QueryExecutionInputsAndOutputsRequest_descriptor = - getDescriptor().getMessageTypes().get(41); + getDescriptor().getMessageTypes().get(43); internal_static_google_cloud_aiplatform_v1beta1_QueryExecutionInputsAndOutputsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_QueryExecutionInputsAndOutputsRequest_descriptor, @@ -936,7 +971,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Execution", }); internal_static_google_cloud_aiplatform_v1beta1_CreateMetadataSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageTypes().get(44); internal_static_google_cloud_aiplatform_v1beta1_CreateMetadataSchemaRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_CreateMetadataSchemaRequest_descriptor, @@ -944,7 +979,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "MetadataSchema", "MetadataSchemaId", }); internal_static_google_cloud_aiplatform_v1beta1_GetMetadataSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(43); + getDescriptor().getMessageTypes().get(45); internal_static_google_cloud_aiplatform_v1beta1_GetMetadataSchemaRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_GetMetadataSchemaRequest_descriptor, @@ -952,7 +987,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1beta1_ListMetadataSchemasRequest_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageTypes().get(46); internal_static_google_cloud_aiplatform_v1beta1_ListMetadataSchemasRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListMetadataSchemasRequest_descriptor, @@ -960,7 +995,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", }); internal_static_google_cloud_aiplatform_v1beta1_ListMetadataSchemasResponse_descriptor = - getDescriptor().getMessageTypes().get(45); + getDescriptor().getMessageTypes().get(47); internal_static_google_cloud_aiplatform_v1beta1_ListMetadataSchemasResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListMetadataSchemasResponse_descriptor, @@ -968,7 +1003,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MetadataSchemas", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1beta1_QueryArtifactLineageSubgraphRequest_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageTypes().get(48); internal_static_google_cloud_aiplatform_v1beta1_QueryArtifactLineageSubgraphRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_QueryArtifactLineageSubgraphRequest_descriptor, diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringObjectiveConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringObjectiveConfig.java index 0840452693c9..d37c54c7e642 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringObjectiveConfig.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringObjectiveConfig.java @@ -6588,10 +6588,8 @@ public interface ExplanationBaselineOrBuilder * * *
-     * Output from
-     * [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob]
-     * for Model Monitoring baseline dataset, which can be used to generate
-     * baseline attribution scores.
+     * Output from [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob] for Model Monitoring baseline dataset,
+     * which can be used to generate baseline attribution scores.
      * 
* * Protobuf type {@code @@ -7329,10 +7327,8 @@ protected Builder newBuilderForType( * * *
-       * Output from
-       * [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob]
-       * for Model Monitoring baseline dataset, which can be used to generate
-       * baseline attribution scores.
+       * Output from [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob] for Model Monitoring baseline dataset,
+       * which can be used to generate baseline attribution scores.
        * 
* * Protobuf type {@code diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Pipeline.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Pipeline.java index 862eb18db1e9..4dc27e5b2fd0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Pipeline.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Pipeline.java @@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifact_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_ParametersEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -43,6 +47,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_ParameterValuesEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_ParameterValuesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifactsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifactsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -110,7 +118,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/pipeline_state.proto\032+google/cloud/aipl" + "atform/v1beta1/value.proto\032\034google/proto" + "buf/struct.proto\032\037google/protobuf/timest" - + "amp.proto\032\027google/rpc/status.proto\"\272\014\n\013P" + + "amp.proto\032\027google/rpc/status.proto\"\324\016\n\013P" + "ipelineJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014display" + "_name\030\002 \001(\t\0224\n\013create_time\030\003 \001(\0132\032.googl" + "e.protobuf.TimestampB\003\340A\003\0223\n\nstart_time\030" @@ -134,7 +142,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Network\022\024\n\014template_uri\030\023 \001(\t\022Y\n\021templat" + "e_metadata\030\024 \001(\01329.google.cloud.aiplatfo" + "rm.v1beta1.PipelineTemplateMetadataB\003\340A\003" - + "\032\374\003\n\rRuntimeConfig\022b\n\nparameters\030\001 \003(\0132J" + + "\032\226\006\n\rRuntimeConfig\022b\n\nparameters\030\001 \003(\0132J" + ".google.cloud.aiplatform.v1beta1.Pipelin" + "eJob.RuntimeConfig.ParametersEntryB\002\030\001\022!" + "\n\024gcs_output_directory\030\002 \001(\tB\003\340A\002\022i\n\020par" @@ -142,81 +150,88 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tform.v1beta1.PipelineJob.RuntimeConfig." + "ParameterValuesEntry\022N\n\016failure_policy\030\004" + " \001(\01626.google.cloud.aiplatform.v1beta1.P" - + "ipelineFailurePolicy\032Y\n\017ParametersEntry\022" - + "\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.google.clo" - + "ud.aiplatform.v1beta1.Value:\0028\001\032N\n\024Param" - + "eterValuesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 " - + "\001(\0132\026.google.protobuf.Value:\0028\001\032-\n\013Label" - + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:o" - + "\352Al\n%aiplatform.googleapis.com/PipelineJ" - + "ob\022Cprojects/{project}/locations/{locati" - + "on}/pipelineJobs/{pipeline_job}\"+\n\030Pipel" - + "ineTemplateMetadata\022\017\n\007version\030\003 \001(\t\"\371\001\n" - + "\021PipelineJobDetail\022G\n\020pipeline_context\030\001" - + " \001(\0132(.google.cloud.aiplatform.v1beta1.C" - + "ontextB\003\340A\003\022K\n\024pipeline_run_context\030\002 \001(" - + "\0132(.google.cloud.aiplatform.v1beta1.Cont" - + "extB\003\340A\003\022N\n\014task_details\030\003 \003(\01323.google." - + "cloud.aiplatform.v1beta1.PipelineTaskDet" - + "ailB\003\340A\003\"\317\013\n\022PipelineTaskDetail\022\024\n\007task_" - + "id\030\001 \001(\003B\003\340A\003\022\033\n\016parent_task_id\030\014 \001(\003B\003\340" - + "A\003\022\026\n\ttask_name\030\002 \001(\tB\003\340A\003\0224\n\013create_tim" - + "e\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0223\n\nstart_time\030\004 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google" - + ".protobuf.TimestampB\003\340A\003\022Y\n\017executor_det" - + "ail\030\006 \001(\0132;.google.cloud.aiplatform.v1be" - + "ta1.PipelineTaskExecutorDetailB\003\340A\003\022M\n\005s" - + "tate\030\007 \001(\01629.google.cloud.aiplatform.v1b" - + "eta1.PipelineTaskDetail.StateB\003\340A\003\022B\n\tex" - + "ecution\030\010 \001(\0132*.google.cloud.aiplatform." - + "v1beta1.ExecutionB\003\340A\003\022&\n\005error\030\t \001(\0132\022." - + "google.rpc.StatusB\003\340A\003\022i\n\024pipeline_task_" - + "status\030\r \003(\0132F.google.cloud.aiplatform.v" - + "1beta1.PipelineTaskDetail.PipelineTaskSt" - + "atusB\003\340A\003\022T\n\006inputs\030\n \003(\0132?.google.cloud" - + ".aiplatform.v1beta1.PipelineTaskDetail.I" - + "nputsEntryB\003\340A\003\022V\n\007outputs\030\013 \003(\0132@.googl" + + "ipelineFailurePolicy\022g\n\017input_artifacts\030" + + "\005 \003(\0132N.google.cloud.aiplatform.v1beta1." + + "PipelineJob.RuntimeConfig.InputArtifacts" + + "Entry\032.\n\rInputArtifact\022\025\n\013artifact_id\030\001 " + + "\001(\tH\000B\006\n\004kind\032Y\n\017ParametersEntry\022\013\n\003key\030" + + "\001 \001(\t\0225\n\005value\030\002 \001(\0132&.google.cloud.aipl" + + "atform.v1beta1.Value:\0028\001\032N\n\024ParameterVal" + + "uesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.g" + + "oogle.protobuf.Value:\0028\001\032\177\n\023InputArtifac" + + "tsEntry\022\013\n\003key\030\001 \001(\t\022W\n\005value\030\002 \001(\0132H.go" + + "ogle.cloud.aiplatform.v1beta1.PipelineJo" + + "b.RuntimeConfig.InputArtifact:\0028\001\032-\n\013Lab" + + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + ":o\352Al\n%aiplatform.googleapis.com/Pipelin" + + "eJob\022Cprojects/{project}/locations/{loca" + + "tion}/pipelineJobs/{pipeline_job}\"+\n\030Pip" + + "elineTemplateMetadata\022\017\n\007version\030\003 \001(\t\"\371" + + "\001\n\021PipelineJobDetail\022G\n\020pipeline_context" + + "\030\001 \001(\0132(.google.cloud.aiplatform.v1beta1" + + ".ContextB\003\340A\003\022K\n\024pipeline_run_context\030\002 " + + "\001(\0132(.google.cloud.aiplatform.v1beta1.Co" + + "ntextB\003\340A\003\022N\n\014task_details\030\003 \003(\01323.googl" + "e.cloud.aiplatform.v1beta1.PipelineTaskD" - + "etail.OutputsEntryB\003\340A\003\032\301\001\n\022PipelineTask" - + "Status\0224\n\013update_time\030\001 \001(\0132\032.google.pro" - + "tobuf.TimestampB\003\340A\003\022M\n\005state\030\002 \001(\01629.go" - + "ogle.cloud.aiplatform.v1beta1.PipelineTa" - + "skDetail.StateB\003\340A\003\022&\n\005error\030\003 \001(\0132\022.goo" - + "gle.rpc.StatusB\003\340A\003\032Q\n\014ArtifactList\022A\n\ta" - + "rtifacts\030\001 \003(\0132).google.cloud.aiplatform" - + ".v1beta1.ArtifactB\003\340A\003\032o\n\013InputsEntry\022\013\n" - + "\003key\030\001 \001(\t\022O\n\005value\030\002 \001(\0132@.google.cloud" - + ".aiplatform.v1beta1.PipelineTaskDetail.A" - + "rtifactList:\0028\001\032p\n\014OutputsEntry\022\013\n\003key\030\001" - + " \001(\t\022O\n\005value\030\002 \001(\0132@.google.cloud.aipla" - + "tform.v1beta1.PipelineTaskDetail.Artifac" - + "tList:\0028\001\"\246\001\n\005State\022\025\n\021STATE_UNSPECIFIED" - + "\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDE" - + "D\020\003\022\022\n\016CANCEL_PENDING\020\004\022\016\n\nCANCELLING\020\005\022" - + "\r\n\tCANCELLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007SKIPPED\020\010\022" - + "\021\n\rNOT_TRIGGERED\020\t\"\366\003\n\032PipelineTaskExecu" - + "torDetail\022l\n\020container_detail\030\001 \001(\0132K.go" - + "ogle.cloud.aiplatform.v1beta1.PipelineTa" - + "skExecutorDetail.ContainerDetailB\003\340A\003H\000\022" - + "o\n\021custom_job_detail\030\002 \001(\0132K.google.clou" - + "d.aiplatform.v1beta1.PipelineTaskExecuto" - + "rDetail.CustomJobDetailB\005\030\001\340A\003H\000\032\234\001\n\017Con" - + "tainerDetail\022=\n\010main_job\030\001 \001(\tB+\340A\003\372A%\n#" - + "aiplatform.googleapis.com/CustomJob\022J\n\025p" - + "re_caching_check_job\030\002 \001(\tB+\340A\003\372A%\n#aipl" - + "atform.googleapis.com/CustomJob\032O\n\017Custo" - + "mJobDetail\0228\n\003job\030\001 \001(\tB+\340A\003\372A%\n#aiplatf" - + "orm.googleapis.com/CustomJob:\002\030\001B\t\n\007deta" - + "ilsB\266\002\n#com.google.cloud.aiplatform.v1be" - + "ta1B\010PipelineP\001ZIgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1beta1;" - + "aiplatform\252\002\037Google.Cloud.AIPlatform.V1B" - + "eta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002" - + "\"Google::Cloud::AIPlatform::V1beta1\352AN\n\036" - + "compute.googleapis.com/Network\022,projects" - + "/{project}/global/networks/{network}b\006pr" - + "oto3" + + "etailB\003\340A\003\"\317\013\n\022PipelineTaskDetail\022\024\n\007tas" + + "k_id\030\001 \001(\003B\003\340A\003\022\033\n\016parent_task_id\030\014 \001(\003B" + + "\003\340A\003\022\026\n\ttask_name\030\002 \001(\tB\003\340A\003\0224\n\013create_t" + + "ime\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\0223\n\nstart_time\030\004 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022Y\n\017executor_d" + + "etail\030\006 \001(\0132;.google.cloud.aiplatform.v1" + + "beta1.PipelineTaskExecutorDetailB\003\340A\003\022M\n" + + "\005state\030\007 \001(\01629.google.cloud.aiplatform.v" + + "1beta1.PipelineTaskDetail.StateB\003\340A\003\022B\n\t" + + "execution\030\010 \001(\0132*.google.cloud.aiplatfor" + + "m.v1beta1.ExecutionB\003\340A\003\022&\n\005error\030\t \001(\0132" + + "\022.google.rpc.StatusB\003\340A\003\022i\n\024pipeline_tas" + + "k_status\030\r \003(\0132F.google.cloud.aiplatform" + + ".v1beta1.PipelineTaskDetail.PipelineTask" + + "StatusB\003\340A\003\022T\n\006inputs\030\n \003(\0132?.google.clo" + + "ud.aiplatform.v1beta1.PipelineTaskDetail" + + ".InputsEntryB\003\340A\003\022V\n\007outputs\030\013 \003(\0132@.goo" + + "gle.cloud.aiplatform.v1beta1.PipelineTas" + + "kDetail.OutputsEntryB\003\340A\003\032\301\001\n\022PipelineTa" + + "skStatus\0224\n\013update_time\030\001 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\022M\n\005state\030\002 \001(\01629." + + "google.cloud.aiplatform.v1beta1.Pipeline" + + "TaskDetail.StateB\003\340A\003\022&\n\005error\030\003 \001(\0132\022.g" + + "oogle.rpc.StatusB\003\340A\003\032Q\n\014ArtifactList\022A\n" + + "\tartifacts\030\001 \003(\0132).google.cloud.aiplatfo" + + "rm.v1beta1.ArtifactB\003\340A\003\032o\n\013InputsEntry\022" + + "\013\n\003key\030\001 \001(\t\022O\n\005value\030\002 \001(\0132@.google.clo" + + "ud.aiplatform.v1beta1.PipelineTaskDetail" + + ".ArtifactList:\0028\001\032p\n\014OutputsEntry\022\013\n\003key" + + "\030\001 \001(\t\022O\n\005value\030\002 \001(\0132@.google.cloud.aip" + + "latform.v1beta1.PipelineTaskDetail.Artif" + + "actList:\0028\001\"\246\001\n\005State\022\025\n\021STATE_UNSPECIFI" + + "ED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEE" + + "DED\020\003\022\022\n\016CANCEL_PENDING\020\004\022\016\n\nCANCELLING\020" + + "\005\022\r\n\tCANCELLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007SKIPPED\020" + + "\010\022\021\n\rNOT_TRIGGERED\020\t\"\366\003\n\032PipelineTaskExe" + + "cutorDetail\022l\n\020container_detail\030\001 \001(\0132K." + + "google.cloud.aiplatform.v1beta1.Pipeline" + + "TaskExecutorDetail.ContainerDetailB\003\340A\003H" + + "\000\022o\n\021custom_job_detail\030\002 \001(\0132K.google.cl" + + "oud.aiplatform.v1beta1.PipelineTaskExecu" + + "torDetail.CustomJobDetailB\005\030\001\340A\003H\000\032\234\001\n\017C" + + "ontainerDetail\022=\n\010main_job\030\001 \001(\tB+\340A\003\372A%" + + "\n#aiplatform.googleapis.com/CustomJob\022J\n" + + "\025pre_caching_check_job\030\002 \001(\tB+\340A\003\372A%\n#ai" + + "platform.googleapis.com/CustomJob\032O\n\017Cus" + + "tomJobDetail\0228\n\003job\030\001 \001(\tB+\340A\003\372A%\n#aipla" + + "tform.googleapis.com/CustomJob:\002\030\001B\t\n\007de" + + "tailsB\266\002\n#com.google.cloud.aiplatform.v1" + + "beta1B\010PipelineP\001ZIgoogle.golang.org/gen" + + "proto/googleapis/cloud/aiplatform/v1beta" + + "1;aiplatform\252\002\037Google.Cloud.AIPlatform.V" + + "1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1" + + "\352\002\"Google::Cloud::AIPlatform::V1beta1\352AN" + + "\n\036compute.googleapis.com/Network\022,projec" + + "ts/{project}/global/networks/{network}b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -267,12 +282,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_descriptor, new java.lang.String[] { - "Parameters", "GcsOutputDirectory", "ParameterValues", "FailurePolicy", + "Parameters", + "GcsOutputDirectory", + "ParameterValues", + "FailurePolicy", + "InputArtifacts", }); - internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_ParametersEntry_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifact_descriptor = internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_descriptor .getNestedTypes() .get(0); + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifact_descriptor, + new java.lang.String[] { + "ArtifactId", "Kind", + }); + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_ParametersEntry_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_descriptor + .getNestedTypes() + .get(1); internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_ParametersEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_ParametersEntry_descriptor, @@ -282,13 +311,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_ParameterValuesEntry_descriptor = internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_descriptor .getNestedTypes() - .get(1); + .get(2); internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_ParameterValuesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_ParameterValuesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifactsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifactsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifactsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_LabelsEntry_descriptor = internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_descriptor .getNestedTypes() diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJob.java index 389d21628a96..e37b4e3890ad 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJob.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineJob.java @@ -590,6 +590,89 @@ com.google.protobuf.Value getParameterValuesOrDefault( * @return The failurePolicy. */ com.google.cloud.aiplatform.v1beta1.PipelineFailurePolicy getFailurePolicy(); + + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + int getInputArtifactsCount(); + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + boolean containsInputArtifacts(java.lang.String key); + /** Use {@link #getInputArtifactsMap()} instead. */ + @java.lang.Deprecated + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifacts(); + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifactsMap(); + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + + /* nullable */ + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + defaultValue); + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrThrow(java.lang.String key); } /** * @@ -694,6 +777,26 @@ private RuntimeConfig( failurePolicy_ = rawValue; break; } + case 42: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + inputArtifacts_ = + com.google.protobuf.MapField.newMapField( + InputArtifactsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + inputArtifacts__ = + input.readMessage( + InputArtifactsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + inputArtifacts_ + .getMutableMap() + .put(inputArtifacts__.getKey(), inputArtifacts__.getValue()); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -703,44 +806,926 @@ private RuntimeConfig( } } } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.Pipeline + .internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 1: + return internalGetParameters(); + case 3: + return internalGetParameterValues(); + case 5: + return internalGetInputArtifacts(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.Pipeline + .internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.class, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.Builder.class); + } + + public interface InputArtifactOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return Whether the artifactId field is set. + */ + boolean hasArtifactId(); + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return The artifactId. + */ + java.lang.String getArtifactId(); + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return The bytes for artifactId. + */ + com.google.protobuf.ByteString getArtifactIdBytes(); + + public com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact.KindCase + getKindCase(); + } + /** + * + * + *
+     * The type of an input artifact.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact} + */ + public static final class InputArtifact extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact) + InputArtifactOrBuilder { + private static final long serialVersionUID = 0L; + // Use InputArtifact.newBuilder() to construct. + private InputArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InputArtifact() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InputArtifact(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private InputArtifact( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + kindCase_ = 1; + kind_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.Pipeline + .internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifact_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.Pipeline + .internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifact_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact.class, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact.Builder + .class); + } + + private int kindCase_ = 0; + private java.lang.Object kind_; + + public enum KindCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + ARTIFACT_ID(1), + KIND_NOT_SET(0); + private final int value; + + private KindCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static KindCase valueOf(int value) { + return forNumber(value); + } + + public static KindCase forNumber(int value) { + switch (value) { + case 1: + return ARTIFACT_ID; + case 0: + return KIND_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); + } + + public static final int ARTIFACT_ID_FIELD_NUMBER = 1; + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return Whether the artifactId field is set. + */ + public boolean hasArtifactId() { + return kindCase_ == 1; + } + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return The artifactId. + */ + public java.lang.String getArtifactId() { + java.lang.Object ref = ""; + if (kindCase_ == 1) { + ref = kind_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (kindCase_ == 1) { + kind_ = s; + } + return s; + } + } + /** + * + * + *
+       * Artifact resource id from MLMD. Which is the last portion of an
+       * artifact resource
+       * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+       * The artifact must stay within the same project, location and default
+       * metadatastore as the pipeline.
+       * 
+ * + * string artifact_id = 1; + * + * @return The bytes for artifactId. + */ + public com.google.protobuf.ByteString getArtifactIdBytes() { + java.lang.Object ref = ""; + if (kindCase_ == 1) { + ref = kind_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (kindCase_ == 1) { + kind_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (kindCase_ == 1) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (kindCase_ == 1) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact other = + (com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact) obj; + + if (!getKindCase().equals(other.getKindCase())) return false; + switch (kindCase_) { + case 1: + if (!getArtifactId().equals(other.getArtifactId())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (kindCase_) { + case 1: + hash = (37 * hash) + ARTIFACT_ID_FIELD_NUMBER; + hash = (53 * hash) + getArtifactId().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * The type of an input artifact.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact) + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifactOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.Pipeline + .internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifact_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.Pipeline + .internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifact_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact.class, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + kindCase_ = 0; + kind_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.Pipeline + .internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifact_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact build() { + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + buildPartial() { + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact result = + new com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact(this); + if (kindCase_ == 1) { + result.kind_ = kind_; + } + result.kindCase_ = kindCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact other) { + if (other + == com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + .getDefaultInstance()) return this; + switch (other.getKindCase()) { + case ARTIFACT_ID: + { + kindCase_ = 1; + kind_ = other.kind_; + onChanged(); + break; + } + case KIND_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int kindCase_ = 0; + private java.lang.Object kind_; + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); + } + + public Builder clearKind() { + kindCase_ = 0; + kind_ = null; + onChanged(); + return this; + } + + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @return Whether the artifactId field is set. + */ + @java.lang.Override + public boolean hasArtifactId() { + return kindCase_ == 1; + } + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @return The artifactId. + */ + @java.lang.Override + public java.lang.String getArtifactId() { + java.lang.Object ref = ""; + if (kindCase_ == 1) { + ref = kind_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (kindCase_ == 1) { + kind_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @return The bytes for artifactId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getArtifactIdBytes() { + java.lang.Object ref = ""; + if (kindCase_ == 1) { + ref = kind_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (kindCase_ == 1) { + kind_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @param value The artifactId to set. + * @return This builder for chaining. + */ + public Builder setArtifactId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + kindCase_ = 1; + kind_ = value; + onChanged(); + return this; + } + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearArtifactId() { + if (kindCase_ == 1) { + kindCase_ = 0; + kind_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+         * Artifact resource id from MLMD. Which is the last portion of an
+         * artifact resource
+         * name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
+         * The artifact must stay within the same project, location and default
+         * metadatastore as the pipeline.
+         * 
+ * + * string artifact_id = 1; + * + * @param value The bytes for artifactId to set. + * @return This builder for chaining. + */ + public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kindCase_ = 1; + kind_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact) } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.Pipeline - .internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_descriptor; - } + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact) + private static final com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig + .InputArtifact + DEFAULT_INSTANCE; - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 1: - return internalGetParameters(); - case 3: - return internalGetParameterValues(); - default: - throw new RuntimeException("Invalid map field number: " + number); + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact(); } - } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.aiplatform.v1beta1.Pipeline - .internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.class, - com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.Builder.class); + public static com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InputArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InputArtifact(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } public static final int PARAMETERS_FIELD_NUMBER = 1; @@ -1118,6 +2103,147 @@ public com.google.cloud.aiplatform.v1beta1.PipelineFailurePolicy getFailurePolic : result; } + public static final int INPUT_ARTIFACTS_FIELD_NUMBER = 5; + + private static final class InputArtifactsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + defaultEntry = + com.google.protobuf.MapEntry + . + newDefaultInstance( + com.google.cloud.aiplatform.v1beta1.Pipeline + .internal_static_google_cloud_aiplatform_v1beta1_PipelineJob_RuntimeConfig_InputArtifactsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig + .InputArtifact.getDefaultInstance()); + } + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + inputArtifacts_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + internalGetInputArtifacts() { + if (inputArtifacts_ == null) { + return com.google.protobuf.MapField.emptyMapField( + InputArtifactsDefaultEntryHolder.defaultEntry); + } + return inputArtifacts_; + } + + public int getInputArtifactsCount() { + return internalGetInputArtifacts().getMap().size(); + } + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public boolean containsInputArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetInputArtifacts().getMap().containsKey(key); + } + /** Use {@link #getInputArtifactsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifacts() { + return getInputArtifactsMap(); + } + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifactsMap() { + return internalGetInputArtifacts().getMap(); + } + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrDefault( + java.lang.String key, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + map = internalGetInputArtifacts().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * The runtime artifacts of the PipelineJob. The key will be the input
+     * artifact name and the value would be one of the InputArtifact.
+     * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + map = internalGetInputArtifacts().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1145,6 +2271,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(4, failurePolicy_); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetInputArtifacts(), InputArtifactsDefaultEntryHolder.defaultEntry, 5); unknownFields.writeTo(output); } @@ -1185,6 +2313,21 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, failurePolicy_); } + for (java.util.Map.Entry< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + entry : internalGetInputArtifacts().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + inputArtifacts__ = + InputArtifactsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, inputArtifacts__); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1205,6 +2348,7 @@ public boolean equals(final java.lang.Object obj) { if (!getGcsOutputDirectory().equals(other.getGcsOutputDirectory())) return false; if (!internalGetParameterValues().equals(other.internalGetParameterValues())) return false; if (failurePolicy_ != other.failurePolicy_) return false; + if (!internalGetInputArtifacts().equals(other.internalGetInputArtifacts())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1228,6 +2372,10 @@ public int hashCode() { } hash = (37 * hash) + FAILURE_POLICY_FIELD_NUMBER; hash = (53 * hash) + failurePolicy_; + if (!internalGetInputArtifacts().getMap().isEmpty()) { + hash = (37 * hash) + INPUT_ARTIFACTS_FIELD_NUMBER; + hash = (53 * hash) + internalGetInputArtifacts().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1356,6 +2504,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { return internalGetParameters(); case 3: return internalGetParameterValues(); + case 5: + return internalGetInputArtifacts(); default: throw new RuntimeException("Invalid map field number: " + number); } @@ -1368,6 +2518,8 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { return internalGetMutableParameters(); case 3: return internalGetMutableParameterValues(); + case 5: + return internalGetMutableInputArtifacts(); default: throw new RuntimeException("Invalid map field number: " + number); } @@ -1406,6 +2558,7 @@ public Builder clear() { internalGetMutableParameterValues().clear(); failurePolicy_ = 0; + internalGetMutableInputArtifacts().clear(); return this; } @@ -1441,6 +2594,8 @@ public com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig buildPartia result.parameterValues_ = internalGetParameterValues(); result.parameterValues_.makeImmutable(); result.failurePolicy_ = failurePolicy_; + result.inputArtifacts_ = internalGetInputArtifacts(); + result.inputArtifacts_.makeImmutable(); onBuilt(); return result; } @@ -1504,6 +2659,7 @@ public Builder mergeFrom( if (other.failurePolicy_ != 0) { setFailurePolicyValue(other.getFailurePolicyValue()); } + internalGetMutableInputArtifacts().mergeFrom(other.internalGetInputArtifacts()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2217,6 +3373,221 @@ public Builder clearFailurePolicy() { return this; } + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + inputArtifacts_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + internalGetInputArtifacts() { + if (inputArtifacts_ == null) { + return com.google.protobuf.MapField.emptyMapField( + InputArtifactsDefaultEntryHolder.defaultEntry); + } + return inputArtifacts_; + } + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + internalGetMutableInputArtifacts() { + onChanged(); + ; + if (inputArtifacts_ == null) { + inputArtifacts_ = + com.google.protobuf.MapField.newMapField( + InputArtifactsDefaultEntryHolder.defaultEntry); + } + if (!inputArtifacts_.isMutable()) { + inputArtifacts_ = inputArtifacts_.copy(); + } + return inputArtifacts_; + } + + public int getInputArtifactsCount() { + return internalGetInputArtifacts().getMap().size(); + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public boolean containsInputArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetInputArtifacts().getMap().containsKey(key); + } + /** Use {@link #getInputArtifactsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifacts() { + return getInputArtifactsMap(); + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + getInputArtifactsMap() { + return internalGetInputArtifacts().getMap(); + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrDefault( + java.lang.String key, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + map = internalGetInputArtifacts().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact + getInputArtifactsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + map = internalGetInputArtifacts().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearInputArtifacts() { + internalGetMutableInputArtifacts().getMutableMap().clear(); + return this; + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + public Builder removeInputArtifacts(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableInputArtifacts().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + getMutableInputArtifacts() { + return internalGetMutableInputArtifacts().getMutableMap(); + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + public Builder putInputArtifacts( + java.lang.String key, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + + internalGetMutableInputArtifacts().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+       * The runtime artifacts of the PipelineJob. The key will be the input
+       * artifact name and the value would be one of the InputArtifact.
+       * 
+ * + * + * map<string, .google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> input_artifacts = 5; + * + */ + public Builder putAllInputArtifacts( + java.util.Map< + java.lang.String, + com.google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.InputArtifact> + values) { + internalGetMutableInputArtifacts().getMutableMap().putAll(values); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceProto.java index 61b296ea8ffc..61430755cb43 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceProto.java @@ -121,82 +121,83 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "PipelineJobB\003\340A\002\022\027\n\017pipeline_job_id\030\003 \001(" + "\t\"T\n\025GetPipelineJobRequest\022;\n\004name\030\001 \001(\t" + "B-\340A\002\372A\'\n%aiplatform.googleapis.com/Pipe" - + "lineJob\"\235\001\n\027ListPipelineJobsRequest\0229\n\006p" + + "lineJob\"\314\001\n\027ListPipelineJobsRequest\0229\n\006p" + "arent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapi" + "s.com/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022\020\n\010order_b" - + "y\030\006 \001(\t\"x\n\030ListPipelineJobsResponse\022C\n\rp" - + "ipeline_jobs\030\001 \003(\0132,.google.cloud.aiplat" - + "form.v1beta1.PipelineJob\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"W\n\030DeletePipelineJobRequest\022;\n" - + "\004name\030\001 \001(\tB-\340A\002\372A\'\n%aiplatform.googleap" - + "is.com/PipelineJob\"W\n\030CancelPipelineJobR" - + "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%aiplatform" - + ".googleapis.com/PipelineJob2\376\021\n\017Pipeline" - + "Service\022\375\001\n\026CreateTrainingPipeline\022>.goo" - + "gle.cloud.aiplatform.v1beta1.CreateTrain" - + "ingPipelineRequest\0321.google.cloud.aiplat" - + "form.v1beta1.TrainingPipeline\"p\202\323\344\223\002O\":/" - + "v1beta1/{parent=projects/*/locations/*}/" - + "trainingPipelines:\021training_pipeline\332A\030p" - + "arent,training_pipeline\022\320\001\n\023GetTrainingP" - + "ipeline\022;.google.cloud.aiplatform.v1beta" - + "1.GetTrainingPipelineRequest\0321.google.cl" - + "oud.aiplatform.v1beta1.TrainingPipeline\"" - + "I\202\323\344\223\002<\022:/v1beta1/{name=projects/*/locat" - + "ions/*/trainingPipelines/*}\332A\004name\022\343\001\n\025L" - + "istTrainingPipelines\022=.google.cloud.aipl" - + "atform.v1beta1.ListTrainingPipelinesRequ" - + "est\032>.google.cloud.aiplatform.v1beta1.Li" - + "stTrainingPipelinesResponse\"K\202\323\344\223\002<\022:/v1" - + "beta1/{parent=projects/*/locations/*}/tr" - + "ainingPipelines\332A\006parent\022\365\001\n\026DeleteTrain" - + "ingPipeline\022>.google.cloud.aiplatform.v1" - + "beta1.DeleteTrainingPipelineRequest\032\035.go" - + "ogle.longrunning.Operation\"|\202\323\344\223\002<*:/v1b" - + "eta1/{name=projects/*/locations/*/traini" - + "ngPipelines/*}\332A\004name\312A0\n\025google.protobu" - + "f.Empty\022\027DeleteOperationMetadata\022\305\001\n\026Can" - + "celTrainingPipeline\022>.google.cloud.aipla" - + "tform.v1beta1.CancelTrainingPipelineRequ" - + "est\032\026.google.protobuf.Empty\"S\202\323\344\223\002F\"A/v1" - + "beta1/{name=projects/*/locations/*/train" - + "ingPipelines/*}:cancel:\001*\332A\004name\022\357\001\n\021Cre" - + "atePipelineJob\0229.google.cloud.aiplatform" - + ".v1beta1.CreatePipelineJobRequest\032,.goog" - + "le.cloud.aiplatform.v1beta1.PipelineJob\"" - + "q\202\323\344\223\002E\"5/v1beta1/{parent=projects/*/loc" - + "ations/*}/pipelineJobs:\014pipeline_job\332A#p" - + "arent,pipeline_job,pipeline_job_id\022\274\001\n\016G" - + "etPipelineJob\0226.google.cloud.aiplatform." - + "v1beta1.GetPipelineJobRequest\032,.google.c" - + "loud.aiplatform.v1beta1.PipelineJob\"D\202\323\344" - + "\223\0027\0225/v1beta1/{name=projects/*/locations" - + "/*/pipelineJobs/*}\332A\004name\022\317\001\n\020ListPipeli" - + "neJobs\0228.google.cloud.aiplatform.v1beta1" - + ".ListPipelineJobsRequest\0329.google.cloud." - + "aiplatform.v1beta1.ListPipelineJobsRespo" - + "nse\"F\202\323\344\223\0027\0225/v1beta1/{parent=projects/*" - + "/locations/*}/pipelineJobs\332A\006parent\022\346\001\n\021" - + "DeletePipelineJob\0229.google.cloud.aiplatf" - + "orm.v1beta1.DeletePipelineJobRequest\032\035.g" - + "oogle.longrunning.Operation\"w\202\323\344\223\0027*5/v1" - + "beta1/{name=projects/*/locations/*/pipel" - + "ineJobs/*}\332A\004name\312A0\n\025google.protobuf.Em" - + "pty\022\027DeleteOperationMetadata\022\266\001\n\021CancelP" - + "ipelineJob\0229.google.cloud.aiplatform.v1b" - + "eta1.CancelPipelineJobRequest\032\026.google.p" - + "rotobuf.Empty\"N\202\323\344\223\002A\".google.cloud.aiplatform.v1beta1.Crea" + + "teTrainingPipelineRequest\0321.google.cloud" + + ".aiplatform.v1beta1.TrainingPipeline\"p\202\323" + + "\344\223\002O\":/v1beta1/{parent=projects/*/locati" + + "ons/*}/trainingPipelines:\021training_pipel" + + "ine\332A\030parent,training_pipeline\022\320\001\n\023GetTr" + + "ainingPipeline\022;.google.cloud.aiplatform" + + ".v1beta1.GetTrainingPipelineRequest\0321.go" + + "ogle.cloud.aiplatform.v1beta1.TrainingPi" + + "peline\"I\202\323\344\223\002<\022:/v1beta1/{name=projects/" + + "*/locations/*/trainingPipelines/*}\332A\004nam" + + "e\022\343\001\n\025ListTrainingPipelines\022=.google.clo" + + "ud.aiplatform.v1beta1.ListTrainingPipeli" + + "nesRequest\032>.google.cloud.aiplatform.v1b" + + "eta1.ListTrainingPipelinesResponse\"K\202\323\344\223" + + "\002<\022:/v1beta1/{parent=projects/*/location" + + "s/*}/trainingPipelines\332A\006parent\022\365\001\n\026Dele" + + "teTrainingPipeline\022>.google.cloud.aiplat" + + "form.v1beta1.DeleteTrainingPipelineReque" + + "st\032\035.google.longrunning.Operation\"|\202\323\344\223\002" + + "<*:/v1beta1/{name=projects/*/locations/*" + + "/trainingPipelines/*}\332A\004name\312A0\n\025google." + + "protobuf.Empty\022\027DeleteOperationMetadata\022" + + "\305\001\n\026CancelTrainingPipeline\022>.google.clou" + + "d.aiplatform.v1beta1.CancelTrainingPipel" + + "ineRequest\032\026.google.protobuf.Empty\"S\202\323\344\223" + + "\002F\"A/v1beta1/{name=projects/*/locations/" + + "*/trainingPipelines/*}:cancel:\001*\332A\004name\022" + + "\357\001\n\021CreatePipelineJob\0229.google.cloud.aip" + + "latform.v1beta1.CreatePipelineJobRequest" + + "\032,.google.cloud.aiplatform.v1beta1.Pipel" + + "ineJob\"q\202\323\344\223\002E\"5/v1beta1/{parent=project" + + "s/*/locations/*}/pipelineJobs:\014pipeline_" + + "job\332A#parent,pipeline_job,pipeline_job_i" + + "d\022\274\001\n\016GetPipelineJob\0226.google.cloud.aipl" + + "atform.v1beta1.GetPipelineJobRequest\032,.g" + + "oogle.cloud.aiplatform.v1beta1.PipelineJ" + + "ob\"D\202\323\344\223\0027\0225/v1beta1/{name=projects/*/lo" + + "cations/*/pipelineJobs/*}\332A\004name\022\317\001\n\020Lis" + + "tPipelineJobs\0228.google.cloud.aiplatform." + + "v1beta1.ListPipelineJobsRequest\0329.google" + + ".cloud.aiplatform.v1beta1.ListPipelineJo" + + "bsResponse\"F\202\323\344\223\0027\0225/v1beta1/{parent=pro" + + "jects/*/locations/*}/pipelineJobs\332A\006pare" + + "nt\022\346\001\n\021DeletePipelineJob\0229.google.cloud." + + "aiplatform.v1beta1.DeletePipelineJobRequ" + + "est\032\035.google.longrunning.Operation\"w\202\323\344\223" + + "\0027*5/v1beta1/{name=projects/*/locations/" + + "*/pipelineJobs/*}\332A\004name\312A0\n\025google.prot" + + "obuf.Empty\022\027DeleteOperationMetadata\022\266\001\n\021" + + "CancelPipelineJob\0229.google.cloud.aiplatf" + + "orm.v1beta1.CancelPipelineJobRequest\032\026.g" + + "oogle.protobuf.Empty\"N\202\323\344\223\002A\" * * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=359 * @return Whether the customJobDetail field is set. */ @java.lang.Override @@ -1963,7 +1963,7 @@ public boolean hasCustomJobDetail() { *
* * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=359 * @return The customJobDetail. */ @java.lang.Override @@ -2668,7 +2668,7 @@ public Builder clearContainerDetail() { *
* * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=359 * @return Whether the customJobDetail field is set. */ @java.lang.Override @@ -2688,7 +2688,7 @@ public boolean hasCustomJobDetail() { * * * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=359 * @return The customJobDetail. */ @java.lang.Override diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetailOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetailOrBuilder.java index 8762aae79391..d7f7a703b798 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetailOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetailOrBuilder.java @@ -78,7 +78,7 @@ public interface PipelineTaskExecutorDetailOrBuilder * * * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=359 * @return Whether the customJobDetail field is set. */ @java.lang.Deprecated @@ -95,7 +95,7 @@ public interface PipelineTaskExecutorDetailOrBuilder * * * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=343 + * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=359 * @return The customJobDetail. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenRequest.java new file mode 100644 index 000000000000..9b32e658e949 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenRequest.java @@ -0,0 +1,956 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/metadata_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for
+ * [MetadataService.DeleteContextChildrenRequest][].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest} + */ +public final class RemoveContextChildrenRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest) + RemoveContextChildrenRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveContextChildrenRequest.newBuilder() to construct. + private RemoveContextChildrenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveContextChildrenRequest() { + context_ = ""; + childContexts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveContextChildrenRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveContextChildrenRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + context_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + childContexts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + childContexts_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + childContexts_ = childContexts_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest.class, + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest.Builder.class); + } + + public static final int CONTEXT_FIELD_NUMBER = 1; + private volatile java.lang.Object context_; + /** + * + * + *
+   * Required. The resource name of the parent Context.
+   * Format:
+   * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+   * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The context. + */ + @java.lang.Override + public java.lang.String getContext() { + java.lang.Object ref = context_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + context_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the parent Context.
+   * Format:
+   * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+   * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for context. + */ + @java.lang.Override + public com.google.protobuf.ByteString getContextBytes() { + java.lang.Object ref = context_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + context_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CHILD_CONTEXTS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList childContexts_; + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return A list containing the childContexts. + */ + public com.google.protobuf.ProtocolStringList getChildContextsList() { + return childContexts_; + } + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return The count of childContexts. + */ + public int getChildContextsCount() { + return childContexts_.size(); + } + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the element to return. + * @return The childContexts at the given index. + */ + public java.lang.String getChildContexts(int index) { + return childContexts_.get(index); + } + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the value to return. + * @return The bytes of the childContexts at the given index. + */ + public com.google.protobuf.ByteString getChildContextsBytes(int index) { + return childContexts_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, context_); + } + for (int i = 0; i < childContexts_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, childContexts_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, context_); + } + { + int dataSize = 0; + for (int i = 0; i < childContexts_.size(); i++) { + dataSize += computeStringSizeNoTag(childContexts_.getRaw(i)); + } + size += dataSize; + size += 1 * getChildContextsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest other = + (com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest) obj; + + if (!getContext().equals(other.getContext())) return false; + if (!getChildContextsList().equals(other.getChildContextsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getContext().hashCode(); + if (getChildContextsCount() > 0) { + hash = (37 * hash) + CHILD_CONTEXTS_FIELD_NUMBER; + hash = (53 * hash) + getChildContextsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [MetadataService.DeleteContextChildrenRequest][].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest) + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest.class, + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + context_ = ""; + + childContexts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest build() { + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest result = + new com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest(this); + int from_bitField0_ = bitField0_; + result.context_ = context_; + if (((bitField0_ & 0x00000001) != 0)) { + childContexts_ = childContexts_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.childContexts_ = childContexts_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest other) { + if (other + == com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest.getDefaultInstance()) + return this; + if (!other.getContext().isEmpty()) { + context_ = other.context_; + onChanged(); + } + if (!other.childContexts_.isEmpty()) { + if (childContexts_.isEmpty()) { + childContexts_ = other.childContexts_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureChildContextsIsMutable(); + childContexts_.addAll(other.childContexts_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object context_ = ""; + /** + * + * + *
+     * Required. The resource name of the parent Context.
+     * Format:
+     * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+     * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The context. + */ + public java.lang.String getContext() { + java.lang.Object ref = context_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + context_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the parent Context.
+     * Format:
+     * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+     * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for context. + */ + public com.google.protobuf.ByteString getContextBytes() { + java.lang.Object ref = context_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + context_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the parent Context.
+     * Format:
+     * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+     * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The context to set. + * @return This builder for chaining. + */ + public Builder setContext(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + context_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the parent Context.
+     * Format:
+     * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+     * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearContext() { + + context_ = getDefaultInstance().getContext(); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the parent Context.
+     * Format:
+     * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+     * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for context to set. + * @return This builder for chaining. + */ + public Builder setContextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + context_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList childContexts_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureChildContextsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + childContexts_ = new com.google.protobuf.LazyStringArrayList(childContexts_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return A list containing the childContexts. + */ + public com.google.protobuf.ProtocolStringList getChildContextsList() { + return childContexts_.getUnmodifiableView(); + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return The count of childContexts. + */ + public int getChildContextsCount() { + return childContexts_.size(); + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the element to return. + * @return The childContexts at the given index. + */ + public java.lang.String getChildContexts(int index) { + return childContexts_.get(index); + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the value to return. + * @return The bytes of the childContexts at the given index. + */ + public com.google.protobuf.ByteString getChildContextsBytes(int index) { + return childContexts_.getByteString(index); + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index to set the value at. + * @param value The childContexts to set. + * @return This builder for chaining. + */ + public Builder setChildContexts(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildContextsIsMutable(); + childContexts_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param value The childContexts to add. + * @return This builder for chaining. + */ + public Builder addChildContexts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildContextsIsMutable(); + childContexts_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param values The childContexts to add. + * @return This builder for chaining. + */ + public Builder addAllChildContexts(java.lang.Iterable values) { + ensureChildContextsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, childContexts_); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return This builder for chaining. + */ + public Builder clearChildContexts() { + childContexts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource names of the child Contexts.
+     * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param value The bytes of the childContexts to add. + * @return This builder for chaining. + */ + public Builder addChildContextsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureChildContextsIsMutable(); + childContexts_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest) + private static final com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveContextChildrenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveContextChildrenRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenRequestOrBuilder.java new file mode 100644 index 000000000000..dba50e0f5edd --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenRequestOrBuilder.java @@ -0,0 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/metadata_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface RemoveContextChildrenRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.RemoveContextChildrenRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the parent Context.
+   * Format:
+   * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+   * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The context. + */ + java.lang.String getContext(); + /** + * + * + *
+   * Required. The resource name of the parent Context.
+   * Format:
+   * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
+   * 
+ * + * + * string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for context. + */ + com.google.protobuf.ByteString getContextBytes(); + + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return A list containing the childContexts. + */ + java.util.List getChildContextsList(); + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @return The count of childContexts. + */ + int getChildContextsCount(); + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the element to return. + * @return The childContexts at the given index. + */ + java.lang.String getChildContexts(int index); + /** + * + * + *
+   * The resource names of the child Contexts.
+   * 
+ * + * repeated string child_contexts = 2 [(.google.api.resource_reference) = { ... } + * + * @param index The index of the value to return. + * @return The bytes of the childContexts at the given index. + */ + com.google.protobuf.ByteString getChildContextsBytes(int index); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenResponse.java new file mode 100644 index 000000000000..546f15a20bf0 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenResponse.java @@ -0,0 +1,468 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/metadata_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Response message for [MetadataService.RemoveContextChildren][google.cloud.aiplatform.v1beta1.MetadataService.RemoveContextChildren].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse} + */ +public final class RemoveContextChildrenResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse) + RemoveContextChildrenResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveContextChildrenResponse.newBuilder() to construct. + private RemoveContextChildrenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveContextChildrenResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveContextChildrenResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveContextChildrenResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse.class, + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse other = + (com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for [MetadataService.RemoveContextChildren][google.cloud.aiplatform.v1beta1.MetadataService.RemoveContextChildren].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse) + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse.class, + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.MetadataServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_RemoveContextChildrenResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse build() { + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse buildPartial() { + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse result = + new com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse other) { + if (other + == com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse.getDefaultInstance()) + return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse) + private static final com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse(); + } + + public static com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveContextChildrenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveContextChildrenResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenResponseOrBuilder.java new file mode 100644 index 000000000000..86894b74519a --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/RemoveContextChildrenResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/metadata_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface RemoveContextChildrenResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.RemoveContextChildrenResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudyProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudyProto.java index bceed5fe0186..d5c651a99392 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudyProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudyProto.java @@ -103,6 +103,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_StudySpec_ConvexStopConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_StudySpec_ConvexStopConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_TransferLearningConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_TransferLearningConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_Measurement_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -162,7 +166,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "FEASIBLE\020\005:l\352Ai\n\037aiplatform.googleapis.c" + "om/Trial\022Fprojects/{project}/locations/{" + "location}/studies/{study}/trials/{trial}" - + "\"\237\035\n\tStudySpec\022o\n\031decay_curve_stopping_s" + + "\"\341\036\n\tStudySpec\022o\n\031decay_curve_stopping_s" + "pec\030\004 \001(\0132J.google.cloud.aiplatform.v1be" + "ta1.StudySpec.DecayCurveAutomatedStoppin" + "gSpecH\000\022p\n\036median_automated_stopping_spe" @@ -183,91 +187,96 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cloud.aiplatform.v1beta1.StudySpec.Obser" + "vationNoise\022g\n\032measurement_selection_typ" + "e\030\007 \001(\0162C.google.cloud.aiplatform.v1beta" - + "1.StudySpec.MeasurementSelectionType\032\272\001\n" - + "\nMetricSpec\022\026\n\tmetric_id\030\001 \001(\tB\003\340A\002\022Q\n\004g" - + "oal\030\002 \001(\0162>.google.cloud.aiplatform.v1be" - + "ta1.StudySpec.MetricSpec.GoalTypeB\003\340A\002\"A" - + "\n\010GoalType\022\031\n\025GOAL_TYPE_UNSPECIFIED\020\000\022\014\n" - + "\010MAXIMIZE\020\001\022\014\n\010MINIMIZE\020\002\032\200\017\n\rParameterS" - + "pec\022e\n\021double_value_spec\030\002 \001(\0132H.google." - + "cloud.aiplatform.v1beta1.StudySpec.Param" - + "eterSpec.DoubleValueSpecH\000\022g\n\022integer_va" - + "lue_spec\030\003 \001(\0132I.google.cloud.aiplatform" - + ".v1beta1.StudySpec.ParameterSpec.Integer" - + "ValueSpecH\000\022o\n\026categorical_value_spec\030\004 " - + "\001(\0132M.google.cloud.aiplatform.v1beta1.St" - + "udySpec.ParameterSpec.CategoricalValueSp" - + "ecH\000\022i\n\023discrete_value_spec\030\005 \001(\0132J.goog" - + "le.cloud.aiplatform.v1beta1.StudySpec.Pa" - + "rameterSpec.DiscreteValueSpecH\000\022\031\n\014param" - + "eter_id\030\001 \001(\tB\003\340A\002\022V\n\nscale_type\030\006 \001(\0162B" - + ".google.cloud.aiplatform.v1beta1.StudySp" - + "ec.ParameterSpec.ScaleType\022v\n\033conditiona" - + "l_parameter_specs\030\n \003(\0132Q.google.cloud.a" - + "iplatform.v1beta1.StudySpec.ParameterSpe" - + "c.ConditionalParameterSpec\032o\n\017DoubleValu" - + "eSpec\022\026\n\tmin_value\030\001 \001(\001B\003\340A\002\022\026\n\tmax_val" - + "ue\030\002 \001(\001B\003\340A\002\022\032\n\rdefault_value\030\004 \001(\001H\000\210\001" - + "\001B\020\n\016_default_value\032p\n\020IntegerValueSpec\022" - + "\026\n\tmin_value\030\001 \001(\003B\003\340A\002\022\026\n\tmax_value\030\002 \001" - + "(\003B\003\340A\002\022\032\n\rdefault_value\030\004 \001(\003H\000\210\001\001B\020\n\016_" - + "default_value\032Y\n\024CategoricalValueSpec\022\023\n" - + "\006values\030\001 \003(\tB\003\340A\002\022\032\n\rdefault_value\030\003 \001(" - + "\tH\000\210\001\001B\020\n\016_default_value\032V\n\021DiscreteValu" - + "eSpec\022\023\n\006values\030\001 \003(\001B\003\340A\002\022\032\n\rdefault_va" - + "lue\030\003 \001(\001H\000\210\001\001B\020\n\016_default_value\032\271\005\n\030Con" - + "ditionalParameterSpec\022\212\001\n\026parent_discret" - + "e_values\030\002 \001(\0132h.google.cloud.aiplatform" - + ".v1beta1.StudySpec.ParameterSpec.Conditi" - + "onalParameterSpec.DiscreteValueCondition" - + "H\000\022\200\001\n\021parent_int_values\030\003 \001(\0132c.google." - + "cloud.aiplatform.v1beta1.StudySpec.Param" - + "eterSpec.ConditionalParameterSpec.IntVal" - + "ueConditionH\000\022\220\001\n\031parent_categorical_val" - + "ues\030\004 \001(\0132k.google.cloud.aiplatform.v1be" - + "ta1.StudySpec.ParameterSpec.ConditionalP" - + "arameterSpec.CategoricalValueConditionH\000" - + "\022U\n\016parameter_spec\030\001 \001(\01328.google.cloud." + + "1.StudySpec.MeasurementSelectionType\022c\n\030" + + "transfer_learning_config\030\n \001(\0132A.google." + + "cloud.aiplatform.v1beta1.StudySpec.Trans" + + "ferLearningConfig\032\272\001\n\nMetricSpec\022\026\n\tmetr" + + "ic_id\030\001 \001(\tB\003\340A\002\022Q\n\004goal\030\002 \001(\0162>.google." + + "cloud.aiplatform.v1beta1.StudySpec.Metri" + + "cSpec.GoalTypeB\003\340A\002\"A\n\010GoalType\022\031\n\025GOAL_" + + "TYPE_UNSPECIFIED\020\000\022\014\n\010MAXIMIZE\020\001\022\014\n\010MINI" + + "MIZE\020\002\032\200\017\n\rParameterSpec\022e\n\021double_value" + + "_spec\030\002 \001(\0132H.google.cloud.aiplatform.v1" + + "beta1.StudySpec.ParameterSpec.DoubleValu" + + "eSpecH\000\022g\n\022integer_value_spec\030\003 \001(\0132I.go" + + "ogle.cloud.aiplatform.v1beta1.StudySpec." + + "ParameterSpec.IntegerValueSpecH\000\022o\n\026cate" + + "gorical_value_spec\030\004 \001(\0132M.google.cloud." + "aiplatform.v1beta1.StudySpec.ParameterSp" - + "ecB\003\340A\002\032-\n\026DiscreteValueCondition\022\023\n\006val" - + "ues\030\001 \003(\001B\003\340A\002\032(\n\021IntValueCondition\022\023\n\006v" - + "alues\030\001 \003(\003B\003\340A\002\0320\n\031CategoricalValueCond" - + "ition\022\023\n\006values\030\001 \003(\tB\003\340A\002B\030\n\026parent_val" - + "ue_condition\"n\n\tScaleType\022\032\n\026SCALE_TYPE_" - + "UNSPECIFIED\020\000\022\025\n\021UNIT_LINEAR_SCALE\020\001\022\022\n\016" - + "UNIT_LOG_SCALE\020\002\022\032\n\026UNIT_REVERSE_LOG_SCA" - + "LE\020\003B\026\n\024parameter_value_spec\032?\n\037DecayCur" - + "veAutomatedStoppingSpec\022\034\n\024use_elapsed_d" - + "uration\030\001 \001(\010\032;\n\033MedianAutomatedStopping" - + "Spec\022\034\n\024use_elapsed_duration\030\001 \001(\010\032\260\001\n\033C" - + "onvexAutomatedStoppingSpec\022\026\n\016max_step_c" - + "ount\030\001 \001(\003\022\026\n\016min_step_count\030\002 \001(\003\022\035\n\025mi" - + "n_measurement_count\030\003 \001(\003\022$\n\034learning_ra" - + "te_parameter_name\030\004 \001(\t\022\034\n\024use_elapsed_d" - + "uration\030\005 \001(\010\032\235\001\n\020ConvexStopConfig\022\025\n\rma" - + "x_num_steps\030\001 \001(\003\022\025\n\rmin_num_steps\030\002 \001(\003" - + "\022\034\n\024autoregressive_order\030\003 \001(\003\022$\n\034learni" - + "ng_rate_parameter_name\030\004 \001(\t\022\023\n\013use_seco" - + "nds\030\005 \001(\010:\002\030\001\"J\n\tAlgorithm\022\031\n\025ALGORITHM_" - + "UNSPECIFIED\020\000\022\017\n\013GRID_SEARCH\020\002\022\021\n\rRANDOM" - + "_SEARCH\020\003\"H\n\020ObservationNoise\022!\n\035OBSERVA" - + "TION_NOISE_UNSPECIFIED\020\000\022\007\n\003LOW\020\001\022\010\n\004HIG" - + "H\020\002\"r\n\030MeasurementSelectionType\022*\n&MEASU" - + "REMENT_SELECTION_TYPE_UNSPECIFIED\020\000\022\024\n\020L" - + "AST_MEASUREMENT\020\001\022\024\n\020BEST_MEASUREMENT\020\002B" - + "\031\n\027automated_stopping_spec\"\341\001\n\013Measureme" - + "nt\0228\n\020elapsed_duration\030\001 \001(\0132\031.google.pr" - + "otobuf.DurationB\003\340A\003\022\027\n\nstep_count\030\002 \001(\003" - + "B\003\340A\003\022I\n\007metrics\030\003 \003(\01323.google.cloud.ai" - + "platform.v1beta1.Measurement.MetricB\003\340A\003" - + "\0324\n\006Metric\022\026\n\tmetric_id\030\001 \001(\tB\003\340A\003\022\022\n\005va" - + "lue\030\002 \001(\001B\003\340A\003B\347\001\n#com.google.cloud.aipl" - + "atform.v1beta1B\nStudyProtoP\001ZIgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1beta1;aiplatform\252\002\037Google.Cloud.A" - + "IPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlatf" - + "orm\\V1beta1\352\002\"Google::Cloud::AIPlatform:" - + ":V1beta1b\006proto3" + + "ec.CategoricalValueSpecH\000\022i\n\023discrete_va" + + "lue_spec\030\005 \001(\0132J.google.cloud.aiplatform" + + ".v1beta1.StudySpec.ParameterSpec.Discret" + + "eValueSpecH\000\022\031\n\014parameter_id\030\001 \001(\tB\003\340A\002\022" + + "V\n\nscale_type\030\006 \001(\0162B.google.cloud.aipla" + + "tform.v1beta1.StudySpec.ParameterSpec.Sc" + + "aleType\022v\n\033conditional_parameter_specs\030\n" + + " \003(\0132Q.google.cloud.aiplatform.v1beta1.S" + + "tudySpec.ParameterSpec.ConditionalParame" + + "terSpec\032o\n\017DoubleValueSpec\022\026\n\tmin_value\030" + + "\001 \001(\001B\003\340A\002\022\026\n\tmax_value\030\002 \001(\001B\003\340A\002\022\032\n\rde" + + "fault_value\030\004 \001(\001H\000\210\001\001B\020\n\016_default_value" + + "\032p\n\020IntegerValueSpec\022\026\n\tmin_value\030\001 \001(\003B" + + "\003\340A\002\022\026\n\tmax_value\030\002 \001(\003B\003\340A\002\022\032\n\rdefault_" + + "value\030\004 \001(\003H\000\210\001\001B\020\n\016_default_value\032Y\n\024Ca" + + "tegoricalValueSpec\022\023\n\006values\030\001 \003(\tB\003\340A\002\022" + + "\032\n\rdefault_value\030\003 \001(\tH\000\210\001\001B\020\n\016_default_" + + "value\032V\n\021DiscreteValueSpec\022\023\n\006values\030\001 \003" + + "(\001B\003\340A\002\022\032\n\rdefault_value\030\003 \001(\001H\000\210\001\001B\020\n\016_" + + "default_value\032\271\005\n\030ConditionalParameterSp" + + "ec\022\212\001\n\026parent_discrete_values\030\002 \001(\0132h.go" + + "ogle.cloud.aiplatform.v1beta1.StudySpec." + + "ParameterSpec.ConditionalParameterSpec.D" + + "iscreteValueConditionH\000\022\200\001\n\021parent_int_v" + + "alues\030\003 \001(\0132c.google.cloud.aiplatform.v1" + + "beta1.StudySpec.ParameterSpec.Conditiona" + + "lParameterSpec.IntValueConditionH\000\022\220\001\n\031p" + + "arent_categorical_values\030\004 \001(\0132k.google." + + "cloud.aiplatform.v1beta1.StudySpec.Param" + + "eterSpec.ConditionalParameterSpec.Catego" + + "ricalValueConditionH\000\022U\n\016parameter_spec\030" + + "\001 \001(\01328.google.cloud.aiplatform.v1beta1." + + "StudySpec.ParameterSpecB\003\340A\002\032-\n\026Discrete" + + "ValueCondition\022\023\n\006values\030\001 \003(\001B\003\340A\002\032(\n\021I" + + "ntValueCondition\022\023\n\006values\030\001 \003(\003B\003\340A\002\0320\n" + + "\031CategoricalValueCondition\022\023\n\006values\030\001 \003" + + "(\tB\003\340A\002B\030\n\026parent_value_condition\"n\n\tSca" + + "leType\022\032\n\026SCALE_TYPE_UNSPECIFIED\020\000\022\025\n\021UN" + + "IT_LINEAR_SCALE\020\001\022\022\n\016UNIT_LOG_SCALE\020\002\022\032\n" + + "\026UNIT_REVERSE_LOG_SCALE\020\003B\026\n\024parameter_v" + + "alue_spec\032?\n\037DecayCurveAutomatedStopping" + + "Spec\022\034\n\024use_elapsed_duration\030\001 \001(\010\032;\n\033Me" + + "dianAutomatedStoppingSpec\022\034\n\024use_elapsed" + + "_duration\030\001 \001(\010\032\260\001\n\033ConvexAutomatedStopp" + + "ingSpec\022\026\n\016max_step_count\030\001 \001(\003\022\026\n\016min_s" + + "tep_count\030\002 \001(\003\022\035\n\025min_measurement_count" + + "\030\003 \001(\003\022$\n\034learning_rate_parameter_name\030\004" + + " \001(\t\022\034\n\024use_elapsed_duration\030\005 \001(\010\032\235\001\n\020C" + + "onvexStopConfig\022\025\n\rmax_num_steps\030\001 \001(\003\022\025" + + "\n\rmin_num_steps\030\002 \001(\003\022\034\n\024autoregressive_" + + "order\030\003 \001(\003\022$\n\034learning_rate_parameter_n" + + "ame\030\004 \001(\t\022\023\n\013use_seconds\030\005 \001(\010:\002\030\001\032[\n\026Tr" + + "ansferLearningConfig\022!\n\031disable_transfer" + + "_learning\030\001 \001(\010\022\036\n\021prior_study_names\030\002 \003" + + "(\tB\003\340A\003\"J\n\tAlgorithm\022\031\n\025ALGORITHM_UNSPEC" + + "IFIED\020\000\022\017\n\013GRID_SEARCH\020\002\022\021\n\rRANDOM_SEARC" + + "H\020\003\"H\n\020ObservationNoise\022!\n\035OBSERVATION_N" + + "OISE_UNSPECIFIED\020\000\022\007\n\003LOW\020\001\022\010\n\004HIGH\020\002\"r\n" + + "\030MeasurementSelectionType\022*\n&MEASUREMENT" + + "_SELECTION_TYPE_UNSPECIFIED\020\000\022\024\n\020LAST_ME" + + "ASUREMENT\020\001\022\024\n\020BEST_MEASUREMENT\020\002B\031\n\027aut" + + "omated_stopping_spec\"\341\001\n\013Measurement\0228\n\020" + + "elapsed_duration\030\001 \001(\0132\031.google.protobuf" + + ".DurationB\003\340A\003\022\027\n\nstep_count\030\002 \001(\003B\003\340A\003\022" + + "I\n\007metrics\030\003 \003(\01323.google.cloud.aiplatfo" + + "rm.v1beta1.Measurement.MetricB\003\340A\003\0324\n\006Me" + + "tric\022\026\n\tmetric_id\030\001 \001(\tB\003\340A\003\022\022\n\005value\030\002 " + + "\001(\001B\003\340A\003B\347\001\n#com.google.cloud.aiplatform" + + ".v1beta1B\nStudyProtoP\001ZIgoogle.golang.or" + + "g/genproto/googleapis/cloud/aiplatform/v" + + "1beta1;aiplatform\252\002\037Google.Cloud.AIPlatf" + + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1" + + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -337,6 +346,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Algorithm", "ObservationNoise", "MeasurementSelectionType", + "TransferLearningConfig", "AutomatedStoppingSpec", }); internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_descriptor = @@ -498,6 +508,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LearningRateParameterName", "UseSeconds", }); + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_TransferLearningConfig_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_descriptor + .getNestedTypes() + .get(6); + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_TransferLearningConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_TransferLearningConfig_descriptor, + new java.lang.String[] { + "DisableTransferLearning", "PriorStudyNames", + }); internal_static_google_cloud_aiplatform_v1beta1_Measurement_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_cloud_aiplatform_v1beta1_Measurement_fieldAccessorTable = diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpec.java index f88624d6c52e..f65fdbbc70ff 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpec.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpec.java @@ -217,6 +217,24 @@ private StudySpec( automatedStoppingSpec_ = subBuilder.buildPartial(); } automatedStoppingSpecCase_ = 9; + break; + } + case 82: + { + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.Builder + subBuilder = null; + if (transferLearningConfig_ != null) { + subBuilder = transferLearningConfig_.toBuilder(); + } + transferLearningConfig_ = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transferLearningConfig_); + transferLearningConfig_ = subBuilder.buildPartial(); + } + break; } default: @@ -17775,222 +17793,1150 @@ public com.google.protobuf.Parser getParserForType() { } } - private int automatedStoppingSpecCase_ = 0; - private java.lang.Object automatedStoppingSpec_; - - public enum AutomatedStoppingSpecCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - DECAY_CURVE_STOPPING_SPEC(4), - MEDIAN_AUTOMATED_STOPPING_SPEC(5), - @java.lang.Deprecated - CONVEX_STOP_CONFIG(8), - CONVEX_AUTOMATED_STOPPING_SPEC(9), - AUTOMATEDSTOPPINGSPEC_NOT_SET(0); - private final int value; + public interface TransferLearningConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig) + com.google.protobuf.MessageOrBuilder { - private AutomatedStoppingSpecCase(int value) { - this.value = value; - } /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. + * + * + *
+     * Flag to to manually prevent vizier from using transfer learning on a
+     * new study. Otherwise, vizier will automatically determine whether or not
+     * to use transfer learning.
+     * 
+ * + * bool disable_transfer_learning = 1; + * + * @return The disableTransferLearning. */ - @java.lang.Deprecated - public static AutomatedStoppingSpecCase valueOf(int value) { - return forNumber(value); - } - - public static AutomatedStoppingSpecCase forNumber(int value) { - switch (value) { - case 4: - return DECAY_CURVE_STOPPING_SPEC; - case 5: - return MEDIAN_AUTOMATED_STOPPING_SPEC; - case 8: - return CONVEX_STOP_CONFIG; - case 9: - return CONVEX_AUTOMATED_STOPPING_SPEC; - case 0: - return AUTOMATEDSTOPPINGSPEC_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; + boolean getDisableTransferLearning(); - public AutomatedStoppingSpecCase getAutomatedStoppingSpecCase() { - return AutomatedStoppingSpecCase.forNumber(automatedStoppingSpecCase_); - } - - public static final int DECAY_CURVE_STOPPING_SPEC_FIELD_NUMBER = 4; - /** - * - * - *
-   * The automated early stopping spec using decay curve rule.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4; - * - * - * @return Whether the decayCurveStoppingSpec field is set. - */ - @java.lang.Override - public boolean hasDecayCurveStoppingSpec() { - return automatedStoppingSpecCase_ == 4; + /** + * + * + *
+     * Output only. Names of previously completed studies
+     * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return A list containing the priorStudyNames. + */ + java.util.List getPriorStudyNamesList(); + /** + * + * + *
+     * Output only. Names of previously completed studies
+     * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The count of priorStudyNames. + */ + int getPriorStudyNamesCount(); + /** + * + * + *
+     * Output only. Names of previously completed studies
+     * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the element to return. + * @return The priorStudyNames at the given index. + */ + java.lang.String getPriorStudyNames(int index); + /** + * + * + *
+     * Output only. Names of previously completed studies
+     * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the value to return. + * @return The bytes of the priorStudyNames at the given index. + */ + com.google.protobuf.ByteString getPriorStudyNamesBytes(int index); } /** * * *
-   * The automated early stopping spec using decay curve rule.
+   * This contains flag for manually disabling transfer learning for a study.
+   * The names of prior studies being used for transfer learning (if any)
+   * are also listed here.
    * 
* - * - * .google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4; - * - * - * @return The decayCurveStoppingSpec. + * Protobuf type {@code google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig} */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec - getDecayCurveStoppingSpec() { - if (automatedStoppingSpecCase_ == 4) { - return (com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec) - automatedStoppingSpec_; + public static final class TransferLearningConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig) + TransferLearningConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use TransferLearningConfig.newBuilder() to construct. + private TransferLearningConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - return com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec - .getDefaultInstance(); - } - /** - * - * - *
-   * The automated early stopping spec using decay curve rule.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4; - * - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpecOrBuilder - getDecayCurveStoppingSpecOrBuilder() { - if (automatedStoppingSpecCase_ == 4) { - return (com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec) - automatedStoppingSpec_; + + private TransferLearningConfig() { + priorStudyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; } - return com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec - .getDefaultInstance(); - } - public static final int MEDIAN_AUTOMATED_STOPPING_SPEC_FIELD_NUMBER = 5; - /** - * - * - *
-   * The automated early stopping spec using median rule.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5; - * - * - * @return Whether the medianAutomatedStoppingSpec field is set. - */ - @java.lang.Override - public boolean hasMedianAutomatedStoppingSpec() { - return automatedStoppingSpecCase_ == 5; - } - /** - * - * - *
-   * The automated early stopping spec using median rule.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5; - * - * - * @return The medianAutomatedStoppingSpec. - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec - getMedianAutomatedStoppingSpec() { - if (automatedStoppingSpecCase_ == 5) { - return (com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec) - automatedStoppingSpec_; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TransferLearningConfig(); } - return com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec - .getDefaultInstance(); - } - /** - * - * - *
-   * The automated early stopping spec using median rule.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5; - * - */ - @java.lang.Override - public com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpecOrBuilder - getMedianAutomatedStoppingSpecOrBuilder() { - if (automatedStoppingSpecCase_ == 5) { - return (com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec) - automatedStoppingSpec_; + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - return com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec - .getDefaultInstance(); - } - public static final int CONVEX_STOP_CONFIG_FIELD_NUMBER = 8; - /** - * - * - *
-   * Deprecated.
-   * The automated early stopping using convex stopping rule.
-   * 
- * - * - * .google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true]; - * - * - * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=553 - * @return Whether the convexStopConfig field is set. - */ - @java.lang.Override - @java.lang.Deprecated - public boolean hasConvexStopConfig() { - return automatedStoppingSpecCase_ == 8; - } - /** - * - * - *
-   * Deprecated.
-   * The automated early stopping using convex stopping rule.
-   * 
- * + private TransferLearningConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + disableTransferLearning_ = input.readBool(); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + priorStudyNames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + priorStudyNames_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + priorStudyNames_ = priorStudyNames_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.StudyProto + .internal_static_google_cloud_aiplatform_v1beta1_StudySpec_TransferLearningConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.StudyProto + .internal_static_google_cloud_aiplatform_v1beta1_StudySpec_TransferLearningConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.class, + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.Builder.class); + } + + public static final int DISABLE_TRANSFER_LEARNING_FIELD_NUMBER = 1; + private boolean disableTransferLearning_; + /** + * + * + *
+     * Flag to to manually prevent vizier from using transfer learning on a
+     * new study. Otherwise, vizier will automatically determine whether or not
+     * to use transfer learning.
+     * 
+ * + * bool disable_transfer_learning = 1; + * + * @return The disableTransferLearning. + */ + @java.lang.Override + public boolean getDisableTransferLearning() { + return disableTransferLearning_; + } + + public static final int PRIOR_STUDY_NAMES_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList priorStudyNames_; + /** + * + * + *
+     * Output only. Names of previously completed studies
+     * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return A list containing the priorStudyNames. + */ + public com.google.protobuf.ProtocolStringList getPriorStudyNamesList() { + return priorStudyNames_; + } + /** + * + * + *
+     * Output only. Names of previously completed studies
+     * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The count of priorStudyNames. + */ + public int getPriorStudyNamesCount() { + return priorStudyNames_.size(); + } + /** + * + * + *
+     * Output only. Names of previously completed studies
+     * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the element to return. + * @return The priorStudyNames at the given index. + */ + public java.lang.String getPriorStudyNames(int index) { + return priorStudyNames_.get(index); + } + /** + * + * + *
+     * Output only. Names of previously completed studies
+     * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the value to return. + * @return The bytes of the priorStudyNames at the given index. + */ + public com.google.protobuf.ByteString getPriorStudyNamesBytes(int index) { + return priorStudyNames_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (disableTransferLearning_ != false) { + output.writeBool(1, disableTransferLearning_); + } + for (int i = 0; i < priorStudyNames_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, priorStudyNames_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (disableTransferLearning_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disableTransferLearning_); + } + { + int dataSize = 0; + for (int i = 0; i < priorStudyNames_.size(); i++) { + dataSize += computeStringSizeNoTag(priorStudyNames_.getRaw(i)); + } + size += dataSize; + size += 1 * getPriorStudyNamesList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig other = + (com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig) obj; + + if (getDisableTransferLearning() != other.getDisableTransferLearning()) return false; + if (!getPriorStudyNamesList().equals(other.getPriorStudyNamesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DISABLE_TRANSFER_LEARNING_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableTransferLearning()); + if (getPriorStudyNamesCount() > 0) { + hash = (37 * hash) + PRIOR_STUDY_NAMES_FIELD_NUMBER; + hash = (53 * hash) + getPriorStudyNamesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * This contains flag for manually disabling transfer learning for a study.
+     * The names of prior studies being used for transfer learning (if any)
+     * are also listed here.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig) + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.StudyProto + .internal_static_google_cloud_aiplatform_v1beta1_StudySpec_TransferLearningConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.StudyProto + .internal_static_google_cloud_aiplatform_v1beta1_StudySpec_TransferLearningConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.class, + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + disableTransferLearning_ = false; + + priorStudyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.StudyProto + .internal_static_google_cloud_aiplatform_v1beta1_StudySpec_TransferLearningConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig build() { + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig buildPartial() { + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig result = + new com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig(this); + int from_bitField0_ = bitField0_; + result.disableTransferLearning_ = disableTransferLearning_; + if (((bitField0_ & 0x00000001) != 0)) { + priorStudyNames_ = priorStudyNames_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.priorStudyNames_ = priorStudyNames_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig other) { + if (other + == com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + .getDefaultInstance()) return this; + if (other.getDisableTransferLearning() != false) { + setDisableTransferLearning(other.getDisableTransferLearning()); + } + if (!other.priorStudyNames_.isEmpty()) { + if (priorStudyNames_.isEmpty()) { + priorStudyNames_ = other.priorStudyNames_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePriorStudyNamesIsMutable(); + priorStudyNames_.addAll(other.priorStudyNames_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private boolean disableTransferLearning_; + /** + * + * + *
+       * Flag to to manually prevent vizier from using transfer learning on a
+       * new study. Otherwise, vizier will automatically determine whether or not
+       * to use transfer learning.
+       * 
+ * + * bool disable_transfer_learning = 1; + * + * @return The disableTransferLearning. + */ + @java.lang.Override + public boolean getDisableTransferLearning() { + return disableTransferLearning_; + } + /** + * + * + *
+       * Flag to to manually prevent vizier from using transfer learning on a
+       * new study. Otherwise, vizier will automatically determine whether or not
+       * to use transfer learning.
+       * 
+ * + * bool disable_transfer_learning = 1; + * + * @param value The disableTransferLearning to set. + * @return This builder for chaining. + */ + public Builder setDisableTransferLearning(boolean value) { + + disableTransferLearning_ = value; + onChanged(); + return this; + } + /** + * + * + *
+       * Flag to to manually prevent vizier from using transfer learning on a
+       * new study. Otherwise, vizier will automatically determine whether or not
+       * to use transfer learning.
+       * 
+ * + * bool disable_transfer_learning = 1; + * + * @return This builder for chaining. + */ + public Builder clearDisableTransferLearning() { + + disableTransferLearning_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList priorStudyNames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensurePriorStudyNamesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + priorStudyNames_ = new com.google.protobuf.LazyStringArrayList(priorStudyNames_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+       * Output only. Names of previously completed studies
+       * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return A list containing the priorStudyNames. + */ + public com.google.protobuf.ProtocolStringList getPriorStudyNamesList() { + return priorStudyNames_.getUnmodifiableView(); + } + /** + * + * + *
+       * Output only. Names of previously completed studies
+       * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The count of priorStudyNames. + */ + public int getPriorStudyNamesCount() { + return priorStudyNames_.size(); + } + /** + * + * + *
+       * Output only. Names of previously completed studies
+       * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the element to return. + * @return The priorStudyNames at the given index. + */ + public java.lang.String getPriorStudyNames(int index) { + return priorStudyNames_.get(index); + } + /** + * + * + *
+       * Output only. Names of previously completed studies
+       * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the value to return. + * @return The bytes of the priorStudyNames at the given index. + */ + public com.google.protobuf.ByteString getPriorStudyNamesBytes(int index) { + return priorStudyNames_.getByteString(index); + } + /** + * + * + *
+       * Output only. Names of previously completed studies
+       * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index to set the value at. + * @param value The priorStudyNames to set. + * @return This builder for chaining. + */ + public Builder setPriorStudyNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePriorStudyNamesIsMutable(); + priorStudyNames_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Names of previously completed studies
+       * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The priorStudyNames to add. + * @return This builder for chaining. + */ + public Builder addPriorStudyNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePriorStudyNamesIsMutable(); + priorStudyNames_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Names of previously completed studies
+       * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param values The priorStudyNames to add. + * @return This builder for chaining. + */ + public Builder addAllPriorStudyNames(java.lang.Iterable values) { + ensurePriorStudyNamesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, priorStudyNames_); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Names of previously completed studies
+       * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearPriorStudyNames() { + priorStudyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. Names of previously completed studies
+       * 
+ * + * repeated string prior_study_names = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes of the priorStudyNames to add. + * @return This builder for chaining. + */ + public Builder addPriorStudyNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensurePriorStudyNamesIsMutable(); + priorStudyNames_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig) + private static final com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig(); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransferLearningConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransferLearningConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int automatedStoppingSpecCase_ = 0; + private java.lang.Object automatedStoppingSpec_; + + public enum AutomatedStoppingSpecCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + DECAY_CURVE_STOPPING_SPEC(4), + MEDIAN_AUTOMATED_STOPPING_SPEC(5), + @java.lang.Deprecated + CONVEX_STOP_CONFIG(8), + CONVEX_AUTOMATED_STOPPING_SPEC(9), + AUTOMATEDSTOPPINGSPEC_NOT_SET(0); + private final int value; + + private AutomatedStoppingSpecCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AutomatedStoppingSpecCase valueOf(int value) { + return forNumber(value); + } + + public static AutomatedStoppingSpecCase forNumber(int value) { + switch (value) { + case 4: + return DECAY_CURVE_STOPPING_SPEC; + case 5: + return MEDIAN_AUTOMATED_STOPPING_SPEC; + case 8: + return CONVEX_STOP_CONFIG; + case 9: + return CONVEX_AUTOMATED_STOPPING_SPEC; + case 0: + return AUTOMATEDSTOPPINGSPEC_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public AutomatedStoppingSpecCase getAutomatedStoppingSpecCase() { + return AutomatedStoppingSpecCase.forNumber(automatedStoppingSpecCase_); + } + + public static final int DECAY_CURVE_STOPPING_SPEC_FIELD_NUMBER = 4; + /** + * + * + *
+   * The automated early stopping spec using decay curve rule.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4; + * + * + * @return Whether the decayCurveStoppingSpec field is set. + */ + @java.lang.Override + public boolean hasDecayCurveStoppingSpec() { + return automatedStoppingSpecCase_ == 4; + } + /** + * + * + *
+   * The automated early stopping spec using decay curve rule.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4; + * + * + * @return The decayCurveStoppingSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec + getDecayCurveStoppingSpec() { + if (automatedStoppingSpecCase_ == 4) { + return (com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec) + automatedStoppingSpec_; + } + return com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec + .getDefaultInstance(); + } + /** + * + * + *
+   * The automated early stopping spec using decay curve rule.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec decay_curve_stopping_spec = 4; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpecOrBuilder + getDecayCurveStoppingSpecOrBuilder() { + if (automatedStoppingSpecCase_ == 4) { + return (com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec) + automatedStoppingSpec_; + } + return com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec + .getDefaultInstance(); + } + + public static final int MEDIAN_AUTOMATED_STOPPING_SPEC_FIELD_NUMBER = 5; + /** + * + * + *
+   * The automated early stopping spec using median rule.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5; + * + * + * @return Whether the medianAutomatedStoppingSpec field is set. + */ + @java.lang.Override + public boolean hasMedianAutomatedStoppingSpec() { + return automatedStoppingSpecCase_ == 5; + } + /** + * + * + *
+   * The automated early stopping spec using median rule.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5; + * + * + * @return The medianAutomatedStoppingSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec + getMedianAutomatedStoppingSpec() { + if (automatedStoppingSpecCase_ == 5) { + return (com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec) + automatedStoppingSpec_; + } + return com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec + .getDefaultInstance(); + } + /** + * + * + *
+   * The automated early stopping spec using median rule.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec median_automated_stopping_spec = 5; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpecOrBuilder + getMedianAutomatedStoppingSpecOrBuilder() { + if (automatedStoppingSpecCase_ == 5) { + return (com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec) + automatedStoppingSpec_; + } + return com.google.cloud.aiplatform.v1beta1.StudySpec.MedianAutomatedStoppingSpec + .getDefaultInstance(); + } + + public static final int CONVEX_STOP_CONFIG_FIELD_NUMBER = 8; + /** + * + * + *
+   * Deprecated.
+   * The automated early stopping using convex stopping rule.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true]; + * + * + * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See + * google/cloud/aiplatform/v1beta1/study.proto;l=566 + * @return Whether the convexStopConfig field is set. + */ + @java.lang.Override + @java.lang.Deprecated + public boolean hasConvexStopConfig() { + return automatedStoppingSpecCase_ == 8; + } + /** + * + * + *
+   * Deprecated.
+   * The automated early stopping using convex stopping rule.
+   * 
+ * * * .google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true]; * * * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=553 + * google/cloud/aiplatform/v1beta1/study.proto;l=566 * @return The convexStopConfig. */ @java.lang.Override @@ -18374,6 +19320,66 @@ public int getMeasurementSelectionTypeValue() { : result; } + public static final int TRANSFER_LEARNING_CONFIG_FIELD_NUMBER = 10; + private com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + transferLearningConfig_; + /** + * + * + *
+   * The configuration info/options for transfer learning. Currently supported
+   * for Vertex AI Vizier service, not HyperParameterTuningJob
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + * + * @return Whether the transferLearningConfig field is set. + */ + @java.lang.Override + public boolean hasTransferLearningConfig() { + return transferLearningConfig_ != null; + } + /** + * + * + *
+   * The configuration info/options for transfer learning. Currently supported
+   * for Vertex AI Vizier service, not HyperParameterTuningJob
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + * + * @return The transferLearningConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + getTransferLearningConfig() { + return transferLearningConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.getDefaultInstance() + : transferLearningConfig_; + } + /** + * + * + *
+   * The configuration info/options for transfer learning. Currently supported
+   * for Vertex AI Vizier service, not HyperParameterTuningJob
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfigOrBuilder + getTransferLearningConfigOrBuilder() { + return getTransferLearningConfig(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -18434,6 +19440,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io (com.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec) automatedStoppingSpec_); } + if (transferLearningConfig_ != null) { + output.writeMessage(10, getTransferLearningConfig()); + } unknownFields.writeTo(output); } @@ -18494,6 +19503,10 @@ public int getSerializedSize() { (com.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec) automatedStoppingSpec_); } + if (transferLearningConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(10, getTransferLearningConfig()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -18515,6 +19528,10 @@ public boolean equals(final java.lang.Object obj) { if (algorithm_ != other.algorithm_) return false; if (observationNoise_ != other.observationNoise_) return false; if (measurementSelectionType_ != other.measurementSelectionType_) return false; + if (hasTransferLearningConfig() != other.hasTransferLearningConfig()) return false; + if (hasTransferLearningConfig()) { + if (!getTransferLearningConfig().equals(other.getTransferLearningConfig())) return false; + } if (!getAutomatedStoppingSpecCase().equals(other.getAutomatedStoppingSpecCase())) return false; switch (automatedStoppingSpecCase_) { case 4: @@ -18559,6 +19576,10 @@ public int hashCode() { hash = (53 * hash) + observationNoise_; hash = (37 * hash) + MEASUREMENT_SELECTION_TYPE_FIELD_NUMBER; hash = (53 * hash) + measurementSelectionType_; + if (hasTransferLearningConfig()) { + hash = (37 * hash) + TRANSFER_LEARNING_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getTransferLearningConfig().hashCode(); + } switch (automatedStoppingSpecCase_) { case 4: hash = (37 * hash) + DECAY_CURVE_STOPPING_SPEC_FIELD_NUMBER; @@ -18745,6 +19766,12 @@ public Builder clear() { measurementSelectionType_ = 0; + if (transferLearningConfigBuilder_ == null) { + transferLearningConfig_ = null; + } else { + transferLearningConfig_ = null; + transferLearningConfigBuilder_ = null; + } automatedStoppingSpecCase_ = 0; automatedStoppingSpec_ = null; return this; @@ -18824,6 +19851,11 @@ public com.google.cloud.aiplatform.v1beta1.StudySpec buildPartial() { result.algorithm_ = algorithm_; result.observationNoise_ = observationNoise_; result.measurementSelectionType_ = measurementSelectionType_; + if (transferLearningConfigBuilder_ == null) { + result.transferLearningConfig_ = transferLearningConfig_; + } else { + result.transferLearningConfig_ = transferLearningConfigBuilder_.build(); + } result.automatedStoppingSpecCase_ = automatedStoppingSpecCase_; onBuilt(); return result; @@ -18937,6 +19969,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.StudySpec other) { if (other.measurementSelectionType_ != 0) { setMeasurementSelectionTypeValue(other.getMeasurementSelectionTypeValue()); } + if (other.hasTransferLearningConfig()) { + mergeTransferLearningConfig(other.getTransferLearningConfig()); + } switch (other.getAutomatedStoppingSpecCase()) { case DECAY_CURVE_STOPPING_SPEC: { @@ -19520,7 +20555,7 @@ public Builder clearMedianAutomatedStoppingSpec() { * * * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=553 + * google/cloud/aiplatform/v1beta1/study.proto;l=566 * @return Whether the convexStopConfig field is set. */ @java.lang.Override @@ -19541,7 +20576,7 @@ public boolean hasConvexStopConfig() { * * * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=553 + * google/cloud/aiplatform/v1beta1/study.proto;l=566 * @return The convexStopConfig. */ @java.lang.Override @@ -21118,6 +22153,229 @@ public Builder clearMeasurementSelectionType() { return this; } + private com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + transferLearningConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig, + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.Builder, + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfigOrBuilder> + transferLearningConfigBuilder_; + /** + * + * + *
+     * The configuration info/options for transfer learning. Currently supported
+     * for Vertex AI Vizier service, not HyperParameterTuningJob
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + * + * @return Whether the transferLearningConfig field is set. + */ + public boolean hasTransferLearningConfig() { + return transferLearningConfigBuilder_ != null || transferLearningConfig_ != null; + } + /** + * + * + *
+     * The configuration info/options for transfer learning. Currently supported
+     * for Vertex AI Vizier service, not HyperParameterTuningJob
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + * + * @return The transferLearningConfig. + */ + public com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + getTransferLearningConfig() { + if (transferLearningConfigBuilder_ == null) { + return transferLearningConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + .getDefaultInstance() + : transferLearningConfig_; + } else { + return transferLearningConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The configuration info/options for transfer learning. Currently supported
+     * for Vertex AI Vizier service, not HyperParameterTuningJob
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + */ + public Builder setTransferLearningConfig( + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig value) { + if (transferLearningConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transferLearningConfig_ = value; + onChanged(); + } else { + transferLearningConfigBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The configuration info/options for transfer learning. Currently supported
+     * for Vertex AI Vizier service, not HyperParameterTuningJob
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + */ + public Builder setTransferLearningConfig( + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.Builder + builderForValue) { + if (transferLearningConfigBuilder_ == null) { + transferLearningConfig_ = builderForValue.build(); + onChanged(); + } else { + transferLearningConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The configuration info/options for transfer learning. Currently supported
+     * for Vertex AI Vizier service, not HyperParameterTuningJob
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + */ + public Builder mergeTransferLearningConfig( + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig value) { + if (transferLearningConfigBuilder_ == null) { + if (transferLearningConfig_ != null) { + transferLearningConfig_ = + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.newBuilder( + transferLearningConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + transferLearningConfig_ = value; + } + onChanged(); + } else { + transferLearningConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The configuration info/options for transfer learning. Currently supported
+     * for Vertex AI Vizier service, not HyperParameterTuningJob
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + */ + public Builder clearTransferLearningConfig() { + if (transferLearningConfigBuilder_ == null) { + transferLearningConfig_ = null; + onChanged(); + } else { + transferLearningConfig_ = null; + transferLearningConfigBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The configuration info/options for transfer learning. Currently supported
+     * for Vertex AI Vizier service, not HyperParameterTuningJob
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + */ + public com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.Builder + getTransferLearningConfigBuilder() { + + onChanged(); + return getTransferLearningConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The configuration info/options for transfer learning. Currently supported
+     * for Vertex AI Vizier service, not HyperParameterTuningJob
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + */ + public com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfigOrBuilder + getTransferLearningConfigOrBuilder() { + if (transferLearningConfigBuilder_ != null) { + return transferLearningConfigBuilder_.getMessageOrBuilder(); + } else { + return transferLearningConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig + .getDefaultInstance() + : transferLearningConfig_; + } + } + /** + * + * + *
+     * The configuration info/options for transfer learning. Currently supported
+     * for Vertex AI Vizier service, not HyperParameterTuningJob
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig, + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.Builder, + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfigOrBuilder> + getTransferLearningConfigFieldBuilder() { + if (transferLearningConfigBuilder_ == null) { + transferLearningConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig, + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig.Builder, + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfigOrBuilder>( + getTransferLearningConfig(), getParentForChildren(), isClean()); + transferLearningConfig_ = null; + } + return transferLearningConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpecOrBuilder.java index 14c5e3a8f89b..3ba8fa870c03 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpecOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpecOrBuilder.java @@ -122,7 +122,7 @@ public interface StudySpecOrBuilder * * * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=553 + * google/cloud/aiplatform/v1beta1/study.proto;l=566 * @return Whether the convexStopConfig field is set. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface StudySpecOrBuilder * * * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=553 + * google/cloud/aiplatform/v1beta1/study.proto;l=566 * @return The convexStopConfig. */ @java.lang.Deprecated @@ -413,6 +413,51 @@ com.google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpecOrBuilder getParamete com.google.cloud.aiplatform.v1beta1.StudySpec.MeasurementSelectionType getMeasurementSelectionType(); + /** + * + * + *
+   * The configuration info/options for transfer learning. Currently supported
+   * for Vertex AI Vizier service, not HyperParameterTuningJob
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + * + * @return Whether the transferLearningConfig field is set. + */ + boolean hasTransferLearningConfig(); + /** + * + * + *
+   * The configuration info/options for transfer learning. Currently supported
+   * for Vertex AI Vizier service, not HyperParameterTuningJob
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + * + * @return The transferLearningConfig. + */ + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig getTransferLearningConfig(); + /** + * + * + *
+   * The configuration info/options for transfer learning. Currently supported
+   * for Vertex AI Vizier service, not HyperParameterTuningJob
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfig transfer_learning_config = 10; + * + */ + com.google.cloud.aiplatform.v1beta1.StudySpec.TransferLearningConfigOrBuilder + getTransferLearningConfigOrBuilder(); + public com.google.cloud.aiplatform.v1beta1.StudySpec.AutomatedStoppingSpecCase getAutomatedStoppingSpecCase(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto index 5141dfa27410..63fb0d9d0c4e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto @@ -156,7 +156,7 @@ message BatchPredictionJob { // Required. The user-defined name of this BatchPredictionJob. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // The name of the Model resoure that produces the predictions via this job, + // The name of the Model resource that produces the predictions via this job, // must share the same ancestor Location. // Starting this job has no impact on any existing deployments of the Model // and their resources. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto index ad66542d356c..24d384ff6034 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto @@ -106,7 +106,6 @@ message CustomJob { } // Represents the spec of a CustomJob. -// Next Id: 15 message CustomJobSpec { // Required. The spec of the worker pools including machine type and Docker image. // All worker pools except the first one are optional and can be skipped by diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto index 6acace9e7d7f..56df4670f7f8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto @@ -29,6 +29,7 @@ import "google/cloud/aiplatform/v1beta1/operation.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; +import "google/type/interval.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; @@ -290,8 +291,7 @@ service FeaturestoreService { // returned from reads and exports may be inconsistent. If consistency is // required, the caller must retry the same delete request again and wait till // the new operation returned is marked as successfully done. - rpc DeleteFeatureValues(DeleteFeatureValuesRequest) - returns (google.longrunning.Operation) { + rpc DeleteFeatureValues(DeleteFeatureValuesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:deleteFeatureValues" body: "*" @@ -548,6 +548,10 @@ message ImportFeatureValuesResponse { // * Having a null timestamp. // * Not being parsable (applicable for CSV sources). int64 invalid_row_count = 6; + + // The number rows that weren't ingested due to having feature timestamps + // outside the retention boundary. + int64 timestamp_outside_retention_rows_count = 4; } // Request message for [FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchReadFeatureValues]. @@ -1216,6 +1220,10 @@ message ImportFeatureValuesOperationMetadata { // * Having a null timestamp. // * Not being parsable (applicable for CSV sources). int64 invalid_row_count = 6; + + // The number rows that weren't ingested due to having timestamps outside the + // retention boundary. + int64 timestamp_outside_retention_rows_count = 7; } // Details of operations that exports Features values. @@ -1254,27 +1262,47 @@ message BatchCreateFeaturesOperationMetadata { GenericOperationMetadata generic_metadata = 1; } -// Request message for -// [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues]. +// Request message for [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues]. message DeleteFeatureValuesRequest { // Message to select entity. // If an entity id is selected, all the feature values corresponding to the // entity id will be deleted, including the entityId. message SelectEntity { - // Required. Selectors choosing feature values of which entity id to be - // deleted from the EntityType. - EntityIdSelector entity_id_selector = 1 - [(google.api.field_behavior) = REQUIRED]; + // Required. Selectors choosing feature values of which entity id to be deleted from + // the EntityType. + EntityIdSelector entity_id_selector = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Message to select time range and feature. + // Values of the selected feature generated within an inclusive time range + // will be deleted. + message SelectTimeRangeAndFeature { + // Required. Select feature generated within a half-inclusive time range. + // The time range is lower inclusive and upper exclusive. + google.type.Interval time_range = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Selectors choosing which feature values to be deleted from the + // EntityType. + FeatureSelector feature_selector = 2 [(google.api.field_behavior) = REQUIRED]; + + // If set, data will not be deleted from online storage. + // When time range is older than the data in online storage, setting this to + // be true will make the deletion have no impact on online serving. + bool skip_online_storage_delete = 3; } // Defines options to select feature values to be deleted. oneof DeleteOption { // Select feature values to be deleted by specifying entities. SelectEntity select_entity = 2; + + // Select feature values to be deleted by specifying time range and + // features. + SelectTimeRangeAndFeature select_time_range_and_feature = 3; } - // Required. The resource name of the EntityType grouping the Features for - // which values are being deleted from. Format: + // Required. The resource name of the EntityType grouping the Features for which values + // are being deleted from. Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` string entity_type = 1 [ (google.api.field_behavior) = REQUIRED, @@ -1284,9 +1312,10 @@ message DeleteFeatureValuesRequest { ]; } -// Response message for -// [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues]. -message DeleteFeatureValuesResponse {} +// Response message for [FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues]. +message DeleteFeatureValuesResponse { + +} // Selector for entityId. Getting ids from the given source. message EntityIdSelector { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_service.proto index 48cf08aa794c..68492a64c1d0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_service.proto @@ -388,6 +388,9 @@ message ListCustomJobsRequest { // * `state` supports `=`, `!=` comparisons. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -395,6 +398,8 @@ message ListCustomJobsRequest { // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` // * `NOT display_name="my_job"` // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` string filter = 2; // The standard list page size. @@ -493,6 +498,9 @@ message ListDataLabelingJobsRequest { // * `state` supports `=`, `!=` comparisons. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -500,6 +508,8 @@ message ListDataLabelingJobsRequest { // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` // * `NOT display_name="my_job"` // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` string filter = 2; // The standard list page size. @@ -603,6 +613,9 @@ message ListHyperparameterTuningJobsRequest { // * `state` supports `=`, `!=` comparisons. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -610,6 +623,8 @@ message ListHyperparameterTuningJobsRequest { // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` // * `NOT display_name="my_job"` // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` string filter = 2; // The standard list page size. @@ -711,6 +726,9 @@ message ListBatchPredictionJobsRequest { // * `state` supports `=`, `!=` comparisons. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -718,6 +736,8 @@ message ListBatchPredictionJobsRequest { // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` // * `NOT display_name="my_job"` // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` string filter = 2; // The standard list page size. @@ -891,6 +911,9 @@ message ListModelDeploymentMonitoringJobsRequest { // * `state` supports `=`, `!=` comparisons. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -898,6 +921,8 @@ message ListModelDeploymentMonitoringJobsRequest { // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` // * `NOT display_name="my_job"` // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` string filter = 2; // The standard list page size. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_service.proto index afcf68d0be4e..abdcb600c23c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_service.proto @@ -228,6 +228,17 @@ service MetadataService { option (google.api.method_signature) = "context,child_contexts"; } + // Remove a set of children contexts from a parent Context. If any of the + // child Contexts were NOT added to the parent Context, they are + // simply skipped. + rpc RemoveContextChildren(RemoveContextChildrenRequest) returns (RemoveContextChildrenResponse) { + option (google.api.http) = { + post: "/v1beta1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:removeContextChildren" + body: "*" + }; + option (google.api.method_signature) = "context,child_contexts"; + } + // Retrieves Artifacts and Executions within the specified Context, connected // by Event edges and returned as a LineageSubgraph. rpc QueryContextLineageSubgraph(QueryContextLineageSubgraphRequest) returns (LineageSubgraph) { @@ -549,6 +560,14 @@ message ListArtifactsRequest { // // For example: `display_name = "test" AND metadata.field1.bool_value = true`. string filter = 4; + + // How the list of messages is ordered. Specify the values to order by and an + // ordering operation. The default sorting order is ascending. To specify + // descending order for a field, users append a " desc" suffix; for example: + // "foo desc, bar". + // Subfields are specified with a `.` character, such as foo.bar. + // see https://google.aip.dev/132#ordering for more details. + string order_by = 5; } // Response message for [MetadataService.ListArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.ListArtifacts]. @@ -735,6 +754,14 @@ message ListContextsRequest { // // For example: `display_name = "test" AND metadata.field1.bool_value = true`. string filter = 4; + + // How the list of messages is ordered. Specify the values to order by and an + // ordering operation. The default sorting order is ascending. To specify + // descending order for a field, users append a " desc" suffix; for example: + // "foo desc, bar". + // Subfields are specified with a `.` character, such as foo.bar. + // see https://google.aip.dev/132#ordering for more details. + string order_by = 5; } // Response message for [MetadataService.ListContexts][google.cloud.aiplatform.v1beta1.MetadataService.ListContexts]. @@ -890,6 +917,31 @@ message AddContextChildrenResponse { } +// Request message for +// [MetadataService.DeleteContextChildrenRequest][]. +message RemoveContextChildrenRequest { + // Required. The resource name of the parent Context. + // + // Format: + // `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + string context = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Context" + } + ]; + + // The resource names of the child Contexts. + repeated string child_contexts = 2 [(google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Context" + }]; +} + +// Response message for [MetadataService.RemoveContextChildren][google.cloud.aiplatform.v1beta1.MetadataService.RemoveContextChildren]. +message RemoveContextChildrenResponse { + +} + // Request message for [MetadataService.QueryContextLineageSubgraph][google.cloud.aiplatform.v1beta1.MetadataService.QueryContextLineageSubgraph]. message QueryContextLineageSubgraphRequest { // Required. The resource name of the Context whose Artifacts and Executions @@ -999,6 +1051,14 @@ message ListExecutionsRequest { // logical operators (`AND` & `OR`). // For example: `display_name = "test" AND metadata.field1.bool_value = true`. string filter = 4; + + // How the list of messages is ordered. Specify the values to order by and an + // ordering operation. The default sorting order is ascending. To specify + // descending order for a field, users append a " desc" suffix; for example: + // "foo desc, bar". + // Subfields are specified with a `.` character, such as foo.bar. + // see https://google.aip.dev/132#ordering for more details. + string order_by = 5; } // Response message for [MetadataService.ListExecutions][google.cloud.aiplatform.v1beta1.MetadataService.ListExecutions]. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto index 3dc687e5f107..955314ecd441 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto @@ -59,8 +59,8 @@ message ModelMonitoringObjectiveConfig { oneof data_source { // The resource name of the Dataset used to train this Model. string dataset = 3 [(google.api.resource_reference) = { - type: "aiplatform.googleapis.com/Dataset" - }]; + type: "aiplatform.googleapis.com/Dataset" + }]; // The Google Cloud Storage uri of the unmanaged Dataset used to train // this Model. @@ -135,10 +135,8 @@ message ModelMonitoringObjectiveConfig { // The config for integrating with Vertex Explainable AI. Only applicable if // the Model has explanation_spec populated. message ExplanationConfig { - // Output from - // [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob] - // for Model Monitoring baseline dataset, which can be used to generate - // baseline attribution scores. + // Output from [BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob] for Model Monitoring baseline dataset, + // which can be used to generate baseline attribution scores. message ExplanationBaseline { // The storage format of the predictions generated BatchPrediction job. enum PredictionFormat { @@ -180,8 +178,7 @@ message ModelMonitoringObjectiveConfig { TrainingDataset training_dataset = 1; // The config for skew between training data and prediction data. - TrainingPredictionSkewDetectionConfig - training_prediction_skew_detection_config = 2; + TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2; // The config for drift of prediction data. PredictionDriftDetectionConfig prediction_drift_detection_config = 3; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_job.proto index 9cb69a902ee9..cb450ee569a8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_job.proto @@ -50,6 +50,18 @@ message PipelineJob { // The runtime config of a PipelineJob. message RuntimeConfig { + // The type of an input artifact. + message InputArtifact { + oneof kind { + // Artifact resource id from MLMD. Which is the last portion of an + // artifact resource + // name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}). + // The artifact must stay within the same project, location and default + // metadatastore as the pipeline. + string artifact_id = 1; + } + } + // Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime // parameters of the PipelineJob. The parameters will be passed into // [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec] to replace the placeholders at runtime. @@ -81,6 +93,10 @@ message PipelineJob { // will stop scheduling any new tasks when a task has failed. Any scheduled // tasks will continue to completion. PipelineFailurePolicy failure_policy = 4; + + // The runtime artifacts of the PipelineJob. The key will be the input + // artifact name and the value would be one of the InputArtifact. + map input_artifacts = 5; } // Output only. The resource name of the PipelineJob. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_service.proto index d66c78435ca1..8126d7b88391 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_service.proto @@ -201,6 +201,9 @@ message ListTrainingPipelinesRequest { // * `training_task_definition` `=`, `!=` comparisons, and `:` wildcard. // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence // // Some examples of using the filter are: // @@ -366,6 +369,9 @@ message ListPipelineJobsRequest { // * `end_time` // * `start_time` string order_by = 6; + + // Mask specifying which fields to read. + google.protobuf.FieldMask read_mask = 7; } // Response message for [PipelineService.ListPipelineJobs][google.cloud.aiplatform.v1beta1.PipelineService.ListPipelineJobs] diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/study.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/study.proto index b2595c684b11..5ca0eb1a0eba 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/study.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/study.proto @@ -485,6 +485,19 @@ message StudySpec { bool use_seconds = 5; } + // This contains flag for manually disabling transfer learning for a study. + // The names of prior studies being used for transfer learning (if any) + // are also listed here. + message TransferLearningConfig { + // Flag to to manually prevent vizier from using transfer learning on a + // new study. Otherwise, vizier will automatically determine whether or not + // to use transfer learning. + bool disable_transfer_learning = 1; + + // Output only. Names of previously completed studies + repeated string prior_study_names = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // The available search algorithms for the Study. enum Algorithm { // The default algorithm used by Vertex AI for [hyperparameter @@ -573,6 +586,10 @@ message StudySpec { // Describe which measurement selection type will be used MeasurementSelectionType measurement_selection_type = 7; + + // The configuration info/options for transfer learning. Currently supported + // for Vertex AI Vizier service, not HyperParameterTuningJob + TransferLearningConfig transfer_learning_config = 10; } // A message representing a Measurement of a Trial. A Measurement contains diff --git a/java-aiplatform/samples/install-without-bom/pom.xml b/java-aiplatform/samples/install-without-bom/pom.xml new file mode 100644 index 000000000000..5dda186e2dbc --- /dev/null +++ b/java-aiplatform/samples/install-without-bom/pom.xml @@ -0,0 +1,84 @@ + + + 4.0.0 + com.google.cloud + -install-without-bom + jar + Google Vertex AI Install Without Bom + https://github.com/googleapis/java-aiplatform + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + com.google.cloud + google-cloud-aiplatform + 3.3.0 + + + + + junit + junit + 4.13.2 + test + + + com.google.truth + truth + 1.1.3 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.3.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/java-aiplatform/samples/pom.xml b/java-aiplatform/samples/pom.xml new file mode 100644 index 000000000000..615f479baf07 --- /dev/null +++ b/java-aiplatform/samples/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + com.google.cloud + google-cloud--samples + 0.0.1-SNAPSHOT + pom + Google Vertex AI Samples Parent + https://github.com/googleapis/java-aiplatform + + Java idiomatic client for Google Cloud Platform services. + + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + install-without-bom + snapshot + snippets + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + + true + + + + + diff --git a/java-aiplatform/samples/snapshot/pom.xml b/java-aiplatform/samples/snapshot/pom.xml new file mode 100644 index 000000000000..319444b9cd03 --- /dev/null +++ b/java-aiplatform/samples/snapshot/pom.xml @@ -0,0 +1,83 @@ + + + 4.0.0 + com.google.cloud + -snapshot + jar + Google Vertex AI Snapshot Samples + https://github.com/googleapis/java-aiplatform + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-aiplatform + 3.3.0 + + + + + junit + junit + 4.13.2 + test + + + com.google.truth + truth + 1.1.3 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.3.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/java-aiplatform/samples/snippets/pom.xml b/java-aiplatform/samples/snippets/pom.xml new file mode 100644 index 000000000000..414f5dc50f35 --- /dev/null +++ b/java-aiplatform/samples/snippets/pom.xml @@ -0,0 +1,47 @@ + + + 4.0.0 + com.google.cloud + -snippets + jar + Google Vertex AI Snippets + https://github.com/googleapis/java-aiplatform + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-aiplatform + 3.3.0 + + + + junit + junit + 4.13.2 + test + + + com.google.truth + truth + 1.1.3 + test + + +