Class RegionInstancesSettings.Builder (1.56.0)

public static class RegionInstancesSettings.Builder extends ClientSettings.Builder<RegionInstancesSettings,RegionInstancesSettings.Builder>

Builder for RegionInstancesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionInstancesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionInstancesSettings settings)

protected Builder(RegionInstancesSettings settings)
Parameter
Name Description
settings RegionInstancesSettings

Builder(RegionInstancesStubSettings.Builder stubSettings)

protected Builder(RegionInstancesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RegionInstancesStubSettings.Builder

Methods

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

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

build()

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

bulkInsertOperationSettings()

public OperationCallSettings.Builder<BulkInsertRegionInstanceRequest,Operation,Operation> bulkInsertOperationSettings()

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

Returns
Type Description
Builder<BulkInsertRegionInstanceRequest,Operation,Operation>

bulkInsertSettings()

public UnaryCallSettings.Builder<BulkInsertRegionInstanceRequest,Operation> bulkInsertSettings()

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

Returns
Type Description
Builder<BulkInsertRegionInstanceRequest,Operation>

getStubSettingsBuilder()

public RegionInstancesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
RegionInstancesStubSettings.Builder