@BetaApi @Generated(value="by gapic-generator-java") public class EnvironmentsStubSettings extends com.google.api.gax.rpc.StubSettings<EnvironmentsStubSettings>
EnvironmentsStub.
The default instance has everything set to sensible defaults:
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 getEnvironment to 30 seconds:
// 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
EnvironmentsStubSettings.Builder environmentsSettingsBuilder =
EnvironmentsStubSettings.newBuilder();
environmentsSettingsBuilder
.getEnvironmentSettings()
.setRetrySettings(
environmentsSettingsBuilder
.getEnvironmentSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
EnvironmentsStubSettings.Builder
Builder for EnvironmentsStubSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EnvironmentsStubSettings(EnvironmentsStubSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.OperationCallSettings<CheckUpgradeRequest,CheckUpgradeResponse,OperationMetadata> |
checkUpgradeOperationSettings()
Returns the object with the settings used for calls to checkUpgrade.
|
com.google.api.gax.rpc.UnaryCallSettings<CheckUpgradeRequest,com.google.longrunning.Operation> |
checkUpgradeSettings()
Returns the object with the settings used for calls to checkUpgrade.
|
com.google.api.gax.rpc.OperationCallSettings<CreateEnvironmentRequest,Environment,OperationMetadata> |
createEnvironmentOperationSettings()
Returns the object with the settings used for calls to createEnvironment.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateEnvironmentRequest,com.google.longrunning.Operation> |
createEnvironmentSettings()
Returns the object with the settings used for calls to createEnvironment.
|
EnvironmentsStub |
createStub() |
com.google.api.gax.rpc.OperationCallSettings<DatabaseFailoverRequest,DatabaseFailoverResponse,OperationMetadata> |
databaseFailoverOperationSettings()
Returns the object with the settings used for calls to databaseFailover.
|
com.google.api.gax.rpc.UnaryCallSettings<DatabaseFailoverRequest,com.google.longrunning.Operation> |
databaseFailoverSettings()
Returns the object with the settings used for calls to databaseFailover.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultGrpcApiClientHeaderProviderBuilder() |
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultHttpJsonApiClientHeaderProviderBuilder() |
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteEnvironmentRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteEnvironmentOperationSettings()
Returns the object with the settings used for calls to deleteEnvironment.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteEnvironmentRequest,com.google.longrunning.Operation> |
deleteEnvironmentSettings()
Returns the object with the settings used for calls to deleteEnvironment.
|
com.google.api.gax.rpc.UnaryCallSettings<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse> |
executeAirflowCommandSettings()
Returns the object with the settings used for calls to executeAirflowCommand.
|
com.google.api.gax.rpc.UnaryCallSettings<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse> |
fetchDatabasePropertiesSettings()
Returns the object with the settings used for calls to fetchDatabaseProperties.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static String |
getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetEnvironmentRequest,Environment> |
getEnvironmentSettings()
Returns the object with the settings used for calls to getEnvironment.
|
com.google.api.gax.rpc.PagedCallSettings<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> |
listEnvironmentsSettings()
Returns the object with the settings used for calls to listEnvironments.
|
com.google.api.gax.rpc.OperationCallSettings<LoadSnapshotRequest,LoadSnapshotResponse,OperationMetadata> |
loadSnapshotOperationSettings()
Returns the object with the settings used for calls to loadSnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings<LoadSnapshotRequest,com.google.longrunning.Operation> |
loadSnapshotSettings()
Returns the object with the settings used for calls to loadSnapshot.
|
static EnvironmentsStubSettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static EnvironmentsStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static EnvironmentsStubSettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<PollAirflowCommandRequest,PollAirflowCommandResponse> |
pollAirflowCommandSettings()
Returns the object with the settings used for calls to pollAirflowCommand.
|
com.google.api.gax.rpc.OperationCallSettings<RestartWebServerRequest,Environment,OperationMetadata> |
restartWebServerOperationSettings()
Returns the object with the settings used for calls to restartWebServer.
|
com.google.api.gax.rpc.UnaryCallSettings<RestartWebServerRequest,com.google.longrunning.Operation> |
restartWebServerSettings()
Returns the object with the settings used for calls to restartWebServer.
|
com.google.api.gax.rpc.OperationCallSettings<SaveSnapshotRequest,SaveSnapshotResponse,OperationMetadata> |
saveSnapshotOperationSettings()
Returns the object with the settings used for calls to saveSnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings<SaveSnapshotRequest,com.google.longrunning.Operation> |
saveSnapshotSettings()
Returns the object with the settings used for calls to saveSnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings<StopAirflowCommandRequest,StopAirflowCommandResponse> |
stopAirflowCommandSettings()
Returns the object with the settings used for calls to stopAirflowCommand.
|
EnvironmentsStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateEnvironmentRequest,Environment,OperationMetadata> |
updateEnvironmentOperationSettings()
Returns the object with the settings used for calls to updateEnvironment.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateEnvironmentRequest,com.google.longrunning.Operation> |
updateEnvironmentSettings()
Returns the object with the settings used for calls to updateEnvironment.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toStringprotected EnvironmentsStubSettings(EnvironmentsStubSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallSettings<CreateEnvironmentRequest,com.google.longrunning.Operation> createEnvironmentSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetEnvironmentRequest,Environment> getEnvironmentSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateEnvironmentRequest,com.google.longrunning.Operation> updateEnvironmentSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateEnvironmentRequest,Environment,OperationMetadata> updateEnvironmentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteEnvironmentRequest,com.google.longrunning.Operation> deleteEnvironmentSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteEnvironmentRequest,com.google.protobuf.Empty,OperationMetadata> deleteEnvironmentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<RestartWebServerRequest,com.google.longrunning.Operation> restartWebServerSettings()
public com.google.api.gax.rpc.OperationCallSettings<RestartWebServerRequest,Environment,OperationMetadata> restartWebServerOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CheckUpgradeRequest,com.google.longrunning.Operation> checkUpgradeSettings()
public com.google.api.gax.rpc.OperationCallSettings<CheckUpgradeRequest,CheckUpgradeResponse,OperationMetadata> checkUpgradeOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse> executeAirflowCommandSettings()
public com.google.api.gax.rpc.UnaryCallSettings<StopAirflowCommandRequest,StopAirflowCommandResponse> stopAirflowCommandSettings()
public com.google.api.gax.rpc.UnaryCallSettings<PollAirflowCommandRequest,PollAirflowCommandResponse> pollAirflowCommandSettings()
public com.google.api.gax.rpc.UnaryCallSettings<SaveSnapshotRequest,com.google.longrunning.Operation> saveSnapshotSettings()
public com.google.api.gax.rpc.OperationCallSettings<SaveSnapshotRequest,SaveSnapshotResponse,OperationMetadata> saveSnapshotOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<LoadSnapshotRequest,com.google.longrunning.Operation> loadSnapshotSettings()
public com.google.api.gax.rpc.OperationCallSettings<LoadSnapshotRequest,LoadSnapshotResponse,OperationMetadata> loadSnapshotOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DatabaseFailoverRequest,com.google.longrunning.Operation> databaseFailoverSettings()
public com.google.api.gax.rpc.OperationCallSettings<DatabaseFailoverRequest,DatabaseFailoverResponse,OperationMetadata> databaseFailoverOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse> fetchDatabasePropertiesSettings()
public EnvironmentsStub createStub() throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static String getDefaultMtlsEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static EnvironmentsStubSettings.Builder newBuilder()
public static EnvironmentsStubSettings.Builder newHttpJsonBuilder()
public static EnvironmentsStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public EnvironmentsStubSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.StubSettings<EnvironmentsStubSettings>Copyright © 2023 Google LLC. All rights reserved.