Class AlloyDBCSQLAdminStubSettings.Builder (0.56.0)

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

Builder for AlloyDBCSQLAdminStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AlloyDBCSQLAdminStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AlloyDBCSQLAdminStubSettings settings)

protected Builder(AlloyDBCSQLAdminStubSettings settings)
Parameter
Name Description
settings AlloyDBCSQLAdminStubSettings

Methods

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

public AlloyDBCSQLAdminStubSettings.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
AlloyDBCSQLAdminStubSettings.Builder

build()

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

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,AlloyDBCSQLAdminClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

restoreFromCloudSQLOperationSettings()

public OperationCallSettings.Builder<RestoreFromCloudSQLRequest,Cluster,OperationMetadata> restoreFromCloudSQLOperationSettings()

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

Returns
Type Description
Builder<RestoreFromCloudSQLRequest,Cluster,OperationMetadata>

restoreFromCloudSQLSettings()

public UnaryCallSettings.Builder<RestoreFromCloudSQLRequest,Operation> restoreFromCloudSQLSettings()

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

Returns
Type Description
Builder<RestoreFromCloudSQLRequest,Operation>

unaryMethodSettingsBuilders()

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