All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.aiplatform.v1.JobServiceSettings Maven / Gradle / Ivy

There is a newer version: 3.55.0
Show newest version
/*
 * Copyright 2024 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.
 */

package com.google.cloud.aiplatform.v1;

import static com.google.cloud.aiplatform.v1.JobServiceClient.ListBatchPredictionJobsPagedResponse;
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListCustomJobsPagedResponse;
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListDataLabelingJobsPagedResponse;
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse;
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse;
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasJobsPagedResponse;
import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasTrialDetailsPagedResponse;
import static com.google.cloud.aiplatform.v1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse;

import com.google.api.core.ApiFunction;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.aiplatform.v1.stub.JobServiceStubSettings;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
import com.google.iam.v1.SetIamPolicyRequest;
import com.google.iam.v1.TestIamPermissionsRequest;
import com.google.iam.v1.TestIamPermissionsResponse;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
 * Settings class to configure an instance of {@link JobServiceClient}.
 *
 * 

The default instance has everything set to sensible defaults: * *

    *
  • The default service address (aiplatform.googleapis.com) and default port (443) are used. *
  • Credentials are acquired automatically through Application Default Credentials. *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * *

For example, to set the total timeout of createCustomJob to 30 seconds: * *

{@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
 * JobServiceSettings.Builder jobServiceSettingsBuilder = JobServiceSettings.newBuilder();
 * jobServiceSettingsBuilder
 *     .createCustomJobSettings()
 *     .setRetrySettings(
 *         jobServiceSettingsBuilder
 *             .createCustomJobSettings()
 *             .getRetrySettings()
 *             .toBuilder()
 *             .setTotalTimeout(Duration.ofSeconds(30))
 *             .build());
 * JobServiceSettings jobServiceSettings = jobServiceSettingsBuilder.build();
 * }
