Skip to content
This repository was archived by the owner on Sep 9, 2023. It is now read-only.

Commit fee522f

Browse files
chore: update gax-java dependency to 1.62 (#332)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/0aaef842-1931-4de0-9c62-bc70db996d0d/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) PiperOrigin-RevId: 368532697 Source-Link: googleapis/googleapis@a8615e2 PiperOrigin-RevId: 363921711 Source-Link: googleapis/googleapis@4ea5a27 PiperOrigin-RevId: 362856902 Source-Link: googleapis/googleapis@1305ca4 PiperOrigin-RevId: 361377784 Source-Link: googleapis/googleapis@0e91521 PiperOrigin-RevId: 360805639 Source-Link: googleapis/googleapis@3befd26 PiperOrigin-RevId: 360248513 Source-Link: googleapis/googleapis@a389671 PiperOrigin-RevId: 360235141 Source-Link: googleapis/googleapis@d1ec8a4 PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4 PiperOrigin-RevId: 358516065 Source-Link: googleapis/googleapis@af8f71d feat: remove unsupported accelerator types feat: add aiplatform API Vizier service fix: configuring timeouts for aiplatform v1 methods
1 parent 5659ceb commit fee522f

File tree

366 files changed

+42808
-2559
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

366 files changed

+42808
-2559
lines changed

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceClient.java

+29-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -575,6 +575,15 @@ public final ListDatasetsPagedResponse listDatasets(ListDatasetsRequest request)
575575
*
576576
* <pre>{@code
577577
* try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
578+
* ListDatasetsRequest request =
579+
* ListDatasetsRequest.newBuilder()
580+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
581+
* .setFilter("filter-1274492040")
582+
* .setPageSize(883849137)
583+
* .setPageToken("pageToken873572522")
584+
* .setReadMask(FieldMask.newBuilder().build())
585+
* .setOrderBy("orderBy-1207110587")
586+
* .build();
578587
* while (true) {
579588
* ListDatasetsResponse response = datasetServiceClient.listDatasetsCallable().call(request);
580589
* for (Dataset element : response.getResponsesList()) {
@@ -1089,6 +1098,15 @@ public final ListDataItemsPagedResponse listDataItems(ListDataItemsRequest reque
10891098
*
10901099
* <pre>{@code
10911100
* try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
1101+
* ListDataItemsRequest request =
1102+
* ListDataItemsRequest.newBuilder()
1103+
* .setParent(DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]").toString())
1104+
* .setFilter("filter-1274492040")
1105+
* .setPageSize(883849137)
1106+
* .setPageToken("pageToken873572522")
1107+
* .setReadMask(FieldMask.newBuilder().build())
1108+
* .setOrderBy("orderBy-1207110587")
1109+
* .build();
10921110
* while (true) {
10931111
* ListDataItemsResponse response = datasetServiceClient.listDataItemsCallable().call(request);
10941112
* for (DataItem element : response.getResponsesList()) {
@@ -1333,6 +1351,16 @@ public final ListAnnotationsPagedResponse listAnnotations(ListAnnotationsRequest
13331351
*
13341352
* <pre>{@code
13351353
* try (DatasetServiceClient datasetServiceClient = DatasetServiceClient.create()) {
1354+
* ListAnnotationsRequest request =
1355+
* ListAnnotationsRequest.newBuilder()
1356+
* .setParent(
1357+
* DataItemName.of("[PROJECT]", "[LOCATION]", "[DATASET]", "[DATA_ITEM]").toString())
1358+
* .setFilter("filter-1274492040")
1359+
* .setPageSize(883849137)
1360+
* .setPageToken("pageToken873572522")
1361+
* .setReadMask(FieldMask.newBuilder().build())
1362+
* .setOrderBy("orderBy-1207110587")
1363+
* .build();
13361364
* while (true) {
13371365
* ListAnnotationsResponse response =
13381366
* datasetServiceClient.listAnnotationsCallable().call(request);

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceClient.java

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -505,6 +505,15 @@ public final ListEndpointsPagedResponse listEndpoints(ListEndpointsRequest reque
505505
*
506506
* <pre>{@code
507507
* try (EndpointServiceClient endpointServiceClient = EndpointServiceClient.create()) {
508+
* ListEndpointsRequest request =
509+
* ListEndpointsRequest.newBuilder()
510+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
511+
* .setFilter("filter-1274492040")
512+
* .setPageSize(883849137)
513+
* .setPageToken("pageToken873572522")
514+
* .setReadMask(FieldMask.newBuilder().build())
515+
* .setOrderBy("orderBy-1207110587")
516+
* .build();
508517
* while (true) {
509518
* ListEndpointsResponse response =
510519
* endpointServiceClient.listEndpointsCallable().call(request);

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java

+34-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -470,6 +470,14 @@ public final ListCustomJobsPagedResponse listCustomJobs(ListCustomJobsRequest re
470470
*
471471
* <pre>{@code
472472
* try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
473+
* ListCustomJobsRequest request =
474+
* ListCustomJobsRequest.newBuilder()
475+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
476+
* .setFilter("filter-1274492040")
477+
* .setPageSize(883849137)
478+
* .setPageToken("pageToken873572522")
479+
* .setReadMask(FieldMask.newBuilder().build())
480+
* .build();
473481
* while (true) {
474482
* ListCustomJobsResponse response = jobServiceClient.listCustomJobsCallable().call(request);
475483
* for (CustomJob element : response.getResponsesList()) {
@@ -1054,6 +1062,15 @@ public final ListDataLabelingJobsPagedResponse listDataLabelingJobs(
10541062
*
10551063
* <pre>{@code
10561064
* try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
1065+
* ListDataLabelingJobsRequest request =
1066+
* ListDataLabelingJobsRequest.newBuilder()
1067+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
1068+
* .setFilter("filter-1274492040")
1069+
* .setPageSize(883849137)
1070+
* .setPageToken("pageToken873572522")
1071+
* .setReadMask(FieldMask.newBuilder().build())
1072+
* .setOrderBy("orderBy-1207110587")
1073+
* .build();
10571074
* while (true) {
10581075
* ListDataLabelingJobsResponse response =
10591076
* jobServiceClient.listDataLabelingJobsCallable().call(request);
@@ -1649,6 +1666,14 @@ public final ListHyperparameterTuningJobsPagedResponse listHyperparameterTuningJ
16491666
*
16501667
* <pre>{@code
16511668
* try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
1669+
* ListHyperparameterTuningJobsRequest request =
1670+
* ListHyperparameterTuningJobsRequest.newBuilder()
1671+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
1672+
* .setFilter("filter-1274492040")
1673+
* .setPageSize(883849137)
1674+
* .setPageToken("pageToken873572522")
1675+
* .setReadMask(FieldMask.newBuilder().build())
1676+
* .build();
16521677
* while (true) {
16531678
* ListHyperparameterTuningJobsResponse response =
16541679
* jobServiceClient.listHyperparameterTuningJobsCallable().call(request);
@@ -2292,6 +2317,14 @@ public final ListBatchPredictionJobsPagedResponse listBatchPredictionJobs(
22922317
*
22932318
* <pre>{@code
22942319
* try (JobServiceClient jobServiceClient = JobServiceClient.create()) {
2320+
* ListBatchPredictionJobsRequest request =
2321+
* ListBatchPredictionJobsRequest.newBuilder()
2322+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
2323+
* .setFilter("filter-1274492040")
2324+
* .setPageSize(883849137)
2325+
* .setPageToken("pageToken873572522")
2326+
* .setReadMask(FieldMask.newBuilder().build())
2327+
* .build();
22952328
* while (true) {
22962329
* ListBatchPredictionJobsResponse response =
22972330
* jobServiceClient.listBatchPredictionJobsCallable().call(request);

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceClient.java

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -299,6 +299,13 @@ public final SearchMigratableResourcesPagedResponse searchMigratableResources(
299299
*
300300
* <pre>{@code
301301
* try (MigrationServiceClient migrationServiceClient = MigrationServiceClient.create()) {
302+
* SearchMigratableResourcesRequest request =
303+
* SearchMigratableResourcesRequest.newBuilder()
304+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
305+
* .setPageSize(883849137)
306+
* .setPageToken("pageToken873572522")
307+
* .setFilter("filter-1274492040")
308+
* .build();
302309
* while (true) {
303310
* SearchMigratableResourcesResponse response =
304311
* migrationServiceClient.searchMigratableResourcesCallable().call(request);

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java

+28-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -498,6 +498,15 @@ public final UnaryCallable<ListModelsRequest, ListModelsPagedResponse> listModel
498498
*
499499
* <pre>{@code
500500
* try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
501+
* ListModelsRequest request =
502+
* ListModelsRequest.newBuilder()
503+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
504+
* .setFilter("filter-1274492040")
505+
* .setPageSize(883849137)
506+
* .setPageToken("pageToken873572522")
507+
* .setReadMask(FieldMask.newBuilder().build())
508+
* .setOrderBy("orderBy-1207110587")
509+
* .build();
501510
* while (true) {
502511
* ListModelsResponse response = modelServiceClient.listModelsCallable().call(request);
503512
* for (Model element : response.getResponsesList()) {
@@ -1072,6 +1081,14 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations(
10721081
*
10731082
* <pre>{@code
10741083
* try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
1084+
* ListModelEvaluationsRequest request =
1085+
* ListModelEvaluationsRequest.newBuilder()
1086+
* .setParent(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
1087+
* .setFilter("filter-1274492040")
1088+
* .setPageSize(883849137)
1089+
* .setPageToken("pageToken873572522")
1090+
* .setReadMask(FieldMask.newBuilder().build())
1091+
* .build();
10751092
* while (true) {
10761093
* ListModelEvaluationsResponse response =
10771094
* modelServiceClient.listModelEvaluationsCallable().call(request);
@@ -1333,6 +1350,16 @@ public final ListModelEvaluationSlicesPagedResponse listModelEvaluationSlices(
13331350
*
13341351
* <pre>{@code
13351352
* try (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
1353+
* ListModelEvaluationSlicesRequest request =
1354+
* ListModelEvaluationSlicesRequest.newBuilder()
1355+
* .setParent(
1356+
* ModelEvaluationName.of("[PROJECT]", "[LOCATION]", "[MODEL]", "[EVALUATION]")
1357+
* .toString())
1358+
* .setFilter("filter-1274492040")
1359+
* .setPageSize(883849137)
1360+
* .setPageToken("pageToken873572522")
1361+
* .setReadMask(FieldMask.newBuilder().build())
1362+
* .build();
13361363
* while (true) {
13371364
* ListModelEvaluationSlicesResponse response =
13381365
* modelServiceClient.listModelEvaluationSlicesCallable().call(request);

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceClient.java

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -501,6 +501,14 @@ public final ListTrainingPipelinesPagedResponse listTrainingPipelines(
501501
*
502502
* <pre>{@code
503503
* try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
504+
* ListTrainingPipelinesRequest request =
505+
* ListTrainingPipelinesRequest.newBuilder()
506+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
507+
* .setFilter("filter-1274492040")
508+
* .setPageSize(883849137)
509+
* .setPageToken("pageToken873572522")
510+
* .setReadMask(FieldMask.newBuilder().build())
511+
* .build();
504512
* while (true) {
505513
* ListTrainingPipelinesResponse response =
506514
* pipelineServiceClient.listTrainingPipelinesCallable().call(request);

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceClient.java

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -542,6 +542,13 @@ public final ListSpecialistPoolsPagedResponse listSpecialistPools(
542542
* <pre>{@code
543543
* try (SpecialistPoolServiceClient specialistPoolServiceClient =
544544
* SpecialistPoolServiceClient.create()) {
545+
* ListSpecialistPoolsRequest request =
546+
* ListSpecialistPoolsRequest.newBuilder()
547+
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
548+
* .setPageSize(883849137)
549+
* .setPageToken("pageToken873572522")
550+
* .setReadMask(FieldMask.newBuilder().build())
551+
* .build();
545552
* while (true) {
546553
* ListSpecialistPoolsResponse response =
547554
* specialistPoolServiceClient.listSpecialistPoolsCallable().call(request);

Diff for: google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Google LLC
2+
* Copyright 2021 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)