Class EnvironmentsStubSettings.Builder (1.44.0)

public static class EnvironmentsStubSettings.Builder extends StubSettings.Builder<EnvironmentsStubSettings,EnvironmentsStubSettings.Builder>

Builder for EnvironmentsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EnvironmentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EnvironmentsStubSettings settings)

protected Builder(EnvironmentsStubSettings settings)
Parameter
Name Description
settings EnvironmentsStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public EnvironmentsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
EnvironmentsStubSettings.Builder

build()

public EnvironmentsStubSettings build()
Returns
Type Description
EnvironmentsStubSettings
Overrides
Exceptions
Type Description
IOException

checkUpgradeOperationSettings()

public OperationCallSettings.Builder<CheckUpgradeRequest,CheckUpgradeResponse,OperationMetadata> checkUpgradeOperationSettings()

Returns the builder for the settings used for calls to checkUpgrade.

Returns
Type Description
Builder<CheckUpgradeRequest,CheckUpgradeResponse,OperationMetadata>

checkUpgradeSettings()

public UnaryCallSettings.Builder<CheckUpgradeRequest,Operation> checkUpgradeSettings()

Returns the builder for the settings used for calls to checkUpgrade.

Returns
Type Description
Builder<CheckUpgradeRequest,Operation>

createEnvironmentOperationSettings()

public OperationCallSettings.Builder<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationSettings()

Returns the builder for the settings used for calls to createEnvironment.

Returns
Type Description
Builder<CreateEnvironmentRequest,Environment,OperationMetadata>

createEnvironmentSettings()

public UnaryCallSettings.Builder<CreateEnvironmentRequest,Operation> createEnvironmentSettings()

Returns the builder for the settings used for calls to createEnvironment.

Returns
Type Description
Builder<CreateEnvironmentRequest,Operation>

createUserWorkloadsConfigMapSettings()

public UnaryCallSettings.Builder<CreateUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap> createUserWorkloadsConfigMapSettings()

Returns the builder for the settings used for calls to createUserWorkloadsConfigMap.

Returns
Type Description
Builder<CreateUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap>

createUserWorkloadsSecretSettings()

public UnaryCallSettings.Builder<CreateUserWorkloadsSecretRequest,UserWorkloadsSecret> createUserWorkloadsSecretSettings()

Returns the builder for the settings used for calls to createUserWorkloadsSecret.

Returns
Type Description
Builder<CreateUserWorkloadsSecretRequest,UserWorkloadsSecret>

databaseFailoverOperationSettings()

public OperationCallSettings.Builder<DatabaseFailoverRequest,DatabaseFailoverResponse,OperationMetadata> databaseFailoverOperationSettings()

Returns the builder for the settings used for calls to databaseFailover.

Returns
Type Description
Builder<DatabaseFailoverRequest,DatabaseFailoverResponse,OperationMetadata>

databaseFailoverSettings()

public UnaryCallSettings.Builder<DatabaseFailoverRequest,Operation> databaseFailoverSettings()

Returns the builder for the settings used for calls to databaseFailover.

Returns
Type Description
Builder<DatabaseFailoverRequest,Operation>

deleteEnvironmentOperationSettings()

public OperationCallSettings.Builder<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationSettings()

Returns the builder for the settings used for calls to deleteEnvironment.

Returns
Type Description
Builder<DeleteEnvironmentRequest,Empty,OperationMetadata>

deleteEnvironmentSettings()

public UnaryCallSettings.Builder<DeleteEnvironmentRequest,Operation> deleteEnvironmentSettings()

Returns the builder for the settings used for calls to deleteEnvironment.

Returns
Type Description
Builder<DeleteEnvironmentRequest,Operation>

deleteUserWorkloadsConfigMapSettings()

public UnaryCallSettings.Builder<DeleteUserWorkloadsConfigMapRequest,Empty> deleteUserWorkloadsConfigMapSettings()

Returns the builder for the settings used for calls to deleteUserWorkloadsConfigMap.

Returns
Type Description
Builder<DeleteUserWorkloadsConfigMapRequest,Empty>

deleteUserWorkloadsSecretSettings()

public UnaryCallSettings.Builder<DeleteUserWorkloadsSecretRequest,Empty> deleteUserWorkloadsSecretSettings()

Returns the builder for the settings used for calls to deleteUserWorkloadsSecret.

Returns
Type Description
Builder<DeleteUserWorkloadsSecretRequest,Empty>

executeAirflowCommandSettings()

public UnaryCallSettings.Builder<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse> executeAirflowCommandSettings()

Returns the builder for the settings used for calls to executeAirflowCommand.

Returns
Type Description
Builder<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse>

fetchDatabasePropertiesSettings()

public UnaryCallSettings.Builder<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse> fetchDatabasePropertiesSettings()

Returns the builder for the settings used for calls to fetchDatabaseProperties.

Returns
Type Description
Builder<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse>

getEnvironmentSettings()

public UnaryCallSettings.Builder<GetEnvironmentRequest,Environment> getEnvironmentSettings()

Returns the builder for the settings used for calls to getEnvironment.

Returns
Type Description
Builder<GetEnvironmentRequest,Environment>

getUserWorkloadsConfigMapSettings()

public UnaryCallSettings.Builder<GetUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap> getUserWorkloadsConfigMapSettings()

Returns the builder for the settings used for calls to getUserWorkloadsConfigMap.

Returns
Type Description
Builder<GetUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap>

getUserWorkloadsSecretSettings()

public UnaryCallSettings.Builder<GetUserWorkloadsSecretRequest,UserWorkloadsSecret> getUserWorkloadsSecretSettings()

Returns the builder for the settings used for calls to getUserWorkloadsSecret.

