Class EnvironmentsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>
-
- com.google.cloud.orchestration.airflow.service.v1.EnvironmentsSettings.Builder
-
- Enclosing class:
- EnvironmentsSettings
public static class EnvironmentsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>
Builder for EnvironmentsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(EnvironmentsSettings settings)
protected
Builder(EnvironmentsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentsSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.EnvironmentsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,OperationMetadata>
createEnvironmentOperationSettings()
Returns the builder for the settings used for calls to createEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEnvironmentRequest,com.google.longrunning.Operation>
createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.com.google.api.gax.rpc.OperationCallSettings.Builder<DatabaseFailoverRequest,DatabaseFailoverResponse,OperationMetadata>
databaseFailoverOperationSettings()
Returns the builder for the settings used for calls to databaseFailover.com.google.api.gax.rpc.UnaryCallSettings.Builder<DatabaseFailoverRequest,com.google.longrunning.Operation>
databaseFailoverSettings()
Returns the builder for the settings used for calls to databaseFailover.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteEnvironmentRequest,com.google.protobuf.Empty,OperationMetadata>
deleteEnvironmentOperationSettings()
Returns the builder for the settings used for calls to deleteEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEnvironmentRequest,com.google.longrunning.Operation>
deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse>
executeAirflowCommandSettings()
Returns the builder for the settings used for calls to executeAirflowCommand.com.google.api.gax.rpc.UnaryCallSettings.Builder<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse>
fetchDatabasePropertiesSettings()
Returns the builder for the settings used for calls to fetchDatabaseProperties.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEnvironmentRequest,Environment>
getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.EnvironmentsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse>
listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.com.google.api.gax.rpc.OperationCallSettings.Builder<LoadSnapshotRequest,LoadSnapshotResponse,OperationMetadata>
loadSnapshotOperationSettings()
Returns the builder for the settings used for calls to loadSnapshot.com.google.api.gax.rpc.UnaryCallSettings.Builder<LoadSnapshotRequest,com.google.longrunning.Operation>
loadSnapshotSettings()
Returns the builder for the settings used for calls to loadSnapshot.com.google.api.gax.rpc.UnaryCallSettings.Builder<PollAirflowCommandRequest,PollAirflowCommandResponse>
pollAirflowCommandSettings()
Returns the builder for the settings used for calls to pollAirflowCommand.com.google.api.gax.rpc.OperationCallSettings.Builder<SaveSnapshotRequest,SaveSnapshotResponse,OperationMetadata>
saveSnapshotOperationSettings()
Returns the builder for the settings used for calls to saveSnapshot.com.google.api.gax.rpc.UnaryCallSettings.Builder<SaveSnapshotRequest,com.google.longrunning.Operation>
saveSnapshotSettings()
Returns the builder for the settings used for calls to saveSnapshot.com.google.api.gax.rpc.UnaryCallSettings.Builder<StopAirflowCommandRequest,StopAirflowCommandResponse>
stopAirflowCommandSettings()
Returns the builder for the settings used for calls to stopAirflowCommand.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateEnvironmentRequest,Environment,OperationMetadata>
updateEnvironmentOperationSettings()
Returns the builder for the settings used for calls to updateEnvironment.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEnvironmentRequest,com.google.longrunning.Operation>
updateEnvironmentSettings()
Returns the builder for the settings used for calls to updateEnvironment.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(EnvironmentsSettings settings)
-
Builder
protected Builder(EnvironmentsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public EnvironmentsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public EnvironmentsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
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.
-
createEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEnvironmentRequest,com.google.longrunning.Operation> createEnvironmentSettings()
Returns the builder for the settings used for calls to createEnvironment.
-
createEnvironmentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()
Returns the builder for the settings used for calls to createEnvironment.
-
getEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()
Returns the builder for the settings used for calls to getEnvironment.
-
listEnvironmentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()
Returns the builder for the settings used for calls to listEnvironments.
-
updateEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEnvironmentRequest,com.google.longrunning.Operation> updateEnvironmentSettings()
Returns the builder for the settings used for calls to updateEnvironment.
-
updateEnvironmentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateEnvironmentRequest,Environment,OperationMetadata> updateEnvironmentOperationSettings()
Returns the builder for the settings used for calls to updateEnvironment.
-
deleteEnvironmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEnvironmentRequest,com.google.longrunning.Operation> deleteEnvironmentSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
-
deleteEnvironmentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteEnvironmentRequest,com.google.protobuf.Empty,OperationMetadata> deleteEnvironmentOperationSettings()
Returns the builder for the settings used for calls to deleteEnvironment.
-
executeAirflowCommandSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse> executeAirflowCommandSettings()
Returns the builder for the settings used for calls to executeAirflowCommand.
-
stopAirflowCommandSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopAirflowCommandRequest,StopAirflowCommandResponse> stopAirflowCommandSettings()
Returns the builder for the settings used for calls to stopAirflowCommand.
-
pollAirflowCommandSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PollAirflowCommandRequest,PollAirflowCommandResponse> pollAirflowCommandSettings()
Returns the builder for the settings used for calls to pollAirflowCommand.
-
saveSnapshotSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SaveSnapshotRequest,com.google.longrunning.Operation> saveSnapshotSettings()
Returns the builder for the settings used for calls to saveSnapshot.
-
saveSnapshotOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SaveSnapshotRequest,SaveSnapshotResponse,OperationMetadata> saveSnapshotOperationSettings()
Returns the builder for the settings used for calls to saveSnapshot.
-
loadSnapshotSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LoadSnapshotRequest,com.google.longrunning.Operation> loadSnapshotSettings()
Returns the builder for the settings used for calls to loadSnapshot.
-
loadSnapshotOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<LoadSnapshotRequest,LoadSnapshotResponse,OperationMetadata> loadSnapshotOperationSettings()
Returns the builder for the settings used for calls to loadSnapshot.
-
databaseFailoverSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DatabaseFailoverRequest,com.google.longrunning.Operation> databaseFailoverSettings()
Returns the builder for the settings used for calls to databaseFailover.
-
databaseFailoverOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DatabaseFailoverRequest,DatabaseFailoverResponse,OperationMetadata> databaseFailoverOperationSettings()
Returns the builder for the settings used for calls to databaseFailover.
-
fetchDatabasePropertiesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse> fetchDatabasePropertiesSettings()
Returns the builder for the settings used for calls to fetchDatabaseProperties.
-
build
public EnvironmentsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<EnvironmentsSettings,EnvironmentsSettings.Builder>
- Throws:
IOException
-
-