Class RegionInstancesSettings.Builder (1.11.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
NameDescription
clientContextClientContext

Builder(RegionInstancesSettings settings)

protected Builder(RegionInstancesSettings settings)
Parameter
NameDescription
settingsRegionInstancesSettings

Builder(RegionInstancesStubSettings.Builder stubSettings)

protected Builder(RegionInstancesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionInstancesStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RegionInstancesSettings.Builder

build()

public RegionInstancesSettings build()
Returns
TypeDescription
RegionInstancesSettings
Overrides Exceptions
TypeDescription
IOException

bulkInsertOperationSettings()

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

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

Returns
TypeDescription
Builder<BulkInsertRegionInstanceRequest,Operation,Operation>

bulkInsertSettings()

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

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

Returns
TypeDescription
Builder<BulkInsertRegionInstanceRequest,Operation>

getStubSettingsBuilder()

public RegionInstancesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
RegionInstancesStubSettings.Builder