*/ @Generated("by gapic-generator-java") public class JobServiceSettings extends ClientSettings { /** Returns the object with the settings used for calls to createCustomJob. */ public UnaryCallSettings createCustomJobSettings() { return ((JobServiceStubSettings) getStubSettings()).createCustomJobSettings(); } /** Returns the object with the settings used for calls to getCustomJob. */ public UnaryCallSettings getCustomJobSettings() { return ((JobServiceStubSettings) getStubSettings()).getCustomJobSettings(); } /** Returns the object with the settings used for calls to listCustomJobs. */ public PagedCallSettings< ListCustomJobsRequest, ListCustomJobsResponse, ListCustomJobsPagedResponse> listCustomJobsSettings() { return ((JobServiceStubSettings) getStubSettings()).listCustomJobsSettings(); } /** Returns the object with the settings used for calls to deleteCustomJob. */ public UnaryCallSettings deleteCustomJobSettings() { return ((JobServiceStubSettings) getStubSettings()).deleteCustomJobSettings(); } /** Returns the object with the settings used for calls to deleteCustomJob. */ public OperationCallSettings deleteCustomJobOperationSettings() { return ((JobServiceStubSettings) getStubSettings()).deleteCustomJobOperationSettings(); } /** Returns the object with the settings used for calls to cancelCustomJob. */ public UnaryCallSettings cancelCustomJobSettings() { return ((JobServiceStubSettings) getStubSettings()).cancelCustomJobSettings(); } /** Returns the object with the settings used for calls to createDataLabelingJob. */ public UnaryCallSettings createDataLabelingJobSettings() { return ((JobServiceStubSettings) getStubSettings()).createDataLabelingJobSettings(); } /** Returns the object with the settings used for calls to getDataLabelingJob. */ public UnaryCallSettings getDataLabelingJobSettings() { return ((JobServiceStubSettings) getStubSettings()).getDataLabelingJobSettings(); } /** Returns the object with the settings used for calls to listDataLabelingJobs. */ public PagedCallSettings< ListDataLabelingJobsRequest, ListDataLabelingJobsResponse, ListDataLabelingJobsPagedResponse> listDataLabelingJobsSettings() { return ((JobServiceStubSettings) getStubSettings()).listDataLabelingJobsSettings(); } /** Returns the object with the settings used for calls to deleteDataLabelingJob. */ public UnaryCallSettings deleteDataLabelingJobSettings() { return ((JobServiceStubSettings) getStubSettings()).deleteDataLabelingJobSettings(); } /** Returns the object with the settings used for calls to deleteDataLabelingJob. */ public OperationCallSettings deleteDataLabelingJobOperationSettings() { return ((JobServiceStubSettings) getStubSettings()).deleteDataLabelingJobOperationSettings(); } /** Returns the object with the settings used for calls to cancelDataLabelingJob. */ public UnaryCallSettings cancelDataLabelingJobSettings() { return ((JobServiceStubSettings) getStubSettings()).cancelDataLabelingJobSettings(); } /** Returns the object with the settings used for calls to createHyperparameterTuningJob. */ public UnaryCallSettings createHyperparameterTuningJobSettings() { return ((JobServiceStubSettings) getStubSettings()).createHyperparameterTuningJobSettings(); } /** Returns the object with the settings used for calls to getHyperparameterTuningJob. */ public UnaryCallSettings getHyperparameterTuningJobSettings() { return ((JobServiceStubSettings) getStubSettings()).getHyperparameterTuningJobSettings(); } /** Returns the object with the settings used for calls to listHyperparameterTuningJobs. */ public PagedCallSettings< ListHyperparameterTuningJobsRequest, ListHyperparameterTuningJobsResponse, ListHyperparameterTuningJobsPagedResponse> listHyperparameterTuningJobsSettings() { return ((JobServiceStubSettings) getStubSettings()).listHyperparameterTuningJobsSettings(); } /** Returns the object with the settings used for calls to deleteHyperparameterTuningJob. */ public UnaryCallSettings deleteHyperparameterTuningJobSettings() { return ((JobServiceStubSettings) getStubSettings()).deleteHyperparameterTuningJobSettings(); } /** Returns the object with the settings used for calls to deleteHyperparameterTuningJob. */ public OperationCallSettings deleteHyperparameterTuningJobOperationSettings() { return ((JobServiceStubSettings) getStubSettings()) .deleteHyperparameterTuningJobOperationSettings(); } /** Returns the object with the settings used for calls to cancelHyperparameterTuningJob. */ public UnaryCallSettings cancelHyperparameterTuningJobSettings() { return ((JobServiceStubSettings) getStubSettings()).cancelHyperparameterTuningJobSettings(); } /** Returns the object with the settings used for calls to createNasJob. */ public UnaryCallSettings createNasJobSettings() { return ((JobServiceStubSettings) getStubSettings()).createNasJobSettings(); } /** Returns the object with the settings used for calls to getNasJob. */ public UnaryCallSettings getNasJobSettings() { return ((JobServiceStubSettings) getStubSettings()).getNasJobSettings(); } /** Returns the object with the settings used for calls to listNasJobs. */ public PagedCallSettings listNasJobsSettings() { return ((JobServiceStubSettings) getStubSettings()).listNasJobsSettings(); } /** Returns the object with the settings used for calls to deleteNasJob. */ public UnaryCallSettings deleteNasJobSettings() { return ((JobServiceStubSettings) getStubSettings()).deleteNasJobSettings(); } /** Returns the object with the settings used for calls to deleteNasJob. */ public OperationCallSettings deleteNasJobOperationSettings() { return ((JobServiceStubSettings) getStubSettings()).deleteNasJobOperationSettings(); } /** Returns the object with the settings used for calls to cancelNasJob. */ public UnaryCallSettings cancelNasJobSettings() { return ((JobServiceStubSettings) getStubSettings()).cancelNasJobSettings(); } /** Returns the object with the settings used for calls to getNasTrialDetail. */ public UnaryCallSettings getNasTrialDetailSettings() { return ((JobServiceStubSettings) getStubSettings()).getNasTrialDetailSettings(); } /** Returns the object with the settings used for calls to listNasTrialDetails. */ public PagedCallSettings< ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse> listNasTrialDetailsSettings() { return ((JobServiceStubSettings) getStubSettings()).listNasTrialDetailsSettings(); } /** Returns the object with the settings used for calls to createBatchPredictionJob. */ public UnaryCallSettings createBatchPredictionJobSettings() { return ((JobServiceStubSettings) getStubSettings()).createBatchPredictionJobSettings(); } /** Returns the object with the settings used for calls to getBatchPredictionJob. */ public UnaryCallSettings getBatchPredictionJobSettings() { return ((JobServiceStubSettings) getStubSettings()).getBatchPredictionJobSettings(); } /** Returns the object with the settings used for calls to listBatchPredictionJobs. */ public PagedCallSettings< ListBatchPredictionJobsRequest, ListBatchPredictionJobsResponse, ListBatchPredictionJobsPagedResponse> listBatchPredictionJobsSettings() { return ((JobServiceStubSettings) getStubSettings()).listBatchPredictionJobsSettings(); } /** Returns the object with the settings used for calls to deleteBatchPredictionJob. */ public UnaryCallSettings deleteBatchPredictionJobSettings() { return ((JobServiceStubSettings) getStubSettings()).deleteBatchPredictionJobSettings(); } /** Returns the object with the settings used for calls to deleteBatchPredictionJob. */ public OperationCallSettings deleteBatchPredictionJobOperationSettings() { return ((JobServiceStubSettings) getStubSettings()).deleteBatchPredictionJobOperationSettings(); } /** Returns the object with the settings used for calls to cancelBatchPredictionJob. */ public UnaryCallSettings cancelBatchPredictionJobSettings() { return ((JobServiceStubSettings) getStubSettings()).cancelBatchPredictionJobSettings(); } /** Returns the object with the settings used for calls to createModelDeploymentMonitoringJob. */ public UnaryCallSettings createModelDeploymentMonitoringJobSettings() { return ((JobServiceStubSettings) getStubSettings()) .createModelDeploymentMonitoringJobSettings(); } /** * Returns the object with the settings used for calls to * searchModelDeploymentMonitoringStatsAnomalies. */ public PagedCallSettings< SearchModelDeploymentMonitoringStatsAnomaliesRequest, SearchModelDeploymentMonitoringStatsAnomaliesResponse, SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> searchModelDeploymentMonitoringStatsAnomaliesSettings() { return ((JobServiceStubSettings) getStubSettings()) .searchModelDeploymentMonitoringStatsAnomaliesSettings(); } /** Returns the object with the settings used for calls to getModelDeploymentMonitoringJob. */ public UnaryCallSettings getModelDeploymentMonitoringJobSettings() { return ((JobServiceStubSettings) getStubSettings()).getModelDeploymentMonitoringJobSettings(); } /** Returns the object with the settings used for calls to listModelDeploymentMonitoringJobs. */ public PagedCallSettings< ListModelDeploymentMonitoringJobsRequest, ListModelDeploymentMonitoringJobsResponse, ListModelDeploymentMonitoringJobsPagedResponse> listModelDeploymentMonitoringJobsSettings() { return ((JobServiceStubSettings) getStubSettings()).listModelDeploymentMonitoringJobsSettings(); } /** Returns the object with the settings used for calls to updateModelDeploymentMonitoringJob. */ public UnaryCallSettings updateModelDeploymentMonitoringJobSettings() { return ((JobServiceStubSettings) getStubSettings()) .updateModelDeploymentMonitoringJobSettings(); } /** Returns the object with the settings used for calls to updateModelDeploymentMonitoringJob. */ public OperationCallSettings< UpdateModelDeploymentMonitoringJobRequest, ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> updateModelDeploymentMonitoringJobOperationSettings() { return ((JobServiceStubSettings) getStubSettings()) .updateModelDeploymentMonitoringJobOperationSettings(); } /** Returns the object with the settings used for calls to deleteModelDeploymentMonitoringJob. */ public UnaryCallSettings deleteModelDeploymentMonitoringJobSettings() { return ((JobServiceStubSettings) getStubSettings()) .deleteModelDeploymentMonitoringJobSettings(); } /** Returns the object with the settings used for calls to deleteModelDeploymentMonitoringJob. */ public OperationCallSettings< DeleteModelDeploymentMonitoringJobRequest, Empty, DeleteOperationMetadata> deleteModelDeploymentMonitoringJobOperationSettings() { return ((JobServiceStubSettings) getStubSettings()) .deleteModelDeploymentMonitoringJobOperationSettings(); } /** Returns the object with the settings used for calls to pauseModelDeploymentMonitoringJob. */ public UnaryCallSettings pauseModelDeploymentMonitoringJobSettings() { return ((JobServiceStubSettings) getStubSettings()).pauseModelDeploymentMonitoringJobSettings(); } /** Returns the object with the settings used for calls to resumeModelDeploymentMonitoringJob. */ public UnaryCallSettings resumeModelDeploymentMonitoringJobSettings() { return ((JobServiceStubSettings) getStubSettings()) .resumeModelDeploymentMonitoringJobSettings(); } /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { return ((JobServiceStubSettings) getStubSettings()).listLocationsSettings(); } /** Returns the object with the settings used for calls to getLocation. */ public UnaryCallSettings getLocationSettings() { return ((JobServiceStubSettings) getStubSettings()).getLocationSettings(); } /** Returns the object with the settings used for calls to setIamPolicy. */ public UnaryCallSettings setIamPolicySettings() { return ((JobServiceStubSettings) getStubSettings()).setIamPolicySettings(); } /** Returns the object with the settings used for calls to getIamPolicy. */ public UnaryCallSettings getIamPolicySettings() { return ((JobServiceStubSettings) getStubSettings()).getIamPolicySettings(); } /** Returns the object with the settings used for calls to testIamPermissions. */ public UnaryCallSettings testIamPermissionsSettings() { return ((JobServiceStubSettings) getStubSettings()).testIamPermissionsSettings(); } public static final JobServiceSettings create(JobServiceStubSettings stub) throws IOException { return new JobServiceSettings.Builder(stub.toBuilder()).build(); } /** Returns a builder for the default ExecutorProvider for this service. */ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { return JobServiceStubSettings.defaultExecutorProviderBuilder(); } /** Returns the default service endpoint. */ public static String getDefaultEndpoint() { return JobServiceStubSettings.getDefaultEndpoint(); } /** Returns the default service scopes. */ public static List getDefaultServiceScopes() { return JobServiceStubSettings.getDefaultServiceScopes(); } /** Returns a builder for the default credentials for this service. */ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { return JobServiceStubSettings.defaultCredentialsProviderBuilder(); } /** Returns a builder for the default ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return JobServiceStubSettings.defaultGrpcTransportProviderBuilder(); } public static TransportChannelProvider defaultTransportChannelProvider() { return JobServiceStubSettings.defaultTransportChannelProvider(); } public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return JobServiceStubSettings.defaultApiClientHeaderProviderBuilder(); } /** Returns a new builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); } /** Returns a builder containing all the values of this settings class. */ public Builder toBuilder() { return new Builder(this); } protected JobServiceSettings(Builder settingsBuilder) throws IOException { super(settingsBuilder); } /** Builder for JobServiceSettings. */ public static class Builder extends ClientSettings.Builder { protected Builder() throws IOException { this(((ClientContext) null)); } protected Builder(ClientContext clientContext) { super(JobServiceStubSettings.newBuilder(clientContext)); } protected Builder(JobServiceSettings settings) { super(settings.getStubSettings().toBuilder()); } protected Builder(JobServiceStubSettings.Builder stubSettings) { super(stubSettings); } private static Builder createDefault() { return new Builder(JobServiceStubSettings.newBuilder()); } public JobServiceStubSettings.Builder getStubSettingsBuilder() { return ((JobServiceStubSettings.Builder) getStubSettings()); } /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; } /** Returns the builder for the settings used for calls to createCustomJob. */ public UnaryCallSettings.Builder createCustomJobSettings() { return getStubSettingsBuilder().createCustomJobSettings(); } /** Returns the builder for the settings used for calls to getCustomJob. */ public UnaryCallSettings.Builder getCustomJobSettings() { return getStubSettingsBuilder().getCustomJobSettings(); } /** Returns the builder for the settings used for calls to listCustomJobs. */ public PagedCallSettings.Builder< ListCustomJobsRequest, ListCustomJobsResponse, ListCustomJobsPagedResponse> listCustomJobsSettings() { return getStubSettingsBuilder().listCustomJobsSettings(); } /** Returns the builder for the settings used for calls to deleteCustomJob. */ public UnaryCallSettings.Builder deleteCustomJobSettings() { return getStubSettingsBuilder().deleteCustomJobSettings(); } /** Returns the builder for the settings used for calls to deleteCustomJob. */ public OperationCallSettings.Builder deleteCustomJobOperationSettings() { return getStubSettingsBuilder().deleteCustomJobOperationSettings(); } /** Returns the builder for the settings used for calls to cancelCustomJob. */ public UnaryCallSettings.Builder cancelCustomJobSettings() { return getStubSettingsBuilder().cancelCustomJobSettings(); } /** Returns the builder for the settings used for calls to createDataLabelingJob. */ public UnaryCallSettings.Builder createDataLabelingJobSettings() { return getStubSettingsBuilder().createDataLabelingJobSettings(); } /** Returns the builder for the settings used for calls to getDataLabelingJob. */ public UnaryCallSettings.Builder getDataLabelingJobSettings() { return getStubSettingsBuilder().getDataLabelingJobSettings(); } /** Returns the builder for the settings used for calls to listDataLabelingJobs. */ public PagedCallSettings.Builder< ListDataLabelingJobsRequest, ListDataLabelingJobsResponse, ListDataLabelingJobsPagedResponse> listDataLabelingJobsSettings() { return getStubSettingsBuilder().listDataLabelingJobsSettings(); } /** Returns the builder for the settings used for calls to deleteDataLabelingJob. */ public UnaryCallSettings.Builder deleteDataLabelingJobSettings() { return getStubSettingsBuilder().deleteDataLabelingJobSettings(); } /** Returns the builder for the settings used for calls to deleteDataLabelingJob. */ public OperationCallSettings.Builder< DeleteDataLabelingJobRequest, Empty, DeleteOperationMetadata> deleteDataLabelingJobOperationSettings() { return getStubSettingsBuilder().deleteDataLabelingJobOperationSettings(); } /** Returns the builder for the settings used for calls to cancelDataLabelingJob. */ public UnaryCallSettings.Builder cancelDataLabelingJobSettings() { return getStubSettingsBuilder().cancelDataLabelingJobSettings(); } /** Returns the builder for the settings used for calls to createHyperparameterTuningJob. */ public UnaryCallSettings.Builder createHyperparameterTuningJobSettings() { return getStubSettingsBuilder().createHyperparameterTuningJobSettings(); } /** Returns the builder for the settings used for calls to getHyperparameterTuningJob. */ public UnaryCallSettings.Builder getHyperparameterTuningJobSettings() { return getStubSettingsBuilder().getHyperparameterTuningJobSettings(); } /** Returns the builder for the settings used for calls to listHyperparameterTuningJobs. */ public PagedCallSettings.Builder< ListHyperparameterTuningJobsRequest, ListHyperparameterTuningJobsResponse, ListHyperparameterTuningJobsPagedResponse> listHyperparameterTuningJobsSettings() { return getStubSettingsBuilder().listHyperparameterTuningJobsSettings(); } /** Returns the builder for the settings used for calls to deleteHyperparameterTuningJob. */ public UnaryCallSettings.Builder deleteHyperparameterTuningJobSettings() { return getStubSettingsBuilder().deleteHyperparameterTuningJobSettings(); } /** Returns the builder for the settings used for calls to deleteHyperparameterTuningJob. */ public OperationCallSettings.Builder< DeleteHyperparameterTuningJobRequest, Empty, DeleteOperationMetadata> deleteHyperparameterTuningJobOperationSettings() { return getStubSettingsBuilder().deleteHyperparameterTuningJobOperationSettings(); } /** Returns the builder for the settings used for calls to cancelHyperparameterTuningJob. */ public UnaryCallSettings.Builder cancelHyperparameterTuningJobSettings() { return getStubSettingsBuilder().cancelHyperparameterTuningJobSettings(); } /** Returns the builder for the settings used for calls to createNasJob. */ public UnaryCallSettings.Builder createNasJobSettings() { return getStubSettingsBuilder().createNasJobSettings(); } /** Returns the builder for the settings used for calls to getNasJob. */ public UnaryCallSettings.Builder getNasJobSettings() { return getStubSettingsBuilder().getNasJobSettings(); } /** Returns the builder for the settings used for calls to listNasJobs. */ public PagedCallSettings.Builder< ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse> listNasJobsSettings() { return getStubSettingsBuilder().listNasJobsSettings(); } /** Returns the builder for the settings used for calls to deleteNasJob. */ public UnaryCallSettings.Builder deleteNasJobSettings() { return getStubSettingsBuilder().deleteNasJobSettings(); } /** Returns the builder for the settings used for calls to deleteNasJob. */ public OperationCallSettings.Builder deleteNasJobOperationSettings() { return getStubSettingsBuilder().deleteNasJobOperationSettings(); } /** Returns the builder for the settings used for calls to cancelNasJob. */ public UnaryCallSettings.Builder cancelNasJobSettings() { return getStubSettingsBuilder().cancelNasJobSettings(); } /** Returns the builder for the settings used for calls to getNasTrialDetail. */ public UnaryCallSettings.Builder getNasTrialDetailSettings() { return getStubSettingsBuilder().getNasTrialDetailSettings(); } /** Returns the builder for the settings used for calls to listNasTrialDetails. */ public PagedCallSettings.Builder< ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse> listNasTrialDetailsSettings() { return getStubSettingsBuilder().listNasTrialDetailsSettings(); } /** Returns the builder for the settings used for calls to createBatchPredictionJob. */ public UnaryCallSettings.Builder createBatchPredictionJobSettings() { return getStubSettingsBuilder().createBatchPredictionJobSettings(); } /** Returns the builder for the settings used for calls to getBatchPredictionJob. */ public UnaryCallSettings.Builder getBatchPredictionJobSettings() { return getStubSettingsBuilder().getBatchPredictionJobSettings(); } /** Returns the builder for the settings used for calls to listBatchPredictionJobs. */ public PagedCallSettings.Builder< ListBatchPredictionJobsRequest, ListBatchPredictionJobsResponse, ListBatchPredictionJobsPagedResponse> listBatchPredictionJobsSettings() { return getStubSettingsBuilder().listBatchPredictionJobsSettings(); } /** Returns the builder for the settings used for calls to deleteBatchPredictionJob. */ public UnaryCallSettings.Builder deleteBatchPredictionJobSettings() { return getStubSettingsBuilder().deleteBatchPredictionJobSettings(); } /** Returns the builder for the settings used for calls to deleteBatchPredictionJob. */ public OperationCallSettings.Builder< DeleteBatchPredictionJobRequest, Empty, DeleteOperationMetadata> deleteBatchPredictionJobOperationSettings() { return getStubSettingsBuilder().deleteBatchPredictionJobOperationSettings(); } /** Returns the builder for the settings used for calls to cancelBatchPredictionJob. */ public UnaryCallSettings.Builder cancelBatchPredictionJobSettings() { return getStubSettingsBuilder().cancelBatchPredictionJobSettings(); } /** * Returns the builder for the settings used for calls to createModelDeploymentMonitoringJob. */ public UnaryCallSettings.Builder< CreateModelDeploymentMonitoringJobRequest, ModelDeploymentMonitoringJob> createModelDeploymentMonitoringJobSettings() { return getStubSettingsBuilder().createModelDeploymentMonitoringJobSettings(); } /** * Returns the builder for the settings used for calls to * searchModelDeploymentMonitoringStatsAnomalies. */ public PagedCallSettings.Builder< SearchModelDeploymentMonitoringStatsAnomaliesRequest, SearchModelDeploymentMonitoringStatsAnomaliesResponse, SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> searchModelDeploymentMonitoringStatsAnomaliesSettings() { return getStubSettingsBuilder().searchModelDeploymentMonitoringStatsAnomaliesSettings(); } /** Returns the builder for the settings used for calls to getModelDeploymentMonitoringJob. */ public UnaryCallSettings.Builder< GetModelDeploymentMonitoringJobRequest, ModelDeploymentMonitoringJob> getModelDeploymentMonitoringJobSettings() { return getStubSettingsBuilder().getModelDeploymentMonitoringJobSettings(); } /** Returns the builder for the settings used for calls to listModelDeploymentMonitoringJobs. */ public PagedCallSettings.Builder< ListModelDeploymentMonitoringJobsRequest, ListModelDeploymentMonitoringJobsResponse, ListModelDeploymentMonitoringJobsPagedResponse> listModelDeploymentMonitoringJobsSettings() { return getStubSettingsBuilder().listModelDeploymentMonitoringJobsSettings(); } /** * Returns the builder for the settings used for calls to updateModelDeploymentMonitoringJob. */ public UnaryCallSettings.Builder updateModelDeploymentMonitoringJobSettings() { return getStubSettingsBuilder().updateModelDeploymentMonitoringJobSettings(); } /** * Returns the builder for the settings used for calls to updateModelDeploymentMonitoringJob. */ public OperationCallSettings.Builder< UpdateModelDeploymentMonitoringJobRequest, ModelDeploymentMonitoringJob, UpdateModelDeploymentMonitoringJobOperationMetadata> updateModelDeploymentMonitoringJobOperationSettings() { return getStubSettingsBuilder().updateModelDeploymentMonitoringJobOperationSettings(); } /** * Returns the builder for the settings used for calls to deleteModelDeploymentMonitoringJob. */ public UnaryCallSettings.Builder deleteModelDeploymentMonitoringJobSettings() { return getStubSettingsBuilder().deleteModelDeploymentMonitoringJobSettings(); } /** * Returns the builder for the settings used for calls to deleteModelDeploymentMonitoringJob. */ public OperationCallSettings.Builder< DeleteModelDeploymentMonitoringJobRequest, Empty, DeleteOperationMetadata> deleteModelDeploymentMonitoringJobOperationSettings() { return getStubSettingsBuilder().deleteModelDeploymentMonitoringJobOperationSettings(); } /** Returns the builder for the settings used for calls to pauseModelDeploymentMonitoringJob. */ public UnaryCallSettings.Builder pauseModelDeploymentMonitoringJobSettings() { return getStubSettingsBuilder().pauseModelDeploymentMonitoringJobSettings(); } /** * Returns the builder for the settings used for calls to resumeModelDeploymentMonitoringJob. */ public UnaryCallSettings.Builder resumeModelDeploymentMonitoringJobSettings() { return getStubSettingsBuilder().resumeModelDeploymentMonitoringJobSettings(); } /** Returns the builder for the settings used for calls to listLocations. */ public PagedCallSettings.Builder< ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> listLocationsSettings() { return getStubSettingsBuilder().listLocationsSettings(); } /** Returns the builder for the settings used for calls to getLocation. */ public UnaryCallSettings.Builder getLocationSettings() { return getStubSettingsBuilder().getLocationSettings(); } /** Returns the builder for the settings used for calls to setIamPolicy. */ public UnaryCallSettings.Builder setIamPolicySettings() { return getStubSettingsBuilder().setIamPolicySettings(); } /** Returns the builder for the settings used for calls to getIamPolicy. */ public UnaryCallSettings.Builder getIamPolicySettings() { return getStubSettingsBuilder().getIamPolicySettings(); } /** Returns the builder for the settings used for calls to testIamPermissions. */ public UnaryCallSettings.Builder testIamPermissionsSettings() { return getStubSettingsBuilder().testIamPermissionsSettings(); } @Override public JobServiceSettings build() throws IOException { return new JobServiceSettings(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy