Class EnvironmentsStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>
-
- com.google.cloud.orchestration.airflow.service.v1.stub.EnvironmentsStubSettings.Builder
-
- Enclosing class:
- EnvironmentsStubSettings
public static class EnvironmentsStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>
Builder for EnvironmentsStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(EnvironmentsStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentsStubSettings.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.EnvironmentsStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(EnvironmentsStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public EnvironmentsStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 EnvironmentsStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>
- Throws:
IOException
-
-