com.google.cloud.visionai.v1.AppPlatformSettings Maven / Gradle / Ivy
/*
* 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.visionai.v1;
import static com.google.cloud.visionai.v1.AppPlatformClient.ListApplicationsPagedResponse;
import static com.google.cloud.visionai.v1.AppPlatformClient.ListDraftsPagedResponse;
import static com.google.cloud.visionai.v1.AppPlatformClient.ListInstancesPagedResponse;
import static com.google.cloud.visionai.v1.AppPlatformClient.ListProcessorsPagedResponse;
import com.google.api.core.ApiFunction;
import com.google.api.core.BetaApi;
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.httpjson.InstantiatingHttpJsonChannelProvider;
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.visionai.v1.stub.AppPlatformStubSettings;
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 AppPlatformClient}.
*
* The default instance has everything set to sensible defaults:
*
*
* - The default service address (visionai.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
* [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings)
* of getApplication:
*
*
{@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
* AppPlatformSettings.Builder appPlatformSettingsBuilder = AppPlatformSettings.newBuilder();
* appPlatformSettingsBuilder
* .getApplicationSettings()
* .setRetrySettings(
* appPlatformSettingsBuilder
* .getApplicationSettings()
* .getRetrySettings()
* .toBuilder()
* .setInitialRetryDelayDuration(Duration.ofSeconds(1))
* .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
* .setMaxAttempts(5)
* .setMaxRetryDelayDuration(Duration.ofSeconds(30))
* .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
* .setRetryDelayMultiplier(1.3)
* .setRpcTimeoutMultiplier(1.5)
* .setTotalTimeoutDuration(Duration.ofSeconds(300))
* .build());
* AppPlatformSettings appPlatformSettings = appPlatformSettingsBuilder.build();
* }
*
* Please refer to the [Client Side Retry
* Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for
* additional support in setting retries.
*
* To configure the RetrySettings of a Long Running Operation method, create an
* OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to
* configure the RetrySettings for createApplication:
*
*
{@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
* AppPlatformSettings.Builder appPlatformSettingsBuilder = AppPlatformSettings.newBuilder();
* TimedRetryAlgorithm timedRetryAlgorithm =
* OperationalTimedPollAlgorithm.create(
* RetrySettings.newBuilder()
* .setInitialRetryDelayDuration(Duration.ofMillis(500))
* .setRetryDelayMultiplier(1.5)
* .setMaxRetryDelay(Duration.ofMillis(5000))
* .setTotalTimeoutDuration(Duration.ofHours(24))
* .build());
* appPlatformSettingsBuilder
* .createClusterOperationSettings()
* .setPollingAlgorithm(timedRetryAlgorithm)
* .build();
* }
*/
@Generated("by gapic-generator-java")
public class AppPlatformSettings extends ClientSettings {
/** Returns the object with the settings used for calls to listApplications. */
public PagedCallSettings<
ListApplicationsRequest, ListApplicationsResponse, ListApplicationsPagedResponse>
listApplicationsSettings() {
return ((AppPlatformStubSettings) getStubSettings()).listApplicationsSettings();
}
/** Returns the object with the settings used for calls to getApplication. */
public UnaryCallSettings getApplicationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).getApplicationSettings();
}
/** Returns the object with the settings used for calls to createApplication. */
public UnaryCallSettings createApplicationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).createApplicationSettings();
}
/** Returns the object with the settings used for calls to createApplication. */
public OperationCallSettings
createApplicationOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).createApplicationOperationSettings();
}
/** Returns the object with the settings used for calls to updateApplication. */
public UnaryCallSettings updateApplicationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).updateApplicationSettings();
}
/** Returns the object with the settings used for calls to updateApplication. */
public OperationCallSettings
updateApplicationOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).updateApplicationOperationSettings();
}
/** Returns the object with the settings used for calls to deleteApplication. */
public UnaryCallSettings deleteApplicationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).deleteApplicationSettings();
}
/** Returns the object with the settings used for calls to deleteApplication. */
public OperationCallSettings
deleteApplicationOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).deleteApplicationOperationSettings();
}
/** Returns the object with the settings used for calls to deployApplication. */
public UnaryCallSettings deployApplicationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).deployApplicationSettings();
}
/** Returns the object with the settings used for calls to deployApplication. */
public OperationCallSettings<
DeployApplicationRequest, DeployApplicationResponse, OperationMetadata>
deployApplicationOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).deployApplicationOperationSettings();
}
/** Returns the object with the settings used for calls to undeployApplication. */
public UnaryCallSettings undeployApplicationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).undeployApplicationSettings();
}
/** Returns the object with the settings used for calls to undeployApplication. */
public OperationCallSettings<
UndeployApplicationRequest, UndeployApplicationResponse, OperationMetadata>
undeployApplicationOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).undeployApplicationOperationSettings();
}
/** Returns the object with the settings used for calls to addApplicationStreamInput. */
public UnaryCallSettings
addApplicationStreamInputSettings() {
return ((AppPlatformStubSettings) getStubSettings()).addApplicationStreamInputSettings();
}
/** Returns the object with the settings used for calls to addApplicationStreamInput. */
public OperationCallSettings<
AddApplicationStreamInputRequest, AddApplicationStreamInputResponse, OperationMetadata>
addApplicationStreamInputOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings())
.addApplicationStreamInputOperationSettings();
}
/** Returns the object with the settings used for calls to removeApplicationStreamInput. */
public UnaryCallSettings
removeApplicationStreamInputSettings() {
return ((AppPlatformStubSettings) getStubSettings()).removeApplicationStreamInputSettings();
}
/** Returns the object with the settings used for calls to removeApplicationStreamInput. */
public OperationCallSettings<
RemoveApplicationStreamInputRequest,
RemoveApplicationStreamInputResponse,
OperationMetadata>
removeApplicationStreamInputOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings())
.removeApplicationStreamInputOperationSettings();
}
/** Returns the object with the settings used for calls to updateApplicationStreamInput. */
public UnaryCallSettings
updateApplicationStreamInputSettings() {
return ((AppPlatformStubSettings) getStubSettings()).updateApplicationStreamInputSettings();
}
/** Returns the object with the settings used for calls to updateApplicationStreamInput. */
public OperationCallSettings<
UpdateApplicationStreamInputRequest,
UpdateApplicationStreamInputResponse,
OperationMetadata>
updateApplicationStreamInputOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings())
.updateApplicationStreamInputOperationSettings();
}
/** Returns the object with the settings used for calls to listInstances. */
public PagedCallSettings
listInstancesSettings() {
return ((AppPlatformStubSettings) getStubSettings()).listInstancesSettings();
}
/** Returns the object with the settings used for calls to getInstance. */
public UnaryCallSettings getInstanceSettings() {
return ((AppPlatformStubSettings) getStubSettings()).getInstanceSettings();
}
/** Returns the object with the settings used for calls to createApplicationInstances. */
public UnaryCallSettings
createApplicationInstancesSettings() {
return ((AppPlatformStubSettings) getStubSettings()).createApplicationInstancesSettings();
}
/** Returns the object with the settings used for calls to createApplicationInstances. */
public OperationCallSettings<
CreateApplicationInstancesRequest, CreateApplicationInstancesResponse, OperationMetadata>
createApplicationInstancesOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings())
.createApplicationInstancesOperationSettings();
}
/** Returns the object with the settings used for calls to deleteApplicationInstances. */
public UnaryCallSettings
deleteApplicationInstancesSettings() {
return ((AppPlatformStubSettings) getStubSettings()).deleteApplicationInstancesSettings();
}
/** Returns the object with the settings used for calls to deleteApplicationInstances. */
public OperationCallSettings
deleteApplicationInstancesOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings())
.deleteApplicationInstancesOperationSettings();
}
/** Returns the object with the settings used for calls to updateApplicationInstances. */
public UnaryCallSettings
updateApplicationInstancesSettings() {
return ((AppPlatformStubSettings) getStubSettings()).updateApplicationInstancesSettings();
}
/** Returns the object with the settings used for calls to updateApplicationInstances. */
public OperationCallSettings<
UpdateApplicationInstancesRequest, UpdateApplicationInstancesResponse, OperationMetadata>
updateApplicationInstancesOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings())
.updateApplicationInstancesOperationSettings();
}
/** Returns the object with the settings used for calls to listDrafts. */
public PagedCallSettings
listDraftsSettings() {
return ((AppPlatformStubSettings) getStubSettings()).listDraftsSettings();
}
/** Returns the object with the settings used for calls to getDraft. */
public UnaryCallSettings getDraftSettings() {
return ((AppPlatformStubSettings) getStubSettings()).getDraftSettings();
}
/** Returns the object with the settings used for calls to createDraft. */
public UnaryCallSettings createDraftSettings() {
return ((AppPlatformStubSettings) getStubSettings()).createDraftSettings();
}
/** Returns the object with the settings used for calls to createDraft. */
public OperationCallSettings
createDraftOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).createDraftOperationSettings();
}
/** Returns the object with the settings used for calls to updateDraft. */
public UnaryCallSettings updateDraftSettings() {
return ((AppPlatformStubSettings) getStubSettings()).updateDraftSettings();
}
/** Returns the object with the settings used for calls to updateDraft. */
public OperationCallSettings
updateDraftOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).updateDraftOperationSettings();
}
/** Returns the object with the settings used for calls to deleteDraft. */
public UnaryCallSettings deleteDraftSettings() {
return ((AppPlatformStubSettings) getStubSettings()).deleteDraftSettings();
}
/** Returns the object with the settings used for calls to deleteDraft. */
public OperationCallSettings
deleteDraftOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).deleteDraftOperationSettings();
}
/** Returns the object with the settings used for calls to listProcessors. */
public PagedCallSettings<
ListProcessorsRequest, ListProcessorsResponse, ListProcessorsPagedResponse>
listProcessorsSettings() {
return ((AppPlatformStubSettings) getStubSettings()).listProcessorsSettings();
}
/** Returns the object with the settings used for calls to listPrebuiltProcessors. */
public UnaryCallSettings
listPrebuiltProcessorsSettings() {
return ((AppPlatformStubSettings) getStubSettings()).listPrebuiltProcessorsSettings();
}
/** Returns the object with the settings used for calls to getProcessor. */
public UnaryCallSettings getProcessorSettings() {
return ((AppPlatformStubSettings) getStubSettings()).getProcessorSettings();
}
/** Returns the object with the settings used for calls to createProcessor. */
public UnaryCallSettings createProcessorSettings() {
return ((AppPlatformStubSettings) getStubSettings()).createProcessorSettings();
}
/** Returns the object with the settings used for calls to createProcessor. */
public OperationCallSettings
createProcessorOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).createProcessorOperationSettings();
}
/** Returns the object with the settings used for calls to updateProcessor. */
public UnaryCallSettings updateProcessorSettings() {
return ((AppPlatformStubSettings) getStubSettings()).updateProcessorSettings();
}
/** Returns the object with the settings used for calls to updateProcessor. */
public OperationCallSettings
updateProcessorOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).updateProcessorOperationSettings();
}
/** Returns the object with the settings used for calls to deleteProcessor. */
public UnaryCallSettings deleteProcessorSettings() {
return ((AppPlatformStubSettings) getStubSettings()).deleteProcessorSettings();
}
/** Returns the object with the settings used for calls to deleteProcessor. */
public OperationCallSettings
deleteProcessorOperationSettings() {
return ((AppPlatformStubSettings) getStubSettings()).deleteProcessorOperationSettings();
}
public static final AppPlatformSettings create(AppPlatformStubSettings stub) throws IOException {
return new AppPlatformSettings.Builder(stub.toBuilder()).build();
}
/** Returns a builder for the default ExecutorProvider for this service. */
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
return AppPlatformStubSettings.defaultExecutorProviderBuilder();
}
/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
return AppPlatformStubSettings.getDefaultEndpoint();
}
/** Returns the default service scopes. */
public static List getDefaultServiceScopes() {
return AppPlatformStubSettings.getDefaultServiceScopes();
}
/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return AppPlatformStubSettings.defaultCredentialsProviderBuilder();
}
/** Returns a builder for the default gRPC ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return AppPlatformStubSettings.defaultGrpcTransportProviderBuilder();
}
/** Returns a builder for the default REST ChannelProvider for this service. */
@BetaApi
public static InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder() {
return AppPlatformStubSettings.defaultHttpJsonTransportProviderBuilder();
}
public static TransportChannelProvider defaultTransportChannelProvider() {
return AppPlatformStubSettings.defaultTransportChannelProvider();
}
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
return AppPlatformStubSettings.defaultApiClientHeaderProviderBuilder();
}
/** Returns a new gRPC builder for this class. */
public static Builder newBuilder() {
return Builder.createDefault();
}
/** Returns a new REST builder for this class. */
public static Builder newHttpJsonBuilder() {
return Builder.createHttpJsonDefault();
}
/** 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 AppPlatformSettings(Builder settingsBuilder) throws IOException {
super(settingsBuilder);
}
/** Builder for AppPlatformSettings. */
public static class Builder extends ClientSettings.Builder {
protected Builder() throws IOException {
this(((ClientContext) null));
}
protected Builder(ClientContext clientContext) {
super(AppPlatformStubSettings.newBuilder(clientContext));
}
protected Builder(AppPlatformSettings settings) {
super(settings.getStubSettings().toBuilder());
}
protected Builder(AppPlatformStubSettings.Builder stubSettings) {
super(stubSettings);
}
private static Builder createDefault() {
return new Builder(AppPlatformStubSettings.newBuilder());
}
private static Builder createHttpJsonDefault() {
return new Builder(AppPlatformStubSettings.newHttpJsonBuilder());
}
public AppPlatformStubSettings.Builder getStubSettingsBuilder() {
return ((AppPlatformStubSettings.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 listApplications. */
public PagedCallSettings.Builder<
ListApplicationsRequest, ListApplicationsResponse, ListApplicationsPagedResponse>
listApplicationsSettings() {
return getStubSettingsBuilder().listApplicationsSettings();
}
/** Returns the builder for the settings used for calls to getApplication. */
public UnaryCallSettings.Builder getApplicationSettings() {
return getStubSettingsBuilder().getApplicationSettings();
}
/** Returns the builder for the settings used for calls to createApplication. */
public UnaryCallSettings.Builder
createApplicationSettings() {
return getStubSettingsBuilder().createApplicationSettings();
}
/** Returns the builder for the settings used for calls to createApplication. */
public OperationCallSettings.Builder
createApplicationOperationSettings() {
return getStubSettingsBuilder().createApplicationOperationSettings();
}
/** Returns the builder for the settings used for calls to updateApplication. */
public UnaryCallSettings.Builder
updateApplicationSettings() {
return getStubSettingsBuilder().updateApplicationSettings();
}
/** Returns the builder for the settings used for calls to updateApplication. */
public OperationCallSettings.Builder
updateApplicationOperationSettings() {
return getStubSettingsBuilder().updateApplicationOperationSettings();
}
/** Returns the builder for the settings used for calls to deleteApplication. */
public UnaryCallSettings.Builder
deleteApplicationSettings() {
return getStubSettingsBuilder().deleteApplicationSettings();
}
/** Returns the builder for the settings used for calls to deleteApplication. */
public OperationCallSettings.Builder
deleteApplicationOperationSettings() {
return getStubSettingsBuilder().deleteApplicationOperationSettings();
}
/** Returns the builder for the settings used for calls to deployApplication. */
public UnaryCallSettings.Builder
deployApplicationSettings() {
return getStubSettingsBuilder().deployApplicationSettings();
}
/** Returns the builder for the settings used for calls to deployApplication. */
public OperationCallSettings.Builder<
DeployApplicationRequest, DeployApplicationResponse, OperationMetadata>
deployApplicationOperationSettings() {
return getStubSettingsBuilder().deployApplicationOperationSettings();
}
/** Returns the builder for the settings used for calls to undeployApplication. */
public UnaryCallSettings.Builder
undeployApplicationSettings() {
return getStubSettingsBuilder().undeployApplicationSettings();
}
/** Returns the builder for the settings used for calls to undeployApplication. */
public OperationCallSettings.Builder<
UndeployApplicationRequest, UndeployApplicationResponse, OperationMetadata>
undeployApplicationOperationSettings() {
return getStubSettingsBuilder().undeployApplicationOperationSettings();
}
/** Returns the builder for the settings used for calls to addApplicationStreamInput. */
public UnaryCallSettings.Builder
addApplicationStreamInputSettings() {
return getStubSettingsBuilder().addApplicationStreamInputSettings();
}
/** Returns the builder for the settings used for calls to addApplicationStreamInput. */
public OperationCallSettings.Builder<
AddApplicationStreamInputRequest, AddApplicationStreamInputResponse, OperationMetadata>
addApplicationStreamInputOperationSettings() {
return getStubSettingsBuilder().addApplicationStreamInputOperationSettings();
}
/** Returns the builder for the settings used for calls to removeApplicationStreamInput. */
public UnaryCallSettings.Builder
removeApplicationStreamInputSettings() {
return getStubSettingsBuilder().removeApplicationStreamInputSettings();
}
/** Returns the builder for the settings used for calls to removeApplicationStreamInput. */
public OperationCallSettings.Builder<
RemoveApplicationStreamInputRequest,
RemoveApplicationStreamInputResponse,
OperationMetadata>
removeApplicationStreamInputOperationSettings() {
return getStubSettingsBuilder().removeApplicationStreamInputOperationSettings();
}
/** Returns the builder for the settings used for calls to updateApplicationStreamInput. */
public UnaryCallSettings.Builder
updateApplicationStreamInputSettings() {
return getStubSettingsBuilder().updateApplicationStreamInputSettings();
}
/** Returns the builder for the settings used for calls to updateApplicationStreamInput. */
public OperationCallSettings.Builder<
UpdateApplicationStreamInputRequest,
UpdateApplicationStreamInputResponse,
OperationMetadata>
updateApplicationStreamInputOperationSettings() {
return getStubSettingsBuilder().updateApplicationStreamInputOperationSettings();
}
/** Returns the builder for the settings used for calls to listInstances. */
public PagedCallSettings.Builder<
ListInstancesRequest, ListInstancesResponse, ListInstancesPagedResponse>
listInstancesSettings() {
return getStubSettingsBuilder().listInstancesSettings();
}
/** Returns the builder for the settings used for calls to getInstance. */
public UnaryCallSettings.Builder getInstanceSettings() {
return getStubSettingsBuilder().getInstanceSettings();
}
/** Returns the builder for the settings used for calls to createApplicationInstances. */
public UnaryCallSettings.Builder
createApplicationInstancesSettings() {
return getStubSettingsBuilder().createApplicationInstancesSettings();
}
/** Returns the builder for the settings used for calls to createApplicationInstances. */
public OperationCallSettings.Builder<
CreateApplicationInstancesRequest,
CreateApplicationInstancesResponse,
OperationMetadata>
createApplicationInstancesOperationSettings() {
return getStubSettingsBuilder().createApplicationInstancesOperationSettings();
}
/** Returns the builder for the settings used for calls to deleteApplicationInstances. */
public UnaryCallSettings.Builder
deleteApplicationInstancesSettings() {
return getStubSettingsBuilder().deleteApplicationInstancesSettings();
}
/** Returns the builder for the settings used for calls to deleteApplicationInstances. */
public OperationCallSettings.Builder<
DeleteApplicationInstancesRequest, Instance, OperationMetadata>
deleteApplicationInstancesOperationSettings() {
return getStubSettingsBuilder().deleteApplicationInstancesOperationSettings();
}
/** Returns the builder for the settings used for calls to updateApplicationInstances. */
public UnaryCallSettings.Builder
updateApplicationInstancesSettings() {
return getStubSettingsBuilder().updateApplicationInstancesSettings();
}
/** Returns the builder for the settings used for calls to updateApplicationInstances. */
public OperationCallSettings.Builder<
UpdateApplicationInstancesRequest,
UpdateApplicationInstancesResponse,
OperationMetadata>
updateApplicationInstancesOperationSettings() {
return getStubSettingsBuilder().updateApplicationInstancesOperationSettings();
}
/** Returns the builder for the settings used for calls to listDrafts. */
public PagedCallSettings.Builder
listDraftsSettings() {
return getStubSettingsBuilder().listDraftsSettings();
}
/** Returns the builder for the settings used for calls to getDraft. */
public UnaryCallSettings.Builder getDraftSettings() {
return getStubSettingsBuilder().getDraftSettings();
}
/** Returns the builder for the settings used for calls to createDraft. */
public UnaryCallSettings.Builder createDraftSettings() {
return getStubSettingsBuilder().createDraftSettings();
}
/** Returns the builder for the settings used for calls to createDraft. */
public OperationCallSettings.Builder
createDraftOperationSettings() {
return getStubSettingsBuilder().createDraftOperationSettings();
}
/** Returns the builder for the settings used for calls to updateDraft. */
public UnaryCallSettings.Builder updateDraftSettings() {
return getStubSettingsBuilder().updateDraftSettings();
}
/** Returns the builder for the settings used for calls to updateDraft. */
public OperationCallSettings.Builder
updateDraftOperationSettings() {
return getStubSettingsBuilder().updateDraftOperationSettings();
}
/** Returns the builder for the settings used for calls to deleteDraft. */
public UnaryCallSettings.Builder deleteDraftSettings() {
return getStubSettingsBuilder().deleteDraftSettings();
}
/** Returns the builder for the settings used for calls to deleteDraft. */
public OperationCallSettings.Builder
deleteDraftOperationSettings() {
return getStubSettingsBuilder().deleteDraftOperationSettings();
}
/** Returns the builder for the settings used for calls to listProcessors. */
public PagedCallSettings.Builder<
ListProcessorsRequest, ListProcessorsResponse, ListProcessorsPagedResponse>
listProcessorsSettings() {
return getStubSettingsBuilder().listProcessorsSettings();
}
/** Returns the builder for the settings used for calls to listPrebuiltProcessors. */
public UnaryCallSettings.Builder
listPrebuiltProcessorsSettings() {
return getStubSettingsBuilder().listPrebuiltProcessorsSettings();
}
/** Returns the builder for the settings used for calls to getProcessor. */
public UnaryCallSettings.Builder getProcessorSettings() {
return getStubSettingsBuilder().getProcessorSettings();
}
/** Returns the builder for the settings used for calls to createProcessor. */
public UnaryCallSettings.Builder createProcessorSettings() {
return getStubSettingsBuilder().createProcessorSettings();
}
/** Returns the builder for the settings used for calls to createProcessor. */
public OperationCallSettings.Builder
createProcessorOperationSettings() {
return getStubSettingsBuilder().createProcessorOperationSettings();
}
/** Returns the builder for the settings used for calls to updateProcessor. */
public UnaryCallSettings.Builder updateProcessorSettings() {
return getStubSettingsBuilder().updateProcessorSettings();
}
/** Returns the builder for the settings used for calls to updateProcessor. */
public OperationCallSettings.Builder
updateProcessorOperationSettings() {
return getStubSettingsBuilder().updateProcessorOperationSettings();
}
/** Returns the builder for the settings used for calls to deleteProcessor. */
public UnaryCallSettings.Builder deleteProcessorSettings() {
return getStubSettingsBuilder().deleteProcessorSettings();
}
/** Returns the builder for the settings used for calls to deleteProcessor. */
public OperationCallSettings.Builder
deleteProcessorOperationSettings() {
return getStubSettingsBuilder().deleteProcessorOperationSettings();
}
@Override
public AppPlatformSettings build() throws IOException {
return new AppPlatformSettings(this);
}
}
}