Returns
Type Description
Builder<GetUserWorkloadsSecretRequest,UserWorkloadsSecret>

listEnvironmentsSettings()

public PagedCallSettings.Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsSettings()

Returns the builder for the settings used for calls to listEnvironments.

Returns
Type Description
Builder<ListEnvironmentsRequest,ListEnvironmentsResponse,ListEnvironmentsPagedResponse>

listUserWorkloadsConfigMapsSettings()

public PagedCallSettings.Builder<ListUserWorkloadsConfigMapsRequest,ListUserWorkloadsConfigMapsResponse,EnvironmentsClient.ListUserWorkloadsConfigMapsPagedResponse> listUserWorkloadsConfigMapsSettings()

Returns the builder for the settings used for calls to listUserWorkloadsConfigMaps.

Returns
Type Description
Builder<ListUserWorkloadsConfigMapsRequest,ListUserWorkloadsConfigMapsResponse,ListUserWorkloadsConfigMapsPagedResponse>

listUserWorkloadsSecretsSettings()

public PagedCallSettings.Builder<ListUserWorkloadsSecretsRequest,ListUserWorkloadsSecretsResponse,EnvironmentsClient.ListUserWorkloadsSecretsPagedResponse> listUserWorkloadsSecretsSettings()

Returns the builder for the settings used for calls to listUserWorkloadsSecrets.

Returns
Type Description
Builder<ListUserWorkloadsSecretsRequest,ListUserWorkloadsSecretsResponse,ListUserWorkloadsSecretsPagedResponse>

listWorkloadsSettings()

public PagedCallSettings.Builder<ListWorkloadsRequest,ListWorkloadsResponse,EnvironmentsClient.ListWorkloadsPagedResponse> listWorkloadsSettings()

Returns the builder for the settings used for calls to listWorkloads.

Returns
Type Description
Builder<ListWorkloadsRequest,ListWorkloadsResponse,ListWorkloadsPagedResponse>

loadSnapshotOperationSettings()

public OperationCallSettings.Builder<LoadSnapshotRequest,LoadSnapshotResponse,OperationMetadata> loadSnapshotOperationSettings()

Returns the builder for the settings used for calls to loadSnapshot.

Returns
Type Description
Builder<LoadSnapshotRequest,LoadSnapshotResponse,OperationMetadata>

loadSnapshotSettings()

public UnaryCallSettings.Builder<LoadSnapshotRequest,Operation> loadSnapshotSettings()

Returns the builder for the settings used for calls to loadSnapshot.

Returns
Type Description
Builder<LoadSnapshotRequest,Operation>

pollAirflowCommandSettings()

public UnaryCallSettings.Builder<PollAirflowCommandRequest,PollAirflowCommandResponse> pollAirflowCommandSettings()

Returns the builder for the settings used for calls to pollAirflowCommand.

Returns
Type Description
Builder<PollAirflowCommandRequest,PollAirflowCommandResponse>

restartWebServerOperationSettings()

public OperationCallSettings.Builder<RestartWebServerRequest,Environment,OperationMetadata> restartWebServerOperationSettings()

Returns the builder for the settings used for calls to restartWebServer.

Returns
Type Description
Builder<RestartWebServerRequest,Environment,OperationMetadata>

restartWebServerSettings()

public UnaryCallSettings.Builder<RestartWebServerRequest,Operation> restartWebServerSettings()

Returns the builder for the settings used for calls to restartWebServer.

Returns
Type Description
Builder<RestartWebServerRequest,Operation>

saveSnapshotOperationSettings()

public OperationCallSettings.Builder<SaveSnapshotRequest,SaveSnapshotResponse,OperationMetadata> saveSnapshotOperationSettings()

Returns the builder for the settings used for calls to saveSnapshot.

Returns
Type Description
Builder<SaveSnapshotRequest,SaveSnapshotResponse,OperationMetadata>

saveSnapshotSettings()

public UnaryCallSettings.Builder<SaveSnapshotRequest,Operation> saveSnapshotSettings()

Returns the builder for the settings used for calls to saveSnapshot.

Returns
Type Description
Builder<SaveSnapshotRequest,Operation>

stopAirflowCommandSettings()

public UnaryCallSettings.Builder<StopAirflowCommandRequest,StopAirflowCommandResponse> stopAirflowCommandSettings()

Returns the builder for the settings used for calls to stopAirflowCommand.

Returns
Type Description
Builder<StopAirflowCommandRequest,StopAirflowCommandResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateEnvironmentOperationSettings()

public OperationCallSettings.Builder<UpdateEnvironmentRequest,Environment,OperationMetadata> updateEnvironmentOperationSettings()

Returns the builder for the settings used for calls to updateEnvironment.

Returns
Type Description
Builder<UpdateEnvironmentRequest,Environment,OperationMetadata>

updateEnvironmentSettings()

public UnaryCallSettings.Builder<UpdateEnvironmentRequest,Operation> updateEnvironmentSettings()

Returns the builder for the settings used for calls to updateEnvironment.

Returns
Type Description
Builder<UpdateEnvironmentRequest,Operation>

updateUserWorkloadsConfigMapSettings()

public UnaryCallSettings.Builder<UpdateUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap> updateUserWorkloadsConfigMapSettings()

Returns the builder for the settings used for calls to updateUserWorkloadsConfigMap.

Returns
Type Description
Builder<UpdateUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap>

updateUserWorkloadsSecretSettings()

public UnaryCallSettings.Builder<UpdateUserWorkloadsSecretRequest,UserWorkloadsSecret> updateUserWorkloadsSecretSettings()

Returns the builder for the settings used for calls to updateUserWorkloadsSecret.

Returns
Type Description
Builder<UpdateUserWorkloadsSecretRequest,UserWorkloadsSecret>