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

Commit

Permalink
feat!: release gapic-generator-java v2.0.0 (#603)
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 388535346
Source-Link: googleapis/googleapis@d9eaf41
Source-Link: googleapis/googleapis-gen@976c5ab

#439
feat: Adds additional_experiments field to AutoMlTablesInputs
feat: Adds two new ModelType constants for Video Action Recognition training jobs

PiperOrigin-RevId: 384483418
Source-Link: googleapis/googleapis@369fd2a
Source-Link: googleapis/googleapis-gen@e46a365

#442
feat!: Removes AcceleratorType.TPU_V2 and TPU_V3 constants
feat: Adds AcceleratorType.NVIDIA_TESLA_A100 constant
feat: Adds BigQuery output table field to batch prediction job output config
feat: Adds JobState.JOB_STATE_EXPIRED constant
feat: Adds AutoscalingMetricSpec message
feat: Adds PipelineService methods: CreatePipelineJob, GetPipelineJob, ListPipelineJobs, DeletePipelineJobs, CancelPipelineJobs
feat: Adds fields to Study message

PiperOrigin-RevId: 384714314
Source-Link: googleapis/googleapis@cc51e48
Source-Link: googleapis/googleapis-gen@f87b91c

#443
feat: Adds additional_experiments field to AutoMlTablesInputs
feat: Adds additional_experiments field to AutoMlForecastingInputs
feat: Adds two new ModelType constants for Video Action Recognition training jobs

PiperOrigin-RevId: 384715948
Source-Link: googleapis/googleapis@83c3728
Source-Link: googleapis/googleapis-gen@4c0c40d

#448
feat!: Removes breaking change from v1 version of AI Platform protos

PiperOrigin-RevId: 385812643
Source-Link: googleapis/googleapis@22e280d
Source-Link: googleapis/googleapis-gen@8a8d8da

feat: Adds CustomJob.web_access_uris, CustomJob.enable_web_access fields
feat: Adds Feature Store features
feat: Adds Endpoint.network, Endpoint.private_endpoints fields and PrivateEndpoints message
feat: Adds Execution.State constants: CACHED and CANCELLED
feat: Adds IndexEndpoint.private_ip_ranges field
feat: Adds IndexEndpointService.deployed_index_id field
feat: Adds MetadataService.DeleteArtifact and DeleteExecution methods
feat: Adds ModelMonitoringObjectConfig.explanation_config field and ModelMonitoringObjectConfig.ExplanationConfig message
feat: Adds ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.attribution_score_skew_thresholds and ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.attribution_score_drift_threshold fields
feat: Adds fields to Study message
feat: Adds BigQuery output table field to batch prediction job output config #449

PiperOrigin-RevId: 385903722
Source-Link: googleapis/googleapis@4e836c7
Source-Link: googleapis/googleapis-gen@649ba2a
  • Loading branch information
gcf-owl-bot[bot] committed Aug 6, 2021
1 parent ea89a04 commit a00087e
Show file tree
Hide file tree
Showing 443 changed files with 72,312 additions and 8,234 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.aiplatform.v1;

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
Expand Down Expand Up @@ -1426,12 +1425,7 @@ public static ApiFuture<ListDatasetsPagedResponse> createAsync(
ListDatasetsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListDatasetsPage, ListDatasetsPagedResponse>() {
@Override
public ListDatasetsPagedResponse apply(ListDatasetsPage input) {
return new ListDatasetsPagedResponse(input);
}
},
input -> new ListDatasetsPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down Expand Up @@ -1506,12 +1500,7 @@ public static ApiFuture<ListDataItemsPagedResponse> createAsync(
ListDataItemsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListDataItemsPage, ListDataItemsPagedResponse>() {
@Override
public ListDataItemsPagedResponse apply(ListDataItemsPage input) {
return new ListDataItemsPagedResponse(input);
}
},
input -> new ListDataItemsPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down Expand Up @@ -1587,12 +1576,7 @@ public static ApiFuture<ListAnnotationsPagedResponse> createAsync(
ListAnnotationsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListAnnotationsPage, ListAnnotationsPagedResponse>() {
@Override
public ListAnnotationsPagedResponse apply(ListAnnotationsPage input) {
return new ListAnnotationsPagedResponse(input);
}
},
input -> new ListAnnotationsPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,13 @@ public DatasetServiceStubSettings.Builder getStubSettingsBuilder() {
return ((DatasetServiceStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'.
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.aiplatform.v1;

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
Expand Down Expand Up @@ -1097,12 +1096,7 @@ public static ApiFuture<ListEndpointsPagedResponse> createAsync(
ListEndpointsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListEndpointsPage, ListEndpointsPagedResponse>() {
@Override
public ListEndpointsPagedResponse apply(ListEndpointsPage input) {
return new ListEndpointsPagedResponse(input);
}
},
input -> new ListEndpointsPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,13 @@ public EndpointServiceStubSettings.Builder getStubSettingsBuilder() {
return ((EndpointServiceStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'.
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.aiplatform.v1;

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
Expand Down Expand Up @@ -2658,12 +2657,7 @@ public static ApiFuture<ListCustomJobsPagedResponse> createAsync(
ListCustomJobsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListCustomJobsPage, ListCustomJobsPagedResponse>() {
@Override
public ListCustomJobsPagedResponse apply(ListCustomJobsPage input) {
return new ListCustomJobsPagedResponse(input);
}
},
input -> new ListCustomJobsPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down Expand Up @@ -2740,12 +2734,7 @@ public static ApiFuture<ListDataLabelingJobsPagedResponse> createAsync(
ListDataLabelingJobsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListDataLabelingJobsPage, ListDataLabelingJobsPagedResponse>() {
@Override
public ListDataLabelingJobsPagedResponse apply(ListDataLabelingJobsPage input) {
return new ListDataLabelingJobsPagedResponse(input);
}
},
input -> new ListDataLabelingJobsPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down Expand Up @@ -2833,14 +2822,7 @@ public static ApiFuture<ListHyperparameterTuningJobsPagedResponse> createAsync(
.createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<
ListHyperparameterTuningJobsPage, ListHyperparameterTuningJobsPagedResponse>() {
@Override
public ListHyperparameterTuningJobsPagedResponse apply(
ListHyperparameterTuningJobsPage input) {
return new ListHyperparameterTuningJobsPagedResponse(input);
}
},
input -> new ListHyperparameterTuningJobsPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down Expand Up @@ -2934,12 +2916,7 @@ public static ApiFuture<ListBatchPredictionJobsPagedResponse> createAsync(
ListBatchPredictionJobsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListBatchPredictionJobsPage, ListBatchPredictionJobsPagedResponse>() {
@Override
public ListBatchPredictionJobsPagedResponse apply(ListBatchPredictionJobsPage input) {
return new ListBatchPredictionJobsPagedResponse(input);
}
},
input -> new ListBatchPredictionJobsPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,14 +308,13 @@ public JobServiceStubSettings.Builder getStubSettingsBuilder() {
return ((JobServiceStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'.
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.aiplatform.v1;

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
Expand Down Expand Up @@ -530,13 +529,7 @@ public static ApiFuture<SearchMigratableResourcesPagedResponse> createAsync(
SearchMigratableResourcesPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<SearchMigratableResourcesPage, SearchMigratableResourcesPagedResponse>() {
@Override
public SearchMigratableResourcesPagedResponse apply(
SearchMigratableResourcesPage input) {
return new SearchMigratableResourcesPagedResponse(input);
}
},
input -> new SearchMigratableResourcesPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,13 @@ public MigrationServiceStubSettings.Builder getStubSettingsBuilder() {
return ((MigrationServiceStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'.
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.aiplatform.v1;

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
Expand Down Expand Up @@ -1425,14 +1424,7 @@ public static ApiFuture<ListModelsPagedResponse> createAsync(
ApiFuture<ListModelsPage> futurePage =
ListModelsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListModelsPage, ListModelsPagedResponse>() {
@Override
public ListModelsPagedResponse apply(ListModelsPage input) {
return new ListModelsPagedResponse(input);
}
},
MoreExecutors.directExecutor());
futurePage, input -> new ListModelsPagedResponse(input), MoreExecutors.directExecutor());
}

private ListModelsPagedResponse(ListModelsPage page) {
Expand Down Expand Up @@ -1507,12 +1499,7 @@ public static ApiFuture<ListModelEvaluationsPagedResponse> createAsync(
ListModelEvaluationsPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListModelEvaluationsPage, ListModelEvaluationsPagedResponse>() {
@Override
public ListModelEvaluationsPagedResponse apply(ListModelEvaluationsPage input) {
return new ListModelEvaluationsPagedResponse(input);
}
},
input -> new ListModelEvaluationsPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down Expand Up @@ -1599,13 +1586,7 @@ public static ApiFuture<ListModelEvaluationSlicesPagedResponse> createAsync(
ListModelEvaluationSlicesPage.createEmptyPage().createPageAsync(context, futureResponse);
return ApiFutures.transform(
futurePage,
new ApiFunction<ListModelEvaluationSlicesPage, ListModelEvaluationSlicesPagedResponse>() {
@Override
public ListModelEvaluationSlicesPagedResponse apply(
ListModelEvaluationSlicesPage input) {
return new ListModelEvaluationSlicesPagedResponse(input);
}
},
input -> new ListModelEvaluationSlicesPagedResponse(input),
MoreExecutors.directExecutor());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,13 @@ public ModelServiceStubSettings.Builder getStubSettingsBuilder() {
return ((ModelServiceStubSettings.Builder) getStubSettings());
}

// NEXT_MAJOR_VER: remove 'throws Exception'.
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
Expand Down
Loading

0 comments on commit a00087e

Please sign in to comment.